diff --git a/changes.md b/changes.md
index 1691dd287..dff7525fb 100644
--- a/changes.md
+++ b/changes.md
@@ -1,5 +1,45 @@
**Api changes**
+
+Removed Type(s)
+
+- :warning: removed type `NotEnabledError`
+- :warning: removed type `GraphQLNotEnabledError`
+
+
+
+Added Type(s)
+
+- added type `ApprovalFlowSetCustomFieldAction`
+- added type `ApprovalFlowSetCustomTypeAction`
+- added type `CartDiscountCreatedMessage`
+- added type `CartDiscountDeletedMessage`
+- added type `CartDiscountStoreAddedMessage`
+- added type `CartDiscountStoreRemovedMessage`
+- added type `CartDiscountStoresSetMessage`
+- added type `CartDiscountCreatedMessagePayload`
+- added type `CartDiscountDeletedMessagePayload`
+- added type `CartDiscountStoreAddedMessagePayload`
+- added type `CartDiscountStoreRemovedMessagePayload`
+- added type `CartDiscountStoresSetMessagePayload`
+
+
+
+Changed MethodResponseBody(s)
+
+- :warning: changed response body for `200: application/json` of method `get /{projectKey}/in-store/key={storeKey}/cart-discounts` from type `CartDiscount` to `CartDiscountPagedQueryResponse`
+
+
+
+Added Enum(s)
+
+- added enum `associate-role` to type `AttributeReferenceTypeId`
+- added enum `business-unit` to type `AttributeReferenceTypeId`
+- added enum `cart-discount` to type `AttributeReferenceTypeId`
+- added enum `approval-flow` to type `CustomFieldReferenceValue`
+- added enum `approval-flow` to type `ResourceTypeId`
+
+
Added QueryParameter(s)
@@ -14,21 +54,23 @@
-Added Enum(s)
+Added Property(s)
-- added enum `associate-role` to type `AttributeReferenceTypeId`
-- added enum `business-unit` to type `AttributeReferenceTypeId`
-- added enum `cart-discount` to type `AttributeReferenceTypeId`
+- added property `custom` to type `ApprovalFlow`
+- added property `perMethodExternalTaxRate` to type `CartAddLineItemAction`
+- added property `shippingMode` to type `MyCartDraft`
+**History changes**
+
-Changed MethodResponseBody(s)
+Removed Type(s)
-- :warning: changed response body for `200: application/json` of method `get /{projectKey}/in-store/key={storeKey}/cart-discounts` from type `CartDiscount` to `CartDiscountPagedQueryResponse`
+- :warning: removed type `ChannelRole`
+- :warning: removed type `StateRole`
+- :warning: removed type `StateType`
-**History changes**
-
Added Type(s)
@@ -39,14 +81,6 @@
- added type `StateTypeEnum`
-
-Removed Type(s)
-
-- :warning: removed type `ChannelRole`
-- :warning: removed type `StateRole`
-- :warning: removed type `StateType`
-
-
Removed Property(s)
diff --git a/packages/importapi-sdk/src/generated/models/importsummaries.ts b/packages/importapi-sdk/src/generated/models/importsummaries.ts
index 5702910ce..d98132c65 100644
--- a/packages/importapi-sdk/src/generated/models/importsummaries.ts
+++ b/packages/importapi-sdk/src/generated/models/importsummaries.ts
@@ -22,6 +22,9 @@ export interface ImportSummary {
*/
readonly total: number
}
+/**
+ * The number of resources in each [Processing State](/processing-state#processingstate).
+ */
export interface OperationStates {
/**
* The number of resources in the `processing` state.
diff --git a/packages/importapi-sdk/src/generated/models/orders.ts b/packages/importapi-sdk/src/generated/models/orders.ts
index e34f4eb18..179cc8c4f 100644
--- a/packages/importapi-sdk/src/generated/models/orders.ts
+++ b/packages/importapi-sdk/src/generated/models/orders.ts
@@ -693,7 +693,7 @@ export interface ScoreShippingRateInput {
* The data representation for an Order to be imported that is persisted as an [Order](/../api/projects/orders#top) in the Project.
*
* In commercetools, you can import an Order using the
- * [Create Order by Import](/../api/projects/orders-import#create-order-by-import)
+ * [Create Order by Import](ctp:importapi:endpoint:/{projectKey}/orders/import:POST)
* endpoint method instead of creating it from a Cart.
*
* An OrderImport is a snapshot of an order at the time it was imported.
diff --git a/packages/importapi-sdk/test/generated/client/import-containers/by-project-key-import-containers-request-builder.test.ts b/packages/importapi-sdk/test/generated/client/import-containers/by-project-key-import-containers-request-builder.test.ts
index 006f55b78..53597148a 100644
--- a/packages/importapi-sdk/test/generated/client/import-containers/by-project-key-import-containers-request-builder.test.ts
+++ b/packages/importapi-sdk/test/generated/client/import-containers/by-project-key-import-containers-request-builder.test.ts
@@ -21,19 +21,19 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
},
{
method: 'get',
- uri: '/test_projectKey/import-containers?limit=0.26748633',
+ uri: '/test_projectKey/import-containers?limit=7',
request: apiRoot
.withProjectKeyValue({ projectKey: 'test_projectKey' })
.importContainers()
- .get({ queryArgs: { limit: 0.26748633 } }),
+ .get({ queryArgs: { limit: 7 } }),
},
{
method: 'get',
- uri: '/test_projectKey/import-containers?offset=0.7475848',
+ uri: '/test_projectKey/import-containers?offset=3',
request: apiRoot
.withProjectKeyValue({ projectKey: 'test_projectKey' })
.importContainers()
- .get({ queryArgs: { offset: 0.7475848 } }),
+ .get({ queryArgs: { offset: 3 } }),
},
{
method: 'get',
diff --git a/packages/importapi-sdk/test/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.test.ts b/packages/importapi-sdk/test/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.test.ts
index ba8d31794..5be1ea074 100644
--- a/packages/importapi-sdk/test/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.test.ts
+++ b/packages/importapi-sdk/test/generated/client/import-operations/by-project-key-import-containers-by-import-container-key-import-operations-request-builder.test.ts
@@ -13,7 +13,7 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
return [
{
method: 'get',
- uri: '/test_projectKey/import-containers/test_importContainerKey/import-operations?limit=0.26748633',
+ uri: '/test_projectKey/import-containers/test_importContainerKey/import-operations?limit=7',
request: apiRoot
.withProjectKeyValue({ projectKey: 'test_projectKey' })
.importContainers()
@@ -21,11 +21,11 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
importContainerKey: 'test_importContainerKey',
})
.importOperations()
- .get({ queryArgs: { limit: 0.26748633 } }),
+ .get({ queryArgs: { limit: 7 } }),
},
{
method: 'get',
- uri: '/test_projectKey/import-containers/test_importContainerKey/import-operations?offset=0.7475848',
+ uri: '/test_projectKey/import-containers/test_importContainerKey/import-operations?offset=3',
request: apiRoot
.withProjectKeyValue({ projectKey: 'test_projectKey' })
.importContainers()
@@ -33,7 +33,7 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
importContainerKey: 'test_importContainerKey',
})
.importOperations()
- .get({ queryArgs: { offset: 0.7475848 } }),
+ .get({ queryArgs: { offset: 3 } }),
},
{
method: 'get',
diff --git a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-by-id-request-builder.ts b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-by-id-request-builder.ts
index 308c27c28..9a8c2d898 100644
--- a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-by-id-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-by-id-request-builder.ts
@@ -89,6 +89,9 @@ export class ByProjectKeyCartDiscountsByIDRequestBuilder {
this.args.executeRequest
)
}
+ /**
+ * Deleting a Cart Discount produces the [CartDiscountDeleted](ctp:api:type:CartDiscountDeletedMessage) Message.
+ */
public delete(methodArgs: {
queryArgs: {
version: number
diff --git a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-key-by-key-request-builder.ts b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-key-by-key-request-builder.ts
index 0b4a4bfe0..84e4d547e 100644
--- a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-key-by-key-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-key-by-key-request-builder.ts
@@ -89,6 +89,9 @@ export class ByProjectKeyCartDiscountsKeyByKeyRequestBuilder {
this.args.executeRequest
)
}
+ /**
+ * Deleting a Cart Discount produces the [CartDiscountDeleted](ctp:api:type:CartDiscountDeletedMessage) Message.
+ */
public delete(methodArgs: {
queryArgs: {
version: number
diff --git a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-request-builder.ts b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-request-builder.ts
index 84edab8e7..735e06041 100644
--- a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-cart-discounts-request-builder.ts
@@ -103,6 +103,9 @@ export class ByProjectKeyCartDiscountsRequestBuilder {
this.args.executeRequest
)
}
+ /**
+ * Creating a Cart Discount produces the [CartDiscountCreated](ctp:api:type:CartDiscountCreatedMessage) Message.
+ */
public post(methodArgs: {
queryArgs?: {
expand?: string | string[]
diff --git a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-by-id-request-builder.ts b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-by-id-request-builder.ts
index 08dd26941..ee67d02b6 100644
--- a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-by-id-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-by-id-request-builder.ts
@@ -100,6 +100,8 @@ export class ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDRequestBuilder {
/**
* To delete a CartDiscount, specify the `manage_cart_discounts:{projectKey}:{storeKey}` scope for all Stores associated with the CartDiscount.
*
+ * Deleting a Cart Discount produces the [CartDiscountDeleted](ctp:api:type:CartDiscountDeletedMessage) Message.
+ *
*/
public delete(methodArgs: {
queryArgs: {
diff --git a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-key-by-key-request-builder.ts b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-key-by-key-request-builder.ts
index 644dda588..c5c18a183 100644
--- a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-key-by-key-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-key-by-key-request-builder.ts
@@ -100,6 +100,8 @@ export class ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyRequestBuilder
/**
* To delete a CartDiscount, specify the `manage_cart_discounts:{projectKey}:{storeKey}` scope for all Stores associated with the CartDiscount.
*
+ * Deleting a Cart Discount produces the [CartDiscountDeleted](ctp:api:type:CartDiscountDeletedMessage) Message.
+ *
*/
public delete(methodArgs: {
queryArgs: {
diff --git a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-request-builder.ts b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-request-builder.ts
index f497f42d6..48736ea79 100644
--- a/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/cart-discounts/by-project-key-in-store-key-by-store-key-cart-discounts-request-builder.ts
@@ -109,6 +109,8 @@ export class ByProjectKeyInStoreKeyByStoreKeyCartDiscountsRequestBuilder {
/**
* When using the endpoint, the Store specified in the path and the Stores specified in the payload's `stores` field are added to the CartDiscount.
*
+ * Creating a Cart Discount produces the [CartDiscountCreated](ctp:api:type:CartDiscountCreatedMessage) Message.
+ *
*/
public post(methodArgs: {
queryArgs?: {
diff --git a/packages/platform-sdk/src/generated/client/login/by-project-key-login-request-builder.ts b/packages/platform-sdk/src/generated/client/login/by-project-key-login-request-builder.ts
index 553cb4eb5..a7e8a97f9 100644
--- a/packages/platform-sdk/src/generated/client/login/by-project-key-login-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/login/by-project-key-login-request-builder.ts
@@ -21,7 +21,7 @@ export class ByProjectKeyLoginRequestBuilder {
/**
* Authenticates a global Customer not associated with a Store.
* For more information, see [Global versus Store-specific Customers](/../api/customers-overview#global-versus-store-specific-customers).
- * If the Customer is registered in a Store, use the [Authenticate (sign in) Customer in Store](/../api/projects/customers#authenticate-sign-in-customer-in-store) method.
+ * If the Customer is registered in a Store, use the [Authenticate (sign in) Customer in Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/login:POST) method.
*
* If an account with the given credentials is not found, an [InvalidCredentials](ctp:api:type:InvalidCredentialsError) error is returned.
*
diff --git a/packages/platform-sdk/src/generated/client/matching-cart-location/by-project-key-shipping-methods-matching-cart-location-request-builder.ts b/packages/platform-sdk/src/generated/client/matching-cart-location/by-project-key-shipping-methods-matching-cart-location-request-builder.ts
index 1b45d510e..846fcd114 100644
--- a/packages/platform-sdk/src/generated/client/matching-cart-location/by-project-key-shipping-methods-matching-cart-location-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/matching-cart-location/by-project-key-shipping-methods-matching-cart-location-request-builder.ts
@@ -19,7 +19,7 @@ export class ByProjectKeyShippingMethodsMatchingCartLocationRequestBuilder {
}
) {}
/**
- * Retrieves all the ShippingMethods that can ship to the given [Location](/projects/zones#location)
+ * Retrieves all the ShippingMethods that can ship to the given [Location](ctp:api:type:Location)
* with a `predicate` that matches the given Cart.
* Each ShippingMethod contains exactly one ShippingRate with the flag `isMatching` set to `true`.
* This ShippingRate is used when the ShippingMethod is [added to the Cart](ctp:api:type:CartSetShippingMethodAction).
diff --git a/packages/platform-sdk/src/generated/client/matching-orderedit/by-project-key-shipping-methods-matching-orderedit-request-builder.ts b/packages/platform-sdk/src/generated/client/matching-orderedit/by-project-key-shipping-methods-matching-orderedit-request-builder.ts
index 226c2a47f..e52c5d466 100644
--- a/packages/platform-sdk/src/generated/client/matching-orderedit/by-project-key-shipping-methods-matching-orderedit-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/matching-orderedit/by-project-key-shipping-methods-matching-orderedit-request-builder.ts
@@ -19,7 +19,7 @@ export class ByProjectKeyShippingMethodsMatchingOrdereditRequestBuilder {
}
) {}
/**
- * Retrieves all the ShippingMethods that can ship to the given [Location](/../api/projects/zones#location) for an [OrderEdit](/../api/projects/order-edits).
+ * Retrieves all the ShippingMethods that can ship to the given [Location](ctp:api:type:Location) for an [OrderEdit](ctp:api:type:OrderEdit).
*
* If the OrderEdit preview cannot be generated, an [EditPreviewFailed](ctp:api:type:EditPreviewFailedError) error is returned.
*
diff --git a/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-by-id-request-builder.ts b/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-by-id-request-builder.ts
index 6c3730dec..9ee680b0a 100644
--- a/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-by-id-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-by-id-request-builder.ts
@@ -22,10 +22,12 @@ export class ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDRequestBuilde
) {}
/**
* Gets the current or staged representation of a [Product](ctp:api:type:Product) by its ID from the specified [Store](ctp:api:type:Store).
- * If the Store has defined some languages, countries, distribution or supply Channels,
+ * If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection,
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices)
* and [inventory](ctp:api:type:ProductProjectionInventoryEntries).
*
+ * If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store.
+ *
* When used with an API Client that has the `view_published_products:{projectKey}` scope, this endpoint only returns published (current) Product Projections.
*
*/
diff --git a/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-key-by-key-request-builder.ts b/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-key-by-key-request-builder.ts
index 46313d2c2..b7e3c96d3 100644
--- a/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-key-by-key-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/product-projections/by-project-key-in-store-key-by-store-key-product-projections-key-by-key-request-builder.ts
@@ -22,10 +22,12 @@ export class ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyRequestBu
) {}
/**
* Gets the current or staged representation of a [Product](ctp:api:type:Product) by its key from the specified [Store](ctp:api:type:Store).
- * If the Store has defined some languages, countries, distribution or supply Channels,
+ * If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection,
* they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices)
* and [inventory](ctp:api:type:ProductProjectionInventoryEntries).
*
+ * If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store.
+ *
* When used with an API Client that has the `view_published_products:{projectKey}` scope, this endpoint only returns published (current) Product Projections.
*
*/
diff --git a/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-by-id-request-builder.ts b/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-by-id-request-builder.ts
index 27c262a90..a6410e8bc 100644
--- a/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-by-id-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-by-id-request-builder.ts
@@ -104,7 +104,7 @@ export class ByProjectKeyProductSelectionsByIDRequestBuilder {
)
}
/**
- * Deletion will only succeed if the Product Selection is not assigned to any [Store](/../api/projects/stores#store).
+ * Deletion will only succeed if the Product Selection is not assigned to any [Store](ctp:api:type:Store).
*/
public delete(methodArgs: {
queryArgs: {
diff --git a/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-key-by-key-request-builder.ts b/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-key-by-key-request-builder.ts
index 1434f734d..954df70bc 100644
--- a/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-key-by-key-request-builder.ts
+++ b/packages/platform-sdk/src/generated/client/product-selections/by-project-key-product-selections-key-by-key-request-builder.ts
@@ -104,7 +104,7 @@ export class ByProjectKeyProductSelectionsKeyByKeyRequestBuilder {
)
}
/**
- * Deletion will only succeed if the Product Selection is not assigned to any [Store](/../api/projects/stores#store).
+ * Deletion will only succeed if the Product Selection is not assigned to any [Store](ctp:api:type:Store).
*/
public delete(methodArgs: {
queryArgs: {
diff --git a/packages/platform-sdk/src/generated/models/approval-flow.ts b/packages/platform-sdk/src/generated/models/approval-flow.ts
index 8fd19c289..c2302ff37 100644
--- a/packages/platform-sdk/src/generated/models/approval-flow.ts
+++ b/packages/platform-sdk/src/generated/models/approval-flow.ts
@@ -8,6 +8,7 @@ import { ApprovalRule, RuleApprover } from './approval-rule'
import { Associate, BusinessUnitKeyReference } from './business-unit'
import { BaseResource, CreatedBy, LastModifiedBy } from './common'
import { OrderReference } from './order'
+import { CustomFields, FieldContainer, TypeResourceIdentifier } from './type'
export interface ApprovalFlow extends BaseResource {
/**
@@ -101,6 +102,12 @@ export interface ApprovalFlow extends BaseResource {
*
*/
readonly currentTierPendingApprovers: RuleApprover[]
+ /**
+ * Custom Fields on the Approval Flow.
+ *
+ *
+ */
+ readonly custom?: CustomFields
}
export interface ApprovalFlowApproval {
/**
@@ -199,6 +206,8 @@ export interface ApprovalFlowUpdate {
export type ApprovalFlowUpdateAction =
| ApprovalFlowApproveAction
| ApprovalFlowRejectAction
+ | ApprovalFlowSetCustomFieldAction
+ | ApprovalFlowSetCustomTypeAction
/**
* This update action allows an [Associate](ctp:api:type:Associate) to approve an Approval Flow. The process takes into account all [Associate Roles](ctp:api:type:AssociateRole) held by the Associate, aligning with the matched [Approval Rules](ctp:api:type:ApprovalRule) and their respective approver hierarchies.
*
@@ -225,3 +234,36 @@ export interface ApprovalFlowRejectAction {
*/
readonly reason?: string
}
+export interface ApprovalFlowSetCustomFieldAction {
+ readonly action: 'setCustomField'
+ /**
+ * Name of the [Custom Field](ctp:api:type:CustomFields).
+ *
+ *
+ */
+ readonly name: string
+ /**
+ * If `value` is absent or `null`, this field will be removed if it exists.
+ * Removing a field that does not exist returns an [InvalidOperation](ctp:api:type:InvalidOperationError) error.
+ * If `value` is provided, it is set for the field defined by `name`.
+ *
+ *
+ */
+ readonly value?: any
+}
+export interface ApprovalFlowSetCustomTypeAction {
+ readonly action: 'setCustomType'
+ /**
+ * Defines the [Type](ctp:api:type:Type) that extends the ApprovalFlow with [Custom Fields](ctp:api:type:CustomFields).
+ * If absent, any existing Type and Custom Fields are removed from the ApprovalFlow.
+ *
+ *
+ */
+ readonly type?: TypeResourceIdentifier
+ /**
+ * Sets the [Custom Fields](ctp:api:type:CustomFields) fields for the ApprovalFlow.
+ *
+ *
+ */
+ readonly fields?: FieldContainer
+}
diff --git a/packages/platform-sdk/src/generated/models/business-unit.ts b/packages/platform-sdk/src/generated/models/business-unit.ts
index 7f6e3ffa8..51ad0d322 100644
--- a/packages/platform-sdk/src/generated/models/business-unit.ts
+++ b/packages/platform-sdk/src/generated/models/business-unit.ts
@@ -1150,7 +1150,7 @@ export interface BusinessUnitSetCustomFieldAction {
export interface BusinessUnitSetCustomTypeAction {
readonly action: 'setCustomType'
/**
- * Defines the [Type](ctp:api:type:Type) that extends the BusinessUnit with [Custom Fields](/../api/projects/custom-fields).
+ * Defines the [Type](ctp:api:type:Type) that extends the BusinessUnit with [Custom Fields](ctp:api:type:CustomFields).
* If absent, any existing Type and Custom Fields are removed from the BusinessUnit.
*
*
diff --git a/packages/platform-sdk/src/generated/models/cart-discount.ts b/packages/platform-sdk/src/generated/models/cart-discount.ts
index 43620f74e..662123989 100644
--- a/packages/platform-sdk/src/generated/models/cart-discount.ts
+++ b/packages/platform-sdk/src/generated/models/cart-discount.ts
@@ -646,6 +646,8 @@ export type StackingMode = 'Stacking' | 'StopAfterThisDiscount' | string
/**
* If a referenced Store does not exist, a [ReferencedResourceNotFound](ctp:api:type:ReferencedResourceNotFoundError) error is returned.
*
+ * This action generates a [CartDiscountStoreAdded](ctp:api:type:CartDiscountStoreAddedMessage) Message.
+ *
*/
export interface CartDiscountAddStoreAction {
readonly action: 'addStore'
@@ -747,6 +749,8 @@ export interface CartDiscountChangeValueAction {
/**
* If a referenced Store does not exist, a [ReferencedResourceNotFound](ctp:api:type:ReferencedResourceNotFoundError) error is returned.
*
+ * This action generates a [CartDiscountStoreRemoved](ctp:api:type:CartDiscountStoreRemovedMessage) Message.
+ *
*/
export interface CartDiscountRemoveStoreAction {
readonly action: 'removeStore'
@@ -811,6 +815,8 @@ export interface CartDiscountSetKeyAction {
/**
* If a referenced Store does not exist, a [ReferencedResourceNotFound](ctp:api:type:ReferencedResourceNotFoundError) error is returned.
*
+ * This action generates a [CartDiscountStoresSet](ctp:api:type:CartDiscountStoresSetMessage) Message.
+ *
*/
export interface CartDiscountSetStoresAction {
readonly action: 'setStores'
diff --git a/packages/platform-sdk/src/generated/models/cart.ts b/packages/platform-sdk/src/generated/models/cart.ts
index 9b5ca2021..5a65f68c0 100644
--- a/packages/platform-sdk/src/generated/models/cart.ts
+++ b/packages/platform-sdk/src/generated/models/cart.ts
@@ -436,6 +436,7 @@ export interface CartDraft {
readonly billingAddress?: _BaseAddress
/**
* Shipping address for a Cart with `Single` [ShippingMode](ctp:api:type:ShippingMode). Determines eligible [ShippingMethod](ctp:api:type:ShippingMethod) rates and Tax Rates of Line Items.
+ * Must be one of the `itemShippingAddresses` when that field is also provided.
*
*
*/
@@ -734,7 +735,8 @@ export interface CustomLineItem {
*/
readonly taxedPrice?: TaxedItemPrice
/**
- * Taxed price of the Shipping Method that is automatically set after `perMethodTaxRate` is set.
+ * Total taxed prices based on the quantity of the Custom Line Item assigned to each [Shipping Method](ctp:api:type:ShippingMethod). Only applicable for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * Automatically set after `perMethodTaxRate` is set.
*
*/
readonly taxedPricePortions: MethodTaxedPrice[]
@@ -1264,7 +1266,7 @@ export interface ItemShippingTarget {
/**
* User-defined unique identifier of the Shipping Method in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
*
- * It connects Line Item quantities with individual shipping addresses.
+ * It connects Line Item or Custom Line Item quantities with individual Shipping Methods.
*
*/
readonly shippingMethodKey?: string
@@ -1365,7 +1367,8 @@ export interface LineItem {
*/
readonly taxedPrice?: TaxedItemPrice
/**
- * Taxed price of the Shipping Method that is automatically set after `perMethodTaxRate` is set.
+ * Total taxed prices based on the quantity of Line Item assigned to each [Shipping Method](ctp:api:type:ShippingMethod). Only applicable for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * Automatically set after `perMethodTaxRate` is set.
*
*/
readonly taxedPricePortions: MethodTaxedPrice[]
@@ -1594,20 +1597,20 @@ export interface MethodTaxRate {
}
export interface MethodTaxedPrice {
/**
- * User-defined unique identifier of the Shipping Method in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * User-defined unique identifier of the [Shipping Method](ctp:api:type:ShippingMethod) in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
*
*
*/
readonly shippingMethodKey: string
/**
- * Taxed price for the Shipping Method.
+ * Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified by `shippingMethodKey`.
*
*
*/
readonly taxedPrice?: TaxedItemPrice
}
/**
- * Used for [replicating an existing Cart](/../api/projects/carts#replicate-cart) or Order.
+ * Used for [replicating an existing Cart](ctp:api:endpoint:/{projectKey}/carts/replicate:POST) or Order.
*
*/
export interface ReplicaCartDraft {
@@ -2256,6 +2259,12 @@ export interface CartAddLineItemAction {
*
*/
readonly externalTaxRate?: ExternalTaxRateDraft
+ /**
+ * Sets the external Tax Rates for individual Shipping Methods, if the Cart has the `External` [TaxMode](ctp:api:type:TaxMode) and `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ *
+ *
+ */
+ readonly perMethodExternalTaxRate?: MethodExternalTaxRateDraft[]
/**
* Inventory mode specific to the Line Item only, and valid for the entire `quantity` of the Line Item.
* Set only if the inventory mode should be different from the `inventoryMode` specified on the [Cart](ctp:api:type:Cart).
diff --git a/packages/platform-sdk/src/generated/models/category.ts b/packages/platform-sdk/src/generated/models/category.ts
index 5c1518748..f87da7a0c 100644
--- a/packages/platform-sdk/src/generated/models/category.ts
+++ b/packages/platform-sdk/src/generated/models/category.ts
@@ -91,7 +91,7 @@ export interface Category extends BaseResource {
*/
readonly parent?: CategoryReference
/**
- * Decimal value between 0 and 1 used to order Categories that are on the same level in the Category tree.
+ * Decimal value between 0 and 1. Frontend applications can use this value for ordering Categories within the same level in the category tree.
*
*
*/
@@ -168,7 +168,7 @@ export interface CategoryDraft {
*/
readonly parent?: CategoryResourceIdentifier
/**
- * Decimal value between 0 and 1 used to order Categories that are on the same level in the Category tree.
+ * Decimal value between 0 and 1. Frontend applications can use this value for ordering Categories within the same level in the category tree.
* If not set, a random value will be assigned.
*
*
diff --git a/packages/platform-sdk/src/generated/models/common.ts b/packages/platform-sdk/src/generated/models/common.ts
index 58c477b1d..800912ced 100644
--- a/packages/platform-sdk/src/generated/models/common.ts
+++ b/packages/platform-sdk/src/generated/models/common.ts
@@ -65,7 +65,7 @@ import {
InventoryEntryResourceIdentifier,
} from './inventory'
import { Message } from './message'
-import { Order, OrderReference } from './order'
+import { OrderReference, _Order } from './order'
import {
OrderEdit,
OrderEditReference,
@@ -543,7 +543,7 @@ export type _BaseResource =
| Extension
| InventoryEntry
| Message
- | Order
+ | _Order
| OrderEdit
| Payment
| Product
diff --git a/packages/platform-sdk/src/generated/models/customer.ts b/packages/platform-sdk/src/generated/models/customer.ts
index f64ad8bfc..e553c336d 100644
--- a/packages/platform-sdk/src/generated/models/customer.ts
+++ b/packages/platform-sdk/src/generated/models/customer.ts
@@ -1216,6 +1216,10 @@ export interface CustomerSetExternalIdAction {
*/
readonly externalId?: string
}
+/**
+ * Setting the first name of the Customer produces the [CustomeFirstNameSet](ctp:api:type:CustomerFirstNameSetMessage) Message.
+ *
+ */
export interface CustomerSetFirstNameAction {
readonly action: 'setFirstName'
/**
@@ -1235,7 +1239,7 @@ export interface CustomerSetKeyAction {
readonly key?: string
}
/**
- * Setting the last name of the Customer produces the [CustomerLastNameSetMessage](ctp:api:type:CustomerLastNameSetMessage).
+ * Setting the last name of the Customer produces the [CustomerLastNameSet](ctp:api:type:CustomerLastNameSetMessage) Message.
*
*/
export interface CustomerSetLastNameAction {
@@ -1290,7 +1294,7 @@ export interface CustomerSetStoresAction {
readonly stores?: StoreResourceIdentifier[]
}
/**
- * Setting the title of the Customer produces the [CustomerTitleSetMessage](ctp:api:type:CustomerTitleSetMessage).
+ * Setting the title of the Customer produces the [CustomerTitleSet](ctp:api:type:CustomerTitleSetMessage) Message.
*
*/
export interface CustomerSetTitleAction {
diff --git a/packages/platform-sdk/src/generated/models/error.ts b/packages/platform-sdk/src/generated/models/error.ts
index ccebf87d0..1186ec93e 100644
--- a/packages/platform-sdk/src/generated/models/error.ts
+++ b/packages/platform-sdk/src/generated/models/error.ts
@@ -96,7 +96,6 @@ export type ErrorObject =
| MissingTaxRateForCountryError
| MoneyOverflowError
| NoMatchingProductDiscountFoundError
- | NotEnabledError
| ObjectNotFoundError
| OutOfStockError
| OverCapacityError
@@ -180,7 +179,7 @@ export interface AssociateMissingPermissionError {
/**
* Returned when the `name` of the [AttributeDefinition](ctp:api:type:AttributeDefinition) conflicts with an existing Attribute.
*
- * The error is returned as a failed response to the [Create ProductType](/../api/projects/productTypes#create-producttype) request or [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
+ * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request or [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
*
*/
export interface AttributeDefinitionAlreadyExistsError {
@@ -214,7 +213,7 @@ export interface AttributeDefinitionAlreadyExistsError {
/**
* Returned when the `type` is different for an AttributeDefinition using the same `name` in multiple Product Types.
*
- * The error is returned as a failed response to the [Create ProductType](/../api/projects/productTypes#create-producttype) request.
+ * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request.
*
*/
export interface AttributeDefinitionTypeConflictError {
@@ -575,7 +574,7 @@ export interface DuplicatePriceScopeError {
* Returned when the given Price scope conflicts with the Price scope of an existing Standalone Price.
* Every Standalone Price associated with the same SKU must have a distinct combination of currency, country, Customer Group, Channel, and validity periods (`validFrom` and `validUntil`).
*
- * The error is returned as a failed response to the [Create StandalonePrice](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface DuplicateStandalonePriceScopeError {
@@ -659,7 +658,7 @@ export interface DuplicateVariantValuesError {
/**
* Returned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.
*
- * The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](/../api/projects/shippingMethods#for-an-orderedit) request.
+ * The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](ctp:api:endpoint:/{projectKey}/shipping-methods/matching-orderedit:GET) request.
*
*/
export interface EditPreviewFailedError {
@@ -999,7 +998,7 @@ export interface FeatureRemovedError {
readonly message: string
}
/**
- * Returned when a server-side problem occurs.
+ * Returned when a server-side problem occurs before or after data persistence. In some cases, the requested action may successfully complete after the error is returned. Therefore, it is recommended to verify the status of the requested resource after receiving a 500 error.
*
* If you encounter this error, report it using the [Support Portal](https://support.commercetools.com).
*
@@ -1042,8 +1041,8 @@ export interface InternalConstraintViolatedError {
*
* The error is returned as a failed response to:
*
- * - [Authenticate a global Customer (Sign-in)](/../api/projects/customers#authenticate-sign-in-customer) and [Authenticate Customer (Sign-in) in a Store](/../api/projects/customers#authenticate-sign-in-customer-in-store) requests on Customers.
- * - [Authenticating Customer (Sign-in)](/../api/projects/me-profile#authenticate-sign-in-customer) and [Authenticate Customer (Sign-in) in a Store](/../api/projects/me-profile#authenticate-sign-in-customer-in-store) requests on My Customer Profile.
+ * - [Authenticate a global Customer (Sign-in)](ctp:api:endpoint:/{projectKey}/login:POST) and [Authenticate Customer (Sign-in) in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/login:POST) requests on Customers.
+ * - [Authenticating Customer (Sign-in)](ctp:api:endpoint:/{projectKey}/me/login:POST) and [Authenticate Customer (Sign-in) in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/login:POST) requests on My Customer Profile.
*
*/
export interface InvalidCredentialsError {
@@ -1061,8 +1060,8 @@ export interface InvalidCredentialsError {
*
* The error is returned as a failed response to:
*
- * - [Change Customer Password](/../api/projects/customers#change-password-of-customer) and [Change Customer Password in a Store](/../api/projects/customers#change-password-of-customer-in-store) requests on Customers.
- * - [Change Customer Password](/../api/projects/me-profile#change-password-of-customer) and [Change Customer Password in a Store](/../api/projects/me-profile#change-password-of-customer-in-store) requests on My Customer Profile.
+ * - [Change Customer Password](ctp:api:endpoint:/{projectKey}/customers/password:POST) and [Change Customer Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/customers/password:POST) requests on Customers.
+ * - [Change Customer Password](ctp:api:endpoint:/{projectKey}/me/password:POST) and [Change Customer Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/password:POST) requests on My Customer Profile.
*
*/
export interface InvalidCurrentPasswordError {
@@ -1344,12 +1343,12 @@ export interface MaxStoreReferencesReachedError {
* Returned when one of the following states occur:
*
* - [Channel](ctp:api:type:Channel) is added or set on a [Store](ctp:api:type:Store) with missing Channel `roles`.
- * - [Standalone Price](/../api/projects/standalone-prices#create-standaloneprice) references a Channel that does not contain the `ProductDistribution` role.
+ * - [Standalone Price](ctp:api:type:StandalonePrice) references a Channel that does not contain the `ProductDistribution` role.
*
* The error is returned as a failed response to:
*
* - [Add Distribution Channel](ctp:api:type:StoreAddDistributionChannelAction), [Set Distribution Channel](ctp:api:type:StoreSetDistributionChannelsAction), [Add Supply Channel](ctp:api:type:StoreAddSupplyChannelAction), and [Set Supply Channel](ctp:api:type:StoreSetSupplyChannelsAction) update actions.
- * - [Create a Standalone Price](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * - [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface MissingRoleOnChannelError {
@@ -1430,7 +1429,7 @@ export interface MoneyOverflowError {
/**
* Returned when a Product Discount could not be found that could be applied to the Price of a Product Variant.
*
- * The error is returned as a failed response to the [Get Matching ProductDiscount](/../api/projects/productDiscounts#get-matching-productdiscount) request.
+ * The error is returned as a failed response to the [Get Matching ProductDiscount](ctp:api:endpoint:/{projectKey}/product-discounts/matching:POST) request.
*
*/
export interface NoMatchingProductDiscountFoundError {
@@ -1443,20 +1442,6 @@ export interface NoMatchingProductDiscountFoundError {
*/
readonly message: string
}
-/**
- * Returned when the [Project-specific category recommendations feature](/../api/projects/categoryRecommendations#project-specific-category-recommendations) is not enabled for the Project.
- *
- */
-export interface NotEnabledError {
- readonly code: 'NotEnabled'
- [key: string]: any
- /**
- * `"The category recommendations API is not yet enabled for your project."`
- *
- *
- */
- readonly message: string
-}
/**
* Returned when the requested resource was not found.
*
@@ -1521,7 +1506,7 @@ export interface OverCapacityError {
* Returned when a given Price validity period conflicts with an existing one.
* Every Standalone Price associated with the same SKU and with the same combination of currency, country, Customer Group, and Channel, must have non-overlapping validity periods (`validFrom` and `validUntil`).
*
- * The error is returned as a failed response to the [Create StandalonePrice](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface OverlappingStandalonePriceValidityError {
@@ -2041,7 +2026,6 @@ export type GraphQLErrorObject =
| GraphQLMissingTaxRateForCountryError
| GraphQLMoneyOverflowError
| GraphQLNoMatchingProductDiscountFoundError
- | GraphQLNotEnabledError
| GraphQLObjectNotFoundError
| GraphQLOutOfStockError
| GraphQLOverCapacityError
@@ -2111,7 +2095,7 @@ export interface GraphQLAssociateMissingPermissionError {
/**
* Returned when the `name` of the [AttributeDefinition](ctp:api:type:AttributeDefinition) conflicts with an existing Attribute.
*
- * The error is returned as a failed response to the [Create ProductType](/../api/projects/productTypes#create-producttype) request or [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
+ * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request or [Change AttributeDefinition Name](ctp:api:type:ProductTypeChangeAttributeNameAction) update action.
*
*/
export interface GraphQLAttributeDefinitionAlreadyExistsError {
@@ -2139,7 +2123,7 @@ export interface GraphQLAttributeDefinitionAlreadyExistsError {
/**
* Returned when the `type` is different for an AttributeDefinition using the same `name` in multiple Product Types.
*
- * The error is returned as a failed response to the [Create ProductType](/../api/projects/productTypes#create-producttype) request.
+ * The error is returned as a failed response to the [Create ProductType](ctp:api:endpoint:/{projectKey}/product-types:POST) request.
*
*/
export interface GraphQLAttributeDefinitionTypeConflictError {
@@ -2417,7 +2401,7 @@ export interface GraphQLDuplicatePriceScopeError {
* Returned when the given Price scope conflicts with the Price scope of an existing Standalone Price.
* Every Standalone Price associated with the same SKU must have a distinct combination of currency, country, Customer Group, Channel, and validity periods (`validFrom` and `validUntil`).
*
- * The error is returned as a failed response to the [Create StandalonePrice](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface GraphQLDuplicateStandalonePriceScopeError {
@@ -2489,7 +2473,7 @@ export interface GraphQLDuplicateVariantValuesError {
/**
* Returned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.
*
- * The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](/../api/projects/shippingMethods#for-an-orderedit) request.
+ * The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](ctp:api:endpoint:/{projectKey}/shipping-methods/matching-orderedit:GET) request.
*
*/
export interface GraphQLEditPreviewFailedError {
@@ -2688,7 +2672,7 @@ export interface GraphQLFeatureRemovedError {
[key: string]: any
}
/**
- * Returned when a server-side problem occurs.
+ * Returned when a server-side problem occurs before or after data persistence. In some cases, the requested action may successfully complete after the error is returned. Therefore, it is recommended to verify the status of the requested resource after receiving a 500 error.
*
* If you encounter this error, report it using the [Support Portal](https://support.commercetools.com).
*
@@ -2714,8 +2698,8 @@ export interface GraphQLInternalConstraintViolatedError {
*
* The error is returned as a failed response to:
*
- * - [Authenticate a global Customer (Sign-in)](/../api/projects/customers#authenticate-sign-in-customer) and [Authenticate Customer (Sign-in) in a Store](/../api/projects/customers#authenticate-sign-in-customer-in-store) requests on Customers.
- * - [Authenticating Customer (Sign-in)](/../api/projects/me-profile#authenticate-sign-in-customer) and [Authenticate Customer (Sign-in) in a Store](/../api/projects/me-profile#authenticate-sign-in-customer-in-store) requests on My Customer Profile.
+ * - [Authenticate a global Customer (Sign-in)](ctp:api:endpoint:/{projectKey}/login:POST) and [Authenticate Customer (Sign-in) in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/login:POST) requests on Customers.
+ * - [Authenticating Customer (Sign-in)](ctp:api:endpoint:/{projectKey}/me/login:POST) and [Authenticate Customer (Sign-in) in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/login:POST) requests on My Customer Profile.
*
*/
export interface GraphQLInvalidCredentialsError {
@@ -2727,8 +2711,8 @@ export interface GraphQLInvalidCredentialsError {
*
* The error is returned as a failed response to:
*
- * - [Change Customer Password](/../api/projects/customers#change-password-of-customer) and [Change Customer Password in a Store](/../api/projects/customers#change-password-of-customer-in-store) requests on Customers.
- * - [Change Customer Password](/../api/projects/me-profile#change-password-of-customer) and [Change Customer Password in a Store](/../api/projects/me-profile#change-password-of-customer-in-store) requests on My Customer Profile.
+ * - [Change Customer Password](ctp:api:endpoint:/{projectKey}/customers/password:POST) and [Change Customer Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/customers/password:POST) requests on Customers.
+ * - [Change Customer Password](ctp:api:endpoint:/{projectKey}/me/password:POST) and [Change Customer Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/me/password:POST) requests on My Customer Profile.
*
*/
export interface GraphQLInvalidCurrentPasswordError {
@@ -2932,12 +2916,12 @@ export interface GraphQLMaxStoreReferencesReachedError {
* Returned when one of the following states occur:
*
* - [Channel](ctp:api:type:Channel) is added or set on a [Store](ctp:api:type:Store) with missing Channel `roles`.
- * - [Standalone Price](/../api/projects/standalone-prices#create-standaloneprice) references a Channel that does not contain the `ProductDistribution` role.
+ * - [Standalone Price](ctp:api:type:StandalonePrice) references a Channel that does not contain the `ProductDistribution` role.
*
* The error is returned as a failed response to:
*
* - [Add Distribution Channel](ctp:api:type:StoreAddDistributionChannelAction), [Set Distribution Channel](ctp:api:type:StoreSetDistributionChannelsAction), [Add Supply Channel](ctp:api:type:StoreAddSupplyChannelAction), and [Set Supply Channel](ctp:api:type:StoreSetSupplyChannelsAction) update actions.
- * - [Create a Standalone Price](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * - [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface GraphQLMissingRoleOnChannelError {
@@ -3000,21 +2984,13 @@ export interface GraphQLMoneyOverflowError {
/**
* Returned when a Product Discount could not be found that could be applied to the Price of a Product Variant.
*
- * The error is returned as a failed response to the [Get Matching ProductDiscount](/../api/projects/productDiscounts#get-matching-productdiscount) request.
+ * The error is returned as a failed response to the [Get Matching ProductDiscount](ctp:api:endpoint:/{projectKey}/product-discounts/matching:POST) request.
*
*/
export interface GraphQLNoMatchingProductDiscountFoundError {
readonly code: 'NoMatchingProductDiscountFound'
[key: string]: any
}
-/**
- * Returned when the [Project-specific category recommendations feature](/../api/projects/categoryRecommendations#project-specific-category-recommendations) is not enabled for the Project.
- *
- */
-export interface GraphQLNotEnabledError {
- readonly code: 'NotEnabled'
- [key: string]: any
-}
/**
* Returned when the requested resource was not found.
*
@@ -3062,7 +3038,7 @@ export interface GraphQLOverCapacityError {
* Returned when a given Price validity period conflicts with an existing one.
* Every Standalone Price associated with the same SKU and with the same combination of currency, country, Customer Group, and Channel, must have non-overlapping validity periods (`validFrom` and `validUntil`).
*
- * The error is returned as a failed response to the [Create StandalonePrice](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * The error is returned as a failed response to the [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface GraphQLOverlappingStandalonePriceValidityError {
diff --git a/packages/platform-sdk/src/generated/models/me.ts b/packages/platform-sdk/src/generated/models/me.ts
index 6b75a00be..cc8ff8e0d 100644
--- a/packages/platform-sdk/src/generated/models/me.ts
+++ b/packages/platform-sdk/src/generated/models/me.ts
@@ -17,6 +17,7 @@ import {
InventoryMode,
ItemShippingDetailsDraft,
ItemShippingTarget,
+ ShippingMode,
TaxMode,
} from './cart'
import { ChannelResourceIdentifier } from './channel'
@@ -180,6 +181,12 @@ export interface MyCartDraft {
*
*/
readonly itemShippingAddresses?: BaseAddress[]
+ /**
+ * - If set to `Single`, only a single Shipping Method can be added to the Cart.
+ * - If set to `Multiple`, multiple Shipping Methods can be added to the Cart.
+ *
+ */
+ readonly shippingMode?: ShippingMode
/**
* `code` of the existing [DiscountCodes](ctp:api:type:DiscountCode) to add to the Cart.
*
@@ -1329,7 +1336,6 @@ export interface MyCartAddItemShippingAddressAction {
/**
* If the Cart contains a [LineItem](ctp:api:type:LineItem) for a Product Variant with the same [LineItemMode](ctp:api:type:LineItemMode), [Custom Fields](/../api/projects/custom-fields), supply and distribution channel, then only the quantity of the existing Line Item is increased.
* If [LineItem](ctp:api:type:LineItem) `shippingDetails` is set, it is merged. All addresses will be present afterwards and, for address keys present in both shipping details, the quantity will be summed up.
- * A new Line Item is added when the `externalPrice` or `externalTotalPrice` is set in this update action.
* The [LineItem](ctp:api:type:LineItem) price is set as described in [LineItem Price selection](ctp:api:type:LineItemPriceSelection).
*
* If the Tax Rate is not set, a [MissingTaxRateForCountry](ctp:api:type:MissingTaxRateForCountryError) error is returned.
@@ -2158,7 +2164,7 @@ export interface MyCustomerSetDefaultShippingAddressAction {
readonly addressKey?: string
}
/**
- * Setting the first name of the Customer produces the [CustomerFirstNameSetMessage](ctp:api:type:CustomerFirstNameSetMessage).
+ * Setting the first name of the Customer produces the [CustomerFirstNameSet](ctp:api:type:CustomerFirstNameSetMessage) Message.
*
*/
export interface MyCustomerSetFirstNameAction {
@@ -2172,7 +2178,7 @@ export interface MyCustomerSetFirstNameAction {
readonly firstName?: string
}
/**
- * Setting the last name of the Customer produces the [CustomerLastNameSetMessage](ctp:api:type:CustomerLastNameSetMessage).
+ * Setting the last name of the Customer produces the [CustomerLastNameSet](ctp:api:type:CustomerLastNameSetMessage) Message.
*
*/
export interface MyCustomerSetLastNameAction {
diff --git a/packages/platform-sdk/src/generated/models/message.ts b/packages/platform-sdk/src/generated/models/message.ts
index 8b3a702b4..1b5e33575 100644
--- a/packages/platform-sdk/src/generated/models/message.ts
+++ b/packages/platform-sdk/src/generated/models/message.ts
@@ -32,6 +32,7 @@ import {
ShippingRateInput,
TaxedItemPrice,
} from './cart'
+import { CartDiscount } from './cart-discount'
import { Category, CategoryReference } from './category'
import { ChannelReference } from './channel'
import {
@@ -168,6 +169,11 @@ export type Message =
| BusinessUnitStoreModeChangedMessage
| BusinessUnitStoreRemovedMessage
| BusinessUnitStoresSetMessage
+ | CartDiscountCreatedMessage
+ | CartDiscountDeletedMessage
+ | CartDiscountStoreAddedMessage
+ | CartDiscountStoreRemovedMessage
+ | CartDiscountStoresSetMessage
| CategoryCreatedMessage
| CategorySlugChangedMessage
| CustomLineItemStateTransitionMessage
@@ -1306,7 +1312,7 @@ export interface AssociateRoleBuyerAssignableChangedMessage {
readonly buyerAssignable: boolean
}
/**
- * Generated after a successful [Create AssociateRole](/projects/associate-roles#create-associaterole) request.
+ * Generated after a successful [Create AssociateRole](ctp:api:endpoint:/{projectKey}/associate-roles:POST) request.
*
*/
export interface AssociateRoleCreatedMessage {
@@ -2868,7 +2874,7 @@ export interface BusinessUnitContactEmailSetMessage {
readonly contactEmail?: string
}
/**
- * Generated after a successful [Create BusinessUnit](/projects/business-units#create-businessunit) request.
+ * Generated after a successful [Create BusinessUnit](ctp:api:endpoint:/{projectKey}/business-units:POST) request.
*
*/
export interface BusinessUnitCreatedMessage {
@@ -4168,7 +4174,351 @@ export interface BusinessUnitStoresSetMessage {
readonly stores: StoreKeyReference[]
}
/**
- * Generated after a successful [Create Category](/../api/projects/categories#create-category) request.
+ * Generated after a successful [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) request.
+ *
+ */
+export interface CartDiscountCreatedMessage {
+ readonly type: 'CartDiscountCreated'
+ /**
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
+ *
+ */
+ readonly id: string
+ /**
+ * Version of a resource. In case of Messages, this is always `1`.
+ *
+ */
+ readonly version: number
+ /**
+ * Date and time (UTC) the Message was generated.
+ *
+ */
+ readonly createdAt: string
+ /**
+ * Value of `createdAt`.
+ *
+ */
+ readonly lastModifiedAt: string
+ /**
+ * Value of `createdBy`.
+ *
+ *
+ */
+ readonly lastModifiedBy?: LastModifiedBy
+ /**
+ * Present on resources created after 1 February 2019 except for [events not tracked](/../api/general-concepts#events-tracked).
+ *
+ *
+ */
+ readonly createdBy?: CreatedBy
+ /**
+ * Message number in relation to other Messages for a given resource. The `sequenceNumber` of the next Message for the resource is the successor of the `sequenceNumber` of the current Message. Meaning, the `sequenceNumber` of the next Message equals the `sequenceNumber` of the current Message + 1.
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
+ *
+ *
+ */
+ readonly sequenceNumber: number
+ /**
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resource: Reference
+ /**
+ * Version of the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resourceVersion: number
+ /**
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
+ *
+ *
+ */
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers
+ /**
+ * The [Cart Discount](ctp:api:type:CartDiscount) that was created.
+ *
+ *
+ */
+ readonly cartDiscount: CartDiscount
+}
+/**
+ * Generated after a successful [Delete CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts/{id}:DELETE) request.
+ *
+ */
+export interface CartDiscountDeletedMessage {
+ readonly type: 'CartDiscountDeleted'
+ /**
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
+ *
+ */
+ readonly id: string
+ /**
+ * Version of a resource. In case of Messages, this is always `1`.
+ *
+ */
+ readonly version: number
+ /**
+ * Date and time (UTC) the Message was generated.
+ *
+ */
+ readonly createdAt: string
+ /**
+ * Value of `createdAt`.
+ *
+ */
+ readonly lastModifiedAt: string
+ /**
+ * Value of `createdBy`.
+ *
+ *
+ */
+ readonly lastModifiedBy?: LastModifiedBy
+ /**
+ * Present on resources created after 1 February 2019 except for [events not tracked](/../api/general-concepts#events-tracked).
+ *
+ *
+ */
+ readonly createdBy?: CreatedBy
+ /**
+ * Message number in relation to other Messages for a given resource. The `sequenceNumber` of the next Message for the resource is the successor of the `sequenceNumber` of the current Message. Meaning, the `sequenceNumber` of the next Message equals the `sequenceNumber` of the current Message + 1.
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
+ *
+ *
+ */
+ readonly sequenceNumber: number
+ /**
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resource: Reference
+ /**
+ * Version of the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resourceVersion: number
+ /**
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
+ *
+ *
+ */
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers
+}
+/**
+ * Generated after a successful [Add Store](ctp:api:type:CartDiscountAddStoreAction) update action.
+ *
+ */
+export interface CartDiscountStoreAddedMessage {
+ readonly type: 'CartDiscountStoreAdded'
+ /**
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
+ *
+ */
+ readonly id: string
+ /**
+ * Version of a resource. In case of Messages, this is always `1`.
+ *
+ */
+ readonly version: number
+ /**
+ * Date and time (UTC) the Message was generated.
+ *
+ */
+ readonly createdAt: string
+ /**
+ * Value of `createdAt`.
+ *
+ */
+ readonly lastModifiedAt: string
+ /**
+ * Value of `createdBy`.
+ *
+ *
+ */
+ readonly lastModifiedBy?: LastModifiedBy
+ /**
+ * Present on resources created after 1 February 2019 except for [events not tracked](/../api/general-concepts#events-tracked).
+ *
+ *
+ */
+ readonly createdBy?: CreatedBy
+ /**
+ * Message number in relation to other Messages for a given resource. The `sequenceNumber` of the next Message for the resource is the successor of the `sequenceNumber` of the current Message. Meaning, the `sequenceNumber` of the next Message equals the `sequenceNumber` of the current Message + 1.
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
+ *
+ *
+ */
+ readonly sequenceNumber: number
+ /**
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resource: Reference
+ /**
+ * Version of the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resourceVersion: number
+ /**
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
+ *
+ *
+ */
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers
+ /**
+ * The [Store](ctp:api:type:Store) that was added to the [Cart Discount](ctp:api:type:CartDiscount).
+ *
+ *
+ */
+ readonly store: StoreKeyReference
+}
+/**
+ * Generated after a successful [Remove Store](ctp:api:type:CartDiscountRemoveStoreAction) update action.
+ *
+ */
+export interface CartDiscountStoreRemovedMessage {
+ readonly type: 'CartDiscountStoreRemoved'
+ /**
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
+ *
+ */
+ readonly id: string
+ /**
+ * Version of a resource. In case of Messages, this is always `1`.
+ *
+ */
+ readonly version: number
+ /**
+ * Date and time (UTC) the Message was generated.
+ *
+ */
+ readonly createdAt: string
+ /**
+ * Value of `createdAt`.
+ *
+ */
+ readonly lastModifiedAt: string
+ /**
+ * Value of `createdBy`.
+ *
+ *
+ */
+ readonly lastModifiedBy?: LastModifiedBy
+ /**
+ * Present on resources created after 1 February 2019 except for [events not tracked](/../api/general-concepts#events-tracked).
+ *
+ *
+ */
+ readonly createdBy?: CreatedBy
+ /**
+ * Message number in relation to other Messages for a given resource. The `sequenceNumber` of the next Message for the resource is the successor of the `sequenceNumber` of the current Message. Meaning, the `sequenceNumber` of the next Message equals the `sequenceNumber` of the current Message + 1.
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
+ *
+ *
+ */
+ readonly sequenceNumber: number
+ /**
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resource: Reference
+ /**
+ * Version of the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resourceVersion: number
+ /**
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
+ *
+ *
+ */
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers
+ /**
+ * The [Store](ctp:api:type:Store) that was removed from the [Cart Discount](ctp:api:type:CartDiscount).
+ *
+ *
+ */
+ readonly store: StoreKeyReference
+}
+/**
+ * Generated after a successful [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
+ *
+ */
+export interface CartDiscountStoresSetMessage {
+ readonly type: 'CartDiscountStoresSet'
+ /**
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
+ *
+ */
+ readonly id: string
+ /**
+ * Version of a resource. In case of Messages, this is always `1`.
+ *
+ */
+ readonly version: number
+ /**
+ * Date and time (UTC) the Message was generated.
+ *
+ */
+ readonly createdAt: string
+ /**
+ * Value of `createdAt`.
+ *
+ */
+ readonly lastModifiedAt: string
+ /**
+ * Value of `createdBy`.
+ *
+ *
+ */
+ readonly lastModifiedBy?: LastModifiedBy
+ /**
+ * Present on resources created after 1 February 2019 except for [events not tracked](/../api/general-concepts#events-tracked).
+ *
+ *
+ */
+ readonly createdBy?: CreatedBy
+ /**
+ * Message number in relation to other Messages for a given resource. The `sequenceNumber` of the next Message for the resource is the successor of the `sequenceNumber` of the current Message. Meaning, the `sequenceNumber` of the next Message equals the `sequenceNumber` of the current Message + 1.
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
+ *
+ *
+ */
+ readonly sequenceNumber: number
+ /**
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resource: Reference
+ /**
+ * Version of the resource on which the change or action was performed.
+ *
+ *
+ */
+ readonly resourceVersion: number
+ /**
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
+ *
+ *
+ */
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers
+ /**
+ * [Stores](ctp:api:type:Store) of the [Cart Discount](ctp:api:type:CartDiscount) after the [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
+ *
+ *
+ */
+ readonly stores: StoreKeyReference[]
+}
+/**
+ * Generated after a successful [Create Category](ctp:api:endpoint:/{projectKey}/categories:POST) request.
*
*/
export interface CategoryCreatedMessage {
@@ -4968,7 +5318,7 @@ export interface CustomerCompanyNameSetMessage {
readonly companyName?: string
}
/**
- * Generated after a successful [Create Customer](/../api/projects/customers#create-sign-up-customer) request.
+ * Generated after a successful [Create Customer](ctp:api:endpoint:/{projectKey}/customers:POST) request.
*
*/
export interface CustomerCreatedMessage {
@@ -5616,7 +5966,7 @@ export interface CustomerEmailChangedMessage {
readonly email: string
}
/**
- * Generated after a successful [Create email token for Customer](/../api/projects/customers#create-email-token-for-customer) request. The `resource` property of the Message is a [CustomerEmailTokenReference](ctp:api:type:CustomerEmailTokenReference).
+ * Generated after a successful [Create email token for Customer](ctp:api:endpoint:/{projectKey}/customers/email-token:POST) request. The `resource` property of the Message is a [CustomerEmailTokenReference](ctp:api:type:CustomerEmailTokenReference).
*
*/
export interface CustomerEmailTokenCreatedMessage {
@@ -5692,7 +6042,7 @@ export interface CustomerEmailTokenCreatedMessage {
readonly expiresAt: string
}
/**
- * Generated after a successful [Verify Customer's Email](/../api/projects/customers#verify-email-of-customer) request.
+ * Generated after a successful [Verify Customer's Email](ctp:api:endpoint:/{projectKey}/customers/email/confirm:POST) request.
*
*/
export interface CustomerEmailVerifiedMessage {
@@ -6339,7 +6689,7 @@ export interface CustomerLastNameSetMessage {
readonly lastName?: string
}
/**
- * Generated after a successful [Create password reset token for Customer](/../api/projects/customers#create-password-reset-token-for-customer) request. The `resource` property of the Message is a [CustomerPasswordTokenReference](ctp:api:type:CustomerPasswordTokenReference).
+ * Generated after a successful [Create password reset token for Customer](ctp:api:endpoint:/{projectKey}/customers/password-token:POST) request. The `resource` property of the Message is a [CustomerPasswordTokenReference](ctp:api:type:CustomerPasswordTokenReference).
*
*/
export interface CustomerPasswordTokenCreatedMessage {
@@ -6415,7 +6765,7 @@ export interface CustomerPasswordTokenCreatedMessage {
readonly expiresAt: string
}
/**
- * Generated after a successful [Reset Customer's Password](/../api/projects/customers#reset-password-of-customer), [Reset Customer's Password in a Store](/../api/projects/customers#reset-password-of-customer-in-store), [Change Customer's Password](/../api/projects/customers#change-password-of-customer), or [Change Customer's Password in a Store](/../api/projects/customers#change-password-of-customer-in-store) request. This Message is also produced during equivalent requests to the [My Customer Profile](/../api/projects/me-profile) endpoint.
+ * Generated after a successful [Reset Customer's Password](ctp:api:endpoint:/{projectKey}/customers/password/reset:POST), [Reset Customer's Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/customers/password/reset:POST), [Change Customer's Password](ctp:api:endpoint:/{projectKey}/customers/password:POST), or [Change Customer's Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/customers/password:POST) request. This Message is also produced during equivalent requests to the [My Customer Profile](/../api/projects/me-profile) endpoint.
*
*/
export interface CustomerPasswordUpdatedMessage {
@@ -6478,7 +6828,7 @@ export interface CustomerPasswordUpdatedMessage {
*/
readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers
/**
- * Whether the Customer's password was updated during the [Reset password](/../api/projects/customers#password-reset-of-customer) or [Change password](/../api/projects/customers#change-password-of-customer) flow.
+ * Whether the Customer's password was updated during the [Reset password](ctp:api:endpoint:/{projectKey}/customers/password/reset:POST) or [Change password](ctp:api:endpoint:/{projectKey}/customers/password:POST) flow.
*
*
*/
@@ -6555,7 +6905,7 @@ export interface CustomerTitleSetMessage {
readonly title?: string
}
/**
- * Generated after a successful [Create InventoryEntry](/../api/projects/inventory#create-inventoryentry) request.
+ * Generated after a successful [Create InventoryEntry](ctp:api:endpoint:/{projectKey}/inventory:POST) request.
*
*/
export interface InventoryEntryCreatedMessage {
@@ -6702,7 +7052,7 @@ export interface InventoryEntryDeletedMessage {
}
/**
* Generated after a successful [Add Quantity](ctp:api:type:InventoryEntryAddQuantityAction), [Remove Quantity](ctp:api:type:InventoryEntryRemoveQuantityAction) or [Change Quantity](ctp:api:type:InventoryEntryChangeQuantityAction) update action.
- * Inventory changes as a result of [Order creation](/../api/projects/orders#create-order) do not trigger this message.
+ * Inventory changes as a result of [Order creation](ctp:api:endpoint:/{projectKey}/orders:POST) do not trigger this message.
*
*/
export interface InventoryEntryQuantitySetMessage {
@@ -7524,7 +7874,7 @@ export interface OrderBillingAddressSetMessage {
readonly oldAddress?: Address
}
/**
- * Generated after a successful [Create Order](/../api/projects/orders#create-order) request.
+ * Generated after a successful [Create Order](ctp:api:endpoint:/{projectKey}/orders:POST) request.
*
*/
export interface OrderCreatedMessage {
@@ -9142,7 +9492,8 @@ export interface OrderLineItemDiscountSetMessage {
*/
readonly taxedPrice?: TaxedItemPrice
/**
- * Taxed price of the Shipping Methods in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * Total taxed prices based on the quantity of Line Item assigned to each [Shipping Method](ctp:api:type:ShippingMethod). Only applicable for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * Automatically set after `perMethodTaxRate` is set.
*
*
*/
@@ -10613,7 +10964,7 @@ export interface ParcelTrackingDataUpdatedMessage {
readonly shippingKey?: string
}
/**
- * Generated after a successful [Create Payment](/../api/projects/payments#create-payment) request.
+ * Generated after a successful [Create Payment](ctp:api:endpoint:/{projectKey}/payments:POST) request.
*
*/
export interface PaymentCreatedMessage {
@@ -11121,7 +11472,7 @@ export interface ProductAddedToCategoryMessage {
readonly staged: boolean
}
/**
- * Generated after a successful [Create Product](/../api/projects/products#create-product) request.
+ * Generated after a successful [Create Product](ctp:api:endpoint:/{projectKey}/products:POST) request.
*
*/
export interface ProductCreatedMessage {
@@ -12291,7 +12642,7 @@ export interface ProductRevertedStagedChangesMessage {
readonly removedImageUrls: string[]
}
/**
- * Generated after a successful [Create Product Selection](/../api/projects/product-selections#create-productselection) request.
+ * Generated after a successful [Create Product Selection](ctp:api:endpoint:/{projectKey}/product-selections:POST) request.
*
*/
export interface ProductSelectionCreatedMessage {
@@ -13174,7 +13525,7 @@ export interface ProductVariantDeletedMessage {
readonly removedImageUrls: string[]
}
/**
- * Generated after a successful [Create Quote](/../api/projects/quotes#create-quote) request.
+ * Generated after a successful [Create Quote](ctp:api:endpoint:/{projectKey}/quotes:POST) request.
*
*/
export interface QuoteCreatedMessage {
@@ -13454,7 +13805,7 @@ export interface QuoteRenegotiationRequestedMessage {
readonly buyerComment?: string
}
/**
- * Generated after a successful [Create QuoteRequest](/../api/projects/quote-requests#create-quoterequest) request.
+ * Generated after a successful [Create QuoteRequest](ctp:api:endpoint:/{projectKey}/quote-requests:POST) request.
*
*/
export interface QuoteRequestCreatedMessage {
@@ -14120,7 +14471,7 @@ export interface ReturnInfoSetMessage {
readonly returnInfo?: ReturnInfo[]
}
/**
- * Generated after a successful [Create Review](/../api/projects/reviews#create-review) request.
+ * Generated after a successful [Create Review](ctp:api:endpoint:/{projectKey}/reviews:POST) request.
*
*/
export interface ReviewCreatedMessage {
@@ -14378,7 +14729,7 @@ export interface ReviewStateTransitionMessage {
readonly force: boolean
}
/**
- * Generated after a successful [Create StagedQuote](/../api/projects/staged-quotes#create-stagedquote) request.
+ * Generated after a successful [Create StagedQuote](ctp:api:endpoint:/{projectKey}/staged-quotes:POST) request.
*
*/
export interface StagedQuoteCreatedMessage {
@@ -14886,7 +15237,7 @@ export interface StandalonePriceActiveChangedMessage {
readonly oldActive: boolean
}
/**
- * Generated after a successful [Create StandalonePrice](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * Generated after a successful [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface StandalonePriceCreatedMessage {
@@ -15999,7 +16350,7 @@ export interface StoreCountriesChangedMessage {
readonly removedCountries?: StoreCountry[]
}
/**
- * Generated after a successful [Create Store](/../api/projects/stores#create-store) request.
+ * Generated after a successful [Create Store](ctp:api:endpoint:/{projectKey}/stores:POST) request.
*
*/
export interface StoreCreatedMessage {
@@ -16105,7 +16456,7 @@ export interface StoreCreatedMessage {
readonly custom?: CustomFields
}
/**
- * Generated after a successful [Delete Store](/../api/projects/quote-requests#delete-quoterequest) request.
+ * Generated after a successful [Delete Store](/../api/projects/stores#delete-store) request.
*
*/
export interface StoreDeletedMessage {
@@ -16654,6 +17005,11 @@ export type MessagePayload =
| BusinessUnitStoreModeChangedMessagePayload
| BusinessUnitStoreRemovedMessagePayload
| BusinessUnitStoresSetMessagePayload
+ | CartDiscountCreatedMessagePayload
+ | CartDiscountDeletedMessagePayload
+ | CartDiscountStoreAddedMessagePayload
+ | CartDiscountStoreRemovedMessagePayload
+ | CartDiscountStoresSetMessagePayload
| CategoryCreatedMessagePayload
| CategorySlugChangedMessagePayload
| CustomLineItemStateTransitionMessagePayload
@@ -17052,7 +17408,7 @@ export interface AssociateRoleBuyerAssignableChangedMessagePayload {
readonly buyerAssignable: boolean
}
/**
- * Generated after a successful [Create AssociateRole](/projects/associate-roles#create-associaterole) request.
+ * Generated after a successful [Create AssociateRole](ctp:api:endpoint:/{projectKey}/associate-roles:POST) request.
*
*/
export interface AssociateRoleCreatedMessagePayload {
@@ -17360,7 +17716,7 @@ export interface BusinessUnitContactEmailSetMessagePayload {
readonly contactEmail?: string
}
/**
- * Generated after a successful [Create BusinessUnit](/projects/business-units#create-businessunit) request.
+ * Generated after a successful [Create BusinessUnit](ctp:api:endpoint:/{projectKey}/business-units:POST) request.
*
*/
export interface BusinessUnitCreatedMessagePayload {
@@ -17634,7 +17990,66 @@ export interface BusinessUnitStoresSetMessagePayload {
readonly stores: StoreKeyReference[]
}
/**
- * Generated after a successful [Create Category](/../api/projects/categories#create-category) request.
+ * Generated after a successful [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) request.
+ *
+ */
+export interface CartDiscountCreatedMessagePayload {
+ readonly type: 'CartDiscountCreated'
+ /**
+ * The [Cart Discount](ctp:api:type:CartDiscount) that was created.
+ *
+ *
+ */
+ readonly cartDiscount: CartDiscount
+}
+/**
+ * Generated after a successful [Delete CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts/{id}:DELETE) request.
+ *
+ */
+export interface CartDiscountDeletedMessagePayload {
+ readonly type: 'CartDiscountDeleted'
+}
+/**
+ * Generated after a successful [Add Store](ctp:api:type:CartDiscountAddStoreAction) update action.
+ *
+ */
+export interface CartDiscountStoreAddedMessagePayload {
+ readonly type: 'CartDiscountStoreAdded'
+ /**
+ * The [Store](ctp:api:type:Store) that was added to the [Cart Discount](ctp:api:type:CartDiscount).
+ *
+ *
+ */
+ readonly store: StoreKeyReference
+}
+/**
+ * Generated after a successful [Remove Store](ctp:api:type:CartDiscountRemoveStoreAction) update action.
+ *
+ */
+export interface CartDiscountStoreRemovedMessagePayload {
+ readonly type: 'CartDiscountStoreRemoved'
+ /**
+ * The [Store](ctp:api:type:Store) that was removed from the [Cart Discount](ctp:api:type:CartDiscount).
+ *
+ *
+ */
+ readonly store: StoreKeyReference
+}
+/**
+ * Generated after a successful [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
+ *
+ */
+export interface CartDiscountStoresSetMessagePayload {
+ readonly type: 'CartDiscountStoresSet'
+ /**
+ * [Stores](ctp:api:type:Store) of the [Cart Discount](ctp:api:type:CartDiscount) after the [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
+ *
+ *
+ */
+ readonly stores: StoreKeyReference[]
+}
+/**
+ * Generated after a successful [Create Category](ctp:api:endpoint:/{projectKey}/categories:POST) request.
*
*/
export interface CategoryCreatedMessagePayload {
@@ -17807,7 +18222,7 @@ export interface CustomerCompanyNameSetMessagePayload {
readonly companyName?: string
}
/**
- * Generated after a successful [Create Customer](/../api/projects/customers#create-sign-up-customer) request.
+ * Generated after a successful [Create Customer](ctp:api:endpoint:/{projectKey}/customers:POST) request.
*
*/
export interface CustomerCreatedMessagePayload {
@@ -17942,7 +18357,7 @@ export interface CustomerEmailChangedMessagePayload {
readonly email: string
}
/**
- * Generated after a successful [Create email token for Customer](/../api/projects/customers#create-email-token-for-customer) request. The `resource` property of the Message is a [CustomerEmailTokenReference](ctp:api:type:CustomerEmailTokenReference).
+ * Generated after a successful [Create email token for Customer](ctp:api:endpoint:/{projectKey}/customers/email-token:POST) request. The `resource` property of the Message is a [CustomerEmailTokenReference](ctp:api:type:CustomerEmailTokenReference).
*
*/
export interface CustomerEmailTokenCreatedMessagePayload {
@@ -17961,7 +18376,7 @@ export interface CustomerEmailTokenCreatedMessagePayload {
readonly expiresAt: string
}
/**
- * Generated after a successful [Verify Customer's Email](/../api/projects/customers#verify-email-of-customer) request.
+ * Generated after a successful [Verify Customer's Email](ctp:api:endpoint:/{projectKey}/customers/email/confirm:POST) request.
*
*/
export interface CustomerEmailVerifiedMessagePayload {
@@ -18095,7 +18510,7 @@ export interface CustomerLastNameSetMessagePayload {
readonly lastName?: string
}
/**
- * Generated after a successful [Create password reset token for Customer](/../api/projects/customers#create-password-reset-token-for-customer) request. The `resource` property of the Message is a [CustomerPasswordTokenReference](ctp:api:type:CustomerPasswordTokenReference).
+ * Generated after a successful [Create password reset token for Customer](ctp:api:endpoint:/{projectKey}/customers/password-token:POST) request. The `resource` property of the Message is a [CustomerPasswordTokenReference](ctp:api:type:CustomerPasswordTokenReference).
*
*/
export interface CustomerPasswordTokenCreatedMessagePayload {
@@ -18114,13 +18529,13 @@ export interface CustomerPasswordTokenCreatedMessagePayload {
readonly expiresAt: string
}
/**
- * Generated after a successful [Reset Customer's Password](/../api/projects/customers#reset-password-of-customer), [Reset Customer's Password in a Store](/../api/projects/customers#reset-password-of-customer-in-store), [Change Customer's Password](/../api/projects/customers#change-password-of-customer), or [Change Customer's Password in a Store](/../api/projects/customers#change-password-of-customer-in-store) request. This Message is also produced during equivalent requests to the [My Customer Profile](/../api/projects/me-profile) endpoint.
+ * Generated after a successful [Reset Customer's Password](ctp:api:endpoint:/{projectKey}/customers/password/reset:POST), [Reset Customer's Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/customers/password/reset:POST), [Change Customer's Password](ctp:api:endpoint:/{projectKey}/customers/password:POST), or [Change Customer's Password in a Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/customers/password:POST) request. This Message is also produced during equivalent requests to the [My Customer Profile](/../api/projects/me-profile) endpoint.
*
*/
export interface CustomerPasswordUpdatedMessagePayload {
readonly type: 'CustomerPasswordUpdated'
/**
- * Whether the Customer's password was updated during the [Reset password](/../api/projects/customers#password-reset-of-customer) or [Change password](/../api/projects/customers#change-password-of-customer) flow.
+ * Whether the Customer's password was updated during the [Reset password](ctp:api:endpoint:/{projectKey}/customers/password/reset:POST) or [Change password](ctp:api:endpoint:/{projectKey}/customers/password:POST) flow.
*
*
*/
@@ -18140,7 +18555,7 @@ export interface CustomerTitleSetMessagePayload {
readonly title?: string
}
/**
- * Generated after a successful [Create InventoryEntry](/../api/projects/inventory#create-inventoryentry) request.
+ * Generated after a successful [Create InventoryEntry](ctp:api:endpoint:/{projectKey}/inventory:POST) request.
*
*/
export interface InventoryEntryCreatedMessagePayload {
@@ -18173,7 +18588,7 @@ export interface InventoryEntryDeletedMessagePayload {
}
/**
* Generated after a successful [Add Quantity](ctp:api:type:InventoryEntryAddQuantityAction), [Remove Quantity](ctp:api:type:InventoryEntryRemoveQuantityAction) or [Change Quantity](ctp:api:type:InventoryEntryChangeQuantityAction) update action.
- * Inventory changes as a result of [Order creation](/../api/projects/orders#create-order) do not trigger this message.
+ * Inventory changes as a result of [Order creation](ctp:api:endpoint:/{projectKey}/orders:POST) do not trigger this message.
*
*/
export interface InventoryEntryQuantitySetMessagePayload {
@@ -18463,7 +18878,7 @@ export interface OrderBillingAddressSetMessagePayload {
readonly oldAddress?: Address
}
/**
- * Generated after a successful [Create Order](/../api/projects/orders#create-order) request.
+ * Generated after a successful [Create Order](ctp:api:endpoint:/{projectKey}/orders:POST) request.
*
*/
export interface OrderCreatedMessagePayload {
@@ -18884,7 +19299,8 @@ export interface OrderLineItemDiscountSetMessagePayload {
*/
readonly taxedPrice?: TaxedItemPrice
/**
- * Taxed price of the Shipping Methods in a Cart with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * Total taxed prices based on the quantity of Line Item assigned to each [Shipping Method](ctp:api:type:ShippingMethod). Only applicable for Carts with `Multiple` [ShippingMode](ctp:api:type:ShippingMode).
+ * Automatically set after `perMethodTaxRate` is set.
*
*
*/
@@ -19329,7 +19745,7 @@ export interface ParcelTrackingDataUpdatedMessagePayload {
readonly shippingKey?: string
}
/**
- * Generated after a successful [Create Payment](/../api/projects/payments#create-payment) request.
+ * Generated after a successful [Create Payment](ctp:api:endpoint:/{projectKey}/payments:POST) request.
*
*/
export interface PaymentCreatedMessagePayload {
@@ -19438,7 +19854,7 @@ export interface ProductAddedToCategoryMessagePayload {
readonly staged: boolean
}
/**
- * Generated after a successful [Create Product](/../api/projects/products#create-product) request.
+ * Generated after a successful [Create Product](ctp:api:endpoint:/{projectKey}/products:POST) request.
*
*/
export interface ProductCreatedMessagePayload {
@@ -19768,7 +20184,7 @@ export interface ProductRevertedStagedChangesMessagePayload {
readonly removedImageUrls: string[]
}
/**
- * Generated after a successful [Create Product Selection](/../api/projects/product-selections#create-productselection) request.
+ * Generated after a successful [Create Product Selection](ctp:api:endpoint:/{projectKey}/product-selections:POST) request.
*
*/
export interface ProductSelectionCreatedMessagePayload {
@@ -19967,7 +20383,7 @@ export interface ProductVariantDeletedMessagePayload {
readonly removedImageUrls: string[]
}
/**
- * Generated after a successful [Create Quote](/../api/projects/quotes#create-quote) request.
+ * Generated after a successful [Create Quote](ctp:api:endpoint:/{projectKey}/quotes:POST) request.
*
*/
export interface QuoteCreatedMessagePayload {
@@ -20019,7 +20435,7 @@ export interface QuoteRenegotiationRequestedMessagePayload {
readonly buyerComment?: string
}
/**
- * Generated after a successful [Create QuoteRequest](/../api/projects/quote-requests#create-quoterequest) request.
+ * Generated after a successful [Create QuoteRequest](ctp:api:endpoint:/{projectKey}/quote-requests:POST) request.
*
*/
export interface QuoteRequestCreatedMessagePayload {
@@ -20172,7 +20588,7 @@ export interface ReturnInfoSetMessagePayload {
readonly returnInfo?: ReturnInfo[]
}
/**
- * Generated after a successful [Create Review](/../api/projects/reviews#create-review) request.
+ * Generated after a successful [Create Review](ctp:api:endpoint:/{projectKey}/reviews:POST) request.
*
*/
export interface ReviewCreatedMessagePayload {
@@ -20268,7 +20684,7 @@ export interface ShoppingListStoreSetMessagePayload {
readonly store: StoreKeyReference
}
/**
- * Generated after a successful [Create StagedQuote](/../api/projects/staged-quotes#create-stagedquote) request.
+ * Generated after a successful [Create StagedQuote](ctp:api:endpoint:/{projectKey}/staged-quotes:POST) request.
*
*/
export interface StagedQuoteCreatedMessagePayload {
@@ -20377,7 +20793,7 @@ export interface StandalonePriceActiveChangedMessagePayload {
readonly oldActive: boolean
}
/**
- * Generated after a successful [Create StandalonePrice](/../api/projects/standalone-prices#create-standaloneprice) request.
+ * Generated after a successful [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
*
*/
export interface StandalonePriceCreatedMessagePayload {
@@ -20635,7 +21051,7 @@ export interface StoreCountriesChangedMessagePayload {
readonly removedCountries?: StoreCountry[]
}
/**
- * Generated after a successful [Create Store](/../api/projects/stores#create-store) request.
+ * Generated after a successful [Create Store](ctp:api:endpoint:/{projectKey}/stores:POST) request.
*
*/
export interface StoreCreatedMessagePayload {
@@ -20684,7 +21100,7 @@ export interface StoreCreatedMessagePayload {
readonly custom?: CustomFields
}
/**
- * Generated after a successful [Delete Store](/../api/projects/quote-requests#delete-quoterequest) request.
+ * Generated after a successful [Delete Store](/../api/projects/stores#delete-store) request.
*
*/
export interface StoreDeletedMessagePayload {
diff --git a/packages/platform-sdk/src/generated/models/order.ts b/packages/platform-sdk/src/generated/models/order.ts
index 9798c5bdf..fea69a0e6 100644
--- a/packages/platform-sdk/src/generated/models/order.ts
+++ b/packages/platform-sdk/src/generated/models/order.ts
@@ -1353,8 +1353,8 @@ export interface OrderReference {
export interface OrderSearchQuery {}
export type _OrderSearchQuery =
| OrderSearchQuery
- | OrderSearchCompoundExpression
- | OrderSearchQueryExpression
+ | _OrderSearchCompoundExpression
+ | _OrderSearchQueryExpression
export interface OrderSearchCompoundExpression extends OrderSearchQuery {}
export type _OrderSearchCompoundExpression =
| OrderSearchCompoundExpression
@@ -2398,6 +2398,7 @@ export interface OrderRemoveDeliveryAction {
}
/**
* An address can only be removed if it is not referenced in any [ItemShippingTarget](ctp:api:type:ItemShippingTarget) of the Cart.
+ * In such case, change the Line Item shipping address to a different `addressKey` first using the [Set LineItemShippingDetails](ctp:api:type:OrderSetLineItemShippingDetailsAction) update action, before you remove the obsolete address.
*
*/
export interface OrderRemoveItemShippingAddressAction {
diff --git a/packages/platform-sdk/src/generated/models/product-type.ts b/packages/platform-sdk/src/generated/models/product-type.ts
index 603b1bc05..5b7e93290 100644
--- a/packages/platform-sdk/src/generated/models/product-type.ts
+++ b/packages/platform-sdk/src/generated/models/product-type.ts
@@ -70,7 +70,7 @@ export interface AttributeDefinition {
*
* Which exact features are available with this flag depends on the specific [AttributeType](ctp:api:type:AttributeType).
* The maximum size of a searchable field is **restricted** by the [Field content size limit](/../api/limits#field-content-size).
- * This constraint is enforced at both [Product creation](/../api/projects/products#create-product) and [Product update](/../api/projects/products#update-product).
+ * This constraint is enforced at both [Product creation](ctp:api:endpoint:/{projectKey}/products:POST) and [Product update](/../api/projects/products#update-product).
* If the length of the input exceeds the maximum size, an [InvalidField](ctp:api:type:InvalidFieldError) error is returned.
*
*/
diff --git a/packages/platform-sdk/src/generated/models/product.ts b/packages/platform-sdk/src/generated/models/product.ts
index c600b257b..b7920d5a9 100644
--- a/packages/platform-sdk/src/generated/models/product.ts
+++ b/packages/platform-sdk/src/generated/models/product.ts
@@ -2351,7 +2351,7 @@ export interface ProductTransitionStateAction {
readonly force?: boolean
}
/**
- * Removes the current [projection](/../api/projects/productProjections#current--staged) of the Product. The staged projection is unaffected. To retrieve unpublished Products, the `staged` parameter must be set to `false` when [querying](/projects/productProjections#query-productprojections)/[searching](/projects/products-search#product-projection-search) Product Projections. Produces the [ProductUnpublished](ctp:api:type:ProductUnpublishedMessage) Message.
+ * Removes the current [projection](/../api/projects/productProjections#current--staged) of the Product. The staged projection is unaffected. To retrieve unpublished Products, the `staged` parameter must be set to `false` when [querying](ctp:api:endpoint:/{projectKey}/product-projections:GET)/[searching](/projects/products-search#product-projection-search) Product Projections. Produces the [ProductUnpublished](ctp:api:type:ProductUnpublishedMessage) Message.
*
* Unpublished Products cannot be added to a Cart. However, if a Cart contains Line Items for Products that were added before the Product was unpublished, the Cart is unaffected and can still be used to create an Order. To prevent this, in addition to unpublishing the Product you should remove the Prices from the Product using [Remove Price](ctp:api:type:ProductRemovePriceAction) for Embedded Prices or [Delete StandalonePrice](/projects/standalone-prices#delete-standaloneprice) for Standalone Prices.
*
diff --git a/packages/platform-sdk/src/generated/models/shipping-method.ts b/packages/platform-sdk/src/generated/models/shipping-method.ts
index dbd2cd72d..5ae44f3cc 100644
--- a/packages/platform-sdk/src/generated/models/shipping-method.ts
+++ b/packages/platform-sdk/src/generated/models/shipping-method.ts
@@ -295,7 +295,7 @@ export interface ShippingRate {
*/
readonly price: TypedMoney
/**
- * Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ * [Free shipping](/../shipping-delivery-overview#free-shipping) is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
*
*/
readonly freeAbove?: TypedMoney
@@ -320,7 +320,7 @@ export interface ShippingRateDraft {
*/
readonly price: _Money
/**
- * Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ * [Free shipping](/../shipping-delivery-overview#free-shipping) is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
*
*/
readonly freeAbove?: _Money
@@ -367,7 +367,7 @@ export interface CartClassificationTier {
export interface CartScoreTier {
readonly type: 'CartScore'
/**
- * Abstract value for categorizing a Cart. The range starts at `0`. The default price covers `0`, tiers start at `1`. See [Using Tiered Shipping Rates](/../tutorials/shipping-rate) for details and examples.
+ * Abstract value for categorizing a Cart. The range starts at `0`. The default price covers `0`, tiers start at `1`. See [Tiered shipping rates](/../api/shipping-delivery-overview#tiered-shipping-rates) for details and examples.
*
*
*/
diff --git a/packages/platform-sdk/src/generated/models/standalone-price.ts b/packages/platform-sdk/src/generated/models/standalone-price.ts
index 6f852452d..dbd77b4e3 100644
--- a/packages/platform-sdk/src/generated/models/standalone-price.ts
+++ b/packages/platform-sdk/src/generated/models/standalone-price.ts
@@ -386,7 +386,7 @@ export interface StandalonePriceApplyStagedChangesAction {
readonly action: 'applyStagedChanges'
}
/**
- * Updating the value of a [StandalonePrice](ctp:api:type:StandalonePrice) produces the [StandalonePriceActiveChangedMessage](ctp:api:type:StandalonePriceActiveChangedMessage).
+ * Updating the value of a [StandalonePrice](ctp:api:type:StandalonePrice) produces the [StandalonePriceActiveChanged](ctp:api:type:StandalonePriceActiveChangedMessage) Message.
*
*/
export interface StandalonePriceChangeActiveAction {
diff --git a/packages/platform-sdk/src/generated/models/type.ts b/packages/platform-sdk/src/generated/models/type.ts
index 0243f7b27..6a54308c7 100644
--- a/packages/platform-sdk/src/generated/models/type.ts
+++ b/packages/platform-sdk/src/generated/models/type.ts
@@ -52,6 +52,7 @@ export interface CustomFieldLocalizedEnumValue {
*
*/
export type CustomFieldReferenceValue =
+ | 'approval-flow'
| 'associate-role'
| 'business-unit'
| 'cart'
@@ -268,6 +269,7 @@ export interface CustomFieldTimeType {
*/
export type ResourceTypeId =
| 'address'
+ | 'approval-flow'
| 'asset'
| 'associate-role'
| 'business-unit'
diff --git a/references.txt b/references.txt
index 39c27afe3..f1efd85d3 100644
--- a/references.txt
+++ b/references.txt
@@ -207,3 +207,31 @@ c633a41c164e2dbf2201dd9856c18d5336b0ac5d
70d15e13efcbf54dd231b1f2cfbec50da95de1a3
8f05884799f311b3f09307fb57c2846383c96371
de39b32f1f157ed82869e1c07c1963615d571f87
+d29ffbb65f68b7dd7623956b7e6151454bea2fea
+f94a9a687588e4e941100ac3a4a25d55058a6016
+e5585a5cbf8c346ba1b8b87fcc2ae704047c5898
+d216fff1d56706c8f7cb20b8c9d10b917b8f7781
+6fdddfe25400a00a9b38068eabe18331d216fc82
+580c5cde461a20eb43322d6bb592ac2de30eb61f
+abf2e5abe5909b6f2f44aa192852d2a12c5aa519
+d54ef63fe5ba7eac24c714f805b0a0dbe4315fb7
+281ab8a36f5fd144e39212855c2991eaeb29407a
+5804c065e8051fa2b49be3dc0e9393bc280a7bdc
+05300c0ea84527a9f8ce73ac1f319c9e6a9f46cb
+47e18782ed2049ecdae7413ff7df9c3a796b8132
+14cae25763d9bd24ec49dc1a4698532d5a21a7ef
+de74b7108b22564877be0b8f52e66b3febc1760f
+de74b7108b22564877be0b8f52e66b3febc1760f
+477146620493d849e6dd23e6faee889be5b0836a
+b29097130599fc8a4f618beb7a276feaea4e31a6
+bd1f09f643bdb7b0840feca64b19caa6e55d766a
+c640bc7c38e111f9df252979cc5c2ab22568a3d8
+8242aca6c3e58147ce99c6a1dbd08e35818b1563
+2e6876d6e80db67518bc18caed1e630372cae607
+455326d83ec0750dfaec9afc7ec640f15412a68f
+bbed21a27bf83c8ac16f323969d71a8855623523
+e3a178953d3d929a58092a0c86d666fee6400c75
+d10443de67d8c8e684b4e63415b5720fc3bcf169
+886f8d7e51ee9afd3dea683e0b6ed042eec469f1
+5b5166eedb28e48364c82c3fcf2d795983fe9fa8
+82856ccfbe173150763c81a98f37eb012ce30e86