From 82397e834e419d6dd1de207c769031e47da010fe Mon Sep 17 00:00:00 2001 From: "ct-changesets[bot]" <145970804+ct-changesets[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:11:18 +0100 Subject: [PATCH] ci(changesets): version packages (#879) Co-authored-by: github-actions[bot] --- .changeset/changes_api.md | 314 --------------------------- .changeset/changes_history.md | 11 - .changeset/changes_import.md | 25 --- .changeset/grumpy-ways-drum.md | 5 - packages/history-sdk/CHANGELOG.md | 12 ++ packages/history-sdk/package.json | 4 +- packages/importapi-sdk/CHANGELOG.md | 26 +++ packages/importapi-sdk/package.json | 2 +- packages/platform-sdk/CHANGELOG.md | 320 ++++++++++++++++++++++++++++ packages/platform-sdk/package.json | 4 +- packages/sdk-client-v3/CHANGELOG.md | 6 + packages/sdk-client-v3/package.json | 2 +- 12 files changed, 370 insertions(+), 361 deletions(-) delete mode 100644 .changeset/changes_api.md delete mode 100644 .changeset/changes_history.md delete mode 100644 .changeset/changes_import.md delete mode 100644 .changeset/grumpy-ways-drum.md diff --git a/.changeset/changes_api.md b/.changeset/changes_api.md deleted file mode 100644 index d698633d5..000000000 --- a/.changeset/changes_api.md +++ /dev/null @@ -1,314 +0,0 @@ ---- -'@commercetools/platform-sdk': minor ---- - -**Api changes** - -
-Changed Property(s) - -- :warning: changed property `value` of type `DirectDiscountDraft` from type `CartDiscountValue` to `CartDiscountValueDraft` -- :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number` -- :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number` -- :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessage` from type `Money` to `CentPrecisionMoney` -- :warning: changed property `value` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney` -- :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney` -- :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessagePayload` from type `Money` to `CentPrecisionMoney` -- :warning: changed property `value` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney` -- :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney` -- :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney` -- :warning: changed property `customType` of type `OrderSearchAnyValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `customType` of type `OrderSearchDateRangeValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `customType` of type `OrderSearchFullTextValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `customType` of type `OrderSearchLongRangeValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `customType` of type `OrderSearchNumberRangeValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `customType` of type `OrderSearchQueryExpressionValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `customType` of type `OrderSearchStringValue` from type `string` to `OrderSearchCustomType` -- :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney` -- :warning: changed property `price` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney` -- :warning: changed property `freeAbove` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney` -
- -
-Required Property(s) - -- changed property `stores` of type `BusinessUnit` to be optional -- changed property `stores` of type `Company` to be optional -- changed property `stores` of type `Division` to be optional -- changed property `isOnStock` of type `ProductVariantAvailability` to be optional -
- -
-Added Property(s) - -- added property `custom` to type `ApprovalRule` -- added property `approvalRuleMode` to type `BusinessUnit` -- added property `approvalRuleMode` to type `BusinessUnitDraft` -- added property `approvalRuleMode` to type `Company` -- added property `approvalRuleMode` to type `CompanyDraft` -- added property `approvalRuleMode` to type `Division` -- added property `approvalRuleMode` to type `DivisionDraft` -- added property `applicationMode` to type `CartDiscountValueAbsolute` -- added property `applicationMode` to type `CartDiscountValueAbsoluteDraft` -- added property `addressId` to type `BusinessUnitAddressCustomFieldAddedMessage` -- added property `addressId` to type `BusinessUnitAddressCustomFieldChangedMessage` -- added property `addressId` to type `BusinessUnitAddressCustomFieldRemovedMessage` -- added property `addressId` to type `BusinessUnitAddressCustomTypeRemovedMessage` -- added property `addressId` to type `BusinessUnitAddressCustomTypeSetMessage` -- added property `addressId` to type `CustomerAddressCustomFieldAddedMessage` -- added property `addressId` to type `CustomerAddressCustomFieldChangedMessage` -- added property `addressId` to type `CustomerAddressCustomFieldRemovedMessage` -- added property `addressId` to type `CustomerAddressCustomTypeRemovedMessage` -- added property `addressId` to type `CustomerAddressCustomTypeSetMessage` -- added property `metaTitle` to type `ProductTailoringCreatedMessage` -- added property `metaDescription` to type `ProductTailoringCreatedMessage` -- added property `metaKeywords` to type `ProductTailoringCreatedMessage` -- added property `variants` to type `ProductTailoringCreatedMessage` -- added property `staged` to type `ProductVariantDeletedMessage` -- added property `addressId` to type `BusinessUnitAddressCustomFieldAddedMessagePayload` -- added property `addressId` to type `BusinessUnitAddressCustomFieldChangedMessagePayload` -- added property `addressId` to type `BusinessUnitAddressCustomFieldRemovedMessagePayload` -- added property `addressId` to type `BusinessUnitAddressCustomTypeRemovedMessagePayload` -- added property `addressId` to type `BusinessUnitAddressCustomTypeSetMessagePayload` -- added property `addressId` to type `CustomerAddressCustomFieldAddedMessagePayload` -- added property `addressId` to type `CustomerAddressCustomFieldChangedMessagePayload` -- added property `addressId` to type `CustomerAddressCustomFieldRemovedMessagePayload` -- added property `addressId` to type `CustomerAddressCustomTypeRemovedMessagePayload` -- added property `addressId` to type `CustomerAddressCustomTypeSetMessagePayload` -- added property `metaTitle` to type `ProductTailoringCreatedMessagePayload` -- added property `metaDescription` to type `ProductTailoringCreatedMessagePayload` -- added property `metaKeywords` to type `ProductTailoringCreatedMessagePayload` -- added property `variants` to type `ProductTailoringCreatedMessagePayload` -- added property `staged` to type `ProductVariantDeletedMessagePayload` -- added property `warnings` to type `ProductTailoring` -- added property `variants` to type `ProductTailoringData` -- added property `variants` to type `ProductTailoringDraft` -- added property `variants` to type `ProductTailoringInStoreDraft` -- added property `warnings` to type `Product` -- added property `customers` to type `SearchIndexingConfiguration` -- added property `active` to type `ShippingMethod` -- added property `active` to type `ShippingMethodDraft` -- added property `store` to type `StagedQuote` -- added property `source` to type `EventBridgeDestination` -
- -
-Added Resource(s) - -- added resource `/{projectKey}/channels/key={key}` -- added resource `/{projectKey}/customers/search` -- added resource `/{projectKey}/customers/search/indexing-status` -- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests` -- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes` -- added resource `/{projectKey}/in-store/key={storeKey}/quotes` -- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes` -- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images` -- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images` -- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}` -- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}` -- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}` -
- -
-Removed Resource(s) - -- :warning: removed resource `/{projectKey}/me/carts/key={key}` -
- -
-Removed Type(s) - -- :warning: removed type `ProductSearchStatus` -
- -
-Added Type(s) - -- added type `ApprovalRuleSetCustomFieldAction` -- added type `ApprovalRuleSetCustomTypeAction` -- added type `BusinessUnitApprovalRuleMode` -- added type `BusinessUnitChangeApprovalRuleModeAction` -- added type `DiscountApplicationMode` -- added type `CartChangeLineItemsOrderAction` -- added type `CustomerIndexingProgress` -- added type `CustomerIndexingStatus` -- added type `CustomerPagedSearchResponse` -- added type `CustomerSearchIndexingStatusResponse` -- added type `CustomerSearchRequest` -- added type `CustomerSearchResult` -- added type `SearchNotReadyError` -- added type `GraphQLSearchNotReadyError` -- added type `MyCartChangeLineItemsOrderAction` -- added type `BusinessUnitApprovalRuleModeChangedMessage` -- added type `DeliveryCustomFieldAddedMessage` -- added type `DeliveryCustomFieldChangedMessage` -- added type `DeliveryCustomFieldRemovedMessage` -- added type `DeliveryCustomTypeRemovedMessage` -- added type `DeliveryCustomTypeSetMessage` -- added type `ProductPriceCustomFieldAddedMessage` -- added type `ProductPriceCustomFieldChangedMessage` -- added type `ProductPriceCustomFieldRemovedMessage` -- added type `ProductPriceCustomFieldsRemovedMessage` -- added type `ProductPriceCustomFieldsSetMessage` -- added type `ProductTailoringImageAddedMessage` -- added type `ProductTailoringImagesSetMessage` -- added type `ProductVariantTailoringAddedMessage` -- added type `ProductVariantTailoringRemovedMessage` -- added type `BusinessUnitApprovalRuleModeChangedMessagePayload` -- added type `DeliveryCustomFieldAddedMessagePayload` -- added type `DeliveryCustomFieldChangedMessagePayload` -- added type `DeliveryCustomFieldRemovedMessagePayload` -- added type `DeliveryCustomTypeRemovedMessagePayload` -- added type `DeliveryCustomTypeSetMessagePayload` -- added type `ProductPriceCustomFieldAddedMessagePayload` -- added type `ProductPriceCustomFieldChangedMessagePayload` -- added type `ProductPriceCustomFieldRemovedMessagePayload` -- added type `ProductPriceCustomFieldsRemovedMessagePayload` -- added type `ProductPriceCustomFieldsSetMessagePayload` -- added type `ProductTailoringImageAddedMessagePayload` -- added type `ProductTailoringImagesSetMessagePayload` -- added type `ProductVariantTailoringAddedMessagePayload` -- added type `ProductVariantTailoringRemovedMessagePayload` -- added type `StagedOrderSetShippingCustomFieldAction` -- added type `StagedOrderSetShippingCustomTypeAction` -- added type `OrderSearchCustomType` -- added type `OrderSetShippingCustomFieldAction` -- added type `OrderSetShippingCustomTypeAction` -- added type `ProductTailoringAttribute` -- added type `ProductVariantTailoring` -- added type `ProductVariantTailoringDraft` -- added type `ProductTailoringAddAssetAction` -- added type `ProductTailoringAddExternalImageAction` -- added type `ProductTailoringAddVariantAction` -- added type `ProductTailoringChangeAssetNameAction` -- added type `ProductTailoringChangeAssetOrderAction` -- added type `ProductTailoringMoveImageToPositionAction` -- added type `ProductTailoringRemoveAssetAction` -- added type `ProductTailoringRemoveImageAction` -- added type `ProductTailoringRemoveVariantAction` -- added type `ProductTailoringSetAssetCustomFieldAction` -- added type `ProductTailoringSetAssetCustomTypeAction` -- added type `ProductTailoringSetAssetDescriptionAction` -- added type `ProductTailoringSetAssetKeyAction` -- added type `ProductTailoringSetAssetSourcesAction` -- added type `ProductTailoringSetAssetTagsAction` -- added type `ProductTailoringSetAttributeAction` -- added type `ProductTailoringSetAttributeInAllVariantsAction` -- added type `ProductTailoringSetExternalImagesAction` -- added type `ProductTailoringSetImageLabelAction` -- added type `CustomerSearchStatus` -- added type `ProjectChangeCustomerSearchStatusAction` -- added type `ShippingMethodChangeActiveAction` -- added type `ImageProcessingOngoingWarning` -- added type `WarningObject` -
- -
-Removed Enum(s) - -- :warning: removed enum `product-price` from type `ChangeSubscriptionResourceTypeId` -
- -
-Added Enum(s) - -- added enum `customer-group` to type `ExtensionResourceTypeId` -- added enum `shopping-list` to type `ExtensionResourceTypeId` -- added enum `customer-group` to type `AttributeReferenceTypeId` -- added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId` -- added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId` -- added enum `product-tailoring` to type `MessageSubscriptionResourceTypeId` -- added enum `approval-rule` to type `CustomFieldReferenceValue` -- added enum `cart-discount` to type `CustomFieldReferenceValue` -- added enum `customer-group` to type `CustomFieldReferenceValue` -- added enum `approval-rule` to type `ResourceTypeId` -- added enum `product-tailoring` to type `ResourceTypeId` -
- -
-Added Method(s) - -- added method `apiRoot.withProjectKey().productTailoring().head()` -- added method `apiRoot.withProjectKey().channels().withKey().get()` -- added method `apiRoot.withProjectKey().channels().withKey().head()` -- added method `apiRoot.withProjectKey().channels().withKey().post()` -- added method `apiRoot.withProjectKey().channels().withKey().delete()` -- added method `apiRoot.withProjectKey().customers().search().post()` -- added method `apiRoot.withProjectKey().customers().search().head()` -- added method `apiRoot.withProjectKey().customers().searchIndexingStatus().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().orderQuote().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductId().productTailoring().images().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductKey().productTailoring().images().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().delete()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().delete()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().delete()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().delete()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().delete()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().get()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().head()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().post()` -- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().delete()` -
- -
-Removed Method(s) - -- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withId().delete()` -- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withKey().delete()` -- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().get()` -- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().head()` -- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().post()` -- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().delete()` -- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withId().delete()` -- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withKey().delete()` -
- -
-Removed QueryParameter(s) - -- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products` -- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products` -- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}` -- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}` -- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}` -- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}` -- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}` -- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}` -- :warning: removed query parameter `sort` from method `get /{projectKey}/product-projections/suggest` -- :warning: removed query parameter `offset` from method `get /{projectKey}/product-projections/suggest` -- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest` -
- -
-Added QueryParameter(s) - -- added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products` -- added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products` -
diff --git a/.changeset/changes_history.md b/.changeset/changes_history.md deleted file mode 100644 index 0d03a093d..000000000 --- a/.changeset/changes_history.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@commercetools/history-sdk': minor ---- - -**History changes** - -
-Required Property(s) - -- changed property `id` of type `ModifiedBy` to be optional -
diff --git a/.changeset/changes_import.md b/.changeset/changes_import.md deleted file mode 100644 index 88cdb72e9..000000000 --- a/.changeset/changes_import.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'@commercetools/importapi-sdk': minor ---- - -**Import changes** - -
-Added Type(s) - -- added type `InvalidFieldsUpdateError` -- added type `NewMasterVariantAdditionNotAllowedError` -
- -
-Deprecated Property(s) - -- property `PriceImport::publish` is removed -- property `ProductVariantImport::publish` is removed -
- -
-Added Enum(s) - -- added enum `customer-group` to type `CustomFieldReferenceValue` -
diff --git a/.changeset/grumpy-ways-drum.md b/.changeset/grumpy-ways-drum.md deleted file mode 100644 index a08557cf9..000000000 --- a/.changeset/grumpy-ways-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@commercetools/ts-client": patch ---- - -[Fix][DEVX-514] Fix v3 AbortController Retry Reinitialization diff --git a/packages/history-sdk/CHANGELOG.md b/packages/history-sdk/CHANGELOG.md index ab61a3d0a..29f3d340d 100644 --- a/packages/history-sdk/CHANGELOG.md +++ b/packages/history-sdk/CHANGELOG.md @@ -1,5 +1,17 @@ # @commercetools/history-sdk +## 4.8.0 + +### Minor Changes + +- [#878](https://github.com/commercetools/commercetools-sdk-typescript/pull/878) [`90ece88`](https://github.com/commercetools/commercetools-sdk-typescript/commit/90ece88d52bc1ff7d01c070bb9e548dd46eb2cda) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **History changes** + +
+ Required Property(s) + + - changed property `id` of type `ModifiedBy` to be optional +
+ ## 4.7.0 ### Minor Changes diff --git a/packages/history-sdk/package.json b/packages/history-sdk/package.json index 03eeb1048..e445ec4ef 100644 --- a/packages/history-sdk/package.json +++ b/packages/history-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/history-sdk", - "version": "4.7.0", + "version": "4.8.0", "engines": { "node": ">=14" }, @@ -38,7 +38,7 @@ "@commercetools/sdk-middleware-logger": "^3.0.0" }, "devDependencies": { - "@commercetools/platform-sdk": "7.22.0", + "@commercetools/platform-sdk": "7.23.0", "@types/uuid": "10.0.0", "organize-imports-cli": "0.10.0", "tsconfig-replace-paths": "0.0.14", diff --git a/packages/importapi-sdk/CHANGELOG.md b/packages/importapi-sdk/CHANGELOG.md index 170b9f2d2..986f9af42 100644 --- a/packages/importapi-sdk/CHANGELOG.md +++ b/packages/importapi-sdk/CHANGELOG.md @@ -1,5 +1,31 @@ # @commercetools/importapi-sdk +## 5.18.0 + +### Minor Changes + +- [#878](https://github.com/commercetools/commercetools-sdk-typescript/pull/878) [`90ece88`](https://github.com/commercetools/commercetools-sdk-typescript/commit/90ece88d52bc1ff7d01c070bb9e548dd46eb2cda) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Import changes** + +
+ Added Type(s) + + - added type `InvalidFieldsUpdateError` + - added type `NewMasterVariantAdditionNotAllowedError` +
+ +
+ Deprecated Property(s) + + - property `PriceImport::publish` is removed + - property `ProductVariantImport::publish` is removed +
+ +
+ Added Enum(s) + + - added enum `customer-group` to type `CustomFieldReferenceValue` +
+ ## 5.17.0 ### Minor Changes diff --git a/packages/importapi-sdk/package.json b/packages/importapi-sdk/package.json index 7d948edf4..076f6f736 100644 --- a/packages/importapi-sdk/package.json +++ b/packages/importapi-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/importapi-sdk", - "version": "5.17.0", + "version": "5.18.0", "engines": { "node": ">=14" }, diff --git a/packages/platform-sdk/CHANGELOG.md b/packages/platform-sdk/CHANGELOG.md index 090f810e5..e2c1790c2 100644 --- a/packages/platform-sdk/CHANGELOG.md +++ b/packages/platform-sdk/CHANGELOG.md @@ -1,5 +1,325 @@ # @commercetools/platform-sdk +## 7.23.0 + +### Minor Changes + +- [#878](https://github.com/commercetools/commercetools-sdk-typescript/pull/878) [`90ece88`](https://github.com/commercetools/commercetools-sdk-typescript/commit/90ece88d52bc1ff7d01c070bb9e548dd46eb2cda) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Api changes** + +
+ Changed Property(s) + + - :warning: changed property `value` of type `DirectDiscountDraft` from type `CartDiscountValue` to `CartDiscountValueDraft` + - :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number` + - :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number` + - :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessage` from type `Money` to `CentPrecisionMoney` + - :warning: changed property `value` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney` + - :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney` + - :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessagePayload` from type `Money` to `CentPrecisionMoney` + - :warning: changed property `value` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney` + - :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney` + - :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney` + - :warning: changed property `customType` of type `OrderSearchAnyValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `customType` of type `OrderSearchDateRangeValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `customType` of type `OrderSearchFullTextValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `customType` of type `OrderSearchLongRangeValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `customType` of type `OrderSearchNumberRangeValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `customType` of type `OrderSearchQueryExpressionValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `customType` of type `OrderSearchStringValue` from type `string` to `OrderSearchCustomType` + - :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney` + - :warning: changed property `price` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney` + - :warning: changed property `freeAbove` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney` +
+ +
+ Required Property(s) + + - changed property `stores` of type `BusinessUnit` to be optional + - changed property `stores` of type `Company` to be optional + - changed property `stores` of type `Division` to be optional + - changed property `isOnStock` of type `ProductVariantAvailability` to be optional +
+ +
+ Added Property(s) + + - added property `custom` to type `ApprovalRule` + - added property `approvalRuleMode` to type `BusinessUnit` + - added property `approvalRuleMode` to type `BusinessUnitDraft` + - added property `approvalRuleMode` to type `Company` + - added property `approvalRuleMode` to type `CompanyDraft` + - added property `approvalRuleMode` to type `Division` + - added property `approvalRuleMode` to type `DivisionDraft` + - added property `applicationMode` to type `CartDiscountValueAbsolute` + - added property `applicationMode` to type `CartDiscountValueAbsoluteDraft` + - added property `addressId` to type `BusinessUnitAddressCustomFieldAddedMessage` + - added property `addressId` to type `BusinessUnitAddressCustomFieldChangedMessage` + - added property `addressId` to type `BusinessUnitAddressCustomFieldRemovedMessage` + - added property `addressId` to type `BusinessUnitAddressCustomTypeRemovedMessage` + - added property `addressId` to type `BusinessUnitAddressCustomTypeSetMessage` + - added property `addressId` to type `CustomerAddressCustomFieldAddedMessage` + - added property `addressId` to type `CustomerAddressCustomFieldChangedMessage` + - added property `addressId` to type `CustomerAddressCustomFieldRemovedMessage` + - added property `addressId` to type `CustomerAddressCustomTypeRemovedMessage` + - added property `addressId` to type `CustomerAddressCustomTypeSetMessage` + - added property `metaTitle` to type `ProductTailoringCreatedMessage` + - added property `metaDescription` to type `ProductTailoringCreatedMessage` + - added property `metaKeywords` to type `ProductTailoringCreatedMessage` + - added property `variants` to type `ProductTailoringCreatedMessage` + - added property `staged` to type `ProductVariantDeletedMessage` + - added property `addressId` to type `BusinessUnitAddressCustomFieldAddedMessagePayload` + - added property `addressId` to type `BusinessUnitAddressCustomFieldChangedMessagePayload` + - added property `addressId` to type `BusinessUnitAddressCustomFieldRemovedMessagePayload` + - added property `addressId` to type `BusinessUnitAddressCustomTypeRemovedMessagePayload` + - added property `addressId` to type `BusinessUnitAddressCustomTypeSetMessagePayload` + - added property `addressId` to type `CustomerAddressCustomFieldAddedMessagePayload` + - added property `addressId` to type `CustomerAddressCustomFieldChangedMessagePayload` + - added property `addressId` to type `CustomerAddressCustomFieldRemovedMessagePayload` + - added property `addressId` to type `CustomerAddressCustomTypeRemovedMessagePayload` + - added property `addressId` to type `CustomerAddressCustomTypeSetMessagePayload` + - added property `metaTitle` to type `ProductTailoringCreatedMessagePayload` + - added property `metaDescription` to type `ProductTailoringCreatedMessagePayload` + - added property `metaKeywords` to type `ProductTailoringCreatedMessagePayload` + - added property `variants` to type `ProductTailoringCreatedMessagePayload` + - added property `staged` to type `ProductVariantDeletedMessagePayload` + - added property `warnings` to type `ProductTailoring` + - added property `variants` to type `ProductTailoringData` + - added property `variants` to type `ProductTailoringDraft` + - added property `variants` to type `ProductTailoringInStoreDraft` + - added property `warnings` to type `Product` + - added property `customers` to type `SearchIndexingConfiguration` + - added property `active` to type `ShippingMethod` + - added property `active` to type `ShippingMethodDraft` + - added property `store` to type `StagedQuote` + - added property `source` to type `EventBridgeDestination` +
+ +
+ Added Resource(s) + + - added resource `/{projectKey}/channels/key={key}` + - added resource `/{projectKey}/customers/search` + - added resource `/{projectKey}/customers/search/indexing-status` + - added resource `/{projectKey}/in-store/key={storeKey}/quote-requests` + - added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes` + - added resource `/{projectKey}/in-store/key={storeKey}/quotes` + - added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes` + - added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images` + - added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images` + - added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}` + - added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}` + - added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}` + - added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}` + - added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}` + - added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}` +
+ +
+ Removed Resource(s) + + - :warning: removed resource `/{projectKey}/me/carts/key={key}` +
+ +
+ Removed Type(s) + + - :warning: removed type `ProductSearchStatus` +
+ +
+ Added Type(s) + + - added type `ApprovalRuleSetCustomFieldAction` + - added type `ApprovalRuleSetCustomTypeAction` + - added type `BusinessUnitApprovalRuleMode` + - added type `BusinessUnitChangeApprovalRuleModeAction` + - added type `DiscountApplicationMode` + - added type `CartChangeLineItemsOrderAction` + - added type `CustomerIndexingProgress` + - added type `CustomerIndexingStatus` + - added type `CustomerPagedSearchResponse` + - added type `CustomerSearchIndexingStatusResponse` + - added type `CustomerSearchRequest` + - added type `CustomerSearchResult` + - added type `SearchNotReadyError` + - added type `GraphQLSearchNotReadyError` + - added type `MyCartChangeLineItemsOrderAction` + - added type `BusinessUnitApprovalRuleModeChangedMessage` + - added type `DeliveryCustomFieldAddedMessage` + - added type `DeliveryCustomFieldChangedMessage` + - added type `DeliveryCustomFieldRemovedMessage` + - added type `DeliveryCustomTypeRemovedMessage` + - added type `DeliveryCustomTypeSetMessage` + - added type `ProductPriceCustomFieldAddedMessage` + - added type `ProductPriceCustomFieldChangedMessage` + - added type `ProductPriceCustomFieldRemovedMessage` + - added type `ProductPriceCustomFieldsRemovedMessage` + - added type `ProductPriceCustomFieldsSetMessage` + - added type `ProductTailoringImageAddedMessage` + - added type `ProductTailoringImagesSetMessage` + - added type `ProductVariantTailoringAddedMessage` + - added type `ProductVariantTailoringRemovedMessage` + - added type `BusinessUnitApprovalRuleModeChangedMessagePayload` + - added type `DeliveryCustomFieldAddedMessagePayload` + - added type `DeliveryCustomFieldChangedMessagePayload` + - added type `DeliveryCustomFieldRemovedMessagePayload` + - added type `DeliveryCustomTypeRemovedMessagePayload` + - added type `DeliveryCustomTypeSetMessagePayload` + - added type `ProductPriceCustomFieldAddedMessagePayload` + - added type `ProductPriceCustomFieldChangedMessagePayload` + - added type `ProductPriceCustomFieldRemovedMessagePayload` + - added type `ProductPriceCustomFieldsRemovedMessagePayload` + - added type `ProductPriceCustomFieldsSetMessagePayload` + - added type `ProductTailoringImageAddedMessagePayload` + - added type `ProductTailoringImagesSetMessagePayload` + - added type `ProductVariantTailoringAddedMessagePayload` + - added type `ProductVariantTailoringRemovedMessagePayload` + - added type `StagedOrderSetShippingCustomFieldAction` + - added type `StagedOrderSetShippingCustomTypeAction` + - added type `OrderSearchCustomType` + - added type `OrderSetShippingCustomFieldAction` + - added type `OrderSetShippingCustomTypeAction` + - added type `ProductTailoringAttribute` + - added type `ProductVariantTailoring` + - added type `ProductVariantTailoringDraft` + - added type `ProductTailoringAddAssetAction` + - added type `ProductTailoringAddExternalImageAction` + - added type `ProductTailoringAddVariantAction` + - added type `ProductTailoringChangeAssetNameAction` + - added type `ProductTailoringChangeAssetOrderAction` + - added type `ProductTailoringMoveImageToPositionAction` + - added type `ProductTailoringRemoveAssetAction` + - added type `ProductTailoringRemoveImageAction` + - added type `ProductTailoringRemoveVariantAction` + - added type `ProductTailoringSetAssetCustomFieldAction` + - added type `ProductTailoringSetAssetCustomTypeAction` + - added type `ProductTailoringSetAssetDescriptionAction` + - added type `ProductTailoringSetAssetKeyAction` + - added type `ProductTailoringSetAssetSourcesAction` + - added type `ProductTailoringSetAssetTagsAction` + - added type `ProductTailoringSetAttributeAction` + - added type `ProductTailoringSetAttributeInAllVariantsAction` + - added type `ProductTailoringSetExternalImagesAction` + - added type `ProductTailoringSetImageLabelAction` + - added type `CustomerSearchStatus` + - added type `ProjectChangeCustomerSearchStatusAction` + - added type `ShippingMethodChangeActiveAction` + - added type `ImageProcessingOngoingWarning` + - added type `WarningObject` +
+ +
+ Removed Enum(s) + + - :warning: removed enum `product-price` from type `ChangeSubscriptionResourceTypeId` +
+ +
+ Added Enum(s) + + - added enum `customer-group` to type `ExtensionResourceTypeId` + - added enum `shopping-list` to type `ExtensionResourceTypeId` + - added enum `customer-group` to type `AttributeReferenceTypeId` + - added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId` + - added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId` + - added enum `product-tailoring` to type `MessageSubscriptionResourceTypeId` + - added enum `approval-rule` to type `CustomFieldReferenceValue` + - added enum `cart-discount` to type `CustomFieldReferenceValue` + - added enum `customer-group` to type `CustomFieldReferenceValue` + - added enum `approval-rule` to type `ResourceTypeId` + - added enum `product-tailoring` to type `ResourceTypeId` +
+ +
+ Added Method(s) + + - added method `apiRoot.withProjectKey().productTailoring().head()` + - added method `apiRoot.withProjectKey().channels().withKey().get()` + - added method `apiRoot.withProjectKey().channels().withKey().head()` + - added method `apiRoot.withProjectKey().channels().withKey().post()` + - added method `apiRoot.withProjectKey().channels().withKey().delete()` + - added method `apiRoot.withProjectKey().customers().search().post()` + - added method `apiRoot.withProjectKey().customers().search().head()` + - added method `apiRoot.withProjectKey().customers().searchIndexingStatus().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().orders().orderQuote().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductId().productTailoring().images().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().products().withProductKey().productTailoring().images().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withKey().delete()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quoteRequests().withId().delete()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withKey().delete()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().stagedQuotes().withId().delete()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withKey().delete()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().get()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().head()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().post()` + - added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().quotes().withId().delete()` +
+ +
+ Removed Method(s) + + - :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withId().delete()` + - :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withKey().delete()` + - :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().get()` + - :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().head()` + - :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().post()` + - :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().delete()` + - :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withId().delete()` + - :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withKey().delete()` +
+ +
+ Removed QueryParameter(s) + + - :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products` + - :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products` + - :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}` + - :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}` + - :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}` + - :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}` + - :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}` + - :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}` + - :warning: removed query parameter `sort` from method `get /{projectKey}/product-projections/suggest` + - :warning: removed query parameter `offset` from method `get /{projectKey}/product-projections/suggest` + - :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest` +
+ +
+ Added QueryParameter(s) + + - added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products` + - added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products` +
+ +### Patch Changes + +- Updated dependencies [[`3bfcd2e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/3bfcd2e5bae47499bb1694f594bf01d6caa190a2)]: + - @commercetools/ts-client@2.1.6 + ## 7.22.0 ### Minor Changes diff --git a/packages/platform-sdk/package.json b/packages/platform-sdk/package.json index ec69a4f6c..3b9d0cb6d 100644 --- a/packages/platform-sdk/package.json +++ b/packages/platform-sdk/package.json @@ -4,7 +4,7 @@ "access": "public" }, "name": "@commercetools/platform-sdk", - "version": "7.22.0", + "version": "7.23.0", "engines": { "node": ">=14" }, @@ -30,7 +30,7 @@ "@commercetools/sdk-middleware-auth": "^7.0.0", "@commercetools/sdk-middleware-http": "^7.0.0", "@commercetools/sdk-middleware-logger": "^3.0.0", - "@commercetools/ts-client": "^2.1.4" + "@commercetools/ts-client": "^2.1.6" }, "devDependencies": { "@types/uuid": "10.0.0", diff --git a/packages/sdk-client-v3/CHANGELOG.md b/packages/sdk-client-v3/CHANGELOG.md index 187dc5433..43b6cfac9 100644 --- a/packages/sdk-client-v3/CHANGELOG.md +++ b/packages/sdk-client-v3/CHANGELOG.md @@ -1,5 +1,11 @@ # @commercetools/ts-client +## 2.1.6 + +### Patch Changes + +- [#884](https://github.com/commercetools/commercetools-sdk-typescript/pull/884) [`3bfcd2e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/3bfcd2e5bae47499bb1694f594bf01d6caa190a2) Thanks [@ajimae](https://github.com/ajimae)! - [Fix][DEVX-514] Fix v3 AbortController Retry Reinitialization + ## 2.1.5 ### Patch Changes diff --git a/packages/sdk-client-v3/package.json b/packages/sdk-client-v3/package.json index 97a7ac4db..8d90599cd 100644 --- a/packages/sdk-client-v3/package.json +++ b/packages/sdk-client-v3/package.json @@ -1,6 +1,6 @@ { "name": "@commercetools/ts-client", - "version": "2.1.5", + "version": "2.1.6", "engines": { "node": ">=14" },