@gradientedge/commercetools-utils 5.27.1 → 5.28.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 (393) hide show
  1. package/dist/cjs/types/models/approval-flow.d.ts +264 -0
  2. package/dist/cjs/types/models/approval-flow.d.ts.map +1 -0
  3. package/dist/cjs/types/models/approval-flow.js +8 -0
  4. package/dist/cjs/types/models/approval-flow.js.map +1 -0
  5. package/dist/cjs/types/models/approval-rule.d.ts +415 -0
  6. package/dist/cjs/types/models/approval-rule.d.ts.map +1 -0
  7. package/dist/cjs/types/models/approval-rule.js +8 -0
  8. package/dist/cjs/types/models/approval-rule.js.map +1 -0
  9. package/dist/cjs/types/models/associate-role.d.ts +319 -0
  10. package/dist/cjs/types/models/associate-role.d.ts.map +1 -0
  11. package/dist/cjs/types/models/associate-role.js +8 -0
  12. package/dist/cjs/types/models/associate-role.js.map +1 -0
  13. package/dist/cjs/types/models/attribute-group.d.ts +254 -0
  14. package/dist/cjs/types/models/attribute-group.d.ts.map +1 -0
  15. package/dist/cjs/types/models/attribute-group.js +8 -0
  16. package/dist/cjs/types/models/attribute-group.js.map +1 -0
  17. package/dist/cjs/types/models/business-unit.d.ts +1244 -0
  18. package/dist/cjs/types/models/business-unit.d.ts.map +1 -0
  19. package/dist/cjs/types/models/business-unit.js +8 -0
  20. package/dist/cjs/types/models/business-unit.js.map +1 -0
  21. package/dist/cjs/types/models/cart-discount.d.ts +848 -0
  22. package/dist/cjs/types/models/cart-discount.d.ts.map +1 -0
  23. package/dist/cjs/types/models/cart-discount.js +8 -0
  24. package/dist/cjs/types/models/cart-discount.js.map +1 -0
  25. package/dist/cjs/types/models/cart.d.ts +3593 -0
  26. package/dist/cjs/types/models/cart.d.ts.map +1 -0
  27. package/dist/cjs/types/models/cart.js +8 -0
  28. package/dist/cjs/types/models/cart.js.map +1 -0
  29. package/dist/cjs/types/models/category.d.ts +636 -0
  30. package/dist/cjs/types/models/category.d.ts.map +1 -0
  31. package/dist/cjs/types/models/category.js +8 -0
  32. package/dist/cjs/types/models/category.js.map +1 -0
  33. package/dist/cjs/types/models/channel.d.ts +380 -0
  34. package/dist/cjs/types/models/channel.d.ts.map +1 -0
  35. package/dist/cjs/types/models/channel.js +8 -0
  36. package/dist/cjs/types/models/channel.js.map +1 -0
  37. package/dist/cjs/types/models/common.d.ts +1163 -0
  38. package/dist/cjs/types/models/common.d.ts.map +1 -0
  39. package/dist/cjs/types/models/common.js +8 -0
  40. package/dist/cjs/types/models/common.js.map +1 -0
  41. package/dist/cjs/types/models/custom-object.d.ts +152 -0
  42. package/dist/cjs/types/models/custom-object.d.ts.map +1 -0
  43. package/dist/cjs/types/models/custom-object.js +8 -0
  44. package/dist/cjs/types/models/custom-object.js.map +1 -0
  45. package/dist/cjs/types/models/customer-group.d.ts +235 -0
  46. package/dist/cjs/types/models/customer-group.d.ts.map +1 -0
  47. package/dist/cjs/types/models/customer-group.js +8 -0
  48. package/dist/cjs/types/models/customer-group.js.map +1 -0
  49. package/dist/cjs/types/models/customer-search.d.ts +114 -0
  50. package/dist/cjs/types/models/customer-search.d.ts.map +1 -0
  51. package/dist/cjs/types/models/customer-search.js +8 -0
  52. package/dist/cjs/types/models/customer-search.js.map +1 -0
  53. package/dist/cjs/types/models/customer.d.ts +1270 -0
  54. package/dist/cjs/types/models/customer.d.ts.map +1 -0
  55. package/dist/cjs/types/models/customer.js +8 -0
  56. package/dist/cjs/types/models/customer.js.map +1 -0
  57. package/dist/cjs/types/models/discount-code.d.ts +473 -0
  58. package/dist/cjs/types/models/discount-code.d.ts.map +1 -0
  59. package/dist/cjs/types/models/discount-code.js +8 -0
  60. package/dist/cjs/types/models/discount-code.js.map +1 -0
  61. package/dist/cjs/types/models/error.d.ts +3330 -0
  62. package/dist/cjs/types/models/error.d.ts.map +1 -0
  63. package/dist/cjs/types/models/error.js +8 -0
  64. package/dist/cjs/types/models/error.js.map +1 -0
  65. package/dist/cjs/types/models/extension.d.ts +336 -0
  66. package/dist/cjs/types/models/extension.d.ts.map +1 -0
  67. package/dist/cjs/types/models/extension.js +8 -0
  68. package/dist/cjs/types/models/extension.js.map +1 -0
  69. package/dist/cjs/types/models/index.d.ts +48 -0
  70. package/dist/cjs/types/models/index.d.ts.map +1 -0
  71. package/dist/cjs/types/models/index.js +64 -0
  72. package/dist/cjs/types/models/index.js.map +1 -0
  73. package/dist/cjs/types/models/inventory.d.ts +330 -0
  74. package/dist/cjs/types/models/inventory.d.ts.map +1 -0
  75. package/dist/cjs/types/models/inventory.js +8 -0
  76. package/dist/cjs/types/models/inventory.js.map +1 -0
  77. package/dist/cjs/types/models/me.d.ts +2636 -0
  78. package/dist/cjs/types/models/me.d.ts.map +1 -0
  79. package/dist/cjs/types/models/me.js +8 -0
  80. package/dist/cjs/types/models/me.js.map +1 -0
  81. package/dist/cjs/types/models/message.d.ts +23707 -0
  82. package/dist/cjs/types/models/message.d.ts.map +1 -0
  83. package/dist/cjs/types/models/message.js +8 -0
  84. package/dist/cjs/types/models/message.js.map +1 -0
  85. package/dist/cjs/types/models/order-edit.d.ts +2725 -0
  86. package/dist/cjs/types/models/order-edit.d.ts.map +1 -0
  87. package/dist/cjs/types/models/order-edit.js +8 -0
  88. package/dist/cjs/types/models/order-edit.js.map +1 -0
  89. package/dist/cjs/types/models/order.d.ts +3187 -0
  90. package/dist/cjs/types/models/order.d.ts.map +1 -0
  91. package/dist/cjs/types/models/order.js +8 -0
  92. package/dist/cjs/types/models/order.js.map +1 -0
  93. package/dist/cjs/types/models/payment.d.ts +680 -0
  94. package/dist/cjs/types/models/payment.d.ts.map +1 -0
  95. package/dist/cjs/types/models/payment.js +8 -0
  96. package/dist/cjs/types/models/payment.js.map +1 -0
  97. package/dist/cjs/types/models/product-discount.d.ts +465 -0
  98. package/dist/cjs/types/models/product-discount.d.ts.map +1 -0
  99. package/dist/cjs/types/models/product-discount.js +8 -0
  100. package/dist/cjs/types/models/product-discount.js.map +1 -0
  101. package/dist/cjs/types/models/product-search.d.ts +437 -0
  102. package/dist/cjs/types/models/product-search.d.ts.map +1 -0
  103. package/dist/cjs/types/models/product-search.js +8 -0
  104. package/dist/cjs/types/models/product-search.js.map +1 -0
  105. package/dist/cjs/types/models/product-selection.d.ts +579 -0
  106. package/dist/cjs/types/models/product-selection.d.ts.map +1 -0
  107. package/dist/cjs/types/models/product-selection.js +8 -0
  108. package/dist/cjs/types/models/product-selection.js.map +1 -0
  109. package/dist/cjs/types/models/product-tailoring.d.ts +1368 -0
  110. package/dist/cjs/types/models/product-tailoring.d.ts.map +1 -0
  111. package/dist/cjs/types/models/product-tailoring.js +8 -0
  112. package/dist/cjs/types/models/product-tailoring.js.map +1 -0
  113. package/dist/cjs/types/models/product-type.d.ts +775 -0
  114. package/dist/cjs/types/models/product-type.d.ts.map +1 -0
  115. package/dist/cjs/types/models/product-type.js +8 -0
  116. package/dist/cjs/types/models/product-type.js.map +1 -0
  117. package/dist/cjs/types/models/product.d.ts +2314 -0
  118. package/dist/cjs/types/models/product.d.ts.map +1 -0
  119. package/dist/cjs/types/models/product.js +8 -0
  120. package/dist/cjs/types/models/product.js.map +1 -0
  121. package/dist/cjs/types/models/project.d.ts +418 -0
  122. package/dist/cjs/types/models/project.d.ts.map +1 -0
  123. package/dist/cjs/types/models/project.js +8 -0
  124. package/dist/cjs/types/models/project.js.map +1 -0
  125. package/dist/cjs/types/models/quote-request.d.ts +452 -0
  126. package/dist/cjs/types/models/quote-request.d.ts.map +1 -0
  127. package/dist/cjs/types/models/quote-request.js +8 -0
  128. package/dist/cjs/types/models/quote-request.js.map +1 -0
  129. package/dist/cjs/types/models/quote.d.ts +473 -0
  130. package/dist/cjs/types/models/quote.d.ts.map +1 -0
  131. package/dist/cjs/types/models/quote.js +8 -0
  132. package/dist/cjs/types/models/quote.js.map +1 -0
  133. package/dist/cjs/types/models/review.d.ts +435 -0
  134. package/dist/cjs/types/models/review.d.ts.map +1 -0
  135. package/dist/cjs/types/models/review.js +8 -0
  136. package/dist/cjs/types/models/review.js.map +1 -0
  137. package/dist/cjs/types/models/scalar-types.d.ts +10 -0
  138. package/dist/cjs/types/models/scalar-types.d.ts.map +1 -0
  139. package/dist/cjs/types/models/scalar-types.js +8 -0
  140. package/dist/cjs/types/models/scalar-types.js.map +1 -0
  141. package/dist/cjs/types/models/search.d.ts +334 -0
  142. package/dist/cjs/types/models/search.d.ts.map +1 -0
  143. package/dist/cjs/types/models/search.js +8 -0
  144. package/dist/cjs/types/models/search.js.map +1 -0
  145. package/dist/cjs/types/models/shipping-method.d.ts +595 -0
  146. package/dist/cjs/types/models/shipping-method.d.ts.map +1 -0
  147. package/dist/cjs/types/models/shipping-method.js +8 -0
  148. package/dist/cjs/types/models/shipping-method.js.map +1 -0
  149. package/dist/cjs/types/models/shopping-list.d.ts +941 -0
  150. package/dist/cjs/types/models/shopping-list.d.ts.map +1 -0
  151. package/dist/cjs/types/models/shopping-list.js +8 -0
  152. package/dist/cjs/types/models/shopping-list.js.map +1 -0
  153. package/dist/cjs/types/models/staged-quote.d.ts +345 -0
  154. package/dist/cjs/types/models/staged-quote.d.ts.map +1 -0
  155. package/dist/cjs/types/models/staged-quote.js +8 -0
  156. package/dist/cjs/types/models/staged-quote.js.map +1 -0
  157. package/dist/cjs/types/models/standalone-price.d.ts +546 -0
  158. package/dist/cjs/types/models/standalone-price.d.ts.map +1 -0
  159. package/dist/cjs/types/models/standalone-price.js +8 -0
  160. package/dist/cjs/types/models/standalone-price.js.map +1 -0
  161. package/dist/cjs/types/models/state.d.ts +342 -0
  162. package/dist/cjs/types/models/state.d.ts.map +1 -0
  163. package/dist/cjs/types/models/state.js +8 -0
  164. package/dist/cjs/types/models/state.js.map +1 -0
  165. package/dist/cjs/types/models/store-country.d.ts +14 -0
  166. package/dist/cjs/types/models/store-country.d.ts.map +1 -0
  167. package/dist/cjs/types/models/store-country.js +8 -0
  168. package/dist/cjs/types/models/store-country.js.map +1 -0
  169. package/dist/cjs/types/models/store.d.ts +548 -0
  170. package/dist/cjs/types/models/store.d.ts.map +1 -0
  171. package/dist/cjs/types/models/store.js +8 -0
  172. package/dist/cjs/types/models/store.js.map +1 -0
  173. package/dist/cjs/types/models/subscription.d.ts +772 -0
  174. package/dist/cjs/types/models/subscription.d.ts.map +1 -0
  175. package/dist/cjs/types/models/subscription.js +8 -0
  176. package/dist/cjs/types/models/subscription.js.map +1 -0
  177. package/dist/cjs/types/models/tax-category.d.ts +379 -0
  178. package/dist/cjs/types/models/tax-category.d.ts.map +1 -0
  179. package/dist/cjs/types/models/tax-category.js +8 -0
  180. package/dist/cjs/types/models/tax-category.js.map +1 -0
  181. package/dist/cjs/types/models/type.d.ts +646 -0
  182. package/dist/cjs/types/models/type.d.ts.map +1 -0
  183. package/dist/cjs/types/models/type.js +8 -0
  184. package/dist/cjs/types/models/type.js.map +1 -0
  185. package/dist/cjs/types/models/warning.d.ts +24 -0
  186. package/dist/cjs/types/models/warning.d.ts.map +1 -0
  187. package/dist/cjs/types/models/warning.js +8 -0
  188. package/dist/cjs/types/models/warning.js.map +1 -0
  189. package/dist/cjs/types/models/zone.d.ts +235 -0
  190. package/dist/cjs/types/models/zone.d.ts.map +1 -0
  191. package/dist/cjs/types/models/zone.js +8 -0
  192. package/dist/cjs/types/models/zone.js.map +1 -0
  193. package/dist/cjs/types.d.ts +1 -1
  194. package/dist/cjs/types.d.ts.map +1 -1
  195. package/dist/cjs/types.js +15 -0
  196. package/dist/cjs/types.js.map +1 -1
  197. package/dist/mjs/types/models/approval-flow.d.ts +264 -0
  198. package/dist/mjs/types/models/approval-flow.d.ts.map +1 -0
  199. package/dist/mjs/types/models/approval-flow.js +7 -0
  200. package/dist/mjs/types/models/approval-flow.js.map +1 -0
  201. package/dist/mjs/types/models/approval-rule.d.ts +415 -0
  202. package/dist/mjs/types/models/approval-rule.d.ts.map +1 -0
  203. package/dist/mjs/types/models/approval-rule.js +7 -0
  204. package/dist/mjs/types/models/approval-rule.js.map +1 -0
  205. package/dist/mjs/types/models/associate-role.d.ts +319 -0
  206. package/dist/mjs/types/models/associate-role.d.ts.map +1 -0
  207. package/dist/mjs/types/models/associate-role.js +7 -0
  208. package/dist/mjs/types/models/associate-role.js.map +1 -0
  209. package/dist/mjs/types/models/attribute-group.d.ts +254 -0
  210. package/dist/mjs/types/models/attribute-group.d.ts.map +1 -0
  211. package/dist/mjs/types/models/attribute-group.js +7 -0
  212. package/dist/mjs/types/models/attribute-group.js.map +1 -0
  213. package/dist/mjs/types/models/business-unit.d.ts +1244 -0
  214. package/dist/mjs/types/models/business-unit.d.ts.map +1 -0
  215. package/dist/mjs/types/models/business-unit.js +7 -0
  216. package/dist/mjs/types/models/business-unit.js.map +1 -0
  217. package/dist/mjs/types/models/cart-discount.d.ts +848 -0
  218. package/dist/mjs/types/models/cart-discount.d.ts.map +1 -0
  219. package/dist/mjs/types/models/cart-discount.js +7 -0
  220. package/dist/mjs/types/models/cart-discount.js.map +1 -0
  221. package/dist/mjs/types/models/cart.d.ts +3593 -0
  222. package/dist/mjs/types/models/cart.d.ts.map +1 -0
  223. package/dist/mjs/types/models/cart.js +7 -0
  224. package/dist/mjs/types/models/cart.js.map +1 -0
  225. package/dist/mjs/types/models/category.d.ts +636 -0
  226. package/dist/mjs/types/models/category.d.ts.map +1 -0
  227. package/dist/mjs/types/models/category.js +7 -0
  228. package/dist/mjs/types/models/category.js.map +1 -0
  229. package/dist/mjs/types/models/channel.d.ts +380 -0
  230. package/dist/mjs/types/models/channel.d.ts.map +1 -0
  231. package/dist/mjs/types/models/channel.js +7 -0
  232. package/dist/mjs/types/models/channel.js.map +1 -0
  233. package/dist/mjs/types/models/common.d.ts +1163 -0
  234. package/dist/mjs/types/models/common.d.ts.map +1 -0
  235. package/dist/mjs/types/models/common.js +7 -0
  236. package/dist/mjs/types/models/common.js.map +1 -0
  237. package/dist/mjs/types/models/custom-object.d.ts +152 -0
  238. package/dist/mjs/types/models/custom-object.d.ts.map +1 -0
  239. package/dist/mjs/types/models/custom-object.js +7 -0
  240. package/dist/mjs/types/models/custom-object.js.map +1 -0
  241. package/dist/mjs/types/models/customer-group.d.ts +235 -0
  242. package/dist/mjs/types/models/customer-group.d.ts.map +1 -0
  243. package/dist/mjs/types/models/customer-group.js +7 -0
  244. package/dist/mjs/types/models/customer-group.js.map +1 -0
  245. package/dist/mjs/types/models/customer-search.d.ts +114 -0
  246. package/dist/mjs/types/models/customer-search.d.ts.map +1 -0
  247. package/dist/mjs/types/models/customer-search.js +7 -0
  248. package/dist/mjs/types/models/customer-search.js.map +1 -0
  249. package/dist/mjs/types/models/customer.d.ts +1270 -0
  250. package/dist/mjs/types/models/customer.d.ts.map +1 -0
  251. package/dist/mjs/types/models/customer.js +7 -0
  252. package/dist/mjs/types/models/customer.js.map +1 -0
  253. package/dist/mjs/types/models/discount-code.d.ts +473 -0
  254. package/dist/mjs/types/models/discount-code.d.ts.map +1 -0
  255. package/dist/mjs/types/models/discount-code.js +7 -0
  256. package/dist/mjs/types/models/discount-code.js.map +1 -0
  257. package/dist/mjs/types/models/error.d.ts +3330 -0
  258. package/dist/mjs/types/models/error.d.ts.map +1 -0
  259. package/dist/mjs/types/models/error.js +7 -0
  260. package/dist/mjs/types/models/error.js.map +1 -0
  261. package/dist/mjs/types/models/extension.d.ts +336 -0
  262. package/dist/mjs/types/models/extension.d.ts.map +1 -0
  263. package/dist/mjs/types/models/extension.js +7 -0
  264. package/dist/mjs/types/models/extension.js.map +1 -0
  265. package/dist/mjs/types/models/index.d.ts +48 -0
  266. package/dist/mjs/types/models/index.d.ts.map +1 -0
  267. package/dist/mjs/types/models/index.js +48 -0
  268. package/dist/mjs/types/models/index.js.map +1 -0
  269. package/dist/mjs/types/models/inventory.d.ts +330 -0
  270. package/dist/mjs/types/models/inventory.d.ts.map +1 -0
  271. package/dist/mjs/types/models/inventory.js +7 -0
  272. package/dist/mjs/types/models/inventory.js.map +1 -0
  273. package/dist/mjs/types/models/me.d.ts +2636 -0
  274. package/dist/mjs/types/models/me.d.ts.map +1 -0
  275. package/dist/mjs/types/models/me.js +7 -0
  276. package/dist/mjs/types/models/me.js.map +1 -0
  277. package/dist/mjs/types/models/message.d.ts +23707 -0
  278. package/dist/mjs/types/models/message.d.ts.map +1 -0
  279. package/dist/mjs/types/models/message.js +7 -0
  280. package/dist/mjs/types/models/message.js.map +1 -0
  281. package/dist/mjs/types/models/order-edit.d.ts +2725 -0
  282. package/dist/mjs/types/models/order-edit.d.ts.map +1 -0
  283. package/dist/mjs/types/models/order-edit.js +7 -0
  284. package/dist/mjs/types/models/order-edit.js.map +1 -0
  285. package/dist/mjs/types/models/order.d.ts +3187 -0
  286. package/dist/mjs/types/models/order.d.ts.map +1 -0
  287. package/dist/mjs/types/models/order.js +7 -0
  288. package/dist/mjs/types/models/order.js.map +1 -0
  289. package/dist/mjs/types/models/payment.d.ts +680 -0
  290. package/dist/mjs/types/models/payment.d.ts.map +1 -0
  291. package/dist/mjs/types/models/payment.js +7 -0
  292. package/dist/mjs/types/models/payment.js.map +1 -0
  293. package/dist/mjs/types/models/product-discount.d.ts +465 -0
  294. package/dist/mjs/types/models/product-discount.d.ts.map +1 -0
  295. package/dist/mjs/types/models/product-discount.js +7 -0
  296. package/dist/mjs/types/models/product-discount.js.map +1 -0
  297. package/dist/mjs/types/models/product-search.d.ts +437 -0
  298. package/dist/mjs/types/models/product-search.d.ts.map +1 -0
  299. package/dist/mjs/types/models/product-search.js +7 -0
  300. package/dist/mjs/types/models/product-search.js.map +1 -0
  301. package/dist/mjs/types/models/product-selection.d.ts +579 -0
  302. package/dist/mjs/types/models/product-selection.d.ts.map +1 -0
  303. package/dist/mjs/types/models/product-selection.js +7 -0
  304. package/dist/mjs/types/models/product-selection.js.map +1 -0
  305. package/dist/mjs/types/models/product-tailoring.d.ts +1368 -0
  306. package/dist/mjs/types/models/product-tailoring.d.ts.map +1 -0
  307. package/dist/mjs/types/models/product-tailoring.js +7 -0
  308. package/dist/mjs/types/models/product-tailoring.js.map +1 -0
  309. package/dist/mjs/types/models/product-type.d.ts +775 -0
  310. package/dist/mjs/types/models/product-type.d.ts.map +1 -0
  311. package/dist/mjs/types/models/product-type.js +7 -0
  312. package/dist/mjs/types/models/product-type.js.map +1 -0
  313. package/dist/mjs/types/models/product.d.ts +2314 -0
  314. package/dist/mjs/types/models/product.d.ts.map +1 -0
  315. package/dist/mjs/types/models/product.js +7 -0
  316. package/dist/mjs/types/models/product.js.map +1 -0
  317. package/dist/mjs/types/models/project.d.ts +418 -0
  318. package/dist/mjs/types/models/project.d.ts.map +1 -0
  319. package/dist/mjs/types/models/project.js +7 -0
  320. package/dist/mjs/types/models/project.js.map +1 -0
  321. package/dist/mjs/types/models/quote-request.d.ts +452 -0
  322. package/dist/mjs/types/models/quote-request.d.ts.map +1 -0
  323. package/dist/mjs/types/models/quote-request.js +7 -0
  324. package/dist/mjs/types/models/quote-request.js.map +1 -0
  325. package/dist/mjs/types/models/quote.d.ts +473 -0
  326. package/dist/mjs/types/models/quote.d.ts.map +1 -0
  327. package/dist/mjs/types/models/quote.js +7 -0
  328. package/dist/mjs/types/models/quote.js.map +1 -0
  329. package/dist/mjs/types/models/review.d.ts +435 -0
  330. package/dist/mjs/types/models/review.d.ts.map +1 -0
  331. package/dist/mjs/types/models/review.js +7 -0
  332. package/dist/mjs/types/models/review.js.map +1 -0
  333. package/dist/mjs/types/models/scalar-types.d.ts +10 -0
  334. package/dist/mjs/types/models/scalar-types.d.ts.map +1 -0
  335. package/dist/mjs/types/models/scalar-types.js +7 -0
  336. package/dist/mjs/types/models/scalar-types.js.map +1 -0
  337. package/dist/mjs/types/models/search.d.ts +334 -0
  338. package/dist/mjs/types/models/search.d.ts.map +1 -0
  339. package/dist/mjs/types/models/search.js +7 -0
  340. package/dist/mjs/types/models/search.js.map +1 -0
  341. package/dist/mjs/types/models/shipping-method.d.ts +595 -0
  342. package/dist/mjs/types/models/shipping-method.d.ts.map +1 -0
  343. package/dist/mjs/types/models/shipping-method.js +7 -0
  344. package/dist/mjs/types/models/shipping-method.js.map +1 -0
  345. package/dist/mjs/types/models/shopping-list.d.ts +941 -0
  346. package/dist/mjs/types/models/shopping-list.d.ts.map +1 -0
  347. package/dist/mjs/types/models/shopping-list.js +7 -0
  348. package/dist/mjs/types/models/shopping-list.js.map +1 -0
  349. package/dist/mjs/types/models/staged-quote.d.ts +345 -0
  350. package/dist/mjs/types/models/staged-quote.d.ts.map +1 -0
  351. package/dist/mjs/types/models/staged-quote.js +7 -0
  352. package/dist/mjs/types/models/staged-quote.js.map +1 -0
  353. package/dist/mjs/types/models/standalone-price.d.ts +546 -0
  354. package/dist/mjs/types/models/standalone-price.d.ts.map +1 -0
  355. package/dist/mjs/types/models/standalone-price.js +7 -0
  356. package/dist/mjs/types/models/standalone-price.js.map +1 -0
  357. package/dist/mjs/types/models/state.d.ts +342 -0
  358. package/dist/mjs/types/models/state.d.ts.map +1 -0
  359. package/dist/mjs/types/models/state.js +7 -0
  360. package/dist/mjs/types/models/state.js.map +1 -0
  361. package/dist/mjs/types/models/store-country.d.ts +14 -0
  362. package/dist/mjs/types/models/store-country.d.ts.map +1 -0
  363. package/dist/mjs/types/models/store-country.js +7 -0
  364. package/dist/mjs/types/models/store-country.js.map +1 -0
  365. package/dist/mjs/types/models/store.d.ts +548 -0
  366. package/dist/mjs/types/models/store.d.ts.map +1 -0
  367. package/dist/mjs/types/models/store.js +7 -0
  368. package/dist/mjs/types/models/store.js.map +1 -0
  369. package/dist/mjs/types/models/subscription.d.ts +772 -0
  370. package/dist/mjs/types/models/subscription.d.ts.map +1 -0
  371. package/dist/mjs/types/models/subscription.js +7 -0
  372. package/dist/mjs/types/models/subscription.js.map +1 -0
  373. package/dist/mjs/types/models/tax-category.d.ts +379 -0
  374. package/dist/mjs/types/models/tax-category.d.ts.map +1 -0
  375. package/dist/mjs/types/models/tax-category.js +7 -0
  376. package/dist/mjs/types/models/tax-category.js.map +1 -0
  377. package/dist/mjs/types/models/type.d.ts +646 -0
  378. package/dist/mjs/types/models/type.d.ts.map +1 -0
  379. package/dist/mjs/types/models/type.js +7 -0
  380. package/dist/mjs/types/models/type.js.map +1 -0
  381. package/dist/mjs/types/models/warning.d.ts +24 -0
  382. package/dist/mjs/types/models/warning.d.ts.map +1 -0
  383. package/dist/mjs/types/models/warning.js +7 -0
  384. package/dist/mjs/types/models/warning.js.map +1 -0
  385. package/dist/mjs/types/models/zone.d.ts +235 -0
  386. package/dist/mjs/types/models/zone.d.ts.map +1 -0
  387. package/dist/mjs/types/models/zone.js +7 -0
  388. package/dist/mjs/types/models/zone.js.map +1 -0
  389. package/dist/mjs/types.d.ts +1 -1
  390. package/dist/mjs/types.d.ts.map +1 -1
  391. package/dist/mjs/types.js +1 -0
  392. package/dist/mjs/types.js.map +1 -1
  393. package/package.json +2 -1
@@ -0,0 +1,941 @@
1
+ /**
2
+ * Code generated by [commercetools RMF-Codegen](https://github.com/commercetools/rmf-codegen). DO NOT EDIT.
3
+ * Please don't change this file manually but run `rmf-codegen generate raml_file_path -o output_path -t typescript_client` to update it.
4
+ * For more information about the commercetools platform APIs, visit https://docs.commercetools.com/.
5
+ */
6
+ import { BaseResource, CreatedBy, LastModifiedBy, LocalizedString } from './common.js';
7
+ import { CustomerReference, CustomerResourceIdentifier } from './customer.js';
8
+ import { ProductVariant } from './product.js';
9
+ import { ProductTypeReference } from './product-type.js';
10
+ import { StoreKeyReference, StoreResourceIdentifier } from './store.js';
11
+ import { CustomFields, CustomFieldsDraft, FieldContainer, TypeResourceIdentifier } from './type.js';
12
+ export interface ShoppingList extends BaseResource {
13
+ /**
14
+ * Unique identifier of the ShoppingList.
15
+ *
16
+ */
17
+ readonly id: string;
18
+ /**
19
+ * Current version of the ShoppingList.
20
+ *
21
+ */
22
+ readonly version: number;
23
+ /**
24
+ * Name of the ShoppingList.
25
+ *
26
+ *
27
+ */
28
+ readonly name: LocalizedString;
29
+ /**
30
+ * User-defined unique identifier of the ShoppingList.
31
+ *
32
+ */
33
+ readonly key?: string;
34
+ /**
35
+ * Reference to a [Customer](ctp:api:type:Customer) associated with the ShoppingList.
36
+ *
37
+ *
38
+ */
39
+ readonly customer?: CustomerReference;
40
+ /**
41
+ * Human-readable identifiers usually used as deep-link URL to the related ShoppingList.
42
+ * Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages.
43
+ * The slug must match the pattern `[a-zA-Z0-9_-]{2,256}`. For [good performance](/predicates/query#performance-considerations), indexes are provided for the first 15 `languages` set on the [Project](ctp:api:type:Project).
44
+ *
45
+ */
46
+ readonly slug?: LocalizedString;
47
+ /**
48
+ * Description of the ShoppingList.
49
+ *
50
+ *
51
+ */
52
+ readonly description?: LocalizedString;
53
+ /**
54
+ * Line Items (containing Products) of the ShoppingList.
55
+ *
56
+ *
57
+ */
58
+ readonly lineItems: ShoppingListLineItem[];
59
+ /**
60
+ * Line Items (containing text values) of the ShoppingList.
61
+ *
62
+ *
63
+ */
64
+ readonly textLineItems: TextLineItem[];
65
+ /**
66
+ * Number of days after which the ShoppingList will be automatically deleted if it has not been modified.
67
+ *
68
+ */
69
+ readonly deleteDaysAfterLastModification?: number;
70
+ /**
71
+ * Identifies ShoppingLists belonging to an [anonymous session](ctp:api:type:AnonymousSession).
72
+ *
73
+ */
74
+ readonly anonymousId?: string;
75
+ /**
76
+ * Store to which the ShoppingList is assigned.
77
+ *
78
+ *
79
+ */
80
+ readonly store?: StoreKeyReference;
81
+ /**
82
+ * Custom Fields defined for the ShoppingList.
83
+ *
84
+ *
85
+ */
86
+ readonly custom?: CustomFields;
87
+ /**
88
+ * Date and time (UTC) the ShoppingList was initially created.
89
+ *
90
+ *
91
+ */
92
+ readonly createdAt: string;
93
+ /**
94
+ * Date and time (UTC) the ShoppingList was last updated.
95
+ *
96
+ *
97
+ */
98
+ readonly lastModifiedAt: string;
99
+ /**
100
+ * IDs and references that last modified the ShoppingList.
101
+ *
102
+ *
103
+ */
104
+ readonly lastModifiedBy?: LastModifiedBy;
105
+ /**
106
+ * IDs and references that created the ShoppingList.
107
+ *
108
+ *
109
+ */
110
+ readonly createdBy?: CreatedBy;
111
+ }
112
+ export interface ShoppingListDraft {
113
+ /**
114
+ * Name of the ShoppingList.
115
+ *
116
+ *
117
+ */
118
+ readonly name: LocalizedString;
119
+ /**
120
+ * Human-readable identifiers usually used as deep-link URL to the related ShoppingList.
121
+ * Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages.
122
+ * The slug must match the pattern `[a-zA-Z0-9_-]{2,256}`.
123
+ *
124
+ */
125
+ readonly slug?: LocalizedString;
126
+ /**
127
+ * The [Customer](ctp:api:type:Customer) the ShoppingList should be associated to.
128
+ *
129
+ *
130
+ */
131
+ readonly customer?: CustomerResourceIdentifier;
132
+ /**
133
+ * User-defined unique identifier for the ShoppingList.
134
+ *
135
+ *
136
+ */
137
+ readonly key?: string;
138
+ /**
139
+ * Description of the ShoppingList.
140
+ *
141
+ *
142
+ */
143
+ readonly description?: LocalizedString;
144
+ /**
145
+ * Identifies ShoppingLists belonging to an [anonymous session](ctp:api:type:AnonymousSession).
146
+ *
147
+ */
148
+ readonly anonymousId?: string;
149
+ /**
150
+ * Number of days after which the ShoppingList will be automatically deleted if it has not been modified. If not set, the [default value](ctp:api:type:ShoppingListsConfiguration) configured in the [Project](ctp:api:type:Project) is used.
151
+ *
152
+ *
153
+ */
154
+ readonly deleteDaysAfterLastModification?: number;
155
+ /**
156
+ * Line Items (containing Products) to add to the ShoppingList.
157
+ *
158
+ *
159
+ */
160
+ readonly lineItems?: ShoppingListLineItemDraft[];
161
+ /**
162
+ * Line Items (containing text values) to add to the ShoppingList.
163
+ *
164
+ *
165
+ */
166
+ readonly textLineItems?: TextLineItemDraft[];
167
+ /**
168
+ * Assigns the new ShoppingList to the [Store](ctp:api:type:Store).
169
+ *
170
+ *
171
+ */
172
+ readonly store?: StoreResourceIdentifier;
173
+ /**
174
+ * Custom Fields defined for the ShoppingList.
175
+ *
176
+ */
177
+ readonly custom?: CustomFieldsDraft;
178
+ }
179
+ /**
180
+ * ShoppingListLineItems are Line Items that contain references to [ProductVariants](ctp:api:type:ProductVariant) in a [Product](ctp:api:type:Product).
181
+ *
182
+ * In addition to standard [Reference Expansion](/general-concepts#reference-expansion), a ShoppingListLineItem offers expansion on `productSlug` and `variant`, defined with the query parameter `expand`.
183
+ *
184
+ */
185
+ export interface ShoppingListLineItem {
186
+ /**
187
+ * Date and time (UTC) the ShoppingListLineItem was added to the ShoppingList.
188
+ *
189
+ *
190
+ */
191
+ readonly addedAt: string;
192
+ /**
193
+ * Custom Fields of the ShoppingListLineItem.
194
+ *
195
+ *
196
+ */
197
+ readonly custom?: CustomFields;
198
+ /**
199
+ * If the Product or Product Variant is deleted, `deactivatedAt` is the date and time (UTC) of deletion.
200
+ *
201
+ * This data is updated in an [eventual consistent manner](/general-concepts#eventual-consistency) when the Product Variant cannot be ordered anymore.
202
+ *
203
+ *
204
+ */
205
+ readonly deactivatedAt?: string;
206
+ /**
207
+ * Unique identifier of the ShoppingListLineItem.
208
+ *
209
+ */
210
+ readonly id: string;
211
+ /**
212
+ * User-defined identifier of the ShoppingListLineItem. It is unique per [ShoppingList](ctp:api:type:ShoppingList).
213
+ *
214
+ */
215
+ readonly key?: string;
216
+ /**
217
+ * Name of the Product.
218
+ *
219
+ * This data is updated in an [eventual consistent manner](/general-concepts#eventual-consistency) when the Product's name changes.
220
+ *
221
+ *
222
+ */
223
+ readonly name: LocalizedString;
224
+ /**
225
+ * Unique identifier of a [Product](ctp:api:type:Product).
226
+ *
227
+ *
228
+ */
229
+ readonly productId: string;
230
+ /**
231
+ * The Product Type defining the Attributes of the [Product](ctp:api:type:Product).
232
+ *
233
+ *
234
+ */
235
+ readonly productType: ProductTypeReference;
236
+ /**
237
+ * Number of Products in the ShoppingListLineItem.
238
+ *
239
+ *
240
+ */
241
+ readonly quantity: number;
242
+ /**
243
+ * `id` of the [ProductVariant](ctp:api:type:ProductVariant) the ShoppingListLineItem refers to. If not set, the ShoppingListLineItem refers to the Master Variant.
244
+ *
245
+ *
246
+ */
247
+ readonly variantId?: number;
248
+ /**
249
+ * Data of the [ProductVariant](ctp:api:type:ProductVariant).
250
+ *
251
+ * Returned when expanded using `expand=lineItems[*].variant`. You cannot expand only a single element of the array.
252
+ *
253
+ *
254
+ */
255
+ readonly variant?: ProductVariant;
256
+ /**
257
+ * Slug of the current [ProductData](ctp:api:type:ProductData).
258
+ *
259
+ * Returned when expanded using `expand=lineItems[*].productSlug`. You cannot expand only a single element of the array.
260
+ *
261
+ *
262
+ */
263
+ readonly productSlug?: LocalizedString;
264
+ }
265
+ /**
266
+ * The [ProductVariant](ctp:api:type:ProductVariant) to be included in the ShoppingListLineItem must be specified using the `productID` and `variantID`, or by the `sku`.
267
+ *
268
+ */
269
+ export interface ShoppingListLineItemDraft {
270
+ /**
271
+ * User-defined identifier of the ShoppingListLineItem. Must be unique per [ShoppingList](ctp:api:type:ShoppingList).
272
+ *
273
+ */
274
+ readonly key?: string;
275
+ /**
276
+ * Unique identifier of a [Product](ctp:api:type:Product).
277
+ *
278
+ *
279
+ */
280
+ readonly productId?: string;
281
+ /**
282
+ * `id` of the [ProductVariant](ctp:api:type:ProductVariant). If not set, the ShoppingListLineItem refers to the Master Variant.
283
+ *
284
+ *
285
+ */
286
+ readonly variantId?: number;
287
+ /**
288
+ * `sku` of the [ProductVariant](ctp:api:type:ProductVariant).
289
+ *
290
+ *
291
+ */
292
+ readonly sku?: string;
293
+ /**
294
+ * Date and time the ShoppingListLineItem is added to the [ShoppingList](ctp:api:type:ShoppingList). If not set, the current date and time (UTC) is used.
295
+ *
296
+ *
297
+ */
298
+ readonly addedAt?: string;
299
+ /**
300
+ * Custom Fields of the ShoppingListLineItem.
301
+ *
302
+ *
303
+ */
304
+ readonly custom?: CustomFieldsDraft;
305
+ /**
306
+ * Number of Products in the ShoppingListLineItem.
307
+ *
308
+ *
309
+ */
310
+ readonly quantity?: number;
311
+ }
312
+ export interface ShoppingListPagedQueryResponse {
313
+ /**
314
+ * Number of [results requested](/../api/general-concepts#limit).
315
+ *
316
+ *
317
+ */
318
+ readonly limit: number;
319
+ /**
320
+ * Actual number of results returned.
321
+ *
322
+ *
323
+ */
324
+ readonly count: number;
325
+ /**
326
+ * Total number of results matching the query.
327
+ * This number is an estimation that is not [strongly consistent](/../api/general-concepts#strong-consistency).
328
+ * This field is returned by default.
329
+ * For improved performance, calculating this field can be deactivated by using the query parameter `withTotal=false`.
330
+ * When the results are filtered with a [Query Predicate](/../api/predicates/query), `total` is subject to a [limit](/../api/limits#queries).
331
+ *
332
+ *
333
+ */
334
+ readonly total?: number;
335
+ /**
336
+ * Number of [elements skipped](/../api/general-concepts#offset).
337
+ *
338
+ *
339
+ */
340
+ readonly offset: number;
341
+ /**
342
+ * [ShoppingLists](ctp:api:type:ShoppingList) matching the query.
343
+ *
344
+ *
345
+ */
346
+ readonly results: ShoppingList[];
347
+ }
348
+ /**
349
+ * [Reference](ctp:api:type:Reference) to a [ShoppingList](ctp:api:type:ShoppingList).
350
+ *
351
+ */
352
+ export interface ShoppingListReference {
353
+ readonly typeId: 'shopping-list';
354
+ /**
355
+ * Unique identifier of the referenced [ShoppingList](ctp:api:type:ShoppingList).
356
+ *
357
+ *
358
+ */
359
+ readonly id: string;
360
+ /**
361
+ * Contains the representation of the expanded ShoppingList. Only present in responses to requests with [Reference Expansion](/../api/general-concepts#reference-expansion) for ShoppingLists.
362
+ *
363
+ *
364
+ */
365
+ readonly obj?: ShoppingList;
366
+ }
367
+ /**
368
+ * [ResourceIdentifier](ctp:api:type:ResourceIdentifier) to a [ShoppingList](ctp:api:type:ShoppingList). Either `id` or `key` is required. If both are set, an [InvalidJsonInput](/../api/errors#invalidjsoninput) error is returned.
369
+ *
370
+ */
371
+ export interface ShoppingListResourceIdentifier {
372
+ readonly typeId: 'shopping-list';
373
+ /**
374
+ * Unique identifier of the referenced [ShoppingList](ctp:api:type:ShoppingList). Required if `key` is absent.
375
+ *
376
+ *
377
+ */
378
+ readonly id?: string;
379
+ /**
380
+ * User-defined unique identifier of the referenced [ShoppingList](ctp:api:type:ShoppingList). Required if `id` is absent.
381
+ *
382
+ *
383
+ */
384
+ readonly key?: string;
385
+ }
386
+ export interface ShoppingListUpdate {
387
+ /**
388
+ * Expected version of the ShoppingList on which the changes should be applied.
389
+ * If the expected version does not match the actual version, a [ConcurrentModification](ctp:api:type:ConcurrentModificationError) error will be returned.
390
+ *
391
+ *
392
+ */
393
+ readonly version: number;
394
+ /**
395
+ * List of update actions to be performed on the ShoppingList.
396
+ *
397
+ *
398
+ */
399
+ readonly actions: ShoppingListUpdateAction[];
400
+ }
401
+ export type ShoppingListUpdateAction = ShoppingListAddLineItemAction | ShoppingListAddTextLineItemAction | ShoppingListChangeLineItemQuantityAction | ShoppingListChangeLineItemsOrderAction | ShoppingListChangeNameAction | ShoppingListChangeTextLineItemNameAction | ShoppingListChangeTextLineItemQuantityAction | ShoppingListChangeTextLineItemsOrderAction | ShoppingListRemoveLineItemAction | ShoppingListRemoveTextLineItemAction | ShoppingListSetAnonymousIdAction | ShoppingListSetCustomFieldAction | ShoppingListSetCustomTypeAction | ShoppingListSetCustomerAction | ShoppingListSetDeleteDaysAfterLastModificationAction | ShoppingListSetDescriptionAction | ShoppingListSetKeyAction | ShoppingListSetLineItemCustomFieldAction | ShoppingListSetLineItemCustomTypeAction | ShoppingListSetSlugAction | ShoppingListSetStoreAction | ShoppingListSetTextLineItemCustomFieldAction | ShoppingListSetTextLineItemCustomTypeAction | ShoppingListSetTextLineItemDescriptionAction;
402
+ /**
403
+ * TextLineItems are Line Items that use text values instead of references to Products.
404
+ *
405
+ */
406
+ export interface TextLineItem {
407
+ /**
408
+ * Date and time (UTC) the TextLineItem was added to the [ShoppingList](ctp:api:type:ShoppingList).
409
+ *
410
+ *
411
+ */
412
+ readonly addedAt: string;
413
+ /**
414
+ * Custom Fields of the TextLineItem.
415
+ *
416
+ *
417
+ */
418
+ readonly custom?: CustomFields;
419
+ /**
420
+ * Description of the TextLineItem.
421
+ *
422
+ *
423
+ */
424
+ readonly description?: LocalizedString;
425
+ /**
426
+ * Unique identifier of the TextLineItem.
427
+ *
428
+ */
429
+ readonly id: string;
430
+ /**
431
+ * User-defined identifier of the TextLineItem. It is unique per [ShoppingList](ctp:api:type:ShoppingList).
432
+ *
433
+ */
434
+ readonly key?: string;
435
+ /**
436
+ * Name of the TextLineItem.
437
+ *
438
+ *
439
+ */
440
+ readonly name: LocalizedString;
441
+ /**
442
+ * Number of entries in the TextLineItem.
443
+ *
444
+ *
445
+ */
446
+ readonly quantity: number;
447
+ }
448
+ export interface TextLineItemDraft {
449
+ /**
450
+ * User-defined unique identifier of the TextLineItem. Must be unique per [ShoppingList](ctp:api:type:ShoppingList).
451
+ *
452
+ */
453
+ readonly key?: string;
454
+ /**
455
+ * Date and time the TextLineItem is added to the [ShoppingList](ctp:api:type:ShoppingList). If not set, the current date and time (UTC) is used.
456
+ *
457
+ *
458
+ */
459
+ readonly addedAt?: string;
460
+ /**
461
+ * Custom Fields for the TextLineItem.
462
+ *
463
+ *
464
+ */
465
+ readonly custom?: CustomFieldsDraft;
466
+ /**
467
+ * Description of the TextLineItem.
468
+ *
469
+ *
470
+ */
471
+ readonly description?: LocalizedString;
472
+ /**
473
+ * Name of the TextLineItem.
474
+ *
475
+ *
476
+ */
477
+ readonly name: LocalizedString;
478
+ /**
479
+ * Number of entries in the TextLineItem.
480
+ *
481
+ *
482
+ */
483
+ readonly quantity?: number;
484
+ }
485
+ /**
486
+ * The [ProductVariant](ctp:api:type:ProductVariant) to be included in the ShoppingListLineItem must be specified using the `productID` and `variantID`, or by the `sku`.
487
+ * If the ShoppingList already contains a ShoppingListLineItem for the same Product Variant with the same Custom Fields, then only the quantity of the existing ShoppingListLineItem is increased.
488
+ * A ShoppingListLineItem with an empty `variantId` is not considered the same as a ShoppingListLineItem with a `variantId` currently referring to the Master Variant.
489
+ *
490
+ */
491
+ export interface ShoppingListAddLineItemAction {
492
+ readonly action: 'addLineItem';
493
+ /**
494
+ * User-defined identifier of the ShoppingListLineItem. Must be unique per [ShoppingList](ctp:api:type:ShoppingList).
495
+ *
496
+ *
497
+ */
498
+ readonly key?: string;
499
+ /**
500
+ * `sku` of the [ProductVariant](ctp:api:type:ProductVariant).
501
+ *
502
+ *
503
+ */
504
+ readonly sku?: string;
505
+ /**
506
+ * Unique identifier of a [Product](ctp:api:type:Product).
507
+ *
508
+ *
509
+ */
510
+ readonly productId?: string;
511
+ /**
512
+ * `id` of the [ProductVariant](ctp:api:type:ProductVariant). If not set, the ShoppingListLineItem refers to the Master Variant.
513
+ *
514
+ *
515
+ */
516
+ readonly variantId?: number;
517
+ /**
518
+ * Number of Products in the ShoppingListLineItem.
519
+ *
520
+ *
521
+ */
522
+ readonly quantity?: number;
523
+ /**
524
+ * Date and time the ShoppingListLineItem is added to the [ShoppingList](ctp:api:type:ShoppingList). If not set, the current date and time (UTC) is used.
525
+ *
526
+ *
527
+ */
528
+ readonly addedAt?: string;
529
+ /**
530
+ * Custom Fields defined for the ShoppingListLineItem.
531
+ *
532
+ *
533
+ */
534
+ readonly custom?: CustomFieldsDraft;
535
+ }
536
+ export interface ShoppingListAddTextLineItemAction {
537
+ readonly action: 'addTextLineItem';
538
+ /**
539
+ * Name of the TextLineItem.
540
+ *
541
+ *
542
+ */
543
+ readonly name: LocalizedString;
544
+ /**
545
+ * User-defined identifier of the TextLineItem. Must be unique per [ShoppingList](ctp:api:type:ShoppingList).
546
+ *
547
+ *
548
+ */
549
+ readonly key?: string;
550
+ /**
551
+ * Description of the TextLineItem.
552
+ *
553
+ *
554
+ */
555
+ readonly description?: LocalizedString;
556
+ /**
557
+ * Number of entries in the TextLineItem.
558
+ *
559
+ *
560
+ */
561
+ readonly quantity?: number;
562
+ /**
563
+ * Date and time the TextLineItem is added to the [ShoppingList](ctp:api:type:ShoppingList). If not set, the current date and time (UTC) is used.
564
+ *
565
+ *
566
+ */
567
+ readonly addedAt?: string;
568
+ /**
569
+ * Custom Fields defined for the TextLineItem.
570
+ *
571
+ *
572
+ */
573
+ readonly custom?: CustomFieldsDraft;
574
+ }
575
+ export interface ShoppingListChangeLineItemQuantityAction {
576
+ readonly action: 'changeLineItemQuantity';
577
+ /**
578
+ * The `id` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
579
+ *
580
+ *
581
+ */
582
+ readonly lineItemId?: string;
583
+ /**
584
+ * The `key` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
585
+ *
586
+ *
587
+ */
588
+ readonly lineItemKey?: string;
589
+ /**
590
+ * New value to set. If `0`, the ShoppingListLineItem is removed from the ShoppingList.
591
+ *
592
+ *
593
+ */
594
+ readonly quantity: number;
595
+ }
596
+ export interface ShoppingListChangeLineItemsOrderAction {
597
+ readonly action: 'changeLineItemsOrder';
598
+ /**
599
+ * All existing ShoppingListLineItem `id`s in the desired new order.
600
+ *
601
+ *
602
+ */
603
+ readonly lineItemOrder: string[];
604
+ }
605
+ export interface ShoppingListChangeNameAction {
606
+ readonly action: 'changeName';
607
+ /**
608
+ * New value to set. Must not be empty.
609
+ *
610
+ *
611
+ */
612
+ readonly name: LocalizedString;
613
+ }
614
+ export interface ShoppingListChangeTextLineItemNameAction {
615
+ readonly action: 'changeTextLineItemName';
616
+ /**
617
+ * The `id` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
618
+ *
619
+ *
620
+ */
621
+ readonly textLineItemId?: string;
622
+ /**
623
+ * The `key` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
624
+ *
625
+ *
626
+ */
627
+ readonly textLineItemKey?: string;
628
+ /**
629
+ * New value to set. Must not be empty.
630
+ *
631
+ *
632
+ */
633
+ readonly name: LocalizedString;
634
+ }
635
+ export interface ShoppingListChangeTextLineItemQuantityAction {
636
+ readonly action: 'changeTextLineItemQuantity';
637
+ /**
638
+ * The `id` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
639
+ *
640
+ *
641
+ */
642
+ readonly textLineItemId?: string;
643
+ /**
644
+ * The `key` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
645
+ *
646
+ *
647
+ */
648
+ readonly textLineItemKey?: string;
649
+ /**
650
+ * New value to set. If `0`, the TextLineItem is removed from the ShoppingList.
651
+ *
652
+ *
653
+ */
654
+ readonly quantity: number;
655
+ }
656
+ export interface ShoppingListChangeTextLineItemsOrderAction {
657
+ readonly action: 'changeTextLineItemsOrder';
658
+ /**
659
+ * Must contain all existing [TextLineItem](ctp:api:type:TextLineItem) `id`s in the desired new order.
660
+ *
661
+ *
662
+ */
663
+ readonly textLineItemOrder: string[];
664
+ }
665
+ export interface ShoppingListRemoveLineItemAction {
666
+ readonly action: 'removeLineItem';
667
+ /**
668
+ * The `id` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
669
+ *
670
+ *
671
+ */
672
+ readonly lineItemId?: string;
673
+ /**
674
+ * The `key` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
675
+ *
676
+ *
677
+ */
678
+ readonly lineItemKey?: string;
679
+ /**
680
+ * Amount to remove from the `quantity` of the ShoppingListLineItem. If not set, the ShoppingListLineItem is removed from the ShoppingList. If this value matches or exceeds the current `quantity` of the ShoppingListLineItem, the ShoppingListLineItem is removed from the ShoppingList.
681
+ *
682
+ *
683
+ */
684
+ readonly quantity?: number;
685
+ }
686
+ export interface ShoppingListRemoveTextLineItemAction {
687
+ readonly action: 'removeTextLineItem';
688
+ /**
689
+ * The `id` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
690
+ *
691
+ *
692
+ */
693
+ readonly textLineItemId?: string;
694
+ /**
695
+ * The `key` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
696
+ *
697
+ *
698
+ */
699
+ readonly textLineItemKey?: string;
700
+ /**
701
+ * Amount to remove from the `quantity` of the TextLineItem. If not set, the TextLineItem is removed from the ShoppingList. If this value matches or exceeds the current `quantity` of the TextLineItem, the TextLineItem is removed from the ShoppingList.
702
+ *
703
+ *
704
+ */
705
+ readonly quantity?: number;
706
+ }
707
+ /**
708
+ * If the Shopping List is already associated with a Customer, an [InvalidOperation](ctp:api:type:InvalidOperationError) error is returned.
709
+ *
710
+ */
711
+ export interface ShoppingListSetAnonymousIdAction {
712
+ readonly action: 'setAnonymousId';
713
+ /**
714
+ * Value to set. If empty, any existing value will be removed.
715
+ *
716
+ *
717
+ */
718
+ readonly anonymousId?: string;
719
+ }
720
+ export interface ShoppingListSetCustomFieldAction {
721
+ readonly action: 'setCustomField';
722
+ /**
723
+ * Name of the [Custom Field](/../api/projects/custom-fields).
724
+ *
725
+ *
726
+ */
727
+ readonly name: string;
728
+ /**
729
+ * If `value` is absent or `null`, this field will be removed if it exists.
730
+ * Removing a field that does not exist returns an [InvalidOperation](ctp:api:type:InvalidOperationError) error.
731
+ * If `value` is provided, it is set for the field defined by `name`.
732
+ *
733
+ *
734
+ */
735
+ readonly value?: any;
736
+ }
737
+ export interface ShoppingListSetCustomTypeAction {
738
+ readonly action: 'setCustomType';
739
+ /**
740
+ * Defines the [Type](ctp:api:type:Type) that extends the ShoppingList with [Custom Fields](/../api/projects/custom-fields).
741
+ * If absent, any existing Type and Custom Fields are removed from the ShoppingList.
742
+ *
743
+ *
744
+ */
745
+ readonly type?: TypeResourceIdentifier;
746
+ /**
747
+ * Sets the [Custom Fields](/../api/projects/custom-fields) fields for the ShoppingList.
748
+ *
749
+ *
750
+ */
751
+ readonly fields?: FieldContainer;
752
+ }
753
+ export interface ShoppingListSetCustomerAction {
754
+ readonly action: 'setCustomer';
755
+ /**
756
+ * The [Customer](ctp:api:type:Customer) the ShoppingList should be associated to. If empty, any existing value will be removed.
757
+ *
758
+ *
759
+ */
760
+ readonly customer?: CustomerResourceIdentifier;
761
+ }
762
+ export interface ShoppingListSetDeleteDaysAfterLastModificationAction {
763
+ readonly action: 'setDeleteDaysAfterLastModification';
764
+ /**
765
+ * Value to set. If empty, any existing value will be removed.
766
+ *
767
+ *
768
+ */
769
+ readonly deleteDaysAfterLastModification?: number;
770
+ }
771
+ export interface ShoppingListSetDescriptionAction {
772
+ readonly action: 'setDescription';
773
+ /**
774
+ * Value to set. If empty, any existing value will be removed.
775
+ *
776
+ *
777
+ */
778
+ readonly description?: LocalizedString;
779
+ }
780
+ export interface ShoppingListSetKeyAction {
781
+ readonly action: 'setKey';
782
+ /**
783
+ * Value to set. If empty, any existing value will be removed.
784
+ *
785
+ */
786
+ readonly key?: string;
787
+ }
788
+ export interface ShoppingListSetLineItemCustomFieldAction {
789
+ readonly action: 'setLineItemCustomField';
790
+ /**
791
+ * The `id` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
792
+ *
793
+ *
794
+ */
795
+ readonly lineItemId?: string;
796
+ /**
797
+ * The `key` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
798
+ *
799
+ *
800
+ */
801
+ readonly lineItemKey?: string;
802
+ /**
803
+ * Name of the [Custom Field](/../api/projects/custom-fields).
804
+ *
805
+ *
806
+ */
807
+ readonly name: string;
808
+ /**
809
+ * If `value` is absent or `null`, this field will be removed if it exists.
810
+ * Removing a field that does not exist returns an [InvalidOperation](ctp:api:type:InvalidOperationError) error.
811
+ * If `value` is provided, it is set for the field defined by `name`.
812
+ *
813
+ *
814
+ */
815
+ readonly value?: any;
816
+ }
817
+ export interface ShoppingListSetLineItemCustomTypeAction {
818
+ readonly action: 'setLineItemCustomType';
819
+ /**
820
+ * The `id` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
821
+ *
822
+ *
823
+ */
824
+ readonly lineItemId?: string;
825
+ /**
826
+ * The `key` of the [ShoppingListLineItem](ctp:api:type:ShoppingListLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
827
+ *
828
+ *
829
+ */
830
+ readonly lineItemKey?: string;
831
+ /**
832
+ * Defines the [Type](ctp:api:type:Type) that extends the ShoppingListLineItem with [Custom Fields](/../api/projects/custom-fields).
833
+ * If absent, any existing Type and Custom Fields are removed from the ShoppingListLineItem.
834
+ *
835
+ *
836
+ */
837
+ readonly type?: TypeResourceIdentifier;
838
+ /**
839
+ * Sets the [Custom Fields](/../api/projects/custom-fields) fields for the ShoppingListLineItem.
840
+ *
841
+ *
842
+ */
843
+ readonly fields?: FieldContainer;
844
+ }
845
+ export interface ShoppingListSetSlugAction {
846
+ readonly action: 'setSlug';
847
+ /**
848
+ * Value to set. If empty, any existing value will be removed. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. Must match the pattern `^[A-Za-z0-9_-]{2,256}+$`
849
+ *
850
+ *
851
+ */
852
+ readonly slug?: LocalizedString;
853
+ }
854
+ export interface ShoppingListSetStoreAction {
855
+ readonly action: 'setStore';
856
+ /**
857
+ * The [Store](ctp:api:type:Store) the ShoppingList should be assigned to. If empty, any existing value will be removed.
858
+ *
859
+ *
860
+ */
861
+ readonly store?: StoreResourceIdentifier;
862
+ }
863
+ export interface ShoppingListSetTextLineItemCustomFieldAction {
864
+ readonly action: 'setTextLineItemCustomField';
865
+ /**
866
+ * The `id` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
867
+ *
868
+ *
869
+ */
870
+ readonly textLineItemId?: string;
871
+ /**
872
+ * The `key` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
873
+ *
874
+ *
875
+ */
876
+ readonly textLineItemKey?: string;
877
+ /**
878
+ * Name of the [Custom Field](/../api/projects/custom-fields).
879
+ *
880
+ *
881
+ */
882
+ readonly name: string;
883
+ /**
884
+ * If `value` is absent or `null`, this field will be removed if it exists.
885
+ * Removing a field that does not exist returns an [InvalidOperation](ctp:api:type:InvalidOperationError) error.
886
+ * If `value` is provided, it is set for the field defined by `name`.
887
+ *
888
+ *
889
+ */
890
+ readonly value?: any;
891
+ }
892
+ export interface ShoppingListSetTextLineItemCustomTypeAction {
893
+ readonly action: 'setTextLineItemCustomType';
894
+ /**
895
+ * The `id` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
896
+ *
897
+ *
898
+ */
899
+ readonly textLineItemId?: string;
900
+ /**
901
+ * The `key` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
902
+ *
903
+ *
904
+ */
905
+ readonly textLineItemKey?: string;
906
+ /**
907
+ * Defines the [Type](ctp:api:type:Type) that extends the TextLineItem with [Custom Fields](/../api/projects/custom-fields).
908
+ * If absent, any existing Type and Custom Fields are removed from the TextLineItem.
909
+ *
910
+ *
911
+ */
912
+ readonly type?: TypeResourceIdentifier;
913
+ /**
914
+ * Sets the [Custom Fields](/../api/projects/custom-fields) fields for the TextLineItem.
915
+ *
916
+ *
917
+ */
918
+ readonly fields?: FieldContainer;
919
+ }
920
+ export interface ShoppingListSetTextLineItemDescriptionAction {
921
+ readonly action: 'setTextLineItemDescription';
922
+ /**
923
+ * The `id` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
924
+ *
925
+ *
926
+ */
927
+ readonly textLineItemId?: string;
928
+ /**
929
+ * The `key` of the [TextLineItem](ctp:api:type:TextLineItem) to update. Either `lineItemId` or `lineItemKey` is required.
930
+ *
931
+ *
932
+ */
933
+ readonly textLineItemKey?: string;
934
+ /**
935
+ * Value to set. If empty, any existing value will be removed.
936
+ *
937
+ *
938
+ */
939
+ readonly description?: LocalizedString;
940
+ }
941
+ //# sourceMappingURL=shopping-list.d.ts.map