@gradientedge/commercetools-utils 6.0.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/cjs/api/CommercetoolsApi.d.ts +79 -0
  2. package/dist/cjs/api/CommercetoolsApi.d.ts.map +1 -1
  3. package/dist/cjs/api/CommercetoolsApi.js +166 -0
  4. package/dist/cjs/api/CommercetoolsApi.js.map +1 -1
  5. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  6. package/dist/cjs/types/models/approval-flow.d.ts +1 -1
  7. package/dist/cjs/types/models/approval-flow.d.ts.map +1 -1
  8. package/dist/cjs/types/models/approval-rule.d.ts +1 -1
  9. package/dist/cjs/types/models/approval-rule.d.ts.map +1 -1
  10. package/dist/cjs/types/models/associate-role.d.ts +11 -3
  11. package/dist/cjs/types/models/associate-role.d.ts.map +1 -1
  12. package/dist/cjs/types/models/associate-role.js +9 -1
  13. package/dist/cjs/types/models/associate-role.js.map +1 -1
  14. package/dist/cjs/types/models/business-unit.d.ts +76 -22
  15. package/dist/cjs/types/models/business-unit.d.ts.map +1 -1
  16. package/dist/cjs/types/models/business-unit.js.map +1 -1
  17. package/dist/cjs/types/models/cart-discount.d.ts +12 -11
  18. package/dist/cjs/types/models/cart-discount.d.ts.map +1 -1
  19. package/dist/cjs/types/models/cart-discount.js.map +1 -1
  20. package/dist/cjs/types/models/cart.d.ts +122 -19
  21. package/dist/cjs/types/models/cart.d.ts.map +1 -1
  22. package/dist/cjs/types/models/cart.js.map +1 -1
  23. package/dist/cjs/types/models/channel.d.ts +1 -1
  24. package/dist/cjs/types/models/channel.d.ts.map +1 -1
  25. package/dist/cjs/types/models/common.d.ts +16 -6
  26. package/dist/cjs/types/models/common.d.ts.map +1 -1
  27. package/dist/cjs/types/models/common.js.map +1 -1
  28. package/dist/cjs/types/models/customer.d.ts +70 -3
  29. package/dist/cjs/types/models/customer.d.ts.map +1 -1
  30. package/dist/cjs/types/models/error.d.ts +16 -6
  31. package/dist/cjs/types/models/error.d.ts.map +1 -1
  32. package/dist/cjs/types/models/event.d.ts +384 -0
  33. package/dist/cjs/types/models/event.d.ts.map +1 -0
  34. package/dist/cjs/types/models/event.js +8 -0
  35. package/dist/cjs/types/models/event.js.map +1 -0
  36. package/dist/cjs/types/models/extension.d.ts +2 -2
  37. package/dist/cjs/types/models/extension.d.ts.map +1 -1
  38. package/dist/cjs/types/models/index.d.ts +1 -0
  39. package/dist/cjs/types/models/index.d.ts.map +1 -1
  40. package/dist/cjs/types/models/index.js +1 -0
  41. package/dist/cjs/types/models/index.js.map +1 -1
  42. package/dist/cjs/types/models/me.d.ts +4 -4
  43. package/dist/cjs/types/models/me.d.ts.map +1 -1
  44. package/dist/cjs/types/models/me.js.map +1 -1
  45. package/dist/cjs/types/models/message.d.ts +564 -6
  46. package/dist/cjs/types/models/message.d.ts.map +1 -1
  47. package/dist/cjs/types/models/order-edit.d.ts +19 -1
  48. package/dist/cjs/types/models/order-edit.d.ts.map +1 -1
  49. package/dist/cjs/types/models/order.d.ts +44 -15
  50. package/dist/cjs/types/models/order.d.ts.map +1 -1
  51. package/dist/cjs/types/models/order.js.map +1 -1
  52. package/dist/cjs/types/models/payment.d.ts +2 -2
  53. package/dist/cjs/types/models/payment.d.ts.map +1 -1
  54. package/dist/cjs/types/models/product-discount.d.ts +2 -2
  55. package/dist/cjs/types/models/product-search.d.ts +15 -8
  56. package/dist/cjs/types/models/product-search.d.ts.map +1 -1
  57. package/dist/cjs/types/models/product-search.js.map +1 -1
  58. package/dist/cjs/types/models/product-selection.d.ts +13 -16
  59. package/dist/cjs/types/models/product-selection.d.ts.map +1 -1
  60. package/dist/cjs/types/models/product-selection.js.map +1 -1
  61. package/dist/cjs/types/models/product-tailoring.d.ts +10 -8
  62. package/dist/cjs/types/models/product-tailoring.d.ts.map +1 -1
  63. package/dist/cjs/types/models/product-type.d.ts +33 -9
  64. package/dist/cjs/types/models/product-type.d.ts.map +1 -1
  65. package/dist/cjs/types/models/product-type.js.map +1 -1
  66. package/dist/cjs/types/models/product.d.ts +97 -15
  67. package/dist/cjs/types/models/product.d.ts.map +1 -1
  68. package/dist/cjs/types/models/product.js +4 -0
  69. package/dist/cjs/types/models/product.js.map +1 -1
  70. package/dist/cjs/types/models/project.d.ts +12 -12
  71. package/dist/cjs/types/models/project.d.ts.map +1 -1
  72. package/dist/cjs/types/models/quote-request.d.ts +2 -2
  73. package/dist/cjs/types/models/quote-request.d.ts.map +1 -1
  74. package/dist/cjs/types/models/quote.d.ts +2 -2
  75. package/dist/cjs/types/models/quote.d.ts.map +1 -1
  76. package/dist/cjs/types/models/recurrence-policy.d.ts +167 -0
  77. package/dist/cjs/types/models/recurrence-policy.d.ts.map +1 -0
  78. package/dist/cjs/types/models/recurrence-policy.js +13 -0
  79. package/dist/cjs/types/models/recurrence-policy.js.map +1 -0
  80. package/dist/cjs/types/models/recurring-order.d.ts +279 -0
  81. package/dist/cjs/types/models/recurring-order.d.ts.map +1 -0
  82. package/dist/cjs/types/models/recurring-order.js +22 -0
  83. package/dist/cjs/types/models/recurring-order.js.map +1 -0
  84. package/dist/cjs/types/models/search.d.ts +4 -4
  85. package/dist/cjs/types/models/search.d.ts.map +1 -1
  86. package/dist/cjs/types/models/shipping-method.d.ts +5 -3
  87. package/dist/cjs/types/models/shipping-method.d.ts.map +1 -1
  88. package/dist/cjs/types/models/shipping-method.js.map +1 -1
  89. package/dist/cjs/types/models/shopping-list.d.ts +10 -2
  90. package/dist/cjs/types/models/shopping-list.d.ts.map +1 -1
  91. package/dist/cjs/types/models/staged-quote.d.ts +2 -2
  92. package/dist/cjs/types/models/staged-quote.d.ts.map +1 -1
  93. package/dist/cjs/types/models/standalone-price.d.ts +11 -0
  94. package/dist/cjs/types/models/standalone-price.d.ts.map +1 -1
  95. package/dist/cjs/types/models/state.d.ts +2 -2
  96. package/dist/cjs/types/models/state.d.ts.map +1 -1
  97. package/dist/cjs/types/models/subscription.d.ts +349 -237
  98. package/dist/cjs/types/models/subscription.d.ts.map +1 -1
  99. package/dist/cjs/types/models/subscription.js +22 -1
  100. package/dist/cjs/types/models/subscription.js.map +1 -1
  101. package/dist/cjs/types/models/type.d.ts +3 -3
  102. package/dist/cjs/types/models/type.d.ts.map +1 -1
  103. package/dist/mjs/api/CommercetoolsApi.d.ts +79 -0
  104. package/dist/mjs/api/CommercetoolsApi.d.ts.map +1 -1
  105. package/dist/mjs/api/CommercetoolsApi.js +166 -0
  106. package/dist/mjs/api/CommercetoolsApi.js.map +1 -1
  107. package/dist/mjs/tsconfig.tsbuildinfo +1 -1
  108. package/dist/mjs/types/models/approval-flow.d.ts +1 -1
  109. package/dist/mjs/types/models/approval-flow.d.ts.map +1 -1
  110. package/dist/mjs/types/models/approval-rule.d.ts +1 -1
  111. package/dist/mjs/types/models/approval-rule.d.ts.map +1 -1
  112. package/dist/mjs/types/models/associate-role.d.ts +11 -3
  113. package/dist/mjs/types/models/associate-role.d.ts.map +1 -1
  114. package/dist/mjs/types/models/associate-role.js +9 -1
  115. package/dist/mjs/types/models/associate-role.js.map +1 -1
  116. package/dist/mjs/types/models/business-unit.d.ts +76 -22
  117. package/dist/mjs/types/models/business-unit.d.ts.map +1 -1
  118. package/dist/mjs/types/models/business-unit.js.map +1 -1
  119. package/dist/mjs/types/models/cart-discount.d.ts +12 -11
  120. package/dist/mjs/types/models/cart-discount.d.ts.map +1 -1
  121. package/dist/mjs/types/models/cart-discount.js.map +1 -1
  122. package/dist/mjs/types/models/cart.d.ts +122 -19
  123. package/dist/mjs/types/models/cart.d.ts.map +1 -1
  124. package/dist/mjs/types/models/cart.js.map +1 -1
  125. package/dist/mjs/types/models/channel.d.ts +1 -1
  126. package/dist/mjs/types/models/channel.d.ts.map +1 -1
  127. package/dist/mjs/types/models/common.d.ts +16 -6
  128. package/dist/mjs/types/models/common.d.ts.map +1 -1
  129. package/dist/mjs/types/models/common.js.map +1 -1
  130. package/dist/mjs/types/models/customer.d.ts +70 -3
  131. package/dist/mjs/types/models/customer.d.ts.map +1 -1
  132. package/dist/mjs/types/models/error.d.ts +16 -6
  133. package/dist/mjs/types/models/error.d.ts.map +1 -1
  134. package/dist/mjs/types/models/event.d.ts +384 -0
  135. package/dist/mjs/types/models/event.d.ts.map +1 -0
  136. package/dist/mjs/types/models/event.js +7 -0
  137. package/dist/mjs/types/models/event.js.map +1 -0
  138. package/dist/mjs/types/models/extension.d.ts +2 -2
  139. package/dist/mjs/types/models/extension.d.ts.map +1 -1
  140. package/dist/mjs/types/models/index.d.ts +1 -0
  141. package/dist/mjs/types/models/index.d.ts.map +1 -1
  142. package/dist/mjs/types/models/index.js +1 -0
  143. package/dist/mjs/types/models/index.js.map +1 -1
  144. package/dist/mjs/types/models/me.d.ts +4 -4
  145. package/dist/mjs/types/models/me.d.ts.map +1 -1
  146. package/dist/mjs/types/models/me.js.map +1 -1
  147. package/dist/mjs/types/models/message.d.ts +564 -6
  148. package/dist/mjs/types/models/message.d.ts.map +1 -1
  149. package/dist/mjs/types/models/order-edit.d.ts +19 -1
  150. package/dist/mjs/types/models/order-edit.d.ts.map +1 -1
  151. package/dist/mjs/types/models/order.d.ts +44 -15
  152. package/dist/mjs/types/models/order.d.ts.map +1 -1
  153. package/dist/mjs/types/models/order.js.map +1 -1
  154. package/dist/mjs/types/models/payment.d.ts +2 -2
  155. package/dist/mjs/types/models/payment.d.ts.map +1 -1
  156. package/dist/mjs/types/models/product-discount.d.ts +2 -2
  157. package/dist/mjs/types/models/product-search.d.ts +15 -8
  158. package/dist/mjs/types/models/product-search.d.ts.map +1 -1
  159. package/dist/mjs/types/models/product-search.js.map +1 -1
  160. package/dist/mjs/types/models/product-selection.d.ts +13 -16
  161. package/dist/mjs/types/models/product-selection.d.ts.map +1 -1
  162. package/dist/mjs/types/models/product-selection.js.map +1 -1
  163. package/dist/mjs/types/models/product-tailoring.d.ts +10 -8
  164. package/dist/mjs/types/models/product-tailoring.d.ts.map +1 -1
  165. package/dist/mjs/types/models/product-type.d.ts +33 -9
  166. package/dist/mjs/types/models/product-type.d.ts.map +1 -1
  167. package/dist/mjs/types/models/product-type.js.map +1 -1
  168. package/dist/mjs/types/models/product.d.ts +97 -15
  169. package/dist/mjs/types/models/product.d.ts.map +1 -1
  170. package/dist/mjs/types/models/product.js +4 -0
  171. package/dist/mjs/types/models/product.js.map +1 -1
  172. package/dist/mjs/types/models/project.d.ts +12 -12
  173. package/dist/mjs/types/models/project.d.ts.map +1 -1
  174. package/dist/mjs/types/models/quote-request.d.ts +2 -2
  175. package/dist/mjs/types/models/quote-request.d.ts.map +1 -1
  176. package/dist/mjs/types/models/quote.d.ts +2 -2
  177. package/dist/mjs/types/models/quote.d.ts.map +1 -1
  178. package/dist/mjs/types/models/recurrence-policy.d.ts +167 -0
  179. package/dist/mjs/types/models/recurrence-policy.d.ts.map +1 -0
  180. package/dist/mjs/types/models/recurrence-policy.js +10 -0
  181. package/dist/mjs/types/models/recurrence-policy.js.map +1 -0
  182. package/dist/mjs/types/models/recurring-order.d.ts +279 -0
  183. package/dist/mjs/types/models/recurring-order.d.ts.map +1 -0
  184. package/dist/mjs/types/models/recurring-order.js +19 -0
  185. package/dist/mjs/types/models/recurring-order.js.map +1 -0
  186. package/dist/mjs/types/models/search.d.ts +4 -4
  187. package/dist/mjs/types/models/search.d.ts.map +1 -1
  188. package/dist/mjs/types/models/shipping-method.d.ts +5 -3
  189. package/dist/mjs/types/models/shipping-method.d.ts.map +1 -1
  190. package/dist/mjs/types/models/shipping-method.js.map +1 -1
  191. package/dist/mjs/types/models/shopping-list.d.ts +10 -2
  192. package/dist/mjs/types/models/shopping-list.d.ts.map +1 -1
  193. package/dist/mjs/types/models/staged-quote.d.ts +2 -2
  194. package/dist/mjs/types/models/staged-quote.d.ts.map +1 -1
  195. package/dist/mjs/types/models/standalone-price.d.ts +11 -0
  196. package/dist/mjs/types/models/standalone-price.d.ts.map +1 -1
  197. package/dist/mjs/types/models/state.d.ts +2 -2
  198. package/dist/mjs/types/models/state.d.ts.map +1 -1
  199. package/dist/mjs/types/models/subscription.d.ts +349 -237
  200. package/dist/mjs/types/models/subscription.d.ts.map +1 -1
  201. package/dist/mjs/types/models/subscription.js +21 -0
  202. package/dist/mjs/types/models/subscription.js.map +1 -1
  203. package/dist/mjs/types/models/type.d.ts +3 -3
  204. package/dist/mjs/types/models/type.d.ts.map +1 -1
  205. package/package.json +2 -2
@@ -6,13 +6,13 @@
6
6
  import { ApprovalFlow, ApprovalFlowStatus } from './approval-flow.js';
7
7
  import { ApprovalRule, ApprovalRuleStatus, ApproverHierarchy, RuleRequester } from './approval-rule.js';
8
8
  import { AssociateRole, Permission } from './associate-role.js';
9
- import { Associate, BusinessUnit, BusinessUnitApprovalRuleMode, BusinessUnitAssociateMode, BusinessUnitKeyReference, BusinessUnitStatus, BusinessUnitStoreMode } from './business-unit.js';
9
+ import { Associate, BusinessUnit, BusinessUnitApprovalRuleMode, BusinessUnitAssociateMode, BusinessUnitKeyReference, BusinessUnitStatus, BusinessUnitStoreMode, BusinessUnitType } from './business-unit.js';
10
10
  import { CustomLineItem, DiscountCodeState, DiscountedLineItemPriceForQuantity, ItemShippingDetails, LineItem, MethodTaxedPrice, ProductPublishScope, ShippingInfo, ShippingRateInput, TaxedItemPrice } from './cart.js';
11
11
  import { CartDiscount } from './cart-discount.js';
12
12
  import { Category, CategoryReference } from './category.js';
13
13
  import { ChannelReference } from './channel.js';
14
14
  import { Address, CentPrecisionMoney, CreatedBy, DiscountedPrice, Image, LastModifiedBy, LocalizedString, Price, PriceTier, Reference, TypedMoney } from './common.js';
15
- import { Customer, CustomerReference } from './customer.js';
15
+ import { Customer, CustomerGroupAssignment, CustomerReference } from './customer.js';
16
16
  import { CustomerGroupReference } from './customer-group.js';
17
17
  import { DiscountCode, DiscountCodeReference } from './discount-code.js';
18
18
  import { InventoryEntry } from './inventory.js';
@@ -52,7 +52,7 @@ export interface ContainerAndKey {
52
52
  * Base representation of a Message containing common fields to all [Message Types](/../api/projects/messages#message-types).
53
53
  *
54
54
  */
55
- export type Message = ApprovalFlowApprovedMessage | ApprovalFlowCompletedMessage | ApprovalFlowCreatedMessage | ApprovalFlowRejectedMessage | ApprovalRuleApproversSetMessage | ApprovalRuleCreatedMessage | ApprovalRuleDescriptionSetMessage | ApprovalRuleKeySetMessage | ApprovalRuleNameSetMessage | ApprovalRulePredicateSetMessage | ApprovalRuleRequestersSetMessage | ApprovalRuleStatusSetMessage | AssociateRoleBuyerAssignableChangedMessage | AssociateRoleCreatedMessage | AssociateRoleDeletedMessage | AssociateRoleNameSetMessage | AssociateRolePermissionAddedMessage | AssociateRolePermissionRemovedMessage | AssociateRolePermissionsSetMessage | BusinessUnitAddressAddedMessage | BusinessUnitAddressChangedMessage | BusinessUnitAddressCustomFieldAddedMessage | BusinessUnitAddressCustomFieldChangedMessage | BusinessUnitAddressCustomFieldRemovedMessage | BusinessUnitAddressCustomTypeRemovedMessage | BusinessUnitAddressCustomTypeSetMessage | BusinessUnitAddressRemovedMessage | BusinessUnitApprovalRuleModeChangedMessage | BusinessUnitAssociateAddedMessage | BusinessUnitAssociateChangedMessage | BusinessUnitAssociateModeChangedMessage | BusinessUnitAssociateRemovedMessage | BusinessUnitAssociatesSetMessage | BusinessUnitBillingAddressAddedMessage | BusinessUnitBillingAddressRemovedMessage | BusinessUnitContactEmailSetMessage | BusinessUnitCreatedMessage | BusinessUnitCustomFieldAddedMessage | BusinessUnitCustomFieldChangedMessage | BusinessUnitCustomFieldRemovedMessage | BusinessUnitCustomTypeRemovedMessage | BusinessUnitCustomTypeSetMessage | BusinessUnitDefaultBillingAddressSetMessage | BusinessUnitDefaultShippingAddressSetMessage | BusinessUnitDeletedMessage | BusinessUnitNameChangedMessage | BusinessUnitParentChangedMessage | BusinessUnitShippingAddressAddedMessage | BusinessUnitShippingAddressRemovedMessage | BusinessUnitStatusChangedMessage | BusinessUnitStoreAddedMessage | BusinessUnitStoreModeChangedMessage | BusinessUnitStoreRemovedMessage | BusinessUnitStoresSetMessage | CartDiscountCreatedMessage | CartDiscountDeletedMessage | CartDiscountStoreAddedMessage | CartDiscountStoreRemovedMessage | CartDiscountStoresSetMessage | CategoryCreatedMessage | CategorySlugChangedMessage | CustomLineItemStateTransitionMessage | CustomerAddressAddedMessage | CustomerAddressChangedMessage | CustomerAddressCustomFieldAddedMessage | CustomerAddressCustomFieldChangedMessage | CustomerAddressCustomFieldRemovedMessage | CustomerAddressCustomTypeRemovedMessage | CustomerAddressCustomTypeSetMessage | CustomerAddressRemovedMessage | CustomerCompanyNameSetMessage | CustomerCreatedMessage | CustomerCustomFieldAddedMessage | CustomerCustomFieldChangedMessage | CustomerCustomFieldRemovedMessage | CustomerCustomTypeRemovedMessage | CustomerCustomTypeSetMessage | CustomerDateOfBirthSetMessage | CustomerDeletedMessage | CustomerEmailChangedMessage | CustomerEmailTokenCreatedMessage | CustomerEmailVerifiedMessage | CustomerFirstNameSetMessage | CustomerGroupCustomFieldAddedMessage | CustomerGroupCustomFieldChangedMessage | CustomerGroupCustomFieldRemovedMessage | CustomerGroupCustomTypeRemovedMessage | CustomerGroupCustomTypeSetMessage | CustomerGroupSetMessage | CustomerLastNameSetMessage | CustomerPasswordTokenCreatedMessage | CustomerPasswordUpdatedMessage | CustomerTitleSetMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryCustomFieldAddedMessage | DeliveryCustomFieldChangedMessage | DeliveryCustomFieldRemovedMessage | DeliveryCustomTypeRemovedMessage | DeliveryCustomTypeSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | DiscountCodeCreatedMessage | DiscountCodeDeletedMessage | DiscountCodeKeySetMessage | InventoryEntryCreatedMessage | InventoryEntryDeletedMessage | InventoryEntryQuantitySetMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderCreatedMessage | OrderCustomFieldAddedMessage | OrderCustomFieldChangedMessage | OrderCustomFieldRemovedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomTypeRemovedMessage | OrderCustomTypeSetMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderMessage | OrderPaymentAddedMessage | OrderPaymentStateChangedMessage | OrderPurchaseOrderNumberSetMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | PaymentCreatedMessage | PaymentInteractionAddedMessage | PaymentStatusInterfaceCodeSetMessage | PaymentStatusStateTransitionMessage | PaymentTransactionAddedMessage | PaymentTransactionStateChangedMessage | ProductAddedToCategoryMessage | ProductCreatedMessage | ProductDeletedMessage | ProductImageAddedMessage | ProductPriceAddedMessage | ProductPriceChangedMessage | ProductPriceCustomFieldAddedMessage | ProductPriceCustomFieldChangedMessage | ProductPriceCustomFieldRemovedMessage | ProductPriceCustomFieldsRemovedMessage | ProductPriceCustomFieldsSetMessage | ProductPriceDiscountsSetMessage | ProductPriceExternalDiscountSetMessage | ProductPriceKeySetMessage | ProductPriceModeSetMessage | ProductPriceRemovedMessage | ProductPricesSetMessage | ProductPublishedMessage | ProductRemovedFromCategoryMessage | ProductRevertedStagedChangesMessage | ProductSelectionCreatedMessage | ProductSelectionDeletedMessage | ProductSelectionProductAddedMessage | ProductSelectionProductExcludedMessage | ProductSelectionProductRemovedMessage | ProductSelectionVariantExclusionChangedMessage | ProductSelectionVariantSelectionChangedMessage | ProductSlugChangedMessage | ProductStateTransitionMessage | ProductTailoringCreatedMessage | ProductTailoringDeletedMessage | ProductTailoringDescriptionSetMessage | ProductTailoringImageAddedMessage | ProductTailoringImagesSetMessage | ProductTailoringNameSetMessage | ProductTailoringPublishedMessage | ProductTailoringSlugSetMessage | ProductTailoringUnpublishedMessage | ProductUnpublishedMessage | ProductVariantAddedMessage | ProductVariantDeletedMessage | ProductVariantTailoringAddedMessage | ProductVariantTailoringRemovedMessage | QuoteCreatedMessage | QuoteCustomerChangedMessage | QuoteDeletedMessage | QuoteRenegotiationRequestedMessage | QuoteRequestCreatedMessage | QuoteRequestCustomerChangedMessage | QuoteRequestDeletedMessage | QuoteRequestStateChangedMessage | QuoteRequestStateTransitionMessage | QuoteStateChangedMessage | QuoteStateTransitionMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage | ReviewCreatedMessage | ReviewRatingSetMessage | ReviewStateTransitionMessage | ShoppingListLineItemAddedMessage | ShoppingListLineItemRemovedMessage | ShoppingListMessage | StagedQuoteCreatedMessage | StagedQuoteDeletedMessage | StagedQuoteSellerCommentSetMessage | StagedQuoteStateChangedMessage | StagedQuoteStateTransitionMessage | StagedQuoteValidToSetMessage | StandalonePriceActiveChangedMessage | StandalonePriceCreatedMessage | StandalonePriceDeletedMessage | StandalonePriceDiscountSetMessage | StandalonePriceExternalDiscountSetMessage | StandalonePriceKeySetMessage | StandalonePriceStagedChangesAppliedMessage | StandalonePriceStagedChangesRemovedMessage | StandalonePriceTierAddedMessage | StandalonePriceTierRemovedMessage | StandalonePriceTiersSetMessage | StandalonePriceValidFromAndUntilSetMessage | StandalonePriceValidFromSetMessage | StandalonePriceValidUntilSetMessage | StandalonePriceValueChangedMessage | StoreCountriesChangedMessage | StoreCreatedMessage | StoreDeletedMessage | StoreDistributionChannelsChangedMessage | StoreLanguagesChangedMessage | StoreNameSetMessage | StoreProductSelectionsChangedMessage | StoreSupplyChannelsChangedMessage;
55
+ export type Message = ApprovalFlowApprovedMessage | ApprovalFlowCompletedMessage | ApprovalFlowCreatedMessage | ApprovalFlowRejectedMessage | ApprovalRuleApproversSetMessage | ApprovalRuleCreatedMessage | ApprovalRuleDescriptionSetMessage | ApprovalRuleKeySetMessage | ApprovalRuleNameSetMessage | ApprovalRulePredicateSetMessage | ApprovalRuleRequestersSetMessage | ApprovalRuleStatusSetMessage | AssociateRoleBuyerAssignableChangedMessage | AssociateRoleCreatedMessage | AssociateRoleDeletedMessage | AssociateRoleNameSetMessage | AssociateRolePermissionAddedMessage | AssociateRolePermissionRemovedMessage | AssociateRolePermissionsSetMessage | BusinessUnitAddressAddedMessage | BusinessUnitAddressChangedMessage | BusinessUnitAddressCustomFieldAddedMessage | BusinessUnitAddressCustomFieldChangedMessage | BusinessUnitAddressCustomFieldRemovedMessage | BusinessUnitAddressCustomTypeRemovedMessage | BusinessUnitAddressCustomTypeSetMessage | BusinessUnitAddressRemovedMessage | BusinessUnitApprovalRuleModeChangedMessage | BusinessUnitAssociateAddedMessage | BusinessUnitAssociateChangedMessage | BusinessUnitAssociateModeChangedMessage | BusinessUnitAssociateRemovedMessage | BusinessUnitAssociatesSetMessage | BusinessUnitBillingAddressAddedMessage | BusinessUnitBillingAddressRemovedMessage | BusinessUnitContactEmailSetMessage | BusinessUnitCreatedMessage | BusinessUnitCustomFieldAddedMessage | BusinessUnitCustomFieldChangedMessage | BusinessUnitCustomFieldRemovedMessage | BusinessUnitCustomTypeRemovedMessage | BusinessUnitCustomTypeSetMessage | BusinessUnitDefaultBillingAddressSetMessage | BusinessUnitDefaultShippingAddressSetMessage | BusinessUnitDeletedMessage | BusinessUnitNameChangedMessage | BusinessUnitParentChangedMessage | BusinessUnitShippingAddressAddedMessage | BusinessUnitShippingAddressRemovedMessage | BusinessUnitStatusChangedMessage | BusinessUnitStoreAddedMessage | BusinessUnitStoreModeChangedMessage | BusinessUnitStoreRemovedMessage | BusinessUnitStoresSetMessage | BusinessUnitTopLevelUnitSetMessage | BusinessUnitTypeSetMessage | CartDiscountCreatedMessage | CartDiscountDeletedMessage | CartDiscountStoreAddedMessage | CartDiscountStoreRemovedMessage | CartDiscountStoresSetMessage | CategoryCreatedMessage | CategorySlugChangedMessage | CustomLineItemStateTransitionMessage | CustomerAddressAddedMessage | CustomerAddressChangedMessage | CustomerAddressCustomFieldAddedMessage | CustomerAddressCustomFieldChangedMessage | CustomerAddressCustomFieldRemovedMessage | CustomerAddressCustomTypeRemovedMessage | CustomerAddressCustomTypeSetMessage | CustomerAddressRemovedMessage | CustomerCompanyNameSetMessage | CustomerCreatedMessage | CustomerCustomFieldAddedMessage | CustomerCustomFieldChangedMessage | CustomerCustomFieldRemovedMessage | CustomerCustomTypeRemovedMessage | CustomerCustomTypeSetMessage | CustomerDateOfBirthSetMessage | CustomerDeletedMessage | CustomerEmailChangedMessage | CustomerEmailTokenCreatedMessage | CustomerEmailVerifiedMessage | CustomerFirstNameSetMessage | CustomerGroupAssignmentAddedMessage | CustomerGroupAssignmentRemovedMessage | CustomerGroupAssignmentsSetMessage | CustomerGroupCustomFieldAddedMessage | CustomerGroupCustomFieldChangedMessage | CustomerGroupCustomFieldRemovedMessage | CustomerGroupCustomTypeRemovedMessage | CustomerGroupCustomTypeSetMessage | CustomerGroupSetMessage | CustomerLastNameSetMessage | CustomerPasswordTokenCreatedMessage | CustomerPasswordUpdatedMessage | CustomerTitleSetMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryCustomFieldAddedMessage | DeliveryCustomFieldChangedMessage | DeliveryCustomFieldRemovedMessage | DeliveryCustomTypeRemovedMessage | DeliveryCustomTypeSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | DiscountCodeCreatedMessage | DiscountCodeDeletedMessage | DiscountCodeKeySetMessage | InventoryEntryCreatedMessage | InventoryEntryDeletedMessage | InventoryEntryQuantitySetMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderBusinessUnitSetMessage | OrderCreatedMessage | OrderCustomFieldAddedMessage | OrderCustomFieldChangedMessage | OrderCustomFieldRemovedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomTypeRemovedMessage | OrderCustomTypeSetMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderMessage | OrderPaymentAddedMessage | OrderPaymentStateChangedMessage | OrderPurchaseOrderNumberSetMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | PaymentCreatedMessage | PaymentInteractionAddedMessage | PaymentStatusInterfaceCodeSetMessage | PaymentStatusStateTransitionMessage | PaymentTransactionAddedMessage | PaymentTransactionStateChangedMessage | ProductAddedToCategoryMessage | ProductCreatedMessage | ProductDeletedMessage | ProductImageAddedMessage | ProductPriceAddedMessage | ProductPriceChangedMessage | ProductPriceCustomFieldAddedMessage | ProductPriceCustomFieldChangedMessage | ProductPriceCustomFieldRemovedMessage | ProductPriceCustomFieldsRemovedMessage | ProductPriceCustomFieldsSetMessage | ProductPriceDiscountsSetMessage | ProductPriceExternalDiscountSetMessage | ProductPriceKeySetMessage | ProductPriceModeSetMessage | ProductPriceRemovedMessage | ProductPricesSetMessage | ProductPublishedMessage | ProductRemovedFromCategoryMessage | ProductRevertedStagedChangesMessage | ProductSelectionCreatedMessage | ProductSelectionDeletedMessage | ProductSelectionProductAddedMessage | ProductSelectionProductExcludedMessage | ProductSelectionProductRemovedMessage | ProductSelectionVariantExclusionChangedMessage | ProductSelectionVariantSelectionChangedMessage | ProductSlugChangedMessage | ProductStateTransitionMessage | ProductTailoringCreatedMessage | ProductTailoringDeletedMessage | ProductTailoringDescriptionSetMessage | ProductTailoringImageAddedMessage | ProductTailoringImagesSetMessage | ProductTailoringNameSetMessage | ProductTailoringPublishedMessage | ProductTailoringSlugSetMessage | ProductTailoringUnpublishedMessage | ProductUnpublishedMessage | ProductVariantAddedMessage | ProductVariantDeletedMessage | ProductVariantTailoringAddedMessage | ProductVariantTailoringRemovedMessage | QuoteCreatedMessage | QuoteCustomerChangedMessage | QuoteDeletedMessage | QuoteRenegotiationRequestedMessage | QuoteRequestCreatedMessage | QuoteRequestCustomerChangedMessage | QuoteRequestDeletedMessage | QuoteRequestStateChangedMessage | QuoteRequestStateTransitionMessage | QuoteStateChangedMessage | QuoteStateTransitionMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage | ReviewCreatedMessage | ReviewRatingSetMessage | ReviewStateTransitionMessage | ShoppingListLineItemAddedMessage | ShoppingListLineItemRemovedMessage | ShoppingListMessage | StagedQuoteCreatedMessage | StagedQuoteDeletedMessage | StagedQuoteSellerCommentSetMessage | StagedQuoteStateChangedMessage | StagedQuoteStateTransitionMessage | StagedQuoteValidToSetMessage | StandalonePriceActiveChangedMessage | StandalonePriceCreatedMessage | StandalonePriceDeletedMessage | StandalonePriceDiscountSetMessage | StandalonePriceExternalDiscountSetMessage | StandalonePriceKeySetMessage | StandalonePriceStagedChangesAppliedMessage | StandalonePriceStagedChangesRemovedMessage | StandalonePriceTierAddedMessage | StandalonePriceTierRemovedMessage | StandalonePriceTiersSetMessage | StandalonePriceValidFromAndUntilSetMessage | StandalonePriceValidFromSetMessage | StandalonePriceValidUntilSetMessage | StandalonePriceValueChangedMessage | StoreCountriesChangedMessage | StoreCreatedMessage | StoreDeletedMessage | StoreDistributionChannelsChangedMessage | StoreLanguagesChangedMessage | StoreNameSetMessage | StoreProductSelectionsChangedMessage | StoreSupplyChannelsChangedMessage;
56
56
  export interface IMessage {
57
57
  /**
58
58
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4062,6 +4062,170 @@ export interface BusinessUnitStoresSetMessage extends IMessage {
4062
4062
  */
4063
4063
  readonly stores: StoreKeyReference[];
4064
4064
  }
4065
+ /**
4066
+ * Generated when a [Business Unit](ctp:api:type:BusinessUnit) `topLevelUnit` is modified due to a hierarchy change after a successful [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) or [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
4067
+ *
4068
+ */
4069
+ export interface BusinessUnitTopLevelUnitSetMessage extends IMessage {
4070
+ readonly type: 'BusinessUnitTopLevelUnitSet';
4071
+ /**
4072
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
4073
+ *
4074
+ */
4075
+ readonly id: string;
4076
+ /**
4077
+ * Version of a resource. In case of Messages, this is always `1`.
4078
+ *
4079
+ */
4080
+ readonly version: number;
4081
+ /**
4082
+ * Date and time (UTC) the Message was generated.
4083
+ *
4084
+ */
4085
+ readonly createdAt: string;
4086
+ /**
4087
+ * Value of `createdAt`.
4088
+ *
4089
+ */
4090
+ readonly lastModifiedAt: string;
4091
+ /**
4092
+ * IDs and references that last modified the Message.
4093
+ *
4094
+ *
4095
+ */
4096
+ readonly lastModifiedBy?: LastModifiedBy;
4097
+ /**
4098
+ * IDs and references that created the Message.
4099
+ *
4100
+ *
4101
+ */
4102
+ readonly createdBy?: CreatedBy;
4103
+ /**
4104
+ * 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.
4105
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
4106
+ *
4107
+ *
4108
+ */
4109
+ readonly sequenceNumber: number;
4110
+ /**
4111
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
4112
+ *
4113
+ *
4114
+ */
4115
+ readonly resource: Reference;
4116
+ /**
4117
+ * Version of the resource on which the change or action was performed.
4118
+ *
4119
+ *
4120
+ */
4121
+ readonly resourceVersion: number;
4122
+ /**
4123
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
4124
+ *
4125
+ *
4126
+ */
4127
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
4128
+ /**
4129
+ * Top-level unit of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) or [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
4130
+ *
4131
+ *
4132
+ */
4133
+ readonly topLevelUnit: BusinessUnitKeyReference;
4134
+ /**
4135
+ * Top-level unit of the [Business Unit](ctp:api:type:BusinessUnit) before the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) or [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
4136
+ *
4137
+ *
4138
+ */
4139
+ readonly oldTopLevelUnit: BusinessUnitKeyReference;
4140
+ }
4141
+ /**
4142
+ * Generated after a successful [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
4143
+ *
4144
+ */
4145
+ export interface BusinessUnitTypeSetMessage extends IMessage {
4146
+ readonly type: 'BusinessUnitTypeSet';
4147
+ /**
4148
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
4149
+ *
4150
+ */
4151
+ readonly id: string;
4152
+ /**
4153
+ * Version of a resource. In case of Messages, this is always `1`.
4154
+ *
4155
+ */
4156
+ readonly version: number;
4157
+ /**
4158
+ * Date and time (UTC) the Message was generated.
4159
+ *
4160
+ */
4161
+ readonly createdAt: string;
4162
+ /**
4163
+ * Value of `createdAt`.
4164
+ *
4165
+ */
4166
+ readonly lastModifiedAt: string;
4167
+ /**
4168
+ * IDs and references that last modified the Message.
4169
+ *
4170
+ *
4171
+ */
4172
+ readonly lastModifiedBy?: LastModifiedBy;
4173
+ /**
4174
+ * IDs and references that created the Message.
4175
+ *
4176
+ *
4177
+ */
4178
+ readonly createdBy?: CreatedBy;
4179
+ /**
4180
+ * 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.
4181
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
4182
+ *
4183
+ *
4184
+ */
4185
+ readonly sequenceNumber: number;
4186
+ /**
4187
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
4188
+ *
4189
+ *
4190
+ */
4191
+ readonly resource: Reference;
4192
+ /**
4193
+ * Version of the resource on which the change or action was performed.
4194
+ *
4195
+ *
4196
+ */
4197
+ readonly resourceVersion: number;
4198
+ /**
4199
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
4200
+ *
4201
+ *
4202
+ */
4203
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
4204
+ /**
4205
+ * Parent unit of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
4206
+ *
4207
+ *
4208
+ */
4209
+ readonly parentUnit?: BusinessUnitKeyReference;
4210
+ /**
4211
+ * Parent unit of the [Business Unit](ctp:api:type:BusinessUnit) before the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
4212
+ *
4213
+ *
4214
+ */
4215
+ readonly oldParentUnit?: BusinessUnitKeyReference;
4216
+ /**
4217
+ * Type of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
4218
+ *
4219
+ *
4220
+ */
4221
+ readonly unitType: BusinessUnitType;
4222
+ /**
4223
+ * Type of the [Business Unit](ctp:api:type:BusinessUnit) before the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
4224
+ *
4225
+ *
4226
+ */
4227
+ readonly oldUnitType: BusinessUnitType;
4228
+ }
4065
4229
  /**
4066
4230
  * Generated after a successful [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) request.
4067
4231
  *
@@ -6094,6 +6258,216 @@ export interface CustomerFirstNameSetMessage extends IMessage {
6094
6258
  */
6095
6259
  readonly firstName?: string;
6096
6260
  }
6261
+ /**
6262
+ * Generated after a successful [Add CustomerGroupAssignment](ctp:api:type:CustomerAddCustomerGroupAssignmentAction) update action.
6263
+ *
6264
+ */
6265
+ export interface CustomerGroupAssignmentAddedMessage extends IMessage {
6266
+ readonly type: 'CustomerGroupAssignmentAdded';
6267
+ /**
6268
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
6269
+ *
6270
+ */
6271
+ readonly id: string;
6272
+ /**
6273
+ * Version of a resource. In case of Messages, this is always `1`.
6274
+ *
6275
+ */
6276
+ readonly version: number;
6277
+ /**
6278
+ * Date and time (UTC) the Message was generated.
6279
+ *
6280
+ */
6281
+ readonly createdAt: string;
6282
+ /**
6283
+ * Value of `createdAt`.
6284
+ *
6285
+ */
6286
+ readonly lastModifiedAt: string;
6287
+ /**
6288
+ * IDs and references that last modified the Message.
6289
+ *
6290
+ *
6291
+ */
6292
+ readonly lastModifiedBy?: LastModifiedBy;
6293
+ /**
6294
+ * IDs and references that created the Message.
6295
+ *
6296
+ *
6297
+ */
6298
+ readonly createdBy?: CreatedBy;
6299
+ /**
6300
+ * 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.
6301
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
6302
+ *
6303
+ *
6304
+ */
6305
+ readonly sequenceNumber: number;
6306
+ /**
6307
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
6308
+ *
6309
+ *
6310
+ */
6311
+ readonly resource: Reference;
6312
+ /**
6313
+ * Version of the resource on which the change or action was performed.
6314
+ *
6315
+ *
6316
+ */
6317
+ readonly resourceVersion: number;
6318
+ /**
6319
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
6320
+ *
6321
+ *
6322
+ */
6323
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
6324
+ /**
6325
+ * Customer Group assigned to the Customer during the [Add CustomerGroupAssignment](ctp:api:type:CustomerAddCustomerGroupAssignmentAction) update action.
6326
+ *
6327
+ *
6328
+ */
6329
+ readonly customerGroupAssignment: CustomerGroupAssignment;
6330
+ }
6331
+ /**
6332
+ * Generated after a successful [Remove CustomerGroupAssignment](ctp:api:type:CustomerRemoveCustomerGroupAssignmentAction) update action.
6333
+ *
6334
+ */
6335
+ export interface CustomerGroupAssignmentRemovedMessage extends IMessage {
6336
+ readonly type: 'CustomerGroupAssignmentRemoved';
6337
+ /**
6338
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
6339
+ *
6340
+ */
6341
+ readonly id: string;
6342
+ /**
6343
+ * Version of a resource. In case of Messages, this is always `1`.
6344
+ *
6345
+ */
6346
+ readonly version: number;
6347
+ /**
6348
+ * Date and time (UTC) the Message was generated.
6349
+ *
6350
+ */
6351
+ readonly createdAt: string;
6352
+ /**
6353
+ * Value of `createdAt`.
6354
+ *
6355
+ */
6356
+ readonly lastModifiedAt: string;
6357
+ /**
6358
+ * IDs and references that last modified the Message.
6359
+ *
6360
+ *
6361
+ */
6362
+ readonly lastModifiedBy?: LastModifiedBy;
6363
+ /**
6364
+ * IDs and references that created the Message.
6365
+ *
6366
+ *
6367
+ */
6368
+ readonly createdBy?: CreatedBy;
6369
+ /**
6370
+ * 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.
6371
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
6372
+ *
6373
+ *
6374
+ */
6375
+ readonly sequenceNumber: number;
6376
+ /**
6377
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
6378
+ *
6379
+ *
6380
+ */
6381
+ readonly resource: Reference;
6382
+ /**
6383
+ * Version of the resource on which the change or action was performed.
6384
+ *
6385
+ *
6386
+ */
6387
+ readonly resourceVersion: number;
6388
+ /**
6389
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
6390
+ *
6391
+ *
6392
+ */
6393
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
6394
+ /**
6395
+ * Customer Group removed during the [Remove CustomerGroupAssignment](ctp:api:type:CustomerRemoveCustomerGroupAssignmentAction) update action.
6396
+ *
6397
+ *
6398
+ */
6399
+ readonly customerGroupAssignment: CustomerGroupAssignment;
6400
+ }
6401
+ /**
6402
+ * Generated after a successful [Set CustomerGroupAssignments](ctp:api:type:CustomerSetCustomerGroupAssignmentsAction) update action.
6403
+ *
6404
+ */
6405
+ export interface CustomerGroupAssignmentsSetMessage extends IMessage {
6406
+ readonly type: 'CustomerGroupAssignmentsSet';
6407
+ /**
6408
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
6409
+ *
6410
+ */
6411
+ readonly id: string;
6412
+ /**
6413
+ * Version of a resource. In case of Messages, this is always `1`.
6414
+ *
6415
+ */
6416
+ readonly version: number;
6417
+ /**
6418
+ * Date and time (UTC) the Message was generated.
6419
+ *
6420
+ */
6421
+ readonly createdAt: string;
6422
+ /**
6423
+ * Value of `createdAt`.
6424
+ *
6425
+ */
6426
+ readonly lastModifiedAt: string;
6427
+ /**
6428
+ * IDs and references that last modified the Message.
6429
+ *
6430
+ *
6431
+ */
6432
+ readonly lastModifiedBy?: LastModifiedBy;
6433
+ /**
6434
+ * IDs and references that created the Message.
6435
+ *
6436
+ *
6437
+ */
6438
+ readonly createdBy?: CreatedBy;
6439
+ /**
6440
+ * 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.
6441
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
6442
+ *
6443
+ *
6444
+ */
6445
+ readonly sequenceNumber: number;
6446
+ /**
6447
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
6448
+ *
6449
+ *
6450
+ */
6451
+ readonly resource: Reference;
6452
+ /**
6453
+ * Version of the resource on which the change or action was performed.
6454
+ *
6455
+ *
6456
+ */
6457
+ readonly resourceVersion: number;
6458
+ /**
6459
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
6460
+ *
6461
+ *
6462
+ */
6463
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
6464
+ /**
6465
+ * Customer Groups assigned to the Customer during the [Set CustomerGroupAssignments](ctp:api:type:CustomerSetCustomerGroupAssignmentsAction) update action.
6466
+ *
6467
+ *
6468
+ */
6469
+ readonly customerGroupAssignments?: CustomerGroupAssignment[];
6470
+ }
6097
6471
  /**
6098
6472
  * Generated after adding a Custom Field to a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action.
6099
6473
  * If a Custom Field already exists with the same name, a [CustomerGroupCustomFieldChanged](ctp:api:type:CustomerGroupCustomFieldChangedMessage) Message is generated instead.
@@ -7350,7 +7724,7 @@ export interface MessagesConfigurationDraft {
7350
7724
  */
7351
7725
  readonly deleteDaysAfterCreation: number;
7352
7726
  }
7353
- export type OrderMessage = CustomLineItemStateTransitionMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryCustomFieldAddedMessage | DeliveryCustomFieldChangedMessage | DeliveryCustomFieldRemovedMessage | DeliveryCustomTypeRemovedMessage | DeliveryCustomTypeSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderCreatedMessage | OrderCustomFieldAddedMessage | OrderCustomFieldChangedMessage | OrderCustomFieldRemovedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomTypeRemovedMessage | OrderCustomTypeSetMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderPaymentStateChangedMessage | OrderPurchaseOrderNumberSetMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage;
7727
+ export type OrderMessage = CustomLineItemStateTransitionMessage | DeliveryAddedMessage | DeliveryAddressSetMessage | DeliveryCustomFieldAddedMessage | DeliveryCustomFieldChangedMessage | DeliveryCustomFieldRemovedMessage | DeliveryCustomTypeRemovedMessage | DeliveryCustomTypeSetMessage | DeliveryItemsUpdatedMessage | DeliveryRemovedMessage | LineItemStateTransitionMessage | OrderBillingAddressSetMessage | OrderBusinessUnitSetMessage | OrderCreatedMessage | OrderCustomFieldAddedMessage | OrderCustomFieldChangedMessage | OrderCustomFieldRemovedMessage | OrderCustomLineItemAddedMessage | OrderCustomLineItemDiscountSetMessage | OrderCustomLineItemQuantityChangedMessage | OrderCustomLineItemRemovedMessage | OrderCustomTypeRemovedMessage | OrderCustomTypeSetMessage | OrderCustomerEmailSetMessage | OrderCustomerGroupSetMessage | OrderCustomerSetMessage | OrderDeletedMessage | OrderDiscountCodeAddedMessage | OrderDiscountCodeRemovedMessage | OrderDiscountCodeStateSetMessage | OrderEditAppliedMessage | OrderImportedMessage | OrderLineItemAddedMessage | OrderLineItemDiscountSetMessage | OrderLineItemDistributionChannelSetMessage | OrderLineItemRemovedMessage | OrderPaymentStateChangedMessage | OrderPurchaseOrderNumberSetMessage | OrderReturnShipmentStateChangedMessage | OrderShipmentStateChangedMessage | OrderShippingAddressSetMessage | OrderShippingInfoSetMessage | OrderShippingRateInputSetMessage | OrderStateChangedMessage | OrderStateTransitionMessage | OrderStoreSetMessage | ParcelAddedToDeliveryMessage | ParcelItemsUpdatedMessage | ParcelMeasurementsUpdatedMessage | ParcelRemovedFromDeliveryMessage | ParcelTrackingDataUpdatedMessage | ReturnInfoAddedMessage | ReturnInfoSetMessage;
7354
7728
  export interface IOrderMessage {
7355
7729
  /**
7356
7730
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8423,6 +8797,82 @@ export interface OrderBillingAddressSetMessage extends IOrderMessage {
8423
8797
  */
8424
8798
  readonly oldAddress?: Address;
8425
8799
  }
8800
+ /**
8801
+ * Generated after a successful [Set Business Unit](ctp:api:type:OrderSetBusinessUnitAction) update action on Orders or [Set Business Unit](ctp:api:type:StagedOrderSetBusinessUnitAction) update action on Order Edits.
8802
+ *
8803
+ */
8804
+ export interface OrderBusinessUnitSetMessage extends IOrderMessage {
8805
+ readonly type: 'OrderBusinessUnitSet';
8806
+ /**
8807
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
8808
+ *
8809
+ */
8810
+ readonly id: string;
8811
+ /**
8812
+ * Version of a resource. In case of Messages, this is always `1`.
8813
+ *
8814
+ */
8815
+ readonly version: number;
8816
+ /**
8817
+ * Date and time (UTC) the Message was generated.
8818
+ *
8819
+ */
8820
+ readonly createdAt: string;
8821
+ /**
8822
+ * Value of `createdAt`.
8823
+ *
8824
+ */
8825
+ readonly lastModifiedAt: string;
8826
+ /**
8827
+ * IDs and references that last modified the Message.
8828
+ *
8829
+ *
8830
+ */
8831
+ readonly lastModifiedBy?: LastModifiedBy;
8832
+ /**
8833
+ * IDs and references that created the Message.
8834
+ *
8835
+ *
8836
+ */
8837
+ readonly createdBy?: CreatedBy;
8838
+ /**
8839
+ * 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.
8840
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
8841
+ *
8842
+ *
8843
+ */
8844
+ readonly sequenceNumber: number;
8845
+ /**
8846
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
8847
+ *
8848
+ *
8849
+ */
8850
+ readonly resource: Reference;
8851
+ /**
8852
+ * Version of the resource on which the change or action was performed.
8853
+ *
8854
+ *
8855
+ */
8856
+ readonly resourceVersion: number;
8857
+ /**
8858
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
8859
+ *
8860
+ *
8861
+ */
8862
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
8863
+ /**
8864
+ * [BusinessUnit](ctp:api:type:BusinessUnit) on the [Order](ctp:api:type:Order) after the [Set Business Unit](ctp:api:type:OrderSetBusinessUnitAction) update action on Orders or [Set Business Unit](ctp:api:type:StagedOrderSetBusinessUnitAction) update action on Order Edits.
8865
+ *
8866
+ *
8867
+ */
8868
+ readonly businessUnit?: BusinessUnitKeyReference;
8869
+ /**
8870
+ * [BusinessUnit](ctp:api:type:BusinessUnit) on the [Order](ctp:api:type:Order) before the [Set Business Unit](ctp:api:type:OrderSetBusinessUnitAction) update action on Orders or [Set Business Unit](ctp:api:type:StagedOrderSetBusinessUnitAction) update action on Order Edits.
8871
+ *
8872
+ *
8873
+ */
8874
+ readonly oldbusinessUnit?: BusinessUnitKeyReference;
8875
+ }
8426
8876
  /**
8427
8877
  * Generated after a successful [Create Order](ctp:api:endpoint:/{projectKey}/orders:POST) request.
8428
8878
  *
@@ -19215,7 +19665,7 @@ export interface UserProvidedIdentifiers {
19215
19665
  */
19216
19666
  readonly containerAndKey?: ContainerAndKey;
19217
19667
  }
19218
- export type MessagePayload = ApprovalFlowApprovedMessagePayload | ApprovalFlowCompletedMessagePayload | ApprovalFlowCreatedMessagePayload | ApprovalFlowRejectedMessagePayload | ApprovalRuleApproversSetMessagePayload | ApprovalRuleCreatedMessagePayload | ApprovalRuleDescriptionSetMessagePayload | ApprovalRuleKeySetMessagePayload | ApprovalRuleNameSetMessagePayload | ApprovalRulePredicateSetMessagePayload | ApprovalRuleRequestersSetMessagePayload | ApprovalRuleStatusSetMessagePayload | AssociateRoleBuyerAssignableChangedMessagePayload | AssociateRoleCreatedMessagePayload | AssociateRoleDeletedMessagePayload | AssociateRoleNameSetMessagePayload | AssociateRolePermissionAddedMessagePayload | AssociateRolePermissionRemovedMessagePayload | AssociateRolePermissionsSetMessagePayload | BusinessUnitAddressAddedMessagePayload | BusinessUnitAddressChangedMessagePayload | BusinessUnitAddressCustomFieldAddedMessagePayload | BusinessUnitAddressCustomFieldChangedMessagePayload | BusinessUnitAddressCustomFieldRemovedMessagePayload | BusinessUnitAddressCustomTypeRemovedMessagePayload | BusinessUnitAddressCustomTypeSetMessagePayload | BusinessUnitAddressRemovedMessagePayload | BusinessUnitApprovalRuleModeChangedMessagePayload | BusinessUnitAssociateAddedMessagePayload | BusinessUnitAssociateChangedMessagePayload | BusinessUnitAssociateModeChangedMessagePayload | BusinessUnitAssociateRemovedMessagePayload | BusinessUnitAssociatesSetMessagePayload | BusinessUnitBillingAddressAddedMessagePayload | BusinessUnitBillingAddressRemovedMessagePayload | BusinessUnitContactEmailSetMessagePayload | BusinessUnitCreatedMessagePayload | BusinessUnitCustomFieldAddedMessagePayload | BusinessUnitCustomFieldChangedMessagePayload | BusinessUnitCustomFieldRemovedMessagePayload | BusinessUnitCustomTypeRemovedMessagePayload | BusinessUnitCustomTypeSetMessagePayload | BusinessUnitDefaultBillingAddressSetMessagePayload | BusinessUnitDefaultShippingAddressSetMessagePayload | BusinessUnitDeletedMessagePayload | BusinessUnitNameChangedMessagePayload | BusinessUnitParentChangedMessagePayload | BusinessUnitShippingAddressAddedMessagePayload | BusinessUnitShippingAddressRemovedMessagePayload | BusinessUnitStatusChangedMessagePayload | BusinessUnitStoreAddedMessagePayload | BusinessUnitStoreModeChangedMessagePayload | BusinessUnitStoreRemovedMessagePayload | BusinessUnitStoresSetMessagePayload | CartDiscountCreatedMessagePayload | CartDiscountDeletedMessagePayload | CartDiscountStoreAddedMessagePayload | CartDiscountStoreRemovedMessagePayload | CartDiscountStoresSetMessagePayload | CategoryCreatedMessagePayload | CategorySlugChangedMessagePayload | CustomLineItemStateTransitionMessagePayload | CustomerAddressAddedMessagePayload | CustomerAddressChangedMessagePayload | CustomerAddressCustomFieldAddedMessagePayload | CustomerAddressCustomFieldChangedMessagePayload | CustomerAddressCustomFieldRemovedMessagePayload | CustomerAddressCustomTypeRemovedMessagePayload | CustomerAddressCustomTypeSetMessagePayload | CustomerAddressRemovedMessagePayload | CustomerCompanyNameSetMessagePayload | CustomerCreatedMessagePayload | CustomerCustomFieldAddedMessagePayload | CustomerCustomFieldChangedMessagePayload | CustomerCustomFieldRemovedMessagePayload | CustomerCustomTypeRemovedMessagePayload | CustomerCustomTypeSetMessagePayload | CustomerDateOfBirthSetMessagePayload | CustomerDeletedMessagePayload | CustomerEmailChangedMessagePayload | CustomerEmailTokenCreatedMessagePayload | CustomerEmailVerifiedMessagePayload | CustomerFirstNameSetMessagePayload | CustomerGroupCustomFieldAddedMessagePayload | CustomerGroupCustomFieldChangedMessagePayload | CustomerGroupCustomFieldRemovedMessagePayload | CustomerGroupCustomTypeRemovedMessagePayload | CustomerGroupCustomTypeSetMessagePayload | CustomerGroupSetMessagePayload | CustomerLastNameSetMessagePayload | CustomerPasswordTokenCreatedMessagePayload | CustomerPasswordUpdatedMessagePayload | CustomerTitleSetMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryCustomFieldAddedMessagePayload | DeliveryCustomFieldChangedMessagePayload | DeliveryCustomFieldRemovedMessagePayload | DeliveryCustomTypeRemovedMessagePayload | DeliveryCustomTypeSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | DiscountCodeCreatedMessagePayload | DiscountCodeDeletedMessagePayload | DiscountCodeKeySetMessagePayload | InventoryEntryCreatedMessagePayload | InventoryEntryDeletedMessagePayload | InventoryEntryQuantitySetMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderCreatedMessagePayload | OrderCustomFieldAddedMessagePayload | OrderCustomFieldChangedMessagePayload | OrderCustomFieldRemovedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomTypeRemovedMessagePayload | OrderCustomTypeSetMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderMessagePayload | OrderPaymentAddedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderPurchaseOrderNumberSetMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | PaymentCreatedMessagePayload | PaymentInteractionAddedMessagePayload | PaymentStatusInterfaceCodeSetMessagePayload | PaymentStatusStateTransitionMessagePayload | PaymentTransactionAddedMessagePayload | PaymentTransactionStateChangedMessagePayload | ProductAddedToCategoryMessagePayload | ProductCreatedMessagePayload | ProductDeletedMessagePayload | ProductImageAddedMessagePayload | ProductPriceAddedMessagePayload | ProductPriceChangedMessagePayload | ProductPriceCustomFieldAddedMessagePayload | ProductPriceCustomFieldChangedMessagePayload | ProductPriceCustomFieldRemovedMessagePayload | ProductPriceCustomFieldsRemovedMessagePayload | ProductPriceCustomFieldsSetMessagePayload | ProductPriceDiscountsSetMessagePayload | ProductPriceExternalDiscountSetMessagePayload | ProductPriceKeySetMessagePayload | ProductPriceModeSetMessagePayload | ProductPriceRemovedMessagePayload | ProductPricesSetMessagePayload | ProductPublishedMessagePayload | ProductRemovedFromCategoryMessagePayload | ProductRevertedStagedChangesMessagePayload | ProductSelectionCreatedMessagePayload | ProductSelectionDeletedMessagePayload | ProductSelectionProductAddedMessagePayload | ProductSelectionProductExcludedMessagePayload | ProductSelectionProductRemovedMessagePayload | ProductSelectionVariantExclusionChangedMessagePayload | ProductSelectionVariantSelectionChangedMessagePayload | ProductSlugChangedMessagePayload | ProductStateTransitionMessagePayload | ProductTailoringCreatedMessagePayload | ProductTailoringDeletedMessagePayload | ProductTailoringDescriptionSetMessagePayload | ProductTailoringImageAddedMessagePayload | ProductTailoringImagesSetMessagePayload | ProductTailoringNameSetMessagePayload | ProductTailoringPublishedMessagePayload | ProductTailoringSlugSetMessagePayload | ProductTailoringUnpublishedMessagePayload | ProductUnpublishedMessagePayload | ProductVariantAddedMessagePayload | ProductVariantDeletedMessagePayload | ProductVariantTailoringAddedMessagePayload | ProductVariantTailoringRemovedMessagePayload | QuoteCreatedMessagePayload | QuoteCustomerChangedMessagePayload | QuoteDeletedMessagePayload | QuoteRenegotiationRequestedMessagePayload | QuoteRequestCreatedMessagePayload | QuoteRequestCustomerChangedMessagePayload | QuoteRequestDeletedMessagePayload | QuoteRequestStateChangedMessagePayload | QuoteRequestStateTransitionMessagePayload | QuoteStateChangedMessagePayload | QuoteStateTransitionMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload | ReviewCreatedMessagePayload | ReviewRatingSetMessagePayload | ReviewStateTransitionMessagePayload | ShoppingListLineItemAddedMessagePayload | ShoppingListLineItemRemovedMessagePayload | ShoppingListMessagePayload | ShoppingListStoreSetMessagePayload | StagedQuoteCreatedMessagePayload | StagedQuoteDeletedMessagePayload | StagedQuoteSellerCommentSetMessagePayload | StagedQuoteStateChangedMessagePayload | StagedQuoteStateTransitionMessagePayload | StagedQuoteValidToSetMessagePayload | StandalonePriceActiveChangedMessagePayload | StandalonePriceCreatedMessagePayload | StandalonePriceDeletedMessagePayload | StandalonePriceDiscountSetMessagePayload | StandalonePriceExternalDiscountSetMessagePayload | StandalonePriceKeySetMessagePayload | StandalonePriceStagedChangesAppliedMessagePayload | StandalonePriceStagedChangesRemovedMessagePayload | StandalonePriceTierAddedMessagePayload | StandalonePriceTierRemovedMessagePayload | StandalonePriceTiersSetMessagePayload | StandalonePriceValidFromAndUntilSetMessagePayload | StandalonePriceValidFromSetMessagePayload | StandalonePriceValidUntilSetMessagePayload | StandalonePriceValueChangedMessagePayload | StoreCountriesChangedMessagePayload | StoreCreatedMessagePayload | StoreDeletedMessagePayload | StoreDistributionChannelsChangedMessagePayload | StoreLanguagesChangedMessagePayload | StoreNameSetMessagePayload | StoreProductSelectionsChangedMessagePayload | StoreSupplyChannelsChangedMessagePayload;
19668
+ export type MessagePayload = ApprovalFlowApprovedMessagePayload | ApprovalFlowCompletedMessagePayload | ApprovalFlowCreatedMessagePayload | ApprovalFlowRejectedMessagePayload | ApprovalRuleApproversSetMessagePayload | ApprovalRuleCreatedMessagePayload | ApprovalRuleDescriptionSetMessagePayload | ApprovalRuleKeySetMessagePayload | ApprovalRuleNameSetMessagePayload | ApprovalRulePredicateSetMessagePayload | ApprovalRuleRequestersSetMessagePayload | ApprovalRuleStatusSetMessagePayload | AssociateRoleBuyerAssignableChangedMessagePayload | AssociateRoleCreatedMessagePayload | AssociateRoleDeletedMessagePayload | AssociateRoleNameSetMessagePayload | AssociateRolePermissionAddedMessagePayload | AssociateRolePermissionRemovedMessagePayload | AssociateRolePermissionsSetMessagePayload | BusinessUnitAddressAddedMessagePayload | BusinessUnitAddressChangedMessagePayload | BusinessUnitAddressCustomFieldAddedMessagePayload | BusinessUnitAddressCustomFieldChangedMessagePayload | BusinessUnitAddressCustomFieldRemovedMessagePayload | BusinessUnitAddressCustomTypeRemovedMessagePayload | BusinessUnitAddressCustomTypeSetMessagePayload | BusinessUnitAddressRemovedMessagePayload | BusinessUnitApprovalRuleModeChangedMessagePayload | BusinessUnitAssociateAddedMessagePayload | BusinessUnitAssociateChangedMessagePayload | BusinessUnitAssociateModeChangedMessagePayload | BusinessUnitAssociateRemovedMessagePayload | BusinessUnitAssociatesSetMessagePayload | BusinessUnitBillingAddressAddedMessagePayload | BusinessUnitBillingAddressRemovedMessagePayload | BusinessUnitContactEmailSetMessagePayload | BusinessUnitCreatedMessagePayload | BusinessUnitCustomFieldAddedMessagePayload | BusinessUnitCustomFieldChangedMessagePayload | BusinessUnitCustomFieldRemovedMessagePayload | BusinessUnitCustomTypeRemovedMessagePayload | BusinessUnitCustomTypeSetMessagePayload | BusinessUnitDefaultBillingAddressSetMessagePayload | BusinessUnitDefaultShippingAddressSetMessagePayload | BusinessUnitDeletedMessagePayload | BusinessUnitNameChangedMessagePayload | BusinessUnitParentChangedMessagePayload | BusinessUnitShippingAddressAddedMessagePayload | BusinessUnitShippingAddressRemovedMessagePayload | BusinessUnitStatusChangedMessagePayload | BusinessUnitStoreAddedMessagePayload | BusinessUnitStoreModeChangedMessagePayload | BusinessUnitStoreRemovedMessagePayload | BusinessUnitStoresSetMessagePayload | BusinessUnitTopLevelUnitSetMessagePayload | BusinessUnitTypeSetMessagePayload | CartDiscountCreatedMessagePayload | CartDiscountDeletedMessagePayload | CartDiscountStoreAddedMessagePayload | CartDiscountStoreRemovedMessagePayload | CartDiscountStoresSetMessagePayload | CategoryCreatedMessagePayload | CategorySlugChangedMessagePayload | CustomLineItemStateTransitionMessagePayload | CustomerAddressAddedMessagePayload | CustomerAddressChangedMessagePayload | CustomerAddressCustomFieldAddedMessagePayload | CustomerAddressCustomFieldChangedMessagePayload | CustomerAddressCustomFieldRemovedMessagePayload | CustomerAddressCustomTypeRemovedMessagePayload | CustomerAddressCustomTypeSetMessagePayload | CustomerAddressRemovedMessagePayload | CustomerCompanyNameSetMessagePayload | CustomerCreatedMessagePayload | CustomerCustomFieldAddedMessagePayload | CustomerCustomFieldChangedMessagePayload | CustomerCustomFieldRemovedMessagePayload | CustomerCustomTypeRemovedMessagePayload | CustomerCustomTypeSetMessagePayload | CustomerDateOfBirthSetMessagePayload | CustomerDeletedMessagePayload | CustomerEmailChangedMessagePayload | CustomerEmailTokenCreatedMessagePayload | CustomerEmailVerifiedMessagePayload | CustomerFirstNameSetMessagePayload | CustomerGroupAssignmentAddedMessagePayload | CustomerGroupAssignmentRemovedMessagePayload | CustomerGroupAssignmentsSetMessagePayload | CustomerGroupCustomFieldAddedMessagePayload | CustomerGroupCustomFieldChangedMessagePayload | CustomerGroupCustomFieldRemovedMessagePayload | CustomerGroupCustomTypeRemovedMessagePayload | CustomerGroupCustomTypeSetMessagePayload | CustomerGroupSetMessagePayload | CustomerLastNameSetMessagePayload | CustomerPasswordTokenCreatedMessagePayload | CustomerPasswordUpdatedMessagePayload | CustomerTitleSetMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryCustomFieldAddedMessagePayload | DeliveryCustomFieldChangedMessagePayload | DeliveryCustomFieldRemovedMessagePayload | DeliveryCustomTypeRemovedMessagePayload | DeliveryCustomTypeSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | DiscountCodeCreatedMessagePayload | DiscountCodeDeletedMessagePayload | DiscountCodeKeySetMessagePayload | InventoryEntryCreatedMessagePayload | InventoryEntryDeletedMessagePayload | InventoryEntryQuantitySetMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderBusinessUnitSetMessagePayload | OrderCreatedMessagePayload | OrderCustomFieldAddedMessagePayload | OrderCustomFieldChangedMessagePayload | OrderCustomFieldRemovedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomTypeRemovedMessagePayload | OrderCustomTypeSetMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderMessagePayload | OrderPaymentAddedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderPurchaseOrderNumberSetMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | PaymentCreatedMessagePayload | PaymentInteractionAddedMessagePayload | PaymentStatusInterfaceCodeSetMessagePayload | PaymentStatusStateTransitionMessagePayload | PaymentTransactionAddedMessagePayload | PaymentTransactionStateChangedMessagePayload | ProductAddedToCategoryMessagePayload | ProductCreatedMessagePayload | ProductDeletedMessagePayload | ProductImageAddedMessagePayload | ProductPriceAddedMessagePayload | ProductPriceChangedMessagePayload | ProductPriceCustomFieldAddedMessagePayload | ProductPriceCustomFieldChangedMessagePayload | ProductPriceCustomFieldRemovedMessagePayload | ProductPriceCustomFieldsRemovedMessagePayload | ProductPriceCustomFieldsSetMessagePayload | ProductPriceDiscountsSetMessagePayload | ProductPriceExternalDiscountSetMessagePayload | ProductPriceKeySetMessagePayload | ProductPriceModeSetMessagePayload | ProductPriceRemovedMessagePayload | ProductPricesSetMessagePayload | ProductPublishedMessagePayload | ProductRemovedFromCategoryMessagePayload | ProductRevertedStagedChangesMessagePayload | ProductSelectionCreatedMessagePayload | ProductSelectionDeletedMessagePayload | ProductSelectionProductAddedMessagePayload | ProductSelectionProductExcludedMessagePayload | ProductSelectionProductRemovedMessagePayload | ProductSelectionVariantExclusionChangedMessagePayload | ProductSelectionVariantSelectionChangedMessagePayload | ProductSlugChangedMessagePayload | ProductStateTransitionMessagePayload | ProductTailoringCreatedMessagePayload | ProductTailoringDeletedMessagePayload | ProductTailoringDescriptionSetMessagePayload | ProductTailoringImageAddedMessagePayload | ProductTailoringImagesSetMessagePayload | ProductTailoringNameSetMessagePayload | ProductTailoringPublishedMessagePayload | ProductTailoringSlugSetMessagePayload | ProductTailoringUnpublishedMessagePayload | ProductUnpublishedMessagePayload | ProductVariantAddedMessagePayload | ProductVariantDeletedMessagePayload | ProductVariantTailoringAddedMessagePayload | ProductVariantTailoringRemovedMessagePayload | QuoteCreatedMessagePayload | QuoteCustomerChangedMessagePayload | QuoteDeletedMessagePayload | QuoteRenegotiationRequestedMessagePayload | QuoteRequestCreatedMessagePayload | QuoteRequestCustomerChangedMessagePayload | QuoteRequestDeletedMessagePayload | QuoteRequestStateChangedMessagePayload | QuoteRequestStateTransitionMessagePayload | QuoteStateChangedMessagePayload | QuoteStateTransitionMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload | ReviewCreatedMessagePayload | ReviewRatingSetMessagePayload | ReviewStateTransitionMessagePayload | ShoppingListLineItemAddedMessagePayload | ShoppingListLineItemRemovedMessagePayload | ShoppingListMessagePayload | ShoppingListStoreSetMessagePayload | StagedQuoteCreatedMessagePayload | StagedQuoteDeletedMessagePayload | StagedQuoteSellerCommentSetMessagePayload | StagedQuoteStateChangedMessagePayload | StagedQuoteStateTransitionMessagePayload | StagedQuoteValidToSetMessagePayload | StandalonePriceActiveChangedMessagePayload | StandalonePriceCreatedMessagePayload | StandalonePriceDeletedMessagePayload | StandalonePriceDiscountSetMessagePayload | StandalonePriceExternalDiscountSetMessagePayload | StandalonePriceKeySetMessagePayload | StandalonePriceStagedChangesAppliedMessagePayload | StandalonePriceStagedChangesRemovedMessagePayload | StandalonePriceTierAddedMessagePayload | StandalonePriceTierRemovedMessagePayload | StandalonePriceTiersSetMessagePayload | StandalonePriceValidFromAndUntilSetMessagePayload | StandalonePriceValidFromSetMessagePayload | StandalonePriceValidUntilSetMessagePayload | StandalonePriceValueChangedMessagePayload | StoreCountriesChangedMessagePayload | StoreCreatedMessagePayload | StoreDeletedMessagePayload | StoreDistributionChannelsChangedMessagePayload | StoreLanguagesChangedMessagePayload | StoreNameSetMessagePayload | StoreProductSelectionsChangedMessagePayload | StoreSupplyChannelsChangedMessagePayload;
19219
19669
  export interface IMessagePayload {
19220
19670
  /**
19221
19671
  *
@@ -20088,6 +20538,56 @@ export interface BusinessUnitStoresSetMessagePayload extends IMessagePayload {
20088
20538
  */
20089
20539
  readonly stores: StoreKeyReference[];
20090
20540
  }
20541
+ /**
20542
+ * Generated when a [Business Unit](ctp:api:type:BusinessUnit) `topLevelUnit` is modified due to a hierarchy change after a successful [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) or [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
20543
+ *
20544
+ */
20545
+ export interface BusinessUnitTopLevelUnitSetMessagePayload extends IMessagePayload {
20546
+ readonly type: 'BusinessUnitTopLevelUnitSet';
20547
+ /**
20548
+ * Top-level unit of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) or [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
20549
+ *
20550
+ *
20551
+ */
20552
+ readonly topLevelUnit: BusinessUnitKeyReference;
20553
+ /**
20554
+ * Top-level unit of the [Business Unit](ctp:api:type:BusinessUnit) before the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) or [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
20555
+ *
20556
+ *
20557
+ */
20558
+ readonly oldTopLevelUnit: BusinessUnitKeyReference;
20559
+ }
20560
+ /**
20561
+ * Generated after a successful [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
20562
+ *
20563
+ */
20564
+ export interface BusinessUnitTypeSetMessagePayload extends IMessagePayload {
20565
+ readonly type: 'BusinessUnitTypeSet';
20566
+ /**
20567
+ * Parent unit of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
20568
+ *
20569
+ *
20570
+ */
20571
+ readonly parentUnit?: BusinessUnitKeyReference;
20572
+ /**
20573
+ * Parent unit of the [Business Unit](ctp:api:type:BusinessUnit) before the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
20574
+ *
20575
+ *
20576
+ */
20577
+ readonly oldParentUnit?: BusinessUnitKeyReference;
20578
+ /**
20579
+ * Type of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
20580
+ *
20581
+ *
20582
+ */
20583
+ readonly unitType: BusinessUnitType;
20584
+ /**
20585
+ * Type of the [Business Unit](ctp:api:type:BusinessUnit) before the [Set Unit Type](ctp:api:type:BusinessUnitSetUnitTypeAction) update action.
20586
+ *
20587
+ *
20588
+ */
20589
+ readonly oldUnitType: BusinessUnitType;
20590
+ }
20091
20591
  /**
20092
20592
  * Generated after a successful [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) request.
20093
20593
  *
@@ -20524,6 +21024,45 @@ export interface CustomerFirstNameSetMessagePayload extends IMessagePayload {
20524
21024
  */
20525
21025
  readonly firstName?: string;
20526
21026
  }
21027
+ /**
21028
+ * Generated after a successful [Add CustomerGroupAssignment](ctp:api:type:CustomerAddCustomerGroupAssignmentAction) update action.
21029
+ *
21030
+ */
21031
+ export interface CustomerGroupAssignmentAddedMessagePayload extends IMessagePayload {
21032
+ readonly type: 'CustomerGroupAssignmentAdded';
21033
+ /**
21034
+ * Customer Group assigned to the Customer during the [Add CustomerGroupAssignment](ctp:api:type:CustomerAddCustomerGroupAssignmentAction) update action.
21035
+ *
21036
+ *
21037
+ */
21038
+ readonly customerGroupAssignment: CustomerGroupAssignment;
21039
+ }
21040
+ /**
21041
+ * Generated after a successful [Remove CustomerGroupAssignment](ctp:api:type:CustomerRemoveCustomerGroupAssignmentAction) update action.
21042
+ *
21043
+ */
21044
+ export interface CustomerGroupAssignmentRemovedMessagePayload extends IMessagePayload {
21045
+ readonly type: 'CustomerGroupAssignmentRemoved';
21046
+ /**
21047
+ * Customer Group removed during the [Remove CustomerGroupAssignment](ctp:api:type:CustomerRemoveCustomerGroupAssignmentAction) update action.
21048
+ *
21049
+ *
21050
+ */
21051
+ readonly customerGroupAssignment: CustomerGroupAssignment;
21052
+ }
21053
+ /**
21054
+ * Generated after a successful [Set CustomerGroupAssignments](ctp:api:type:CustomerSetCustomerGroupAssignmentsAction) update action.
21055
+ *
21056
+ */
21057
+ export interface CustomerGroupAssignmentsSetMessagePayload extends IMessagePayload {
21058
+ readonly type: 'CustomerGroupAssignmentsSet';
21059
+ /**
21060
+ * Customer Groups assigned to the Customer during the [Set CustomerGroupAssignments](ctp:api:type:CustomerSetCustomerGroupAssignmentsAction) update action.
21061
+ *
21062
+ *
21063
+ */
21064
+ readonly customerGroupAssignments?: CustomerGroupAssignment[];
21065
+ }
20527
21066
  /**
20528
21067
  * Generated after adding a Custom Field to a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action.
20529
21068
  * If a Custom Field already exists with the same name, a [CustomerGroupCustomFieldChanged](ctp:api:type:CustomerGroupCustomFieldChangedMessage) Message is generated instead.
@@ -20792,7 +21331,7 @@ export interface InventoryEntryQuantitySetMessagePayload extends IMessagePayload
20792
21331
  */
20793
21332
  readonly supplyChannel?: ChannelReference;
20794
21333
  }
20795
- export type OrderMessagePayload = CustomLineItemStateTransitionMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryCustomFieldAddedMessagePayload | DeliveryCustomFieldChangedMessagePayload | DeliveryCustomFieldRemovedMessagePayload | DeliveryCustomTypeRemovedMessagePayload | DeliveryCustomTypeSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderCreatedMessagePayload | OrderCustomFieldAddedMessagePayload | OrderCustomFieldChangedMessagePayload | OrderCustomFieldRemovedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomTypeRemovedMessagePayload | OrderCustomTypeSetMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderPurchaseOrderNumberSetMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload;
21334
+ export type OrderMessagePayload = CustomLineItemStateTransitionMessagePayload | DeliveryAddedMessagePayload | DeliveryAddressSetMessagePayload | DeliveryCustomFieldAddedMessagePayload | DeliveryCustomFieldChangedMessagePayload | DeliveryCustomFieldRemovedMessagePayload | DeliveryCustomTypeRemovedMessagePayload | DeliveryCustomTypeSetMessagePayload | DeliveryItemsUpdatedMessagePayload | DeliveryRemovedMessagePayload | LineItemStateTransitionMessagePayload | OrderBillingAddressSetMessagePayload | OrderBusinessUnitSetMessagePayload | OrderCreatedMessagePayload | OrderCustomFieldAddedMessagePayload | OrderCustomFieldChangedMessagePayload | OrderCustomFieldRemovedMessagePayload | OrderCustomLineItemAddedMessagePayload | OrderCustomLineItemDiscountSetMessagePayload | OrderCustomLineItemQuantityChangedMessagePayload | OrderCustomLineItemRemovedMessagePayload | OrderCustomTypeRemovedMessagePayload | OrderCustomTypeSetMessagePayload | OrderCustomerEmailSetMessagePayload | OrderCustomerGroupSetMessagePayload | OrderCustomerSetMessagePayload | OrderDeletedMessagePayload | OrderDiscountCodeAddedMessagePayload | OrderDiscountCodeRemovedMessagePayload | OrderDiscountCodeStateSetMessagePayload | OrderEditAppliedMessagePayload | OrderImportedMessagePayload | OrderLineItemAddedMessagePayload | OrderLineItemDiscountSetMessagePayload | OrderLineItemDistributionChannelSetMessagePayload | OrderLineItemRemovedMessagePayload | OrderPaymentStateChangedMessagePayload | OrderPurchaseOrderNumberSetMessagePayload | OrderReturnShipmentStateChangedMessagePayload | OrderShipmentStateChangedMessagePayload | OrderShippingAddressSetMessagePayload | OrderShippingInfoSetMessagePayload | OrderShippingRateInputSetMessagePayload | OrderStateChangedMessagePayload | OrderStateTransitionMessagePayload | OrderStoreSetMessagePayload | ParcelAddedToDeliveryMessagePayload | ParcelItemsUpdatedMessagePayload | ParcelMeasurementsUpdatedMessagePayload | ParcelRemovedFromDeliveryMessagePayload | ParcelTrackingDataUpdatedMessagePayload | ReturnInfoAddedMessagePayload | ReturnInfoSetMessagePayload;
20796
21335
  export interface IOrderMessagePayload {
20797
21336
  /**
20798
21337
  *
@@ -21122,6 +21661,25 @@ export interface OrderBillingAddressSetMessagePayload extends IOrderMessagePaylo
21122
21661
  */
21123
21662
  readonly oldAddress?: Address;
21124
21663
  }
21664
+ /**
21665
+ * Generated after a successful [Set Business Unit](ctp:api:type:OrderSetBusinessUnitAction) update action on Orders or [Set Business Unit](ctp:api:type:StagedOrderSetBusinessUnitAction) update action on Order Edits.
21666
+ *
21667
+ */
21668
+ export interface OrderBusinessUnitSetMessagePayload extends IOrderMessagePayload {
21669
+ readonly type: 'OrderBusinessUnitSet';
21670
+ /**
21671
+ * [BusinessUnit](ctp:api:type:BusinessUnit) on the [Order](ctp:api:type:Order) after the [Set Business Unit](ctp:api:type:OrderSetBusinessUnitAction) update action on Orders or [Set Business Unit](ctp:api:type:StagedOrderSetBusinessUnitAction) update action on Order Edits.
21672
+ *
21673
+ *
21674
+ */
21675
+ readonly businessUnit?: BusinessUnitKeyReference;
21676
+ /**
21677
+ * [BusinessUnit](ctp:api:type:BusinessUnit) on the [Order](ctp:api:type:Order) before the [Set Business Unit](ctp:api:type:OrderSetBusinessUnitAction) update action on Orders or [Set Business Unit](ctp:api:type:StagedOrderSetBusinessUnitAction) update action on Order Edits.
21678
+ *
21679
+ *
21680
+ */
21681
+ readonly oldbusinessUnit?: BusinessUnitKeyReference;
21682
+ }
21125
21683
  /**
21126
21684
  * Generated after a successful [Create Order](ctp:api:endpoint:/{projectKey}/orders:POST) request.
21127
21685
  *