Releases: commercetools/commercetools-sdk-typescript
@commercetools/[email protected]
Minor Changes
- #399
391c1cb
Thanks @github-actions! - Update generated SDKs
Summary
Changed Property(s)
⚠️ changed propertyamount
of typeTransaction
from typeTypedMoney
toCentPrecisionMoney
Added Property(s)
- added property
defaultShippingAddressId
to typeBusinessUnit
- added property
defaultShippingAddress
to typeBusinessUnitDraft
- added property
defaultShippingAddressId
to typeCompany
- added property
defaultShippingAddress
to typeCompanyDraft
- added property
defaultShippingAddressId
to typeDivision
- added property
defaultShippingAddress
to typeDivisionDraft
- added property
conflictingPrice
to typeDuplicatePriceScopeError
- added property
defaultShippingAddress
to typeMyBusinessUnitDraft
- added property
defaultShippingAddress
to typeMyCompanyDraft
- added property
defaultShippingAddress
to typeMyDivisionDraft
- added property
cartId
to typeMyQuoteRequestDraft
- added property
cartVersion
to typeMyQuoteRequestDraft
- added property
createdAt
to typeAssignedProductSelection
- added property
quoteState
to typeQuote
Required Property(s)
- changed property
discounted
of typeStagedStandalonePrice
to be optional
Removed Property(s)
⚠️ removed propertydefaultShipingAddressId
from typeBusinessUnit
⚠️ removed propertydefaultShipingAddress
from typeBusinessUnitDraft
⚠️ removed propertydefaultShipingAddressId
from typeCompany
⚠️ removed propertydefaultShipingAddress
from typeCompanyDraft
⚠️ removed propertydefaultShipingAddressId
from typeDivision
⚠️ removed propertydefaultShipingAddress
from typeDivisionDraft
⚠️ removed propertyconflictingPrices
from typeDuplicatePriceScopeError
⚠️ removed propertydefaultShipingAddress
from typeMyBusinessUnitDraft
⚠️ removed propertydefaultShipingAddress
from typeMyCompanyDraft
⚠️ removed propertydefaultShipingAddress
from typeMyDivisionDraft
⚠️ removed propertycart
from typeMyQuoteRequestDraft
⚠️ removed propertyversion
from typeMyQuoteRequestDraft
Removed Type(s)
⚠️ removed typeProductPriceSetMessage
⚠️ removed typeProductPriceSetMessagePayload
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 typeCartState
@commercetools/[email protected]
Minor Changes
eb661ba
Thanks @jenschude! - Update generated SDKs
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]
Patch Changes
- #390
98d2d7c
Thanks @barbara79! - chore: add user agent in the client setting
@commercetools/[email protected]
Minor Changes
-
#371
f6bd1fe
Thanks @github-actions! - Update generated SDKsSummary
- The get method of
ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder
class now supports an optionalstage
property - The get method of
ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder
class now supports an optionalstage
property
Snippet
... queryArgs?: { + staged?: boolean priceCurrency?: string priceCountry?: string priceCustomerGroup?: string, ... } ... }) {}
- The
get
,post
anddelete
method query args. ofByProjectKeyProductsByIDRequestBuilder
class now supports optionallocaleProjection
property - The
get
andpost
method query args. of theByProjectKeyProductsRequestBuilder
class now supports an optionallocaleProjection
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
- The get method of
Patch Changes
-
#394
01dcc12
Thanks @github-actions! - Update generated SDKs -
Updated dependencies [
98d2d7c
]:- @commercetools/[email protected]
@commercetools/[email protected]
Minor Changes
-
#371
f6bd1fe
Thanks @github-actions! - Update generated SDKsSummary
- The get method of
ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilder
class now supports an optionalstage
property - The get method of
ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBuilder
class now supports an optionalstage
property
Snippet
... queryArgs?: { + staged?: boolean priceCurrency?: string priceCountry?: string priceCustomerGroup?: string, ... } ... }) {}
- The
get
,post
anddelete
method query args. ofByProjectKeyProductsByIDRequestBuilder
class now supports optionallocaleProjection
property - The
get
andpost
method query args. of theByProjectKeyProductsRequestBuilder
class now supports an optionallocaleProjection
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
- The get method of
Patch Changes
- Updated dependencies [
98d2d7c
]:- @commercetools/[email protected]
@commercetools/[email protected]
@commercetools/[email protected]
Minor Changes
-
#352
ef84dd4
Thanks @github-actions! - Update generated SDKsSummary of changes can be seen here
Patch Changes
- Updated dependencies [
8cd7b08
,fe5109c
]:- @commercetools/[email protected]
@commercetools/[email protected]
@commercetools/[email protected]
Patch Changes
-
#347
f0e84dd
Thanks @github-actions! - Update generated SDKsAdd
quotes()
method for theMy Quote endpoint
Usage:
request: apiRoot .withProjectKey({ projectKey: 'test_projectKey' }) .me() .quotes() .withId({ ID: 'test_ID' }) .get({ queryArgs: { expand: 'expand' } }),
Add
ByProjectKeyMeQuotesByIDRequestBuilder
class forquotes-request
modelAdd
ByProjectKeyMeQuotesKeyByKeyRequestBuilder
class forquotes-request
modelAdd
ByProjectKeyMeQuotesRequestBuilder
class forquotes-request
model
@commercetools/[email protected]
Minor Changes
-
#351
9c93a8e
Thanks @ajimae! - Update packagesUpdate the
history-sdk
DateStringFilter
,ChangeHistoryResourceType
,Source
andPlatformInitiatedChange
etc. models to include astring
typeAdd builder class and method for
standalone-prices
forimportapi-sdk
Update the
importapi-sdk
MoneyType
,ReferenceType
,ProcessingState
,ImportOperationState
ProductPriceModeEnum
etc models to include astring
typeAdd class and builder methods for
ByProjectKeyBusinessUnitsByIDRequestBuilder
,
ByProjectKeyBusinessUnitsRequestBuilder
,
ByProjectKeyMeBusinessUnitsKeyByKeyRequestBuilder
,
ByProjectKeyMeBusinessUnitsRequestBuilder
,
ByProjectKeyBusinessUnitsKeyByKeyRequestBuilder
ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersRequestBuilder
,
ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeRequestBuilder
,
ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyRequestBuilder
in theplatform-sdk
Diff
Diff
Diff
Diff
Diff
Diff
DiffComplete changes can be found here
-
#347
f0e84dd
Thanks @github-actions! - Update generated SDKsAdd
quotes()
method for theMy Quote endpoint
Usage:
request: apiRoot .withProjectKey({ projectKey: 'test_projectKey' }) .me() .quotes() .withId({ ID: 'test_ID' }) .get({ queryArgs: { expand: 'expand' } }),
Add
ByProjectKeyMeQuotesByIDRequestBuilder
class forquotes-request
modelAdd
ByProjectKeyMeQuotesKeyByKeyRequestBuilder
class forquotes-request
modelAdd
ByProjectKeyMeQuotesRequestBuilder
class forquotes-request
model
Patch Changes
- Updated dependencies [
f0e84dd
]:- @commercetools/[email protected]