@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
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { ProductPublishScope } from './cart.js';
7
7
  import { CategoryReference, CategoryResourceIdentifier } from './category.js';
8
- import { Asset, AssetDraft, AssetSource, BaseResource, CreatedBy, DiscountedPriceDraft, Image, LastModifiedBy, LocalizedString, Price, PriceDraft, ScopedPrice } from './common.js';
8
+ import { Asset, AssetDraft, AssetSource, BaseResource, CreatedBy, DiscountedPriceDraft, Image, IReference, IResourceIdentifier, LastModifiedBy, LocalizedString, Price, PriceDraft, ScopedPrice } from './common.js';
9
9
  import { ProductTypeReference, ProductTypeResourceIdentifier } from './product-type.js';
10
10
  import { ReviewRatingStatistics } from './review.js';
11
11
  import { StateReference, StateResourceIdentifier } from './state.js';
@@ -86,6 +86,12 @@ export interface FacetRange {
86
86
  readonly mean: number;
87
87
  }
88
88
  export type FacetResult = FilteredFacetResult | RangeFacetResult | TermFacetResult;
89
+ export interface IFacetResult {
90
+ /**
91
+ *
92
+ */
93
+ readonly type: FacetTypes;
94
+ }
89
95
  export interface FacetResults {
90
96
  [key: string]: FacetResult;
91
97
  }
@@ -103,8 +109,13 @@ export interface FacetTerm {
103
109
  */
104
110
  readonly productCount?: number;
105
111
  }
112
+ export declare enum FacetTypesValues {
113
+ Filter = "filter",
114
+ Range = "range",
115
+ Terms = "terms"
116
+ }
106
117
  export type FacetTypes = 'filter' | 'range' | 'terms' | string;
107
- export interface FilteredFacetResult {
118
+ export interface FilteredFacetResult extends IFacetResult {
108
119
  readonly type: 'filter';
109
120
  /**
110
121
  *
@@ -338,7 +349,7 @@ export interface ProductDraft {
338
349
  /**
339
350
  * User-defined unique identifier for the Product.
340
351
  *
341
- * This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the [Import API](/../api/import-export/) and the [Merchant Center](/../merchant-center/import-data).
352
+ * This field is optional for backwards compatibility reasons, but we strongly recommend setting it. Keys are mandatory for importing Products with the [Import API](/../api/import-export/overview) and the [Merchant Center](/../merchant-center/import-data).
342
353
  *
343
354
  * To update a Product using the Import API or Merchant Center, the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
344
355
  *
@@ -469,6 +480,10 @@ export interface ProductPagedQueryResponse {
469
480
  * For more information about the difference between the Prices, see [Pricing](/../api/pricing-and-discounts-overview).
470
481
  *
471
482
  */
483
+ export declare enum ProductPriceModeEnumValues {
484
+ Embedded = "Embedded",
485
+ Standalone = "Standalone"
486
+ }
472
487
  export type ProductPriceModeEnum = 'Embedded' | 'Standalone' | string;
473
488
  export interface ProductProjection extends BaseResource {
474
489
  /**
@@ -683,7 +698,7 @@ export interface ProductProjectionPagedSearchResponse {
683
698
  * [Reference](ctp:api:type:Reference) to a [Product](ctp:api:type:Product).
684
699
  *
685
700
  */
686
- export interface ProductReference {
701
+ export interface ProductReference extends IReference {
687
702
  readonly typeId: 'product';
688
703
  /**
689
704
  * Unique identifier of the referenced [Product](ctp:api:type:Product).
@@ -702,7 +717,7 @@ export interface ProductReference {
702
717
  * [ResourceIdentifier](ctp:api:type:ResourceIdentifier) to a [Product](ctp:api:type:Product). Either `id` or `key` is required. If both are set, an [InvalidJsonInput](/../api/errors#invalidjsoninput) error is returned.
703
718
  *
704
719
  */
705
- export interface ProductResourceIdentifier {
720
+ export interface ProductResourceIdentifier extends IResourceIdentifier {
706
721
  readonly typeId: 'product';
707
722
  /**
708
723
  * Unique identifier of the referenced [Product](ctp:api:type:Product). Required if `key` is absent.
@@ -733,6 +748,12 @@ export interface ProductUpdate {
733
748
  readonly actions: ProductUpdateAction[];
734
749
  }
735
750
  export type ProductUpdateAction = ProductAddAssetAction | ProductAddExternalImageAction | ProductAddPriceAction | ProductAddToCategoryAction | ProductAddVariantAction | ProductChangeAssetNameAction | ProductChangeAssetOrderAction | ProductChangeMasterVariantAction | ProductChangeNameAction | ProductChangePriceAction | ProductChangeSlugAction | ProductLegacySetSkuAction | ProductMoveImageToPositionAction | ProductPublishAction | ProductRemoveAssetAction | ProductRemoveFromCategoryAction | ProductRemoveImageAction | ProductRemovePriceAction | ProductRemoveVariantAction | ProductRevertStagedChangesAction | ProductRevertStagedVariantChangesAction | ProductSetAssetCustomFieldAction | ProductSetAssetCustomTypeAction | ProductSetAssetDescriptionAction | ProductSetAssetKeyAction | ProductSetAssetSourcesAction | ProductSetAssetTagsAction | ProductSetAttributeAction | ProductSetAttributeInAllVariantsAction | ProductSetCategoryOrderHintAction | ProductSetDescriptionAction | ProductSetDiscountedPriceAction | ProductSetImageLabelAction | ProductSetKeyAction | ProductSetMetaDescriptionAction | ProductSetMetaKeywordsAction | ProductSetMetaTitleAction | ProductSetPriceKeyAction | ProductSetPriceModeAction | ProductSetPricesAction | ProductSetProductPriceCustomFieldAction | ProductSetProductPriceCustomTypeAction | ProductSetProductVariantKeyAction | ProductSetSearchKeywordsAction | ProductSetSkuAction | ProductSetTaxCategoryAction | ProductTransitionStateAction | ProductUnpublishAction;
751
+ export interface IProductUpdateAction {
752
+ /**
753
+ *
754
+ */
755
+ readonly action: string;
756
+ }
736
757
  /**
737
758
  * A concrete sellable good for which inventory can be tracked. Product Variants are generally mapped to specific SKUs.
738
759
  *
@@ -945,7 +966,7 @@ export interface ProductVariantDraft {
945
966
  */
946
967
  readonly assets?: AssetDraft[];
947
968
  }
948
- export interface RangeFacetResult {
969
+ export interface RangeFacetResult extends IFacetResult {
949
970
  readonly type: 'range';
950
971
  /**
951
972
  *
@@ -975,11 +996,17 @@ export interface SearchKeywords {
975
996
  [key: string]: SearchKeyword[];
976
997
  }
977
998
  export type SuggestTokenizer = CustomTokenizer | WhitespaceTokenizer;
999
+ export interface ISuggestTokenizer {
1000
+ /**
1001
+ *
1002
+ */
1003
+ readonly type: string;
1004
+ }
978
1005
  /**
979
1006
  * Define arbitrary tokens that are used to match the input.
980
1007
  *
981
1008
  */
982
- export interface CustomTokenizer {
1009
+ export interface CustomTokenizer extends ISuggestTokenizer {
983
1010
  readonly type: 'custom';
984
1011
  /**
985
1012
  * Contains custom tokens.
@@ -998,7 +1025,7 @@ export interface Suggestion {
998
1025
  export interface SuggestionResult {
999
1026
  [key: string]: Suggestion[];
1000
1027
  }
1001
- export interface TermFacetResult {
1028
+ export interface TermFacetResult extends IFacetResult {
1002
1029
  readonly type: 'terms';
1003
1030
  /**
1004
1031
  *
@@ -1021,19 +1048,27 @@ export interface TermFacetResult {
1021
1048
  */
1022
1049
  readonly terms: FacetTerm[];
1023
1050
  }
1051
+ export declare enum TermFacetResultTypeValues {
1052
+ Boolean = "boolean",
1053
+ Date = "date",
1054
+ Datetime = "datetime",
1055
+ Number = "number",
1056
+ Text = "text",
1057
+ Time = "time"
1058
+ }
1024
1059
  export type TermFacetResultType = 'boolean' | 'date' | 'datetime' | 'number' | 'text' | 'time' | string;
1025
1060
  /**
1026
1061
  * Creates tokens by splitting the `text` field in [SearchKeyword](ctp:api:type:SearchKeyword) by whitespaces.
1027
1062
  *
1028
1063
  */
1029
- export interface WhitespaceTokenizer {
1064
+ export interface WhitespaceTokenizer extends ISuggestTokenizer {
1030
1065
  readonly type: 'whitespace';
1031
1066
  }
1032
1067
  /**
1033
1068
  * Either `variantId` or `sku` is required.
1034
1069
  *
1035
1070
  */
1036
- export interface ProductAddAssetAction {
1071
+ export interface ProductAddAssetAction extends IProductUpdateAction {
1037
1072
  readonly action: 'addAsset';
1038
1073
  /**
1039
1074
  * The `id` of the ProductVariant to update.
@@ -1070,7 +1105,7 @@ export interface ProductAddAssetAction {
1070
1105
  * Either `variantId` or `sku` is required. Produces the [ProductImageAdded](/projects/messages/product-catalog-messages#product-image-added) Message.
1071
1106
  *
1072
1107
  */
1073
- export interface ProductAddExternalImageAction {
1108
+ export interface ProductAddExternalImageAction extends IProductUpdateAction {
1074
1109
  readonly action: 'addExternalImage';
1075
1110
  /**
1076
1111
  * The `id` of the ProductVariant to update.
@@ -1102,7 +1137,7 @@ export interface ProductAddExternalImageAction {
1102
1137
  * Either `variantId` or `sku` is required.
1103
1138
  *
1104
1139
  */
1105
- export interface ProductAddPriceAction {
1140
+ export interface ProductAddPriceAction extends IProductUpdateAction {
1106
1141
  readonly action: 'addPrice';
1107
1142
  /**
1108
1143
  * The `id` of the ProductVariant to update.
@@ -1132,7 +1167,7 @@ export interface ProductAddPriceAction {
1132
1167
  /**
1133
1168
  * Produces the [ProductAddedToCategory](/projects/messages/product-catalog-messages#product-added-to-category) Message.
1134
1169
  */
1135
- export interface ProductAddToCategoryAction {
1170
+ export interface ProductAddToCategoryAction extends IProductUpdateAction {
1136
1171
  readonly action: 'addToCategory';
1137
1172
  /**
1138
1173
  * The Category to add.
@@ -1153,7 +1188,7 @@ export interface ProductAddToCategoryAction {
1153
1188
  */
1154
1189
  readonly staged?: boolean;
1155
1190
  }
1156
- export interface ProductAddVariantAction {
1191
+ export interface ProductAddVariantAction extends IProductUpdateAction {
1157
1192
  readonly action: 'addVariant';
1158
1193
  /**
1159
1194
  * Value to set. Must be unique.
@@ -1201,7 +1236,7 @@ export interface ProductAddVariantAction {
1201
1236
  * Either `variantId` or `sku` is required. The Asset to update must be specified using either `assetId` or `assetKey`.
1202
1237
  *
1203
1238
  */
1204
- export interface ProductChangeAssetNameAction {
1239
+ export interface ProductChangeAssetNameAction extends IProductUpdateAction {
1205
1240
  readonly action: 'changeAssetName';
1206
1241
  /**
1207
1242
  * The `id` of the ProductVariant to update.
@@ -1244,7 +1279,7 @@ export interface ProductChangeAssetNameAction {
1244
1279
  * Either `variantId` or `sku` is required.
1245
1280
  *
1246
1281
  */
1247
- export interface ProductChangeAssetOrderAction {
1282
+ export interface ProductChangeAssetOrderAction extends IProductUpdateAction {
1248
1283
  readonly action: 'changeAssetOrder';
1249
1284
  /**
1250
1285
  * The `id` of the ProductVariant to update.
@@ -1276,7 +1311,7 @@ export interface ProductChangeAssetOrderAction {
1276
1311
  * Either `variantId` or `sku` is required.
1277
1312
  *
1278
1313
  */
1279
- export interface ProductChangeMasterVariantAction {
1314
+ export interface ProductChangeMasterVariantAction extends IProductUpdateAction {
1280
1315
  readonly action: 'changeMasterVariant';
1281
1316
  /**
1282
1317
  * The `id` of the ProductVariant to become the Master Variant.
@@ -1297,7 +1332,7 @@ export interface ProductChangeMasterVariantAction {
1297
1332
  */
1298
1333
  readonly staged?: boolean;
1299
1334
  }
1300
- export interface ProductChangeNameAction {
1335
+ export interface ProductChangeNameAction extends IProductUpdateAction {
1301
1336
  readonly action: 'changeName';
1302
1337
  /**
1303
1338
  * Value to set. Must not be empty.
@@ -1312,7 +1347,7 @@ export interface ProductChangeNameAction {
1312
1347
  */
1313
1348
  readonly staged?: boolean;
1314
1349
  }
1315
- export interface ProductChangePriceAction {
1350
+ export interface ProductChangePriceAction extends IProductUpdateAction {
1316
1351
  readonly action: 'changePrice';
1317
1352
  /**
1318
1353
  * The `id` of the Embedded Price to update.
@@ -1336,7 +1371,7 @@ export interface ProductChangePriceAction {
1336
1371
  /**
1337
1372
  * Produces the [ProductSlugChanged](ctp:api:type:ProductSlugChangedMessage) Message.
1338
1373
  */
1339
- export interface ProductChangeSlugAction {
1374
+ export interface ProductChangeSlugAction extends IProductUpdateAction {
1340
1375
  readonly action: 'changeSlug';
1341
1376
  /**
1342
1377
  * Value to set. Must not be empty. A Product can have the same slug for different [Locales](ctp:api:type:Locale), but it must be unique across the [Project](ctp:api:type:Project). Must match the pattern `^[A-Za-z0-9_-]{2,256}+$`.
@@ -1351,7 +1386,7 @@ export interface ProductChangeSlugAction {
1351
1386
  */
1352
1387
  readonly staged?: boolean;
1353
1388
  }
1354
- export interface ProductLegacySetSkuAction {
1389
+ export interface ProductLegacySetSkuAction extends IProductUpdateAction {
1355
1390
  readonly action: 'legacySetSku';
1356
1391
  /**
1357
1392
  *
@@ -1366,7 +1401,7 @@ export interface ProductLegacySetSkuAction {
1366
1401
  * Either `variantId` or `sku` is required.
1367
1402
  *
1368
1403
  */
1369
- export interface ProductMoveImageToPositionAction {
1404
+ export interface ProductMoveImageToPositionAction extends IProductUpdateAction {
1370
1405
  readonly action: 'moveImageToPosition';
1371
1406
  /**
1372
1407
  * The `id` of the ProductVariant to update.
@@ -1403,7 +1438,7 @@ export interface ProductMoveImageToPositionAction {
1403
1438
  * Publishes product data from the Product's staged projection to its current projection.
1404
1439
  * Produces the [ProductPublished](ctp:api:type:ProductPublishedMessage) Message.
1405
1440
  */
1406
- export interface ProductPublishAction {
1441
+ export interface ProductPublishAction extends IProductUpdateAction {
1407
1442
  readonly action: 'publish';
1408
1443
  /**
1409
1444
  * `All` or `Prices`
@@ -1416,7 +1451,7 @@ export interface ProductPublishAction {
1416
1451
  * Either `variantId` or `sku` is required. The Asset to remove must be specified using either `assetId` or `assetKey`.
1417
1452
  *
1418
1453
  */
1419
- export interface ProductRemoveAssetAction {
1454
+ export interface ProductRemoveAssetAction extends IProductUpdateAction {
1420
1455
  readonly action: 'removeAsset';
1421
1456
  /**
1422
1457
  * The `id` of the ProductVariant to update.
@@ -1452,7 +1487,7 @@ export interface ProductRemoveAssetAction {
1452
1487
  /**
1453
1488
  * Produces the [ProductRemovedFromCategory](ctp:api:type:ProductRemovedFromCategoryMessage) Message.
1454
1489
  */
1455
- export interface ProductRemoveFromCategoryAction {
1490
+ export interface ProductRemoveFromCategoryAction extends IProductUpdateAction {
1456
1491
  readonly action: 'removeFromCategory';
1457
1492
  /**
1458
1493
  * The Category to remove.
@@ -1468,10 +1503,13 @@ export interface ProductRemoveFromCategoryAction {
1468
1503
  readonly staged?: boolean;
1469
1504
  }
1470
1505
  /**
1471
- * Removes a Product image and deletes it from the Content Delivery Network (external images are not deleted). Deletion from the CDN is not instant, which means the image file itself will stay available for some time after the deletion. Either `variantId` or `sku` is required.
1506
+ * Removes a Product image and deletes it from the Content Delivery Network (CDN) if it had been [uploaded to our CDN](/../api/projects/products#upload-product-image).
1507
+ * External images will not be deleted.
1508
+ * The API deletes the removed image from the CDN in an [eventual consistent](/../api/general-concepts#eventual-consistency) way.
1509
+ * Either `variantId` or `sku` is required.
1472
1510
  *
1473
1511
  */
1474
- export interface ProductRemoveImageAction {
1512
+ export interface ProductRemoveImageAction extends IProductUpdateAction {
1475
1513
  readonly action: 'removeImage';
1476
1514
  /**
1477
1515
  * The `id` of the ProductVariant to update.
@@ -1498,7 +1536,7 @@ export interface ProductRemoveImageAction {
1498
1536
  */
1499
1537
  readonly staged?: boolean;
1500
1538
  }
1501
- export interface ProductRemovePriceAction {
1539
+ export interface ProductRemovePriceAction extends IProductUpdateAction {
1502
1540
  readonly action: 'removePrice';
1503
1541
  /**
1504
1542
  * The `id` of the Embedded Price to remove.
@@ -1520,7 +1558,7 @@ export interface ProductRemovePriceAction {
1520
1558
  * its SKU will be automatically removed from the respective [ProductVariantSelection](ctp:api:type:ProductVariantSelection).
1521
1559
  *
1522
1560
  */
1523
- export interface ProductRemoveVariantAction {
1561
+ export interface ProductRemoveVariantAction extends IProductUpdateAction {
1524
1562
  readonly action: 'removeVariant';
1525
1563
  /**
1526
1564
  * The `id` of the ProductVariant to remove.
@@ -1545,14 +1583,14 @@ export interface ProductRemoveVariantAction {
1545
1583
  * Reverts the staged version of a Product to the current version. Produces the [ProductRevertedStagedChanges](ctp:api:type:ProductRevertedStagedChangesMessage) Message.
1546
1584
  *
1547
1585
  */
1548
- export interface ProductRevertStagedChangesAction {
1586
+ export interface ProductRevertStagedChangesAction extends IProductUpdateAction {
1549
1587
  readonly action: 'revertStagedChanges';
1550
1588
  }
1551
1589
  /**
1552
1590
  * Reverts the staged version of a ProductVariant to the current version.
1553
1591
  *
1554
1592
  */
1555
- export interface ProductRevertStagedVariantChangesAction {
1593
+ export interface ProductRevertStagedVariantChangesAction extends IProductUpdateAction {
1556
1594
  readonly action: 'revertStagedVariantChanges';
1557
1595
  /**
1558
1596
  * The `id` of the ProductVariant to revert.
@@ -1565,7 +1603,7 @@ export interface ProductRevertStagedVariantChangesAction {
1565
1603
  * Either `variantId` or `sku` is required. The [Asset](ctp:api:type:Asset) to update must be specified using either `assetId` or `assetKey`.
1566
1604
  *
1567
1605
  */
1568
- export interface ProductSetAssetCustomFieldAction {
1606
+ export interface ProductSetAssetCustomFieldAction extends IProductUpdateAction {
1569
1607
  readonly action: 'setAssetCustomField';
1570
1608
  /**
1571
1609
  * The `id` of the ProductVariant to update.
@@ -1616,7 +1654,7 @@ export interface ProductSetAssetCustomFieldAction {
1616
1654
  * Either `variantId` or `sku` is required. The [Asset](ctp:api:type:Asset) to update must be specified using either `assetId` or `assetKey`.
1617
1655
  *
1618
1656
  */
1619
- export interface ProductSetAssetCustomTypeAction {
1657
+ export interface ProductSetAssetCustomTypeAction extends IProductUpdateAction {
1620
1658
  readonly action: 'setAssetCustomType';
1621
1659
  /**
1622
1660
  * The `id` of the ProductVariant to update.
@@ -1666,7 +1704,7 @@ export interface ProductSetAssetCustomTypeAction {
1666
1704
  * Either `variantId` or `sku` is required. The [Asset](ctp:api:type:Asset) to update must be specified using either `assetId` or `assetKey`.
1667
1705
  *
1668
1706
  */
1669
- export interface ProductSetAssetDescriptionAction {
1707
+ export interface ProductSetAssetDescriptionAction extends IProductUpdateAction {
1670
1708
  readonly action: 'setAssetDescription';
1671
1709
  /**
1672
1710
  * The `id` of the ProductVariant to update.
@@ -1709,7 +1747,7 @@ export interface ProductSetAssetDescriptionAction {
1709
1747
  * Either `variantId` or `sku` is required.
1710
1748
  *
1711
1749
  */
1712
- export interface ProductSetAssetKeyAction {
1750
+ export interface ProductSetAssetKeyAction extends IProductUpdateAction {
1713
1751
  readonly action: 'setAssetKey';
1714
1752
  /**
1715
1753
  * The `id` of the ProductVariant to update.
@@ -1746,7 +1784,7 @@ export interface ProductSetAssetKeyAction {
1746
1784
  * Either `variantId` or `sku` is required. The [Asset](ctp:api:type:Asset) to update must be specified using either `assetId` or `assetKey`.
1747
1785
  *
1748
1786
  */
1749
- export interface ProductSetAssetSourcesAction {
1787
+ export interface ProductSetAssetSourcesAction extends IProductUpdateAction {
1750
1788
  readonly action: 'setAssetSources';
1751
1789
  /**
1752
1790
  * The `id` of the ProductVariant to update.
@@ -1789,7 +1827,7 @@ export interface ProductSetAssetSourcesAction {
1789
1827
  * Either `variantId` or `sku` is required. The Asset to update must be specified using either `assetId` or `assetKey`.
1790
1828
  *
1791
1829
  */
1792
- export interface ProductSetAssetTagsAction {
1830
+ export interface ProductSetAssetTagsAction extends IProductUpdateAction {
1793
1831
  readonly action: 'setAssetTags';
1794
1832
  /**
1795
1833
  * The `id` of the ProductVariant to update.
@@ -1832,7 +1870,7 @@ export interface ProductSetAssetTagsAction {
1832
1870
  * Either `variantId` or `sku` is required.
1833
1871
  *
1834
1872
  */
1835
- export interface ProductSetAttributeAction {
1873
+ export interface ProductSetAttributeAction extends IProductUpdateAction {
1836
1874
  readonly action: 'setAttribute';
1837
1875
  /**
1838
1876
  * The `id` of the ProductVariant to update.
@@ -1880,7 +1918,7 @@ export interface ProductSetAttributeAction {
1880
1918
  * Adds, removes, or changes a Product Attribute in all Product Variants at the same time.
1881
1919
  * This action is useful for setting values for Attributes with the [Constraint](ctp:api:type:AttributeConstraintEnum) `SameForAll`.
1882
1920
  */
1883
- export interface ProductSetAttributeInAllVariantsAction {
1921
+ export interface ProductSetAttributeInAllVariantsAction extends IProductUpdateAction {
1884
1922
  readonly action: 'setAttributeInAllVariants';
1885
1923
  /**
1886
1924
  * The name of the Attribute to set.
@@ -1912,7 +1950,7 @@ export interface ProductSetAttributeInAllVariantsAction {
1912
1950
  */
1913
1951
  readonly staged?: boolean;
1914
1952
  }
1915
- export interface ProductSetCategoryOrderHintAction {
1953
+ export interface ProductSetCategoryOrderHintAction extends IProductUpdateAction {
1916
1954
  readonly action: 'setCategoryOrderHint';
1917
1955
  /**
1918
1956
  * The `id` of the Category to add the `orderHint`.
@@ -1933,7 +1971,7 @@ export interface ProductSetCategoryOrderHintAction {
1933
1971
  */
1934
1972
  readonly staged?: boolean;
1935
1973
  }
1936
- export interface ProductSetDescriptionAction {
1974
+ export interface ProductSetDescriptionAction extends IProductUpdateAction {
1937
1975
  readonly action: 'setDescription';
1938
1976
  /**
1939
1977
  * Value to set. If empty, any existing value will be removed.
@@ -1952,7 +1990,7 @@ export interface ProductSetDescriptionAction {
1952
1990
  * Produces the [ProductPriceExternalDiscountSet](ctp:api:type:ProductPriceExternalDiscountSetMessage) Message.
1953
1991
  *
1954
1992
  */
1955
- export interface ProductSetDiscountedPriceAction {
1993
+ export interface ProductSetDiscountedPriceAction extends IProductUpdateAction {
1956
1994
  readonly action: 'setDiscountedPrice';
1957
1995
  /**
1958
1996
  * The `id` of the [Price](ctp:api:type:Price) to set the Discount.
@@ -1978,7 +2016,7 @@ export interface ProductSetDiscountedPriceAction {
1978
2016
  * Either `variantId` or `sku` is required.
1979
2017
  *
1980
2018
  */
1981
- export interface ProductSetImageLabelAction {
2019
+ export interface ProductSetImageLabelAction extends IProductUpdateAction {
1982
2020
  readonly action: 'setImageLabel';
1983
2021
  /**
1984
2022
  * The `sku` of the ProductVariant to update.
@@ -2011,18 +2049,18 @@ export interface ProductSetImageLabelAction {
2011
2049
  */
2012
2050
  readonly staged?: boolean;
2013
2051
  }
2014
- export interface ProductSetKeyAction {
2052
+ export interface ProductSetKeyAction extends IProductUpdateAction {
2015
2053
  readonly action: 'setKey';
2016
2054
  /**
2017
2055
  * Value to set. If empty, any existing value will be removed.
2018
2056
  *
2019
- * To update a Product using the [Import API](/../api/import-export/) and the [Merchant Center](/../merchant-center/import-data), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
2057
+ * To update a Product using the [Import API](/../api/import-export/overview) and the [Merchant Center](/../merchant-center/import-data), the Product `key` must match the pattern `^[A-Za-z0-9_-]{2,256}$`.
2020
2058
  *
2021
2059
  *
2022
2060
  */
2023
2061
  readonly key?: string;
2024
2062
  }
2025
- export interface ProductSetMetaDescriptionAction {
2063
+ export interface ProductSetMetaDescriptionAction extends IProductUpdateAction {
2026
2064
  readonly action: 'setMetaDescription';
2027
2065
  /**
2028
2066
  * Value to set. If empty, any existing value will be removed.
@@ -2037,7 +2075,7 @@ export interface ProductSetMetaDescriptionAction {
2037
2075
  */
2038
2076
  readonly staged?: boolean;
2039
2077
  }
2040
- export interface ProductSetMetaKeywordsAction {
2078
+ export interface ProductSetMetaKeywordsAction extends IProductUpdateAction {
2041
2079
  readonly action: 'setMetaKeywords';
2042
2080
  /**
2043
2081
  * Value to set. If empty, any existing value will be removed.
@@ -2052,7 +2090,7 @@ export interface ProductSetMetaKeywordsAction {
2052
2090
  */
2053
2091
  readonly staged?: boolean;
2054
2092
  }
2055
- export interface ProductSetMetaTitleAction {
2093
+ export interface ProductSetMetaTitleAction extends IProductUpdateAction {
2056
2094
  readonly action: 'setMetaTitle';
2057
2095
  /**
2058
2096
  * Value to set. If empty, any existing value will be removed.
@@ -2071,7 +2109,7 @@ export interface ProductSetMetaTitleAction {
2071
2109
  * Sets the key of an [Embedded Price](ctp:api:type:Price). Produces the [ProductPriceKeySet](ctp:api:type:ProductPriceKeySetMessage) Message.
2072
2110
  *
2073
2111
  */
2074
- export interface ProductSetPriceKeyAction {
2112
+ export interface ProductSetPriceKeyAction extends IProductUpdateAction {
2075
2113
  readonly action: 'setPriceKey';
2076
2114
  /**
2077
2115
  * The `id` of the [Price](ctp:api:type:Price) to set the key.
@@ -2096,7 +2134,7 @@ export interface ProductSetPriceKeyAction {
2096
2134
  * Controls whether the Prices of a Product Variant are embedded into the Product or standalone.
2097
2135
  *
2098
2136
  */
2099
- export interface ProductSetPriceModeAction {
2137
+ export interface ProductSetPriceModeAction extends IProductUpdateAction {
2100
2138
  readonly action: 'setPriceMode';
2101
2139
  /**
2102
2140
  * Specifies which type of Prices should be used when looking up a price for the Product.
@@ -2109,7 +2147,7 @@ export interface ProductSetPriceModeAction {
2109
2147
  * Either `variantId` or `sku` is required.
2110
2148
  *
2111
2149
  */
2112
- export interface ProductSetPricesAction {
2150
+ export interface ProductSetPricesAction extends IProductUpdateAction {
2113
2151
  readonly action: 'setPrices';
2114
2152
  /**
2115
2153
  * The `id` of the ProductVariant to update.
@@ -2137,7 +2175,7 @@ export interface ProductSetPricesAction {
2137
2175
  */
2138
2176
  readonly staged?: boolean;
2139
2177
  }
2140
- export interface ProductSetProductPriceCustomFieldAction {
2178
+ export interface ProductSetProductPriceCustomFieldAction extends IProductUpdateAction {
2141
2179
  readonly action: 'setProductPriceCustomField';
2142
2180
  /**
2143
2181
  * The `id` of the Embedded Price to update.
@@ -2166,7 +2204,7 @@ export interface ProductSetProductPriceCustomFieldAction {
2166
2204
  */
2167
2205
  readonly value?: any;
2168
2206
  }
2169
- export interface ProductSetProductPriceCustomTypeAction {
2207
+ export interface ProductSetProductPriceCustomTypeAction extends IProductUpdateAction {
2170
2208
  readonly action: 'setProductPriceCustomType';
2171
2209
  /**
2172
2210
  * The `id` of the Embedded Price to update.
@@ -2198,7 +2236,7 @@ export interface ProductSetProductPriceCustomTypeAction {
2198
2236
  * Either `variantId` or `sku` is required.
2199
2237
  *
2200
2238
  */
2201
- export interface ProductSetProductVariantKeyAction {
2239
+ export interface ProductSetProductVariantKeyAction extends IProductUpdateAction {
2202
2240
  readonly action: 'setProductVariantKey';
2203
2241
  /**
2204
2242
  * The `id` of the ProductVariant to update.
@@ -2225,7 +2263,7 @@ export interface ProductSetProductVariantKeyAction {
2225
2263
  */
2226
2264
  readonly staged?: boolean;
2227
2265
  }
2228
- export interface ProductSetSearchKeywordsAction {
2266
+ export interface ProductSetSearchKeywordsAction extends IProductUpdateAction {
2229
2267
  readonly action: 'setSearchKeywords';
2230
2268
  /**
2231
2269
  * Value to set.
@@ -2246,7 +2284,7 @@ export interface ProductSetSearchKeywordsAction {
2246
2284
  * it will be automatically added or removed from the respective [ProductVariantSelection](ctp:api:type:ProductVariantSelection).
2247
2285
  *
2248
2286
  */
2249
- export interface ProductSetSkuAction {
2287
+ export interface ProductSetSkuAction extends IProductUpdateAction {
2250
2288
  readonly action: 'setSku';
2251
2289
  /**
2252
2290
  * The `id` of the ProductVariant to update.
@@ -2271,7 +2309,7 @@ export interface ProductSetSkuAction {
2271
2309
  * Cannot be staged. Published Products are immediately updated.
2272
2310
  *
2273
2311
  */
2274
- export interface ProductSetTaxCategoryAction {
2312
+ export interface ProductSetTaxCategoryAction extends IProductUpdateAction {
2275
2313
  readonly action: 'setTaxCategory';
2276
2314
  /**
2277
2315
  * The Tax Category to set. If empty, any existing value will be removed.
@@ -2284,7 +2322,7 @@ export interface ProductSetTaxCategoryAction {
2284
2322
  * If the existing [State](ctp:api:type:State) has set `transitions`, there must be a direct transition to the new State. If `transitions` is not set, no validation is performed. Produces the [ProductStateTransition](ctp:api:type:ProductStateTransitionMessage) Message.
2285
2323
  *
2286
2324
  */
2287
- export interface ProductTransitionStateAction {
2325
+ export interface ProductTransitionStateAction extends IProductUpdateAction {
2288
2326
  readonly action: 'transitionState';
2289
2327
  /**
2290
2328
  * The State to transition to. If there is no existing State, this must be an initial State.
@@ -2308,7 +2346,7 @@ export interface ProductTransitionStateAction {
2308
2346
  * - If the Product uses Standalone Prices, [inactivate](ctp:api:type:StandalonePriceChangeActiveAction) or [delete](/projects/standalone-prices#delete-standaloneprice) the Standalone Prices.
2309
2347
  *
2310
2348
  */
2311
- export interface ProductUnpublishAction {
2349
+ export interface ProductUnpublishAction extends IProductUpdateAction {
2312
2350
  readonly action: 'unpublish';
2313
2351
  }
2314
2352
  //# sourceMappingURL=product.d.ts.map