From 48b6815fe1ef8b7188a65ecd238e47fb6bf7ac4a Mon Sep 17 00:00:00 2001 From: "ct-changesets[bot]" <145970804+ct-changesets[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:48:03 +0200 Subject: [PATCH] ci(changesets): version packages (#726) Co-authored-by: github-actions[bot] --- .changeset/changes_api.md | 255 --------------------------- .changeset/changes_import.md | 18 -- .changeset/metal-readers-leave.md | 5 - packages/history-sdk/package.json | 2 +- packages/importapi-sdk/CHANGELOG.md | 19 ++ packages/importapi-sdk/package.json | 2 +- packages/platform-sdk/CHANGELOG.md | 261 ++++++++++++++++++++++++++++ packages/platform-sdk/package.json | 4 +- packages/sdk-client-v3/CHANGELOG.md | 6 + packages/sdk-client-v3/package.json | 2 +- 10 files changed, 291 insertions(+), 283 deletions(-) delete mode 100644 .changeset/changes_api.md delete mode 100644 .changeset/changes_import.md delete mode 100644 .changeset/metal-readers-leave.md diff --git a/.changeset/changes_api.md b/.changeset/changes_api.md deleted file mode 100644 index 79ca61268..000000000 --- a/.changeset/changes_api.md +++ /dev/null @@ -1,255 +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 `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 `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 `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 `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 `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 `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 `variants` to type `ProductTailoringData` -- added property `variants` to type `ProductTailoringDraft` -- added property `variants` to type `ProductTailoringInStoreDraft` -- added property `active` to type `ShippingMethod` -- added property `active` to type `ShippingMethodDraft` -- added property `store` to type `StagedQuote` -
- -
-Added Resource(s) - -- 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 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 Method(s) - -- 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().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()` -
- -
-Added Enum(s) - -- 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 `cart-discount` to type `CustomFieldReferenceValue` -- added enum `customer-group` to type `CustomFieldReferenceValue` -
- -
-Removed Enum(s) - -- :warning: removed enum `product-price` from type `ChangeSubscriptionResourceTypeId` -
- -
-Added Type(s) - -- added type `BusinessUnitApprovalRuleMode` -- added type `BusinessUnitChangeApprovalRuleModeAction` -- added type `CartChangeLineItemsOrderAction` -- added type `CustomerIndexingProgress` -- added type `CustomerIndexingStatus` -- added type `CustomerPagedSearchResponse` -- added type `CustomerSearchIndexingStatusResponse` -- added type `CustomerSearchRequest` -- added type `CustomerSearchResult` -- added type `MyCartChangeLineItemsOrderAction` -- added type `BusinessUnitApprovalRuleModeChangedMessage` -- 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 `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 `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 `ProductTailoringSetExternalImagesAction` -- added type `ProductTailoringSetImageLabelAction` -- added type `CustomerSearchStatus` -- added type `ProjectChangeCustomerSearchStatusAction` -- added type `ShippingMethodChangeActiveAction` -
diff --git a/.changeset/changes_import.md b/.changeset/changes_import.md deleted file mode 100644 index 09c1116e8..000000000 --- a/.changeset/changes_import.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@commercetools/importapi-sdk': minor ---- - -**Import changes** - -
-Added Enum(s) - -- added enum `customer-group` to type `CustomFieldReferenceValue` -
- -
-Deprecated Property(s) - -- property `PriceImport::publish` is removed -- property `ProductVariantImport::publish` is removed -
diff --git a/.changeset/metal-readers-leave.md b/.changeset/metal-readers-leave.md deleted file mode 100644 index 3695dec98..000000000 --- a/.changeset/metal-readers-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@commercetools/ts-client': patch ---- - -Fix issues with request state not being reset back to default on error when fetching token. diff --git a/packages/history-sdk/package.json b/packages/history-sdk/package.json index e2e2a5a41..633372c92 100644 --- a/packages/history-sdk/package.json +++ b/packages/history-sdk/package.json @@ -38,7 +38,7 @@ "@commercetools/sdk-middleware-logger": "^3.0.0" }, "devDependencies": { - "@commercetools/platform-sdk": "7.9.0", + "@commercetools/platform-sdk": "7.10.0", "@types/uuid": "9.0.8", "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 0fb379266..08faf7e4c 100644 --- a/packages/importapi-sdk/CHANGELOG.md +++ b/packages/importapi-sdk/CHANGELOG.md @@ -1,5 +1,24 @@ # @commercetools/importapi-sdk +## 5.5.0 + +### Minor Changes + +- [#764](https://github.com/commercetools/commercetools-sdk-typescript/pull/764) [`5869749`](https://github.com/commercetools/commercetools-sdk-typescript/commit/5869749b2f865303b9d165efcd68e8c92e44b741) Thanks [@ct-sdks](https://github.com/apps/ct-sdks)! - **Import changes** + +
+ Added Enum(s) + + - added enum `customer-group` to type `CustomFieldReferenceValue` +
+ +
+ Deprecated Property(s) + + - property `PriceImport::publish` is removed + - property `ProductVariantImport::publish` is removed +
+ ## 5.4.0 ### Minor Changes diff --git a/packages/importapi-sdk/package.json b/packages/importapi-sdk/package.json index 9bd300312..f8712ff34 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.4.0", + "version": "5.5.0", "engines": { "node": ">=14" }, diff --git a/packages/platform-sdk/CHANGELOG.md b/packages/platform-sdk/CHANGELOG.md index 962850eae..55c83762c 100644 --- a/packages/platform-sdk/CHANGELOG.md +++ b/packages/platform-sdk/CHANGELOG.md @@ -1,5 +1,266 @@ # @commercetools/platform-sdk +## 7.10.0 + +### Minor Changes + +- [#725](https://github.com/commercetools/commercetools-sdk-typescript/pull/725) [`99e7953`](https://github.com/commercetools/commercetools-sdk-typescript/commit/99e79536a119d87ca20e34850b355ccee1732d0f) 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 `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 `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 `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 `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 `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 `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 `variants` to type `ProductTailoringData` + - added property `variants` to type `ProductTailoringDraft` + - added property `variants` to type `ProductTailoringInStoreDraft` + - added property `active` to type `ShippingMethod` + - added property `active` to type `ShippingMethodDraft` + - added property `store` to type `StagedQuote` +
+ +
+ Added Resource(s) + + - 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 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 Method(s) + + - 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().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()` +
+ +
+ Added Enum(s) + + - 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 `cart-discount` to type `CustomFieldReferenceValue` + - added enum `customer-group` to type `CustomFieldReferenceValue` +
+ +
+ Removed Enum(s) + + - :warning: removed enum `product-price` from type `ChangeSubscriptionResourceTypeId` +
+ +
+ Added Type(s) + + - added type `BusinessUnitApprovalRuleMode` + - added type `BusinessUnitChangeApprovalRuleModeAction` + - added type `CartChangeLineItemsOrderAction` + - added type `CustomerIndexingProgress` + - added type `CustomerIndexingStatus` + - added type `CustomerPagedSearchResponse` + - added type `CustomerSearchIndexingStatusResponse` + - added type `CustomerSearchRequest` + - added type `CustomerSearchResult` + - added type `MyCartChangeLineItemsOrderAction` + - added type `BusinessUnitApprovalRuleModeChangedMessage` + - 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 `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 `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 `ProductTailoringSetExternalImagesAction` + - added type `ProductTailoringSetImageLabelAction` + - added type `CustomerSearchStatus` + - added type `ProjectChangeCustomerSearchStatusAction` + - added type `ShippingMethodChangeActiveAction` +
+ +### Patch Changes + +- Updated dependencies [[`d82a9e0`](https://github.com/commercetools/commercetools-sdk-typescript/commit/d82a9e0e6666e076183172a9229ffcda8e28905a)]: + - @commercetools/ts-client@2.0.1 + ## 7.9.0 ### Minor Changes diff --git a/packages/platform-sdk/package.json b/packages/platform-sdk/package.json index 2977c692a..03c87b9ef 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.9.0", + "version": "7.10.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.0.0" + "@commercetools/ts-client": "^2.0.1" }, "devDependencies": { "@types/uuid": "9.0.8", diff --git a/packages/sdk-client-v3/CHANGELOG.md b/packages/sdk-client-v3/CHANGELOG.md index b0f4fde05..d85144f85 100644 --- a/packages/sdk-client-v3/CHANGELOG.md +++ b/packages/sdk-client-v3/CHANGELOG.md @@ -1,5 +1,11 @@ # @commercetools/ts-client +## 2.0.1 + +### Patch Changes + +- [#767](https://github.com/commercetools/commercetools-sdk-typescript/pull/767) [`d82a9e0`](https://github.com/commercetools/commercetools-sdk-typescript/commit/d82a9e0e6666e076183172a9229ffcda8e28905a) Thanks [@ajimae](https://github.com/ajimae)! - Fix issues with request state not being reset back to default on error when fetching token. + ## 2.0.0 ### Major Changes diff --git a/packages/sdk-client-v3/package.json b/packages/sdk-client-v3/package.json index ddd51a8d0..f29c9ef49 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.0.0", + "version": "2.0.1", "engines": { "node": ">=14" },