Skip to content

Releases: commercetools/commercetools-sdk-typescript

@commercetools/[email protected]

13 Jan 07:21
8cbd69b
Compare
Choose a tag to compare

Minor Changes

Summary

Changed Property(s)
  • ⚠️ changed property amount of type Transaction from type TypedMoney to CentPrecisionMoney
Added Property(s)
  • added property defaultShippingAddressId to type BusinessUnit
  • added property defaultShippingAddress to type BusinessUnitDraft
  • added property defaultShippingAddressId to type Company
  • added property defaultShippingAddress to type CompanyDraft
  • added property defaultShippingAddressId to type Division
  • added property defaultShippingAddress to type DivisionDraft
  • added property conflictingPrice to type DuplicatePriceScopeError
  • added property defaultShippingAddress to type MyBusinessUnitDraft
  • added property defaultShippingAddress to type MyCompanyDraft
  • added property defaultShippingAddress to type MyDivisionDraft
  • added property cartId to type MyQuoteRequestDraft
  • added property cartVersion to type MyQuoteRequestDraft
  • added property createdAt to type AssignedProductSelection
  • added property quoteState to type Quote
Required Property(s)
  • changed property discounted of type StagedStandalonePrice to be optional
Removed Property(s)
  • ⚠️ removed property defaultShipingAddressId from type BusinessUnit
  • ⚠️ removed property defaultShipingAddress from type BusinessUnitDraft
  • ⚠️ removed property defaultShipingAddressId from type Company
  • ⚠️ removed property defaultShipingAddress from type CompanyDraft
  • ⚠️ removed property defaultShipingAddressId from type Division
  • ⚠️ removed property defaultShipingAddress from type DivisionDraft
  • ⚠️ removed property conflictingPrices from type DuplicatePriceScopeError
  • ⚠️ removed property defaultShipingAddress from type MyBusinessUnitDraft
  • ⚠️ removed property defaultShipingAddress from type MyCompanyDraft
  • ⚠️ removed property defaultShipingAddress from type MyDivisionDraft
  • ⚠️ removed property cart from type MyQuoteRequestDraft
  • ⚠️ removed property version from type MyQuoteRequestDraft
Removed Type(s)
  • ⚠️ removed type ProductPriceSetMessage
  • ⚠️ removed type ProductPriceSetMessagePayload
Deprecated Type(s)
  • type IronMqDestination is removed
Added Type(s)
  • added type CartFreezeCartAction
  • added type CartUnfreezeCartAction
  • added type DuplicatePriceKeyError
  • added type ProductPriceKeySetMessage
  • added type ProductPricesSetMessage
  • added type StandalonePriceKeySetMessage
  • added type ProductPriceKeySetMessagePayload
  • added type ProductPricesSetMessagePayload
  • added type StandalonePriceKeySetMessagePayload
  • added type ProductSetPriceKeyAction
  • added type StandalonePriceSetKeyAction
Added Resource(s)
  • added resource /{projectKey}/shipping-methods/matching-cart-location
Added Method(s)
  • added method apiRoot.withProjectKey().shippingMethods().matchingCartLocation().get()
Added Enum(s)
  • added enum Frozen to type CartState

@commercetools/[email protected]

13 Jan 07:21
8cbd69b
Compare
Choose a tag to compare

Minor Changes

ML changes

Deprecated Property(s)
  • property MissingAttributes::attributeCount is removed
  • property MissingAttributes::attributeCoverage is removed
  • property MissingAttributesMeta::productLevel is removed
  • property MissingAttributesMeta::variantLevel is removed
  • property MissingAttributesPagedQueryResult::meta is removed
  • property MissingDataTaskStatus::result is removed
  • property MissingImagesMeta::productLevel is removed
  • property MissingImagesMeta::variantLevel is removed
  • property MissingImagesPagedQueryResult::meta is removed
  • property MissingImagesTaskStatus::result is removed
  • property MissingPricesMeta::productLevel is removed
  • property MissingPricesMeta::variantLevel is removed
  • property MissingPricesPagedQueryResult::meta is removed
  • property MissingPricesTaskStatus::result is removed
Deprecated Type(s)
  • type AttributeCount is removed
  • type AttributeCoverage is removed
  • type MissingAttributesDetails is removed
  • type MissingAttributes is removed
  • type MissingAttributesMeta is removed
  • type MissingAttributesSearchRequest is removed
  • type MissingAttributesPagedQueryResult is removed
  • type MissingDataTaskStatus is removed
  • type MissingImages is removed
  • type MissingImagesCount is removed
  • type MissingImagesProductLevel is removed
  • type MissingImagesVariantLevel is removed
  • type MissingImagesMeta is removed
  • type MissingImagesSearchRequest is removed
  • type MissingImagesPagedQueryResult is removed
  • type MissingImagesTaskStatus is removed
  • type MissingPrices is removed
  • type MissingPricesProductCount is removed
  • type MissingPricesProductLevel is removed
  • type MissingPricesVariantLevel is removed
  • type MissingPricesMeta is removed
  • type MissingPricesSearchRequest is removed
  • type MissingPricesPagedQueryResult is removed
  • type MissingPricesTaskStatus is removed
Deprecated Resource(s)
  • resource /{projectKey}/missing-data is removed
  • resource /{projectKey}/missing-data/attributes is removed
  • resource /{projectKey}/missing-data/images is removed
  • resource /{projectKey}/missing-data/prices is removed
  • resource /{projectKey}/missing-data/attributes/status is removed
  • resource /{projectKey}/missing-data/attributes/status/{taskId} is removed
  • resource /{projectKey}/missing-data/images/status is removed
  • resource /{projectKey}/missing-data/images/status/{taskId} is removed
  • resource /{projectKey}/missing-data/prices/status is removed
  • resource /{projectKey}/missing-data/prices/status/{taskId} is removed
Deprecated Method(s)
  • method post /{projectKey}/missing-data/attributes is removed
  • method post /{projectKey}/missing-data/images is removed
  • method post /{projectKey}/missing-data/prices is removed
  • method get /{projectKey}/missing-data/attributes/status/{taskId} is removed
  • method get /{projectKey}/missing-data/images/status/{taskId} is removed
  • method get /{projectKey}/missing-data/prices/status/{taskId} is removed

@commercetools/[email protected]

07 Dec 13:47
edffa63
Compare
Choose a tag to compare

Patch Changes

@commercetools/[email protected]

07 Dec 13:47
edffa63
Compare
Choose a tag to compare

Minor Changes

  • #371 f6bd1fe Thanks @github-actions! - Update generated SDKs

    Summary

    • The get method of ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder class now supports an optional stage property
    • The get method of ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder class now supports an optional stage property

    Snippet

    ...
      queryArgs?: {
    +   staged?: boolean
        priceCurrency?: string
        priceCountry?: string
        priceCustomerGroup?: string,
        ...
      }
      ...
    }) {}
    • The get, post and delete method query args. of ByProjectKeyProductsByIDRequestBuilder class now supports optional localeProjection property
    • The get and post method query args. of the ByProjectKeyProductsRequestBuilder class now supports an optional localeProjection property.
    ...
      queryArgs?: {
        where?: string | string[]
        priceCurrency?: string
        priceCountry?: string
        priceCustomerGroup?: string
        priceChannel?: string
    +   localeProjection?: string | string[]
        expand?: string | string[]
        sort?: string | string[]
        limit?: number
        offset?: number
        withTotal?: boolean
        [key: string]: QueryParam
      }
    ...

    The complete changes can be found here

Patch Changes

@commercetools/[email protected]

07 Dec 13:47
edffa63
Compare
Choose a tag to compare

Minor Changes

  • #371 f6bd1fe Thanks @github-actions! - Update generated SDKs

    Summary

    • The get method of ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder class now supports an optional stage property
    • The get method of ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder class now supports an optional stage property

    Snippet

    ...
      queryArgs?: {
    +   staged?: boolean
        priceCurrency?: string
        priceCountry?: string
        priceCustomerGroup?: string,
        ...
      }
      ...
    }) {}
    • The get, post and delete method query args. of ByProjectKeyProductsByIDRequestBuilder class now supports optional localeProjection property
    • The get and post method query args. of the ByProjectKeyProductsRequestBuilder class now supports an optional localeProjection property.
    ...
      queryArgs?: {
        where?: string | string[]
        priceCurrency?: string
        priceCountry?: string
        priceCustomerGroup?: string
        priceChannel?: string
    +   localeProjection?: string | string[]
        expand?: string | string[]
        sort?: string | string[]
        limit?: number
        offset?: number
        withTotal?: boolean
        [key: string]: QueryParam
      }
    ...

    The complete changes can be found here

Patch Changes

@commercetools/[email protected]

07 Nov 19:57
c259985
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@commercetools/[email protected]

07 Nov 19:57
c259985
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@commercetools/[email protected]

25 Oct 16:02
5e61cc7
Compare
Choose a tag to compare

Patch Changes

  • #355 0db2947 Thanks @ajimae! - fix SDK to accept custom tokenCache store
    allow anonymous auth flow to accept custom tokenCache store
    fix refresh token flow and password flow to accept custom tokenCache store also

@commercetools/[email protected]

20 Oct 20:47
70db088
Compare
Choose a tag to compare

Patch Changes

  • #347 f0e84dd Thanks @github-actions! - Update generated SDKs

    Add quotes() method for the My Quote endpoint

    Usage:

    request: apiRoot
      .withProjectKey({ projectKey: 'test_projectKey' })
      .me()
      .quotes()
      .withId({ ID: 'test_ID' })
      .get({ queryArgs: { expand: 'expand' } }),

    Add ByProjectKeyMeQuotesByIDRequestBuilder class for quotes-request model

    Add ByProjectKeyMeQuotesKeyByKeyRequestBuilder class for quotes-request model

    Add ByProjectKeyMeQuotesRequestBuilder class for quotes-request model

@commercetools/[email protected]

20 Oct 20:47
70db088
Compare
Choose a tag to compare

Minor Changes

  • #351 9c93a8e Thanks @ajimae! - Update packages

    Update the history-sdk DateStringFilter, ChangeHistoryResourceType, Source and PlatformInitiatedChange etc. models to include a string type

    Diff
    Diff

    Add builder class and method for standalone-prices for importapi-sdk

    Diff
    Diff
    Diff
    Diff

    Update the importapi-sdk MoneyType, ReferenceType, ProcessingState, ImportOperationState ProductPriceModeEnum etc models to include a string type

    Diff
    Diff
    Diff
    Diff

    Add class and builder methods for
    ByProjectKeyBusinessUnitsByIDRequestBuilder,
    ByProjectKeyBusinessUnitsRequestBuilder,
    ByProjectKeyMeBusinessUnitsKeyByKeyRequestBuilder,
    ByProjectKeyMeBusinessUnitsRequestBuilder,
    ByProjectKeyBusinessUnitsKeyByKeyRequestBuilder
    ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersRequestBuilder,
    ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeRequestBuilder,
    ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder
    in the platform-sdk

    Diff
    Diff
    Diff
    Diff
    Diff
    Diff
    Diff

    Complete changes can be found here

  • #347 f0e84dd Thanks @github-actions! - Update generated SDKs

    Add quotes() method for the My Quote endpoint

    Usage:

    request: apiRoot
      .withProjectKey({ projectKey: 'test_projectKey' })
      .me()
      .quotes()
      .withId({ ID: 'test_ID' })
      .get({ queryArgs: { expand: 'expand' } }),

    Add ByProjectKeyMeQuotesByIDRequestBuilder class for quotes-request model

    Add ByProjectKeyMeQuotesKeyByKeyRequestBuilder class for quotes-request model

    Add ByProjectKeyMeQuotesRequestBuilder class for quotes-request model

Patch Changes