@gradientedge/commercetools-utils 5.30.0 → 5.31.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 (299) hide show
  1. package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
  2. package/dist/cjs/types/models/approval-flow.d.ts +15 -4
  3. package/dist/cjs/types/models/approval-flow.d.ts.map +1 -1
  4. package/dist/cjs/types/models/approval-flow.js +11 -0
  5. package/dist/cjs/types/models/approval-flow.js.map +1 -1
  6. package/dist/cjs/types/models/approval-rule.d.ts +19 -9
  7. package/dist/cjs/types/models/approval-rule.d.ts.map +1 -1
  8. package/dist/cjs/types/models/approval-rule.js +10 -0
  9. package/dist/cjs/types/models/approval-rule.js.map +1 -1
  10. package/dist/cjs/types/models/associate-role.d.ts +58 -11
  11. package/dist/cjs/types/models/associate-role.d.ts.map +1 -1
  12. package/dist/cjs/types/models/associate-role.js +47 -0
  13. package/dist/cjs/types/models/associate-role.js.map +1 -1
  14. package/dist/cjs/types/models/attribute-group.d.ts +15 -9
  15. package/dist/cjs/types/models/attribute-group.d.ts.map +1 -1
  16. package/dist/cjs/types/models/business-unit-search.d.ts +114 -0
  17. package/dist/cjs/types/models/business-unit-search.d.ts.map +1 -0
  18. package/dist/cjs/types/models/business-unit-search.js +8 -0
  19. package/dist/cjs/types/models/business-unit-search.js.map +1 -0
  20. package/dist/cjs/types/models/business-unit.d.ts +349 -35
  21. package/dist/cjs/types/models/business-unit.d.ts.map +1 -1
  22. package/dist/cjs/types/models/business-unit.js +55 -0
  23. package/dist/cjs/types/models/business-unit.js.map +1 -1
  24. package/dist/cjs/types/models/cart-discount.d.ts +218 -36
  25. package/dist/cjs/types/models/cart-discount.d.ts.map +1 -1
  26. package/dist/cjs/types/models/cart-discount.js +29 -0
  27. package/dist/cjs/types/models/cart-discount.js.map +1 -1
  28. package/dist/cjs/types/models/cart.d.ts +178 -88
  29. package/dist/cjs/types/models/cart.d.ts.map +1 -1
  30. package/dist/cjs/types/models/cart.js +127 -0
  31. package/dist/cjs/types/models/cart.js.map +1 -1
  32. package/dist/cjs/types/models/category.d.ts +32 -26
  33. package/dist/cjs/types/models/category.d.ts.map +1 -1
  34. package/dist/cjs/types/models/channel.d.ts +28 -15
  35. package/dist/cjs/types/models/channel.d.ts.map +1 -1
  36. package/dist/cjs/types/models/channel.js +13 -0
  37. package/dist/cjs/types/models/channel.js.map +1 -1
  38. package/dist/cjs/types/models/common.d.ts +167 -5
  39. package/dist/cjs/types/models/common.d.ts.map +1 -1
  40. package/dist/cjs/types/models/common.js +61 -0
  41. package/dist/cjs/types/models/common.js.map +1 -1
  42. package/dist/cjs/types/models/custom-object.d.ts +2 -2
  43. package/dist/cjs/types/models/custom-object.d.ts.map +1 -1
  44. package/dist/cjs/types/models/customer-group.d.ts +13 -7
  45. package/dist/cjs/types/models/customer-group.d.ts.map +1 -1
  46. package/dist/cjs/types/models/customer.d.ts +53 -39
  47. package/dist/cjs/types/models/customer.d.ts.map +1 -1
  48. package/dist/cjs/types/models/customer.js +11 -0
  49. package/dist/cjs/types/models/customer.js.map +1 -1
  50. package/dist/cjs/types/models/discount-code.d.ts +24 -18
  51. package/dist/cjs/types/models/discount-code.d.ts.map +1 -1
  52. package/dist/cjs/types/models/error.d.ts +193 -167
  53. package/dist/cjs/types/models/error.d.ts.map +1 -1
  54. package/dist/cjs/types/models/extension.d.ts +43 -9
  55. package/dist/cjs/types/models/extension.d.ts.map +1 -1
  56. package/dist/cjs/types/models/extension.js +27 -0
  57. package/dist/cjs/types/models/extension.js.map +1 -1
  58. package/dist/cjs/types/models/index.d.ts +1 -0
  59. package/dist/cjs/types/models/index.d.ts.map +1 -1
  60. package/dist/cjs/types/models/index.js +1 -0
  61. package/dist/cjs/types/models/index.js.map +1 -1
  62. package/dist/cjs/types/models/inventory.d.ts +19 -13
  63. package/dist/cjs/types/models/inventory.d.ts.map +1 -1
  64. package/dist/cjs/types/models/me.d.ts +210 -100
  65. package/dist/cjs/types/models/me.d.ts.map +1 -1
  66. package/dist/cjs/types/models/me.js +10 -0
  67. package/dist/cjs/types/models/me.js.map +1 -1
  68. package/dist/cjs/types/models/message.d.ts +871 -489
  69. package/dist/cjs/types/models/message.d.ts.map +1 -1
  70. package/dist/cjs/types/models/order-edit.d.ts +131 -108
  71. package/dist/cjs/types/models/order-edit.d.ts.map +1 -1
  72. package/dist/cjs/types/models/order.d.ts +211 -69
  73. package/dist/cjs/types/models/order.d.ts.map +1 -1
  74. package/dist/cjs/types/models/order.js +93 -0
  75. package/dist/cjs/types/models/order.js.map +1 -1
  76. package/dist/cjs/types/models/payment.d.ts +42 -23
  77. package/dist/cjs/types/models/payment.d.ts.map +1 -1
  78. package/dist/cjs/types/models/payment.js +20 -0
  79. package/dist/cjs/types/models/payment.js.map +1 -1
  80. package/dist/cjs/types/models/product-discount.d.ts +37 -19
  81. package/dist/cjs/types/models/product-discount.d.ts.map +1 -1
  82. package/dist/cjs/types/models/product-search.d.ts +43 -14
  83. package/dist/cjs/types/models/product-search.d.ts.map +1 -1
  84. package/dist/cjs/types/models/product-search.js +16 -0
  85. package/dist/cjs/types/models/product-search.js.map +1 -1
  86. package/dist/cjs/types/models/product-selection.d.ts +42 -16
  87. package/dist/cjs/types/models/product-selection.d.ts.map +1 -1
  88. package/dist/cjs/types/models/product-selection.js +17 -0
  89. package/dist/cjs/types/models/product-selection.js.map +1 -1
  90. package/dist/cjs/types/models/product-tailoring.d.ts +42 -33
  91. package/dist/cjs/types/models/product-tailoring.d.ts.map +1 -1
  92. package/dist/cjs/types/models/product-type.d.ts +83 -40
  93. package/dist/cjs/types/models/product-type.d.ts.map +1 -1
  94. package/dist/cjs/types/models/product-type.js +48 -0
  95. package/dist/cjs/types/models/product-type.js.map +1 -1
  96. package/dist/cjs/types/models/product.d.ts +97 -59
  97. package/dist/cjs/types/models/product.d.ts.map +1 -1
  98. package/dist/cjs/types/models/product.js +26 -0
  99. package/dist/cjs/types/models/product.js.map +1 -1
  100. package/dist/cjs/types/models/project.d.ts +94 -20
  101. package/dist/cjs/types/models/project.d.ts.map +1 -1
  102. package/dist/cjs/types/models/project.js +73 -0
  103. package/dist/cjs/types/models/project.js.map +1 -1
  104. package/dist/cjs/types/models/quote-request.d.ts +21 -8
  105. package/dist/cjs/types/models/quote-request.d.ts.map +1 -1
  106. package/dist/cjs/types/models/quote-request.js +13 -0
  107. package/dist/cjs/types/models/quote-request.js.map +1 -1
  108. package/dist/cjs/types/models/quote.d.ts +25 -11
  109. package/dist/cjs/types/models/quote.d.ts.map +1 -1
  110. package/dist/cjs/types/models/quote.js +14 -0
  111. package/dist/cjs/types/models/quote.js.map +1 -1
  112. package/dist/cjs/types/models/review.d.ts +20 -14
  113. package/dist/cjs/types/models/review.d.ts.map +1 -1
  114. package/dist/cjs/types/models/search.d.ts +62 -4
  115. package/dist/cjs/types/models/search.d.ts.map +1 -1
  116. package/dist/cjs/types/models/search.js +51 -0
  117. package/dist/cjs/types/models/search.js.map +1 -1
  118. package/dist/cjs/types/models/shipping-method.d.ts +38 -21
  119. package/dist/cjs/types/models/shipping-method.d.ts.map +1 -1
  120. package/dist/cjs/types/models/shipping-method.js +7 -0
  121. package/dist/cjs/types/models/shipping-method.js.map +1 -1
  122. package/dist/cjs/types/models/shopping-list.d.ts +66 -28
  123. package/dist/cjs/types/models/shopping-list.d.ts.map +1 -1
  124. package/dist/cjs/types/models/staged-quote.d.ts +21 -10
  125. package/dist/cjs/types/models/staged-quote.d.ts.map +1 -1
  126. package/dist/cjs/types/models/staged-quote.js +11 -0
  127. package/dist/cjs/types/models/staged-quote.js.map +1 -1
  128. package/dist/cjs/types/models/standalone-price.d.ts +23 -17
  129. package/dist/cjs/types/models/standalone-price.d.ts.map +1 -1
  130. package/dist/cjs/types/models/state.d.ts +33 -13
  131. package/dist/cjs/types/models/state.d.ts.map +1 -1
  132. package/dist/cjs/types/models/state.js +25 -0
  133. package/dist/cjs/types/models/state.js.map +1 -1
  134. package/dist/cjs/types/models/store.d.ts +29 -23
  135. package/dist/cjs/types/models/store.d.ts.map +1 -1
  136. package/dist/cjs/types/models/subscription.d.ts +138 -18
  137. package/dist/cjs/types/models/subscription.d.ts.map +1 -1
  138. package/dist/cjs/types/models/subscription.js +95 -0
  139. package/dist/cjs/types/models/subscription.js.map +1 -1
  140. package/dist/cjs/types/models/tax-category.d.ts +15 -9
  141. package/dist/cjs/types/models/tax-category.d.ts.map +1 -1
  142. package/dist/cjs/types/models/type.d.ts +101 -29
  143. package/dist/cjs/types/models/type.d.ts.map +1 -1
  144. package/dist/cjs/types/models/type.js +76 -0
  145. package/dist/cjs/types/models/type.js.map +1 -1
  146. package/dist/cjs/types/models/warning.d.ts +15 -1
  147. package/dist/cjs/types/models/warning.d.ts.map +1 -1
  148. package/dist/cjs/types/models/zone.d.ts +14 -8
  149. package/dist/cjs/types/models/zone.d.ts.map +1 -1
  150. package/dist/mjs/tsconfig.tsbuildinfo +1 -1
  151. package/dist/mjs/types/models/approval-flow.d.ts +15 -4
  152. package/dist/mjs/types/models/approval-flow.d.ts.map +1 -1
  153. package/dist/mjs/types/models/approval-flow.js +10 -1
  154. package/dist/mjs/types/models/approval-flow.js.map +1 -1
  155. package/dist/mjs/types/models/approval-rule.d.ts +19 -9
  156. package/dist/mjs/types/models/approval-rule.d.ts.map +1 -1
  157. package/dist/mjs/types/models/approval-rule.js +9 -1
  158. package/dist/mjs/types/models/approval-rule.js.map +1 -1
  159. package/dist/mjs/types/models/associate-role.d.ts +58 -11
  160. package/dist/mjs/types/models/associate-role.d.ts.map +1 -1
  161. package/dist/mjs/types/models/associate-role.js +46 -1
  162. package/dist/mjs/types/models/associate-role.js.map +1 -1
  163. package/dist/mjs/types/models/attribute-group.d.ts +15 -9
  164. package/dist/mjs/types/models/attribute-group.d.ts.map +1 -1
  165. package/dist/mjs/types/models/business-unit-search.d.ts +114 -0
  166. package/dist/mjs/types/models/business-unit-search.d.ts.map +1 -0
  167. package/dist/mjs/types/models/business-unit-search.js +7 -0
  168. package/dist/mjs/types/models/business-unit-search.js.map +1 -0
  169. package/dist/mjs/types/models/business-unit.d.ts +349 -35
  170. package/dist/mjs/types/models/business-unit.d.ts.map +1 -1
  171. package/dist/mjs/types/models/business-unit.js +54 -1
  172. package/dist/mjs/types/models/business-unit.js.map +1 -1
  173. package/dist/mjs/types/models/cart-discount.d.ts +218 -36
  174. package/dist/mjs/types/models/cart-discount.d.ts.map +1 -1
  175. package/dist/mjs/types/models/cart-discount.js +28 -1
  176. package/dist/mjs/types/models/cart-discount.js.map +1 -1
  177. package/dist/mjs/types/models/cart.d.ts +178 -88
  178. package/dist/mjs/types/models/cart.d.ts.map +1 -1
  179. package/dist/mjs/types/models/cart.js +126 -1
  180. package/dist/mjs/types/models/cart.js.map +1 -1
  181. package/dist/mjs/types/models/category.d.ts +32 -26
  182. package/dist/mjs/types/models/category.d.ts.map +1 -1
  183. package/dist/mjs/types/models/channel.d.ts +28 -15
  184. package/dist/mjs/types/models/channel.d.ts.map +1 -1
  185. package/dist/mjs/types/models/channel.js +12 -1
  186. package/dist/mjs/types/models/channel.js.map +1 -1
  187. package/dist/mjs/types/models/common.d.ts +167 -5
  188. package/dist/mjs/types/models/common.d.ts.map +1 -1
  189. package/dist/mjs/types/models/common.js +60 -1
  190. package/dist/mjs/types/models/common.js.map +1 -1
  191. package/dist/mjs/types/models/custom-object.d.ts +2 -2
  192. package/dist/mjs/types/models/custom-object.d.ts.map +1 -1
  193. package/dist/mjs/types/models/customer-group.d.ts +13 -7
  194. package/dist/mjs/types/models/customer-group.d.ts.map +1 -1
  195. package/dist/mjs/types/models/customer.d.ts +53 -39
  196. package/dist/mjs/types/models/customer.d.ts.map +1 -1
  197. package/dist/mjs/types/models/customer.js +10 -1
  198. package/dist/mjs/types/models/customer.js.map +1 -1
  199. package/dist/mjs/types/models/discount-code.d.ts +24 -18
  200. package/dist/mjs/types/models/discount-code.d.ts.map +1 -1
  201. package/dist/mjs/types/models/error.d.ts +193 -167
  202. package/dist/mjs/types/models/error.d.ts.map +1 -1
  203. package/dist/mjs/types/models/extension.d.ts +43 -9
  204. package/dist/mjs/types/models/extension.d.ts.map +1 -1
  205. package/dist/mjs/types/models/extension.js +26 -1
  206. package/dist/mjs/types/models/extension.js.map +1 -1
  207. package/dist/mjs/types/models/index.d.ts +1 -0
  208. package/dist/mjs/types/models/index.d.ts.map +1 -1
  209. package/dist/mjs/types/models/index.js +1 -0
  210. package/dist/mjs/types/models/index.js.map +1 -1
  211. package/dist/mjs/types/models/inventory.d.ts +19 -13
  212. package/dist/mjs/types/models/inventory.d.ts.map +1 -1
  213. package/dist/mjs/types/models/me.d.ts +210 -100
  214. package/dist/mjs/types/models/me.d.ts.map +1 -1
  215. package/dist/mjs/types/models/me.js +9 -1
  216. package/dist/mjs/types/models/me.js.map +1 -1
  217. package/dist/mjs/types/models/message.d.ts +871 -489
  218. package/dist/mjs/types/models/message.d.ts.map +1 -1
  219. package/dist/mjs/types/models/order-edit.d.ts +131 -108
  220. package/dist/mjs/types/models/order-edit.d.ts.map +1 -1
  221. package/dist/mjs/types/models/order.d.ts +211 -69
  222. package/dist/mjs/types/models/order.d.ts.map +1 -1
  223. package/dist/mjs/types/models/order.js +92 -1
  224. package/dist/mjs/types/models/order.js.map +1 -1
  225. package/dist/mjs/types/models/payment.d.ts +42 -23
  226. package/dist/mjs/types/models/payment.d.ts.map +1 -1
  227. package/dist/mjs/types/models/payment.js +19 -1
  228. package/dist/mjs/types/models/payment.js.map +1 -1
  229. package/dist/mjs/types/models/product-discount.d.ts +37 -19
  230. package/dist/mjs/types/models/product-discount.d.ts.map +1 -1
  231. package/dist/mjs/types/models/product-search.d.ts +43 -14
  232. package/dist/mjs/types/models/product-search.d.ts.map +1 -1
  233. package/dist/mjs/types/models/product-search.js +15 -1
  234. package/dist/mjs/types/models/product-search.js.map +1 -1
  235. package/dist/mjs/types/models/product-selection.d.ts +42 -16
  236. package/dist/mjs/types/models/product-selection.d.ts.map +1 -1
  237. package/dist/mjs/types/models/product-selection.js +16 -1
  238. package/dist/mjs/types/models/product-selection.js.map +1 -1
  239. package/dist/mjs/types/models/product-tailoring.d.ts +42 -33
  240. package/dist/mjs/types/models/product-tailoring.d.ts.map +1 -1
  241. package/dist/mjs/types/models/product-type.d.ts +83 -40
  242. package/dist/mjs/types/models/product-type.d.ts.map +1 -1
  243. package/dist/mjs/types/models/product-type.js +47 -1
  244. package/dist/mjs/types/models/product-type.js.map +1 -1
  245. package/dist/mjs/types/models/product.d.ts +97 -59
  246. package/dist/mjs/types/models/product.d.ts.map +1 -1
  247. package/dist/mjs/types/models/product.js +25 -1
  248. package/dist/mjs/types/models/product.js.map +1 -1
  249. package/dist/mjs/types/models/project.d.ts +94 -20
  250. package/dist/mjs/types/models/project.d.ts.map +1 -1
  251. package/dist/mjs/types/models/project.js +72 -1
  252. package/dist/mjs/types/models/project.js.map +1 -1
  253. package/dist/mjs/types/models/quote-request.d.ts +21 -8
  254. package/dist/mjs/types/models/quote-request.d.ts.map +1 -1
  255. package/dist/mjs/types/models/quote-request.js +12 -1
  256. package/dist/mjs/types/models/quote-request.js.map +1 -1
  257. package/dist/mjs/types/models/quote.d.ts +25 -11
  258. package/dist/mjs/types/models/quote.d.ts.map +1 -1
  259. package/dist/mjs/types/models/quote.js +13 -1
  260. package/dist/mjs/types/models/quote.js.map +1 -1
  261. package/dist/mjs/types/models/review.d.ts +20 -14
  262. package/dist/mjs/types/models/review.d.ts.map +1 -1
  263. package/dist/mjs/types/models/search.d.ts +62 -4
  264. package/dist/mjs/types/models/search.d.ts.map +1 -1
  265. package/dist/mjs/types/models/search.js +50 -1
  266. package/dist/mjs/types/models/search.js.map +1 -1
  267. package/dist/mjs/types/models/shipping-method.d.ts +38 -21
  268. package/dist/mjs/types/models/shipping-method.d.ts.map +1 -1
  269. package/dist/mjs/types/models/shipping-method.js +6 -1
  270. package/dist/mjs/types/models/shipping-method.js.map +1 -1
  271. package/dist/mjs/types/models/shopping-list.d.ts +66 -28
  272. package/dist/mjs/types/models/shopping-list.d.ts.map +1 -1
  273. package/dist/mjs/types/models/staged-quote.d.ts +21 -10
  274. package/dist/mjs/types/models/staged-quote.d.ts.map +1 -1
  275. package/dist/mjs/types/models/staged-quote.js +10 -1
  276. package/dist/mjs/types/models/staged-quote.js.map +1 -1
  277. package/dist/mjs/types/models/standalone-price.d.ts +23 -17
  278. package/dist/mjs/types/models/standalone-price.d.ts.map +1 -1
  279. package/dist/mjs/types/models/state.d.ts +33 -13
  280. package/dist/mjs/types/models/state.d.ts.map +1 -1
  281. package/dist/mjs/types/models/state.js +24 -1
  282. package/dist/mjs/types/models/state.js.map +1 -1
  283. package/dist/mjs/types/models/store.d.ts +29 -23
  284. package/dist/mjs/types/models/store.d.ts.map +1 -1
  285. package/dist/mjs/types/models/subscription.d.ts +138 -18
  286. package/dist/mjs/types/models/subscription.d.ts.map +1 -1
  287. package/dist/mjs/types/models/subscription.js +94 -1
  288. package/dist/mjs/types/models/subscription.js.map +1 -1
  289. package/dist/mjs/types/models/tax-category.d.ts +15 -9
  290. package/dist/mjs/types/models/tax-category.d.ts.map +1 -1
  291. package/dist/mjs/types/models/type.d.ts +101 -29
  292. package/dist/mjs/types/models/type.d.ts.map +1 -1
  293. package/dist/mjs/types/models/type.js +75 -1
  294. package/dist/mjs/types/models/type.js.map +1 -1
  295. package/dist/mjs/types/models/warning.d.ts +15 -1
  296. package/dist/mjs/types/models/warning.d.ts.map +1 -1
  297. package/dist/mjs/types/models/zone.d.ts +14 -8
  298. package/dist/mjs/types/models/zone.d.ts.map +1 -1
  299. package/package.json +2 -2
@@ -25,6 +25,7 @@ import { ProductVariantTailoring } from './product-tailoring.js';
25
25
  import { Quote, QuoteState } from './quote.js';
26
26
  import { QuoteRequest, QuoteRequestState } from './quote-request.js';
27
27
  import { Review } from './review.js';
28
+ import { ShoppingListLineItem } from './shopping-list.js';
28
29
  import { StagedQuote, StagedQuoteState } from './staged-quote.js';
29
30
  import { StagedStandalonePrice, StandalonePrice } from './standalone-price.js';
30
31
  import { StateReference } from './state.js';
@@ -51,12 +52,77 @@ export interface ContainerAndKey {
51
52
  * Base representation of a Message containing common fields to all [Message Types](/../api/projects/messages#message-types).
52
53
  *
53
54
  */
54
- export type Message = ApprovalFlowApprovedMessage | ApprovalFlowCompletedMessage | ApprovalFlowCreatedMessage | ApprovalFlowRejectedMessage | ApprovalRuleApproversSetMessage | ApprovalRuleCreatedMessage | ApprovalRuleDescriptionSetMessage | ApprovalRuleKeySetMessage | ApprovalRuleNameSetMessage | ApprovalRulePredicateSetMessage | ApprovalRuleRequestersSetMessage | ApprovalRuleStatusSetMessage | AssociateRoleBuyerAssignableChangedMessage | AssociateRoleCreatedMessage | AssociateRoleDeletedMessage | AssociateRoleNameChangedMessage | 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 | 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 | 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;
56
+ export interface IMessage {
57
+ /**
58
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
59
+ *
60
+ */
61
+ readonly id: string;
62
+ /**
63
+ * Version of a resource. In case of Messages, this is always `1`.
64
+ *
65
+ */
66
+ readonly version: number;
67
+ /**
68
+ * Date and time (UTC) the Message was generated.
69
+ *
70
+ */
71
+ readonly createdAt: string;
72
+ /**
73
+ * Value of `createdAt`.
74
+ *
75
+ */
76
+ readonly lastModifiedAt: string;
77
+ /**
78
+ * IDs and references that last modified the Message.
79
+ *
80
+ *
81
+ */
82
+ readonly lastModifiedBy?: LastModifiedBy;
83
+ /**
84
+ * IDs and references that created the Message.
85
+ *
86
+ *
87
+ */
88
+ readonly createdBy?: CreatedBy;
89
+ /**
90
+ * 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.
91
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
92
+ *
93
+ *
94
+ */
95
+ readonly sequenceNumber: number;
96
+ /**
97
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
98
+ *
99
+ *
100
+ */
101
+ readonly resource: Reference;
102
+ /**
103
+ * Version of the resource on which the change or action was performed.
104
+ *
105
+ *
106
+ */
107
+ readonly resourceVersion: number;
108
+ /**
109
+ * [Message Type](/../api/projects/messages#message-types) of the Message.
110
+ *
111
+ *
112
+ */
113
+ readonly type: string;
114
+ /**
115
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
116
+ *
117
+ *
118
+ */
119
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
120
+ }
55
121
  /**
56
122
  * Generated after an [approval in the Approval Flow](/projects/approval-flows#approve).
57
123
  *
58
124
  */
59
- export interface ApprovalFlowApprovedMessage {
125
+ export interface ApprovalFlowApprovedMessage extends IMessage {
60
126
  readonly type: 'ApprovalFlowApproved';
61
127
  /**
62
128
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -132,7 +198,7 @@ export interface ApprovalFlowApprovedMessage {
132
198
  * Generated after an [Approval Flow](ctp:api:type:ApprovalFlow) is completed and reaches a final status.
133
199
  *
134
200
  */
135
- export interface ApprovalFlowCompletedMessage {
201
+ export interface ApprovalFlowCompletedMessage extends IMessage {
136
202
  readonly type: 'ApprovalFlowCompleted';
137
203
  /**
138
204
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -208,7 +274,7 @@ export interface ApprovalFlowCompletedMessage {
208
274
  * Generated after an [Approval Flow](ctp:api:type:ApprovalFlow) is created.
209
275
  *
210
276
  */
211
- export interface ApprovalFlowCreatedMessage {
277
+ export interface ApprovalFlowCreatedMessage extends IMessage {
212
278
  readonly type: 'ApprovalFlowCreated';
213
279
  /**
214
280
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -278,7 +344,7 @@ export interface ApprovalFlowCreatedMessage {
278
344
  * Generated after an [Approval Flow is rejected](/projects/approval-flows#reject).
279
345
  *
280
346
  */
281
- export interface ApprovalFlowRejectedMessage {
347
+ export interface ApprovalFlowRejectedMessage extends IMessage {
282
348
  readonly type: 'ApprovalFlowRejected';
283
349
  /**
284
350
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -360,7 +426,7 @@ export interface ApprovalFlowRejectedMessage {
360
426
  * Generated after a successful [Set Approvers](ctp:api:type:ApprovalRuleSetApproversAction) update action.
361
427
  *
362
428
  */
363
- export interface ApprovalRuleApproversSetMessage {
429
+ export interface ApprovalRuleApproversSetMessage extends IMessage {
364
430
  readonly type: 'ApprovalRuleApproversSet';
365
431
  /**
366
432
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -436,7 +502,7 @@ export interface ApprovalRuleApproversSetMessage {
436
502
  * Generated after an [Approval Rule](ctp:api:type:ApprovalRule) is created.
437
503
  *
438
504
  */
439
- export interface ApprovalRuleCreatedMessage {
505
+ export interface ApprovalRuleCreatedMessage extends IMessage {
440
506
  readonly type: 'ApprovalRuleCreated';
441
507
  /**
442
508
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -506,7 +572,7 @@ export interface ApprovalRuleCreatedMessage {
506
572
  * Generated after a successful [Set Description](ctp:api:type:ApprovalRuleSetDescriptionAction) update action.
507
573
  *
508
574
  */
509
- export interface ApprovalRuleDescriptionSetMessage {
575
+ export interface ApprovalRuleDescriptionSetMessage extends IMessage {
510
576
  readonly type: 'ApprovalRuleDescriptionSet';
511
577
  /**
512
578
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -582,7 +648,7 @@ export interface ApprovalRuleDescriptionSetMessage {
582
648
  * Generated after a successful [Set Key](ctp:api:type:ApprovalRuleSetKeyAction) update action.
583
649
  *
584
650
  */
585
- export interface ApprovalRuleKeySetMessage {
651
+ export interface ApprovalRuleKeySetMessage extends IMessage {
586
652
  readonly type: 'ApprovalRuleKeySet';
587
653
  /**
588
654
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -658,7 +724,7 @@ export interface ApprovalRuleKeySetMessage {
658
724
  * Generated after a successful [Set Name](ctp:api:type:ApprovalRuleSetNameAction) update action.
659
725
  *
660
726
  */
661
- export interface ApprovalRuleNameSetMessage {
727
+ export interface ApprovalRuleNameSetMessage extends IMessage {
662
728
  readonly type: 'ApprovalRuleNameSet';
663
729
  /**
664
730
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -734,7 +800,7 @@ export interface ApprovalRuleNameSetMessage {
734
800
  * Generated after a successful [Set Predicate](ctp:api:type:ApprovalRuleSetPredicateAction) update action.
735
801
  *
736
802
  */
737
- export interface ApprovalRulePredicateSetMessage {
803
+ export interface ApprovalRulePredicateSetMessage extends IMessage {
738
804
  readonly type: 'ApprovalRulePredicateSet';
739
805
  /**
740
806
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -810,7 +876,7 @@ export interface ApprovalRulePredicateSetMessage {
810
876
  * Generated after a successful [Set Requester](ctp:api:type:ApprovalRuleSetRequestersAction) update action.
811
877
  *
812
878
  */
813
- export interface ApprovalRuleRequestersSetMessage {
879
+ export interface ApprovalRuleRequestersSetMessage extends IMessage {
814
880
  readonly type: 'ApprovalRuleRequestersSet';
815
881
  /**
816
882
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -886,7 +952,7 @@ export interface ApprovalRuleRequestersSetMessage {
886
952
  * Generated after a successful [Set Status](ctp:api:type:ApprovalRuleSetStatusAction) update action.
887
953
  *
888
954
  */
889
- export interface ApprovalRuleStatusSetMessage {
955
+ export interface ApprovalRuleStatusSetMessage extends IMessage {
890
956
  readonly type: 'ApprovalRuleStatusSet';
891
957
  /**
892
958
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -962,7 +1028,7 @@ export interface ApprovalRuleStatusSetMessage {
962
1028
  * Generated after a successful [Change BuyerAssignable](ctp:api:type:AssociateRoleChangeBuyerAssignableAction) update action.
963
1029
  *
964
1030
  */
965
- export interface AssociateRoleBuyerAssignableChangedMessage {
1031
+ export interface AssociateRoleBuyerAssignableChangedMessage extends IMessage {
966
1032
  readonly type: 'AssociateRoleBuyerAssignableChanged';
967
1033
  /**
968
1034
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1032,7 +1098,7 @@ export interface AssociateRoleBuyerAssignableChangedMessage {
1032
1098
  * Generated after a successful [Create AssociateRole](ctp:api:endpoint:/{projectKey}/associate-roles:POST) request.
1033
1099
  *
1034
1100
  */
1035
- export interface AssociateRoleCreatedMessage {
1101
+ export interface AssociateRoleCreatedMessage extends IMessage {
1036
1102
  readonly type: 'AssociateRoleCreated';
1037
1103
  /**
1038
1104
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1102,7 +1168,7 @@ export interface AssociateRoleCreatedMessage {
1102
1168
  * Generated after a successful [Delete AssociateRole](/projects/associate-roles#delete-associaterole) request.
1103
1169
  *
1104
1170
  */
1105
- export interface AssociateRoleDeletedMessage {
1171
+ export interface AssociateRoleDeletedMessage extends IMessage {
1106
1172
  readonly type: 'AssociateRoleDeleted';
1107
1173
  /**
1108
1174
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1166,7 +1232,7 @@ export interface AssociateRoleDeletedMessage {
1166
1232
  * Generated after a successful [Set Name](ctp:api:type:AssociateRoleSetNameAction) update action.
1167
1233
  *
1168
1234
  */
1169
- export interface AssociateRoleNameChangedMessage {
1235
+ export interface AssociateRoleNameSetMessage extends IMessage {
1170
1236
  readonly type: 'AssociateRoleNameSet';
1171
1237
  /**
1172
1238
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1236,7 +1302,7 @@ export interface AssociateRoleNameChangedMessage {
1236
1302
  * Generated after a successful [Add Permissions](ctp:api:type:AssociateRoleAddPermissionAction) update action.
1237
1303
  *
1238
1304
  */
1239
- export interface AssociateRolePermissionAddedMessage {
1305
+ export interface AssociateRolePermissionAddedMessage extends IMessage {
1240
1306
  readonly type: 'AssociateRolePermissionAdded';
1241
1307
  /**
1242
1308
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1306,7 +1372,7 @@ export interface AssociateRolePermissionAddedMessage {
1306
1372
  * Generated after a successful [Remove Permissions](ctp:api:type:AssociateRoleRemovePermissionAction) update action.
1307
1373
  *
1308
1374
  */
1309
- export interface AssociateRolePermissionRemovedMessage {
1375
+ export interface AssociateRolePermissionRemovedMessage extends IMessage {
1310
1376
  readonly type: 'AssociateRolePermissionRemoved';
1311
1377
  /**
1312
1378
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1376,7 +1442,7 @@ export interface AssociateRolePermissionRemovedMessage {
1376
1442
  * Generated after a successful [Set Permissions](ctp:api:type:AssociateRoleSetPermissionsAction) update action.
1377
1443
  *
1378
1444
  */
1379
- export interface AssociateRolePermissionsSetMessage {
1445
+ export interface AssociateRolePermissionsSetMessage extends IMessage {
1380
1446
  readonly type: 'AssociateRolePermissionsSet';
1381
1447
  /**
1382
1448
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1446,7 +1512,7 @@ export interface AssociateRolePermissionsSetMessage {
1446
1512
  * Generated after a successful [Add Address](ctp:api:type:BusinessUnitAddAddressAction) update action.
1447
1513
  *
1448
1514
  */
1449
- export interface BusinessUnitAddressAddedMessage {
1515
+ export interface BusinessUnitAddressAddedMessage extends IMessage {
1450
1516
  readonly type: 'BusinessUnitAddressAdded';
1451
1517
  /**
1452
1518
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1516,7 +1582,7 @@ export interface BusinessUnitAddressAddedMessage {
1516
1582
  * Generated after a successful [Change Address](ctp:api:type:BusinessUnitChangeAddressAction) update action.
1517
1583
  *
1518
1584
  */
1519
- export interface BusinessUnitAddressChangedMessage {
1585
+ export interface BusinessUnitAddressChangedMessage extends IMessage {
1520
1586
  readonly type: 'BusinessUnitAddressChanged';
1521
1587
  /**
1522
1588
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1586,7 +1652,7 @@ export interface BusinessUnitAddressChangedMessage {
1586
1652
  * Generated after adding a Custom Field to an address of a Business Unit using the [Set Address CustomField](ctp:api:type:BusinessUnitSetAddressCustomFieldAction) update action. If a Custom Field already exists with the same name, a [BusinessUnitAddressCustomFieldChanged](ctp:api:type:BusinessUnitAddressCustomFieldChangedMessage) Message is generated instead.
1587
1653
  *
1588
1654
  */
1589
- export interface BusinessUnitAddressCustomFieldAddedMessage {
1655
+ export interface BusinessUnitAddressCustomFieldAddedMessage extends IMessage {
1590
1656
  readonly type: 'BusinessUnitAddressCustomFieldAdded';
1591
1657
  /**
1592
1658
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1667,7 +1733,7 @@ export interface BusinessUnitAddressCustomFieldAddedMessage {
1667
1733
  * Generated after changing an existing Custom Field on an address of a Business Unit using the [Set Address CustomField](ctp:api:type:BusinessUnitSetAddressCustomFieldAction) update action.
1668
1734
  *
1669
1735
  */
1670
- export interface BusinessUnitAddressCustomFieldChangedMessage {
1736
+ export interface BusinessUnitAddressCustomFieldChangedMessage extends IMessage {
1671
1737
  readonly type: 'BusinessUnitAddressCustomFieldChanged';
1672
1738
  /**
1673
1739
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1755,7 +1821,7 @@ export interface BusinessUnitAddressCustomFieldChangedMessage {
1755
1821
  * Generated after removing a Custom Field from an address of a Business Unit using the [Set Address CustomField](ctp:api:type:BusinessUnitSetAddressCustomFieldAction) update action.
1756
1822
  *
1757
1823
  */
1758
- export interface BusinessUnitAddressCustomFieldRemovedMessage {
1824
+ export interface BusinessUnitAddressCustomFieldRemovedMessage extends IMessage {
1759
1825
  readonly type: 'BusinessUnitAddressCustomFieldRemoved';
1760
1826
  /**
1761
1827
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1831,7 +1897,7 @@ export interface BusinessUnitAddressCustomFieldRemovedMessage {
1831
1897
  * Generated after removing a Custom Type from an address of a Business Unit using the [Set Custom Type in Address](ctp:api:type:BusinessUnitSetAddressCustomTypeAction) update action.
1832
1898
  *
1833
1899
  */
1834
- export interface BusinessUnitAddressCustomTypeRemovedMessage {
1900
+ export interface BusinessUnitAddressCustomTypeRemovedMessage extends IMessage {
1835
1901
  readonly type: 'BusinessUnitAddressCustomTypeRemoved';
1836
1902
  /**
1837
1903
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1907,7 +1973,7 @@ export interface BusinessUnitAddressCustomTypeRemovedMessage {
1907
1973
  * Generated after adding a Custom Type to an address of a Business Unit using the [Set Custom Type in Address](ctp:api:type:BusinessUnitSetAddressCustomTypeAction) update action.
1908
1974
  *
1909
1975
  */
1910
- export interface BusinessUnitAddressCustomTypeSetMessage {
1976
+ export interface BusinessUnitAddressCustomTypeSetMessage extends IMessage {
1911
1977
  readonly type: 'BusinessUnitAddressCustomTypeSet';
1912
1978
  /**
1913
1979
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -1988,7 +2054,7 @@ export interface BusinessUnitAddressCustomTypeSetMessage {
1988
2054
  * Generated after a successful [Remove Address](ctp:api:type:BusinessUnitRemoveAddressAction) update action.
1989
2055
  *
1990
2056
  */
1991
- export interface BusinessUnitAddressRemovedMessage {
2057
+ export interface BusinessUnitAddressRemovedMessage extends IMessage {
1992
2058
  readonly type: 'BusinessUnitAddressRemoved';
1993
2059
  /**
1994
2060
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2058,7 +2124,7 @@ export interface BusinessUnitAddressRemovedMessage {
2058
2124
  * Generated after a successful [Change Approval Rule Mode](ctp:api:type:BusinessUnitChangeApprovalRuleModeAction) update action.
2059
2125
  *
2060
2126
  */
2061
- export interface BusinessUnitApprovalRuleModeChangedMessage {
2127
+ export interface BusinessUnitApprovalRuleModeChangedMessage extends IMessage {
2062
2128
  readonly type: 'BusinessUnitApprovalRuleModeChanged';
2063
2129
  /**
2064
2130
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2134,7 +2200,7 @@ export interface BusinessUnitApprovalRuleModeChangedMessage {
2134
2200
  * Generated after a successful [Add Associate](ctp:api:type:BusinessUnitAddAssociateAction) update action.
2135
2201
  *
2136
2202
  */
2137
- export interface BusinessUnitAssociateAddedMessage {
2203
+ export interface BusinessUnitAssociateAddedMessage extends IMessage {
2138
2204
  readonly type: 'BusinessUnitAssociateAdded';
2139
2205
  /**
2140
2206
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2204,7 +2270,7 @@ export interface BusinessUnitAssociateAddedMessage {
2204
2270
  * Generated after a successful [Change Associate](ctp:api:type:BusinessUnitChangeAssociateAction) update action.
2205
2271
  *
2206
2272
  */
2207
- export interface BusinessUnitAssociateChangedMessage {
2273
+ export interface BusinessUnitAssociateChangedMessage extends IMessage {
2208
2274
  readonly type: 'BusinessUnitAssociateChanged';
2209
2275
  /**
2210
2276
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2274,7 +2340,7 @@ export interface BusinessUnitAssociateChangedMessage {
2274
2340
  * Generated after a successful [Change Associate Mode](ctp:api:type:BusinessUnitChangeAssociateModeAction) update action.
2275
2341
  *
2276
2342
  */
2277
- export interface BusinessUnitAssociateModeChangedMessage {
2343
+ export interface BusinessUnitAssociateModeChangedMessage extends IMessage {
2278
2344
  readonly type: 'BusinessUnitAssociateModeChanged';
2279
2345
  /**
2280
2346
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2350,7 +2416,7 @@ export interface BusinessUnitAssociateModeChangedMessage {
2350
2416
  * Generated after a successful [Remove Associate](ctp:api:type:BusinessUnitRemoveAssociateAction) update action.
2351
2417
  *
2352
2418
  */
2353
- export interface BusinessUnitAssociateRemovedMessage {
2419
+ export interface BusinessUnitAssociateRemovedMessage extends IMessage {
2354
2420
  readonly type: 'BusinessUnitAssociateRemoved';
2355
2421
  /**
2356
2422
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2420,7 +2486,7 @@ export interface BusinessUnitAssociateRemovedMessage {
2420
2486
  * Generated after a successful [Set Associates](ctp:api:type:BusinessUnitSetAssociatesAction) update action.
2421
2487
  *
2422
2488
  */
2423
- export interface BusinessUnitAssociatesSetMessage {
2489
+ export interface BusinessUnitAssociatesSetMessage extends IMessage {
2424
2490
  readonly type: 'BusinessUnitAssociatesSet';
2425
2491
  /**
2426
2492
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2490,7 +2556,7 @@ export interface BusinessUnitAssociatesSetMessage {
2490
2556
  * Generated after a successful [Add Billing Address Identifier](ctp:api:type:BusinessUnitAddBillingAddressIdAction) update action.
2491
2557
  *
2492
2558
  */
2493
- export interface BusinessUnitBillingAddressAddedMessage {
2559
+ export interface BusinessUnitBillingAddressAddedMessage extends IMessage {
2494
2560
  readonly type: 'BusinessUnitBillingAddressAdded';
2495
2561
  /**
2496
2562
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2560,7 +2626,7 @@ export interface BusinessUnitBillingAddressAddedMessage {
2560
2626
  * Generated after a successful [Remove Billing Address Identifier](ctp:api:type:BusinessUnitRemoveBillingAddressIdAction) update action.
2561
2627
  *
2562
2628
  */
2563
- export interface BusinessUnitBillingAddressRemovedMessage {
2629
+ export interface BusinessUnitBillingAddressRemovedMessage extends IMessage {
2564
2630
  readonly type: 'BusinessUnitBillingAddressRemoved';
2565
2631
  /**
2566
2632
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2630,7 +2696,7 @@ export interface BusinessUnitBillingAddressRemovedMessage {
2630
2696
  * Generated after a successful [Set Contact Email](ctp:api:type:BusinessUnitSetContactEmailAction) update action.
2631
2697
  *
2632
2698
  */
2633
- export interface BusinessUnitContactEmailSetMessage {
2699
+ export interface BusinessUnitContactEmailSetMessage extends IMessage {
2634
2700
  readonly type: 'BusinessUnitContactEmailSet';
2635
2701
  /**
2636
2702
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2700,7 +2766,7 @@ export interface BusinessUnitContactEmailSetMessage {
2700
2766
  * Generated after a successful [Create BusinessUnit](ctp:api:endpoint:/{projectKey}/business-units:POST) request.
2701
2767
  *
2702
2768
  */
2703
- export interface BusinessUnitCreatedMessage {
2769
+ export interface BusinessUnitCreatedMessage extends IMessage {
2704
2770
  readonly type: 'BusinessUnitCreated';
2705
2771
  /**
2706
2772
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2770,7 +2836,7 @@ export interface BusinessUnitCreatedMessage {
2770
2836
  * Generated after adding a Custom Field to a Business Unit using the [Set CustomField](ctp:api:type:BusinessUnitSetCustomFieldAction) update action. If a Custom Field already exists with the same name, a [BusinessUnitCustomFieldChanged](ctp:api:type:BusinessUnitCustomFieldChangedMessage) Message is generated instead.
2771
2837
  *
2772
2838
  */
2773
- export interface BusinessUnitCustomFieldAddedMessage {
2839
+ export interface BusinessUnitCustomFieldAddedMessage extends IMessage {
2774
2840
  readonly type: 'BusinessUnitCustomFieldAdded';
2775
2841
  /**
2776
2842
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2845,7 +2911,7 @@ export interface BusinessUnitCustomFieldAddedMessage {
2845
2911
  * Generated after changing an existing Custom Field on a Business Unit using the [Set CustomField](ctp:api:type:BusinessUnitSetCustomFieldAction) update action.
2846
2912
  *
2847
2913
  */
2848
- export interface BusinessUnitCustomFieldChangedMessage {
2914
+ export interface BusinessUnitCustomFieldChangedMessage extends IMessage {
2849
2915
  readonly type: 'BusinessUnitCustomFieldChanged';
2850
2916
  /**
2851
2917
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2927,7 +2993,7 @@ export interface BusinessUnitCustomFieldChangedMessage {
2927
2993
  * Generated after removing a Custom Field from a Business Unit using the [Set CustomField](ctp:api:type:BusinessUnitSetCustomFieldAction) update action.
2928
2994
  *
2929
2995
  */
2930
- export interface BusinessUnitCustomFieldRemovedMessage {
2996
+ export interface BusinessUnitCustomFieldRemovedMessage extends IMessage {
2931
2997
  readonly type: 'BusinessUnitCustomFieldRemoved';
2932
2998
  /**
2933
2999
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -2997,7 +3063,7 @@ export interface BusinessUnitCustomFieldRemovedMessage {
2997
3063
  * Generated after removing a Custom Type from a Business Unit using the [Set Custom Type](ctp:api:type:BusinessUnitSetCustomTypeAction) update action.
2998
3064
  *
2999
3065
  */
3000
- export interface BusinessUnitCustomTypeRemovedMessage {
3066
+ export interface BusinessUnitCustomTypeRemovedMessage extends IMessage {
3001
3067
  readonly type: 'BusinessUnitCustomTypeRemoved';
3002
3068
  /**
3003
3069
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3067,7 +3133,7 @@ export interface BusinessUnitCustomTypeRemovedMessage {
3067
3133
  * Generated after adding a Custom Type to a Business Unit using the [Set Custom Type](ctp:api:type:BusinessUnitSetCustomTypeAction) update action.
3068
3134
  *
3069
3135
  */
3070
- export interface BusinessUnitCustomTypeSetMessage {
3136
+ export interface BusinessUnitCustomTypeSetMessage extends IMessage {
3071
3137
  readonly type: 'BusinessUnitCustomTypeSet';
3072
3138
  /**
3073
3139
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3142,7 +3208,7 @@ export interface BusinessUnitCustomTypeSetMessage {
3142
3208
  * Generated after a successful [Set Default Billing Address](ctp:api:type:BusinessUnitSetDefaultBillingAddressAction) update action.
3143
3209
  *
3144
3210
  */
3145
- export interface BusinessUnitDefaultBillingAddressSetMessage {
3211
+ export interface BusinessUnitDefaultBillingAddressSetMessage extends IMessage {
3146
3212
  readonly type: 'BusinessUnitDefaultBillingAddressSet';
3147
3213
  /**
3148
3214
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3212,7 +3278,7 @@ export interface BusinessUnitDefaultBillingAddressSetMessage {
3212
3278
  * Generated after a successful [Set Default Shipping Address](ctp:api:type:BusinessUnitSetDefaultShippingAddressAction) update action.
3213
3279
  *
3214
3280
  */
3215
- export interface BusinessUnitDefaultShippingAddressSetMessage {
3281
+ export interface BusinessUnitDefaultShippingAddressSetMessage extends IMessage {
3216
3282
  readonly type: 'BusinessUnitDefaultShippingAddressSet';
3217
3283
  /**
3218
3284
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3282,7 +3348,7 @@ export interface BusinessUnitDefaultShippingAddressSetMessage {
3282
3348
  * Generated after a successful [Delete BusinessUnit](/projects/business-units#delete-businessunit) request.
3283
3349
  *
3284
3350
  */
3285
- export interface BusinessUnitDeletedMessage {
3351
+ export interface BusinessUnitDeletedMessage extends IMessage {
3286
3352
  readonly type: 'BusinessUnitDeleted';
3287
3353
  /**
3288
3354
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3346,7 +3412,7 @@ export interface BusinessUnitDeletedMessage {
3346
3412
  * Generated after a successful [Change Name](ctp:api:type:BusinessUnitChangeNameAction) update action.
3347
3413
  *
3348
3414
  */
3349
- export interface BusinessUnitNameChangedMessage {
3415
+ export interface BusinessUnitNameChangedMessage extends IMessage {
3350
3416
  readonly type: 'BusinessUnitNameChanged';
3351
3417
  /**
3352
3418
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3416,7 +3482,7 @@ export interface BusinessUnitNameChangedMessage {
3416
3482
  * Generated after a successful [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
3417
3483
  *
3418
3484
  */
3419
- export interface BusinessUnitParentChangedMessage {
3485
+ export interface BusinessUnitParentChangedMessage extends IMessage {
3420
3486
  readonly type: 'BusinessUnitParentChanged';
3421
3487
  /**
3422
3488
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3492,7 +3558,7 @@ export interface BusinessUnitParentChangedMessage {
3492
3558
  * Generated after a successful [Add Shipping Address Identifier](ctp:api:type:BusinessUnitAddShippingAddressIdAction) update action.
3493
3559
  *
3494
3560
  */
3495
- export interface BusinessUnitShippingAddressAddedMessage {
3561
+ export interface BusinessUnitShippingAddressAddedMessage extends IMessage {
3496
3562
  readonly type: 'BusinessUnitShippingAddressAdded';
3497
3563
  /**
3498
3564
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3562,7 +3628,7 @@ export interface BusinessUnitShippingAddressAddedMessage {
3562
3628
  * Generated after a successful [Remove Shipping Address Identifier](ctp:api:type:BusinessUnitRemoveShippingAddressIdAction) update action.
3563
3629
  *
3564
3630
  */
3565
- export interface BusinessUnitShippingAddressRemovedMessage {
3631
+ export interface BusinessUnitShippingAddressRemovedMessage extends IMessage {
3566
3632
  readonly type: 'BusinessUnitShippingAddressRemoved';
3567
3633
  /**
3568
3634
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3632,7 +3698,7 @@ export interface BusinessUnitShippingAddressRemovedMessage {
3632
3698
  * Generated after a successful [Change Status](ctp:api:type:BusinessUnitChangeStatusAction) update action.
3633
3699
  *
3634
3700
  */
3635
- export interface BusinessUnitStatusChangedMessage {
3701
+ export interface BusinessUnitStatusChangedMessage extends IMessage {
3636
3702
  readonly type: 'BusinessUnitStatusChanged';
3637
3703
  /**
3638
3704
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3702,7 +3768,7 @@ export interface BusinessUnitStatusChangedMessage {
3702
3768
  * Generated after a successful [Add Store](ctp:api:type:BusinessUnitAddStoreAction) update action.
3703
3769
  *
3704
3770
  */
3705
- export interface BusinessUnitStoreAddedMessage {
3771
+ export interface BusinessUnitStoreAddedMessage extends IMessage {
3706
3772
  readonly type: 'BusinessUnitStoreAdded';
3707
3773
  /**
3708
3774
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3772,7 +3838,7 @@ export interface BusinessUnitStoreAddedMessage {
3772
3838
  * Generated after a successful [Set Store Mode](ctp:api:type:BusinessUnitSetStoreModeAction) update action.
3773
3839
  *
3774
3840
  */
3775
- export interface BusinessUnitStoreModeChangedMessage {
3841
+ export interface BusinessUnitStoreModeChangedMessage extends IMessage {
3776
3842
  readonly type: 'BusinessUnitStoreModeChanged';
3777
3843
  /**
3778
3844
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3860,7 +3926,7 @@ export interface BusinessUnitStoreModeChangedMessage {
3860
3926
  * Generated after a successful [Remove Store](ctp:api:type:BusinessUnitRemoveStoreAction) update action.
3861
3927
  *
3862
3928
  */
3863
- export interface BusinessUnitStoreRemovedMessage {
3929
+ export interface BusinessUnitStoreRemovedMessage extends IMessage {
3864
3930
  readonly type: 'BusinessUnitStoreRemoved';
3865
3931
  /**
3866
3932
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -3930,7 +3996,7 @@ export interface BusinessUnitStoreRemovedMessage {
3930
3996
  * Generated after a successful [Set Stores](ctp:api:type:BusinessUnitSetStoresAction) update action.
3931
3997
  *
3932
3998
  */
3933
- export interface BusinessUnitStoresSetMessage {
3999
+ export interface BusinessUnitStoresSetMessage extends IMessage {
3934
4000
  readonly type: 'BusinessUnitStoresSet';
3935
4001
  /**
3936
4002
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4000,7 +4066,7 @@ export interface BusinessUnitStoresSetMessage {
4000
4066
  * Generated after a successful [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) request.
4001
4067
  *
4002
4068
  */
4003
- export interface CartDiscountCreatedMessage {
4069
+ export interface CartDiscountCreatedMessage extends IMessage {
4004
4070
  readonly type: 'CartDiscountCreated';
4005
4071
  /**
4006
4072
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4070,7 +4136,7 @@ export interface CartDiscountCreatedMessage {
4070
4136
  * Generated after a successful [Delete CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts/{id}:DELETE) request.
4071
4137
  *
4072
4138
  */
4073
- export interface CartDiscountDeletedMessage {
4139
+ export interface CartDiscountDeletedMessage extends IMessage {
4074
4140
  readonly type: 'CartDiscountDeleted';
4075
4141
  /**
4076
4142
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4134,7 +4200,7 @@ export interface CartDiscountDeletedMessage {
4134
4200
  * Generated after a successful [Add Store](ctp:api:type:CartDiscountAddStoreAction) update action.
4135
4201
  *
4136
4202
  */
4137
- export interface CartDiscountStoreAddedMessage {
4203
+ export interface CartDiscountStoreAddedMessage extends IMessage {
4138
4204
  readonly type: 'CartDiscountStoreAdded';
4139
4205
  /**
4140
4206
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4204,7 +4270,7 @@ export interface CartDiscountStoreAddedMessage {
4204
4270
  * Generated after a successful [Remove Store](ctp:api:type:CartDiscountRemoveStoreAction) update action.
4205
4271
  *
4206
4272
  */
4207
- export interface CartDiscountStoreRemovedMessage {
4273
+ export interface CartDiscountStoreRemovedMessage extends IMessage {
4208
4274
  readonly type: 'CartDiscountStoreRemoved';
4209
4275
  /**
4210
4276
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4274,7 +4340,7 @@ export interface CartDiscountStoreRemovedMessage {
4274
4340
  * Generated after a successful [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
4275
4341
  *
4276
4342
  */
4277
- export interface CartDiscountStoresSetMessage {
4343
+ export interface CartDiscountStoresSetMessage extends IMessage {
4278
4344
  readonly type: 'CartDiscountStoresSet';
4279
4345
  /**
4280
4346
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4344,7 +4410,7 @@ export interface CartDiscountStoresSetMessage {
4344
4410
  * Generated after a successful [Create Category](ctp:api:endpoint:/{projectKey}/categories:POST) request.
4345
4411
  *
4346
4412
  */
4347
- export interface CategoryCreatedMessage {
4413
+ export interface CategoryCreatedMessage extends IMessage {
4348
4414
  readonly type: 'CategoryCreated';
4349
4415
  /**
4350
4416
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4414,7 +4480,7 @@ export interface CategoryCreatedMessage {
4414
4480
  * Generated after a successful [Change Slug](ctp:api:type:CategoryChangeSlugAction) update action.
4415
4481
  *
4416
4482
  */
4417
- export interface CategorySlugChangedMessage {
4483
+ export interface CategorySlugChangedMessage extends IMessage {
4418
4484
  readonly type: 'CategorySlugChanged';
4419
4485
  /**
4420
4486
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4490,7 +4556,7 @@ export interface CategorySlugChangedMessage {
4490
4556
  * Generated after a successful [Add Address](ctp:api:type:CustomerAddAddressAction) update action.
4491
4557
  *
4492
4558
  */
4493
- export interface CustomerAddressAddedMessage {
4559
+ export interface CustomerAddressAddedMessage extends IMessage {
4494
4560
  readonly type: 'CustomerAddressAdded';
4495
4561
  /**
4496
4562
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4560,7 +4626,7 @@ export interface CustomerAddressAddedMessage {
4560
4626
  * Generated after a successful [Change Address](ctp:api:type:CustomerChangeAddressAction) update action.
4561
4627
  *
4562
4628
  */
4563
- export interface CustomerAddressChangedMessage {
4629
+ export interface CustomerAddressChangedMessage extends IMessage {
4564
4630
  readonly type: 'CustomerAddressChanged';
4565
4631
  /**
4566
4632
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4631,7 +4697,7 @@ export interface CustomerAddressChangedMessage {
4631
4697
  * If a Custom Field already exists with the same name, a [CustomerAddressCustomFieldChanged](ctp:api:type:CustomerAddressCustomFieldChangedMessage) Message is generated instead.
4632
4698
  *
4633
4699
  */
4634
- export interface CustomerAddressCustomFieldAddedMessage {
4700
+ export interface CustomerAddressCustomFieldAddedMessage extends IMessage {
4635
4701
  readonly type: 'CustomerAddressCustomFieldAdded';
4636
4702
  /**
4637
4703
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4712,7 +4778,7 @@ export interface CustomerAddressCustomFieldAddedMessage {
4712
4778
  * Generated after changing an existing Custom Field on an Address of a Customer using the [Set CustomField in Address](ctp:api:type:CustomerSetAddressCustomFieldAction) update action.
4713
4779
  *
4714
4780
  */
4715
- export interface CustomerAddressCustomFieldChangedMessage {
4781
+ export interface CustomerAddressCustomFieldChangedMessage extends IMessage {
4716
4782
  readonly type: 'CustomerAddressCustomFieldChanged';
4717
4783
  /**
4718
4784
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4801,7 +4867,7 @@ export interface CustomerAddressCustomFieldChangedMessage {
4801
4867
  * Generated after removing a Custom Field from an Address of a Customer using the [Set CustomField in Address](ctp:api:type:CustomerSetAddressCustomFieldAction) update action.
4802
4868
  *
4803
4869
  */
4804
- export interface CustomerAddressCustomFieldRemovedMessage {
4870
+ export interface CustomerAddressCustomFieldRemovedMessage extends IMessage {
4805
4871
  readonly type: 'CustomerAddressCustomFieldRemoved';
4806
4872
  /**
4807
4873
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4877,7 +4943,7 @@ export interface CustomerAddressCustomFieldRemovedMessage {
4877
4943
  * Generated after removing a Custom Type from an Address of a Customer using the [Set Custom Type in Address](ctp:api:type:CustomerSetAddressCustomTypeAction) update action.
4878
4944
  *
4879
4945
  */
4880
- export interface CustomerAddressCustomTypeRemovedMessage {
4946
+ export interface CustomerAddressCustomTypeRemovedMessage extends IMessage {
4881
4947
  readonly type: 'CustomerAddressCustomTypeRemoved';
4882
4948
  /**
4883
4949
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -4953,7 +5019,7 @@ export interface CustomerAddressCustomTypeRemovedMessage {
4953
5019
  * Generated after adding a Custom Type to an Address of a Customer using the [Set Custom Type in Address](ctp:api:type:CustomerSetAddressCustomTypeAction) update action.
4954
5020
  *
4955
5021
  */
4956
- export interface CustomerAddressCustomTypeSetMessage {
5022
+ export interface CustomerAddressCustomTypeSetMessage extends IMessage {
4957
5023
  readonly type: 'CustomerAddressCustomTypeSet';
4958
5024
  /**
4959
5025
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5034,7 +5100,7 @@ export interface CustomerAddressCustomTypeSetMessage {
5034
5100
  * Generated after a successful [Remove Address](ctp:api:type:CustomerRemoveAddressAction) update action.
5035
5101
  *
5036
5102
  */
5037
- export interface CustomerAddressRemovedMessage {
5103
+ export interface CustomerAddressRemovedMessage extends IMessage {
5038
5104
  readonly type: 'CustomerAddressRemoved';
5039
5105
  /**
5040
5106
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5104,7 +5170,7 @@ export interface CustomerAddressRemovedMessage {
5104
5170
  * Generated after a successful [Set Company Name](ctp:api:type:CustomerSetCompanyNameAction) update action.
5105
5171
  *
5106
5172
  */
5107
- export interface CustomerCompanyNameSetMessage {
5173
+ export interface CustomerCompanyNameSetMessage extends IMessage {
5108
5174
  readonly type: 'CustomerCompanyNameSet';
5109
5175
  /**
5110
5176
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5174,7 +5240,7 @@ export interface CustomerCompanyNameSetMessage {
5174
5240
  * Generated after a successful [Create Customer](ctp:api:endpoint:/{projectKey}/customers:POST) request.
5175
5241
  *
5176
5242
  */
5177
- export interface CustomerCreatedMessage {
5243
+ export interface CustomerCreatedMessage extends IMessage {
5178
5244
  readonly type: 'CustomerCreated';
5179
5245
  /**
5180
5246
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5245,7 +5311,7 @@ export interface CustomerCreatedMessage {
5245
5311
  * If a Custom Field already exists with the same name, a [CustomerCustomFieldChanged](ctp:api:type:CustomerCustomFieldChangedMessage) Message is generated instead.
5246
5312
  *
5247
5313
  */
5248
- export interface CustomerCustomFieldAddedMessage {
5314
+ export interface CustomerCustomFieldAddedMessage extends IMessage {
5249
5315
  readonly type: 'CustomerCustomFieldAdded';
5250
5316
  /**
5251
5317
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5320,7 +5386,7 @@ export interface CustomerCustomFieldAddedMessage {
5320
5386
  * Generated after changing an existing Custom Field on a Customer using the [Set CustomField](ctp:api:type:CustomerSetCustomFieldAction) update action.
5321
5387
  *
5322
5388
  */
5323
- export interface CustomerCustomFieldChangedMessage {
5389
+ export interface CustomerCustomFieldChangedMessage extends IMessage {
5324
5390
  readonly type: 'CustomerCustomFieldChanged';
5325
5391
  /**
5326
5392
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5403,7 +5469,7 @@ export interface CustomerCustomFieldChangedMessage {
5403
5469
  * Generated after removing a Custom Field from a Customer using the [Set CustomField](ctp:api:type:CustomerSetCustomFieldAction) update action.
5404
5470
  *
5405
5471
  */
5406
- export interface CustomerCustomFieldRemovedMessage {
5472
+ export interface CustomerCustomFieldRemovedMessage extends IMessage {
5407
5473
  readonly type: 'CustomerCustomFieldRemoved';
5408
5474
  /**
5409
5475
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5473,7 +5539,7 @@ export interface CustomerCustomFieldRemovedMessage {
5473
5539
  * Generated after removing a Custom Type from a Customer using the [Set Custom Type](ctp:api:type:CustomerSetCustomTypeAction) update action with empty parameters.
5474
5540
  *
5475
5541
  */
5476
- export interface CustomerCustomTypeRemovedMessage {
5542
+ export interface CustomerCustomTypeRemovedMessage extends IMessage {
5477
5543
  readonly type: 'CustomerCustomTypeRemoved';
5478
5544
  /**
5479
5545
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5543,7 +5609,7 @@ export interface CustomerCustomTypeRemovedMessage {
5543
5609
  * Generated after adding a Custom Type to a Customer using the [Set Custom Type](ctp:api:type:CustomerSetCustomTypeAction) update action.
5544
5610
  *
5545
5611
  */
5546
- export interface CustomerCustomTypeSetMessage {
5612
+ export interface CustomerCustomTypeSetMessage extends IMessage {
5547
5613
  readonly type: 'CustomerCustomTypeSet';
5548
5614
  /**
5549
5615
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5618,7 +5684,7 @@ export interface CustomerCustomTypeSetMessage {
5618
5684
  * Generated after a successful [Set Date of Birth](ctp:api:type:CustomerSetDateOfBirthAction) update action.
5619
5685
  *
5620
5686
  */
5621
- export interface CustomerDateOfBirthSetMessage {
5687
+ export interface CustomerDateOfBirthSetMessage extends IMessage {
5622
5688
  readonly type: 'CustomerDateOfBirthSet';
5623
5689
  /**
5624
5690
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5688,7 +5754,7 @@ export interface CustomerDateOfBirthSetMessage {
5688
5754
  * Generated after a successful [Delete Customer](/../api/projects/customers#delete-customer) request.
5689
5755
  *
5690
5756
  */
5691
- export interface CustomerDeletedMessage {
5757
+ export interface CustomerDeletedMessage extends IMessage {
5692
5758
  readonly type: 'CustomerDeleted';
5693
5759
  /**
5694
5760
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5752,7 +5818,7 @@ export interface CustomerDeletedMessage {
5752
5818
  * Generated after a successful [Change Email](ctp:api:type:CustomerChangeEmailAction) update action.
5753
5819
  *
5754
5820
  */
5755
- export interface CustomerEmailChangedMessage {
5821
+ export interface CustomerEmailChangedMessage extends IMessage {
5756
5822
  readonly type: 'CustomerEmailChanged';
5757
5823
  /**
5758
5824
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5822,7 +5888,7 @@ export interface CustomerEmailChangedMessage {
5822
5888
  * 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).
5823
5889
  *
5824
5890
  */
5825
- export interface CustomerEmailTokenCreatedMessage {
5891
+ export interface CustomerEmailTokenCreatedMessage extends IMessage {
5826
5892
  readonly type: 'CustomerEmailTokenCreated';
5827
5893
  /**
5828
5894
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5898,7 +5964,7 @@ export interface CustomerEmailTokenCreatedMessage {
5898
5964
  * Generated after a successful [Verify Customer's Email](ctp:api:endpoint:/{projectKey}/customers/email/confirm:POST) request.
5899
5965
  *
5900
5966
  */
5901
- export interface CustomerEmailVerifiedMessage {
5967
+ export interface CustomerEmailVerifiedMessage extends IMessage {
5902
5968
  readonly type: 'CustomerEmailVerified';
5903
5969
  /**
5904
5970
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -5962,7 +6028,7 @@ export interface CustomerEmailVerifiedMessage {
5962
6028
  * Generated after a successful [Set First Name](ctp:api:type:CustomerSetFirstNameAction) update action.
5963
6029
  *
5964
6030
  */
5965
- export interface CustomerFirstNameSetMessage {
6031
+ export interface CustomerFirstNameSetMessage extends IMessage {
5966
6032
  readonly type: 'CustomerFirstNameSet';
5967
6033
  /**
5968
6034
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6033,7 +6099,7 @@ export interface CustomerFirstNameSetMessage {
6033
6099
  * If a Custom Field already exists with the same name, a [CustomerGroupCustomFieldChanged](ctp:api:type:CustomerGroupCustomFieldChangedMessage) Message is generated instead.
6034
6100
  *
6035
6101
  */
6036
- export interface CustomerGroupCustomFieldAddedMessage {
6102
+ export interface CustomerGroupCustomFieldAddedMessage extends IMessage {
6037
6103
  readonly type: 'CustomerGroupCustomFieldAdded';
6038
6104
  /**
6039
6105
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6108,7 +6174,7 @@ export interface CustomerGroupCustomFieldAddedMessage {
6108
6174
  * Generated after changing an existing Custom Field on a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action.
6109
6175
  *
6110
6176
  */
6111
- export interface CustomerGroupCustomFieldChangedMessage {
6177
+ export interface CustomerGroupCustomFieldChangedMessage extends IMessage {
6112
6178
  readonly type: 'CustomerGroupCustomFieldChanged';
6113
6179
  /**
6114
6180
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6190,7 +6256,7 @@ export interface CustomerGroupCustomFieldChangedMessage {
6190
6256
  * Generated after removing a Custom Field from a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action.
6191
6257
  *
6192
6258
  */
6193
- export interface CustomerGroupCustomFieldRemovedMessage {
6259
+ export interface CustomerGroupCustomFieldRemovedMessage extends IMessage {
6194
6260
  readonly type: 'CustomerGroupCustomFieldRemoved';
6195
6261
  /**
6196
6262
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6260,7 +6326,7 @@ export interface CustomerGroupCustomFieldRemovedMessage {
6260
6326
  * Generated after removing a Custom Type from a Customer Group using the [Set Custom Type](ctp:api:type:CustomerGroupSetCustomTypeAction) update action with empty parameters.
6261
6327
  *
6262
6328
  */
6263
- export interface CustomerGroupCustomTypeRemovedMessage {
6329
+ export interface CustomerGroupCustomTypeRemovedMessage extends IMessage {
6264
6330
  readonly type: 'CustomerGroupCustomTypeRemoved';
6265
6331
  /**
6266
6332
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6330,7 +6396,7 @@ export interface CustomerGroupCustomTypeRemovedMessage {
6330
6396
  * Generated after adding a Custom Type to a Customer Group using the [Set Custom Type](ctp:api:type:CustomerGroupSetCustomTypeAction) update action.
6331
6397
  *
6332
6398
  */
6333
- export interface CustomerGroupCustomTypeSetMessage {
6399
+ export interface CustomerGroupCustomTypeSetMessage extends IMessage {
6334
6400
  readonly type: 'CustomerGroupCustomTypeSet';
6335
6401
  /**
6336
6402
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6405,7 +6471,7 @@ export interface CustomerGroupCustomTypeSetMessage {
6405
6471
  * Generated after a successful [Set Customer Group](ctp:api:type:CustomerSetCustomerGroupAction) update action.
6406
6472
  *
6407
6473
  */
6408
- export interface CustomerGroupSetMessage {
6474
+ export interface CustomerGroupSetMessage extends IMessage {
6409
6475
  readonly type: 'CustomerGroupSet';
6410
6476
  /**
6411
6477
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6475,7 +6541,7 @@ export interface CustomerGroupSetMessage {
6475
6541
  * Generated after a successful [Set Last Name](ctp:api:type:CustomerSetLastNameAction) update action.
6476
6542
  *
6477
6543
  */
6478
- export interface CustomerLastNameSetMessage {
6544
+ export interface CustomerLastNameSetMessage extends IMessage {
6479
6545
  readonly type: 'CustomerLastNameSet';
6480
6546
  /**
6481
6547
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6545,7 +6611,7 @@ export interface CustomerLastNameSetMessage {
6545
6611
  * 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).
6546
6612
  *
6547
6613
  */
6548
- export interface CustomerPasswordTokenCreatedMessage {
6614
+ export interface CustomerPasswordTokenCreatedMessage extends IMessage {
6549
6615
  readonly type: 'CustomerPasswordTokenCreated';
6550
6616
  /**
6551
6617
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6621,7 +6687,7 @@ export interface CustomerPasswordTokenCreatedMessage {
6621
6687
  * 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.
6622
6688
  *
6623
6689
  */
6624
- export interface CustomerPasswordUpdatedMessage {
6690
+ export interface CustomerPasswordUpdatedMessage extends IMessage {
6625
6691
  readonly type: 'CustomerPasswordUpdated';
6626
6692
  /**
6627
6693
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6691,7 +6757,7 @@ export interface CustomerPasswordUpdatedMessage {
6691
6757
  * Generated after a successful [Set Title](ctp:api:type:CustomerSetTitleAction) update action.
6692
6758
  *
6693
6759
  */
6694
- export interface CustomerTitleSetMessage {
6760
+ export interface CustomerTitleSetMessage extends IMessage {
6695
6761
  readonly type: 'CustomerTitleSet';
6696
6762
  /**
6697
6763
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6761,7 +6827,7 @@ export interface CustomerTitleSetMessage {
6761
6827
  * Generated after a successful [Create DiscountCode](ctp:api:endpoint:/{projectKey}/discount-codes:POST) request.
6762
6828
  *
6763
6829
  */
6764
- export interface DiscountCodeCreatedMessage {
6830
+ export interface DiscountCodeCreatedMessage extends IMessage {
6765
6831
  readonly type: 'DiscountCodeCreated';
6766
6832
  /**
6767
6833
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6831,7 +6897,7 @@ export interface DiscountCodeCreatedMessage {
6831
6897
  * Generated after a successful [Delete DiscountCode](ctp:api:endpoint:/{projectKey}/discount-codes/{id}:DELETE) request.
6832
6898
  *
6833
6899
  */
6834
- export interface DiscountCodeDeletedMessage {
6900
+ export interface DiscountCodeDeletedMessage extends IMessage {
6835
6901
  readonly type: 'DiscountCodeDeleted';
6836
6902
  /**
6837
6903
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6895,7 +6961,7 @@ export interface DiscountCodeDeletedMessage {
6895
6961
  * Generated after a successful [Set Key](ctp:api:type:DiscountCodeSetKeyAction) update action.
6896
6962
  *
6897
6963
  */
6898
- export interface DiscountCodeKeySetMessage {
6964
+ export interface DiscountCodeKeySetMessage extends IMessage {
6899
6965
  readonly type: 'DiscountCodeKeySet';
6900
6966
  /**
6901
6967
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -6971,7 +7037,7 @@ export interface DiscountCodeKeySetMessage {
6971
7037
  * Generated after a successful [Create InventoryEntry](ctp:api:endpoint:/{projectKey}/inventory:POST) request.
6972
7038
  *
6973
7039
  */
6974
- export interface InventoryEntryCreatedMessage {
7040
+ export interface InventoryEntryCreatedMessage extends IMessage {
6975
7041
  readonly type: 'InventoryEntryCreated';
6976
7042
  /**
6977
7043
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7041,7 +7107,7 @@ export interface InventoryEntryCreatedMessage {
7041
7107
  * Generated after a successful [Delete InventoryEntry](/../api/projects/inventory#delete-inventoryentry) request.
7042
7108
  *
7043
7109
  */
7044
- export interface InventoryEntryDeletedMessage {
7110
+ export interface InventoryEntryDeletedMessage extends IMessage {
7045
7111
  readonly type: 'InventoryEntryDeleted';
7046
7112
  /**
7047
7113
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7118,7 +7184,7 @@ export interface InventoryEntryDeletedMessage {
7118
7184
  * Inventory changes as a result of [Order creation](ctp:api:endpoint:/{projectKey}/orders:POST) do not trigger this message.
7119
7185
  *
7120
7186
  */
7121
- export interface InventoryEntryQuantitySetMessage {
7187
+ export interface InventoryEntryQuantitySetMessage extends IMessage {
7122
7188
  readonly type: 'InventoryEntryQuantitySet';
7123
7189
  /**
7124
7190
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7285,11 +7351,76 @@ export interface MessagesConfigurationDraft {
7285
7351
  readonly deleteDaysAfterCreation: number;
7286
7352
  }
7287
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;
7354
+ export interface IOrderMessage {
7355
+ /**
7356
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
7357
+ *
7358
+ */
7359
+ readonly id: string;
7360
+ /**
7361
+ * Version of a resource. In case of Messages, this is always `1`.
7362
+ *
7363
+ */
7364
+ readonly version: number;
7365
+ /**
7366
+ * Date and time (UTC) the Message was generated.
7367
+ *
7368
+ */
7369
+ readonly createdAt: string;
7370
+ /**
7371
+ * Value of `createdAt`.
7372
+ *
7373
+ */
7374
+ readonly lastModifiedAt: string;
7375
+ /**
7376
+ * IDs and references that last modified the Message.
7377
+ *
7378
+ *
7379
+ */
7380
+ readonly lastModifiedBy?: LastModifiedBy;
7381
+ /**
7382
+ * IDs and references that created the Message.
7383
+ *
7384
+ *
7385
+ */
7386
+ readonly createdBy?: CreatedBy;
7387
+ /**
7388
+ * 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.
7389
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
7390
+ *
7391
+ *
7392
+ */
7393
+ readonly sequenceNumber: number;
7394
+ /**
7395
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
7396
+ *
7397
+ *
7398
+ */
7399
+ readonly resource: Reference;
7400
+ /**
7401
+ * Version of the resource on which the change or action was performed.
7402
+ *
7403
+ *
7404
+ */
7405
+ readonly resourceVersion: number;
7406
+ /**
7407
+ * [Message Type](/../api/projects/messages#message-types) of the Message.
7408
+ *
7409
+ *
7410
+ */
7411
+ readonly type: string;
7412
+ /**
7413
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
7414
+ *
7415
+ *
7416
+ */
7417
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
7418
+ }
7288
7419
  /**
7289
7420
  * Generated after a successful [Transition CustomLineItem State](ctp:api:type:OrderTransitionCustomLineItemStateAction) update action.
7290
7421
  *
7291
7422
  */
7292
- export interface CustomLineItemStateTransitionMessage {
7423
+ export interface CustomLineItemStateTransitionMessage extends IOrderMessage {
7293
7424
  readonly type: 'CustomLineItemStateTransition';
7294
7425
  /**
7295
7426
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7389,7 +7520,7 @@ export interface CustomLineItemStateTransitionMessage {
7389
7520
  * Generated after a successful [Add Delivery](ctp:api:type:OrderAddDeliveryAction) update action.
7390
7521
  *
7391
7522
  */
7392
- export interface DeliveryAddedMessage {
7523
+ export interface DeliveryAddedMessage extends IOrderMessage {
7393
7524
  readonly type: 'DeliveryAdded';
7394
7525
  /**
7395
7526
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7465,7 +7596,7 @@ export interface DeliveryAddedMessage {
7465
7596
  * Generated after a successful [Set Delivery Address](ctp:api:type:OrderSetDeliveryAddressAction) update action.
7466
7597
  *
7467
7598
  */
7468
- export interface DeliveryAddressSetMessage {
7599
+ export interface DeliveryAddressSetMessage extends IOrderMessage {
7469
7600
  readonly type: 'DeliveryAddressSet';
7470
7601
  /**
7471
7602
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7553,7 +7684,7 @@ export interface DeliveryAddressSetMessage {
7553
7684
  * Generated after adding a Custom Field to a Delivery using the [Set CustomField](ctp:api:type:OrderSetDeliveryCustomFieldAction) update action.
7554
7685
  *
7555
7686
  */
7556
- export interface DeliveryCustomFieldAddedMessage {
7687
+ export interface DeliveryCustomFieldAddedMessage extends IOrderMessage {
7557
7688
  readonly type: 'DeliveryCustomFieldAdded';
7558
7689
  /**
7559
7690
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7634,7 +7765,7 @@ export interface DeliveryCustomFieldAddedMessage {
7634
7765
  * Generated when an existing Custom Field on a Delivery has been changed using the [Set CustomField](ctp:api:type:OrderSetDeliveryCustomFieldAction) update action.
7635
7766
  *
7636
7767
  */
7637
- export interface DeliveryCustomFieldChangedMessage {
7768
+ export interface DeliveryCustomFieldChangedMessage extends IOrderMessage {
7638
7769
  readonly type: 'DeliveryCustomFieldChanged';
7639
7770
  /**
7640
7771
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7723,7 +7854,7 @@ export interface DeliveryCustomFieldChangedMessage {
7723
7854
  * Generated when a Custom Field has been removed from the Delivery using the [Set CustomField](ctp:api:type:OrderSetDeliveryCustomFieldAction) update action.
7724
7855
  *
7725
7856
  */
7726
- export interface DeliveryCustomFieldRemovedMessage {
7857
+ export interface DeliveryCustomFieldRemovedMessage extends IOrderMessage {
7727
7858
  readonly type: 'DeliveryCustomFieldRemoved';
7728
7859
  /**
7729
7860
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7799,7 +7930,7 @@ export interface DeliveryCustomFieldRemovedMessage {
7799
7930
  * Generated after removing a Custom Type from a Delivery using the [Set Custom Type](ctp:api:type:OrderSetDeliveryCustomTypeAction) update action with empty parameters.
7800
7931
  *
7801
7932
  */
7802
- export interface DeliveryCustomTypeRemovedMessage {
7933
+ export interface DeliveryCustomTypeRemovedMessage extends IOrderMessage {
7803
7934
  readonly type: 'DeliveryCustomTypeRemoved';
7804
7935
  /**
7805
7936
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7875,7 +8006,7 @@ export interface DeliveryCustomTypeRemovedMessage {
7875
8006
  * Generated after adding a Custom Type to a Delivery using the [Set Custom Type](ctp:api:type:OrderSetDeliveryCustomTypeAction) update action.
7876
8007
  *
7877
8008
  */
7878
- export interface DeliveryCustomTypeSetMessage {
8009
+ export interface DeliveryCustomTypeSetMessage extends IOrderMessage {
7879
8010
  readonly type: 'DeliveryCustomTypeSet';
7880
8011
  /**
7881
8012
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -7956,7 +8087,7 @@ export interface DeliveryCustomTypeSetMessage {
7956
8087
  * Generated after a successful [Set Delivery Items](ctp:api:type:OrderSetDeliveryItemsAction) update action.
7957
8088
  *
7958
8089
  */
7959
- export interface DeliveryItemsUpdatedMessage {
8090
+ export interface DeliveryItemsUpdatedMessage extends IOrderMessage {
7960
8091
  readonly type: 'DeliveryItemsUpdated';
7961
8092
  /**
7962
8093
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8044,7 +8175,7 @@ export interface DeliveryItemsUpdatedMessage {
8044
8175
  * Generated after a successful [Remove Delivery](ctp:api:type:OrderRemoveDeliveryAction) update action.
8045
8176
  *
8046
8177
  */
8047
- export interface DeliveryRemovedMessage {
8178
+ export interface DeliveryRemovedMessage extends IOrderMessage {
8048
8179
  readonly type: 'DeliveryRemoved';
8049
8180
  /**
8050
8181
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8120,7 +8251,7 @@ export interface DeliveryRemovedMessage {
8120
8251
  * Generated after a successful [Transition LineItem State](ctp:api:type:OrderTransitionLineItemStateAction) update action.
8121
8252
  *
8122
8253
  */
8123
- export interface LineItemStateTransitionMessage {
8254
+ export interface LineItemStateTransitionMessage extends IOrderMessage {
8124
8255
  readonly type: 'LineItemStateTransition';
8125
8256
  /**
8126
8257
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8220,7 +8351,7 @@ export interface LineItemStateTransitionMessage {
8220
8351
  * Generated after a successful [Set Billing Address](ctp:api:type:OrderSetBillingAddressAction) update action.
8221
8352
  *
8222
8353
  */
8223
- export interface OrderBillingAddressSetMessage {
8354
+ export interface OrderBillingAddressSetMessage extends IOrderMessage {
8224
8355
  readonly type: 'OrderBillingAddressSet';
8225
8356
  /**
8226
8357
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8296,7 +8427,7 @@ export interface OrderBillingAddressSetMessage {
8296
8427
  * Generated after a successful [Create Order](ctp:api:endpoint:/{projectKey}/orders:POST) request.
8297
8428
  *
8298
8429
  */
8299
- export interface OrderCreatedMessage {
8430
+ export interface OrderCreatedMessage extends IOrderMessage {
8300
8431
  readonly type: 'OrderCreated';
8301
8432
  /**
8302
8433
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8366,7 +8497,7 @@ export interface OrderCreatedMessage {
8366
8497
  * Generated after adding a Custom Field using the [Set CustomField](ctp:api:type:OrderSetCustomFieldAction).
8367
8498
  *
8368
8499
  */
8369
- export interface OrderCustomFieldAddedMessage {
8500
+ export interface OrderCustomFieldAddedMessage extends IOrderMessage {
8370
8501
  readonly type: 'OrderCustomFieldAdded';
8371
8502
  /**
8372
8503
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8441,7 +8572,7 @@ export interface OrderCustomFieldAddedMessage {
8441
8572
  * Generated when an existing Custom Field has been changed using the [Set CustomField](ctp:api:type:OrderSetCustomFieldAction) action.
8442
8573
  *
8443
8574
  */
8444
- export interface OrderCustomFieldChangedMessage {
8575
+ export interface OrderCustomFieldChangedMessage extends IOrderMessage {
8445
8576
  readonly type: 'OrderCustomFieldChanged';
8446
8577
  /**
8447
8578
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8524,7 +8655,7 @@ export interface OrderCustomFieldChangedMessage {
8524
8655
  * Generated when a Custom Field has been removed from the Order using the [Set CustomField](ctp:api:type:OrderSetCustomFieldAction) action.
8525
8656
  *
8526
8657
  */
8527
- export interface OrderCustomFieldRemovedMessage {
8658
+ export interface OrderCustomFieldRemovedMessage extends IOrderMessage {
8528
8659
  readonly type: 'OrderCustomFieldRemoved';
8529
8660
  /**
8530
8661
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8594,7 +8725,7 @@ export interface OrderCustomFieldRemovedMessage {
8594
8725
  * Generated after a successful [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction) update action.
8595
8726
  *
8596
8727
  */
8597
- export interface OrderCustomLineItemAddedMessage {
8728
+ export interface OrderCustomLineItemAddedMessage extends IOrderMessage {
8598
8729
  readonly type: 'OrderCustomLineItemAdded';
8599
8730
  /**
8600
8731
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8664,7 +8795,7 @@ export interface OrderCustomLineItemAddedMessage {
8664
8795
  * Generated after a successful recalculation of a Discount on a [Custom Line Item](ctp:api:type:CustomLineItem).
8665
8796
  *
8666
8797
  */
8667
- export interface OrderCustomLineItemDiscountSetMessage {
8798
+ export interface OrderCustomLineItemDiscountSetMessage extends IOrderMessage {
8668
8799
  readonly type: 'OrderCustomLineItemDiscountSet';
8669
8800
  /**
8670
8801
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8752,7 +8883,7 @@ export interface OrderCustomLineItemDiscountSetMessage {
8752
8883
  * Generated after a successful [Change CustomLineItem Quantity](ctp:api:type:StagedOrderChangeCustomLineItemQuantityAction) update action.
8753
8884
  *
8754
8885
  */
8755
- export interface OrderCustomLineItemQuantityChangedMessage {
8886
+ export interface OrderCustomLineItemQuantityChangedMessage extends IOrderMessage {
8756
8887
  readonly type: 'OrderCustomLineItemQuantityChanged';
8757
8888
  /**
8758
8889
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8840,7 +8971,7 @@ export interface OrderCustomLineItemQuantityChangedMessage {
8840
8971
  * Generated after a successful [Remove CustomLineItem](ctp:api:type:StagedOrderRemoveCustomLineItemAction) update action.
8841
8972
  *
8842
8973
  */
8843
- export interface OrderCustomLineItemRemovedMessage {
8974
+ export interface OrderCustomLineItemRemovedMessage extends IOrderMessage {
8844
8975
  readonly type: 'OrderCustomLineItemRemoved';
8845
8976
  /**
8846
8977
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8922,7 +9053,7 @@ export interface OrderCustomLineItemRemovedMessage {
8922
9053
  * Generated after a successful [Set Custom Type](ctp:api:type:OrderSetCustomTypeAction) with empty parameters.
8923
9054
  *
8924
9055
  */
8925
- export interface OrderCustomTypeRemovedMessage {
9056
+ export interface OrderCustomTypeRemovedMessage extends IOrderMessage {
8926
9057
  readonly type: 'OrderCustomTypeRemoved';
8927
9058
  /**
8928
9059
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -8992,7 +9123,7 @@ export interface OrderCustomTypeRemovedMessage {
8992
9123
  * Generated after a successful [Set Custom Type](ctp:api:type:OrderSetCustomTypeAction).
8993
9124
  *
8994
9125
  */
8995
- export interface OrderCustomTypeSetMessage {
9126
+ export interface OrderCustomTypeSetMessage extends IOrderMessage {
8996
9127
  readonly type: 'OrderCustomTypeSet';
8997
9128
  /**
8998
9129
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9067,7 +9198,7 @@ export interface OrderCustomTypeSetMessage {
9067
9198
  * Generated after a successful [Set Customer Email](ctp:api:type:OrderSetCustomerEmailAction) update action.
9068
9199
  *
9069
9200
  */
9070
- export interface OrderCustomerEmailSetMessage {
9201
+ export interface OrderCustomerEmailSetMessage extends IOrderMessage {
9071
9202
  readonly type: 'OrderCustomerEmailSet';
9072
9203
  /**
9073
9204
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9143,7 +9274,7 @@ export interface OrderCustomerEmailSetMessage {
9143
9274
  * Generated after a successful [Set Customer Group](ctp:api:type:StagedOrderSetCustomerGroupAction) update action.
9144
9275
  *
9145
9276
  */
9146
- export interface OrderCustomerGroupSetMessage {
9277
+ export interface OrderCustomerGroupSetMessage extends IOrderMessage {
9147
9278
  readonly type: 'OrderCustomerGroupSet';
9148
9279
  /**
9149
9280
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9219,7 +9350,7 @@ export interface OrderCustomerGroupSetMessage {
9219
9350
  * Generated after a successful [Set Customer ID](ctp:api:type:OrderSetCustomerIdAction) update action.
9220
9351
  *
9221
9352
  */
9222
- export interface OrderCustomerSetMessage {
9353
+ export interface OrderCustomerSetMessage extends IOrderMessage {
9223
9354
  readonly type: 'OrderCustomerSet';
9224
9355
  /**
9225
9356
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9307,7 +9438,7 @@ export interface OrderCustomerSetMessage {
9307
9438
  * Generated after a successful [Delete Order](/../api/projects/orders#delete-order) request.
9308
9439
  *
9309
9440
  */
9310
- export interface OrderDeletedMessage {
9441
+ export interface OrderDeletedMessage extends IOrderMessage {
9311
9442
  readonly type: 'OrderDeleted';
9312
9443
  /**
9313
9444
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9377,7 +9508,7 @@ export interface OrderDeletedMessage {
9377
9508
  * Generated after a successful [Add DiscountCode](ctp:api:type:StagedOrderAddDiscountCodeAction) update action.
9378
9509
  *
9379
9510
  */
9380
- export interface OrderDiscountCodeAddedMessage {
9511
+ export interface OrderDiscountCodeAddedMessage extends IOrderMessage {
9381
9512
  readonly type: 'OrderDiscountCodeAdded';
9382
9513
  /**
9383
9514
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9447,7 +9578,7 @@ export interface OrderDiscountCodeAddedMessage {
9447
9578
  * Generated after a successful [Remove DiscountCode](ctp:api:type:StagedOrderRemoveDiscountCodeAction) update action.
9448
9579
  *
9449
9580
  */
9450
- export interface OrderDiscountCodeRemovedMessage {
9581
+ export interface OrderDiscountCodeRemovedMessage extends IOrderMessage {
9451
9582
  readonly type: 'OrderDiscountCodeRemoved';
9452
9583
  /**
9453
9584
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9517,7 +9648,7 @@ export interface OrderDiscountCodeRemovedMessage {
9517
9648
  * Generated after the [DiscountCodeState](ctp:api:type:DiscountCodeState) changes due to a [recalculation](/../api/projects/carts#recalculate).
9518
9649
  *
9519
9650
  */
9520
- export interface OrderDiscountCodeStateSetMessage {
9651
+ export interface OrderDiscountCodeStateSetMessage extends IOrderMessage {
9521
9652
  readonly type: 'OrderDiscountCodeStateSet';
9522
9653
  /**
9523
9654
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9599,7 +9730,7 @@ export interface OrderDiscountCodeStateSetMessage {
9599
9730
  * Generated after successfully [applying an OrderEdit](ctp:api:endpoint:/{projectKey}/orders/edits/{id}/apply:POST).
9600
9731
  *
9601
9732
  */
9602
- export interface OrderEditAppliedMessage {
9733
+ export interface OrderEditAppliedMessage extends IOrderMessage {
9603
9734
  readonly type: 'OrderEditApplied';
9604
9735
  /**
9605
9736
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9675,7 +9806,7 @@ export interface OrderEditAppliedMessage {
9675
9806
  * Generated after a successful [Order Import](ctp:api:endpoint:/{projectKey}/orders/import:POST).
9676
9807
  *
9677
9808
  */
9678
- export interface OrderImportedMessage {
9809
+ export interface OrderImportedMessage extends IOrderMessage {
9679
9810
  readonly type: 'OrderImported';
9680
9811
  /**
9681
9812
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9745,7 +9876,7 @@ export interface OrderImportedMessage {
9745
9876
  * Generated after a successful [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction) update action.
9746
9877
  *
9747
9878
  */
9748
- export interface OrderLineItemAddedMessage {
9879
+ export interface OrderLineItemAddedMessage extends IOrderMessage {
9749
9880
  readonly type: 'OrderLineItemAdded';
9750
9881
  /**
9751
9882
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9821,7 +9952,7 @@ export interface OrderLineItemAddedMessage {
9821
9952
  * Generated after a successful recalculation of a Discount on a [Line Item](ctp:api:type:LineItem).
9822
9953
  *
9823
9954
  */
9824
- export interface OrderLineItemDiscountSetMessage {
9955
+ export interface OrderLineItemDiscountSetMessage extends IOrderMessage {
9825
9956
  readonly type: 'OrderLineItemDiscountSet';
9826
9957
  /**
9827
9958
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -9922,7 +10053,7 @@ export interface OrderLineItemDiscountSetMessage {
9922
10053
  * Generated after a successful [Set LineItem DistributionChannel](/../api/projects/order-edits#set-lineitem-distributionchannel) update action.
9923
10054
  *
9924
10055
  */
9925
- export interface OrderLineItemDistributionChannelSetMessage {
10056
+ export interface OrderLineItemDistributionChannelSetMessage extends IOrderMessage {
9926
10057
  readonly type: 'OrderLineItemDistributionChannelSet';
9927
10058
  /**
9928
10059
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10004,7 +10135,7 @@ export interface OrderLineItemDistributionChannelSetMessage {
10004
10135
  * Generated after a successful [Remove LineItem](ctp:api:type:StagedOrderRemoveLineItemAction) update action.
10005
10136
  *
10006
10137
  */
10007
- export interface OrderLineItemRemovedMessage {
10138
+ export interface OrderLineItemRemovedMessage extends IOrderMessage {
10008
10139
  readonly type: 'OrderLineItemRemoved';
10009
10140
  /**
10010
10141
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10122,7 +10253,7 @@ export interface OrderLineItemRemovedMessage {
10122
10253
  * Generated after a successful [Add Payment](ctp:api:type:OrderAddPaymentAction) update action or when a [Payment](ctp:api:type:Payment) is added via [Order Edits](ctp:api:type:StagedOrderAddPaymentAction).
10123
10254
  *
10124
10255
  */
10125
- export interface OrderPaymentAddedMessage {
10256
+ export interface OrderPaymentAddedMessage extends IMessage {
10126
10257
  readonly type: 'OrderPaymentAdded';
10127
10258
  /**
10128
10259
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10192,7 +10323,7 @@ export interface OrderPaymentAddedMessage {
10192
10323
  * Generated after a successful [Change PaymentState](ctp:api:type:OrderChangePaymentStateAction) update action.
10193
10324
  *
10194
10325
  */
10195
- export interface OrderPaymentStateChangedMessage {
10326
+ export interface OrderPaymentStateChangedMessage extends IOrderMessage {
10196
10327
  readonly type: 'OrderPaymentStateChanged';
10197
10328
  /**
10198
10329
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10268,7 +10399,7 @@ export interface OrderPaymentStateChangedMessage {
10268
10399
  * Generated after a successful [Set Purchase Order Number](ctp:api:type:OrderSetPurchaseOrderNumberAction) update action.
10269
10400
  *
10270
10401
  */
10271
- export interface OrderPurchaseOrderNumberSetMessage {
10402
+ export interface OrderPurchaseOrderNumberSetMessage extends IOrderMessage {
10272
10403
  readonly type: 'OrderPurchaseOrderNumberSet';
10273
10404
  /**
10274
10405
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10344,7 +10475,7 @@ export interface OrderPurchaseOrderNumberSetMessage {
10344
10475
  * Generated after a successful [Set ReturnShipmentState](ctp:api:type:OrderSetReturnShipmentStateAction) update action on [Orders](ctp:api:type:Order) and [Order Edits](ctp:api:type:OrderEdit).
10345
10476
  *
10346
10477
  */
10347
- export interface OrderReturnShipmentStateChangedMessage {
10478
+ export interface OrderReturnShipmentStateChangedMessage extends IOrderMessage {
10348
10479
  readonly type: 'OrderReturnShipmentStateChanged';
10349
10480
  /**
10350
10481
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10420,7 +10551,7 @@ export interface OrderReturnShipmentStateChangedMessage {
10420
10551
  * Generated after a successful [Change ShipmentState](ctp:api:type:OrderChangeShipmentStateAction) update action.
10421
10552
  *
10422
10553
  */
10423
- export interface OrderShipmentStateChangedMessage {
10554
+ export interface OrderShipmentStateChangedMessage extends IOrderMessage {
10424
10555
  readonly type: 'OrderShipmentStateChanged';
10425
10556
  /**
10426
10557
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10496,7 +10627,7 @@ export interface OrderShipmentStateChangedMessage {
10496
10627
  * Generated after a successful [Set Shipping Address](ctp:api:type:OrderSetShippingAddressAction) update action.
10497
10628
  *
10498
10629
  */
10499
- export interface OrderShippingAddressSetMessage {
10630
+ export interface OrderShippingAddressSetMessage extends IOrderMessage {
10500
10631
  readonly type: 'OrderShippingAddressSet';
10501
10632
  /**
10502
10633
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10572,7 +10703,7 @@ export interface OrderShippingAddressSetMessage {
10572
10703
  * Generated after a successful [Set ShippingMethod](ctp:api:type:StagedOrderSetShippingMethodAction) and [Set Custom ShippingMethod](ctp:api:type:StagedOrderSetCustomShippingMethodAction) update actions.
10573
10704
  *
10574
10705
  */
10575
- export interface OrderShippingInfoSetMessage {
10706
+ export interface OrderShippingInfoSetMessage extends IOrderMessage {
10576
10707
  readonly type: 'OrderShippingInfoSet';
10577
10708
  /**
10578
10709
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10648,7 +10779,7 @@ export interface OrderShippingInfoSetMessage {
10648
10779
  * Generated after a successful [Set ShippingRateInput](ctp:api:type:StagedOrderSetShippingRateInputAction) update action.
10649
10780
  *
10650
10781
  */
10651
- export interface OrderShippingRateInputSetMessage {
10782
+ export interface OrderShippingRateInputSetMessage extends IOrderMessage {
10652
10783
  readonly type: 'OrderShippingRateInputSet';
10653
10784
  /**
10654
10785
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10724,7 +10855,7 @@ export interface OrderShippingRateInputSetMessage {
10724
10855
  * Generated after a successful [Change OrderState](ctp:api:type:OrderChangeOrderStateAction) update action.
10725
10856
  *
10726
10857
  */
10727
- export interface OrderStateChangedMessage {
10858
+ export interface OrderStateChangedMessage extends IOrderMessage {
10728
10859
  readonly type: 'OrderStateChanged';
10729
10860
  /**
10730
10861
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10800,7 +10931,7 @@ export interface OrderStateChangedMessage {
10800
10931
  * Generated after a successful [Transition State](ctp:api:type:OrderTransitionStateAction) update action.
10801
10932
  *
10802
10933
  */
10803
- export interface OrderStateTransitionMessage {
10934
+ export interface OrderStateTransitionMessage extends IOrderMessage {
10804
10935
  readonly type: 'OrderStateTransition';
10805
10936
  /**
10806
10937
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10882,7 +11013,7 @@ export interface OrderStateTransitionMessage {
10882
11013
  * Generated after a successful [Set Store](ctp:api:type:OrderSetStoreAction) update action.
10883
11014
  *
10884
11015
  */
10885
- export interface OrderStoreSetMessage {
11016
+ export interface OrderStoreSetMessage extends IOrderMessage {
10886
11017
  readonly type: 'OrderStoreSet';
10887
11018
  /**
10888
11019
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -10952,7 +11083,7 @@ export interface OrderStoreSetMessage {
10952
11083
  * Generated after a successful [Add Parcel to Delivery](ctp:api:type:OrderAddParcelToDeliveryAction) update action.
10953
11084
  *
10954
11085
  */
10955
- export interface ParcelAddedToDeliveryMessage {
11086
+ export interface ParcelAddedToDeliveryMessage extends IOrderMessage {
10956
11087
  readonly type: 'ParcelAddedToDelivery';
10957
11088
  /**
10958
11089
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11034,7 +11165,7 @@ export interface ParcelAddedToDeliveryMessage {
11034
11165
  * Generated after a successful [Set Parcel Items](ctp:api:type:OrderSetParcelItemsAction) update action.
11035
11166
  *
11036
11167
  */
11037
- export interface ParcelItemsUpdatedMessage {
11168
+ export interface ParcelItemsUpdatedMessage extends IOrderMessage {
11038
11169
  readonly type: 'ParcelItemsUpdated';
11039
11170
  /**
11040
11171
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11128,7 +11259,7 @@ export interface ParcelItemsUpdatedMessage {
11128
11259
  * Generated after a successful [Set Parcel Measurements](ctp:api:type:OrderSetParcelMeasurementsAction) update action.
11129
11260
  *
11130
11261
  */
11131
- export interface ParcelMeasurementsUpdatedMessage {
11262
+ export interface ParcelMeasurementsUpdatedMessage extends IOrderMessage {
11132
11263
  readonly type: 'ParcelMeasurementsUpdated';
11133
11264
  /**
11134
11265
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11216,7 +11347,7 @@ export interface ParcelMeasurementsUpdatedMessage {
11216
11347
  * Generated after a successful [Remove Parcel from Delivery](ctp:api:type:OrderRemoveParcelFromDeliveryAction) update action.
11217
11348
  *
11218
11349
  */
11219
- export interface ParcelRemovedFromDeliveryMessage {
11350
+ export interface ParcelRemovedFromDeliveryMessage extends IOrderMessage {
11220
11351
  readonly type: 'ParcelRemovedFromDelivery';
11221
11352
  /**
11222
11353
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11298,7 +11429,7 @@ export interface ParcelRemovedFromDeliveryMessage {
11298
11429
  * Generated after a successful [Set Parcel Tracking Data](ctp:api:type:OrderSetParcelTrackingDataAction) update action.
11299
11430
  *
11300
11431
  */
11301
- export interface ParcelTrackingDataUpdatedMessage {
11432
+ export interface ParcelTrackingDataUpdatedMessage extends IOrderMessage {
11302
11433
  readonly type: 'ParcelTrackingDataUpdated';
11303
11434
  /**
11304
11435
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11386,7 +11517,7 @@ export interface ParcelTrackingDataUpdatedMessage {
11386
11517
  * Generated after a successful [Create Payment](ctp:api:endpoint:/{projectKey}/payments:POST) request.
11387
11518
  *
11388
11519
  */
11389
- export interface PaymentCreatedMessage {
11520
+ export interface PaymentCreatedMessage extends IMessage {
11390
11521
  readonly type: 'PaymentCreated';
11391
11522
  /**
11392
11523
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11456,7 +11587,7 @@ export interface PaymentCreatedMessage {
11456
11587
  * Generated after a successful [Add InterfaceInteraction](ctp:api:type:PaymentAddInterfaceInteractionAction) update action.
11457
11588
  *
11458
11589
  */
11459
- export interface PaymentInteractionAddedMessage {
11590
+ export interface PaymentInteractionAddedMessage extends IMessage {
11460
11591
  readonly type: 'PaymentInteractionAdded';
11461
11592
  /**
11462
11593
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11526,7 +11657,7 @@ export interface PaymentInteractionAddedMessage {
11526
11657
  * Generated after a successful [Set StatusInterfaceCode](ctp:api:type:PaymentSetStatusInterfaceCodeAction) update action.
11527
11658
  *
11528
11659
  */
11529
- export interface PaymentStatusInterfaceCodeSetMessage {
11660
+ export interface PaymentStatusInterfaceCodeSetMessage extends IMessage {
11530
11661
  readonly type: 'PaymentStatusInterfaceCodeSet';
11531
11662
  /**
11532
11663
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11596,7 +11727,7 @@ export interface PaymentStatusInterfaceCodeSetMessage {
11596
11727
  * Generated after a successful [Transition State](ctp:api:type:PaymentTransitionStateAction) update action.
11597
11728
  *
11598
11729
  */
11599
- export interface PaymentStatusStateTransitionMessage {
11730
+ export interface PaymentStatusStateTransitionMessage extends IMessage {
11600
11731
  readonly type: 'PaymentStatusStateTransition';
11601
11732
  /**
11602
11733
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11672,7 +11803,7 @@ export interface PaymentStatusStateTransitionMessage {
11672
11803
  * Generated after a successful [Add Transaction](ctp:api:type:PaymentAddTransactionAction) update action.
11673
11804
  *
11674
11805
  */
11675
- export interface PaymentTransactionAddedMessage {
11806
+ export interface PaymentTransactionAddedMessage extends IMessage {
11676
11807
  readonly type: 'PaymentTransactionAdded';
11677
11808
  /**
11678
11809
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11742,7 +11873,7 @@ export interface PaymentTransactionAddedMessage {
11742
11873
  * Generated after a successful [Change TransactionState](ctp:api:type:PaymentChangeTransactionStateAction) update action.
11743
11874
  *
11744
11875
  */
11745
- export interface PaymentTransactionStateChangedMessage {
11876
+ export interface PaymentTransactionStateChangedMessage extends IMessage {
11746
11877
  readonly type: 'PaymentTransactionStateChanged';
11747
11878
  /**
11748
11879
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11818,7 +11949,7 @@ export interface PaymentTransactionStateChangedMessage {
11818
11949
  * Generated after a successful [Add to Category](ctp:api:type:ProductAddToCategoryAction) update action.
11819
11950
  *
11820
11951
  */
11821
- export interface ProductAddedToCategoryMessage {
11952
+ export interface ProductAddedToCategoryMessage extends IMessage {
11822
11953
  readonly type: 'ProductAddedToCategory';
11823
11954
  /**
11824
11955
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11894,7 +12025,7 @@ export interface ProductAddedToCategoryMessage {
11894
12025
  * Generated after a successful [Create Product](ctp:api:endpoint:/{projectKey}/products:POST) request.
11895
12026
  *
11896
12027
  */
11897
- export interface ProductCreatedMessage {
12028
+ export interface ProductCreatedMessage extends IMessage {
11898
12029
  readonly type: 'ProductCreated';
11899
12030
  /**
11900
12031
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -11964,7 +12095,7 @@ export interface ProductCreatedMessage {
11964
12095
  * Generated after a successful [Delete Product](/../api/projects/products#delete-product) request.
11965
12096
  *
11966
12097
  */
11967
- export interface ProductDeletedMessage {
12098
+ export interface ProductDeletedMessage extends IMessage {
11968
12099
  readonly type: 'ProductDeleted';
11969
12100
  /**
11970
12101
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12040,7 +12171,7 @@ export interface ProductDeletedMessage {
12040
12171
  * Generated after a successful [Add External Image](ctp:api:type:ProductAddExternalImageAction) update action or after the successful [upload of an image](/../api/projects/products#upload-product-image).
12041
12172
  *
12042
12173
  */
12043
- export interface ProductImageAddedMessage {
12174
+ export interface ProductImageAddedMessage extends IMessage {
12044
12175
  readonly type: 'ProductImageAdded';
12045
12176
  /**
12046
12177
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12122,7 +12253,7 @@ export interface ProductImageAddedMessage {
12122
12253
  * Generated after a successful [Add Price](ctp:api:type:ProductAddPriceAction) update action.
12123
12254
  *
12124
12255
  */
12125
- export interface ProductPriceAddedMessage {
12256
+ export interface ProductPriceAddedMessage extends IMessage {
12126
12257
  readonly type: 'ProductPriceAdded';
12127
12258
  /**
12128
12259
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12204,7 +12335,7 @@ export interface ProductPriceAddedMessage {
12204
12335
  * Generated after a successful [Change Price](ctp:api:type:ProductChangePriceAction) update action.
12205
12336
  *
12206
12337
  */
12207
- export interface ProductPriceChangedMessage {
12338
+ export interface ProductPriceChangedMessage extends IMessage {
12208
12339
  readonly type: 'ProductPriceChanged';
12209
12340
  /**
12210
12341
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12298,7 +12429,7 @@ export interface ProductPriceChangedMessage {
12298
12429
  * Generated after adding a Custom Field to a Price using the [Set Price CustomField](ctp:api:type:ProductSetProductPriceCustomFieldAction) update action.
12299
12430
  *
12300
12431
  */
12301
- export interface ProductPriceCustomFieldAddedMessage {
12432
+ export interface ProductPriceCustomFieldAddedMessage extends IMessage {
12302
12433
  readonly type: 'ProductPriceCustomFieldAdded';
12303
12434
  /**
12304
12435
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12392,7 +12523,7 @@ export interface ProductPriceCustomFieldAddedMessage {
12392
12523
  * Generated after changing an existing Custom Field on a Price using the [Set Price CustomField](ctp:api:type:ProductSetProductPriceCustomFieldAction) update action.
12393
12524
  *
12394
12525
  */
12395
- export interface ProductPriceCustomFieldChangedMessage {
12526
+ export interface ProductPriceCustomFieldChangedMessage extends IMessage {
12396
12527
  readonly type: 'ProductPriceCustomFieldChanged';
12397
12528
  /**
12398
12529
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12486,7 +12617,7 @@ export interface ProductPriceCustomFieldChangedMessage {
12486
12617
  * Generated after removing a Custom Field from a Price using the [Set Price CustomField](ctp:api:type:ProductSetProductPriceCustomFieldAction) update action.
12487
12618
  *
12488
12619
  */
12489
- export interface ProductPriceCustomFieldRemovedMessage {
12620
+ export interface ProductPriceCustomFieldRemovedMessage extends IMessage {
12490
12621
  readonly type: 'ProductPriceCustomFieldRemoved';
12491
12622
  /**
12492
12623
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12574,7 +12705,7 @@ export interface ProductPriceCustomFieldRemovedMessage {
12574
12705
  * Generated after removing a Custom Type from a Price using the [Set Price Custom Type](ctp:api:type:ProductSetProductPriceCustomTypeAction) update action.
12575
12706
  *
12576
12707
  */
12577
- export interface ProductPriceCustomFieldsRemovedMessage {
12708
+ export interface ProductPriceCustomFieldsRemovedMessage extends IMessage {
12578
12709
  readonly type: 'ProductPriceCustomFieldsRemoved';
12579
12710
  /**
12580
12711
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12656,7 +12787,7 @@ export interface ProductPriceCustomFieldsRemovedMessage {
12656
12787
  * Generated after a successful [Set Price Custom Type](ctp:api:type:ProductSetProductPriceCustomTypeAction) update action.
12657
12788
  *
12658
12789
  */
12659
- export interface ProductPriceCustomFieldsSetMessage {
12790
+ export interface ProductPriceCustomFieldsSetMessage extends IMessage {
12660
12791
  readonly type: 'ProductPriceCustomFieldsSet';
12661
12792
  /**
12662
12793
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12750,7 +12881,7 @@ export interface ProductPriceCustomFieldsSetMessage {
12750
12881
  * Generated after a Price is updated due to a [Product Discount](ctp:api:type:ProductDiscount).
12751
12882
  *
12752
12883
  */
12753
- export interface ProductPriceDiscountsSetMessage {
12884
+ export interface ProductPriceDiscountsSetMessage extends IMessage {
12754
12885
  readonly type: 'ProductPriceDiscountsSet';
12755
12886
  /**
12756
12887
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12862,7 +12993,7 @@ export interface ProductPriceDiscountsSetUpdatedPrice {
12862
12993
  * Generated after a successful [Set Discounted Price](ctp:api:type:ProductSetDiscountedPriceAction) update action.
12863
12994
  *
12864
12995
  */
12865
- export interface ProductPriceExternalDiscountSetMessage {
12996
+ export interface ProductPriceExternalDiscountSetMessage extends IMessage {
12866
12997
  readonly type: 'ProductPriceExternalDiscountSet';
12867
12998
  /**
12868
12999
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -12962,7 +13093,7 @@ export interface ProductPriceExternalDiscountSetMessage {
12962
13093
  * Generated after a successful [Set Price Key](ctp:api:type:ProductSetPriceKeyAction) update action.
12963
13094
  *
12964
13095
  */
12965
- export interface ProductPriceKeySetMessage {
13096
+ export interface ProductPriceKeySetMessage extends IMessage {
12966
13097
  readonly type: 'ProductPriceKeySet';
12967
13098
  /**
12968
13099
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13054,7 +13185,7 @@ export interface ProductPriceKeySetMessage {
13054
13185
  * Generated after a successful [Set PriceMode](ctp:api:type:ProductSetPriceModeAction) update action.
13055
13186
  *
13056
13187
  */
13057
- export interface ProductPriceModeSetMessage {
13188
+ export interface ProductPriceModeSetMessage extends IMessage {
13058
13189
  readonly type: 'ProductPriceModeSet';
13059
13190
  /**
13060
13191
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13124,7 +13255,7 @@ export interface ProductPriceModeSetMessage {
13124
13255
  * Generated after a successful [Remove Price](ctp:api:type:ProductRemovePriceAction) update action.
13125
13256
  *
13126
13257
  */
13127
- export interface ProductPriceRemovedMessage {
13258
+ export interface ProductPriceRemovedMessage extends IMessage {
13128
13259
  readonly type: 'ProductPriceRemoved';
13129
13260
  /**
13130
13261
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13206,7 +13337,7 @@ export interface ProductPriceRemovedMessage {
13206
13337
  * Generated after a successful [Set Prices](ctp:api:type:ProductSetPricesAction) update action.
13207
13338
  *
13208
13339
  */
13209
- export interface ProductPricesSetMessage {
13340
+ export interface ProductPricesSetMessage extends IMessage {
13210
13341
  readonly type: 'ProductPricesSet';
13211
13342
  /**
13212
13343
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13288,7 +13419,7 @@ export interface ProductPricesSetMessage {
13288
13419
  * Generated after a successful [Publish](ctp:api:type:ProductPublishAction) update action.
13289
13420
  *
13290
13421
  */
13291
- export interface ProductPublishedMessage {
13422
+ export interface ProductPublishedMessage extends IMessage {
13292
13423
  readonly type: 'ProductPublished';
13293
13424
  /**
13294
13425
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13370,7 +13501,7 @@ export interface ProductPublishedMessage {
13370
13501
  * Generated after a successful [Remove from Category](ctp:api:type:ProductRemoveFromCategoryAction) update action.
13371
13502
  *
13372
13503
  */
13373
- export interface ProductRemovedFromCategoryMessage {
13504
+ export interface ProductRemovedFromCategoryMessage extends IMessage {
13374
13505
  readonly type: 'ProductRemovedFromCategory';
13375
13506
  /**
13376
13507
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13446,7 +13577,7 @@ export interface ProductRemovedFromCategoryMessage {
13446
13577
  * Generated after a successful [Revert Staged Changes](ctp:api:type:ProductRevertStagedChangesAction) update action.
13447
13578
  *
13448
13579
  */
13449
- export interface ProductRevertedStagedChangesMessage {
13580
+ export interface ProductRevertedStagedChangesMessage extends IMessage {
13450
13581
  readonly type: 'ProductRevertedStagedChanges';
13451
13582
  /**
13452
13583
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13516,7 +13647,7 @@ export interface ProductRevertedStagedChangesMessage {
13516
13647
  * Generated after a successful [Create Product Selection](ctp:api:endpoint:/{projectKey}/product-selections:POST) request.
13517
13648
  *
13518
13649
  */
13519
- export interface ProductSelectionCreatedMessage {
13650
+ export interface ProductSelectionCreatedMessage extends IMessage {
13520
13651
  readonly type: 'ProductSelectionCreated';
13521
13652
  /**
13522
13653
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13586,7 +13717,7 @@ export interface ProductSelectionCreatedMessage {
13586
13717
  * Generated after a successful [Delete Product Selection](/../api/projects/product-selections#delete-productselection) request.
13587
13718
  *
13588
13719
  */
13589
- export interface ProductSelectionDeletedMessage {
13720
+ export interface ProductSelectionDeletedMessage extends IMessage {
13590
13721
  readonly type: 'ProductSelectionDeleted';
13591
13722
  /**
13592
13723
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13650,7 +13781,7 @@ export interface ProductSelectionDeletedMessage {
13650
13781
  * Generated after a successful [Add Product](ctp:api:type:ProductSelectionAddProductAction) update action.
13651
13782
  *
13652
13783
  */
13653
- export interface ProductSelectionProductAddedMessage {
13784
+ export interface ProductSelectionProductAddedMessage extends IMessage {
13654
13785
  readonly type: 'ProductSelectionProductAdded';
13655
13786
  /**
13656
13787
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13726,7 +13857,7 @@ export interface ProductSelectionProductAddedMessage {
13726
13857
  * Generated after a successful [Exclude Product](ctp:api:type:ProductSelectionExcludeProductAction) update action.
13727
13858
  *
13728
13859
  */
13729
- export interface ProductSelectionProductExcludedMessage {
13860
+ export interface ProductSelectionProductExcludedMessage extends IMessage {
13730
13861
  readonly type: 'ProductSelectionProductExcluded';
13731
13862
  /**
13732
13863
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13802,7 +13933,7 @@ export interface ProductSelectionProductExcludedMessage {
13802
13933
  * Generated after a successful [Remove Product](ctp:api:type:ProductSelectionRemoveProductAction) update action.
13803
13934
  *
13804
13935
  */
13805
- export interface ProductSelectionProductRemovedMessage {
13936
+ export interface ProductSelectionProductRemovedMessage extends IMessage {
13806
13937
  readonly type: 'ProductSelectionProductRemoved';
13807
13938
  /**
13808
13939
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13872,7 +14003,7 @@ export interface ProductSelectionProductRemovedMessage {
13872
14003
  * Generated after a successful [Set Variant Exclusion](ctp:api:type:ProductSelectionSetVariantExclusionAction) update action.
13873
14004
  *
13874
14005
  */
13875
- export interface ProductSelectionVariantExclusionChangedMessage {
14006
+ export interface ProductSelectionVariantExclusionChangedMessage extends IMessage {
13876
14007
  readonly type: 'ProductSelectionVariantExclusionChanged';
13877
14008
  /**
13878
14009
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -13952,7 +14083,7 @@ export interface ProductSelectionVariantExclusionChangedMessage {
13952
14083
  * Generated after a successful [Set Variant Selection](ctp:api:type:ProductSelectionSetVariantSelectionAction) update action.
13953
14084
  *
13954
14085
  */
13955
- export interface ProductSelectionVariantSelectionChangedMessage {
14086
+ export interface ProductSelectionVariantSelectionChangedMessage extends IMessage {
13956
14087
  readonly type: 'ProductSelectionVariantSelectionChanged';
13957
14088
  /**
13958
14089
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14032,7 +14163,7 @@ export interface ProductSelectionVariantSelectionChangedMessage {
14032
14163
  * Generated after a successful [Change Slug](ctp:api:type:ProductChangeSlugAction) update action.
14033
14164
  *
14034
14165
  */
14035
- export interface ProductSlugChangedMessage {
14166
+ export interface ProductSlugChangedMessage extends IMessage {
14036
14167
  readonly type: 'ProductSlugChanged';
14037
14168
  /**
14038
14169
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14108,7 +14239,7 @@ export interface ProductSlugChangedMessage {
14108
14239
  * Generated after a successful [Transition State](ctp:api:type:ProductTransitionStateAction) update action.
14109
14240
  *
14110
14241
  */
14111
- export interface ProductStateTransitionMessage {
14242
+ export interface ProductStateTransitionMessage extends IMessage {
14112
14243
  readonly type: 'ProductStateTransition';
14113
14244
  /**
14114
14245
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14184,7 +14315,7 @@ export interface ProductStateTransitionMessage {
14184
14315
  * [Create Product Tailoring in Store](/../api/projects/product-tailoring#create-producttailoring-in-store) request.
14185
14316
  *
14186
14317
  */
14187
- export interface ProductTailoringCreatedMessage {
14318
+ export interface ProductTailoringCreatedMessage extends IMessage {
14188
14319
  readonly type: 'ProductTailoringCreated';
14189
14320
  /**
14190
14321
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14321,7 +14452,7 @@ export interface ProductTailoringCreatedMessage {
14321
14452
  * [Delete ProductTailoring assigned to Product in Store](/../api/projects/product-tailoring#delete-producttailoring-assigned-to-product-in-store) request.
14322
14453
  *
14323
14454
  */
14324
- export interface ProductTailoringDeletedMessage {
14455
+ export interface ProductTailoringDeletedMessage extends IMessage {
14325
14456
  readonly type: 'ProductTailoringDeleted';
14326
14457
  /**
14327
14458
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14403,7 +14534,7 @@ export interface ProductTailoringDeletedMessage {
14403
14534
  * Generated after a successful Product Tailoring [Set Description](ctp:api:type:ProductTailoringSetDescriptionAction) update action.
14404
14535
  *
14405
14536
  */
14406
- export interface ProductTailoringDescriptionSetMessage {
14537
+ export interface ProductTailoringDescriptionSetMessage extends IMessage {
14407
14538
  readonly type: 'ProductTailoringDescriptionSet';
14408
14539
  /**
14409
14540
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14498,7 +14629,7 @@ export interface ProductTailoringDescriptionSetMessage {
14498
14629
  * or after a successful [Upload Product Tailoring image](/projects/product-tailoring#upload-product-tailoring-image) request.
14499
14630
  *
14500
14631
  */
14501
- export interface ProductTailoringImageAddedMessage {
14632
+ export interface ProductTailoringImageAddedMessage extends IMessage {
14502
14633
  readonly type: 'ProductTailoringImageAdded';
14503
14634
  /**
14504
14635
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14592,7 +14723,7 @@ export interface ProductTailoringImageAddedMessage {
14592
14723
  * Generated after a successful [Set Images](ctp:api:type:ProductTailoringSetExternalImagesAction) update action.
14593
14724
  *
14594
14725
  */
14595
- export interface ProductTailoringImagesSetMessage {
14726
+ export interface ProductTailoringImagesSetMessage extends IMessage {
14596
14727
  readonly type: 'ProductTailoringImagesSet';
14597
14728
  /**
14598
14729
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14692,7 +14823,7 @@ export interface ProductTailoringImagesSetMessage {
14692
14823
  * Generated after a successful Product Tailoring [Set Name](ctp:api:type:ProductTailoringSetNameAction) update action.
14693
14824
  *
14694
14825
  */
14695
- export interface ProductTailoringNameSetMessage {
14826
+ export interface ProductTailoringNameSetMessage extends IMessage {
14696
14827
  readonly type: 'ProductTailoringNameSet';
14697
14828
  /**
14698
14829
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14786,7 +14917,7 @@ export interface ProductTailoringNameSetMessage {
14786
14917
  * Generated after a successful [Product Tailoring Publish](ctp:api:type:ProductTailoringPublishAction) update action.
14787
14918
  *
14788
14919
  */
14789
- export interface ProductTailoringPublishedMessage {
14920
+ export interface ProductTailoringPublishedMessage extends IMessage {
14790
14921
  readonly type: 'ProductTailoringPublished';
14791
14922
  /**
14792
14923
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14868,7 +14999,7 @@ export interface ProductTailoringPublishedMessage {
14868
14999
  * Generated after a successful Product Tailoring [Set Slug](ctp:api:type:ProductTailoringSetSlugAction) update action.
14869
15000
  *
14870
15001
  */
14871
- export interface ProductTailoringSlugSetMessage {
15002
+ export interface ProductTailoringSlugSetMessage extends IMessage {
14872
15003
  readonly type: 'ProductTailoringSlugSet';
14873
15004
  /**
14874
15005
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -14962,7 +15093,7 @@ export interface ProductTailoringSlugSetMessage {
14962
15093
  * Generated after a successful [Product Tailoring Unpublish](ctp:api:type:ProductTailoringUnpublishAction) update action.
14963
15094
  *
14964
15095
  */
14965
- export interface ProductTailoringUnpublishedMessage {
15096
+ export interface ProductTailoringUnpublishedMessage extends IMessage {
14966
15097
  readonly type: 'ProductTailoringUnpublished';
14967
15098
  /**
14968
15099
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15044,7 +15175,7 @@ export interface ProductTailoringUnpublishedMessage {
15044
15175
  * Generated after a successful [Unpublish Product](ctp:api:type:ProductUnpublishAction) update action.
15045
15176
  *
15046
15177
  */
15047
- export interface ProductUnpublishedMessage {
15178
+ export interface ProductUnpublishedMessage extends IMessage {
15048
15179
  readonly type: 'ProductUnpublished';
15049
15180
  /**
15050
15181
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15108,7 +15239,7 @@ export interface ProductUnpublishedMessage {
15108
15239
  * Generated after a successful [Add ProductVariant](ctp:api:type:ProductAddVariantAction) update action.
15109
15240
  *
15110
15241
  */
15111
- export interface ProductVariantAddedMessage {
15242
+ export interface ProductVariantAddedMessage extends IMessage {
15112
15243
  readonly type: 'ProductVariantAdded';
15113
15244
  /**
15114
15245
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15184,7 +15315,7 @@ export interface ProductVariantAddedMessage {
15184
15315
  * Generated after a successful [Remove ProductVariant](ctp:api:type:ProductRemoveVariantAction) update action.
15185
15316
  *
15186
15317
  */
15187
- export interface ProductVariantDeletedMessage {
15318
+ export interface ProductVariantDeletedMessage extends IMessage {
15188
15319
  readonly type: 'ProductVariantDeleted';
15189
15320
  /**
15190
15321
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15267,7 +15398,7 @@ export interface ProductVariantDeletedMessage {
15267
15398
  * Generated after a successful [Add ProductVariant Tailoring](ctp:api:type:ProductTailoringAddVariantAction) update action.
15268
15399
  *
15269
15400
  */
15270
- export interface ProductVariantTailoringAddedMessage {
15401
+ export interface ProductVariantTailoringAddedMessage extends IMessage {
15271
15402
  readonly type: 'ProductVariantTailoringAdded';
15272
15403
  /**
15273
15404
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15361,7 +15492,7 @@ export interface ProductVariantTailoringAddedMessage {
15361
15492
  * Generated after a successful [Remove ProductVariant Tailoring](ctp:api:type:ProductTailoringRemoveVariantAction) update action.
15362
15493
  *
15363
15494
  */
15364
- export interface ProductVariantTailoringRemovedMessage {
15495
+ export interface ProductVariantTailoringRemovedMessage extends IMessage {
15365
15496
  readonly type: 'ProductVariantTailoringRemoved';
15366
15497
  /**
15367
15498
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15455,7 +15586,7 @@ export interface ProductVariantTailoringRemovedMessage {
15455
15586
  * Generated after a successful [Create Quote](ctp:api:endpoint:/{projectKey}/quotes:POST) request.
15456
15587
  *
15457
15588
  */
15458
- export interface QuoteCreatedMessage {
15589
+ export interface QuoteCreatedMessage extends IMessage {
15459
15590
  readonly type: 'QuoteCreated';
15460
15591
  /**
15461
15592
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15525,7 +15656,7 @@ export interface QuoteCreatedMessage {
15525
15656
  * Generated after a successful [Change Customer](ctp:api:type:QuoteChangeCustomerAction) update action.
15526
15657
  *
15527
15658
  */
15528
- export interface QuoteCustomerChangedMessage {
15659
+ export interface QuoteCustomerChangedMessage extends IMessage {
15529
15660
  readonly type: 'QuoteCustomerChanged';
15530
15661
  /**
15531
15662
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15601,7 +15732,7 @@ export interface QuoteCustomerChangedMessage {
15601
15732
  * Generated after a successful [Delete Quote](/../api/projects/quotes#delete-quote) request.
15602
15733
  *
15603
15734
  */
15604
- export interface QuoteDeletedMessage {
15735
+ export interface QuoteDeletedMessage extends IMessage {
15605
15736
  readonly type: 'QuoteDeleted';
15606
15737
  /**
15607
15738
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15665,7 +15796,7 @@ export interface QuoteDeletedMessage {
15665
15796
  * Generated after a successful [Request Quote Renegotiation](ctp:api:type:QuoteRequestQuoteRenegotiationAction) update action.
15666
15797
  *
15667
15798
  */
15668
- export interface QuoteRenegotiationRequestedMessage {
15799
+ export interface QuoteRenegotiationRequestedMessage extends IMessage {
15669
15800
  readonly type: 'QuoteRenegotiationRequested';
15670
15801
  /**
15671
15802
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15735,7 +15866,7 @@ export interface QuoteRenegotiationRequestedMessage {
15735
15866
  * Generated after a successful [Create QuoteRequest](ctp:api:endpoint:/{projectKey}/quote-requests:POST) request.
15736
15867
  *
15737
15868
  */
15738
- export interface QuoteRequestCreatedMessage {
15869
+ export interface QuoteRequestCreatedMessage extends IMessage {
15739
15870
  readonly type: 'QuoteRequestCreated';
15740
15871
  /**
15741
15872
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15805,7 +15936,7 @@ export interface QuoteRequestCreatedMessage {
15805
15936
  * Generated after a successful [Change Customer](ctp:api:type:QuoteRequestChangeCustomerAction) update action.
15806
15937
  *
15807
15938
  */
15808
- export interface QuoteRequestCustomerChangedMessage {
15939
+ export interface QuoteRequestCustomerChangedMessage extends IMessage {
15809
15940
  readonly type: 'QuoteRequestCustomerChanged';
15810
15941
  /**
15811
15942
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15881,7 +16012,7 @@ export interface QuoteRequestCustomerChangedMessage {
15881
16012
  * Generated after a successful [Delete QuoteRequest](/../api/projects/quote-requests#delete-quoterequest) request.
15882
16013
  *
15883
16014
  */
15884
- export interface QuoteRequestDeletedMessage {
16015
+ export interface QuoteRequestDeletedMessage extends IMessage {
15885
16016
  readonly type: 'QuoteRequestDeleted';
15886
16017
  /**
15887
16018
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -15945,7 +16076,7 @@ export interface QuoteRequestDeletedMessage {
15945
16076
  * Generated after a successful [Change Quote Request State](ctp:api:type:QuoteRequestChangeQuoteRequestStateAction) update action.
15946
16077
  *
15947
16078
  */
15948
- export interface QuoteRequestStateChangedMessage {
16079
+ export interface QuoteRequestStateChangedMessage extends IMessage {
15949
16080
  readonly type: 'QuoteRequestStateChanged';
15950
16081
  /**
15951
16082
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16021,7 +16152,7 @@ export interface QuoteRequestStateChangedMessage {
16021
16152
  * Generated after a successful [Transition State](ctp:api:type:QuoteRequestTransitionStateAction) update action.
16022
16153
  *
16023
16154
  */
16024
- export interface QuoteRequestStateTransitionMessage {
16155
+ export interface QuoteRequestStateTransitionMessage extends IMessage {
16025
16156
  readonly type: 'QuoteRequestStateTransition';
16026
16157
  /**
16027
16158
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16103,7 +16234,7 @@ export interface QuoteRequestStateTransitionMessage {
16103
16234
  * Generated after a successful [Change Quote State](ctp:api:type:QuoteChangeQuoteStateAction) update action.
16104
16235
  *
16105
16236
  */
16106
- export interface QuoteStateChangedMessage {
16237
+ export interface QuoteStateChangedMessage extends IMessage {
16107
16238
  readonly type: 'QuoteStateChanged';
16108
16239
  /**
16109
16240
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16179,7 +16310,7 @@ export interface QuoteStateChangedMessage {
16179
16310
  * Generated after a successful [Transition State](ctp:api:type:QuoteTransitionStateAction) update action.
16180
16311
  *
16181
16312
  */
16182
- export interface QuoteStateTransitionMessage {
16313
+ export interface QuoteStateTransitionMessage extends IMessage {
16183
16314
  readonly type: 'QuoteStateTransition';
16184
16315
  /**
16185
16316
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16261,7 +16392,7 @@ export interface QuoteStateTransitionMessage {
16261
16392
  * Generated after a successful [Add ReturnInfo](ctp:api:type:OrderAddReturnInfoAction) update action.
16262
16393
  *
16263
16394
  */
16264
- export interface ReturnInfoAddedMessage {
16395
+ export interface ReturnInfoAddedMessage extends IOrderMessage {
16265
16396
  readonly type: 'ReturnInfoAdded';
16266
16397
  /**
16267
16398
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16331,7 +16462,7 @@ export interface ReturnInfoAddedMessage {
16331
16462
  * Generated after a successful [Set ReturnInfo](ctp:api:type:OrderSetReturnInfoAction) update action on [Orders](ctp:api:type:Order) and [Order Edits](ctp:api:type:OrderEdit).
16332
16463
  *
16333
16464
  */
16334
- export interface ReturnInfoSetMessage {
16465
+ export interface ReturnInfoSetMessage extends IOrderMessage {
16335
16466
  readonly type: 'ReturnInfoSet';
16336
16467
  /**
16337
16468
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16401,7 +16532,7 @@ export interface ReturnInfoSetMessage {
16401
16532
  * Generated after a successful [Create Review](ctp:api:endpoint:/{projectKey}/reviews:POST) request.
16402
16533
  *
16403
16534
  */
16404
- export interface ReviewCreatedMessage {
16535
+ export interface ReviewCreatedMessage extends IMessage {
16405
16536
  readonly type: 'ReviewCreated';
16406
16537
  /**
16407
16538
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16471,7 +16602,7 @@ export interface ReviewCreatedMessage {
16471
16602
  * Generated after a successful [Set Rating](ctp:api:type:ReviewSetRatingAction) update action.
16472
16603
  *
16473
16604
  */
16474
- export interface ReviewRatingSetMessage {
16605
+ export interface ReviewRatingSetMessage extends IMessage {
16475
16606
  readonly type: 'ReviewRatingSet';
16476
16607
  /**
16477
16608
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16559,7 +16690,7 @@ export interface ReviewRatingSetMessage {
16559
16690
  * Generated after a successful [Transition State](ctp:api:type:ReviewTransitionStateAction) update action.
16560
16691
  *
16561
16692
  */
16562
- export interface ReviewStateTransitionMessage {
16693
+ export interface ReviewStateTransitionMessage extends IMessage {
16563
16694
  readonly type: 'ReviewStateTransition';
16564
16695
  /**
16565
16696
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16655,11 +16786,217 @@ export interface ReviewStateTransitionMessage {
16655
16786
  */
16656
16787
  readonly force: boolean;
16657
16788
  }
16789
+ export type ShoppingListMessage = ShoppingListLineItemAddedMessage | ShoppingListLineItemRemovedMessage;
16790
+ export interface IShoppingListMessage {
16791
+ /**
16792
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
16793
+ *
16794
+ */
16795
+ readonly id: string;
16796
+ /**
16797
+ * Version of a resource. In case of Messages, this is always `1`.
16798
+ *
16799
+ */
16800
+ readonly version: number;
16801
+ /**
16802
+ * Date and time (UTC) the Message was generated.
16803
+ *
16804
+ */
16805
+ readonly createdAt: string;
16806
+ /**
16807
+ * Value of `createdAt`.
16808
+ *
16809
+ */
16810
+ readonly lastModifiedAt: string;
16811
+ /**
16812
+ * IDs and references that last modified the Message.
16813
+ *
16814
+ *
16815
+ */
16816
+ readonly lastModifiedBy?: LastModifiedBy;
16817
+ /**
16818
+ * IDs and references that created the Message.
16819
+ *
16820
+ *
16821
+ */
16822
+ readonly createdBy?: CreatedBy;
16823
+ /**
16824
+ * 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.
16825
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
16826
+ *
16827
+ *
16828
+ */
16829
+ readonly sequenceNumber: number;
16830
+ /**
16831
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
16832
+ *
16833
+ *
16834
+ */
16835
+ readonly resource: Reference;
16836
+ /**
16837
+ * Version of the resource on which the change or action was performed.
16838
+ *
16839
+ *
16840
+ */
16841
+ readonly resourceVersion: number;
16842
+ /**
16843
+ * [Message Type](/../api/projects/messages#message-types) of the Message.
16844
+ *
16845
+ *
16846
+ */
16847
+ readonly type: string;
16848
+ /**
16849
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
16850
+ *
16851
+ *
16852
+ */
16853
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
16854
+ }
16855
+ /**
16856
+ * Generated after a successful [Add ShoppingListLineItem](ctp:api:type:ShoppingListAddLineItemAction) update action.
16857
+ *
16858
+ */
16859
+ export interface ShoppingListLineItemAddedMessage extends IShoppingListMessage {
16860
+ readonly type: 'ShoppingListLineItemAdded';
16861
+ /**
16862
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
16863
+ *
16864
+ */
16865
+ readonly id: string;
16866
+ /**
16867
+ * Version of a resource. In case of Messages, this is always `1`.
16868
+ *
16869
+ */
16870
+ readonly version: number;
16871
+ /**
16872
+ * Date and time (UTC) the Message was generated.
16873
+ *
16874
+ */
16875
+ readonly createdAt: string;
16876
+ /**
16877
+ * Value of `createdAt`.
16878
+ *
16879
+ */
16880
+ readonly lastModifiedAt: string;
16881
+ /**
16882
+ * IDs and references that last modified the Message.
16883
+ *
16884
+ *
16885
+ */
16886
+ readonly lastModifiedBy?: LastModifiedBy;
16887
+ /**
16888
+ * IDs and references that created the Message.
16889
+ *
16890
+ *
16891
+ */
16892
+ readonly createdBy?: CreatedBy;
16893
+ /**
16894
+ * 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.
16895
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
16896
+ *
16897
+ *
16898
+ */
16899
+ readonly sequenceNumber: number;
16900
+ /**
16901
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
16902
+ *
16903
+ *
16904
+ */
16905
+ readonly resource: Reference;
16906
+ /**
16907
+ * Version of the resource on which the change or action was performed.
16908
+ *
16909
+ *
16910
+ */
16911
+ readonly resourceVersion: number;
16912
+ /**
16913
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
16914
+ *
16915
+ *
16916
+ */
16917
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
16918
+ /**
16919
+ * [Line Item](ctp:api:type:ShoppingListLineItem) that was added to the [ShoppingList](ctp:api:type:ShoppingList).
16920
+ *
16921
+ *
16922
+ */
16923
+ readonly lineItem: ShoppingListLineItem;
16924
+ }
16925
+ /**
16926
+ * Generated after a successful [Remove ShoppingListLineItem](ctp:api:type:ShoppingListRemoveLineItemAction) update action.
16927
+ *
16928
+ */
16929
+ export interface ShoppingListLineItemRemovedMessage extends IShoppingListMessage {
16930
+ readonly type: 'ShoppingListLineItemRemoved';
16931
+ /**
16932
+ * Unique identifier of the Message. Can be used to track which Messages have been processed.
16933
+ *
16934
+ */
16935
+ readonly id: string;
16936
+ /**
16937
+ * Version of a resource. In case of Messages, this is always `1`.
16938
+ *
16939
+ */
16940
+ readonly version: number;
16941
+ /**
16942
+ * Date and time (UTC) the Message was generated.
16943
+ *
16944
+ */
16945
+ readonly createdAt: string;
16946
+ /**
16947
+ * Value of `createdAt`.
16948
+ *
16949
+ */
16950
+ readonly lastModifiedAt: string;
16951
+ /**
16952
+ * IDs and references that last modified the Message.
16953
+ *
16954
+ *
16955
+ */
16956
+ readonly lastModifiedBy?: LastModifiedBy;
16957
+ /**
16958
+ * IDs and references that created the Message.
16959
+ *
16960
+ *
16961
+ */
16962
+ readonly createdBy?: CreatedBy;
16963
+ /**
16964
+ * 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.
16965
+ * `sequenceNumber` can be used to ensure that Messages are processed in the correct order for a particular resource.
16966
+ *
16967
+ *
16968
+ */
16969
+ readonly sequenceNumber: number;
16970
+ /**
16971
+ * [Reference](ctp:api:type:Reference) to the resource on which the change or action was performed.
16972
+ *
16973
+ *
16974
+ */
16975
+ readonly resource: Reference;
16976
+ /**
16977
+ * Version of the resource on which the change or action was performed.
16978
+ *
16979
+ *
16980
+ */
16981
+ readonly resourceVersion: number;
16982
+ /**
16983
+ * User-provided identifiers of the resource, such as `key` or `externalId`. Only present if the resource has such identifiers.
16984
+ *
16985
+ *
16986
+ */
16987
+ readonly resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
16988
+ /**
16989
+ * [Line Item](ctp:api:type:ShoppingListLineItem) that was removed from the [ShoppingList](ctp:api:type:ShoppingList).
16990
+ *
16991
+ *
16992
+ */
16993
+ readonly lineItem: ShoppingListLineItem;
16994
+ }
16658
16995
  /**
16659
16996
  * Generated after a successful [Create StagedQuote](ctp:api:endpoint:/{projectKey}/staged-quotes:POST) request.
16660
16997
  *
16661
16998
  */
16662
- export interface StagedQuoteCreatedMessage {
16999
+ export interface StagedQuoteCreatedMessage extends IMessage {
16663
17000
  readonly type: 'StagedQuoteCreated';
16664
17001
  /**
16665
17002
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16729,7 +17066,7 @@ export interface StagedQuoteCreatedMessage {
16729
17066
  * Generated after a successful [Delete StagedQuote](/../api/projects/staged-quotes#delete-stagedquote) request.
16730
17067
  *
16731
17068
  */
16732
- export interface StagedQuoteDeletedMessage {
17069
+ export interface StagedQuoteDeletedMessage extends IMessage {
16733
17070
  readonly type: 'StagedQuoteDeleted';
16734
17071
  /**
16735
17072
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16793,7 +17130,7 @@ export interface StagedQuoteDeletedMessage {
16793
17130
  * Generated after a successful [Set Seller Comment](ctp:api:type:StagedQuoteSetSellerCommentAction) update action.
16794
17131
  *
16795
17132
  */
16796
- export interface StagedQuoteSellerCommentSetMessage {
17133
+ export interface StagedQuoteSellerCommentSetMessage extends IMessage {
16797
17134
  readonly type: 'StagedQuoteSellerCommentSet';
16798
17135
  /**
16799
17136
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16863,7 +17200,7 @@ export interface StagedQuoteSellerCommentSetMessage {
16863
17200
  * Generated after a successful [Change Staged Quote State](ctp:api:type:StagedQuoteChangeStagedQuoteStateAction) update action.
16864
17201
  *
16865
17202
  */
16866
- export interface StagedQuoteStateChangedMessage {
17203
+ export interface StagedQuoteStateChangedMessage extends IMessage {
16867
17204
  readonly type: 'StagedQuoteStateChanged';
16868
17205
  /**
16869
17206
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -16939,7 +17276,7 @@ export interface StagedQuoteStateChangedMessage {
16939
17276
  * Generated after a successful [Transition State](ctp:api:type:StagedQuoteTransitionStateAction) update action.
16940
17277
  *
16941
17278
  */
16942
- export interface StagedQuoteStateTransitionMessage {
17279
+ export interface StagedQuoteStateTransitionMessage extends IMessage {
16943
17280
  readonly type: 'StagedQuoteStateTransition';
16944
17281
  /**
16945
17282
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17021,7 +17358,7 @@ export interface StagedQuoteStateTransitionMessage {
17021
17358
  * Generated after a successful [Set Valid To](ctp:api:type:StagedQuoteSetValidToAction) update action.
17022
17359
  *
17023
17360
  */
17024
- export interface StagedQuoteValidToSetMessage {
17361
+ export interface StagedQuoteValidToSetMessage extends IMessage {
17025
17362
  readonly type: 'StagedQuoteValidToSet';
17026
17363
  /**
17027
17364
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17091,7 +17428,7 @@ export interface StagedQuoteValidToSetMessage {
17091
17428
  * Generated after a successful [Change Active](ctp:api:type:StandalonePriceChangeActiveAction) update action.
17092
17429
  *
17093
17430
  */
17094
- export interface StandalonePriceActiveChangedMessage {
17431
+ export interface StandalonePriceActiveChangedMessage extends IMessage {
17095
17432
  readonly type: 'StandalonePriceActiveChanged';
17096
17433
  /**
17097
17434
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17167,7 +17504,7 @@ export interface StandalonePriceActiveChangedMessage {
17167
17504
  * Generated after a successful [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
17168
17505
  *
17169
17506
  */
17170
- export interface StandalonePriceCreatedMessage {
17507
+ export interface StandalonePriceCreatedMessage extends IMessage {
17171
17508
  readonly type: 'StandalonePriceCreated';
17172
17509
  /**
17173
17510
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17237,7 +17574,7 @@ export interface StandalonePriceCreatedMessage {
17237
17574
  * Generated after a successful [Delete StandalonePrice](/../api/projects/standalone-prices#delete-standaloneprice) request.
17238
17575
  *
17239
17576
  */
17240
- export interface StandalonePriceDeletedMessage {
17577
+ export interface StandalonePriceDeletedMessage extends IMessage {
17241
17578
  readonly type: 'StandalonePriceDeleted';
17242
17579
  /**
17243
17580
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17307,7 +17644,7 @@ export interface StandalonePriceDeletedMessage {
17307
17644
  * Generated after a [Product Discount](ctp:api:type:ProductDiscount) is successfully applied to a StandalonePrice.
17308
17645
  *
17309
17646
  */
17310
- export interface StandalonePriceDiscountSetMessage {
17647
+ export interface StandalonePriceDiscountSetMessage extends IMessage {
17311
17648
  readonly type: 'StandalonePriceDiscountSet';
17312
17649
  /**
17313
17650
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17377,7 +17714,7 @@ export interface StandalonePriceDiscountSetMessage {
17377
17714
  * Generated after a successful [Set Discounted Price](ctp:api:type:StandalonePriceSetDiscountedPriceAction) update action.
17378
17715
  *
17379
17716
  */
17380
- export interface StandalonePriceExternalDiscountSetMessage {
17717
+ export interface StandalonePriceExternalDiscountSetMessage extends IMessage {
17381
17718
  readonly type: 'StandalonePriceExternalDiscountSet';
17382
17719
  /**
17383
17720
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17447,7 +17784,7 @@ export interface StandalonePriceExternalDiscountSetMessage {
17447
17784
  * Generated after a successful [Set Key](ctp:api:type:StandalonePriceSetKeyAction) update action.
17448
17785
  *
17449
17786
  */
17450
- export interface StandalonePriceKeySetMessage {
17787
+ export interface StandalonePriceKeySetMessage extends IMessage {
17451
17788
  readonly type: 'StandalonePriceKeySet';
17452
17789
  /**
17453
17790
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17523,7 +17860,7 @@ export interface StandalonePriceKeySetMessage {
17523
17860
  * Generated after a successful [Apply Staged Changes](ctp:api:type:StandalonePriceApplyStagedChangesAction) update action.
17524
17861
  *
17525
17862
  */
17526
- export interface StandalonePriceStagedChangesAppliedMessage {
17863
+ export interface StandalonePriceStagedChangesAppliedMessage extends IMessage {
17527
17864
  readonly type: 'StandalonePriceStagedChangesApplied';
17528
17865
  /**
17529
17866
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17593,7 +17930,7 @@ export interface StandalonePriceStagedChangesAppliedMessage {
17593
17930
  * Generated after a successful [Remove Staged Changes](ctp:api:type:StandalonePriceRemoveStagedChangesAction) update action.
17594
17931
  *
17595
17932
  */
17596
- export interface StandalonePriceStagedChangesRemovedMessage {
17933
+ export interface StandalonePriceStagedChangesRemovedMessage extends IMessage {
17597
17934
  readonly type: 'StandalonePriceStagedChangesRemoved';
17598
17935
  /**
17599
17936
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17663,7 +18000,7 @@ export interface StandalonePriceStagedChangesRemovedMessage {
17663
18000
  * Generated after a successful [Add Price Tier](ctp:api:type:StandalonePriceAddPriceTierAction) update action
17664
18001
  *
17665
18002
  */
17666
- export interface StandalonePriceTierAddedMessage {
18003
+ export interface StandalonePriceTierAddedMessage extends IMessage {
17667
18004
  readonly type: 'StandalonePriceTierAdded';
17668
18005
  /**
17669
18006
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17733,7 +18070,7 @@ export interface StandalonePriceTierAddedMessage {
17733
18070
  * Generated after a successful [Remove Price Tier](ctp:api:type:StandalonePriceRemovePriceTierAction) update action
17734
18071
  *
17735
18072
  */
17736
- export interface StandalonePriceTierRemovedMessage {
18073
+ export interface StandalonePriceTierRemovedMessage extends IMessage {
17737
18074
  readonly type: 'StandalonePriceTierRemoved';
17738
18075
  /**
17739
18076
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17803,7 +18140,7 @@ export interface StandalonePriceTierRemovedMessage {
17803
18140
  * Generated after a successful [Set Price Tier](ctp:api:type:StandalonePriceSetPriceTiersAction) update action
17804
18141
  *
17805
18142
  */
17806
- export interface StandalonePriceTiersSetMessage {
18143
+ export interface StandalonePriceTiersSetMessage extends IMessage {
17807
18144
  readonly type: 'StandalonePriceTiersSet';
17808
18145
  /**
17809
18146
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17879,7 +18216,7 @@ export interface StandalonePriceTiersSetMessage {
17879
18216
  * Generated after a successful [Set Valid From and Until](ctp:api:type:StandalonePriceSetValidFromAndUntilAction) update action.
17880
18217
  *
17881
18218
  */
17882
- export interface StandalonePriceValidFromAndUntilSetMessage {
18219
+ export interface StandalonePriceValidFromAndUntilSetMessage extends IMessage {
17883
18220
  readonly type: 'StandalonePriceValidFromAndUntilSet';
17884
18221
  /**
17885
18222
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -17967,7 +18304,7 @@ export interface StandalonePriceValidFromAndUntilSetMessage {
17967
18304
  * Generated after a successful [Set Valid From](ctp:api:type:StandalonePriceSetValidFromAction) update action.
17968
18305
  *
17969
18306
  */
17970
- export interface StandalonePriceValidFromSetMessage {
18307
+ export interface StandalonePriceValidFromSetMessage extends IMessage {
17971
18308
  readonly type: 'StandalonePriceValidFromSet';
17972
18309
  /**
17973
18310
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18043,7 +18380,7 @@ export interface StandalonePriceValidFromSetMessage {
18043
18380
  * Generated after a successful [Set Valid Until](ctp:api:type:StandalonePriceSetValidUntilAction) update action.
18044
18381
  *
18045
18382
  */
18046
- export interface StandalonePriceValidUntilSetMessage {
18383
+ export interface StandalonePriceValidUntilSetMessage extends IMessage {
18047
18384
  readonly type: 'StandalonePriceValidUntilSet';
18048
18385
  /**
18049
18386
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18119,7 +18456,7 @@ export interface StandalonePriceValidUntilSetMessage {
18119
18456
  * Generated after a successful [Change Value](ctp:api:type:StandalonePriceChangeValueAction) update action.
18120
18457
  *
18121
18458
  */
18122
- export interface StandalonePriceValueChangedMessage {
18459
+ export interface StandalonePriceValueChangedMessage extends IMessage {
18123
18460
  readonly type: 'StandalonePriceValueChanged';
18124
18461
  /**
18125
18462
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18204,7 +18541,7 @@ export interface StandalonePriceValueChangedMessage {
18204
18541
  * [Set Countries](ctp:api:type:StoreSetCountriesAction) update action.
18205
18542
  *
18206
18543
  */
18207
- export interface StoreCountriesChangedMessage {
18544
+ export interface StoreCountriesChangedMessage extends IMessage {
18208
18545
  readonly type: 'StoreCountriesChanged';
18209
18546
  /**
18210
18547
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18280,7 +18617,7 @@ export interface StoreCountriesChangedMessage {
18280
18617
  * Generated after a successful [Create Store](ctp:api:endpoint:/{projectKey}/stores:POST) request.
18281
18618
  *
18282
18619
  */
18283
- export interface StoreCreatedMessage {
18620
+ export interface StoreCreatedMessage extends IMessage {
18284
18621
  readonly type: 'StoreCreated';
18285
18622
  /**
18286
18623
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18386,7 +18723,7 @@ export interface StoreCreatedMessage {
18386
18723
  * Generated after a successful [Delete Store](/../api/projects/stores#delete-store) request.
18387
18724
  *
18388
18725
  */
18389
- export interface StoreDeletedMessage {
18726
+ export interface StoreDeletedMessage extends IMessage {
18390
18727
  readonly type: 'StoreDeleted';
18391
18728
  /**
18392
18729
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18452,7 +18789,7 @@ export interface StoreDeletedMessage {
18452
18789
  * [Set Distribution Channels](ctp:api:type:StoreSetDistributionChannelsAction) update action.
18453
18790
  *
18454
18791
  */
18455
- export interface StoreDistributionChannelsChangedMessage {
18792
+ export interface StoreDistributionChannelsChangedMessage extends IMessage {
18456
18793
  readonly type: 'StoreDistributionChannelsChanged';
18457
18794
  /**
18458
18795
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18527,7 +18864,7 @@ export interface StoreDistributionChannelsChangedMessage {
18527
18864
  * Generated after a successful [Set Languages](ctp:api:type:StoreSetLanguagesAction) update action.
18528
18865
  *
18529
18866
  */
18530
- export interface StoreLanguagesChangedMessage {
18867
+ export interface StoreLanguagesChangedMessage extends IMessage {
18531
18868
  readonly type: 'StoreLanguagesChanged';
18532
18869
  /**
18533
18870
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18603,7 +18940,7 @@ export interface StoreLanguagesChangedMessage {
18603
18940
  * Generated after a successful [Set Name](ctp:api:type:StoreSetNameAction) update action.
18604
18941
  *
18605
18942
  */
18606
- export interface StoreNameSetMessage {
18943
+ export interface StoreNameSetMessage extends IMessage {
18607
18944
  readonly type: 'StoreNameSet';
18608
18945
  /**
18609
18946
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18682,7 +19019,7 @@ export interface StoreNameSetMessage {
18682
19019
  * or [Change Product Selections Active](ctp:api:type:StoreChangeProductSelectionAction) update action.
18683
19020
  *
18684
19021
  */
18685
- export interface StoreProductSelectionsChangedMessage {
19022
+ export interface StoreProductSelectionsChangedMessage extends IMessage {
18686
19023
  readonly type: 'StoreProductSelectionsChanged';
18687
19024
  /**
18688
19025
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18766,7 +19103,7 @@ export interface StoreProductSelectionsChangedMessage {
18766
19103
  * [Set Supply Channels](ctp:api:type:StoreSetSupplyChannelsAction) update action.
18767
19104
  *
18768
19105
  */
18769
- export interface StoreSupplyChannelsChangedMessage {
19106
+ export interface StoreSupplyChannelsChangedMessage extends IMessage {
18770
19107
  readonly type: 'StoreSupplyChannelsChanged';
18771
19108
  /**
18772
19109
  * Unique identifier of the Message. Can be used to track which Messages have been processed.
@@ -18878,12 +19215,18 @@ export interface UserProvidedIdentifiers {
18878
19215
  */
18879
19216
  readonly containerAndKey?: ContainerAndKey;
18880
19217
  }
18881
- export type MessagePayload = ApprovalFlowApprovedMessagePayload | ApprovalFlowCompletedMessagePayload | ApprovalFlowCreatedMessagePayload | ApprovalFlowRejectedMessagePayload | ApprovalRuleApproversSetMessagePayload | ApprovalRuleCreatedMessagePayload | ApprovalRuleDescriptionSetMessagePayload | ApprovalRuleKeySetMessagePayload | ApprovalRuleNameSetMessagePayload | ApprovalRulePredicateSetMessagePayload | ApprovalRuleRequestersSetMessagePayload | ApprovalRuleStatusSetMessagePayload | AssociateRoleBuyerAssignableChangedMessagePayload | AssociateRoleCreatedMessagePayload | AssociateRoleDeletedMessagePayload | AssociateRoleNameChangedMessagePayload | 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 | 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;
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;
19219
+ export interface IMessagePayload {
19220
+ /**
19221
+ *
19222
+ */
19223
+ readonly type: string;
19224
+ }
18882
19225
  /**
18883
19226
  * Generated after an [approval in the Approval Flow](/projects/approval-flows#approve).
18884
19227
  *
18885
19228
  */
18886
- export interface ApprovalFlowApprovedMessagePayload {
19229
+ export interface ApprovalFlowApprovedMessagePayload extends IMessagePayload {
18887
19230
  readonly type: 'ApprovalFlowApproved';
18888
19231
  /**
18889
19232
  * [Reference](ctp:api:type:Reference) to the [Customer](ctp:api:type:Customer) who approved the [Approval Flow](/projects/approval-flows).
@@ -18902,7 +19245,7 @@ export interface ApprovalFlowApprovedMessagePayload {
18902
19245
  * Generated after an [Approval Flow](ctp:api:type:ApprovalFlow) is completed and reaches a final status.
18903
19246
  *
18904
19247
  */
18905
- export interface ApprovalFlowCompletedMessagePayload {
19248
+ export interface ApprovalFlowCompletedMessagePayload extends IMessagePayload {
18906
19249
  readonly type: 'ApprovalFlowCompleted';
18907
19250
  /**
18908
19251
  * Final status of the [Approval Flow](ctp:api:type:ApprovalFlow).
@@ -18921,7 +19264,7 @@ export interface ApprovalFlowCompletedMessagePayload {
18921
19264
  * Generated after an [Approval Flow](ctp:api:type:ApprovalFlow) is created.
18922
19265
  *
18923
19266
  */
18924
- export interface ApprovalFlowCreatedMessagePayload {
19267
+ export interface ApprovalFlowCreatedMessagePayload extends IMessagePayload {
18925
19268
  readonly type: 'ApprovalFlowCreated';
18926
19269
  /**
18927
19270
  * The [Approval Flow](ctp:api:type:ApprovalFlow) that was created.
@@ -18934,7 +19277,7 @@ export interface ApprovalFlowCreatedMessagePayload {
18934
19277
  * Generated after an [Approval Flow is rejected](/projects/approval-flows#reject).
18935
19278
  *
18936
19279
  */
18937
- export interface ApprovalFlowRejectedMessagePayload {
19280
+ export interface ApprovalFlowRejectedMessagePayload extends IMessagePayload {
18938
19281
  readonly type: 'ApprovalFlowRejected';
18939
19282
  /**
18940
19283
  * [Reference](ctp:api:type:Reference) to the [Customer](ctp:api:type:Customer) who rejected the [Approval Flow](/projects/approval-flows).
@@ -18959,7 +19302,7 @@ export interface ApprovalFlowRejectedMessagePayload {
18959
19302
  * Generated after a successful [Set Approvers](ctp:api:type:ApprovalRuleSetApproversAction) update action.
18960
19303
  *
18961
19304
  */
18962
- export interface ApprovalRuleApproversSetMessagePayload {
19305
+ export interface ApprovalRuleApproversSetMessagePayload extends IMessagePayload {
18963
19306
  readonly type: 'ApprovalRuleApproversSet';
18964
19307
  /**
18965
19308
  * Approver hierarchy of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Approvers](ctp:api:type:ApprovalRuleSetApproversAction) update action.
@@ -18978,7 +19321,7 @@ export interface ApprovalRuleApproversSetMessagePayload {
18978
19321
  * Generated after an [Approval Rule](ctp:api:type:ApprovalRule) is created.
18979
19322
  *
18980
19323
  */
18981
- export interface ApprovalRuleCreatedMessagePayload {
19324
+ export interface ApprovalRuleCreatedMessagePayload extends IMessagePayload {
18982
19325
  readonly type: 'ApprovalRuleCreated';
18983
19326
  /**
18984
19327
  * The [Approval Rule](ctp:api:type:ApprovalRule) that was created.
@@ -18991,7 +19334,7 @@ export interface ApprovalRuleCreatedMessagePayload {
18991
19334
  * Generated after a successful [Set Description](ctp:api:type:ApprovalRuleSetDescriptionAction) update action.
18992
19335
  *
18993
19336
  */
18994
- export interface ApprovalRuleDescriptionSetMessagePayload {
19337
+ export interface ApprovalRuleDescriptionSetMessagePayload extends IMessagePayload {
18995
19338
  readonly type: 'ApprovalRuleDescriptionSet';
18996
19339
  /**
18997
19340
  * Description of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Description](ctp:api:type:ApprovalRuleSetDescriptionAction) update action.
@@ -19010,7 +19353,7 @@ export interface ApprovalRuleDescriptionSetMessagePayload {
19010
19353
  * Generated after a successful [Set Key](ctp:api:type:ApprovalRuleSetKeyAction) update action.
19011
19354
  *
19012
19355
  */
19013
- export interface ApprovalRuleKeySetMessagePayload {
19356
+ export interface ApprovalRuleKeySetMessagePayload extends IMessagePayload {
19014
19357
  readonly type: 'ApprovalRuleKeySet';
19015
19358
  /**
19016
19359
  * Description of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Key](ctp:api:type:ApprovalRuleSetKeyAction) update action.
@@ -19029,7 +19372,7 @@ export interface ApprovalRuleKeySetMessagePayload {
19029
19372
  * Generated after a successful [Set Name](ctp:api:type:ApprovalRuleSetNameAction) update action.
19030
19373
  *
19031
19374
  */
19032
- export interface ApprovalRuleNameSetMessagePayload {
19375
+ export interface ApprovalRuleNameSetMessagePayload extends IMessagePayload {
19033
19376
  readonly type: 'ApprovalRuleNameSet';
19034
19377
  /**
19035
19378
  * Name of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Name](ctp:api:type:ApprovalRuleSetNameAction) update action.
@@ -19048,7 +19391,7 @@ export interface ApprovalRuleNameSetMessagePayload {
19048
19391
  * Generated after a successful [Set Predicate](ctp:api:type:ApprovalRuleSetPredicateAction) update action.
19049
19392
  *
19050
19393
  */
19051
- export interface ApprovalRulePredicateSetMessagePayload {
19394
+ export interface ApprovalRulePredicateSetMessagePayload extends IMessagePayload {
19052
19395
  readonly type: 'ApprovalRulePredicateSet';
19053
19396
  /**
19054
19397
  * Name of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Predicate](ctp:api:type:ApprovalRuleSetPredicateAction) update action.
@@ -19067,7 +19410,7 @@ export interface ApprovalRulePredicateSetMessagePayload {
19067
19410
  * Generated after a successful [Set Requester](ctp:api:type:ApprovalRuleSetRequestersAction) update action.
19068
19411
  *
19069
19412
  */
19070
- export interface ApprovalRuleRequestersSetMessagePayload {
19413
+ export interface ApprovalRuleRequestersSetMessagePayload extends IMessagePayload {
19071
19414
  readonly type: 'ApprovalRuleRequestersSet';
19072
19415
  /**
19073
19416
  * RuleRequester of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Requester](ctp:api:type:ApprovalRuleSetRequestersAction) update action.
@@ -19086,7 +19429,7 @@ export interface ApprovalRuleRequestersSetMessagePayload {
19086
19429
  * Generated after a successful [Set Status](ctp:api:type:ApprovalRuleSetStatusAction) update action.
19087
19430
  *
19088
19431
  */
19089
- export interface ApprovalRuleStatusSetMessagePayload {
19432
+ export interface ApprovalRuleStatusSetMessagePayload extends IMessagePayload {
19090
19433
  readonly type: 'ApprovalRuleStatusSet';
19091
19434
  /**
19092
19435
  * Status of the [ApprovalRule](ctp:api:type:ApprovalRule) after the [Set Status](ctp:api:type:ApprovalRuleSetStatusAction) update action.
@@ -19105,7 +19448,7 @@ export interface ApprovalRuleStatusSetMessagePayload {
19105
19448
  * Generated after a successful [Change BuyerAssignable](ctp:api:type:AssociateRoleChangeBuyerAssignableAction) update action.
19106
19449
  *
19107
19450
  */
19108
- export interface AssociateRoleBuyerAssignableChangedMessagePayload {
19451
+ export interface AssociateRoleBuyerAssignableChangedMessagePayload extends IMessagePayload {
19109
19452
  readonly type: 'AssociateRoleBuyerAssignableChanged';
19110
19453
  /**
19111
19454
  * The new value of the `buyerAssignable` field of the AssociateRole.
@@ -19118,7 +19461,7 @@ export interface AssociateRoleBuyerAssignableChangedMessagePayload {
19118
19461
  * Generated after a successful [Create AssociateRole](ctp:api:endpoint:/{projectKey}/associate-roles:POST) request.
19119
19462
  *
19120
19463
  */
19121
- export interface AssociateRoleCreatedMessagePayload {
19464
+ export interface AssociateRoleCreatedMessagePayload extends IMessagePayload {
19122
19465
  readonly type: 'AssociateRoleCreated';
19123
19466
  /**
19124
19467
  * The [AssociateRole](ctp:api:type:AssociateRole) that was created.
@@ -19131,14 +19474,14 @@ export interface AssociateRoleCreatedMessagePayload {
19131
19474
  * Generated after a successful [Delete AssociateRole](/projects/associate-roles#delete-associaterole) request.
19132
19475
  *
19133
19476
  */
19134
- export interface AssociateRoleDeletedMessagePayload {
19477
+ export interface AssociateRoleDeletedMessagePayload extends IMessagePayload {
19135
19478
  readonly type: 'AssociateRoleDeleted';
19136
19479
  }
19137
19480
  /**
19138
19481
  * Generated after a successful [Set Name](ctp:api:type:AssociateRoleSetNameAction) update action.
19139
19482
  *
19140
19483
  */
19141
- export interface AssociateRoleNameChangedMessagePayload {
19484
+ export interface AssociateRoleNameSetMessagePayload extends IMessagePayload {
19142
19485
  readonly type: 'AssociateRoleNameSet';
19143
19486
  /**
19144
19487
  * Updated name of the [AssociateRole](ctp:api:type:AssociateRole).
@@ -19151,7 +19494,7 @@ export interface AssociateRoleNameChangedMessagePayload {
19151
19494
  * Generated after a successful [Add Permissions](ctp:api:type:AssociateRoleAddPermissionAction) update action.
19152
19495
  *
19153
19496
  */
19154
- export interface AssociateRolePermissionAddedMessagePayload {
19497
+ export interface AssociateRolePermissionAddedMessagePayload extends IMessagePayload {
19155
19498
  readonly type: 'AssociateRolePermissionAdded';
19156
19499
  /**
19157
19500
  * The Permission that was added to the AssociateRole.
@@ -19164,7 +19507,7 @@ export interface AssociateRolePermissionAddedMessagePayload {
19164
19507
  * Generated after a successful [Remove Permissions](ctp:api:type:AssociateRoleRemovePermissionAction) update action.
19165
19508
  *
19166
19509
  */
19167
- export interface AssociateRolePermissionRemovedMessagePayload {
19510
+ export interface AssociateRolePermissionRemovedMessagePayload extends IMessagePayload {
19168
19511
  readonly type: 'AssociateRolePermissionRemoved';
19169
19512
  /**
19170
19513
  * The Permission that was removed from the AssociateRole.
@@ -19177,7 +19520,7 @@ export interface AssociateRolePermissionRemovedMessagePayload {
19177
19520
  * Generated after a successful [Set Permissions](ctp:api:type:AssociateRoleSetPermissionsAction) update action.
19178
19521
  *
19179
19522
  */
19180
- export interface AssociateRolePermissionsSetMessagePayload {
19523
+ export interface AssociateRolePermissionsSetMessagePayload extends IMessagePayload {
19181
19524
  readonly type: 'AssociateRolePermissionsSet';
19182
19525
  /**
19183
19526
  * Permission assigned to the AssociateRole.
@@ -19190,7 +19533,7 @@ export interface AssociateRolePermissionsSetMessagePayload {
19190
19533
  * Generated after a successful [Add Address](ctp:api:type:BusinessUnitAddAddressAction) update action.
19191
19534
  *
19192
19535
  */
19193
- export interface BusinessUnitAddressAddedMessagePayload {
19536
+ export interface BusinessUnitAddressAddedMessagePayload extends IMessagePayload {
19194
19537
  readonly type: 'BusinessUnitAddressAdded';
19195
19538
  /**
19196
19539
  * The address that was added to the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19203,7 +19546,7 @@ export interface BusinessUnitAddressAddedMessagePayload {
19203
19546
  * Generated after a successful [Change Address](ctp:api:type:BusinessUnitChangeAddressAction) update action.
19204
19547
  *
19205
19548
  */
19206
- export interface BusinessUnitAddressChangedMessagePayload {
19549
+ export interface BusinessUnitAddressChangedMessagePayload extends IMessagePayload {
19207
19550
  readonly type: 'BusinessUnitAddressChanged';
19208
19551
  /**
19209
19552
  * Updated address of the Business Unit.
@@ -19216,7 +19559,7 @@ export interface BusinessUnitAddressChangedMessagePayload {
19216
19559
  * Generated after adding a Custom Field to an address of a Business Unit using the [Set Address CustomField](ctp:api:type:BusinessUnitSetAddressCustomFieldAction) update action. If a Custom Field already exists with the same name, a [BusinessUnitAddressCustomFieldChanged](ctp:api:type:BusinessUnitAddressCustomFieldChangedMessage) Message is generated instead.
19217
19560
  *
19218
19561
  */
19219
- export interface BusinessUnitAddressCustomFieldAddedMessagePayload {
19562
+ export interface BusinessUnitAddressCustomFieldAddedMessagePayload extends IMessagePayload {
19220
19563
  readonly type: 'BusinessUnitAddressCustomFieldAdded';
19221
19564
  /**
19222
19565
  * Name of the Custom Field that was added.
@@ -19240,7 +19583,7 @@ export interface BusinessUnitAddressCustomFieldAddedMessagePayload {
19240
19583
  * Generated after changing an existing Custom Field on an address of a Business Unit using the [Set Address CustomField](ctp:api:type:BusinessUnitSetAddressCustomFieldAction) update action.
19241
19584
  *
19242
19585
  */
19243
- export interface BusinessUnitAddressCustomFieldChangedMessagePayload {
19586
+ export interface BusinessUnitAddressCustomFieldChangedMessagePayload extends IMessagePayload {
19244
19587
  readonly type: 'BusinessUnitAddressCustomFieldChanged';
19245
19588
  /**
19246
19589
  * Name of the Custom Field that changed.
@@ -19271,7 +19614,7 @@ export interface BusinessUnitAddressCustomFieldChangedMessagePayload {
19271
19614
  * Generated after removing a Custom Field from an address of a Business Unit using the [Set Address CustomField](ctp:api:type:BusinessUnitSetAddressCustomFieldAction) update action.
19272
19615
  *
19273
19616
  */
19274
- export interface BusinessUnitAddressCustomFieldRemovedMessagePayload {
19617
+ export interface BusinessUnitAddressCustomFieldRemovedMessagePayload extends IMessagePayload {
19275
19618
  readonly type: 'BusinessUnitAddressCustomFieldRemoved';
19276
19619
  /**
19277
19620
  * Name of the Custom Field that was removed.
@@ -19290,7 +19633,7 @@ export interface BusinessUnitAddressCustomFieldRemovedMessagePayload {
19290
19633
  * Generated after removing a Custom Type from an address of a Business Unit using the [Set Custom Type in Address](ctp:api:type:BusinessUnitSetAddressCustomTypeAction) update action.
19291
19634
  *
19292
19635
  */
19293
- export interface BusinessUnitAddressCustomTypeRemovedMessagePayload {
19636
+ export interface BusinessUnitAddressCustomTypeRemovedMessagePayload extends IMessagePayload {
19294
19637
  readonly type: 'BusinessUnitAddressCustomTypeRemoved';
19295
19638
  /**
19296
19639
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -19309,7 +19652,7 @@ export interface BusinessUnitAddressCustomTypeRemovedMessagePayload {
19309
19652
  * Generated after adding a Custom Type to an address of a Business Unit using the [Set Custom Type in Address](ctp:api:type:BusinessUnitSetAddressCustomTypeAction) update action.
19310
19653
  *
19311
19654
  */
19312
- export interface BusinessUnitAddressCustomTypeSetMessagePayload {
19655
+ export interface BusinessUnitAddressCustomTypeSetMessagePayload extends IMessagePayload {
19313
19656
  readonly type: 'BusinessUnitAddressCustomTypeSet';
19314
19657
  /**
19315
19658
  * The Custom Fields that were set.
@@ -19333,7 +19676,7 @@ export interface BusinessUnitAddressCustomTypeSetMessagePayload {
19333
19676
  * Generated after a successful [Remove Address](ctp:api:type:BusinessUnitRemoveAddressAction) update action.
19334
19677
  *
19335
19678
  */
19336
- export interface BusinessUnitAddressRemovedMessagePayload {
19679
+ export interface BusinessUnitAddressRemovedMessagePayload extends IMessagePayload {
19337
19680
  readonly type: 'BusinessUnitAddressRemoved';
19338
19681
  /**
19339
19682
  * The address that was removed from the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19346,7 +19689,7 @@ export interface BusinessUnitAddressRemovedMessagePayload {
19346
19689
  * Generated after a successful [Change Approval Rule Mode](ctp:api:type:BusinessUnitChangeApprovalRuleModeAction) update action.
19347
19690
  *
19348
19691
  */
19349
- export interface BusinessUnitApprovalRuleModeChangedMessagePayload {
19692
+ export interface BusinessUnitApprovalRuleModeChangedMessagePayload extends IMessagePayload {
19350
19693
  readonly type: 'BusinessUnitApprovalRuleModeChanged';
19351
19694
  /**
19352
19695
  * [BusinessUnitApprovalRuleMode](ctp:api:type:BusinessUnitApprovalRuleMode) of the Business Unit after the [Change Approval Rule Mode](ctp:api:type:BusinessUnitChangeApprovalRuleModeAction) update action.
@@ -19365,7 +19708,7 @@ export interface BusinessUnitApprovalRuleModeChangedMessagePayload {
19365
19708
  * Generated after a successful [Add Associate](ctp:api:type:BusinessUnitAddAssociateAction) update action.
19366
19709
  *
19367
19710
  */
19368
- export interface BusinessUnitAssociateAddedMessagePayload {
19711
+ export interface BusinessUnitAssociateAddedMessagePayload extends IMessagePayload {
19369
19712
  readonly type: 'BusinessUnitAssociateAdded';
19370
19713
  /**
19371
19714
  * The [Associate](ctp:api:type:Associate) that was added to the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19378,7 +19721,7 @@ export interface BusinessUnitAssociateAddedMessagePayload {
19378
19721
  * Generated after a successful [Change Associate](ctp:api:type:BusinessUnitChangeAssociateAction) update action.
19379
19722
  *
19380
19723
  */
19381
- export interface BusinessUnitAssociateChangedMessagePayload {
19724
+ export interface BusinessUnitAssociateChangedMessagePayload extends IMessagePayload {
19382
19725
  readonly type: 'BusinessUnitAssociateChanged';
19383
19726
  /**
19384
19727
  * The [Associate](ctp:api:type:Associate) that was updated.
@@ -19391,7 +19734,7 @@ export interface BusinessUnitAssociateChangedMessagePayload {
19391
19734
  * Generated after a successful [Change Associate Mode](ctp:api:type:BusinessUnitChangeAssociateModeAction) update action.
19392
19735
  *
19393
19736
  */
19394
- export interface BusinessUnitAssociateModeChangedMessagePayload {
19737
+ export interface BusinessUnitAssociateModeChangedMessagePayload extends IMessagePayload {
19395
19738
  readonly type: 'BusinessUnitAssociateModeChanged';
19396
19739
  /**
19397
19740
  * [BusinessUnitAssociateMode](ctp:api:type:BusinessUnitAssociateMode) of the Business Unit after the [Change Associate Mode](ctp:api:type:BusinessUnitChangeAssociateModeAction) update action.
@@ -19410,7 +19753,7 @@ export interface BusinessUnitAssociateModeChangedMessagePayload {
19410
19753
  * Generated after a successful [Remove Associate](ctp:api:type:BusinessUnitRemoveAssociateAction) update action.
19411
19754
  *
19412
19755
  */
19413
- export interface BusinessUnitAssociateRemovedMessagePayload {
19756
+ export interface BusinessUnitAssociateRemovedMessagePayload extends IMessagePayload {
19414
19757
  readonly type: 'BusinessUnitAssociateRemoved';
19415
19758
  /**
19416
19759
  * The [Associate](ctp:api:type:Associate) that was removed from the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19423,7 +19766,7 @@ export interface BusinessUnitAssociateRemovedMessagePayload {
19423
19766
  * Generated after a successful [Set Associates](ctp:api:type:BusinessUnitSetAssociatesAction) update action.
19424
19767
  *
19425
19768
  */
19426
- export interface BusinessUnitAssociatesSetMessagePayload {
19769
+ export interface BusinessUnitAssociatesSetMessagePayload extends IMessagePayload {
19427
19770
  readonly type: 'BusinessUnitAssociatesSet';
19428
19771
  /**
19429
19772
  * The list of [Associates](ctp:api:type:Associate) that was updated on the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19436,7 +19779,7 @@ export interface BusinessUnitAssociatesSetMessagePayload {
19436
19779
  * Generated after a successful [Add Billing Address Identifier](ctp:api:type:BusinessUnitAddBillingAddressIdAction) update action.
19437
19780
  *
19438
19781
  */
19439
- export interface BusinessUnitBillingAddressAddedMessagePayload {
19782
+ export interface BusinessUnitBillingAddressAddedMessagePayload extends IMessagePayload {
19440
19783
  readonly type: 'BusinessUnitBillingAddressAdded';
19441
19784
  /**
19442
19785
  * The address that was added to the [Business Unit](ctp:api:type:BusinessUnit) as billing address.
@@ -19449,7 +19792,7 @@ export interface BusinessUnitBillingAddressAddedMessagePayload {
19449
19792
  * Generated after a successful [Remove Billing Address Identifier](ctp:api:type:BusinessUnitRemoveBillingAddressIdAction) update action.
19450
19793
  *
19451
19794
  */
19452
- export interface BusinessUnitBillingAddressRemovedMessagePayload {
19795
+ export interface BusinessUnitBillingAddressRemovedMessagePayload extends IMessagePayload {
19453
19796
  readonly type: 'BusinessUnitBillingAddressRemoved';
19454
19797
  /**
19455
19798
  * The address that was removed from the billing addresses of the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19462,7 +19805,7 @@ export interface BusinessUnitBillingAddressRemovedMessagePayload {
19462
19805
  * Generated after a successful [Set Contact Email](ctp:api:type:BusinessUnitSetContactEmailAction) update action.
19463
19806
  *
19464
19807
  */
19465
- export interface BusinessUnitContactEmailSetMessagePayload {
19808
+ export interface BusinessUnitContactEmailSetMessagePayload extends IMessagePayload {
19466
19809
  readonly type: 'BusinessUnitContactEmailSet';
19467
19810
  /**
19468
19811
  * The contact email that was updated on the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19475,7 +19818,7 @@ export interface BusinessUnitContactEmailSetMessagePayload {
19475
19818
  * Generated after a successful [Create BusinessUnit](ctp:api:endpoint:/{projectKey}/business-units:POST) request.
19476
19819
  *
19477
19820
  */
19478
- export interface BusinessUnitCreatedMessagePayload {
19821
+ export interface BusinessUnitCreatedMessagePayload extends IMessagePayload {
19479
19822
  readonly type: 'BusinessUnitCreated';
19480
19823
  /**
19481
19824
  * The [Business Unit](ctp:api:type:BusinessUnit) that was created.
@@ -19488,7 +19831,7 @@ export interface BusinessUnitCreatedMessagePayload {
19488
19831
  * Generated after adding a Custom Field to a Business Unit using the [Set CustomField](ctp:api:type:BusinessUnitSetCustomFieldAction) update action. If a Custom Field already exists with the same name, a [BusinessUnitCustomFieldChanged](ctp:api:type:BusinessUnitCustomFieldChangedMessage) Message is generated instead.
19489
19832
  *
19490
19833
  */
19491
- export interface BusinessUnitCustomFieldAddedMessagePayload {
19834
+ export interface BusinessUnitCustomFieldAddedMessagePayload extends IMessagePayload {
19492
19835
  readonly type: 'BusinessUnitCustomFieldAdded';
19493
19836
  /**
19494
19837
  * Name of the Custom Field that was added.
@@ -19506,7 +19849,7 @@ export interface BusinessUnitCustomFieldAddedMessagePayload {
19506
19849
  * Generated after changing an existing Custom Field on a Business Unit using the [Set CustomField](ctp:api:type:BusinessUnitSetCustomFieldAction) update action.
19507
19850
  *
19508
19851
  */
19509
- export interface BusinessUnitCustomFieldChangedMessagePayload {
19852
+ export interface BusinessUnitCustomFieldChangedMessagePayload extends IMessagePayload {
19510
19853
  readonly type: 'BusinessUnitCustomFieldChanged';
19511
19854
  /**
19512
19855
  * Name of the Custom Field that changed.
@@ -19531,7 +19874,7 @@ export interface BusinessUnitCustomFieldChangedMessagePayload {
19531
19874
  * Generated after removing a Custom Field from a Business Unit using the [Set CustomField](ctp:api:type:BusinessUnitSetCustomFieldAction) update action.
19532
19875
  *
19533
19876
  */
19534
- export interface BusinessUnitCustomFieldRemovedMessagePayload {
19877
+ export interface BusinessUnitCustomFieldRemovedMessagePayload extends IMessagePayload {
19535
19878
  readonly type: 'BusinessUnitCustomFieldRemoved';
19536
19879
  /**
19537
19880
  * Name of the Custom Field that was removed.
@@ -19544,7 +19887,7 @@ export interface BusinessUnitCustomFieldRemovedMessagePayload {
19544
19887
  * Generated after removing a Custom Type from a Business Unit using the [Set Custom Type](ctp:api:type:BusinessUnitSetCustomTypeAction) update action.
19545
19888
  *
19546
19889
  */
19547
- export interface BusinessUnitCustomTypeRemovedMessagePayload {
19890
+ export interface BusinessUnitCustomTypeRemovedMessagePayload extends IMessagePayload {
19548
19891
  readonly type: 'BusinessUnitCustomTypeRemoved';
19549
19892
  /**
19550
19893
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -19557,7 +19900,7 @@ export interface BusinessUnitCustomTypeRemovedMessagePayload {
19557
19900
  * Generated after adding a Custom Type to a Business Unit using the [Set Custom Type](ctp:api:type:BusinessUnitSetCustomTypeAction) update action.
19558
19901
  *
19559
19902
  */
19560
- export interface BusinessUnitCustomTypeSetMessagePayload {
19903
+ export interface BusinessUnitCustomTypeSetMessagePayload extends IMessagePayload {
19561
19904
  readonly type: 'BusinessUnitCustomTypeSet';
19562
19905
  /**
19563
19906
  * The Custom Fields that were set.
@@ -19575,7 +19918,7 @@ export interface BusinessUnitCustomTypeSetMessagePayload {
19575
19918
  * Generated after a successful [Set Default Billing Address](ctp:api:type:BusinessUnitSetDefaultBillingAddressAction) update action.
19576
19919
  *
19577
19920
  */
19578
- export interface BusinessUnitDefaultBillingAddressSetMessagePayload {
19921
+ export interface BusinessUnitDefaultBillingAddressSetMessagePayload extends IMessagePayload {
19579
19922
  readonly type: 'BusinessUnitDefaultBillingAddressSet';
19580
19923
  /**
19581
19924
  * The address that was set as the default billing address.
@@ -19588,7 +19931,7 @@ export interface BusinessUnitDefaultBillingAddressSetMessagePayload {
19588
19931
  * Generated after a successful [Set Default Shipping Address](ctp:api:type:BusinessUnitSetDefaultShippingAddressAction) update action.
19589
19932
  *
19590
19933
  */
19591
- export interface BusinessUnitDefaultShippingAddressSetMessagePayload {
19934
+ export interface BusinessUnitDefaultShippingAddressSetMessagePayload extends IMessagePayload {
19592
19935
  readonly type: 'BusinessUnitDefaultShippingAddressSet';
19593
19936
  /**
19594
19937
  * The address that was set as the default shipping address.
@@ -19601,14 +19944,14 @@ export interface BusinessUnitDefaultShippingAddressSetMessagePayload {
19601
19944
  * Generated after a successful [Delete BusinessUnit](/projects/business-units#delete-businessunit) request.
19602
19945
  *
19603
19946
  */
19604
- export interface BusinessUnitDeletedMessagePayload {
19947
+ export interface BusinessUnitDeletedMessagePayload extends IMessagePayload {
19605
19948
  readonly type: 'BusinessUnitDeleted';
19606
19949
  }
19607
19950
  /**
19608
19951
  * Generated after a successful [Change Name](ctp:api:type:BusinessUnitChangeNameAction) update action.
19609
19952
  *
19610
19953
  */
19611
- export interface BusinessUnitNameChangedMessagePayload {
19954
+ export interface BusinessUnitNameChangedMessagePayload extends IMessagePayload {
19612
19955
  readonly type: 'BusinessUnitNameChanged';
19613
19956
  /**
19614
19957
  * Updated name of the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19621,7 +19964,7 @@ export interface BusinessUnitNameChangedMessagePayload {
19621
19964
  * Generated after a successful [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
19622
19965
  *
19623
19966
  */
19624
- export interface BusinessUnitParentChangedMessagePayload {
19967
+ export interface BusinessUnitParentChangedMessagePayload extends IMessagePayload {
19625
19968
  readonly type: 'BusinessUnitParentChanged';
19626
19969
  /**
19627
19970
  * Parent unit of the [Business Unit](ctp:api:type:BusinessUnit) before the [Change Parent Unit](ctp:api:type:BusinessUnitChangeParentUnitAction) update action.
@@ -19640,7 +19983,7 @@ export interface BusinessUnitParentChangedMessagePayload {
19640
19983
  * Generated after a successful [Add Shipping Address Identifier](ctp:api:type:BusinessUnitAddShippingAddressIdAction) update action.
19641
19984
  *
19642
19985
  */
19643
- export interface BusinessUnitShippingAddressAddedMessagePayload {
19986
+ export interface BusinessUnitShippingAddressAddedMessagePayload extends IMessagePayload {
19644
19987
  readonly type: 'BusinessUnitShippingAddressAdded';
19645
19988
  /**
19646
19989
  * The address that was added to the [Business Unit](ctp:api:type:BusinessUnit) as shipping address.
@@ -19653,7 +19996,7 @@ export interface BusinessUnitShippingAddressAddedMessagePayload {
19653
19996
  * Generated after a successful [Remove Shipping Address Identifier](ctp:api:type:BusinessUnitRemoveShippingAddressIdAction) update action.
19654
19997
  *
19655
19998
  */
19656
- export interface BusinessUnitShippingAddressRemovedMessagePayload {
19999
+ export interface BusinessUnitShippingAddressRemovedMessagePayload extends IMessagePayload {
19657
20000
  readonly type: 'BusinessUnitShippingAddressRemoved';
19658
20001
  /**
19659
20002
  * The address that was removed from shipping addresses of the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19666,7 +20009,7 @@ export interface BusinessUnitShippingAddressRemovedMessagePayload {
19666
20009
  * Generated after a successful [Change Status](ctp:api:type:BusinessUnitChangeStatusAction) update action.
19667
20010
  *
19668
20011
  */
19669
- export interface BusinessUnitStatusChangedMessagePayload {
20012
+ export interface BusinessUnitStatusChangedMessagePayload extends IMessagePayload {
19670
20013
  readonly type: 'BusinessUnitStatusChanged';
19671
20014
  /**
19672
20015
  * Updated status of the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19679,7 +20022,7 @@ export interface BusinessUnitStatusChangedMessagePayload {
19679
20022
  * Generated after a successful [Add Store](ctp:api:type:BusinessUnitAddStoreAction) update action.
19680
20023
  *
19681
20024
  */
19682
- export interface BusinessUnitStoreAddedMessagePayload {
20025
+ export interface BusinessUnitStoreAddedMessagePayload extends IMessagePayload {
19683
20026
  readonly type: 'BusinessUnitStoreAdded';
19684
20027
  /**
19685
20028
  * The [Store](ctp:api:type:Store) that was added to the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19692,7 +20035,7 @@ export interface BusinessUnitStoreAddedMessagePayload {
19692
20035
  * Generated after a successful [Set Store Mode](ctp:api:type:BusinessUnitSetStoreModeAction) update action.
19693
20036
  *
19694
20037
  */
19695
- export interface BusinessUnitStoreModeChangedMessagePayload {
20038
+ export interface BusinessUnitStoreModeChangedMessagePayload extends IMessagePayload {
19696
20039
  readonly type: 'BusinessUnitStoreModeChanged';
19697
20040
  /**
19698
20041
  * [Stores](ctp:api:type:Store) of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Store Mode](ctp:api:type:BusinessUnitSetStoreModeAction) update action.
@@ -19723,7 +20066,7 @@ export interface BusinessUnitStoreModeChangedMessagePayload {
19723
20066
  * Generated after a successful [Remove Store](ctp:api:type:BusinessUnitRemoveStoreAction) update action.
19724
20067
  *
19725
20068
  */
19726
- export interface BusinessUnitStoreRemovedMessagePayload {
20069
+ export interface BusinessUnitStoreRemovedMessagePayload extends IMessagePayload {
19727
20070
  readonly type: 'BusinessUnitStoreRemoved';
19728
20071
  /**
19729
20072
  * The [Store](ctp:api:type:Store) that was removed from the [Business Unit](ctp:api:type:BusinessUnit).
@@ -19736,7 +20079,7 @@ export interface BusinessUnitStoreRemovedMessagePayload {
19736
20079
  * Generated after a successful [Set Stores](ctp:api:type:BusinessUnitSetStoresAction) update action.
19737
20080
  *
19738
20081
  */
19739
- export interface BusinessUnitStoresSetMessagePayload {
20082
+ export interface BusinessUnitStoresSetMessagePayload extends IMessagePayload {
19740
20083
  readonly type: 'BusinessUnitStoresSet';
19741
20084
  /**
19742
20085
  * [Stores](ctp:api:type:Store) of the [Business Unit](ctp:api:type:BusinessUnit) after the [Set Stores](ctp:api:type:BusinessUnitSetStoresAction) update action.
@@ -19749,7 +20092,7 @@ export interface BusinessUnitStoresSetMessagePayload {
19749
20092
  * Generated after a successful [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) request.
19750
20093
  *
19751
20094
  */
19752
- export interface CartDiscountCreatedMessagePayload {
20095
+ export interface CartDiscountCreatedMessagePayload extends IMessagePayload {
19753
20096
  readonly type: 'CartDiscountCreated';
19754
20097
  /**
19755
20098
  * The [Cart Discount](ctp:api:type:CartDiscount) that was created.
@@ -19762,14 +20105,14 @@ export interface CartDiscountCreatedMessagePayload {
19762
20105
  * Generated after a successful [Delete CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts/{id}:DELETE) request.
19763
20106
  *
19764
20107
  */
19765
- export interface CartDiscountDeletedMessagePayload {
20108
+ export interface CartDiscountDeletedMessagePayload extends IMessagePayload {
19766
20109
  readonly type: 'CartDiscountDeleted';
19767
20110
  }
19768
20111
  /**
19769
20112
  * Generated after a successful [Add Store](ctp:api:type:CartDiscountAddStoreAction) update action.
19770
20113
  *
19771
20114
  */
19772
- export interface CartDiscountStoreAddedMessagePayload {
20115
+ export interface CartDiscountStoreAddedMessagePayload extends IMessagePayload {
19773
20116
  readonly type: 'CartDiscountStoreAdded';
19774
20117
  /**
19775
20118
  * The [Store](ctp:api:type:Store) that was added to the [Cart Discount](ctp:api:type:CartDiscount).
@@ -19782,7 +20125,7 @@ export interface CartDiscountStoreAddedMessagePayload {
19782
20125
  * Generated after a successful [Remove Store](ctp:api:type:CartDiscountRemoveStoreAction) update action.
19783
20126
  *
19784
20127
  */
19785
- export interface CartDiscountStoreRemovedMessagePayload {
20128
+ export interface CartDiscountStoreRemovedMessagePayload extends IMessagePayload {
19786
20129
  readonly type: 'CartDiscountStoreRemoved';
19787
20130
  /**
19788
20131
  * The [Store](ctp:api:type:Store) that was removed from the [Cart Discount](ctp:api:type:CartDiscount).
@@ -19795,7 +20138,7 @@ export interface CartDiscountStoreRemovedMessagePayload {
19795
20138
  * Generated after a successful [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
19796
20139
  *
19797
20140
  */
19798
- export interface CartDiscountStoresSetMessagePayload {
20141
+ export interface CartDiscountStoresSetMessagePayload extends IMessagePayload {
19799
20142
  readonly type: 'CartDiscountStoresSet';
19800
20143
  /**
19801
20144
  * [Stores](ctp:api:type:Store) of the [Cart Discount](ctp:api:type:CartDiscount) after the [Set Stores](ctp:api:type:CartDiscountSetStoresAction) update action.
@@ -19808,7 +20151,7 @@ export interface CartDiscountStoresSetMessagePayload {
19808
20151
  * Generated after a successful [Create Category](ctp:api:endpoint:/{projectKey}/categories:POST) request.
19809
20152
  *
19810
20153
  */
19811
- export interface CategoryCreatedMessagePayload {
20154
+ export interface CategoryCreatedMessagePayload extends IMessagePayload {
19812
20155
  readonly type: 'CategoryCreated';
19813
20156
  /**
19814
20157
  * [Category](ctp:api:type:Category) that was created.
@@ -19821,7 +20164,7 @@ export interface CategoryCreatedMessagePayload {
19821
20164
  * Generated after a successful [Change Slug](ctp:api:type:CategoryChangeSlugAction) update action.
19822
20165
  *
19823
20166
  */
19824
- export interface CategorySlugChangedMessagePayload {
20167
+ export interface CategorySlugChangedMessagePayload extends IMessagePayload {
19825
20168
  readonly type: 'CategorySlugChanged';
19826
20169
  /**
19827
20170
  * The slug of the [Category](ctp:api:type:Category) after the [Change Slug](ctp:api:type:CategoryChangeSlugAction) update action.
@@ -19840,7 +20183,7 @@ export interface CategorySlugChangedMessagePayload {
19840
20183
  * Generated after a successful [Add Address](ctp:api:type:CustomerAddAddressAction) update action.
19841
20184
  *
19842
20185
  */
19843
- export interface CustomerAddressAddedMessagePayload {
20186
+ export interface CustomerAddressAddedMessagePayload extends IMessagePayload {
19844
20187
  readonly type: 'CustomerAddressAdded';
19845
20188
  /**
19846
20189
  * [Address](ctp:api:type:Address) that was added during the [Add Address](ctp:api:type:CustomerAddAddressAction) update action.
@@ -19853,7 +20196,7 @@ export interface CustomerAddressAddedMessagePayload {
19853
20196
  * Generated after a successful [Change Address](ctp:api:type:CustomerChangeAddressAction) update action.
19854
20197
  *
19855
20198
  */
19856
- export interface CustomerAddressChangedMessagePayload {
20199
+ export interface CustomerAddressChangedMessagePayload extends IMessagePayload {
19857
20200
  readonly type: 'CustomerAddressChanged';
19858
20201
  /**
19859
20202
  * [Address](ctp:api:type:Address) that was set during the [Change Address](ctp:api:type:CustomerChangeAddressAction) update action.
@@ -19867,7 +20210,7 @@ export interface CustomerAddressChangedMessagePayload {
19867
20210
  * If a Custom Field already exists with the same name, a [CustomerAddressCustomFieldChanged](ctp:api:type:CustomerAddressCustomFieldChangedMessage) Message is generated instead.
19868
20211
  *
19869
20212
  */
19870
- export interface CustomerAddressCustomFieldAddedMessagePayload {
20213
+ export interface CustomerAddressCustomFieldAddedMessagePayload extends IMessagePayload {
19871
20214
  readonly type: 'CustomerAddressCustomFieldAdded';
19872
20215
  /**
19873
20216
  * Name of the Custom Field that was added.
@@ -19891,7 +20234,7 @@ export interface CustomerAddressCustomFieldAddedMessagePayload {
19891
20234
  * Generated after changing an existing Custom Field on an Address of a Customer using the [Set CustomField in Address](ctp:api:type:CustomerSetAddressCustomFieldAction) update action.
19892
20235
  *
19893
20236
  */
19894
- export interface CustomerAddressCustomFieldChangedMessagePayload {
20237
+ export interface CustomerAddressCustomFieldChangedMessagePayload extends IMessagePayload {
19895
20238
  readonly type: 'CustomerAddressCustomFieldChanged';
19896
20239
  /**
19897
20240
  * Name of the Custom Field that changed.
@@ -19923,7 +20266,7 @@ export interface CustomerAddressCustomFieldChangedMessagePayload {
19923
20266
  * Generated after removing a Custom Field from an Address of a Customer using the [Set CustomField in Address](ctp:api:type:CustomerSetAddressCustomFieldAction) update action.
19924
20267
  *
19925
20268
  */
19926
- export interface CustomerAddressCustomFieldRemovedMessagePayload {
20269
+ export interface CustomerAddressCustomFieldRemovedMessagePayload extends IMessagePayload {
19927
20270
  readonly type: 'CustomerAddressCustomFieldRemoved';
19928
20271
  /**
19929
20272
  * Name of the Custom Field that was removed.
@@ -19942,7 +20285,7 @@ export interface CustomerAddressCustomFieldRemovedMessagePayload {
19942
20285
  * Generated after removing a Custom Type from an Address of a Customer using the [Set Custom Type in Address](ctp:api:type:CustomerSetAddressCustomTypeAction) update action.
19943
20286
  *
19944
20287
  */
19945
- export interface CustomerAddressCustomTypeRemovedMessagePayload {
20288
+ export interface CustomerAddressCustomTypeRemovedMessagePayload extends IMessagePayload {
19946
20289
  readonly type: 'CustomerAddressCustomTypeRemoved';
19947
20290
  /**
19948
20291
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -19961,7 +20304,7 @@ export interface CustomerAddressCustomTypeRemovedMessagePayload {
19961
20304
  * Generated after adding a Custom Type to an Address of a Customer using the [Set Custom Type in Address](ctp:api:type:CustomerSetAddressCustomTypeAction) update action.
19962
20305
  *
19963
20306
  */
19964
- export interface CustomerAddressCustomTypeSetMessagePayload {
20307
+ export interface CustomerAddressCustomTypeSetMessagePayload extends IMessagePayload {
19965
20308
  readonly type: 'CustomerAddressCustomTypeSet';
19966
20309
  /**
19967
20310
  * The Custom Fields that have been set.
@@ -19985,7 +20328,7 @@ export interface CustomerAddressCustomTypeSetMessagePayload {
19985
20328
  * Generated after a successful [Remove Address](ctp:api:type:CustomerRemoveAddressAction) update action.
19986
20329
  *
19987
20330
  */
19988
- export interface CustomerAddressRemovedMessagePayload {
20331
+ export interface CustomerAddressRemovedMessagePayload extends IMessagePayload {
19989
20332
  readonly type: 'CustomerAddressRemoved';
19990
20333
  /**
19991
20334
  * [Address](ctp:api:type:Address) that was removed during the [Remove Address](ctp:api:type:CustomerRemoveAddressAction) update action.
@@ -19998,7 +20341,7 @@ export interface CustomerAddressRemovedMessagePayload {
19998
20341
  * Generated after a successful [Set Company Name](ctp:api:type:CustomerSetCompanyNameAction) update action.
19999
20342
  *
20000
20343
  */
20001
- export interface CustomerCompanyNameSetMessagePayload {
20344
+ export interface CustomerCompanyNameSetMessagePayload extends IMessagePayload {
20002
20345
  readonly type: 'CustomerCompanyNameSet';
20003
20346
  /**
20004
20347
  * The `companyName` that was set during the [Set Company Name](ctp:api:type:CustomerSetCompanyNameAction) update action.
@@ -20011,7 +20354,7 @@ export interface CustomerCompanyNameSetMessagePayload {
20011
20354
  * Generated after a successful [Create Customer](ctp:api:endpoint:/{projectKey}/customers:POST) request.
20012
20355
  *
20013
20356
  */
20014
- export interface CustomerCreatedMessagePayload {
20357
+ export interface CustomerCreatedMessagePayload extends IMessagePayload {
20015
20358
  readonly type: 'CustomerCreated';
20016
20359
  /**
20017
20360
  * [Customer](ctp:api:type:Customer) that was created.
@@ -20025,7 +20368,7 @@ export interface CustomerCreatedMessagePayload {
20025
20368
  * If a Custom Field already exists with the same name, a [CustomerCustomFieldChanged](ctp:api:type:CustomerCustomFieldChangedMessage) Message is generated instead.
20026
20369
  *
20027
20370
  */
20028
- export interface CustomerCustomFieldAddedMessagePayload {
20371
+ export interface CustomerCustomFieldAddedMessagePayload extends IMessagePayload {
20029
20372
  readonly type: 'CustomerCustomFieldAdded';
20030
20373
  /**
20031
20374
  * Name of the Custom Field that was added.
@@ -20043,7 +20386,7 @@ export interface CustomerCustomFieldAddedMessagePayload {
20043
20386
  * Generated after changing an existing Custom Field on a Customer using the [Set CustomField](ctp:api:type:CustomerSetCustomFieldAction) update action.
20044
20387
  *
20045
20388
  */
20046
- export interface CustomerCustomFieldChangedMessagePayload {
20389
+ export interface CustomerCustomFieldChangedMessagePayload extends IMessagePayload {
20047
20390
  readonly type: 'CustomerCustomFieldChanged';
20048
20391
  /**
20049
20392
  * Name of the Custom Field that changed.
@@ -20069,7 +20412,7 @@ export interface CustomerCustomFieldChangedMessagePayload {
20069
20412
  * Generated after removing a Custom Field from a Customer using the [Set CustomField](ctp:api:type:CustomerSetCustomFieldAction) update action.
20070
20413
  *
20071
20414
  */
20072
- export interface CustomerCustomFieldRemovedMessagePayload {
20415
+ export interface CustomerCustomFieldRemovedMessagePayload extends IMessagePayload {
20073
20416
  readonly type: 'CustomerCustomFieldRemoved';
20074
20417
  /**
20075
20418
  * Name of the Custom Field that was removed.
@@ -20082,7 +20425,7 @@ export interface CustomerCustomFieldRemovedMessagePayload {
20082
20425
  * Generated after removing a Custom Type from a Customer using the [Set Custom Type](ctp:api:type:CustomerSetCustomTypeAction) update action with empty parameters.
20083
20426
  *
20084
20427
  */
20085
- export interface CustomerCustomTypeRemovedMessagePayload {
20428
+ export interface CustomerCustomTypeRemovedMessagePayload extends IMessagePayload {
20086
20429
  readonly type: 'CustomerCustomTypeRemoved';
20087
20430
  /**
20088
20431
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -20095,7 +20438,7 @@ export interface CustomerCustomTypeRemovedMessagePayload {
20095
20438
  * Generated after adding a Custom Type to a Customer using the [Set Custom Type](ctp:api:type:CustomerSetCustomTypeAction) update action.
20096
20439
  *
20097
20440
  */
20098
- export interface CustomerCustomTypeSetMessagePayload {
20441
+ export interface CustomerCustomTypeSetMessagePayload extends IMessagePayload {
20099
20442
  readonly type: 'CustomerCustomTypeSet';
20100
20443
  /**
20101
20444
  * The Custom Fields that have been set.
@@ -20113,7 +20456,7 @@ export interface CustomerCustomTypeSetMessagePayload {
20113
20456
  * Generated after a successful [Set Date of Birth](ctp:api:type:CustomerSetDateOfBirthAction) update action.
20114
20457
  *
20115
20458
  */
20116
- export interface CustomerDateOfBirthSetMessagePayload {
20459
+ export interface CustomerDateOfBirthSetMessagePayload extends IMessagePayload {
20117
20460
  readonly type: 'CustomerDateOfBirthSet';
20118
20461
  /**
20119
20462
  * The `dateOfBirth` that was set during the [Set Date of Birth](ctp:api:type:CustomerSetDateOfBirthAction) update action.
@@ -20126,14 +20469,14 @@ export interface CustomerDateOfBirthSetMessagePayload {
20126
20469
  * Generated after a successful [Delete Customer](/../api/projects/customers#delete-customer) request.
20127
20470
  *
20128
20471
  */
20129
- export interface CustomerDeletedMessagePayload {
20472
+ export interface CustomerDeletedMessagePayload extends IMessagePayload {
20130
20473
  readonly type: 'CustomerDeleted';
20131
20474
  }
20132
20475
  /**
20133
20476
  * Generated after a successful [Change Email](ctp:api:type:CustomerChangeEmailAction) update action.
20134
20477
  *
20135
20478
  */
20136
- export interface CustomerEmailChangedMessagePayload {
20479
+ export interface CustomerEmailChangedMessagePayload extends IMessagePayload {
20137
20480
  readonly type: 'CustomerEmailChanged';
20138
20481
  /**
20139
20482
  * The `email` that was set during the [Change Email](ctp:api:type:CustomerChangeEmailAction) update action.
@@ -20146,7 +20489,7 @@ export interface CustomerEmailChangedMessagePayload {
20146
20489
  * 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).
20147
20490
  *
20148
20491
  */
20149
- export interface CustomerEmailTokenCreatedMessagePayload {
20492
+ export interface CustomerEmailTokenCreatedMessagePayload extends IMessagePayload {
20150
20493
  readonly type: 'CustomerEmailTokenCreated';
20151
20494
  /**
20152
20495
  * Unique identifier of the Customer.
@@ -20165,14 +20508,14 @@ export interface CustomerEmailTokenCreatedMessagePayload {
20165
20508
  * Generated after a successful [Verify Customer's Email](ctp:api:endpoint:/{projectKey}/customers/email/confirm:POST) request.
20166
20509
  *
20167
20510
  */
20168
- export interface CustomerEmailVerifiedMessagePayload {
20511
+ export interface CustomerEmailVerifiedMessagePayload extends IMessagePayload {
20169
20512
  readonly type: 'CustomerEmailVerified';
20170
20513
  }
20171
20514
  /**
20172
20515
  * Generated after a successful [Set First Name](ctp:api:type:CustomerSetFirstNameAction) update action.
20173
20516
  *
20174
20517
  */
20175
- export interface CustomerFirstNameSetMessagePayload {
20518
+ export interface CustomerFirstNameSetMessagePayload extends IMessagePayload {
20176
20519
  readonly type: 'CustomerFirstNameSet';
20177
20520
  /**
20178
20521
  * The `firstName` that was set during the [Set First Name](ctp:api:type:CustomerSetFirstNameAction) update action.
@@ -20186,7 +20529,7 @@ export interface CustomerFirstNameSetMessagePayload {
20186
20529
  * If a Custom Field already exists with the same name, a [CustomerGroupCustomFieldChanged](ctp:api:type:CustomerGroupCustomFieldChangedMessage) Message is generated instead.
20187
20530
  *
20188
20531
  */
20189
- export interface CustomerGroupCustomFieldAddedMessagePayload {
20532
+ export interface CustomerGroupCustomFieldAddedMessagePayload extends IMessagePayload {
20190
20533
  readonly type: 'CustomerGroupCustomFieldAdded';
20191
20534
  /**
20192
20535
  * Name of the Custom Field that was added.
@@ -20204,7 +20547,7 @@ export interface CustomerGroupCustomFieldAddedMessagePayload {
20204
20547
  * Generated after changing an existing Custom Field on a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action.
20205
20548
  *
20206
20549
  */
20207
- export interface CustomerGroupCustomFieldChangedMessagePayload {
20550
+ export interface CustomerGroupCustomFieldChangedMessagePayload extends IMessagePayload {
20208
20551
  readonly type: 'CustomerGroupCustomFieldChanged';
20209
20552
  /**
20210
20553
  * Name of the Custom Field that changed.
@@ -20229,7 +20572,7 @@ export interface CustomerGroupCustomFieldChangedMessagePayload {
20229
20572
  * Generated after removing a Custom Field from a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action.
20230
20573
  *
20231
20574
  */
20232
- export interface CustomerGroupCustomFieldRemovedMessagePayload {
20575
+ export interface CustomerGroupCustomFieldRemovedMessagePayload extends IMessagePayload {
20233
20576
  readonly type: 'CustomerGroupCustomFieldRemoved';
20234
20577
  /**
20235
20578
  * Name of the Custom Field that was removed.
@@ -20242,7 +20585,7 @@ export interface CustomerGroupCustomFieldRemovedMessagePayload {
20242
20585
  * Generated after removing a Custom Type from a Customer Group using the [Set Custom Type](ctp:api:type:CustomerGroupSetCustomTypeAction) update action with empty parameters.
20243
20586
  *
20244
20587
  */
20245
- export interface CustomerGroupCustomTypeRemovedMessagePayload {
20588
+ export interface CustomerGroupCustomTypeRemovedMessagePayload extends IMessagePayload {
20246
20589
  readonly type: 'CustomerGroupCustomTypeRemoved';
20247
20590
  /**
20248
20591
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -20255,7 +20598,7 @@ export interface CustomerGroupCustomTypeRemovedMessagePayload {
20255
20598
  * Generated after adding a Custom Type to a Customer Group using the [Set Custom Type](ctp:api:type:CustomerGroupSetCustomTypeAction) update action.
20256
20599
  *
20257
20600
  */
20258
- export interface CustomerGroupCustomTypeSetMessagePayload {
20601
+ export interface CustomerGroupCustomTypeSetMessagePayload extends IMessagePayload {
20259
20602
  readonly type: 'CustomerGroupCustomTypeSet';
20260
20603
  /**
20261
20604
  * The Custom Fields that have been set.
@@ -20273,7 +20616,7 @@ export interface CustomerGroupCustomTypeSetMessagePayload {
20273
20616
  * Generated after a successful [Set Customer Group](ctp:api:type:CustomerSetCustomerGroupAction) update action.
20274
20617
  *
20275
20618
  */
20276
- export interface CustomerGroupSetMessagePayload {
20619
+ export interface CustomerGroupSetMessagePayload extends IMessagePayload {
20277
20620
  readonly type: 'CustomerGroupSet';
20278
20621
  /**
20279
20622
  * [Customer Group](ctp:api:type:CustomerGroup) that was set during the [Set Customer Group](ctp:api:type:CustomerSetCustomerGroupAction) update action.
@@ -20286,7 +20629,7 @@ export interface CustomerGroupSetMessagePayload {
20286
20629
  * Generated after a successful [Set Last Name](ctp:api:type:CustomerSetLastNameAction) update action.
20287
20630
  *
20288
20631
  */
20289
- export interface CustomerLastNameSetMessagePayload {
20632
+ export interface CustomerLastNameSetMessagePayload extends IMessagePayload {
20290
20633
  readonly type: 'CustomerLastNameSet';
20291
20634
  /**
20292
20635
  * The `lastName` that was set during the [Set Last Name](ctp:api:type:CustomerSetLastNameAction) update action.
@@ -20299,7 +20642,7 @@ export interface CustomerLastNameSetMessagePayload {
20299
20642
  * 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).
20300
20643
  *
20301
20644
  */
20302
- export interface CustomerPasswordTokenCreatedMessagePayload {
20645
+ export interface CustomerPasswordTokenCreatedMessagePayload extends IMessagePayload {
20303
20646
  readonly type: 'CustomerPasswordTokenCreated';
20304
20647
  /**
20305
20648
  * Unique identifier of the Customer.
@@ -20318,7 +20661,7 @@ export interface CustomerPasswordTokenCreatedMessagePayload {
20318
20661
  * 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.
20319
20662
  *
20320
20663
  */
20321
- export interface CustomerPasswordUpdatedMessagePayload {
20664
+ export interface CustomerPasswordUpdatedMessagePayload extends IMessagePayload {
20322
20665
  readonly type: 'CustomerPasswordUpdated';
20323
20666
  /**
20324
20667
  * 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.
@@ -20331,7 +20674,7 @@ export interface CustomerPasswordUpdatedMessagePayload {
20331
20674
  * Generated after a successful [Set Title](ctp:api:type:CustomerSetTitleAction) update action.
20332
20675
  *
20333
20676
  */
20334
- export interface CustomerTitleSetMessagePayload {
20677
+ export interface CustomerTitleSetMessagePayload extends IMessagePayload {
20335
20678
  readonly type: 'CustomerTitleSet';
20336
20679
  /**
20337
20680
  * The `title` that was set during the [Set Title](ctp:api:type:CustomerSetTitleAction) update action.
@@ -20344,7 +20687,7 @@ export interface CustomerTitleSetMessagePayload {
20344
20687
  * Generated after a successful [Create DiscountCode](ctp:api:endpoint:/{projectKey}/discount-codes:POST) request.
20345
20688
  *
20346
20689
  */
20347
- export interface DiscountCodeCreatedMessagePayload {
20690
+ export interface DiscountCodeCreatedMessagePayload extends IMessagePayload {
20348
20691
  readonly type: 'DiscountCodeCreated';
20349
20692
  /**
20350
20693
  * The [Discount Code](ctp:api:type:DiscountCode) that was created.
@@ -20357,14 +20700,14 @@ export interface DiscountCodeCreatedMessagePayload {
20357
20700
  * Generated after a successful [Delete DiscountCode](ctp:api:endpoint:/{projectKey}/discount-codes/{id}:DELETE) request.
20358
20701
  *
20359
20702
  */
20360
- export interface DiscountCodeDeletedMessagePayload {
20703
+ export interface DiscountCodeDeletedMessagePayload extends IMessagePayload {
20361
20704
  readonly type: 'DiscountCodeDeleted';
20362
20705
  }
20363
20706
  /**
20364
20707
  * Generated after a successful [Set Key](ctp:api:type:DiscountCodeSetKeyAction) update action.
20365
20708
  *
20366
20709
  */
20367
- export interface DiscountCodeKeySetMessagePayload {
20710
+ export interface DiscountCodeKeySetMessagePayload extends IMessagePayload {
20368
20711
  readonly type: 'DiscountCodeKeySet';
20369
20712
  /**
20370
20713
  * `key` value of the [Discount Code](ctp:api:type:DiscountCode) after the [Set Key](ctp:api:type:DiscountCodeSetKeyAction) update action.
@@ -20383,7 +20726,7 @@ export interface DiscountCodeKeySetMessagePayload {
20383
20726
  * Generated after a successful [Create InventoryEntry](ctp:api:endpoint:/{projectKey}/inventory:POST) request.
20384
20727
  *
20385
20728
  */
20386
- export interface InventoryEntryCreatedMessagePayload {
20729
+ export interface InventoryEntryCreatedMessagePayload extends IMessagePayload {
20387
20730
  readonly type: 'InventoryEntryCreated';
20388
20731
  /**
20389
20732
  * [InventoryEntry](ctp:api:type:InventoryEntry) that was created.
@@ -20396,7 +20739,7 @@ export interface InventoryEntryCreatedMessagePayload {
20396
20739
  * Generated after a successful [Delete InventoryEntry](/../api/projects/inventory#delete-inventoryentry) request.
20397
20740
  *
20398
20741
  */
20399
- export interface InventoryEntryDeletedMessagePayload {
20742
+ export interface InventoryEntryDeletedMessagePayload extends IMessagePayload {
20400
20743
  readonly type: 'InventoryEntryDeleted';
20401
20744
  /**
20402
20745
  * The `sku` of the [InventoryEntry](ctp:api:type:InventoryEntry) that was deleted.
@@ -20416,7 +20759,7 @@ export interface InventoryEntryDeletedMessagePayload {
20416
20759
  * Inventory changes as a result of [Order creation](ctp:api:endpoint:/{projectKey}/orders:POST) do not trigger this message.
20417
20760
  *
20418
20761
  */
20419
- export interface InventoryEntryQuantitySetMessagePayload {
20762
+ export interface InventoryEntryQuantitySetMessagePayload extends IMessagePayload {
20420
20763
  readonly type: 'InventoryEntryQuantitySet';
20421
20764
  /**
20422
20765
  * Quantity on stock for the [InventoryEntry](ctp:api:type:InventoryEntry) before the quantity was updated.
@@ -20450,11 +20793,17 @@ export interface InventoryEntryQuantitySetMessagePayload {
20450
20793
  readonly supplyChannel?: ChannelReference;
20451
20794
  }
20452
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;
20796
+ export interface IOrderMessagePayload {
20797
+ /**
20798
+ *
20799
+ */
20800
+ readonly type: string;
20801
+ }
20453
20802
  /**
20454
20803
  * Generated after a successful [Transition CustomLineItem State](ctp:api:type:OrderTransitionCustomLineItemStateAction) update action.
20455
20804
  *
20456
20805
  */
20457
- export interface CustomLineItemStateTransitionMessagePayload {
20806
+ export interface CustomLineItemStateTransitionMessagePayload extends IOrderMessagePayload {
20458
20807
  readonly type: 'CustomLineItemStateTransition';
20459
20808
  /**
20460
20809
  * Unique identifier of the [Custom Line Item](ctp:api:type:CustomLineItem).
@@ -20497,7 +20846,7 @@ export interface CustomLineItemStateTransitionMessagePayload {
20497
20846
  * Generated after a successful [Add Delivery](ctp:api:type:OrderAddDeliveryAction) update action.
20498
20847
  *
20499
20848
  */
20500
- export interface DeliveryAddedMessagePayload {
20849
+ export interface DeliveryAddedMessagePayload extends IOrderMessagePayload {
20501
20850
  readonly type: 'DeliveryAdded';
20502
20851
  /**
20503
20852
  * [Delivery](ctp:api:type:Delivery) that was added to the [Order](ctp:api:type:Order). The [Delivery](ctp:api:type:Delivery) in the Message body does not contain [Parcels](ctp:api:type:Parcel) if those were part of the initial [Add Delivery](ctp:api:type:OrderAddDeliveryAction) update action. In that case, the update action produces an additional [Parcel Added To Delivery](ctp:api:type:ParcelAddedToDeliveryMessage) Message containing information about the [Parcels](ctp:api:type:Parcel).
@@ -20516,7 +20865,7 @@ export interface DeliveryAddedMessagePayload {
20516
20865
  * Generated after a successful [Set Delivery Address](ctp:api:type:OrderSetDeliveryAddressAction) update action.
20517
20866
  *
20518
20867
  */
20519
- export interface DeliveryAddressSetMessagePayload {
20868
+ export interface DeliveryAddressSetMessagePayload extends IOrderMessagePayload {
20520
20869
  readonly type: 'DeliveryAddressSet';
20521
20870
  /**
20522
20871
  * Unique identifier of the [Delivery](ctp:api:type:Delivery).
@@ -20547,7 +20896,7 @@ export interface DeliveryAddressSetMessagePayload {
20547
20896
  * Generated after adding a Custom Field to a Delivery using the [Set CustomField](ctp:api:type:OrderSetDeliveryCustomFieldAction) update action.
20548
20897
  *
20549
20898
  */
20550
- export interface DeliveryCustomFieldAddedMessagePayload {
20899
+ export interface DeliveryCustomFieldAddedMessagePayload extends IOrderMessagePayload {
20551
20900
  readonly type: 'DeliveryCustomFieldAdded';
20552
20901
  /**
20553
20902
  * Name of the Custom Field that was added.
@@ -20571,7 +20920,7 @@ export interface DeliveryCustomFieldAddedMessagePayload {
20571
20920
  * Generated when an existing Custom Field on a Delivery has been changed using the [Set CustomField](ctp:api:type:OrderSetDeliveryCustomFieldAction) update action.
20572
20921
  *
20573
20922
  */
20574
- export interface DeliveryCustomFieldChangedMessagePayload {
20923
+ export interface DeliveryCustomFieldChangedMessagePayload extends IOrderMessagePayload {
20575
20924
  readonly type: 'DeliveryCustomFieldChanged';
20576
20925
  /**
20577
20926
  * Name of the Custom Field that changed.
@@ -20603,7 +20952,7 @@ export interface DeliveryCustomFieldChangedMessagePayload {
20603
20952
  * Generated when a Custom Field has been removed from the Delivery using the [Set CustomField](ctp:api:type:OrderSetDeliveryCustomFieldAction) update action.
20604
20953
  *
20605
20954
  */
20606
- export interface DeliveryCustomFieldRemovedMessagePayload {
20955
+ export interface DeliveryCustomFieldRemovedMessagePayload extends IOrderMessagePayload {
20607
20956
  readonly type: 'DeliveryCustomFieldRemoved';
20608
20957
  /**
20609
20958
  * Name of the Custom Field that was removed.
@@ -20622,7 +20971,7 @@ export interface DeliveryCustomFieldRemovedMessagePayload {
20622
20971
  * Generated after removing a Custom Type from a Delivery using the [Set Custom Type](ctp:api:type:OrderSetDeliveryCustomTypeAction) update action with empty parameters.
20623
20972
  *
20624
20973
  */
20625
- export interface DeliveryCustomTypeRemovedMessagePayload {
20974
+ export interface DeliveryCustomTypeRemovedMessagePayload extends IOrderMessagePayload {
20626
20975
  readonly type: 'DeliveryCustomTypeRemoved';
20627
20976
  /**
20628
20977
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -20641,7 +20990,7 @@ export interface DeliveryCustomTypeRemovedMessagePayload {
20641
20990
  * Generated after adding a Custom Type to a Delivery using the [Set Custom Type](ctp:api:type:OrderSetDeliveryCustomTypeAction) update action.
20642
20991
  *
20643
20992
  */
20644
- export interface DeliveryCustomTypeSetMessagePayload {
20993
+ export interface DeliveryCustomTypeSetMessagePayload extends IOrderMessagePayload {
20645
20994
  readonly type: 'DeliveryCustomTypeSet';
20646
20995
  /**
20647
20996
  * The Custom Fields that have been set.
@@ -20665,7 +21014,7 @@ export interface DeliveryCustomTypeSetMessagePayload {
20665
21014
  * Generated after a successful [Set Delivery Items](ctp:api:type:OrderSetDeliveryItemsAction) update action.
20666
21015
  *
20667
21016
  */
20668
- export interface DeliveryItemsUpdatedMessagePayload {
21017
+ export interface DeliveryItemsUpdatedMessagePayload extends IOrderMessagePayload {
20669
21018
  readonly type: 'DeliveryItemsUpdated';
20670
21019
  /**
20671
21020
  * Unique identifier of the [Delivery](ctp:api:type:Delivery).
@@ -20696,7 +21045,7 @@ export interface DeliveryItemsUpdatedMessagePayload {
20696
21045
  * Generated after a successful [Remove Delivery](ctp:api:type:OrderRemoveDeliveryAction) update action.
20697
21046
  *
20698
21047
  */
20699
- export interface DeliveryRemovedMessagePayload {
21048
+ export interface DeliveryRemovedMessagePayload extends IOrderMessagePayload {
20700
21049
  readonly type: 'DeliveryRemoved';
20701
21050
  /**
20702
21051
  * The [Delivery](ctp:api:type:Delivery) that was removed from the [Order](ctp:api:type:Order).
@@ -20715,7 +21064,7 @@ export interface DeliveryRemovedMessagePayload {
20715
21064
  * Generated after a successful [Transition LineItem State](ctp:api:type:OrderTransitionLineItemStateAction) update action.
20716
21065
  *
20717
21066
  */
20718
- export interface LineItemStateTransitionMessagePayload {
21067
+ export interface LineItemStateTransitionMessagePayload extends IOrderMessagePayload {
20719
21068
  readonly type: 'LineItemStateTransition';
20720
21069
  /**
20721
21070
  * Unique identifier of the [Line Item](ctp:api:type:LineItem).
@@ -20758,7 +21107,7 @@ export interface LineItemStateTransitionMessagePayload {
20758
21107
  * Generated after a successful [Set Billing Address](ctp:api:type:OrderSetBillingAddressAction) update action.
20759
21108
  *
20760
21109
  */
20761
- export interface OrderBillingAddressSetMessagePayload {
21110
+ export interface OrderBillingAddressSetMessagePayload extends IOrderMessagePayload {
20762
21111
  readonly type: 'OrderBillingAddressSet';
20763
21112
  /**
20764
21113
  * Billing address on the Order after the [Set Billing Address](ctp:api:type:OrderSetBillingAddressAction) update action.
@@ -20777,7 +21126,7 @@ export interface OrderBillingAddressSetMessagePayload {
20777
21126
  * Generated after a successful [Create Order](ctp:api:endpoint:/{projectKey}/orders:POST) request.
20778
21127
  *
20779
21128
  */
20780
- export interface OrderCreatedMessagePayload {
21129
+ export interface OrderCreatedMessagePayload extends IOrderMessagePayload {
20781
21130
  readonly type: 'OrderCreated';
20782
21131
  /**
20783
21132
  * [Order](ctp:api:type:Order) that was created.
@@ -20790,7 +21139,7 @@ export interface OrderCreatedMessagePayload {
20790
21139
  * Generated after adding a Custom Field using the [Set CustomField](ctp:api:type:OrderSetCustomFieldAction).
20791
21140
  *
20792
21141
  */
20793
- export interface OrderCustomFieldAddedMessagePayload {
21142
+ export interface OrderCustomFieldAddedMessagePayload extends IOrderMessagePayload {
20794
21143
  readonly type: 'OrderCustomFieldAdded';
20795
21144
  /**
20796
21145
  * Name of the Custom Field that was added.
@@ -20808,7 +21157,7 @@ export interface OrderCustomFieldAddedMessagePayload {
20808
21157
  * Generated when an existing Custom Field has been changed using the [Set CustomField](ctp:api:type:OrderSetCustomFieldAction) action.
20809
21158
  *
20810
21159
  */
20811
- export interface OrderCustomFieldChangedMessagePayload {
21160
+ export interface OrderCustomFieldChangedMessagePayload extends IOrderMessagePayload {
20812
21161
  readonly type: 'OrderCustomFieldChanged';
20813
21162
  /**
20814
21163
  * Name of the Custom Field that changed.
@@ -20834,7 +21183,7 @@ export interface OrderCustomFieldChangedMessagePayload {
20834
21183
  * Generated when a Custom Field has been removed from the Order using the [Set CustomField](ctp:api:type:OrderSetCustomFieldAction) action.
20835
21184
  *
20836
21185
  */
20837
- export interface OrderCustomFieldRemovedMessagePayload {
21186
+ export interface OrderCustomFieldRemovedMessagePayload extends IOrderMessagePayload {
20838
21187
  readonly type: 'OrderCustomFieldRemoved';
20839
21188
  /**
20840
21189
  * Name of the Custom Field that was removed.
@@ -20847,7 +21196,7 @@ export interface OrderCustomFieldRemovedMessagePayload {
20847
21196
  * Generated after a successful [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction) update action.
20848
21197
  *
20849
21198
  */
20850
- export interface OrderCustomLineItemAddedMessagePayload {
21199
+ export interface OrderCustomLineItemAddedMessagePayload extends IOrderMessagePayload {
20851
21200
  readonly type: 'OrderCustomLineItemAdded';
20852
21201
  /**
20853
21202
  * [Custom Line Item](ctp:api:type:CustomLineItem) that was added to the [Order](ctp:api:type:Order).
@@ -20860,7 +21209,7 @@ export interface OrderCustomLineItemAddedMessagePayload {
20860
21209
  * Generated after a successful recalculation of a Discount on a [Custom Line Item](ctp:api:type:CustomLineItem).
20861
21210
  *
20862
21211
  */
20863
- export interface OrderCustomLineItemDiscountSetMessagePayload {
21212
+ export interface OrderCustomLineItemDiscountSetMessagePayload extends IOrderMessagePayload {
20864
21213
  readonly type: 'OrderCustomLineItemDiscountSet';
20865
21214
  /**
20866
21215
  * Unique identifier for the [Custom Line Item](ctp:api:type:CustomLineItem).
@@ -20891,7 +21240,7 @@ export interface OrderCustomLineItemDiscountSetMessagePayload {
20891
21240
  * Generated after a successful [Change CustomLineItem Quantity](ctp:api:type:StagedOrderChangeCustomLineItemQuantityAction) update action.
20892
21241
  *
20893
21242
  */
20894
- export interface OrderCustomLineItemQuantityChangedMessagePayload {
21243
+ export interface OrderCustomLineItemQuantityChangedMessagePayload extends IOrderMessagePayload {
20895
21244
  readonly type: 'OrderCustomLineItemQuantityChanged';
20896
21245
  /**
20897
21246
  * Unique identifier of the [Custom Line Item](ctp:api:type:CustomLineItem).
@@ -20922,7 +21271,7 @@ export interface OrderCustomLineItemQuantityChangedMessagePayload {
20922
21271
  * Generated after a successful [Remove CustomLineItem](ctp:api:type:StagedOrderRemoveCustomLineItemAction) update action.
20923
21272
  *
20924
21273
  */
20925
- export interface OrderCustomLineItemRemovedMessagePayload {
21274
+ export interface OrderCustomLineItemRemovedMessagePayload extends IOrderMessagePayload {
20926
21275
  readonly type: 'OrderCustomLineItemRemoved';
20927
21276
  /**
20928
21277
  * Unique identifier of the [Custom Line Item](ctp:api:type:CustomLineItem).
@@ -20947,7 +21296,7 @@ export interface OrderCustomLineItemRemovedMessagePayload {
20947
21296
  * Generated after a successful [Set Custom Type](ctp:api:type:OrderSetCustomTypeAction) with empty parameters.
20948
21297
  *
20949
21298
  */
20950
- export interface OrderCustomTypeRemovedMessagePayload {
21299
+ export interface OrderCustomTypeRemovedMessagePayload extends IOrderMessagePayload {
20951
21300
  readonly type: 'OrderCustomTypeRemoved';
20952
21301
  /**
20953
21302
  * `id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present.
@@ -20960,7 +21309,7 @@ export interface OrderCustomTypeRemovedMessagePayload {
20960
21309
  * Generated after a successful [Set Custom Type](ctp:api:type:OrderSetCustomTypeAction).
20961
21310
  *
20962
21311
  */
20963
- export interface OrderCustomTypeSetMessagePayload {
21312
+ export interface OrderCustomTypeSetMessagePayload extends IOrderMessagePayload {
20964
21313
  readonly type: 'OrderCustomTypeSet';
20965
21314
  /**
20966
21315
  * The Custom Fields that have been set.
@@ -20978,7 +21327,7 @@ export interface OrderCustomTypeSetMessagePayload {
20978
21327
  * Generated after a successful [Set Customer Email](ctp:api:type:OrderSetCustomerEmailAction) update action.
20979
21328
  *
20980
21329
  */
20981
- export interface OrderCustomerEmailSetMessagePayload {
21330
+ export interface OrderCustomerEmailSetMessagePayload extends IOrderMessagePayload {
20982
21331
  readonly type: 'OrderCustomerEmailSet';
20983
21332
  /**
20984
21333
  * Email address on the [Order](ctp:api:type:Order) after the [Set Customer Email](ctp:api:type:OrderSetCustomerEmailAction) update action.
@@ -20997,7 +21346,7 @@ export interface OrderCustomerEmailSetMessagePayload {
20997
21346
  * Generated after a successful [Set Customer Group](ctp:api:type:StagedOrderSetCustomerGroupAction) update action.
20998
21347
  *
20999
21348
  */
21000
- export interface OrderCustomerGroupSetMessagePayload {
21349
+ export interface OrderCustomerGroupSetMessagePayload extends IOrderMessagePayload {
21001
21350
  readonly type: 'OrderCustomerGroupSet';
21002
21351
  /**
21003
21352
  * [CustomerGroup](ctp:api:type:CustomerGroup) on the [Order](ctp:api:type:Order) after the [Set Customer Group](ctp:api:type:StagedOrderSetCustomerGroupAction) update action.
@@ -21016,7 +21365,7 @@ export interface OrderCustomerGroupSetMessagePayload {
21016
21365
  * Generated after a successful [Set Customer ID](ctp:api:type:OrderSetCustomerIdAction) update action.
21017
21366
  *
21018
21367
  */
21019
- export interface OrderCustomerSetMessagePayload {
21368
+ export interface OrderCustomerSetMessagePayload extends IOrderMessagePayload {
21020
21369
  readonly type: 'OrderCustomerSet';
21021
21370
  /**
21022
21371
  * [Customer](ctp:api:type:Customer) on the [Order](ctp:api:type:Order) after the [Set Customer ID](ctp:api:type:OrderSetCustomerIdAction) update action.
@@ -21047,7 +21396,7 @@ export interface OrderCustomerSetMessagePayload {
21047
21396
  * Generated after a successful [Delete Order](/../api/projects/orders#delete-order) request.
21048
21397
  *
21049
21398
  */
21050
- export interface OrderDeletedMessagePayload {
21399
+ export interface OrderDeletedMessagePayload extends IOrderMessagePayload {
21051
21400
  readonly type: 'OrderDeleted';
21052
21401
  /**
21053
21402
  * [Order](ctp:api:type:Order) that has been deleted.
@@ -21060,7 +21409,7 @@ export interface OrderDeletedMessagePayload {
21060
21409
  * Generated after a successful [Add DiscountCode](ctp:api:type:StagedOrderAddDiscountCodeAction) update action.
21061
21410
  *
21062
21411
  */
21063
- export interface OrderDiscountCodeAddedMessagePayload {
21412
+ export interface OrderDiscountCodeAddedMessagePayload extends IOrderMessagePayload {
21064
21413
  readonly type: 'OrderDiscountCodeAdded';
21065
21414
  /**
21066
21415
  * [DiscountCode](ctp:api:type:DiscountCode) that was added.
@@ -21073,7 +21422,7 @@ export interface OrderDiscountCodeAddedMessagePayload {
21073
21422
  * Generated after a successful [Remove DiscountCode](ctp:api:type:StagedOrderRemoveDiscountCodeAction) update action.
21074
21423
  *
21075
21424
  */
21076
- export interface OrderDiscountCodeRemovedMessagePayload {
21425
+ export interface OrderDiscountCodeRemovedMessagePayload extends IOrderMessagePayload {
21077
21426
  readonly type: 'OrderDiscountCodeRemoved';
21078
21427
  /**
21079
21428
  * [DiscountCode](ctp:api:type:DiscountCode) that was removed.
@@ -21086,7 +21435,7 @@ export interface OrderDiscountCodeRemovedMessagePayload {
21086
21435
  * Generated after the [DiscountCodeState](ctp:api:type:DiscountCodeState) changes due to a [recalculation](/../api/projects/carts#recalculate).
21087
21436
  *
21088
21437
  */
21089
- export interface OrderDiscountCodeStateSetMessagePayload {
21438
+ export interface OrderDiscountCodeStateSetMessagePayload extends IOrderMessagePayload {
21090
21439
  readonly type: 'OrderDiscountCodeStateSet';
21091
21440
  /**
21092
21441
  * [DiscountCode](ctp:api:type:DiscountCode) that changed due to the recalculation.
@@ -21111,7 +21460,7 @@ export interface OrderDiscountCodeStateSetMessagePayload {
21111
21460
  * Generated after successfully [applying an OrderEdit](ctp:api:endpoint:/{projectKey}/orders/edits/{id}/apply:POST).
21112
21461
  *
21113
21462
  */
21114
- export interface OrderEditAppliedMessagePayload {
21463
+ export interface OrderEditAppliedMessagePayload extends IOrderMessagePayload {
21115
21464
  readonly type: 'OrderEditApplied';
21116
21465
  /**
21117
21466
  * [OrderEdit](ctp:api:type:OrderEdit) that was applied.
@@ -21130,7 +21479,7 @@ export interface OrderEditAppliedMessagePayload {
21130
21479
  * Generated after a successful [Order Import](ctp:api:endpoint:/{projectKey}/orders/import:POST).
21131
21480
  *
21132
21481
  */
21133
- export interface OrderImportedMessagePayload {
21482
+ export interface OrderImportedMessagePayload extends IOrderMessagePayload {
21134
21483
  readonly type: 'OrderImported';
21135
21484
  /**
21136
21485
  * [Order](ctp:api:type:Order) that was imported.
@@ -21143,7 +21492,7 @@ export interface OrderImportedMessagePayload {
21143
21492
  * Generated after a successful [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction) update action.
21144
21493
  *
21145
21494
  */
21146
- export interface OrderLineItemAddedMessagePayload {
21495
+ export interface OrderLineItemAddedMessagePayload extends IOrderMessagePayload {
21147
21496
  readonly type: 'OrderLineItemAdded';
21148
21497
  /**
21149
21498
  * [Line Item](ctp:api:type:LineItem) that was added to the [Order](ctp:api:type:Order).
@@ -21162,7 +21511,7 @@ export interface OrderLineItemAddedMessagePayload {
21162
21511
  * Generated after a successful recalculation of a Discount on a [Line Item](ctp:api:type:LineItem).
21163
21512
  *
21164
21513
  */
21165
- export interface OrderLineItemDiscountSetMessagePayload {
21514
+ export interface OrderLineItemDiscountSetMessagePayload extends IOrderMessagePayload {
21166
21515
  readonly type: 'OrderLineItemDiscountSet';
21167
21516
  /**
21168
21517
  * Unique identifier for the [Line Item](ctp:api:type:LineItem).
@@ -21206,7 +21555,7 @@ export interface OrderLineItemDiscountSetMessagePayload {
21206
21555
  * Generated after a successful [Set LineItem DistributionChannel](/../api/projects/order-edits#set-lineitem-distributionchannel) update action.
21207
21556
  *
21208
21557
  */
21209
- export interface OrderLineItemDistributionChannelSetMessagePayload {
21558
+ export interface OrderLineItemDistributionChannelSetMessagePayload extends IOrderMessagePayload {
21210
21559
  readonly type: 'OrderLineItemDistributionChannelSet';
21211
21560
  /**
21212
21561
  * Unique identifier of the [Line Item](ctp:api:type:LineItem).
@@ -21231,7 +21580,7 @@ export interface OrderLineItemDistributionChannelSetMessagePayload {
21231
21580
  * Generated after a successful [Remove LineItem](ctp:api:type:StagedOrderRemoveLineItemAction) update action.
21232
21581
  *
21233
21582
  */
21234
- export interface OrderLineItemRemovedMessagePayload {
21583
+ export interface OrderLineItemRemovedMessagePayload extends IOrderMessagePayload {
21235
21584
  readonly type: 'OrderLineItemRemoved';
21236
21585
  /**
21237
21586
  * Unique identifier of the [Line Item](ctp:api:type:LineItem).
@@ -21292,7 +21641,7 @@ export interface OrderLineItemRemovedMessagePayload {
21292
21641
  * Generated after a successful [Add Payment](ctp:api:type:OrderAddPaymentAction) update action or when a [Payment](ctp:api:type:Payment) is added via [Order Edits](ctp:api:type:StagedOrderAddPaymentAction).
21293
21642
  *
21294
21643
  */
21295
- export interface OrderPaymentAddedMessagePayload {
21644
+ export interface OrderPaymentAddedMessagePayload extends IMessagePayload {
21296
21645
  readonly type: 'OrderPaymentAdded';
21297
21646
  /**
21298
21647
  * [Payment](ctp:api:type:Payment) that was added to the [Order](ctp:api:type:Order).
@@ -21305,7 +21654,7 @@ export interface OrderPaymentAddedMessagePayload {
21305
21654
  * Generated after a successful [Change PaymentState](ctp:api:type:OrderChangePaymentStateAction) update action.
21306
21655
  *
21307
21656
  */
21308
- export interface OrderPaymentStateChangedMessagePayload {
21657
+ export interface OrderPaymentStateChangedMessagePayload extends IOrderMessagePayload {
21309
21658
  readonly type: 'OrderPaymentStateChanged';
21310
21659
  /**
21311
21660
  * [PaymentState](ctp:api:type:PaymentState) after the [Change Payment State](ctp:api:type:OrderChangePaymentStateAction) update action.
@@ -21324,7 +21673,7 @@ export interface OrderPaymentStateChangedMessagePayload {
21324
21673
  * Generated after a successful [Set Purchase Order Number](ctp:api:type:OrderSetPurchaseOrderNumberAction) update action.
21325
21674
  *
21326
21675
  */
21327
- export interface OrderPurchaseOrderNumberSetMessagePayload {
21676
+ export interface OrderPurchaseOrderNumberSetMessagePayload extends IOrderMessagePayload {
21328
21677
  readonly type: 'OrderPurchaseOrderNumberSet';
21329
21678
  /**
21330
21679
  * Purchase order number on the [Order](ctp:api:type:Order) after the [Set Purchase Order Number](ctp:api:type:OrderSetPurchaseOrderNumberAction) update action.
@@ -21343,7 +21692,7 @@ export interface OrderPurchaseOrderNumberSetMessagePayload {
21343
21692
  * Generated after a successful [Set ReturnShipmentState](ctp:api:type:OrderSetReturnShipmentStateAction) update action on [Orders](ctp:api:type:Order) and [Order Edits](ctp:api:type:OrderEdit).
21344
21693
  *
21345
21694
  */
21346
- export interface OrderReturnShipmentStateChangedMessagePayload {
21695
+ export interface OrderReturnShipmentStateChangedMessagePayload extends IOrderMessagePayload {
21347
21696
  readonly type: 'OrderReturnShipmentStateChanged';
21348
21697
  /**
21349
21698
  * Unique identifier of the [ReturnItem](ctp:api:type:ReturnItem).
@@ -21362,7 +21711,7 @@ export interface OrderReturnShipmentStateChangedMessagePayload {
21362
21711
  * Generated after a successful [Change ShipmentState](ctp:api:type:OrderChangeShipmentStateAction) update action.
21363
21712
  *
21364
21713
  */
21365
- export interface OrderShipmentStateChangedMessagePayload {
21714
+ export interface OrderShipmentStateChangedMessagePayload extends IOrderMessagePayload {
21366
21715
  readonly type: 'OrderShipmentStateChanged';
21367
21716
  /**
21368
21717
  * [ShipmentState](ctp:api:type:ShipmentState) after the [Change Shipment State](ctp:api:type:OrderChangeShipmentStateAction) update action.
@@ -21381,7 +21730,7 @@ export interface OrderShipmentStateChangedMessagePayload {
21381
21730
  * Generated after a successful [Set Shipping Address](ctp:api:type:OrderSetShippingAddressAction) update action.
21382
21731
  *
21383
21732
  */
21384
- export interface OrderShippingAddressSetMessagePayload {
21733
+ export interface OrderShippingAddressSetMessagePayload extends IOrderMessagePayload {
21385
21734
  readonly type: 'OrderShippingAddressSet';
21386
21735
  /**
21387
21736
  * Shipping address on the Order after the [Set Shipping Address](ctp:api:type:OrderSetShippingAddressAction) update action.
@@ -21400,7 +21749,7 @@ export interface OrderShippingAddressSetMessagePayload {
21400
21749
  * Generated after a successful [Set ShippingMethod](ctp:api:type:StagedOrderSetShippingMethodAction) and [Set Custom ShippingMethod](ctp:api:type:StagedOrderSetCustomShippingMethodAction) update actions.
21401
21750
  *
21402
21751
  */
21403
- export interface OrderShippingInfoSetMessagePayload {
21752
+ export interface OrderShippingInfoSetMessagePayload extends IOrderMessagePayload {
21404
21753
  readonly type: 'OrderShippingInfoSet';
21405
21754
  /**
21406
21755
  * [ShippingInfo](ctp:api:type:ShippingInfo) after the [Set Shipping Method](ctp:api:type:StagedOrderSetShippingMethodAction) or [Set Custom Shipping Method](ctp:api:type:StagedOrderSetCustomShippingMethodAction) update action.
@@ -21419,7 +21768,7 @@ export interface OrderShippingInfoSetMessagePayload {
21419
21768
  * Generated after a successful [Set ShippingRateInput](ctp:api:type:StagedOrderSetShippingRateInputAction) update action.
21420
21769
  *
21421
21770
  */
21422
- export interface OrderShippingRateInputSetMessagePayload {
21771
+ export interface OrderShippingRateInputSetMessagePayload extends IOrderMessagePayload {
21423
21772
  readonly type: 'OrderShippingRateInputSet';
21424
21773
  /**
21425
21774
  * [ShippingRateInput](ctp:api:type:ShippingRateInput) after the [Set ShippingRateInput](ctp:api:type:StagedOrderSetShippingRateInputAction) update action.
@@ -21438,7 +21787,7 @@ export interface OrderShippingRateInputSetMessagePayload {
21438
21787
  * Generated after a successful [Change OrderState](ctp:api:type:OrderChangeOrderStateAction) update action.
21439
21788
  *
21440
21789
  */
21441
- export interface OrderStateChangedMessagePayload {
21790
+ export interface OrderStateChangedMessagePayload extends IOrderMessagePayload {
21442
21791
  readonly type: 'OrderStateChanged';
21443
21792
  /**
21444
21793
  * [OrderState](ctp:api:type:OrderState) after the [Change Order State](ctp:api:type:OrderChangeOrderStateAction) update action.
@@ -21457,7 +21806,7 @@ export interface OrderStateChangedMessagePayload {
21457
21806
  * Generated after a successful [Transition State](ctp:api:type:OrderTransitionStateAction) update action.
21458
21807
  *
21459
21808
  */
21460
- export interface OrderStateTransitionMessagePayload {
21809
+ export interface OrderStateTransitionMessagePayload extends IOrderMessagePayload {
21461
21810
  readonly type: 'OrderStateTransition';
21462
21811
  /**
21463
21812
  * [OrderState](ctp:api:type:OrderState) after the [Transition State](ctp:api:type:OrderTransitionStateAction) update action.
@@ -21482,7 +21831,7 @@ export interface OrderStateTransitionMessagePayload {
21482
21831
  * Generated after a successful [Set Store](ctp:api:type:OrderSetStoreAction) update action.
21483
21832
  *
21484
21833
  */
21485
- export interface OrderStoreSetMessagePayload {
21834
+ export interface OrderStoreSetMessagePayload extends IOrderMessagePayload {
21486
21835
  readonly type: 'OrderStoreSet';
21487
21836
  /**
21488
21837
  * [Store](ctp:api:type:Store) that was set.
@@ -21495,7 +21844,7 @@ export interface OrderStoreSetMessagePayload {
21495
21844
  * Generated after a successful [Add Parcel to Delivery](ctp:api:type:OrderAddParcelToDeliveryAction) update action.
21496
21845
  *
21497
21846
  */
21498
- export interface ParcelAddedToDeliveryMessagePayload {
21847
+ export interface ParcelAddedToDeliveryMessagePayload extends IOrderMessagePayload {
21499
21848
  readonly type: 'ParcelAddedToDelivery';
21500
21849
  /**
21501
21850
  * Unique identifier of the [Delivery](ctp:api:type:Delivery).
@@ -21520,7 +21869,7 @@ export interface ParcelAddedToDeliveryMessagePayload {
21520
21869
  * Generated after a successful [Set Parcel Items](ctp:api:type:OrderSetParcelItemsAction) update action.
21521
21870
  *
21522
21871
  */
21523
- export interface ParcelItemsUpdatedMessagePayload {
21872
+ export interface ParcelItemsUpdatedMessagePayload extends IOrderMessagePayload {
21524
21873
  readonly type: 'ParcelItemsUpdated';
21525
21874
  /**
21526
21875
  * Unique identifier of the [Parcel](ctp:api:type:Parcel).
@@ -21557,7 +21906,7 @@ export interface ParcelItemsUpdatedMessagePayload {
21557
21906
  * Generated after a successful [Set Parcel Measurements](ctp:api:type:OrderSetParcelMeasurementsAction) update action.
21558
21907
  *
21559
21908
  */
21560
- export interface ParcelMeasurementsUpdatedMessagePayload {
21909
+ export interface ParcelMeasurementsUpdatedMessagePayload extends IOrderMessagePayload {
21561
21910
  readonly type: 'ParcelMeasurementsUpdated';
21562
21911
  /**
21563
21912
  * Unique identifier of the [Delivery](ctp:api:type:Delivery).
@@ -21588,7 +21937,7 @@ export interface ParcelMeasurementsUpdatedMessagePayload {
21588
21937
  * Generated after a successful [Remove Parcel from Delivery](ctp:api:type:OrderRemoveParcelFromDeliveryAction) update action.
21589
21938
  *
21590
21939
  */
21591
- export interface ParcelRemovedFromDeliveryMessagePayload {
21940
+ export interface ParcelRemovedFromDeliveryMessagePayload extends IOrderMessagePayload {
21592
21941
  readonly type: 'ParcelRemovedFromDelivery';
21593
21942
  /**
21594
21943
  * Unique identifier of the [Delivery](ctp:api:type:Delivery).
@@ -21613,7 +21962,7 @@ export interface ParcelRemovedFromDeliveryMessagePayload {
21613
21962
  * Generated after a successful [Set Parcel Tracking Data](ctp:api:type:OrderSetParcelTrackingDataAction) update action.
21614
21963
  *
21615
21964
  */
21616
- export interface ParcelTrackingDataUpdatedMessagePayload {
21965
+ export interface ParcelTrackingDataUpdatedMessagePayload extends IOrderMessagePayload {
21617
21966
  readonly type: 'ParcelTrackingDataUpdated';
21618
21967
  /**
21619
21968
  * Unique identifier of the [Delivery](ctp:api:type:Delivery).
@@ -21644,7 +21993,7 @@ export interface ParcelTrackingDataUpdatedMessagePayload {
21644
21993
  * Generated after a successful [Create Payment](ctp:api:endpoint:/{projectKey}/payments:POST) request.
21645
21994
  *
21646
21995
  */
21647
- export interface PaymentCreatedMessagePayload {
21996
+ export interface PaymentCreatedMessagePayload extends IMessagePayload {
21648
21997
  readonly type: 'PaymentCreated';
21649
21998
  /**
21650
21999
  * [Payment](ctp:api:type:Payment) that was created.
@@ -21657,7 +22006,7 @@ export interface PaymentCreatedMessagePayload {
21657
22006
  * Generated after a successful [Add InterfaceInteraction](ctp:api:type:PaymentAddInterfaceInteractionAction) update action.
21658
22007
  *
21659
22008
  */
21660
- export interface PaymentInteractionAddedMessagePayload {
22009
+ export interface PaymentInteractionAddedMessagePayload extends IMessagePayload {
21661
22010
  readonly type: 'PaymentInteractionAdded';
21662
22011
  /**
21663
22012
  * The interface interaction that was added to the [Payment](ctp:api:type:Payment).
@@ -21670,7 +22019,7 @@ export interface PaymentInteractionAddedMessagePayload {
21670
22019
  * Generated after a successful [Set StatusInterfaceCode](ctp:api:type:PaymentSetStatusInterfaceCodeAction) update action.
21671
22020
  *
21672
22021
  */
21673
- export interface PaymentStatusInterfaceCodeSetMessagePayload {
22022
+ export interface PaymentStatusInterfaceCodeSetMessagePayload extends IMessagePayload {
21674
22023
  readonly type: 'PaymentStatusInterfaceCodeSet';
21675
22024
  /**
21676
22025
  * The `interfaceCode` that was set during the [Set StatusInterfaceCode](ctp:api:type:PaymentSetStatusInterfaceCodeAction) update action.
@@ -21683,7 +22032,7 @@ export interface PaymentStatusInterfaceCodeSetMessagePayload {
21683
22032
  * Generated after a successful [Transition State](ctp:api:type:PaymentTransitionStateAction) update action.
21684
22033
  *
21685
22034
  */
21686
- export interface PaymentStatusStateTransitionMessagePayload {
22035
+ export interface PaymentStatusStateTransitionMessagePayload extends IMessagePayload {
21687
22036
  readonly type: 'PaymentStatusStateTransition';
21688
22037
  /**
21689
22038
  * [State](ctp:api:type:State) of the [Payment](ctp:api:type:Payment) after the [Transition State](ctp:api:type:PaymentTransitionStateAction) update action.
@@ -21702,7 +22051,7 @@ export interface PaymentStatusStateTransitionMessagePayload {
21702
22051
  * Generated after a successful [Add Transaction](ctp:api:type:PaymentAddTransactionAction) update action.
21703
22052
  *
21704
22053
  */
21705
- export interface PaymentTransactionAddedMessagePayload {
22054
+ export interface PaymentTransactionAddedMessagePayload extends IMessagePayload {
21706
22055
  readonly type: 'PaymentTransactionAdded';
21707
22056
  /**
21708
22057
  * [Transaction](ctp:api:type:Transaction) that was added to the [Payment](ctp:api:type:Payment).
@@ -21715,7 +22064,7 @@ export interface PaymentTransactionAddedMessagePayload {
21715
22064
  * Generated after a successful [Change TransactionState](ctp:api:type:PaymentChangeTransactionStateAction) update action.
21716
22065
  *
21717
22066
  */
21718
- export interface PaymentTransactionStateChangedMessagePayload {
22067
+ export interface PaymentTransactionStateChangedMessagePayload extends IMessagePayload {
21719
22068
  readonly type: 'PaymentTransactionStateChanged';
21720
22069
  /**
21721
22070
  * Unique identifier for the [Transaction](ctp:api:type:Transaction) for which the [Transaction State](ctp:api:type:TransactionState) changed.
@@ -21734,7 +22083,7 @@ export interface PaymentTransactionStateChangedMessagePayload {
21734
22083
  * Generated after a successful [Add to Category](ctp:api:type:ProductAddToCategoryAction) update action.
21735
22084
  *
21736
22085
  */
21737
- export interface ProductAddedToCategoryMessagePayload {
22086
+ export interface ProductAddedToCategoryMessagePayload extends IMessagePayload {
21738
22087
  readonly type: 'ProductAddedToCategory';
21739
22088
  /**
21740
22089
  * [Category](ctp:api:type:Category) the [Product](ctp:api:type:Product) was added to.
@@ -21753,7 +22102,7 @@ export interface ProductAddedToCategoryMessagePayload {
21753
22102
  * Generated after a successful [Create Product](ctp:api:endpoint:/{projectKey}/products:POST) request.
21754
22103
  *
21755
22104
  */
21756
- export interface ProductCreatedMessagePayload {
22105
+ export interface ProductCreatedMessagePayload extends IMessagePayload {
21757
22106
  readonly type: 'ProductCreated';
21758
22107
  /**
21759
22108
  * The staged [Product Projection](ctp:api:type:ProductProjection) of the [Product](ctp:api:type:Product) at the time of creation.
@@ -21766,7 +22115,7 @@ export interface ProductCreatedMessagePayload {
21766
22115
  * Generated after a successful [Delete Product](/../api/projects/products#delete-product) request.
21767
22116
  *
21768
22117
  */
21769
- export interface ProductDeletedMessagePayload {
22118
+ export interface ProductDeletedMessagePayload extends IMessagePayload {
21770
22119
  readonly type: 'ProductDeleted';
21771
22120
  /**
21772
22121
  * List of image URLs that were removed during the [Delete Product](ctp:api:type:Product) request.
@@ -21785,7 +22134,7 @@ export interface ProductDeletedMessagePayload {
21785
22134
  * Generated after a successful [Add External Image](ctp:api:type:ProductAddExternalImageAction) update action or after the successful [upload of an image](/../api/projects/products#upload-product-image).
21786
22135
  *
21787
22136
  */
21788
- export interface ProductImageAddedMessagePayload {
22137
+ export interface ProductImageAddedMessagePayload extends IMessagePayload {
21789
22138
  readonly type: 'ProductImageAdded';
21790
22139
  /**
21791
22140
  * Unique identifier of the [Product Variant](ctp:api:type:ProductVariant) to which the [Image](ctp:api:type:Image) was added.
@@ -21810,7 +22159,7 @@ export interface ProductImageAddedMessagePayload {
21810
22159
  * Generated after a successful [Add Price](ctp:api:type:ProductAddPriceAction) update action.
21811
22160
  *
21812
22161
  */
21813
- export interface ProductPriceAddedMessagePayload {
22162
+ export interface ProductPriceAddedMessagePayload extends IMessagePayload {
21814
22163
  readonly type: 'ProductPriceAdded';
21815
22164
  /**
21816
22165
  * Unique identifier of the [ProductVariant](ctp:api:type:ProductVariant) for which the Price was added.
@@ -21835,7 +22184,7 @@ export interface ProductPriceAddedMessagePayload {
21835
22184
  * Generated after a successful [Change Price](ctp:api:type:ProductChangePriceAction) update action.
21836
22185
  *
21837
22186
  */
21838
- export interface ProductPriceChangedMessagePayload {
22187
+ export interface ProductPriceChangedMessagePayload extends IMessagePayload {
21839
22188
  readonly type: 'ProductPriceChanged';
21840
22189
  /**
21841
22190
  * Unique identifier of the [ProductVariant](ctp:api:type:ProductVariant) for which the Price was changed.
@@ -21872,7 +22221,7 @@ export interface ProductPriceChangedMessagePayload {
21872
22221
  * Generated after adding a Custom Field to a Price using the [Set Price CustomField](ctp:api:type:ProductSetProductPriceCustomFieldAction) update action.
21873
22222
  *
21874
22223
  */
21875
- export interface ProductPriceCustomFieldAddedMessagePayload {
22224
+ export interface ProductPriceCustomFieldAddedMessagePayload extends IMessagePayload {
21876
22225
  readonly type: 'ProductPriceCustomFieldAdded';
21877
22226
  /**
21878
22227
  * Unique identifier of the [Price](ctp:api:type:Price) to which the Custom Field was added.
@@ -21909,7 +22258,7 @@ export interface ProductPriceCustomFieldAddedMessagePayload {
21909
22258
  * Generated after changing an existing Custom Field on a Price using the [Set Price CustomField](ctp:api:type:ProductSetProductPriceCustomFieldAction) update action.
21910
22259
  *
21911
22260
  */
21912
- export interface ProductPriceCustomFieldChangedMessagePayload {
22261
+ export interface ProductPriceCustomFieldChangedMessagePayload extends IMessagePayload {
21913
22262
  readonly type: 'ProductPriceCustomFieldChanged';
21914
22263
  /**
21915
22264
  * Unique identifier of the [Price](ctp:api:type:Price) of which the Custom Field was changed.
@@ -21946,7 +22295,7 @@ export interface ProductPriceCustomFieldChangedMessagePayload {
21946
22295
  * Generated after removing a Custom Field from a Price using the [Set Price CustomField](ctp:api:type:ProductSetProductPriceCustomFieldAction) update action.
21947
22296
  *
21948
22297
  */
21949
- export interface ProductPriceCustomFieldRemovedMessagePayload {
22298
+ export interface ProductPriceCustomFieldRemovedMessagePayload extends IMessagePayload {
21950
22299
  readonly type: 'ProductPriceCustomFieldRemoved';
21951
22300
  /**
21952
22301
  * Unique identifier of the [Price](ctp:api:type:Price) from which the Custom Field was removed.
@@ -21977,7 +22326,7 @@ export interface ProductPriceCustomFieldRemovedMessagePayload {
21977
22326
  * Generated after removing a Custom Type from a Price using the [Set Price Custom Type](ctp:api:type:ProductSetProductPriceCustomTypeAction) update action.
21978
22327
  *
21979
22328
  */
21980
- export interface ProductPriceCustomFieldsRemovedMessagePayload {
22329
+ export interface ProductPriceCustomFieldsRemovedMessagePayload extends IMessagePayload {
21981
22330
  readonly type: 'ProductPriceCustomFieldsRemoved';
21982
22331
  /**
21983
22332
  * Unique identifier of the [Price](ctp:api:type:Price) from which the Custom Type was removed.
@@ -22002,7 +22351,7 @@ export interface ProductPriceCustomFieldsRemovedMessagePayload {
22002
22351
  * Generated after a successful [Set Price Custom Type](ctp:api:type:ProductSetProductPriceCustomTypeAction) update action.
22003
22352
  *
22004
22353
  */
22005
- export interface ProductPriceCustomFieldsSetMessagePayload {
22354
+ export interface ProductPriceCustomFieldsSetMessagePayload extends IMessagePayload {
22006
22355
  readonly type: 'ProductPriceCustomFieldsSet';
22007
22356
  /**
22008
22357
  * Unique identifier of the [Price](ctp:api:type:Price) on which the Custom Type was set.
@@ -22039,7 +22388,7 @@ export interface ProductPriceCustomFieldsSetMessagePayload {
22039
22388
  * Generated after a Price is updated due to a [Product Discount](ctp:api:type:ProductDiscount).
22040
22389
  *
22041
22390
  */
22042
- export interface ProductPriceDiscountsSetMessagePayload {
22391
+ export interface ProductPriceDiscountsSetMessagePayload extends IMessagePayload {
22043
22392
  readonly type: 'ProductPriceDiscountsSet';
22044
22393
  /**
22045
22394
  * Array containing details about the [Embedded Prices](ctp:api:type:Price) that were updated.
@@ -22052,7 +22401,7 @@ export interface ProductPriceDiscountsSetMessagePayload {
22052
22401
  * Generated after a successful [Set Discounted Price](ctp:api:type:ProductSetDiscountedPriceAction) update action.
22053
22402
  *
22054
22403
  */
22055
- export interface ProductPriceExternalDiscountSetMessagePayload {
22404
+ export interface ProductPriceExternalDiscountSetMessagePayload extends IMessagePayload {
22056
22405
  readonly type: 'ProductPriceExternalDiscountSet';
22057
22406
  /**
22058
22407
  * Unique identifier of the [Product Variant](ctp:api:type:ProductVariant) for which the Discount was set.
@@ -22095,7 +22444,7 @@ export interface ProductPriceExternalDiscountSetMessagePayload {
22095
22444
  * Generated after a successful [Set Price Key](ctp:api:type:ProductSetPriceKeyAction) update action.
22096
22445
  *
22097
22446
  */
22098
- export interface ProductPriceKeySetMessagePayload {
22447
+ export interface ProductPriceKeySetMessagePayload extends IMessagePayload {
22099
22448
  readonly type: 'ProductPriceKeySet';
22100
22449
  /**
22101
22450
  *
@@ -22130,7 +22479,7 @@ export interface ProductPriceKeySetMessagePayload {
22130
22479
  * Generated after a successful [Set PriceMode](ctp:api:type:ProductSetPriceModeAction) update action.
22131
22480
  *
22132
22481
  */
22133
- export interface ProductPriceModeSetMessagePayload {
22482
+ export interface ProductPriceModeSetMessagePayload extends IMessagePayload {
22134
22483
  readonly type: 'ProductPriceModeSet';
22135
22484
  /**
22136
22485
  * The [PriceMode](ctp:api:type:ProductPriceModeEnum) that was set.
@@ -22143,7 +22492,7 @@ export interface ProductPriceModeSetMessagePayload {
22143
22492
  * Generated after a successful [Remove Price](ctp:api:type:ProductRemovePriceAction) update action.
22144
22493
  *
22145
22494
  */
22146
- export interface ProductPriceRemovedMessagePayload {
22495
+ export interface ProductPriceRemovedMessagePayload extends IMessagePayload {
22147
22496
  readonly type: 'ProductPriceRemoved';
22148
22497
  /**
22149
22498
  * Unique identifier of the [ProductVariant](ctp:api:type:ProductVariant) for which the Price was removed.
@@ -22168,7 +22517,7 @@ export interface ProductPriceRemovedMessagePayload {
22168
22517
  * Generated after a successful [Set Prices](ctp:api:type:ProductSetPricesAction) update action.
22169
22518
  *
22170
22519
  */
22171
- export interface ProductPricesSetMessagePayload {
22520
+ export interface ProductPricesSetMessagePayload extends IMessagePayload {
22172
22521
  readonly type: 'ProductPricesSet';
22173
22522
  /**
22174
22523
  * Unique identifier of the [ProductVariant](ctp:api:type:ProductVariant) for which the Price was set.
@@ -22193,7 +22542,7 @@ export interface ProductPricesSetMessagePayload {
22193
22542
  * Generated after a successful [Publish](ctp:api:type:ProductPublishAction) update action.
22194
22543
  *
22195
22544
  */
22196
- export interface ProductPublishedMessagePayload {
22545
+ export interface ProductPublishedMessagePayload extends IMessagePayload {
22197
22546
  readonly type: 'ProductPublished';
22198
22547
  /**
22199
22548
  * List of image URLs which were removed during the [Publish](ctp:api:type:ProductPublishAction) update action.
@@ -22218,7 +22567,7 @@ export interface ProductPublishedMessagePayload {
22218
22567
  * Generated after a successful [Remove from Category](ctp:api:type:ProductRemoveFromCategoryAction) update action.
22219
22568
  *
22220
22569
  */
22221
- export interface ProductRemovedFromCategoryMessagePayload {
22570
+ export interface ProductRemovedFromCategoryMessagePayload extends IMessagePayload {
22222
22571
  readonly type: 'ProductRemovedFromCategory';
22223
22572
  /**
22224
22573
  * [Category](ctp:api:type:Category) the [Product](ctp:api:type:Product) was removed from.
@@ -22237,7 +22586,7 @@ export interface ProductRemovedFromCategoryMessagePayload {
22237
22586
  * Generated after a successful [Revert Staged Changes](ctp:api:type:ProductRevertStagedChangesAction) update action.
22238
22587
  *
22239
22588
  */
22240
- export interface ProductRevertedStagedChangesMessagePayload {
22589
+ export interface ProductRevertedStagedChangesMessagePayload extends IMessagePayload {
22241
22590
  readonly type: 'ProductRevertedStagedChanges';
22242
22591
  /**
22243
22592
  * List of image URLs that were removed during the [Revert Staged Changes](ctp:api:type:ProductRevertStagedChangesAction) update action.
@@ -22250,7 +22599,7 @@ export interface ProductRevertedStagedChangesMessagePayload {
22250
22599
  * Generated after a successful [Create Product Selection](ctp:api:endpoint:/{projectKey}/product-selections:POST) request.
22251
22600
  *
22252
22601
  */
22253
- export interface ProductSelectionCreatedMessagePayload {
22602
+ export interface ProductSelectionCreatedMessagePayload extends IMessagePayload {
22254
22603
  readonly type: 'ProductSelectionCreated';
22255
22604
  /**
22256
22605
  * [Product Selection](ctp:api:type:ProductSelection) that was created.
@@ -22263,14 +22612,14 @@ export interface ProductSelectionCreatedMessagePayload {
22263
22612
  * Generated after a successful [Delete Product Selection](/../api/projects/product-selections#delete-productselection) request.
22264
22613
  *
22265
22614
  */
22266
- export interface ProductSelectionDeletedMessagePayload {
22615
+ export interface ProductSelectionDeletedMessagePayload extends IMessagePayload {
22267
22616
  readonly type: 'ProductSelectionDeleted';
22268
22617
  }
22269
22618
  /**
22270
22619
  * Generated after a successful [Add Product](ctp:api:type:ProductSelectionAddProductAction) update action.
22271
22620
  *
22272
22621
  */
22273
- export interface ProductSelectionProductAddedMessagePayload {
22622
+ export interface ProductSelectionProductAddedMessagePayload extends IMessagePayload {
22274
22623
  readonly type: 'ProductSelectionProductAdded';
22275
22624
  /**
22276
22625
  * [Product](ctp:api:type:Product) that was added to the [Product Selection](ctp:api:type:ProductSelection).
@@ -22289,7 +22638,7 @@ export interface ProductSelectionProductAddedMessagePayload {
22289
22638
  * Generated after a successful [Exclude Product](ctp:api:type:ProductSelectionExcludeProductAction) update action.
22290
22639
  *
22291
22640
  */
22292
- export interface ProductSelectionProductExcludedMessagePayload {
22641
+ export interface ProductSelectionProductExcludedMessagePayload extends IMessagePayload {
22293
22642
  readonly type: 'ProductSelectionProductExcluded';
22294
22643
  /**
22295
22644
  * [Product](ctp:api:type:Product) that was excluded from the [Product Selection](ctp:api:type:ProductSelection).
@@ -22308,7 +22657,7 @@ export interface ProductSelectionProductExcludedMessagePayload {
22308
22657
  * Generated after a successful [Remove Product](ctp:api:type:ProductSelectionRemoveProductAction) update action.
22309
22658
  *
22310
22659
  */
22311
- export interface ProductSelectionProductRemovedMessagePayload {
22660
+ export interface ProductSelectionProductRemovedMessagePayload extends IMessagePayload {
22312
22661
  readonly type: 'ProductSelectionProductRemoved';
22313
22662
  /**
22314
22663
  * [Product](ctp:api:type:Product) that was removed from the Product Selection.
@@ -22321,7 +22670,7 @@ export interface ProductSelectionProductRemovedMessagePayload {
22321
22670
  * Generated after a successful [Set Variant Exclusion](ctp:api:type:ProductSelectionSetVariantExclusionAction) update action.
22322
22671
  *
22323
22672
  */
22324
- export interface ProductSelectionVariantExclusionChangedMessagePayload {
22673
+ export interface ProductSelectionVariantExclusionChangedMessagePayload extends IMessagePayload {
22325
22674
  readonly type: 'ProductSelectionVariantExclusionChanged';
22326
22675
  /**
22327
22676
  * [Product](ctp:api:type:Product) for which the Product Variant Exclusion changed.
@@ -22344,7 +22693,7 @@ export interface ProductSelectionVariantExclusionChangedMessagePayload {
22344
22693
  * Generated after a successful [Set Variant Selection](ctp:api:type:ProductSelectionSetVariantSelectionAction) update action.
22345
22694
  *
22346
22695
  */
22347
- export interface ProductSelectionVariantSelectionChangedMessagePayload {
22696
+ export interface ProductSelectionVariantSelectionChangedMessagePayload extends IMessagePayload {
22348
22697
  readonly type: 'ProductSelectionVariantSelectionChanged';
22349
22698
  /**
22350
22699
  * [Product](ctp:api:type:Product) for which the Product Variant Selection changed.
@@ -22367,7 +22716,7 @@ export interface ProductSelectionVariantSelectionChangedMessagePayload {
22367
22716
  * Generated after a successful [Change Slug](ctp:api:type:ProductChangeSlugAction) update action.
22368
22717
  *
22369
22718
  */
22370
- export interface ProductSlugChangedMessagePayload {
22719
+ export interface ProductSlugChangedMessagePayload extends IMessagePayload {
22371
22720
  readonly type: 'ProductSlugChanged';
22372
22721
  /**
22373
22722
  * The slug of the [Product](ctp:api:type:Product) after the [Change Slug](ctp:api:type:ProductChangeSlugAction) update action.
@@ -22386,7 +22735,7 @@ export interface ProductSlugChangedMessagePayload {
22386
22735
  * Generated after a successful [Transition State](ctp:api:type:ProductTransitionStateAction) update action.
22387
22736
  *
22388
22737
  */
22389
- export interface ProductStateTransitionMessagePayload {
22738
+ export interface ProductStateTransitionMessagePayload extends IMessagePayload {
22390
22739
  readonly type: 'ProductStateTransition';
22391
22740
  /**
22392
22741
  * Product [State](ctp:api:type:State) after the [Transition State](ctp:api:type:ProductTransitionStateAction) update action.
@@ -22405,7 +22754,7 @@ export interface ProductStateTransitionMessagePayload {
22405
22754
  * [Create Product Tailoring in Store](/../api/projects/product-tailoring#create-producttailoring-in-store) request.
22406
22755
  *
22407
22756
  */
22408
- export interface ProductTailoringCreatedMessagePayload {
22757
+ export interface ProductTailoringCreatedMessagePayload extends IMessagePayload {
22409
22758
  readonly type: 'ProductTailoringCreated';
22410
22759
  /**
22411
22760
  * User-defined unique identifier of the Product Tailoring.
@@ -22485,7 +22834,7 @@ export interface ProductTailoringCreatedMessagePayload {
22485
22834
  * [Delete ProductTailoring assigned to Product in Store](/../api/projects/product-tailoring#delete-producttailoring-assigned-to-product-in-store) request.
22486
22835
  *
22487
22836
  */
22488
- export interface ProductTailoringDeletedMessagePayload {
22837
+ export interface ProductTailoringDeletedMessagePayload extends IMessagePayload {
22489
22838
  readonly type: 'ProductTailoringDeleted';
22490
22839
  /**
22491
22840
  * The Store to which the Product Tailoring belongs.
@@ -22510,7 +22859,7 @@ export interface ProductTailoringDeletedMessagePayload {
22510
22859
  * Generated after a successful Product Tailoring [Set Description](ctp:api:type:ProductTailoringSetDescriptionAction) update action.
22511
22860
  *
22512
22861
  */
22513
- export interface ProductTailoringDescriptionSetMessagePayload {
22862
+ export interface ProductTailoringDescriptionSetMessagePayload extends IMessagePayload {
22514
22863
  readonly type: 'ProductTailoringDescriptionSet';
22515
22864
  /**
22516
22865
  * The Store to which the Product Tailoring belongs.
@@ -22548,7 +22897,7 @@ export interface ProductTailoringDescriptionSetMessagePayload {
22548
22897
  * or after a successful [Upload Product Tailoring image](/projects/product-tailoring#upload-product-tailoring-image) request.
22549
22898
  *
22550
22899
  */
22551
- export interface ProductTailoringImageAddedMessagePayload {
22900
+ export interface ProductTailoringImageAddedMessagePayload extends IMessagePayload {
22552
22901
  readonly type: 'ProductTailoringImageAdded';
22553
22902
  /**
22554
22903
  * The Store to which the Product Tailoring belongs.
@@ -22585,7 +22934,7 @@ export interface ProductTailoringImageAddedMessagePayload {
22585
22934
  * Generated after a successful [Set Images](ctp:api:type:ProductTailoringSetExternalImagesAction) update action.
22586
22935
  *
22587
22936
  */
22588
- export interface ProductTailoringImagesSetMessagePayload {
22937
+ export interface ProductTailoringImagesSetMessagePayload extends IMessagePayload {
22589
22938
  readonly type: 'ProductTailoringImagesSet';
22590
22939
  /**
22591
22940
  * The Store to which the Product Tailoring belongs.
@@ -22628,7 +22977,7 @@ export interface ProductTailoringImagesSetMessagePayload {
22628
22977
  * Generated after a successful Product Tailoring [Set Name](ctp:api:type:ProductTailoringSetNameAction) update action.
22629
22978
  *
22630
22979
  */
22631
- export interface ProductTailoringNameSetMessagePayload {
22980
+ export interface ProductTailoringNameSetMessagePayload extends IMessagePayload {
22632
22981
  readonly type: 'ProductTailoringNameSet';
22633
22982
  /**
22634
22983
  * The Store to which the Product Tailoring belongs.
@@ -22665,7 +23014,7 @@ export interface ProductTailoringNameSetMessagePayload {
22665
23014
  * Generated after a successful [Product Tailoring Publish](ctp:api:type:ProductTailoringPublishAction) update action.
22666
23015
  *
22667
23016
  */
22668
- export interface ProductTailoringPublishedMessagePayload {
23017
+ export interface ProductTailoringPublishedMessagePayload extends IMessagePayload {
22669
23018
  readonly type: 'ProductTailoringPublished';
22670
23019
  /**
22671
23020
  * The Store to which the Product Tailoring belongs.
@@ -22690,7 +23039,7 @@ export interface ProductTailoringPublishedMessagePayload {
22690
23039
  * Generated after a successful Product Tailoring [Set Slug](ctp:api:type:ProductTailoringSetSlugAction) update action.
22691
23040
  *
22692
23041
  */
22693
- export interface ProductTailoringSlugSetMessagePayload {
23042
+ export interface ProductTailoringSlugSetMessagePayload extends IMessagePayload {
22694
23043
  readonly type: 'ProductTailoringSlugSet';
22695
23044
  /**
22696
23045
  * The Store to which the Product Tailoring belongs.
@@ -22727,7 +23076,7 @@ export interface ProductTailoringSlugSetMessagePayload {
22727
23076
  * Generated after a successful [Product Tailoring Unpublish](ctp:api:type:ProductTailoringUnpublishAction) update action.
22728
23077
  *
22729
23078
  */
22730
- export interface ProductTailoringUnpublishedMessagePayload {
23079
+ export interface ProductTailoringUnpublishedMessagePayload extends IMessagePayload {
22731
23080
  readonly type: 'ProductTailoringUnpublished';
22732
23081
  /**
22733
23082
  * The Store to which the Product Tailoring belongs.
@@ -22752,14 +23101,14 @@ export interface ProductTailoringUnpublishedMessagePayload {
22752
23101
  * Generated after a successful [Unpublish Product](ctp:api:type:ProductUnpublishAction) update action.
22753
23102
  *
22754
23103
  */
22755
- export interface ProductUnpublishedMessagePayload {
23104
+ export interface ProductUnpublishedMessagePayload extends IMessagePayload {
22756
23105
  readonly type: 'ProductUnpublished';
22757
23106
  }
22758
23107
  /**
22759
23108
  * Generated after a successful [Add ProductVariant](ctp:api:type:ProductAddVariantAction) update action.
22760
23109
  *
22761
23110
  */
22762
- export interface ProductVariantAddedMessagePayload {
23111
+ export interface ProductVariantAddedMessagePayload extends IMessagePayload {
22763
23112
  readonly type: 'ProductVariantAdded';
22764
23113
  /**
22765
23114
  * Unique identifier of the [Product Variant](ctp:api:type:ProductVariant) that was added.
@@ -22778,7 +23127,7 @@ export interface ProductVariantAddedMessagePayload {
22778
23127
  * Generated after a successful [Remove ProductVariant](ctp:api:type:ProductRemoveVariantAction) update action.
22779
23128
  *
22780
23129
  */
22781
- export interface ProductVariantDeletedMessagePayload {
23130
+ export interface ProductVariantDeletedMessagePayload extends IMessagePayload {
22782
23131
  readonly type: 'ProductVariantDeleted';
22783
23132
  /**
22784
23133
  * Unique identifier of the [Product Variant](ctp:api:type:ProductVariant) that was added.
@@ -22804,7 +23153,7 @@ export interface ProductVariantDeletedMessagePayload {
22804
23153
  * Generated after a successful [Add ProductVariant Tailoring](ctp:api:type:ProductTailoringAddVariantAction) update action.
22805
23154
  *
22806
23155
  */
22807
- export interface ProductVariantTailoringAddedMessagePayload {
23156
+ export interface ProductVariantTailoringAddedMessagePayload extends IMessagePayload {
22808
23157
  readonly type: 'ProductVariantTailoringAdded';
22809
23158
  /**
22810
23159
  * The Store to which the Product Tailoring belongs.
@@ -22841,7 +23190,7 @@ export interface ProductVariantTailoringAddedMessagePayload {
22841
23190
  * Generated after a successful [Remove ProductVariant Tailoring](ctp:api:type:ProductTailoringRemoveVariantAction) update action.
22842
23191
  *
22843
23192
  */
22844
- export interface ProductVariantTailoringRemovedMessagePayload {
23193
+ export interface ProductVariantTailoringRemovedMessagePayload extends IMessagePayload {
22845
23194
  readonly type: 'ProductVariantTailoringRemoved';
22846
23195
  /**
22847
23196
  * The Store to which the Product Tailoring belongs.
@@ -22878,7 +23227,7 @@ export interface ProductVariantTailoringRemovedMessagePayload {
22878
23227
  * Generated after a successful [Create Quote](ctp:api:endpoint:/{projectKey}/quotes:POST) request.
22879
23228
  *
22880
23229
  */
22881
- export interface QuoteCreatedMessagePayload {
23230
+ export interface QuoteCreatedMessagePayload extends IMessagePayload {
22882
23231
  readonly type: 'QuoteCreated';
22883
23232
  /**
22884
23233
  * [Quote](/../api/projects/quotes) that was created.
@@ -22891,7 +23240,7 @@ export interface QuoteCreatedMessagePayload {
22891
23240
  * Generated after a successful [Change Customer](ctp:api:type:QuoteChangeCustomerAction) update action.
22892
23241
  *
22893
23242
  */
22894
- export interface QuoteCustomerChangedMessagePayload {
23243
+ export interface QuoteCustomerChangedMessagePayload extends IMessagePayload {
22895
23244
  readonly type: 'QuoteCustomerChanged';
22896
23245
  /**
22897
23246
  * The [Buyer](/../api/quotes-overview#buyer) who now owns the Quote.
@@ -22910,14 +23259,14 @@ export interface QuoteCustomerChangedMessagePayload {
22910
23259
  * Generated after a successful [Delete Quote](/../api/projects/quotes#delete-quote) request.
22911
23260
  *
22912
23261
  */
22913
- export interface QuoteDeletedMessagePayload {
23262
+ export interface QuoteDeletedMessagePayload extends IMessagePayload {
22914
23263
  readonly type: 'QuoteDeleted';
22915
23264
  }
22916
23265
  /**
22917
23266
  * Generated after a successful [Request Quote Renegotiation](ctp:api:type:QuoteRequestQuoteRenegotiationAction) update action.
22918
23267
  *
22919
23268
  */
22920
- export interface QuoteRenegotiationRequestedMessagePayload {
23269
+ export interface QuoteRenegotiationRequestedMessagePayload extends IMessagePayload {
22921
23270
  readonly type: 'QuoteRenegotiationRequested';
22922
23271
  /**
22923
23272
  * Message from the [Buyer](/api/quotes-overview#buyer) regarding the Quote renegotiation request.
@@ -22930,7 +23279,7 @@ export interface QuoteRenegotiationRequestedMessagePayload {
22930
23279
  * Generated after a successful [Create QuoteRequest](ctp:api:endpoint:/{projectKey}/quote-requests:POST) request.
22931
23280
  *
22932
23281
  */
22933
- export interface QuoteRequestCreatedMessagePayload {
23282
+ export interface QuoteRequestCreatedMessagePayload extends IMessagePayload {
22934
23283
  readonly type: 'QuoteRequestCreated';
22935
23284
  /**
22936
23285
  * [Quote Request](/../api/projects/quote-requests) that was created.
@@ -22943,7 +23292,7 @@ export interface QuoteRequestCreatedMessagePayload {
22943
23292
  * Generated after a successful [Change Customer](ctp:api:type:QuoteRequestChangeCustomerAction) update action.
22944
23293
  *
22945
23294
  */
22946
- export interface QuoteRequestCustomerChangedMessagePayload {
23295
+ export interface QuoteRequestCustomerChangedMessagePayload extends IMessagePayload {
22947
23296
  readonly type: 'QuoteRequestCustomerChanged';
22948
23297
  /**
22949
23298
  * The [Buyer](/../api/quotes-overview#buyer) who now owns the Quote Request.
@@ -22962,14 +23311,14 @@ export interface QuoteRequestCustomerChangedMessagePayload {
22962
23311
  * Generated after a successful [Delete QuoteRequest](/../api/projects/quote-requests#delete-quoterequest) request.
22963
23312
  *
22964
23313
  */
22965
- export interface QuoteRequestDeletedMessagePayload {
23314
+ export interface QuoteRequestDeletedMessagePayload extends IMessagePayload {
22966
23315
  readonly type: 'QuoteRequestDeleted';
22967
23316
  }
22968
23317
  /**
22969
23318
  * Generated after a successful [Change Quote Request State](ctp:api:type:QuoteRequestChangeQuoteRequestStateAction) update action.
22970
23319
  *
22971
23320
  */
22972
- export interface QuoteRequestStateChangedMessagePayload {
23321
+ export interface QuoteRequestStateChangedMessagePayload extends IMessagePayload {
22973
23322
  readonly type: 'QuoteRequestStateChanged';
22974
23323
  /**
22975
23324
  * State of the Quote Request after the [Change Quote Request State](ctp:api:type:QuoteRequestChangeQuoteRequestStateAction) update action.
@@ -22988,7 +23337,7 @@ export interface QuoteRequestStateChangedMessagePayload {
22988
23337
  * Generated after a successful [Transition State](ctp:api:type:QuoteRequestTransitionStateAction) update action.
22989
23338
  *
22990
23339
  */
22991
- export interface QuoteRequestStateTransitionMessagePayload {
23340
+ export interface QuoteRequestStateTransitionMessagePayload extends IMessagePayload {
22992
23341
  readonly type: 'QuoteRequestStateTransition';
22993
23342
  /**
22994
23343
  * [State](ctp:api:type:State) of the [Quote](ctp:api:type:Quote) after the [Transition State](ctp:api:type:QuoteRequestTransitionStateAction) update action.
@@ -23013,7 +23362,7 @@ export interface QuoteRequestStateTransitionMessagePayload {
23013
23362
  * Generated after a successful [Change Quote State](ctp:api:type:QuoteChangeQuoteStateAction) update action.
23014
23363
  *
23015
23364
  */
23016
- export interface QuoteStateChangedMessagePayload {
23365
+ export interface QuoteStateChangedMessagePayload extends IMessagePayload {
23017
23366
  readonly type: 'QuoteStateChanged';
23018
23367
  /**
23019
23368
  * State of the Quote after the [Change Quote State](ctp:api:type:QuoteChangeQuoteStateAction) update action.
@@ -23032,7 +23381,7 @@ export interface QuoteStateChangedMessagePayload {
23032
23381
  * Generated after a successful [Transition State](ctp:api:type:QuoteTransitionStateAction) update action.
23033
23382
  *
23034
23383
  */
23035
- export interface QuoteStateTransitionMessagePayload {
23384
+ export interface QuoteStateTransitionMessagePayload extends IMessagePayload {
23036
23385
  readonly type: 'QuoteStateTransition';
23037
23386
  /**
23038
23387
  * [State](ctp:api:type:State) of the [Quote](ctp:api:type:Quote) after the [Transition State](ctp:api:type:QuoteTransitionStateAction) update action.
@@ -23057,7 +23406,7 @@ export interface QuoteStateTransitionMessagePayload {
23057
23406
  * Generated after a successful [Add ReturnInfo](ctp:api:type:OrderAddReturnInfoAction) update action.
23058
23407
  *
23059
23408
  */
23060
- export interface ReturnInfoAddedMessagePayload {
23409
+ export interface ReturnInfoAddedMessagePayload extends IOrderMessagePayload {
23061
23410
  readonly type: 'ReturnInfoAdded';
23062
23411
  /**
23063
23412
  * The [ReturnInfo](ctp:api:type:ReturnInfo) that was added to the [Order](ctp:api:type:Order).
@@ -23070,7 +23419,7 @@ export interface ReturnInfoAddedMessagePayload {
23070
23419
  * Generated after a successful [Set ReturnInfo](ctp:api:type:OrderSetReturnInfoAction) update action on [Orders](ctp:api:type:Order) and [Order Edits](ctp:api:type:OrderEdit).
23071
23420
  *
23072
23421
  */
23073
- export interface ReturnInfoSetMessagePayload {
23422
+ export interface ReturnInfoSetMessagePayload extends IOrderMessagePayload {
23074
23423
  readonly type: 'ReturnInfoSet';
23075
23424
  /**
23076
23425
  * The [ReturnInfo](ctp:api:type:ReturnInfo) that was set on the [Order](ctp:api:type:Order) or [Order Edit](ctp:api:type:OrderEdit).
@@ -23083,7 +23432,7 @@ export interface ReturnInfoSetMessagePayload {
23083
23432
  * Generated after a successful [Create Review](ctp:api:endpoint:/{projectKey}/reviews:POST) request.
23084
23433
  *
23085
23434
  */
23086
- export interface ReviewCreatedMessagePayload {
23435
+ export interface ReviewCreatedMessagePayload extends IMessagePayload {
23087
23436
  readonly type: 'ReviewCreated';
23088
23437
  /**
23089
23438
  * [Review](ctp:api:type:Review) that was created.
@@ -23096,7 +23445,7 @@ export interface ReviewCreatedMessagePayload {
23096
23445
  * Generated after a successful [Set Rating](ctp:api:type:ReviewSetRatingAction) update action.
23097
23446
  *
23098
23447
  */
23099
- export interface ReviewRatingSetMessagePayload {
23448
+ export interface ReviewRatingSetMessagePayload extends IMessagePayload {
23100
23449
  readonly type: 'ReviewRatingSet';
23101
23450
  /**
23102
23451
  * The `rating` of the [Review](ctp:api:type:Review) before the [Set Rating](ctp:api:type:ReviewSetRatingAction) update action.
@@ -23127,7 +23476,7 @@ export interface ReviewRatingSetMessagePayload {
23127
23476
  * Generated after a successful [Transition State](ctp:api:type:ReviewTransitionStateAction) update action.
23128
23477
  *
23129
23478
  */
23130
- export interface ReviewStateTransitionMessagePayload {
23479
+ export interface ReviewStateTransitionMessagePayload extends IMessagePayload {
23131
23480
  readonly type: 'ReviewStateTransition';
23132
23481
  /**
23133
23482
  * [State](ctp:api:type:State) of the [Review](ctp:api:type:Review) before the [Transition State](ctp:api:type:ReviewTransitionStateAction) update action.
@@ -23166,7 +23515,40 @@ export interface ReviewStateTransitionMessagePayload {
23166
23515
  */
23167
23516
  readonly force: boolean;
23168
23517
  }
23169
- export interface ShoppingListStoreSetMessagePayload {
23518
+ export type ShoppingListMessagePayload = ShoppingListLineItemAddedMessagePayload | ShoppingListLineItemRemovedMessagePayload;
23519
+ export interface IShoppingListMessagePayload {
23520
+ /**
23521
+ *
23522
+ */
23523
+ readonly type: string;
23524
+ }
23525
+ /**
23526
+ * Generated after a successful [Add ShoppingListLineItem](ctp:api:type:ShoppingListAddLineItemAction) update action.
23527
+ *
23528
+ */
23529
+ export interface ShoppingListLineItemAddedMessagePayload extends IShoppingListMessagePayload {
23530
+ readonly type: 'ShoppingListLineItemAdded';
23531
+ /**
23532
+ * [Line Item](ctp:api:type:ShoppingListLineItem) that was added to the [ShoppingList](ctp:api:type:ShoppingList).
23533
+ *
23534
+ *
23535
+ */
23536
+ readonly lineItem: ShoppingListLineItem;
23537
+ }
23538
+ /**
23539
+ * Generated after a successful [Remove ShoppingListLineItem](ctp:api:type:ShoppingListRemoveLineItemAction) update action.
23540
+ *
23541
+ */
23542
+ export interface ShoppingListLineItemRemovedMessagePayload extends IShoppingListMessagePayload {
23543
+ readonly type: 'ShoppingListLineItemRemoved';
23544
+ /**
23545
+ * [Line Item](ctp:api:type:ShoppingListLineItem) that was removed from the [ShoppingList](ctp:api:type:ShoppingList).
23546
+ *
23547
+ *
23548
+ */
23549
+ readonly lineItem: ShoppingListLineItem;
23550
+ }
23551
+ export interface ShoppingListStoreSetMessagePayload extends IMessagePayload {
23170
23552
  readonly type: 'ShoppingListStoreSet';
23171
23553
  /**
23172
23554
  * [KeyReference](ctp:api:type:KeyReference) to a [Store](ctp:api:type:Store).
@@ -23179,7 +23561,7 @@ export interface ShoppingListStoreSetMessagePayload {
23179
23561
  * Generated after a successful [Create StagedQuote](ctp:api:endpoint:/{projectKey}/staged-quotes:POST) request.
23180
23562
  *
23181
23563
  */
23182
- export interface StagedQuoteCreatedMessagePayload {
23564
+ export interface StagedQuoteCreatedMessagePayload extends IMessagePayload {
23183
23565
  readonly type: 'StagedQuoteCreated';
23184
23566
  /**
23185
23567
  * [Staged Quote](/../api/projects/staged-quotes) that was created.
@@ -23192,14 +23574,14 @@ export interface StagedQuoteCreatedMessagePayload {
23192
23574
  * Generated after a successful [Delete StagedQuote](/../api/projects/staged-quotes#delete-stagedquote) request.
23193
23575
  *
23194
23576
  */
23195
- export interface StagedQuoteDeletedMessagePayload {
23577
+ export interface StagedQuoteDeletedMessagePayload extends IMessagePayload {
23196
23578
  readonly type: 'StagedQuoteDeleted';
23197
23579
  }
23198
23580
  /**
23199
23581
  * Generated after a successful [Set Seller Comment](ctp:api:type:StagedQuoteSetSellerCommentAction) update action.
23200
23582
  *
23201
23583
  */
23202
- export interface StagedQuoteSellerCommentSetMessagePayload {
23584
+ export interface StagedQuoteSellerCommentSetMessagePayload extends IMessagePayload {
23203
23585
  readonly type: 'StagedQuoteSellerCommentSet';
23204
23586
  /**
23205
23587
  * `sellerComment` on the [StagedQuote](ctp:api:type:StagedQuote) after a successful [Set Seller Comment](ctp:api:type:StagedQuoteSetSellerCommentAction) update action.
@@ -23212,7 +23594,7 @@ export interface StagedQuoteSellerCommentSetMessagePayload {
23212
23594
  * Generated after a successful [Change Staged Quote State](ctp:api:type:StagedQuoteChangeStagedQuoteStateAction) update action.
23213
23595
  *
23214
23596
  */
23215
- export interface StagedQuoteStateChangedMessagePayload {
23597
+ export interface StagedQuoteStateChangedMessagePayload extends IMessagePayload {
23216
23598
  readonly type: 'StagedQuoteStateChanged';
23217
23599
  /**
23218
23600
  * State of the Staged Quote after the [Change Staged Quote State](ctp:api:type:StagedQuoteChangeStagedQuoteStateAction) update action.
@@ -23231,7 +23613,7 @@ export interface StagedQuoteStateChangedMessagePayload {
23231
23613
  * Generated after a successful [Transition State](ctp:api:type:StagedQuoteTransitionStateAction) update action.
23232
23614
  *
23233
23615
  */
23234
- export interface StagedQuoteStateTransitionMessagePayload {
23616
+ export interface StagedQuoteStateTransitionMessagePayload extends IMessagePayload {
23235
23617
  readonly type: 'StagedQuoteStateTransition';
23236
23618
  /**
23237
23619
  * [State](ctp:api:type:State) of the [Quote](ctp:api:type:Quote) after the [Transition State](ctp:api:type:StagedQuoteTransitionStateAction) update action.
@@ -23256,7 +23638,7 @@ export interface StagedQuoteStateTransitionMessagePayload {
23256
23638
  * Generated after a successful [Set Valid To](ctp:api:type:StagedQuoteSetValidToAction) update action.
23257
23639
  *
23258
23640
  */
23259
- export interface StagedQuoteValidToSetMessagePayload {
23641
+ export interface StagedQuoteValidToSetMessagePayload extends IMessagePayload {
23260
23642
  readonly type: 'StagedQuoteValidToSet';
23261
23643
  /**
23262
23644
  * Expiration date for the Staged Quote after the [Set Valid To](ctp:api:type:StagedQuoteSetValidToAction) update action.
@@ -23269,7 +23651,7 @@ export interface StagedQuoteValidToSetMessagePayload {
23269
23651
  * Generated after a successful [Change Active](ctp:api:type:StandalonePriceChangeActiveAction) update action.
23270
23652
  *
23271
23653
  */
23272
- export interface StandalonePriceActiveChangedMessagePayload {
23654
+ export interface StandalonePriceActiveChangedMessagePayload extends IMessagePayload {
23273
23655
  readonly type: 'StandalonePriceActiveChanged';
23274
23656
  /**
23275
23657
  * Value of the `active` field of the StandalonePrice after the [Change Active](ctp:api:type:StandalonePriceChangeActiveAction) update action.
@@ -23288,7 +23670,7 @@ export interface StandalonePriceActiveChangedMessagePayload {
23288
23670
  * Generated after a successful [Create StandalonePrice](ctp:api:endpoint:/{projectKey}/standalone-prices:POST) request.
23289
23671
  *
23290
23672
  */
23291
- export interface StandalonePriceCreatedMessagePayload {
23673
+ export interface StandalonePriceCreatedMessagePayload extends IMessagePayload {
23292
23674
  readonly type: 'StandalonePriceCreated';
23293
23675
  /**
23294
23676
  * [Standalone Price](ctp:api:type:StandalonePrice) that was created.
@@ -23301,7 +23683,7 @@ export interface StandalonePriceCreatedMessagePayload {
23301
23683
  * Generated after a successful [Delete StandalonePrice](/../api/projects/standalone-prices#delete-standaloneprice) request.
23302
23684
  *
23303
23685
  */
23304
- export interface StandalonePriceDeletedMessagePayload {
23686
+ export interface StandalonePriceDeletedMessagePayload extends IMessagePayload {
23305
23687
  readonly type: 'StandalonePriceDeleted';
23306
23688
  /**
23307
23689
  * SKU of the [ProductVariant](ctp:api:type:ProductVariant) to which the deleted Standalone Price was associated.
@@ -23314,7 +23696,7 @@ export interface StandalonePriceDeletedMessagePayload {
23314
23696
  * Generated after a [Product Discount](ctp:api:type:ProductDiscount) is successfully applied to a StandalonePrice.
23315
23697
  *
23316
23698
  */
23317
- export interface StandalonePriceDiscountSetMessagePayload {
23699
+ export interface StandalonePriceDiscountSetMessagePayload extends IMessagePayload {
23318
23700
  readonly type: 'StandalonePriceDiscountSet';
23319
23701
  /**
23320
23702
  * The new `discounted` value of the updated [StandalonePrice](ctp:api:type:StandalonePrice).
@@ -23327,7 +23709,7 @@ export interface StandalonePriceDiscountSetMessagePayload {
23327
23709
  * Generated after a successful [Set Discounted Price](ctp:api:type:StandalonePriceSetDiscountedPriceAction) update action.
23328
23710
  *
23329
23711
  */
23330
- export interface StandalonePriceExternalDiscountSetMessagePayload {
23712
+ export interface StandalonePriceExternalDiscountSetMessagePayload extends IMessagePayload {
23331
23713
  readonly type: 'StandalonePriceExternalDiscountSet';
23332
23714
  /**
23333
23715
  * The `discounted` value of the [StandalonePrice](ctp:api:type:StandalonePrice) after the [Set Discounted Price](ctp:api:type:StandalonePriceSetDiscountedPriceAction) update action.
@@ -23340,7 +23722,7 @@ export interface StandalonePriceExternalDiscountSetMessagePayload {
23340
23722
  * Generated after a successful [Set Key](ctp:api:type:StandalonePriceSetKeyAction) update action.
23341
23723
  *
23342
23724
  */
23343
- export interface StandalonePriceKeySetMessagePayload {
23725
+ export interface StandalonePriceKeySetMessagePayload extends IMessagePayload {
23344
23726
  readonly type: 'StandalonePriceKeySet';
23345
23727
  /**
23346
23728
  * `key` value of the [StandalonePrice](ctp:api:type:StandalonePrice) after the [Set Key](ctp:api:type:StandalonePriceSetKeyAction) update action.
@@ -23359,7 +23741,7 @@ export interface StandalonePriceKeySetMessagePayload {
23359
23741
  * Generated after a successful [Apply Staged Changes](ctp:api:type:StandalonePriceApplyStagedChangesAction) update action.
23360
23742
  *
23361
23743
  */
23362
- export interface StandalonePriceStagedChangesAppliedMessagePayload {
23744
+ export interface StandalonePriceStagedChangesAppliedMessagePayload extends IMessagePayload {
23363
23745
  readonly type: 'StandalonePriceStagedChangesApplied';
23364
23746
  /**
23365
23747
  * Applied changes of the [StandalonePrice](/../api/projects/standalone-prices) after the [Apply Staged Changes](ctp:api:type:StandalonePriceApplyStagedChangesAction) update action.
@@ -23372,7 +23754,7 @@ export interface StandalonePriceStagedChangesAppliedMessagePayload {
23372
23754
  * Generated after a successful [Remove Staged Changes](ctp:api:type:StandalonePriceRemoveStagedChangesAction) update action.
23373
23755
  *
23374
23756
  */
23375
- export interface StandalonePriceStagedChangesRemovedMessagePayload {
23757
+ export interface StandalonePriceStagedChangesRemovedMessagePayload extends IMessagePayload {
23376
23758
  readonly type: 'StandalonePriceStagedChangesRemoved';
23377
23759
  /**
23378
23760
  * Removed changes of the [StandalonePrice](ctp:api:type:StandalonePrice) after the [Remove Staged Changes](ctp:api:type:StandalonePriceRemoveStagedChangesAction) update action.
@@ -23385,7 +23767,7 @@ export interface StandalonePriceStagedChangesRemovedMessagePayload {
23385
23767
  * Generated after a successful [Add Price Tier](ctp:api:type:StandalonePriceAddPriceTierAction) update action
23386
23768
  *
23387
23769
  */
23388
- export interface StandalonePriceTierAddedMessagePayload {
23770
+ export interface StandalonePriceTierAddedMessagePayload extends IMessagePayload {
23389
23771
  readonly type: 'StandalonePriceTierAdded';
23390
23772
  /**
23391
23773
  * The [Price Tier](ctp:api:type:PriceTier) that has been added to the array field `tiers` for the [StandalonePrice](ctp:api:type:StandalonePrice).
@@ -23398,7 +23780,7 @@ export interface StandalonePriceTierAddedMessagePayload {
23398
23780
  * Generated after a successful [Remove Price Tier](ctp:api:type:StandalonePriceRemovePriceTierAction) update action
23399
23781
  *
23400
23782
  */
23401
- export interface StandalonePriceTierRemovedMessagePayload {
23783
+ export interface StandalonePriceTierRemovedMessagePayload extends IMessagePayload {
23402
23784
  readonly type: 'StandalonePriceTierRemoved';
23403
23785
  /**
23404
23786
  * The [Price Tier](ctp:api:type:PriceTier) that has been removed from the array field `tiers` for the [StandalonePrice](ctp:api:type:StandalonePrice).
@@ -23411,7 +23793,7 @@ export interface StandalonePriceTierRemovedMessagePayload {
23411
23793
  * Generated after a successful [Set Price Tier](ctp:api:type:StandalonePriceSetPriceTiersAction) update action
23412
23794
  *
23413
23795
  */
23414
- export interface StandalonePriceTiersSetMessagePayload {
23796
+ export interface StandalonePriceTiersSetMessagePayload extends IMessagePayload {
23415
23797
  readonly type: 'StandalonePriceTiersSet';
23416
23798
  /**
23417
23799
  * The updated content of the field `tiers` of the affected [StandalonePrice](ctp:api:type:StandalonePrice).
@@ -23430,7 +23812,7 @@ export interface StandalonePriceTiersSetMessagePayload {
23430
23812
  * Generated after a successful [Set Valid From and Until](ctp:api:type:StandalonePriceSetValidFromAndUntilAction) update action.
23431
23813
  *
23432
23814
  */
23433
- export interface StandalonePriceValidFromAndUntilSetMessagePayload {
23815
+ export interface StandalonePriceValidFromAndUntilSetMessagePayload extends IMessagePayload {
23434
23816
  readonly type: 'StandalonePriceValidFromAndUntilSet';
23435
23817
  /**
23436
23818
  * Value of [StandalonePrice](ctp:api:type:StandalonePrice) `validFrom` after the [Set Valid From and Until](ctp:api:type:StandalonePriceSetValidFromAndUntilAction) update action.
@@ -23461,7 +23843,7 @@ export interface StandalonePriceValidFromAndUntilSetMessagePayload {
23461
23843
  * Generated after a successful [Set Valid From](ctp:api:type:StandalonePriceSetValidFromAction) update action.
23462
23844
  *
23463
23845
  */
23464
- export interface StandalonePriceValidFromSetMessagePayload {
23846
+ export interface StandalonePriceValidFromSetMessagePayload extends IMessagePayload {
23465
23847
  readonly type: 'StandalonePriceValidFromSet';
23466
23848
  /**
23467
23849
  * Value of [StandalonePrice](ctp:api:type:StandalonePrice) `validFrom` after the [Set Valid From](ctp:api:type:StandalonePriceSetValidFromAction) update action.
@@ -23480,7 +23862,7 @@ export interface StandalonePriceValidFromSetMessagePayload {
23480
23862
  * Generated after a successful [Set Valid Until](ctp:api:type:StandalonePriceSetValidUntilAction) update action.
23481
23863
  *
23482
23864
  */
23483
- export interface StandalonePriceValidUntilSetMessagePayload {
23865
+ export interface StandalonePriceValidUntilSetMessagePayload extends IMessagePayload {
23484
23866
  readonly type: 'StandalonePriceValidUntilSet';
23485
23867
  /**
23486
23868
  * Value of [StandalonePrice](ctp:api:type:StandalonePrice) `validUntil` after the [Set Valid Until](ctp:api:type:StandalonePriceSetValidUntilAction) update action.
@@ -23499,7 +23881,7 @@ export interface StandalonePriceValidUntilSetMessagePayload {
23499
23881
  * Generated after a successful [Change Value](ctp:api:type:StandalonePriceChangeValueAction) update action.
23500
23882
  *
23501
23883
  */
23502
- export interface StandalonePriceValueChangedMessagePayload {
23884
+ export interface StandalonePriceValueChangedMessagePayload extends IMessagePayload {
23503
23885
  readonly type: 'StandalonePriceValueChanged';
23504
23886
  /**
23505
23887
  * The new value of the updated [StandalonePrice](ctp:api:type:StandalonePrice).
@@ -23527,7 +23909,7 @@ export interface StandalonePriceValueChangedMessagePayload {
23527
23909
  * [Set Countries](ctp:api:type:StoreSetCountriesAction) update action.
23528
23910
  *
23529
23911
  */
23530
- export interface StoreCountriesChangedMessagePayload {
23912
+ export interface StoreCountriesChangedMessagePayload extends IMessagePayload {
23531
23913
  readonly type: 'StoreCountriesChanged';
23532
23914
  /**
23533
23915
  * [Countries](ctp:api:type:StoreCountry) added to the [Store](ctp:api:type:Store).
@@ -23546,7 +23928,7 @@ export interface StoreCountriesChangedMessagePayload {
23546
23928
  * Generated after a successful [Create Store](ctp:api:endpoint:/{projectKey}/stores:POST) request.
23547
23929
  *
23548
23930
  */
23549
- export interface StoreCreatedMessagePayload {
23931
+ export interface StoreCreatedMessagePayload extends IMessagePayload {
23550
23932
  readonly type: 'StoreCreated';
23551
23933
  /**
23552
23934
  * The `name` of the [Store](ctp:api:type:Store) that was created.
@@ -23595,7 +23977,7 @@ export interface StoreCreatedMessagePayload {
23595
23977
  * Generated after a successful [Delete Store](/../api/projects/stores#delete-store) request.
23596
23978
  *
23597
23979
  */
23598
- export interface StoreDeletedMessagePayload {
23980
+ export interface StoreDeletedMessagePayload extends IMessagePayload {
23599
23981
  readonly type: 'StoreDeleted';
23600
23982
  }
23601
23983
  /**
@@ -23604,7 +23986,7 @@ export interface StoreDeletedMessagePayload {
23604
23986
  * [Set Distribution Channels](ctp:api:type:StoreSetDistributionChannelsAction) update action.
23605
23987
  *
23606
23988
  */
23607
- export interface StoreDistributionChannelsChangedMessagePayload {
23989
+ export interface StoreDistributionChannelsChangedMessagePayload extends IMessagePayload {
23608
23990
  readonly type: 'StoreDistributionChannelsChanged';
23609
23991
  /**
23610
23992
  * Product distribution Channels that have been added to the [Store](ctp:api:type:Store).
@@ -23622,7 +24004,7 @@ export interface StoreDistributionChannelsChangedMessagePayload {
23622
24004
  * Generated after a successful [Set Languages](ctp:api:type:StoreSetLanguagesAction) update action.
23623
24005
  *
23624
24006
  */
23625
- export interface StoreLanguagesChangedMessagePayload {
24007
+ export interface StoreLanguagesChangedMessagePayload extends IMessagePayload {
23626
24008
  readonly type: 'StoreLanguagesChanged';
23627
24009
  /**
23628
24010
  * [Locales](ctp:api:type:Locale) added to the [Store](ctp:api:type:Store) after the [Set Languages](ctp:api:type:StoreSetLanguagesAction) update action.
@@ -23641,7 +24023,7 @@ export interface StoreLanguagesChangedMessagePayload {
23641
24023
  * Generated after a successful [Set Name](ctp:api:type:StoreSetNameAction) update action.
23642
24024
  *
23643
24025
  */
23644
- export interface StoreNameSetMessagePayload {
24026
+ export interface StoreNameSetMessagePayload extends IMessagePayload {
23645
24027
  readonly type: 'StoreNameSet';
23646
24028
  /**
23647
24029
  * Name of the [Store](ctp:api:type:Store) set during the [Set Name](ctp:api:type:StoreSetNameAction) update action.
@@ -23663,7 +24045,7 @@ export interface StoreNameSetMessagePayload {
23663
24045
  * or [Change Product Selections Active](ctp:api:type:StoreChangeProductSelectionAction) update action.
23664
24046
  *
23665
24047
  */
23666
- export interface StoreProductSelectionsChangedMessagePayload {
24048
+ export interface StoreProductSelectionsChangedMessagePayload extends IMessagePayload {
23667
24049
  readonly type: 'StoreProductSelectionsChanged';
23668
24050
  /**
23669
24051
  * [ProductSelectionSettings](ctp:api:type:ProductSelectionSetting) that were added to the [Store](ctp:api:type:Store).
@@ -23690,7 +24072,7 @@ export interface StoreProductSelectionsChangedMessagePayload {
23690
24072
  * [Set Supply Channels](ctp:api:type:StoreSetSupplyChannelsAction) update action.
23691
24073
  *
23692
24074
  */
23693
- export interface StoreSupplyChannelsChangedMessagePayload {
24075
+ export interface StoreSupplyChannelsChangedMessagePayload extends IMessagePayload {
23694
24076
  readonly type: 'StoreSupplyChannelsChanged';
23695
24077
  /**
23696
24078
  * Inventory supply Channels that have been added to the [Store](ctp:api:type:Store).