Skip to content

Releases: commercetools/commercetools-sdk-typescript

@commercetools/ts-client@2.0.0

05 Jun 20:36
710fc95
Compare
Choose a tag to compare

Major Changes

@commercetools/platform-sdk@7.9.0

05 Jun 20:36
710fc95
Compare
Choose a tag to compare

Minor Changes

  • #696 3ab225d Thanks @ct-sdks! - Api changes

    Changed Property(s)
    • ⚠️ changed property value of type DirectDiscountDraft from type CartDiscountValue to CartDiscountValueDraft
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 Type(s)
  • added type StagedOrderSetShippingCustomFieldAction
  • added type StagedOrderSetShippingCustomTypeAction
  • added type OrderSetShippingCustomFieldAction
  • added type OrderSetShippingCustomTypeAction

Patch Changes

  • Updated dependencies [e7e5ac7]:
    • @commercetools/ts-client@2.0.0

@commercetools/ts-client@1.2.1

30 Apr 14:25
d861388
Compare
Choose a tag to compare

Patch Changes

@commercetools/sdk-client-v2@2.5.0

30 Apr 14:25
d861388
Compare
Choose a tag to compare

Minor Changes

  • #676 8b1aecc Thanks @ajimae! - Add custom logger function

  • #679 b8bc24d Thanks @ajimae! - - Add a before middleware function that runs before the coco api call is initiated

    • Add an after middleware function that runs after the coco api call is done executing

@commercetools/platform-sdk@7.8.0

30 Apr 14:25
d861388
Compare
Choose a tag to compare

Minor Changes

  • #680 a00e693 Thanks @ct-sdks! - Api changes

    Changed Property(s)
    • ⚠️ changed property custom of type MyBusinessUnitDraft from type CustomFields to CustomFieldsDraft
    • ⚠️ changed property custom of type MyCompanyDraft from type CustomFields to CustomFieldsDraft
    • ⚠️ changed property custom of type MyDivisionDraft from type CustomFields to CustomFieldsDraft
Required Property(s)
  • ⚠️ changed property stores of type BusinessUnit to be required
  • ⚠️ changed property stores of type Company to be required
  • ⚠️ changed property stores of type Division to be required
  • ⚠️ changed property stores of type BusinessUnitSetStoresAction to be required
  • ⚠️ changed property stores of type CartDiscountSetStoresAction to be required
  • ⚠️ changed property stores of type Customer to be required
  • ⚠️ changed property stores of type CustomerSetStoresAction to be required
Added Property(s)
  • added property postFilter to type ProductSearchRequest

Patch Changes

  • Updated dependencies [8b1aecc, b8bc24d, a1b43c0]:
    • @commercetools/sdk-client-v2@2.5.0
    • @commercetools/ts-client@1.2.1

@commercetools/importapi-sdk@5.4.0

30 Apr 14:25
d861388
Compare
Choose a tag to compare

Minor Changes

  • #685 88c5c05 Thanks @ct-sdks! - Import changes

    MarkDeprecated Property(s)
    • marked property PriceImport::publish as deprecated
    • marked property ProductVariantImport::publish as deprecated
Added Property(s)
  • added property staged to type PriceImport
  • added property staged to type ProductVariantImport

Patch Changes

  • Updated dependencies [8b1aecc, b8bc24d]:
    • @commercetools/sdk-client-v2@2.5.0

@commercetools/sdk-client-v2@2.4.1

10 Apr 20:58
083f466
Compare
Choose a tag to compare

Patch Changes

  • #671 344fd2d Thanks @ajimae! - Fix malformed uri error due to wrong object to uri serialization.

@commercetools/platform-sdk@7.7.0

10 Apr 20:58
083f466
Compare
Choose a tag to compare

Minor Changes

  • #670 96c319a Thanks @ct-sdks! - Api changes

    Added Property(s)
    • added property attributedTo to type CreatedBy
    • added property attributedTo to type LastModifiedBy
Added Type(s)
  • added type Attribution
  • added type AttributionSource
Removed Method(s)
  • ⚠️ removed method apiRoot.withProjectKey().products().search().head()

Patch Changes

  • Updated dependencies [344fd2d]:
    • @commercetools/sdk-client-v2@2.4.1

@commercetools/importapi-sdk@5.3.0

10 Apr 20:58
083f466
Compare
Choose a tag to compare

Minor Changes

  • #670 96c319a Thanks @ct-sdks! - Import changes

    Added Resource(s)
    • added resource /{projectKey}/discount-codes
    • added resource /{projectKey}/discount-codes/import-containers
    • added resource /{projectKey}/discount-codes/import-containers/{importContainerKey}
Added Method(s)
  • added method apiRoot.withProjectKeyValue().discountCodes().importContainers().withImportContainerKeyValue().post()
Added Type(s)
  • added type DiscountCodeImportRequest
  • added type DiscountCodeImport
Added Enum(s)
  • added enum discount-code to type ImportResourceType

Patch Changes

  • Updated dependencies [344fd2d]:
    • @commercetools/sdk-client-v2@2.4.1

@commercetools/platform-sdk@7.6.0

01 Apr 07:57
f355d3c
Compare
Choose a tag to compare

Minor Changes

  • #651 6ebb725 Thanks @ct-sdks! - Api changes

    Added Enum(s)
    • added enum ManuallySuspended to type SubscriptionHealthStatus
Added Property(s)
  • added property productsSearch to type SearchIndexingConfiguration
  • added property mode to type ProjectChangeProductSearchIndexingEnabledAction
Added Method(s)
  • added method apiRoot.withProjectKey().products().search().post()
  • added method apiRoot.withProjectKey().products().search().head()
Added Resource(s)
  • added resource /{projectKey}/products/search
Added Type(s)
  • added type LockedFieldError
  • added type GraphQLLockedFieldError
  • added type ProductPagedSearchResponse
  • added type ProductSearchErrorResponse
  • added type ProductSearchMatchingVariantEntry
  • added type ProductSearchMatchingVariants
  • added type ProductSearchProjectionParams
  • added type ProductSearchRequest
  • added type ProductSearchResult
  • added type ProductSearchFacetCountExpression
  • added type ProductSearchFacetCountLevelEnum
  • added type ProductSearchFacetCountValue
  • added type ProductSearchFacetDistinctBucketSortBy
  • added type ProductSearchFacetDistinctBucketSortExpression
  • added type ProductSearchFacetDistinctExpression
  • added type ProductSearchFacetDistinctValue
  • added type ProductSearchFacetExpression
  • added type ProductSearchFacetRangesExpression
  • added type ProductSearchFacetRangesFacetRange
  • added type ProductSearchFacetRangesValue
  • added type ProductSearchFacetResult
  • added type ProductSearchFacetResultBucket
  • added type ProductSearchFacetResultBucketEntry
  • added type ProductSearchFacetResultCount
  • added type ProductSearchFacetScope
  • added type ProductSearchFacetScopeEnum
  • added type ProductSearchIndexingMode
  • added type ProductSearchStatus
  • added type SearchAndExpression
  • added type SearchAnyValue
  • added type SearchCompoundExpression
  • added type SearchDateRangeExpression
  • added type SearchDateRangeValue
  • added type SearchDateTimeRangeExpression
  • added type SearchDateTimeRangeValue
  • added type SearchExactExpression
  • added type SearchExistsExpression
  • added type SearchExistsValue
  • added type SearchFieldType
  • added type SearchFilterExpression
  • added type SearchFullTextExpression
  • added type SearchFullTextPrefixExpression
  • added type SearchFullTextPrefixValue
  • added type SearchFullTextValue
  • added type SearchLongRangeExpression
  • added type SearchLongRangeValue
  • added type SearchMatchType
  • added type SearchMatchingVariant
  • added type SearchNotExpression
  • added type SearchNumberRangeExpression
  • added type SearchNumberRangeValue
  • added type SearchOrExpression
  • added type SearchPrefixExpression
  • added type SearchQuery
  • added type SearchQueryExpression
  • added type SearchQueryExpressionValue
  • added type SearchSortMode
  • added type SearchSortOrder
  • added type SearchSorting
  • added type SearchTimeRangeExpression
  • added type SearchTimeRangeValue
  • added type SearchWildCardExpression