@acmekit/types 2.13.2 → 2.13.3

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 (1765) hide show
  1. package/dist/bundles.d.ts +0 -12
  2. package/dist/bundles.d.ts.map +1 -1
  3. package/dist/bundles.js +1 -13
  4. package/dist/bundles.js.map +1 -1
  5. package/dist/http/index.d.ts +0 -34
  6. package/dist/http/index.d.ts.map +1 -1
  7. package/dist/http/index.js +0 -34
  8. package/dist/http/index.js.map +1 -1
  9. package/dist/http/store/admin/entities.d.ts +0 -5
  10. package/dist/http/store/admin/entities.d.ts.map +1 -1
  11. package/dist/index.d.ts +1 -15
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1 -15
  14. package/dist/index.js.map +1 -1
  15. package/dist/totals/big-number.d.ts +19 -12
  16. package/dist/totals/big-number.d.ts.map +1 -1
  17. package/dist/totals/index.d.ts +0 -24
  18. package/dist/totals/index.d.ts.map +1 -1
  19. package/dist/totals/index.js.map +1 -1
  20. package/dist/tsconfig.tsbuildinfo +1 -1
  21. package/dist/workflow/index.d.ts +0 -10
  22. package/dist/workflow/index.d.ts.map +1 -1
  23. package/dist/workflow/index.js +1 -11
  24. package/dist/workflow/index.js.map +1 -1
  25. package/dist/workflows/index.d.ts +1 -2
  26. package/dist/workflows/index.d.ts.map +1 -1
  27. package/dist/workflows/index.js +0 -16
  28. package/dist/workflows/index.js.map +1 -1
  29. package/package.json +2 -2
  30. package/dist/cart/common.d.ts +0 -1133
  31. package/dist/cart/common.d.ts.map +0 -1
  32. package/dist/cart/common.js +0 -3
  33. package/dist/cart/common.js.map +0 -1
  34. package/dist/cart/index.d.ts +0 -5
  35. package/dist/cart/index.d.ts.map +0 -1
  36. package/dist/cart/index.js +0 -21
  37. package/dist/cart/index.js.map +0 -1
  38. package/dist/cart/mutations.d.ts +0 -742
  39. package/dist/cart/mutations.d.ts.map +0 -1
  40. package/dist/cart/mutations.js +0 -4
  41. package/dist/cart/mutations.js.map +0 -1
  42. package/dist/cart/service.d.ts +0 -1888
  43. package/dist/cart/service.d.ts.map +0 -1
  44. package/dist/cart/service.js +0 -3
  45. package/dist/cart/service.js.map +0 -1
  46. package/dist/cart/workflows.d.ts +0 -498
  47. package/dist/cart/workflows.d.ts.map +0 -1
  48. package/dist/cart/workflows.js +0 -3
  49. package/dist/cart/workflows.js.map +0 -1
  50. package/dist/currency/common/currency.d.ts +0 -52
  51. package/dist/currency/common/currency.d.ts.map +0 -1
  52. package/dist/currency/common/currency.js +0 -3
  53. package/dist/currency/common/currency.js.map +0 -1
  54. package/dist/currency/common/index.d.ts +0 -2
  55. package/dist/currency/common/index.d.ts.map +0 -1
  56. package/dist/currency/common/index.js +0 -18
  57. package/dist/currency/common/index.js.map +0 -1
  58. package/dist/currency/index.d.ts +0 -3
  59. package/dist/currency/index.d.ts.map +0 -1
  60. package/dist/currency/index.js +0 -19
  61. package/dist/currency/index.js.map +0 -1
  62. package/dist/currency/service.d.ts +0 -96
  63. package/dist/currency/service.d.ts.map +0 -1
  64. package/dist/currency/service.js +0 -3
  65. package/dist/currency/service.js.map +0 -1
  66. package/dist/fulfillment/common/address.d.ts +0 -70
  67. package/dist/fulfillment/common/address.d.ts.map +0 -1
  68. package/dist/fulfillment/common/address.js +0 -3
  69. package/dist/fulfillment/common/address.js.map +0 -1
  70. package/dist/fulfillment/common/cart.d.ts +0 -89
  71. package/dist/fulfillment/common/cart.d.ts.map +0 -1
  72. package/dist/fulfillment/common/cart.js +0 -3
  73. package/dist/fulfillment/common/cart.js.map +0 -1
  74. package/dist/fulfillment/common/fulfillment-item.d.ts +0 -55
  75. package/dist/fulfillment/common/fulfillment-item.d.ts.map +0 -1
  76. package/dist/fulfillment/common/fulfillment-item.js +0 -3
  77. package/dist/fulfillment/common/fulfillment-item.js.map +0 -1
  78. package/dist/fulfillment/common/fulfillment-label.d.ts +0 -43
  79. package/dist/fulfillment/common/fulfillment-label.d.ts.map +0 -1
  80. package/dist/fulfillment/common/fulfillment-label.js +0 -3
  81. package/dist/fulfillment/common/fulfillment-label.js.map +0 -1
  82. package/dist/fulfillment/common/fulfillment-provider.d.ts +0 -45
  83. package/dist/fulfillment/common/fulfillment-provider.d.ts.map +0 -1
  84. package/dist/fulfillment/common/fulfillment-provider.js +0 -3
  85. package/dist/fulfillment/common/fulfillment-provider.js.map +0 -1
  86. package/dist/fulfillment/common/fulfillment-set.d.ts +0 -61
  87. package/dist/fulfillment/common/fulfillment-set.d.ts.map +0 -1
  88. package/dist/fulfillment/common/fulfillment-set.js +0 -3
  89. package/dist/fulfillment/common/fulfillment-set.js.map +0 -1
  90. package/dist/fulfillment/common/fulfillment.d.ts +0 -142
  91. package/dist/fulfillment/common/fulfillment.d.ts.map +0 -1
  92. package/dist/fulfillment/common/fulfillment.js +0 -3
  93. package/dist/fulfillment/common/fulfillment.js.map +0 -1
  94. package/dist/fulfillment/common/geo-zone.d.ts +0 -76
  95. package/dist/fulfillment/common/geo-zone.d.ts.map +0 -1
  96. package/dist/fulfillment/common/geo-zone.js +0 -3
  97. package/dist/fulfillment/common/geo-zone.js.map +0 -1
  98. package/dist/fulfillment/common/index.d.ts +0 -15
  99. package/dist/fulfillment/common/index.d.ts.map +0 -1
  100. package/dist/fulfillment/common/index.js +0 -31
  101. package/dist/fulfillment/common/index.js.map +0 -1
  102. package/dist/fulfillment/common/order.d.ts +0 -899
  103. package/dist/fulfillment/common/order.d.ts.map +0 -1
  104. package/dist/fulfillment/common/order.js +0 -3
  105. package/dist/fulfillment/common/order.js.map +0 -1
  106. package/dist/fulfillment/common/service-zone.d.ts +0 -79
  107. package/dist/fulfillment/common/service-zone.d.ts.map +0 -1
  108. package/dist/fulfillment/common/service-zone.js +0 -3
  109. package/dist/fulfillment/common/service-zone.js.map +0 -1
  110. package/dist/fulfillment/common/shipping-option-rule.d.ts +0 -73
  111. package/dist/fulfillment/common/shipping-option-rule.d.ts.map +0 -1
  112. package/dist/fulfillment/common/shipping-option-rule.js +0 -3
  113. package/dist/fulfillment/common/shipping-option-rule.js.map +0 -1
  114. package/dist/fulfillment/common/shipping-option-type.d.ts +0 -65
  115. package/dist/fulfillment/common/shipping-option-type.d.ts.map +0 -1
  116. package/dist/fulfillment/common/shipping-option-type.js +0 -3
  117. package/dist/fulfillment/common/shipping-option-type.js.map +0 -1
  118. package/dist/fulfillment/common/shipping-option.d.ts +0 -171
  119. package/dist/fulfillment/common/shipping-option.d.ts.map +0 -1
  120. package/dist/fulfillment/common/shipping-option.js +0 -3
  121. package/dist/fulfillment/common/shipping-option.js.map +0 -1
  122. package/dist/fulfillment/common/shipping-profile.d.ts +0 -61
  123. package/dist/fulfillment/common/shipping-profile.d.ts.map +0 -1
  124. package/dist/fulfillment/common/shipping-profile.js +0 -3
  125. package/dist/fulfillment/common/shipping-profile.js.map +0 -1
  126. package/dist/fulfillment/index.d.ts +0 -6
  127. package/dist/fulfillment/index.d.ts.map +0 -1
  128. package/dist/fulfillment/index.js +0 -22
  129. package/dist/fulfillment/index.js.map +0 -1
  130. package/dist/fulfillment/mutations/fulfillment-address.d.ts +0 -54
  131. package/dist/fulfillment/mutations/fulfillment-address.d.ts.map +0 -1
  132. package/dist/fulfillment/mutations/fulfillment-address.js +0 -3
  133. package/dist/fulfillment/mutations/fulfillment-address.js.map +0 -1
  134. package/dist/fulfillment/mutations/fulfillment-item.d.ts +0 -34
  135. package/dist/fulfillment/mutations/fulfillment-item.d.ts.map +0 -1
  136. package/dist/fulfillment/mutations/fulfillment-item.js +0 -3
  137. package/dist/fulfillment/mutations/fulfillment-item.js.map +0 -1
  138. package/dist/fulfillment/mutations/fulfillment-label.d.ts +0 -22
  139. package/dist/fulfillment/mutations/fulfillment-label.d.ts.map +0 -1
  140. package/dist/fulfillment/mutations/fulfillment-label.js +0 -3
  141. package/dist/fulfillment/mutations/fulfillment-label.js.map +0 -1
  142. package/dist/fulfillment/mutations/fulfillment-set.d.ts +0 -45
  143. package/dist/fulfillment/mutations/fulfillment-set.d.ts.map +0 -1
  144. package/dist/fulfillment/mutations/fulfillment-set.js +0 -3
  145. package/dist/fulfillment/mutations/fulfillment-set.js.map +0 -1
  146. package/dist/fulfillment/mutations/fulfillment.d.ts +0 -110
  147. package/dist/fulfillment/mutations/fulfillment.d.ts.map +0 -1
  148. package/dist/fulfillment/mutations/fulfillment.js +0 -3
  149. package/dist/fulfillment/mutations/fulfillment.js.map +0 -1
  150. package/dist/fulfillment/mutations/geo-zone.d.ts +0 -169
  151. package/dist/fulfillment/mutations/geo-zone.d.ts.map +0 -1
  152. package/dist/fulfillment/mutations/geo-zone.js +0 -3
  153. package/dist/fulfillment/mutations/geo-zone.js.map +0 -1
  154. package/dist/fulfillment/mutations/index.d.ts +0 -12
  155. package/dist/fulfillment/mutations/index.d.ts.map +0 -1
  156. package/dist/fulfillment/mutations/index.js +0 -28
  157. package/dist/fulfillment/mutations/index.js.map +0 -1
  158. package/dist/fulfillment/mutations/service-zone.d.ts +0 -46
  159. package/dist/fulfillment/mutations/service-zone.d.ts.map +0 -1
  160. package/dist/fulfillment/mutations/service-zone.js +0 -3
  161. package/dist/fulfillment/mutations/service-zone.js.map +0 -1
  162. package/dist/fulfillment/mutations/shipping-option-rule.d.ts +0 -32
  163. package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +0 -1
  164. package/dist/fulfillment/mutations/shipping-option-rule.js +0 -3
  165. package/dist/fulfillment/mutations/shipping-option-rule.js.map +0 -1
  166. package/dist/fulfillment/mutations/shipping-option-type.d.ts +0 -32
  167. package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +0 -1
  168. package/dist/fulfillment/mutations/shipping-option-type.js +0 -3
  169. package/dist/fulfillment/mutations/shipping-option-type.js.map +0 -1
  170. package/dist/fulfillment/mutations/shipping-option.d.ts +0 -183
  171. package/dist/fulfillment/mutations/shipping-option.d.ts.map +0 -1
  172. package/dist/fulfillment/mutations/shipping-option.js +0 -3
  173. package/dist/fulfillment/mutations/shipping-option.js.map +0 -1
  174. package/dist/fulfillment/mutations/shipping-profile.d.ts +0 -41
  175. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +0 -1
  176. package/dist/fulfillment/mutations/shipping-profile.js +0 -3
  177. package/dist/fulfillment/mutations/shipping-profile.js.map +0 -1
  178. package/dist/fulfillment/provider.d.ts +0 -131
  179. package/dist/fulfillment/provider.d.ts.map +0 -1
  180. package/dist/fulfillment/provider.js +0 -3
  181. package/dist/fulfillment/provider.js.map +0 -1
  182. package/dist/fulfillment/service.d.ts +0 -2632
  183. package/dist/fulfillment/service.d.ts.map +0 -1
  184. package/dist/fulfillment/service.js +0 -3
  185. package/dist/fulfillment/service.js.map +0 -1
  186. package/dist/fulfillment/workflows.d.ts +0 -243
  187. package/dist/fulfillment/workflows.d.ts.map +0 -1
  188. package/dist/fulfillment/workflows.js +0 -3
  189. package/dist/fulfillment/workflows.js.map +0 -1
  190. package/dist/http/campaign/admin/index.d.ts +0 -4
  191. package/dist/http/campaign/admin/index.d.ts.map +0 -1
  192. package/dist/http/campaign/admin/index.js +0 -20
  193. package/dist/http/campaign/admin/index.js.map +0 -1
  194. package/dist/http/campaign/admin/payloads.d.ts +0 -87
  195. package/dist/http/campaign/admin/payloads.d.ts.map +0 -1
  196. package/dist/http/campaign/admin/payloads.js +0 -3
  197. package/dist/http/campaign/admin/payloads.js.map +0 -1
  198. package/dist/http/campaign/admin/queries.d.ts +0 -14
  199. package/dist/http/campaign/admin/queries.d.ts.map +0 -1
  200. package/dist/http/campaign/admin/queries.js +0 -3
  201. package/dist/http/campaign/admin/queries.js.map +0 -1
  202. package/dist/http/campaign/admin/responses.d.ts +0 -90
  203. package/dist/http/campaign/admin/responses.d.ts.map +0 -1
  204. package/dist/http/campaign/admin/responses.js +0 -3
  205. package/dist/http/campaign/admin/responses.js.map +0 -1
  206. package/dist/http/campaign/index.d.ts +0 -2
  207. package/dist/http/campaign/index.d.ts.map +0 -1
  208. package/dist/http/campaign/index.js +0 -18
  209. package/dist/http/campaign/index.js.map +0 -1
  210. package/dist/http/cart/common.d.ts +0 -704
  211. package/dist/http/cart/common.d.ts.map +0 -1
  212. package/dist/http/cart/common.js +0 -3
  213. package/dist/http/cart/common.js.map +0 -1
  214. package/dist/http/cart/index.d.ts +0 -2
  215. package/dist/http/cart/index.d.ts.map +0 -1
  216. package/dist/http/cart/index.js +0 -18
  217. package/dist/http/cart/index.js.map +0 -1
  218. package/dist/http/cart/store/entities.d.ts +0 -112
  219. package/dist/http/cart/store/entities.d.ts.map +0 -1
  220. package/dist/http/cart/store/entities.js +0 -3
  221. package/dist/http/cart/store/entities.js.map +0 -1
  222. package/dist/http/cart/store/index.d.ts +0 -4
  223. package/dist/http/cart/store/index.d.ts.map +0 -1
  224. package/dist/http/cart/store/index.js +0 -20
  225. package/dist/http/cart/store/index.js.map +0 -1
  226. package/dist/http/cart/store/payloads.d.ts +0 -191
  227. package/dist/http/cart/store/payloads.d.ts.map +0 -1
  228. package/dist/http/cart/store/payloads.js +0 -3
  229. package/dist/http/cart/store/payloads.js.map +0 -1
  230. package/dist/http/cart/store/responses.d.ts +0 -48
  231. package/dist/http/cart/store/responses.d.ts.map +0 -1
  232. package/dist/http/cart/store/responses.js +0 -3
  233. package/dist/http/cart/store/responses.js.map +0 -1
  234. package/dist/http/claim/admin/entities.d.ts +0 -18
  235. package/dist/http/claim/admin/entities.d.ts.map +0 -1
  236. package/dist/http/claim/admin/entities.js +0 -3
  237. package/dist/http/claim/admin/entities.js.map +0 -1
  238. package/dist/http/claim/admin/index.d.ts +0 -5
  239. package/dist/http/claim/admin/index.d.ts.map +0 -1
  240. package/dist/http/claim/admin/index.js +0 -21
  241. package/dist/http/claim/admin/index.js.map +0 -1
  242. package/dist/http/claim/admin/payloads.d.ts +0 -142
  243. package/dist/http/claim/admin/payloads.d.ts.map +0 -1
  244. package/dist/http/claim/admin/payloads.js +0 -10
  245. package/dist/http/claim/admin/payloads.js.map +0 -1
  246. package/dist/http/claim/admin/queries.d.ts +0 -50
  247. package/dist/http/claim/admin/queries.d.ts.map +0 -1
  248. package/dist/http/claim/admin/queries.js +0 -3
  249. package/dist/http/claim/admin/queries.js.map +0 -1
  250. package/dist/http/claim/admin/responses.d.ts +0 -54
  251. package/dist/http/claim/admin/responses.d.ts.map +0 -1
  252. package/dist/http/claim/admin/responses.js +0 -3
  253. package/dist/http/claim/admin/responses.js.map +0 -1
  254. package/dist/http/claim/common.d.ts +0 -131
  255. package/dist/http/claim/common.d.ts.map +0 -1
  256. package/dist/http/claim/common.js +0 -3
  257. package/dist/http/claim/common.js.map +0 -1
  258. package/dist/http/claim/index.d.ts +0 -2
  259. package/dist/http/claim/index.d.ts.map +0 -1
  260. package/dist/http/claim/index.js +0 -18
  261. package/dist/http/claim/index.js.map +0 -1
  262. package/dist/http/collection/admin/entities.d.ts +0 -9
  263. package/dist/http/collection/admin/entities.d.ts.map +0 -1
  264. package/dist/http/collection/admin/entities.js +0 -3
  265. package/dist/http/collection/admin/entities.js.map +0 -1
  266. package/dist/http/collection/admin/index.d.ts +0 -5
  267. package/dist/http/collection/admin/index.d.ts.map +0 -1
  268. package/dist/http/collection/admin/index.js +0 -21
  269. package/dist/http/collection/admin/index.js.map +0 -1
  270. package/dist/http/collection/admin/payloads.d.ts +0 -39
  271. package/dist/http/collection/admin/payloads.d.ts.map +0 -1
  272. package/dist/http/collection/admin/payloads.js +0 -3
  273. package/dist/http/collection/admin/payloads.js.map +0 -1
  274. package/dist/http/collection/admin/queries.d.ts +0 -11
  275. package/dist/http/collection/admin/queries.d.ts.map +0 -1
  276. package/dist/http/collection/admin/queries.js +0 -3
  277. package/dist/http/collection/admin/queries.js.map +0 -1
  278. package/dist/http/collection/admin/responses.d.ts +0 -18
  279. package/dist/http/collection/admin/responses.d.ts.map +0 -1
  280. package/dist/http/collection/admin/responses.js +0 -3
  281. package/dist/http/collection/admin/responses.js.map +0 -1
  282. package/dist/http/collection/common.d.ts +0 -66
  283. package/dist/http/collection/common.d.ts.map +0 -1
  284. package/dist/http/collection/common.js +0 -3
  285. package/dist/http/collection/common.js.map +0 -1
  286. package/dist/http/collection/index.d.ts +0 -3
  287. package/dist/http/collection/index.d.ts.map +0 -1
  288. package/dist/http/collection/index.js +0 -19
  289. package/dist/http/collection/index.js.map +0 -1
  290. package/dist/http/collection/store/entities.d.ts +0 -9
  291. package/dist/http/collection/store/entities.d.ts.map +0 -1
  292. package/dist/http/collection/store/entities.js +0 -3
  293. package/dist/http/collection/store/entities.js.map +0 -1
  294. package/dist/http/collection/store/index.d.ts +0 -4
  295. package/dist/http/collection/store/index.d.ts.map +0 -1
  296. package/dist/http/collection/store/index.js +0 -20
  297. package/dist/http/collection/store/index.js.map +0 -1
  298. package/dist/http/collection/store/queries.d.ts +0 -6
  299. package/dist/http/collection/store/queries.d.ts.map +0 -1
  300. package/dist/http/collection/store/queries.js +0 -3
  301. package/dist/http/collection/store/queries.js.map +0 -1
  302. package/dist/http/collection/store/responses.d.ts +0 -15
  303. package/dist/http/collection/store/responses.d.ts.map +0 -1
  304. package/dist/http/collection/store/responses.js +0 -3
  305. package/dist/http/collection/store/responses.js.map +0 -1
  306. package/dist/http/currency/admin/entities.d.ts +0 -4
  307. package/dist/http/currency/admin/entities.d.ts.map +0 -1
  308. package/dist/http/currency/admin/entities.js +0 -3
  309. package/dist/http/currency/admin/entities.js.map +0 -1
  310. package/dist/http/currency/admin/index.d.ts +0 -4
  311. package/dist/http/currency/admin/index.d.ts.map +0 -1
  312. package/dist/http/currency/admin/index.js +0 -20
  313. package/dist/http/currency/admin/index.js.map +0 -1
  314. package/dist/http/currency/admin/queries.d.ts +0 -15
  315. package/dist/http/currency/admin/queries.d.ts.map +0 -1
  316. package/dist/http/currency/admin/queries.js +0 -3
  317. package/dist/http/currency/admin/queries.js.map +0 -1
  318. package/dist/http/currency/admin/responses.d.ts +0 -16
  319. package/dist/http/currency/admin/responses.d.ts.map +0 -1
  320. package/dist/http/currency/admin/responses.js +0 -3
  321. package/dist/http/currency/admin/responses.js.map +0 -1
  322. package/dist/http/currency/common.d.ts +0 -48
  323. package/dist/http/currency/common.d.ts.map +0 -1
  324. package/dist/http/currency/common.js +0 -3
  325. package/dist/http/currency/common.js.map +0 -1
  326. package/dist/http/currency/index.d.ts +0 -4
  327. package/dist/http/currency/index.d.ts.map +0 -1
  328. package/dist/http/currency/index.js +0 -20
  329. package/dist/http/currency/index.js.map +0 -1
  330. package/dist/http/currency/store/entities.d.ts +0 -4
  331. package/dist/http/currency/store/entities.d.ts.map +0 -1
  332. package/dist/http/currency/store/entities.js +0 -3
  333. package/dist/http/currency/store/entities.js.map +0 -1
  334. package/dist/http/currency/store/index.d.ts +0 -4
  335. package/dist/http/currency/store/index.d.ts.map +0 -1
  336. package/dist/http/currency/store/index.js +0 -20
  337. package/dist/http/currency/store/index.js.map +0 -1
  338. package/dist/http/currency/store/queries.d.ts +0 -7
  339. package/dist/http/currency/store/queries.d.ts.map +0 -1
  340. package/dist/http/currency/store/queries.js +0 -3
  341. package/dist/http/currency/store/queries.js.map +0 -1
  342. package/dist/http/currency/store/responses.d.ts +0 -10
  343. package/dist/http/currency/store/responses.d.ts.map +0 -1
  344. package/dist/http/currency/store/responses.js +0 -3
  345. package/dist/http/currency/store/responses.js.map +0 -1
  346. package/dist/http/draft-order/admin/entities.d.ts +0 -6
  347. package/dist/http/draft-order/admin/entities.d.ts.map +0 -1
  348. package/dist/http/draft-order/admin/entities.js +0 -3
  349. package/dist/http/draft-order/admin/entities.js.map +0 -1
  350. package/dist/http/draft-order/admin/index.d.ts +0 -5
  351. package/dist/http/draft-order/admin/index.d.ts.map +0 -1
  352. package/dist/http/draft-order/admin/index.js +0 -21
  353. package/dist/http/draft-order/admin/index.js.map +0 -1
  354. package/dist/http/draft-order/admin/payloads.d.ts +0 -252
  355. package/dist/http/draft-order/admin/payloads.d.ts.map +0 -1
  356. package/dist/http/draft-order/admin/payloads.js +0 -3
  357. package/dist/http/draft-order/admin/payloads.js.map +0 -1
  358. package/dist/http/draft-order/admin/queries.d.ts +0 -35
  359. package/dist/http/draft-order/admin/queries.d.ts.map +0 -1
  360. package/dist/http/draft-order/admin/queries.js +0 -3
  361. package/dist/http/draft-order/admin/queries.js.map +0 -1
  362. package/dist/http/draft-order/admin/responses.d.ts +0 -22
  363. package/dist/http/draft-order/admin/responses.d.ts.map +0 -1
  364. package/dist/http/draft-order/admin/responses.js +0 -3
  365. package/dist/http/draft-order/admin/responses.js.map +0 -1
  366. package/dist/http/draft-order/index.d.ts +0 -2
  367. package/dist/http/draft-order/index.d.ts.map +0 -1
  368. package/dist/http/draft-order/index.js +0 -18
  369. package/dist/http/draft-order/index.js.map +0 -1
  370. package/dist/http/exchange/admin/entities.d.ts +0 -4
  371. package/dist/http/exchange/admin/entities.d.ts.map +0 -1
  372. package/dist/http/exchange/admin/entities.js +0 -3
  373. package/dist/http/exchange/admin/entities.js.map +0 -1
  374. package/dist/http/exchange/admin/index.d.ts +0 -5
  375. package/dist/http/exchange/admin/index.d.ts.map +0 -1
  376. package/dist/http/exchange/admin/index.js +0 -21
  377. package/dist/http/exchange/admin/index.js.map +0 -1
  378. package/dist/http/exchange/admin/payloads.d.ts +0 -162
  379. package/dist/http/exchange/admin/payloads.d.ts.map +0 -1
  380. package/dist/http/exchange/admin/payloads.js +0 -3
  381. package/dist/http/exchange/admin/payloads.js.map +0 -1
  382. package/dist/http/exchange/admin/queries.d.ts +0 -51
  383. package/dist/http/exchange/admin/queries.d.ts.map +0 -1
  384. package/dist/http/exchange/admin/queries.js +0 -3
  385. package/dist/http/exchange/admin/queries.js.map +0 -1
  386. package/dist/http/exchange/admin/responses.d.ts +0 -50
  387. package/dist/http/exchange/admin/responses.d.ts.map +0 -1
  388. package/dist/http/exchange/admin/responses.js +0 -3
  389. package/dist/http/exchange/admin/responses.js.map +0 -1
  390. package/dist/http/exchange/common.d.ts +0 -155
  391. package/dist/http/exchange/common.d.ts.map +0 -1
  392. package/dist/http/exchange/common.js +0 -3
  393. package/dist/http/exchange/common.js.map +0 -1
  394. package/dist/http/exchange/index.d.ts +0 -2
  395. package/dist/http/exchange/index.d.ts.map +0 -1
  396. package/dist/http/exchange/index.js +0 -18
  397. package/dist/http/exchange/index.js.map +0 -1
  398. package/dist/http/fulfillment/admin/entitites.d.ts +0 -201
  399. package/dist/http/fulfillment/admin/entitites.d.ts.map +0 -1
  400. package/dist/http/fulfillment/admin/entitites.js +0 -3
  401. package/dist/http/fulfillment/admin/entitites.js.map +0 -1
  402. package/dist/http/fulfillment/admin/index.d.ts +0 -4
  403. package/dist/http/fulfillment/admin/index.d.ts.map +0 -1
  404. package/dist/http/fulfillment/admin/index.js +0 -20
  405. package/dist/http/fulfillment/admin/index.js.map +0 -1
  406. package/dist/http/fulfillment/admin/payloads.d.ts +0 -153
  407. package/dist/http/fulfillment/admin/payloads.d.ts.map +0 -1
  408. package/dist/http/fulfillment/admin/payloads.js +0 -3
  409. package/dist/http/fulfillment/admin/payloads.js.map +0 -1
  410. package/dist/http/fulfillment/admin/responses.d.ts +0 -8
  411. package/dist/http/fulfillment/admin/responses.d.ts.map +0 -1
  412. package/dist/http/fulfillment/admin/responses.js +0 -3
  413. package/dist/http/fulfillment/admin/responses.js.map +0 -1
  414. package/dist/http/fulfillment/index.d.ts +0 -3
  415. package/dist/http/fulfillment/index.d.ts.map +0 -1
  416. package/dist/http/fulfillment/index.js +0 -19
  417. package/dist/http/fulfillment/index.js.map +0 -1
  418. package/dist/http/fulfillment/store/index.d.ts +0 -186
  419. package/dist/http/fulfillment/store/index.d.ts.map +0 -1
  420. package/dist/http/fulfillment/store/index.js +0 -3
  421. package/dist/http/fulfillment/store/index.js.map +0 -1
  422. package/dist/http/fulfillment-provider/admin/entities.d.ts +0 -6
  423. package/dist/http/fulfillment-provider/admin/entities.d.ts.map +0 -1
  424. package/dist/http/fulfillment-provider/admin/entities.js +0 -3
  425. package/dist/http/fulfillment-provider/admin/entities.js.map +0 -1
  426. package/dist/http/fulfillment-provider/admin/index.d.ts +0 -4
  427. package/dist/http/fulfillment-provider/admin/index.d.ts.map +0 -1
  428. package/dist/http/fulfillment-provider/admin/index.js +0 -20
  429. package/dist/http/fulfillment-provider/admin/index.js.map +0 -1
  430. package/dist/http/fulfillment-provider/admin/queries.d.ts +0 -21
  431. package/dist/http/fulfillment-provider/admin/queries.d.ts.map +0 -1
  432. package/dist/http/fulfillment-provider/admin/queries.js +0 -3
  433. package/dist/http/fulfillment-provider/admin/queries.js.map +0 -1
  434. package/dist/http/fulfillment-provider/admin/responses.d.ts +0 -17
  435. package/dist/http/fulfillment-provider/admin/responses.d.ts.map +0 -1
  436. package/dist/http/fulfillment-provider/admin/responses.js +0 -3
  437. package/dist/http/fulfillment-provider/admin/responses.js.map +0 -1
  438. package/dist/http/fulfillment-provider/common.d.ts +0 -21
  439. package/dist/http/fulfillment-provider/common.d.ts.map +0 -1
  440. package/dist/http/fulfillment-provider/common.js +0 -3
  441. package/dist/http/fulfillment-provider/common.js.map +0 -1
  442. package/dist/http/fulfillment-provider/index.d.ts +0 -2
  443. package/dist/http/fulfillment-provider/index.d.ts.map +0 -1
  444. package/dist/http/fulfillment-provider/index.js +0 -18
  445. package/dist/http/fulfillment-provider/index.js.map +0 -1
  446. package/dist/http/fulfillment-set/admin/entities.d.ts +0 -120
  447. package/dist/http/fulfillment-set/admin/entities.d.ts.map +0 -1
  448. package/dist/http/fulfillment-set/admin/entities.js +0 -3
  449. package/dist/http/fulfillment-set/admin/entities.js.map +0 -1
  450. package/dist/http/fulfillment-set/admin/index.d.ts +0 -5
  451. package/dist/http/fulfillment-set/admin/index.d.ts.map +0 -1
  452. package/dist/http/fulfillment-set/admin/index.js +0 -21
  453. package/dist/http/fulfillment-set/admin/index.js.map +0 -1
  454. package/dist/http/fulfillment-set/admin/payloads.d.ts +0 -122
  455. package/dist/http/fulfillment-set/admin/payloads.d.ts.map +0 -1
  456. package/dist/http/fulfillment-set/admin/payloads.js +0 -3
  457. package/dist/http/fulfillment-set/admin/payloads.js.map +0 -1
  458. package/dist/http/fulfillment-set/admin/queries.d.ts +0 -12
  459. package/dist/http/fulfillment-set/admin/queries.d.ts.map +0 -1
  460. package/dist/http/fulfillment-set/admin/queries.js +0 -3
  461. package/dist/http/fulfillment-set/admin/queries.js.map +0 -1
  462. package/dist/http/fulfillment-set/admin/responses.d.ts +0 -19
  463. package/dist/http/fulfillment-set/admin/responses.d.ts.map +0 -1
  464. package/dist/http/fulfillment-set/admin/responses.js +0 -3
  465. package/dist/http/fulfillment-set/admin/responses.js.map +0 -1
  466. package/dist/http/fulfillment-set/index.d.ts +0 -2
  467. package/dist/http/fulfillment-set/index.d.ts.map +0 -1
  468. package/dist/http/fulfillment-set/index.js +0 -18
  469. package/dist/http/fulfillment-set/index.js.map +0 -1
  470. package/dist/http/inventory/admin/entities.d.ts +0 -117
  471. package/dist/http/inventory/admin/entities.d.ts.map +0 -1
  472. package/dist/http/inventory/admin/entities.js +0 -3
  473. package/dist/http/inventory/admin/entities.js.map +0 -1
  474. package/dist/http/inventory/admin/index.d.ts +0 -5
  475. package/dist/http/inventory/admin/index.d.ts.map +0 -1
  476. package/dist/http/inventory/admin/index.js +0 -21
  477. package/dist/http/inventory/admin/index.js.map +0 -1
  478. package/dist/http/inventory/admin/payloads.d.ts +0 -61
  479. package/dist/http/inventory/admin/payloads.d.ts.map +0 -1
  480. package/dist/http/inventory/admin/payloads.js +0 -3
  481. package/dist/http/inventory/admin/payloads.js.map +0 -1
  482. package/dist/http/inventory/admin/queries.d.ts +0 -58
  483. package/dist/http/inventory/admin/queries.d.ts.map +0 -1
  484. package/dist/http/inventory/admin/queries.js +0 -3
  485. package/dist/http/inventory/admin/queries.js.map +0 -1
  486. package/dist/http/inventory/admin/responses.d.ts +0 -17
  487. package/dist/http/inventory/admin/responses.d.ts.map +0 -1
  488. package/dist/http/inventory/admin/responses.js +0 -3
  489. package/dist/http/inventory/admin/responses.js.map +0 -1
  490. package/dist/http/inventory/index.d.ts +0 -2
  491. package/dist/http/inventory/index.d.ts.map +0 -1
  492. package/dist/http/inventory/index.js +0 -18
  493. package/dist/http/inventory/index.js.map +0 -1
  494. package/dist/http/inventory-level/admin/entities.d.ts +0 -39
  495. package/dist/http/inventory-level/admin/entities.d.ts.map +0 -1
  496. package/dist/http/inventory-level/admin/entities.js +0 -3
  497. package/dist/http/inventory-level/admin/entities.js.map +0 -1
  498. package/dist/http/inventory-level/admin/index.d.ts +0 -5
  499. package/dist/http/inventory-level/admin/index.d.ts.map +0 -1
  500. package/dist/http/inventory-level/admin/index.js +0 -21
  501. package/dist/http/inventory-level/admin/index.js.map +0 -1
  502. package/dist/http/inventory-level/admin/payloads.d.ts +0 -104
  503. package/dist/http/inventory-level/admin/payloads.d.ts.map +0 -1
  504. package/dist/http/inventory-level/admin/payloads.js +0 -3
  505. package/dist/http/inventory-level/admin/payloads.js.map +0 -1
  506. package/dist/http/inventory-level/admin/queries.d.ts +0 -9
  507. package/dist/http/inventory-level/admin/queries.d.ts.map +0 -1
  508. package/dist/http/inventory-level/admin/queries.js +0 -3
  509. package/dist/http/inventory-level/admin/queries.js.map +0 -1
  510. package/dist/http/inventory-level/admin/responses.d.ts +0 -37
  511. package/dist/http/inventory-level/admin/responses.d.ts.map +0 -1
  512. package/dist/http/inventory-level/admin/responses.js +0 -3
  513. package/dist/http/inventory-level/admin/responses.js.map +0 -1
  514. package/dist/http/inventory-level/index.d.ts +0 -2
  515. package/dist/http/inventory-level/index.d.ts.map +0 -1
  516. package/dist/http/inventory-level/index.js +0 -18
  517. package/dist/http/inventory-level/index.js.map +0 -1
  518. package/dist/http/order/admin/entities.d.ts +0 -163
  519. package/dist/http/order/admin/entities.d.ts.map +0 -1
  520. package/dist/http/order/admin/entities.js +0 -3
  521. package/dist/http/order/admin/entities.js.map +0 -1
  522. package/dist/http/order/admin/index.d.ts +0 -5
  523. package/dist/http/order/admin/index.d.ts.map +0 -1
  524. package/dist/http/order/admin/index.js +0 -21
  525. package/dist/http/order/admin/index.js.map +0 -1
  526. package/dist/http/order/admin/payload.d.ts +0 -190
  527. package/dist/http/order/admin/payload.d.ts.map +0 -1
  528. package/dist/http/order/admin/payload.js +0 -3
  529. package/dist/http/order/admin/payload.js.map +0 -1
  530. package/dist/http/order/admin/queries.d.ts +0 -72
  531. package/dist/http/order/admin/queries.d.ts.map +0 -1
  532. package/dist/http/order/admin/queries.js +0 -3
  533. package/dist/http/order/admin/queries.js.map +0 -1
  534. package/dist/http/order/admin/responses.d.ts +0 -45
  535. package/dist/http/order/admin/responses.d.ts.map +0 -1
  536. package/dist/http/order/admin/responses.js +0 -3
  537. package/dist/http/order/admin/responses.js.map +0 -1
  538. package/dist/http/order/common.d.ts +0 -1082
  539. package/dist/http/order/common.d.ts.map +0 -1
  540. package/dist/http/order/common.js +0 -3
  541. package/dist/http/order/common.js.map +0 -1
  542. package/dist/http/order/index.d.ts +0 -3
  543. package/dist/http/order/index.d.ts.map +0 -1
  544. package/dist/http/order/index.js +0 -19
  545. package/dist/http/order/index.js.map +0 -1
  546. package/dist/http/order/store/entities.d.ts +0 -83
  547. package/dist/http/order/store/entities.d.ts.map +0 -1
  548. package/dist/http/order/store/entities.js +0 -3
  549. package/dist/http/order/store/entities.js.map +0 -1
  550. package/dist/http/order/store/index.d.ts +0 -5
  551. package/dist/http/order/store/index.d.ts.map +0 -1
  552. package/dist/http/order/store/index.js +0 -21
  553. package/dist/http/order/store/index.js.map +0 -1
  554. package/dist/http/order/store/payloads.d.ts +0 -13
  555. package/dist/http/order/store/payloads.d.ts.map +0 -1
  556. package/dist/http/order/store/payloads.js +0 -3
  557. package/dist/http/order/store/payloads.js.map +0 -1
  558. package/dist/http/order/store/queries.d.ts +0 -14
  559. package/dist/http/order/store/queries.d.ts.map +0 -1
  560. package/dist/http/order/store/queries.js +0 -3
  561. package/dist/http/order/store/queries.js.map +0 -1
  562. package/dist/http/order/store/responses.d.ts +0 -15
  563. package/dist/http/order/store/responses.d.ts.map +0 -1
  564. package/dist/http/order/store/responses.js +0 -3
  565. package/dist/http/order/store/responses.js.map +0 -1
  566. package/dist/http/order-edit/admin/index.d.ts +0 -3
  567. package/dist/http/order-edit/admin/index.d.ts.map +0 -1
  568. package/dist/http/order-edit/admin/index.js +0 -19
  569. package/dist/http/order-edit/admin/index.js.map +0 -1
  570. package/dist/http/order-edit/admin/payloads.d.ts +0 -60
  571. package/dist/http/order-edit/admin/payloads.d.ts.map +0 -1
  572. package/dist/http/order-edit/admin/payloads.js +0 -3
  573. package/dist/http/order-edit/admin/payloads.js.map +0 -1
  574. package/dist/http/order-edit/admin/responses.d.ts +0 -16
  575. package/dist/http/order-edit/admin/responses.d.ts.map +0 -1
  576. package/dist/http/order-edit/admin/responses.js +0 -3
  577. package/dist/http/order-edit/admin/responses.js.map +0 -1
  578. package/dist/http/order-edit/common.d.ts +0 -10
  579. package/dist/http/order-edit/common.d.ts.map +0 -1
  580. package/dist/http/order-edit/common.js +0 -3
  581. package/dist/http/order-edit/common.js.map +0 -1
  582. package/dist/http/order-edit/index.d.ts +0 -3
  583. package/dist/http/order-edit/index.d.ts.map +0 -1
  584. package/dist/http/order-edit/index.js +0 -19
  585. package/dist/http/order-edit/index.js.map +0 -1
  586. package/dist/http/payment/admin/entities.d.ts +0 -44
  587. package/dist/http/payment/admin/entities.d.ts.map +0 -1
  588. package/dist/http/payment/admin/entities.js +0 -3
  589. package/dist/http/payment/admin/entities.js.map +0 -1
  590. package/dist/http/payment/admin/index.d.ts +0 -5
  591. package/dist/http/payment/admin/index.d.ts.map +0 -1
  592. package/dist/http/payment/admin/index.js +0 -21
  593. package/dist/http/payment/admin/index.js.map +0 -1
  594. package/dist/http/payment/admin/payloads.d.ts +0 -36
  595. package/dist/http/payment/admin/payloads.d.ts.map +0 -1
  596. package/dist/http/payment/admin/payloads.js +0 -3
  597. package/dist/http/payment/admin/payloads.js.map +0 -1
  598. package/dist/http/payment/admin/queries.d.ts +0 -55
  599. package/dist/http/payment/admin/queries.d.ts.map +0 -1
  600. package/dist/http/payment/admin/queries.js +0 -3
  601. package/dist/http/payment/admin/queries.js.map +0 -1
  602. package/dist/http/payment/admin/responses.d.ts +0 -48
  603. package/dist/http/payment/admin/responses.d.ts.map +0 -1
  604. package/dist/http/payment/admin/responses.js +0 -3
  605. package/dist/http/payment/admin/responses.js.map +0 -1
  606. package/dist/http/payment/common.d.ts +0 -344
  607. package/dist/http/payment/common.d.ts.map +0 -1
  608. package/dist/http/payment/common.js +0 -3
  609. package/dist/http/payment/common.js.map +0 -1
  610. package/dist/http/payment/index.d.ts +0 -3
  611. package/dist/http/payment/index.d.ts.map +0 -1
  612. package/dist/http/payment/index.js +0 -19
  613. package/dist/http/payment/index.js.map +0 -1
  614. package/dist/http/payment/store/entities.d.ts +0 -20
  615. package/dist/http/payment/store/entities.d.ts.map +0 -1
  616. package/dist/http/payment/store/entities.js +0 -3
  617. package/dist/http/payment/store/entities.js.map +0 -1
  618. package/dist/http/payment/store/index.d.ts +0 -5
  619. package/dist/http/payment/store/index.d.ts.map +0 -1
  620. package/dist/http/payment/store/index.js +0 -21
  621. package/dist/http/payment/store/index.js.map +0 -1
  622. package/dist/http/payment/store/payloads.d.ts +0 -17
  623. package/dist/http/payment/store/payloads.d.ts.map +0 -1
  624. package/dist/http/payment/store/payloads.js +0 -3
  625. package/dist/http/payment/store/payloads.js.map +0 -1
  626. package/dist/http/payment/store/queries.d.ts +0 -13
  627. package/dist/http/payment/store/queries.d.ts.map +0 -1
  628. package/dist/http/payment/store/queries.js +0 -3
  629. package/dist/http/payment/store/queries.js.map +0 -1
  630. package/dist/http/payment/store/responses.d.ts +0 -15
  631. package/dist/http/payment/store/responses.d.ts.map +0 -1
  632. package/dist/http/payment/store/responses.js +0 -3
  633. package/dist/http/payment/store/responses.js.map +0 -1
  634. package/dist/http/price-list/admin/entities.d.ts +0 -63
  635. package/dist/http/price-list/admin/entities.d.ts.map +0 -1
  636. package/dist/http/price-list/admin/entities.js +0 -3
  637. package/dist/http/price-list/admin/entities.js.map +0 -1
  638. package/dist/http/price-list/admin/index.d.ts +0 -5
  639. package/dist/http/price-list/admin/index.d.ts.map +0 -1
  640. package/dist/http/price-list/admin/index.js +0 -21
  641. package/dist/http/price-list/admin/index.js.map +0 -1
  642. package/dist/http/price-list/admin/payloads.d.ts +0 -148
  643. package/dist/http/price-list/admin/payloads.d.ts.map +0 -1
  644. package/dist/http/price-list/admin/payloads.js +0 -3
  645. package/dist/http/price-list/admin/payloads.js.map +0 -1
  646. package/dist/http/price-list/admin/queries.d.ts +0 -34
  647. package/dist/http/price-list/admin/queries.d.ts.map +0 -1
  648. package/dist/http/price-list/admin/queries.js +0 -3
  649. package/dist/http/price-list/admin/queries.js.map +0 -1
  650. package/dist/http/price-list/admin/responses.d.ts +0 -41
  651. package/dist/http/price-list/admin/responses.d.ts.map +0 -1
  652. package/dist/http/price-list/admin/responses.js +0 -3
  653. package/dist/http/price-list/admin/responses.js.map +0 -1
  654. package/dist/http/price-list/index.d.ts +0 -2
  655. package/dist/http/price-list/index.d.ts.map +0 -1
  656. package/dist/http/price-list/index.js +0 -18
  657. package/dist/http/price-list/index.js.map +0 -1
  658. package/dist/http/pricing/admin/entities.d.ts +0 -104
  659. package/dist/http/pricing/admin/entities.d.ts.map +0 -1
  660. package/dist/http/pricing/admin/entities.js +0 -3
  661. package/dist/http/pricing/admin/entities.js.map +0 -1
  662. package/dist/http/pricing/admin/index.d.ts +0 -5
  663. package/dist/http/pricing/admin/index.d.ts.map +0 -1
  664. package/dist/http/pricing/admin/index.js +0 -21
  665. package/dist/http/pricing/admin/index.js.map +0 -1
  666. package/dist/http/pricing/admin/payloads.d.ts +0 -39
  667. package/dist/http/pricing/admin/payloads.d.ts.map +0 -1
  668. package/dist/http/pricing/admin/payloads.js +0 -3
  669. package/dist/http/pricing/admin/payloads.js.map +0 -1
  670. package/dist/http/pricing/admin/queries.d.ts +0 -23
  671. package/dist/http/pricing/admin/queries.d.ts.map +0 -1
  672. package/dist/http/pricing/admin/queries.js +0 -3
  673. package/dist/http/pricing/admin/queries.js.map +0 -1
  674. package/dist/http/pricing/admin/responses.d.ts +0 -18
  675. package/dist/http/pricing/admin/responses.d.ts.map +0 -1
  676. package/dist/http/pricing/admin/responses.js +0 -3
  677. package/dist/http/pricing/admin/responses.js.map +0 -1
  678. package/dist/http/pricing/common.d.ts +0 -103
  679. package/dist/http/pricing/common.d.ts.map +0 -1
  680. package/dist/http/pricing/common.js +0 -3
  681. package/dist/http/pricing/common.js.map +0 -1
  682. package/dist/http/pricing/index.d.ts +0 -3
  683. package/dist/http/pricing/index.d.ts.map +0 -1
  684. package/dist/http/pricing/index.js +0 -19
  685. package/dist/http/pricing/index.js.map +0 -1
  686. package/dist/http/pricing/store/entities.d.ts +0 -52
  687. package/dist/http/pricing/store/entities.d.ts.map +0 -1
  688. package/dist/http/pricing/store/entities.js +0 -3
  689. package/dist/http/pricing/store/entities.js.map +0 -1
  690. package/dist/http/pricing/store/index.d.ts +0 -2
  691. package/dist/http/pricing/store/index.d.ts.map +0 -1
  692. package/dist/http/pricing/store/index.js +0 -18
  693. package/dist/http/pricing/store/index.js.map +0 -1
  694. package/dist/http/product/admin/entitites.d.ts +0 -136
  695. package/dist/http/product/admin/entitites.d.ts.map +0 -1
  696. package/dist/http/product/admin/entitites.js +0 -3
  697. package/dist/http/product/admin/entitites.js.map +0 -1
  698. package/dist/http/product/admin/index.d.ts +0 -5
  699. package/dist/http/product/admin/index.d.ts.map +0 -1
  700. package/dist/http/product/admin/index.js +0 -21
  701. package/dist/http/product/admin/index.js.map +0 -1
  702. package/dist/http/product/admin/payloads.d.ts +0 -619
  703. package/dist/http/product/admin/payloads.d.ts.map +0 -1
  704. package/dist/http/product/admin/payloads.js +0 -3
  705. package/dist/http/product/admin/payloads.js.map +0 -1
  706. package/dist/http/product/admin/queries.d.ts +0 -71
  707. package/dist/http/product/admin/queries.d.ts.map +0 -1
  708. package/dist/http/product/admin/queries.js +0 -3
  709. package/dist/http/product/admin/queries.js.map +0 -1
  710. package/dist/http/product/admin/responses.d.ts +0 -109
  711. package/dist/http/product/admin/responses.d.ts.map +0 -1
  712. package/dist/http/product/admin/responses.js +0 -3
  713. package/dist/http/product/admin/responses.js.map +0 -1
  714. package/dist/http/product/common.d.ts +0 -436
  715. package/dist/http/product/common.d.ts.map +0 -1
  716. package/dist/http/product/common.js +0 -3
  717. package/dist/http/product/common.js.map +0 -1
  718. package/dist/http/product/index.d.ts +0 -3
  719. package/dist/http/product/index.d.ts.map +0 -1
  720. package/dist/http/product/index.js +0 -19
  721. package/dist/http/product/index.js.map +0 -1
  722. package/dist/http/product/store/entitites.d.ts +0 -65
  723. package/dist/http/product/store/entitites.d.ts.map +0 -1
  724. package/dist/http/product/store/entitites.js +0 -3
  725. package/dist/http/product/store/entitites.js.map +0 -1
  726. package/dist/http/product/store/index.d.ts +0 -4
  727. package/dist/http/product/store/index.d.ts.map +0 -1
  728. package/dist/http/product/store/index.js +0 -20
  729. package/dist/http/product/store/index.js.map +0 -1
  730. package/dist/http/product/store/queries.d.ts +0 -57
  731. package/dist/http/product/store/queries.d.ts.map +0 -1
  732. package/dist/http/product/store/queries.js +0 -3
  733. package/dist/http/product/store/queries.js.map +0 -1
  734. package/dist/http/product/store/responses.d.ts +0 -27
  735. package/dist/http/product/store/responses.d.ts.map +0 -1
  736. package/dist/http/product/store/responses.js +0 -3
  737. package/dist/http/product/store/responses.js.map +0 -1
  738. package/dist/http/product-category/admin/entities.d.ts +0 -22
  739. package/dist/http/product-category/admin/entities.d.ts.map +0 -1
  740. package/dist/http/product-category/admin/entities.js +0 -3
  741. package/dist/http/product-category/admin/entities.js.map +0 -1
  742. package/dist/http/product-category/admin/index.d.ts +0 -5
  743. package/dist/http/product-category/admin/index.d.ts.map +0 -1
  744. package/dist/http/product-category/admin/index.js +0 -21
  745. package/dist/http/product-category/admin/index.js.map +0 -1
  746. package/dist/http/product-category/admin/payloads.d.ts +0 -85
  747. package/dist/http/product-category/admin/payloads.d.ts.map +0 -1
  748. package/dist/http/product-category/admin/payloads.js +0 -3
  749. package/dist/http/product-category/admin/payloads.js.map +0 -1
  750. package/dist/http/product-category/admin/queries.d.ts +0 -14
  751. package/dist/http/product-category/admin/queries.d.ts.map +0 -1
  752. package/dist/http/product-category/admin/queries.js +0 -3
  753. package/dist/http/product-category/admin/queries.js.map +0 -1
  754. package/dist/http/product-category/admin/responses.d.ts +0 -18
  755. package/dist/http/product-category/admin/responses.d.ts.map +0 -1
  756. package/dist/http/product-category/admin/responses.js +0 -3
  757. package/dist/http/product-category/admin/responses.js.map +0 -1
  758. package/dist/http/product-category/common.d.ts +0 -135
  759. package/dist/http/product-category/common.d.ts.map +0 -1
  760. package/dist/http/product-category/common.js +0 -3
  761. package/dist/http/product-category/common.js.map +0 -1
  762. package/dist/http/product-category/index.d.ts +0 -3
  763. package/dist/http/product-category/index.d.ts.map +0 -1
  764. package/dist/http/product-category/index.js +0 -19
  765. package/dist/http/product-category/index.js.map +0 -1
  766. package/dist/http/product-category/store/entities.d.ts +0 -17
  767. package/dist/http/product-category/store/entities.d.ts.map +0 -1
  768. package/dist/http/product-category/store/entities.js +0 -3
  769. package/dist/http/product-category/store/entities.js.map +0 -1
  770. package/dist/http/product-category/store/index.d.ts +0 -4
  771. package/dist/http/product-category/store/index.d.ts.map +0 -1
  772. package/dist/http/product-category/store/index.js +0 -20
  773. package/dist/http/product-category/store/index.js.map +0 -1
  774. package/dist/http/product-category/store/queries.d.ts +0 -6
  775. package/dist/http/product-category/store/queries.d.ts.map +0 -1
  776. package/dist/http/product-category/store/queries.js +0 -3
  777. package/dist/http/product-category/store/queries.js.map +0 -1
  778. package/dist/http/product-category/store/responses.d.ts +0 -16
  779. package/dist/http/product-category/store/responses.d.ts.map +0 -1
  780. package/dist/http/product-category/store/responses.js +0 -3
  781. package/dist/http/product-category/store/responses.js.map +0 -1
  782. package/dist/http/product-tag/admin/entities.d.ts +0 -9
  783. package/dist/http/product-tag/admin/entities.d.ts.map +0 -1
  784. package/dist/http/product-tag/admin/entities.js +0 -3
  785. package/dist/http/product-tag/admin/entities.js.map +0 -1
  786. package/dist/http/product-tag/admin/index.d.ts +0 -5
  787. package/dist/http/product-tag/admin/index.d.ts.map +0 -1
  788. package/dist/http/product-tag/admin/index.js +0 -21
  789. package/dist/http/product-tag/admin/index.js.map +0 -1
  790. package/dist/http/product-tag/admin/payloads.d.ts +0 -21
  791. package/dist/http/product-tag/admin/payloads.d.ts.map +0 -1
  792. package/dist/http/product-tag/admin/payloads.js +0 -3
  793. package/dist/http/product-tag/admin/payloads.js.map +0 -1
  794. package/dist/http/product-tag/admin/queries.d.ts +0 -12
  795. package/dist/http/product-tag/admin/queries.d.ts.map +0 -1
  796. package/dist/http/product-tag/admin/queries.js +0 -3
  797. package/dist/http/product-tag/admin/queries.js.map +0 -1
  798. package/dist/http/product-tag/admin/responses.d.ts +0 -18
  799. package/dist/http/product-tag/admin/responses.d.ts.map +0 -1
  800. package/dist/http/product-tag/admin/responses.js +0 -3
  801. package/dist/http/product-tag/admin/responses.js.map +0 -1
  802. package/dist/http/product-tag/common.d.ts +0 -51
  803. package/dist/http/product-tag/common.d.ts.map +0 -1
  804. package/dist/http/product-tag/common.js +0 -3
  805. package/dist/http/product-tag/common.js.map +0 -1
  806. package/dist/http/product-tag/index.d.ts +0 -3
  807. package/dist/http/product-tag/index.d.ts.map +0 -1
  808. package/dist/http/product-tag/index.js +0 -19
  809. package/dist/http/product-tag/index.js.map +0 -1
  810. package/dist/http/product-tag/store/entities.d.ts +0 -4
  811. package/dist/http/product-tag/store/entities.d.ts.map +0 -1
  812. package/dist/http/product-tag/store/entities.js +0 -3
  813. package/dist/http/product-tag/store/entities.js.map +0 -1
  814. package/dist/http/product-tag/store/index.d.ts +0 -4
  815. package/dist/http/product-tag/store/index.d.ts.map +0 -1
  816. package/dist/http/product-tag/store/index.js +0 -20
  817. package/dist/http/product-tag/store/index.js.map +0 -1
  818. package/dist/http/product-tag/store/queries.d.ts +0 -8
  819. package/dist/http/product-tag/store/queries.d.ts.map +0 -1
  820. package/dist/http/product-tag/store/queries.js +0 -3
  821. package/dist/http/product-tag/store/queries.js.map +0 -1
  822. package/dist/http/product-tag/store/responses.d.ts +0 -16
  823. package/dist/http/product-tag/store/responses.d.ts.map +0 -1
  824. package/dist/http/product-tag/store/responses.js +0 -3
  825. package/dist/http/product-tag/store/responses.js.map +0 -1
  826. package/dist/http/product-type/admin/entities.d.ts +0 -9
  827. package/dist/http/product-type/admin/entities.d.ts.map +0 -1
  828. package/dist/http/product-type/admin/entities.js +0 -3
  829. package/dist/http/product-type/admin/entities.js.map +0 -1
  830. package/dist/http/product-type/admin/index.d.ts +0 -5
  831. package/dist/http/product-type/admin/index.d.ts.map +0 -1
  832. package/dist/http/product-type/admin/index.js +0 -21
  833. package/dist/http/product-type/admin/index.js.map +0 -1
  834. package/dist/http/product-type/admin/payloads.d.ts +0 -21
  835. package/dist/http/product-type/admin/payloads.d.ts.map +0 -1
  836. package/dist/http/product-type/admin/payloads.js +0 -3
  837. package/dist/http/product-type/admin/payloads.js.map +0 -1
  838. package/dist/http/product-type/admin/queries.d.ts +0 -31
  839. package/dist/http/product-type/admin/queries.d.ts.map +0 -1
  840. package/dist/http/product-type/admin/queries.js +0 -3
  841. package/dist/http/product-type/admin/queries.js.map +0 -1
  842. package/dist/http/product-type/admin/responses.d.ts +0 -18
  843. package/dist/http/product-type/admin/responses.d.ts.map +0 -1
  844. package/dist/http/product-type/admin/responses.js +0 -3
  845. package/dist/http/product-type/admin/responses.js.map +0 -1
  846. package/dist/http/product-type/common.d.ts +0 -51
  847. package/dist/http/product-type/common.d.ts.map +0 -1
  848. package/dist/http/product-type/common.js +0 -3
  849. package/dist/http/product-type/common.js.map +0 -1
  850. package/dist/http/product-type/index.d.ts +0 -3
  851. package/dist/http/product-type/index.d.ts.map +0 -1
  852. package/dist/http/product-type/index.js +0 -19
  853. package/dist/http/product-type/index.js.map +0 -1
  854. package/dist/http/product-type/store/entities.d.ts +0 -4
  855. package/dist/http/product-type/store/entities.d.ts.map +0 -1
  856. package/dist/http/product-type/store/entities.js +0 -3
  857. package/dist/http/product-type/store/entities.js.map +0 -1
  858. package/dist/http/product-type/store/index.d.ts +0 -4
  859. package/dist/http/product-type/store/index.d.ts.map +0 -1
  860. package/dist/http/product-type/store/index.js +0 -20
  861. package/dist/http/product-type/store/index.js.map +0 -1
  862. package/dist/http/product-type/store/queries.d.ts +0 -8
  863. package/dist/http/product-type/store/queries.d.ts.map +0 -1
  864. package/dist/http/product-type/store/queries.js +0 -3
  865. package/dist/http/product-type/store/queries.js.map +0 -1
  866. package/dist/http/product-type/store/responses.d.ts +0 -16
  867. package/dist/http/product-type/store/responses.d.ts.map +0 -1
  868. package/dist/http/product-type/store/responses.js +0 -3
  869. package/dist/http/product-type/store/responses.js.map +0 -1
  870. package/dist/http/promotion/admin/entities.d.ts +0 -39
  871. package/dist/http/promotion/admin/entities.d.ts.map +0 -1
  872. package/dist/http/promotion/admin/entities.js +0 -3
  873. package/dist/http/promotion/admin/entities.js.map +0 -1
  874. package/dist/http/promotion/admin/index.d.ts +0 -5
  875. package/dist/http/promotion/admin/index.d.ts.map +0 -1
  876. package/dist/http/promotion/admin/index.js +0 -21
  877. package/dist/http/promotion/admin/index.js.map +0 -1
  878. package/dist/http/promotion/admin/payloads.d.ts +0 -242
  879. package/dist/http/promotion/admin/payloads.d.ts.map +0 -1
  880. package/dist/http/promotion/admin/payloads.js +0 -3
  881. package/dist/http/promotion/admin/payloads.js.map +0 -1
  882. package/dist/http/promotion/admin/queries.d.ts +0 -103
  883. package/dist/http/promotion/admin/queries.d.ts.map +0 -1
  884. package/dist/http/promotion/admin/queries.js +0 -3
  885. package/dist/http/promotion/admin/queries.js.map +0 -1
  886. package/dist/http/promotion/admin/responses.d.ts +0 -56
  887. package/dist/http/promotion/admin/responses.d.ts.map +0 -1
  888. package/dist/http/promotion/admin/responses.js +0 -3
  889. package/dist/http/promotion/admin/responses.js.map +0 -1
  890. package/dist/http/promotion/common.d.ts +0 -129
  891. package/dist/http/promotion/common.d.ts.map +0 -1
  892. package/dist/http/promotion/common.js +0 -3
  893. package/dist/http/promotion/common.js.map +0 -1
  894. package/dist/http/promotion/index.d.ts +0 -3
  895. package/dist/http/promotion/index.d.ts.map +0 -1
  896. package/dist/http/promotion/index.js +0 -19
  897. package/dist/http/promotion/index.js.map +0 -1
  898. package/dist/http/promotion/store.d.ts +0 -4
  899. package/dist/http/promotion/store.d.ts.map +0 -1
  900. package/dist/http/promotion/store.js +0 -3
  901. package/dist/http/promotion/store.js.map +0 -1
  902. package/dist/http/refund-reason/admin/entities.d.ts +0 -4
  903. package/dist/http/refund-reason/admin/entities.d.ts.map +0 -1
  904. package/dist/http/refund-reason/admin/entities.js +0 -3
  905. package/dist/http/refund-reason/admin/entities.js.map +0 -1
  906. package/dist/http/refund-reason/admin/index.d.ts +0 -5
  907. package/dist/http/refund-reason/admin/index.d.ts.map +0 -1
  908. package/dist/http/refund-reason/admin/index.js +0 -21
  909. package/dist/http/refund-reason/admin/index.js.map +0 -1
  910. package/dist/http/refund-reason/admin/payloads.d.ts +0 -30
  911. package/dist/http/refund-reason/admin/payloads.d.ts.map +0 -1
  912. package/dist/http/refund-reason/admin/payloads.js +0 -3
  913. package/dist/http/refund-reason/admin/payloads.js.map +0 -1
  914. package/dist/http/refund-reason/admin/queries.d.ts +0 -8
  915. package/dist/http/refund-reason/admin/queries.d.ts.map +0 -1
  916. package/dist/http/refund-reason/admin/queries.js +0 -3
  917. package/dist/http/refund-reason/admin/queries.js.map +0 -1
  918. package/dist/http/refund-reason/admin/responses.d.ts +0 -18
  919. package/dist/http/refund-reason/admin/responses.d.ts.map +0 -1
  920. package/dist/http/refund-reason/admin/responses.js +0 -3
  921. package/dist/http/refund-reason/admin/responses.js.map +0 -1
  922. package/dist/http/refund-reason/common.d.ts +0 -65
  923. package/dist/http/refund-reason/common.d.ts.map +0 -1
  924. package/dist/http/refund-reason/common.js +0 -3
  925. package/dist/http/refund-reason/common.js.map +0 -1
  926. package/dist/http/refund-reason/index.d.ts +0 -2
  927. package/dist/http/refund-reason/index.d.ts.map +0 -1
  928. package/dist/http/refund-reason/index.js +0 -18
  929. package/dist/http/refund-reason/index.js.map +0 -1
  930. package/dist/http/region/admin/entities.d.ts +0 -10
  931. package/dist/http/region/admin/entities.d.ts.map +0 -1
  932. package/dist/http/region/admin/entities.js +0 -3
  933. package/dist/http/region/admin/entities.js.map +0 -1
  934. package/dist/http/region/admin/index.d.ts +0 -5
  935. package/dist/http/region/admin/index.d.ts.map +0 -1
  936. package/dist/http/region/admin/index.js +0 -21
  937. package/dist/http/region/admin/index.js.map +0 -1
  938. package/dist/http/region/admin/payloads.d.ts +0 -87
  939. package/dist/http/region/admin/payloads.d.ts.map +0 -1
  940. package/dist/http/region/admin/payloads.js +0 -3
  941. package/dist/http/region/admin/payloads.js.map +0 -1
  942. package/dist/http/region/admin/queries.d.ts +0 -36
  943. package/dist/http/region/admin/queries.d.ts.map +0 -1
  944. package/dist/http/region/admin/queries.js +0 -3
  945. package/dist/http/region/admin/queries.js.map +0 -1
  946. package/dist/http/region/admin/responses.d.ts +0 -16
  947. package/dist/http/region/admin/responses.d.ts.map +0 -1
  948. package/dist/http/region/admin/responses.js +0 -3
  949. package/dist/http/region/admin/responses.js.map +0 -1
  950. package/dist/http/region/common.d.ts +0 -107
  951. package/dist/http/region/common.d.ts.map +0 -1
  952. package/dist/http/region/common.js +0 -3
  953. package/dist/http/region/common.js.map +0 -1
  954. package/dist/http/region/index.d.ts +0 -3
  955. package/dist/http/region/index.d.ts.map +0 -1
  956. package/dist/http/region/index.js +0 -19
  957. package/dist/http/region/index.js.map +0 -1
  958. package/dist/http/region/store/entities.d.ts +0 -6
  959. package/dist/http/region/store/entities.d.ts.map +0 -1
  960. package/dist/http/region/store/entities.js +0 -3
  961. package/dist/http/region/store/entities.js.map +0 -1
  962. package/dist/http/region/store/index.d.ts +0 -4
  963. package/dist/http/region/store/index.d.ts.map +0 -1
  964. package/dist/http/region/store/index.js +0 -20
  965. package/dist/http/region/store/index.js.map +0 -1
  966. package/dist/http/region/store/queries.d.ts +0 -7
  967. package/dist/http/region/store/queries.d.ts.map +0 -1
  968. package/dist/http/region/store/queries.js +0 -3
  969. package/dist/http/region/store/queries.js.map +0 -1
  970. package/dist/http/region/store/responses.d.ts +0 -15
  971. package/dist/http/region/store/responses.d.ts.map +0 -1
  972. package/dist/http/region/store/responses.js +0 -3
  973. package/dist/http/region/store/responses.js.map +0 -1
  974. package/dist/http/reservation/admin/entities.d.ts +0 -56
  975. package/dist/http/reservation/admin/entities.d.ts.map +0 -1
  976. package/dist/http/reservation/admin/entities.js +0 -3
  977. package/dist/http/reservation/admin/entities.js.map +0 -1
  978. package/dist/http/reservation/admin/index.d.ts +0 -5
  979. package/dist/http/reservation/admin/index.d.ts.map +0 -1
  980. package/dist/http/reservation/admin/index.js +0 -21
  981. package/dist/http/reservation/admin/index.js.map +0 -1
  982. package/dist/http/reservation/admin/payloads.d.ts +0 -47
  983. package/dist/http/reservation/admin/payloads.d.ts.map +0 -1
  984. package/dist/http/reservation/admin/payloads.js +0 -3
  985. package/dist/http/reservation/admin/payloads.js.map +0 -1
  986. package/dist/http/reservation/admin/queries.d.ts +0 -51
  987. package/dist/http/reservation/admin/queries.d.ts.map +0 -1
  988. package/dist/http/reservation/admin/queries.js +0 -3
  989. package/dist/http/reservation/admin/queries.js.map +0 -1
  990. package/dist/http/reservation/admin/responses.d.ts +0 -16
  991. package/dist/http/reservation/admin/responses.d.ts.map +0 -1
  992. package/dist/http/reservation/admin/responses.js +0 -3
  993. package/dist/http/reservation/admin/responses.js.map +0 -1
  994. package/dist/http/reservation/index.d.ts +0 -2
  995. package/dist/http/reservation/index.d.ts.map +0 -1
  996. package/dist/http/reservation/index.js +0 -18
  997. package/dist/http/reservation/index.js.map +0 -1
  998. package/dist/http/return/admin/entities.d.ts +0 -10
  999. package/dist/http/return/admin/entities.d.ts.map +0 -1
  1000. package/dist/http/return/admin/entities.js +0 -3
  1001. package/dist/http/return/admin/entities.js.map +0 -1
  1002. package/dist/http/return/admin/index.d.ts +0 -5
  1003. package/dist/http/return/admin/index.d.ts.map +0 -1
  1004. package/dist/http/return/admin/index.js +0 -21
  1005. package/dist/http/return/admin/index.js.map +0 -1
  1006. package/dist/http/return/admin/payloads.d.ts +0 -252
  1007. package/dist/http/return/admin/payloads.d.ts.map +0 -1
  1008. package/dist/http/return/admin/payloads.js +0 -3
  1009. package/dist/http/return/admin/payloads.js.map +0 -1
  1010. package/dist/http/return/admin/queries.d.ts +0 -25
  1011. package/dist/http/return/admin/queries.d.ts.map +0 -1
  1012. package/dist/http/return/admin/queries.js +0 -3
  1013. package/dist/http/return/admin/queries.js.map +0 -1
  1014. package/dist/http/return/admin/responses.d.ts +0 -26
  1015. package/dist/http/return/admin/responses.d.ts.map +0 -1
  1016. package/dist/http/return/admin/responses.js +0 -3
  1017. package/dist/http/return/admin/responses.js.map +0 -1
  1018. package/dist/http/return/common.d.ts +0 -102
  1019. package/dist/http/return/common.d.ts.map +0 -1
  1020. package/dist/http/return/common.js +0 -3
  1021. package/dist/http/return/common.js.map +0 -1
  1022. package/dist/http/return/index.d.ts +0 -3
  1023. package/dist/http/return/index.d.ts.map +0 -1
  1024. package/dist/http/return/index.js +0 -19
  1025. package/dist/http/return/index.js.map +0 -1
  1026. package/dist/http/return/store/entities.d.ts +0 -7
  1027. package/dist/http/return/store/entities.d.ts.map +0 -1
  1028. package/dist/http/return/store/entities.js +0 -3
  1029. package/dist/http/return/store/entities.js.map +0 -1
  1030. package/dist/http/return/store/index.d.ts +0 -4
  1031. package/dist/http/return/store/index.d.ts.map +0 -1
  1032. package/dist/http/return/store/index.js +0 -20
  1033. package/dist/http/return/store/index.js.map +0 -1
  1034. package/dist/http/return/store/payloads.d.ts +0 -20
  1035. package/dist/http/return/store/payloads.d.ts.map +0 -1
  1036. package/dist/http/return/store/payloads.js +0 -3
  1037. package/dist/http/return/store/payloads.js.map +0 -1
  1038. package/dist/http/return/store/responses.d.ts +0 -5
  1039. package/dist/http/return/store/responses.d.ts.map +0 -1
  1040. package/dist/http/return/store/responses.js +0 -3
  1041. package/dist/http/return/store/responses.js.map +0 -1
  1042. package/dist/http/return-reason/admin/entities.d.ts +0 -4
  1043. package/dist/http/return-reason/admin/entities.d.ts.map +0 -1
  1044. package/dist/http/return-reason/admin/entities.js +0 -3
  1045. package/dist/http/return-reason/admin/entities.js.map +0 -1
  1046. package/dist/http/return-reason/admin/index.d.ts +0 -5
  1047. package/dist/http/return-reason/admin/index.d.ts.map +0 -1
  1048. package/dist/http/return-reason/admin/index.js +0 -21
  1049. package/dist/http/return-reason/admin/index.js.map +0 -1
  1050. package/dist/http/return-reason/admin/payloads.d.ts +0 -34
  1051. package/dist/http/return-reason/admin/payloads.d.ts.map +0 -1
  1052. package/dist/http/return-reason/admin/payloads.js +0 -3
  1053. package/dist/http/return-reason/admin/payloads.js.map +0 -1
  1054. package/dist/http/return-reason/admin/queries.d.ts +0 -12
  1055. package/dist/http/return-reason/admin/queries.d.ts.map +0 -1
  1056. package/dist/http/return-reason/admin/queries.js +0 -3
  1057. package/dist/http/return-reason/admin/queries.js.map +0 -1
  1058. package/dist/http/return-reason/admin/responses.d.ts +0 -18
  1059. package/dist/http/return-reason/admin/responses.d.ts.map +0 -1
  1060. package/dist/http/return-reason/admin/responses.js +0 -3
  1061. package/dist/http/return-reason/admin/responses.js.map +0 -1
  1062. package/dist/http/return-reason/common.d.ts +0 -49
  1063. package/dist/http/return-reason/common.d.ts.map +0 -1
  1064. package/dist/http/return-reason/common.js +0 -3
  1065. package/dist/http/return-reason/common.js.map +0 -1
  1066. package/dist/http/return-reason/index.d.ts +0 -3
  1067. package/dist/http/return-reason/index.d.ts.map +0 -1
  1068. package/dist/http/return-reason/index.js +0 -19
  1069. package/dist/http/return-reason/index.js.map +0 -1
  1070. package/dist/http/return-reason/store/entities.d.ts +0 -4
  1071. package/dist/http/return-reason/store/entities.d.ts.map +0 -1
  1072. package/dist/http/return-reason/store/entities.js +0 -3
  1073. package/dist/http/return-reason/store/entities.js.map +0 -1
  1074. package/dist/http/return-reason/store/index.d.ts +0 -3
  1075. package/dist/http/return-reason/store/index.d.ts.map +0 -1
  1076. package/dist/http/return-reason/store/index.js +0 -19
  1077. package/dist/http/return-reason/store/index.js.map +0 -1
  1078. package/dist/http/return-reason/store/responses.d.ts +0 -9
  1079. package/dist/http/return-reason/store/responses.d.ts.map +0 -1
  1080. package/dist/http/return-reason/store/responses.js +0 -3
  1081. package/dist/http/return-reason/store/responses.js.map +0 -1
  1082. package/dist/http/sales-channel/admin/entities.d.ts +0 -35
  1083. package/dist/http/sales-channel/admin/entities.d.ts.map +0 -1
  1084. package/dist/http/sales-channel/admin/entities.js +0 -3
  1085. package/dist/http/sales-channel/admin/entities.js.map +0 -1
  1086. package/dist/http/sales-channel/admin/index.d.ts +0 -5
  1087. package/dist/http/sales-channel/admin/index.d.ts.map +0 -1
  1088. package/dist/http/sales-channel/admin/index.js +0 -21
  1089. package/dist/http/sales-channel/admin/index.js.map +0 -1
  1090. package/dist/http/sales-channel/admin/payloads.d.ts +0 -49
  1091. package/dist/http/sales-channel/admin/payloads.d.ts.map +0 -1
  1092. package/dist/http/sales-channel/admin/payloads.js +0 -3
  1093. package/dist/http/sales-channel/admin/payloads.js.map +0 -1
  1094. package/dist/http/sales-channel/admin/queries.d.ts +0 -47
  1095. package/dist/http/sales-channel/admin/queries.d.ts.map +0 -1
  1096. package/dist/http/sales-channel/admin/queries.js +0 -3
  1097. package/dist/http/sales-channel/admin/queries.js.map +0 -1
  1098. package/dist/http/sales-channel/admin/responses.d.ts +0 -17
  1099. package/dist/http/sales-channel/admin/responses.d.ts.map +0 -1
  1100. package/dist/http/sales-channel/admin/responses.js +0 -3
  1101. package/dist/http/sales-channel/admin/responses.js.map +0 -1
  1102. package/dist/http/sales-channel/index.d.ts +0 -2
  1103. package/dist/http/sales-channel/index.d.ts.map +0 -1
  1104. package/dist/http/sales-channel/index.js +0 -18
  1105. package/dist/http/sales-channel/index.js.map +0 -1
  1106. package/dist/http/shipping-option/admin/entities.d.ts +0 -249
  1107. package/dist/http/shipping-option/admin/entities.d.ts.map +0 -1
  1108. package/dist/http/shipping-option/admin/entities.js +0 -3
  1109. package/dist/http/shipping-option/admin/entities.js.map +0 -1
  1110. package/dist/http/shipping-option/admin/index.d.ts +0 -5
  1111. package/dist/http/shipping-option/admin/index.d.ts.map +0 -1
  1112. package/dist/http/shipping-option/admin/index.js +0 -21
  1113. package/dist/http/shipping-option/admin/index.js.map +0 -1
  1114. package/dist/http/shipping-option/admin/payloads.d.ts +0 -281
  1115. package/dist/http/shipping-option/admin/payloads.d.ts.map +0 -1
  1116. package/dist/http/shipping-option/admin/payloads.js +0 -3
  1117. package/dist/http/shipping-option/admin/payloads.js.map +0 -1
  1118. package/dist/http/shipping-option/admin/queries.d.ts +0 -83
  1119. package/dist/http/shipping-option/admin/queries.d.ts.map +0 -1
  1120. package/dist/http/shipping-option/admin/queries.js +0 -3
  1121. package/dist/http/shipping-option/admin/queries.js.map +0 -1
  1122. package/dist/http/shipping-option/admin/responses.d.ts +0 -33
  1123. package/dist/http/shipping-option/admin/responses.d.ts.map +0 -1
  1124. package/dist/http/shipping-option/admin/responses.js +0 -3
  1125. package/dist/http/shipping-option/admin/responses.js.map +0 -1
  1126. package/dist/http/shipping-option/index.d.ts +0 -3
  1127. package/dist/http/shipping-option/index.d.ts.map +0 -1
  1128. package/dist/http/shipping-option/index.js +0 -19
  1129. package/dist/http/shipping-option/index.js.map +0 -1
  1130. package/dist/http/shipping-option/store/entities.d.ts +0 -28
  1131. package/dist/http/shipping-option/store/entities.d.ts.map +0 -1
  1132. package/dist/http/shipping-option/store/entities.js +0 -3
  1133. package/dist/http/shipping-option/store/entities.js.map +0 -1
  1134. package/dist/http/shipping-option/store/index.d.ts +0 -5
  1135. package/dist/http/shipping-option/store/index.d.ts.map +0 -1
  1136. package/dist/http/shipping-option/store/index.js +0 -21
  1137. package/dist/http/shipping-option/store/index.js.map +0 -1
  1138. package/dist/http/shipping-option/store/payloads.d.ts +0 -17
  1139. package/dist/http/shipping-option/store/payloads.d.ts.map +0 -1
  1140. package/dist/http/shipping-option/store/payloads.js +0 -3
  1141. package/dist/http/shipping-option/store/payloads.js.map +0 -1
  1142. package/dist/http/shipping-option/store/queries.d.ts +0 -14
  1143. package/dist/http/shipping-option/store/queries.d.ts.map +0 -1
  1144. package/dist/http/shipping-option/store/queries.js +0 -3
  1145. package/dist/http/shipping-option/store/queries.js.map +0 -1
  1146. package/dist/http/shipping-option/store/responses.d.ts +0 -20
  1147. package/dist/http/shipping-option/store/responses.d.ts.map +0 -1
  1148. package/dist/http/shipping-option/store/responses.js +0 -3
  1149. package/dist/http/shipping-option/store/responses.js.map +0 -1
  1150. package/dist/http/shipping-profile/admin/entities.d.ts +0 -31
  1151. package/dist/http/shipping-profile/admin/entities.d.ts.map +0 -1
  1152. package/dist/http/shipping-profile/admin/entities.js +0 -3
  1153. package/dist/http/shipping-profile/admin/entities.js.map +0 -1
  1154. package/dist/http/shipping-profile/admin/index.d.ts +0 -5
  1155. package/dist/http/shipping-profile/admin/index.d.ts.map +0 -1
  1156. package/dist/http/shipping-profile/admin/index.js +0 -21
  1157. package/dist/http/shipping-profile/admin/index.js.map +0 -1
  1158. package/dist/http/shipping-profile/admin/payloads.d.ts +0 -29
  1159. package/dist/http/shipping-profile/admin/payloads.d.ts.map +0 -1
  1160. package/dist/http/shipping-profile/admin/payloads.js +0 -3
  1161. package/dist/http/shipping-profile/admin/payloads.js.map +0 -1
  1162. package/dist/http/shipping-profile/admin/queries.d.ts +0 -41
  1163. package/dist/http/shipping-profile/admin/queries.d.ts.map +0 -1
  1164. package/dist/http/shipping-profile/admin/queries.js +0 -3
  1165. package/dist/http/shipping-profile/admin/queries.js.map +0 -1
  1166. package/dist/http/shipping-profile/admin/responses.d.ts +0 -17
  1167. package/dist/http/shipping-profile/admin/responses.d.ts.map +0 -1
  1168. package/dist/http/shipping-profile/admin/responses.js +0 -3
  1169. package/dist/http/shipping-profile/admin/responses.js.map +0 -1
  1170. package/dist/http/shipping-profile/index.d.ts +0 -2
  1171. package/dist/http/shipping-profile/index.d.ts.map +0 -1
  1172. package/dist/http/shipping-profile/index.js +0 -18
  1173. package/dist/http/shipping-profile/index.js.map +0 -1
  1174. package/dist/http/stock-locations/admin/entities.d.ts +0 -45
  1175. package/dist/http/stock-locations/admin/entities.d.ts.map +0 -1
  1176. package/dist/http/stock-locations/admin/entities.js +0 -3
  1177. package/dist/http/stock-locations/admin/entities.js.map +0 -1
  1178. package/dist/http/stock-locations/admin/index.d.ts +0 -5
  1179. package/dist/http/stock-locations/admin/index.d.ts.map +0 -1
  1180. package/dist/http/stock-locations/admin/index.js +0 -21
  1181. package/dist/http/stock-locations/admin/index.js.map +0 -1
  1182. package/dist/http/stock-locations/admin/payloads.d.ts +0 -101
  1183. package/dist/http/stock-locations/admin/payloads.d.ts.map +0 -1
  1184. package/dist/http/stock-locations/admin/payloads.js +0 -3
  1185. package/dist/http/stock-locations/admin/payloads.js.map +0 -1
  1186. package/dist/http/stock-locations/admin/queries.d.ts +0 -37
  1187. package/dist/http/stock-locations/admin/queries.d.ts.map +0 -1
  1188. package/dist/http/stock-locations/admin/queries.js +0 -3
  1189. package/dist/http/stock-locations/admin/queries.js.map +0 -1
  1190. package/dist/http/stock-locations/admin/responses.d.ts +0 -18
  1191. package/dist/http/stock-locations/admin/responses.d.ts.map +0 -1
  1192. package/dist/http/stock-locations/admin/responses.js +0 -3
  1193. package/dist/http/stock-locations/admin/responses.js.map +0 -1
  1194. package/dist/http/stock-locations/index.d.ts +0 -2
  1195. package/dist/http/stock-locations/index.d.ts.map +0 -1
  1196. package/dist/http/stock-locations/index.js +0 -18
  1197. package/dist/http/stock-locations/index.js.map +0 -1
  1198. package/dist/http/tax-provider/admin/entities.d.ts +0 -11
  1199. package/dist/http/tax-provider/admin/entities.d.ts.map +0 -1
  1200. package/dist/http/tax-provider/admin/entities.js +0 -3
  1201. package/dist/http/tax-provider/admin/entities.js.map +0 -1
  1202. package/dist/http/tax-provider/admin/index.d.ts +0 -4
  1203. package/dist/http/tax-provider/admin/index.d.ts.map +0 -1
  1204. package/dist/http/tax-provider/admin/index.js +0 -20
  1205. package/dist/http/tax-provider/admin/index.js.map +0 -1
  1206. package/dist/http/tax-provider/admin/queries.d.ts +0 -13
  1207. package/dist/http/tax-provider/admin/queries.d.ts.map +0 -1
  1208. package/dist/http/tax-provider/admin/queries.js +0 -3
  1209. package/dist/http/tax-provider/admin/queries.js.map +0 -1
  1210. package/dist/http/tax-provider/admin/responses.d.ts +0 -9
  1211. package/dist/http/tax-provider/admin/responses.d.ts.map +0 -1
  1212. package/dist/http/tax-provider/admin/responses.js +0 -3
  1213. package/dist/http/tax-provider/admin/responses.js.map +0 -1
  1214. package/dist/http/tax-provider/index.d.ts +0 -2
  1215. package/dist/http/tax-provider/index.d.ts.map +0 -1
  1216. package/dist/http/tax-provider/index.js +0 -18
  1217. package/dist/http/tax-provider/index.js.map +0 -1
  1218. package/dist/http/tax-rate/admin/entities.d.ts +0 -76
  1219. package/dist/http/tax-rate/admin/entities.d.ts.map +0 -1
  1220. package/dist/http/tax-rate/admin/entities.js +0 -3
  1221. package/dist/http/tax-rate/admin/entities.js.map +0 -1
  1222. package/dist/http/tax-rate/admin/index.d.ts +0 -5
  1223. package/dist/http/tax-rate/admin/index.d.ts.map +0 -1
  1224. package/dist/http/tax-rate/admin/index.js +0 -21
  1225. package/dist/http/tax-rate/admin/index.js.map +0 -1
  1226. package/dist/http/tax-rate/admin/payloads.d.ts +0 -81
  1227. package/dist/http/tax-rate/admin/payloads.d.ts.map +0 -1
  1228. package/dist/http/tax-rate/admin/payloads.js +0 -3
  1229. package/dist/http/tax-rate/admin/payloads.js.map +0 -1
  1230. package/dist/http/tax-rate/admin/queries.d.ts +0 -45
  1231. package/dist/http/tax-rate/admin/queries.d.ts.map +0 -1
  1232. package/dist/http/tax-rate/admin/queries.js +0 -3
  1233. package/dist/http/tax-rate/admin/queries.js.map +0 -1
  1234. package/dist/http/tax-rate/admin/responses.d.ts +0 -18
  1235. package/dist/http/tax-rate/admin/responses.d.ts.map +0 -1
  1236. package/dist/http/tax-rate/admin/responses.js +0 -3
  1237. package/dist/http/tax-rate/admin/responses.js.map +0 -1
  1238. package/dist/http/tax-rate/index.d.ts +0 -2
  1239. package/dist/http/tax-rate/index.d.ts.map +0 -1
  1240. package/dist/http/tax-rate/index.js +0 -18
  1241. package/dist/http/tax-rate/index.js.map +0 -1
  1242. package/dist/http/tax-region/admin/entities.d.ts +0 -62
  1243. package/dist/http/tax-region/admin/entities.d.ts.map +0 -1
  1244. package/dist/http/tax-region/admin/entities.js +0 -3
  1245. package/dist/http/tax-region/admin/entities.js.map +0 -1
  1246. package/dist/http/tax-region/admin/index.d.ts +0 -5
  1247. package/dist/http/tax-region/admin/index.d.ts.map +0 -1
  1248. package/dist/http/tax-region/admin/index.js +0 -21
  1249. package/dist/http/tax-region/admin/index.js.map +0 -1
  1250. package/dist/http/tax-region/admin/payloads.d.ts +0 -65
  1251. package/dist/http/tax-region/admin/payloads.d.ts.map +0 -1
  1252. package/dist/http/tax-region/admin/payloads.js +0 -3
  1253. package/dist/http/tax-region/admin/payloads.js.map +0 -1
  1254. package/dist/http/tax-region/admin/queries.d.ts +0 -44
  1255. package/dist/http/tax-region/admin/queries.d.ts.map +0 -1
  1256. package/dist/http/tax-region/admin/queries.js +0 -3
  1257. package/dist/http/tax-region/admin/queries.js.map +0 -1
  1258. package/dist/http/tax-region/admin/responses.d.ts +0 -17
  1259. package/dist/http/tax-region/admin/responses.d.ts.map +0 -1
  1260. package/dist/http/tax-region/admin/responses.js +0 -3
  1261. package/dist/http/tax-region/admin/responses.js.map +0 -1
  1262. package/dist/http/tax-region/index.d.ts +0 -2
  1263. package/dist/http/tax-region/index.d.ts.map +0 -1
  1264. package/dist/http/tax-region/index.js +0 -18
  1265. package/dist/http/tax-region/index.js.map +0 -1
  1266. package/dist/inventory/common/index.d.ts +0 -4
  1267. package/dist/inventory/common/index.d.ts.map +0 -1
  1268. package/dist/inventory/common/index.js +0 -20
  1269. package/dist/inventory/common/index.js.map +0 -1
  1270. package/dist/inventory/common/inventory-item.d.ts +0 -114
  1271. package/dist/inventory/common/inventory-item.d.ts.map +0 -1
  1272. package/dist/inventory/common/inventory-item.js +0 -3
  1273. package/dist/inventory/common/inventory-item.js.map +0 -1
  1274. package/dist/inventory/common/inventory-level.d.ts +0 -80
  1275. package/dist/inventory/common/inventory-level.d.ts.map +0 -1
  1276. package/dist/inventory/common/inventory-level.js +0 -3
  1277. package/dist/inventory/common/inventory-level.js.map +0 -1
  1278. package/dist/inventory/common/reservation-item.d.ts +0 -98
  1279. package/dist/inventory/common/reservation-item.d.ts.map +0 -1
  1280. package/dist/inventory/common/reservation-item.js +0 -3
  1281. package/dist/inventory/common/reservation-item.js.map +0 -1
  1282. package/dist/inventory/index.d.ts +0 -4
  1283. package/dist/inventory/index.d.ts.map +0 -1
  1284. package/dist/inventory/index.js +0 -20
  1285. package/dist/inventory/index.js.map +0 -1
  1286. package/dist/inventory/mutations/index.d.ts +0 -4
  1287. package/dist/inventory/mutations/index.d.ts.map +0 -1
  1288. package/dist/inventory/mutations/index.js +0 -20
  1289. package/dist/inventory/mutations/index.js.map +0 -1
  1290. package/dist/inventory/mutations/inventory-item.d.ts +0 -73
  1291. package/dist/inventory/mutations/inventory-item.d.ts.map +0 -1
  1292. package/dist/inventory/mutations/inventory-item.js +0 -3
  1293. package/dist/inventory/mutations/inventory-item.js.map +0 -1
  1294. package/dist/inventory/mutations/inventory-level.d.ts +0 -63
  1295. package/dist/inventory/mutations/inventory-level.d.ts.map +0 -1
  1296. package/dist/inventory/mutations/inventory-level.js +0 -3
  1297. package/dist/inventory/mutations/inventory-level.js.map +0 -1
  1298. package/dist/inventory/mutations/reservation-item.d.ts +0 -81
  1299. package/dist/inventory/mutations/reservation-item.d.ts.map +0 -1
  1300. package/dist/inventory/mutations/reservation-item.js +0 -3
  1301. package/dist/inventory/mutations/reservation-item.js.map +0 -1
  1302. package/dist/inventory/service.d.ts +0 -1034
  1303. package/dist/inventory/service.d.ts.map +0 -1
  1304. package/dist/inventory/service.js +0 -3
  1305. package/dist/inventory/service.js.map +0 -1
  1306. package/dist/order/common.d.ts +0 -2515
  1307. package/dist/order/common.d.ts.map +0 -1
  1308. package/dist/order/common.js +0 -3
  1309. package/dist/order/common.js.map +0 -1
  1310. package/dist/order/index.d.ts +0 -5
  1311. package/dist/order/index.d.ts.map +0 -1
  1312. package/dist/order/index.js +0 -21
  1313. package/dist/order/index.js.map +0 -1
  1314. package/dist/order/mutations.d.ts +0 -1933
  1315. package/dist/order/mutations.d.ts.map +0 -1
  1316. package/dist/order/mutations.js +0 -3
  1317. package/dist/order/mutations.js.map +0 -1
  1318. package/dist/order/service.d.ts +0 -4130
  1319. package/dist/order/service.d.ts.map +0 -1
  1320. package/dist/order/service.js +0 -3
  1321. package/dist/order/service.js.map +0 -1
  1322. package/dist/order/workflows.d.ts +0 -8
  1323. package/dist/order/workflows.d.ts.map +0 -1
  1324. package/dist/order/workflows.js +0 -3
  1325. package/dist/order/workflows.js.map +0 -1
  1326. package/dist/payment/common.d.ts +0 -585
  1327. package/dist/payment/common.d.ts.map +0 -1
  1328. package/dist/payment/common.js +0 -3
  1329. package/dist/payment/common.js.map +0 -1
  1330. package/dist/payment/index.d.ts +0 -5
  1331. package/dist/payment/index.d.ts.map +0 -1
  1332. package/dist/payment/index.js +0 -21
  1333. package/dist/payment/index.js.map +0 -1
  1334. package/dist/payment/mutations.d.ts +0 -353
  1335. package/dist/payment/mutations.d.ts.map +0 -1
  1336. package/dist/payment/mutations.js +0 -3
  1337. package/dist/payment/mutations.js.map +0 -1
  1338. package/dist/payment/provider.d.ts +0 -617
  1339. package/dist/payment/provider.d.ts.map +0 -1
  1340. package/dist/payment/provider.js +0 -3
  1341. package/dist/payment/provider.js.map +0 -1
  1342. package/dist/payment/service.d.ts +0 -1234
  1343. package/dist/payment/service.d.ts.map +0 -1
  1344. package/dist/payment/service.js +0 -3
  1345. package/dist/payment/service.js.map +0 -1
  1346. package/dist/pricing/common/index.d.ts +0 -8
  1347. package/dist/pricing/common/index.d.ts.map +0 -1
  1348. package/dist/pricing/common/index.js +0 -24
  1349. package/dist/pricing/common/index.js.map +0 -1
  1350. package/dist/pricing/common/money-amount.d.ts +0 -120
  1351. package/dist/pricing/common/money-amount.d.ts.map +0 -1
  1352. package/dist/pricing/common/money-amount.js +0 -3
  1353. package/dist/pricing/common/money-amount.js.map +0 -1
  1354. package/dist/pricing/common/price-list.d.ts +0 -345
  1355. package/dist/pricing/common/price-list.d.ts.map +0 -1
  1356. package/dist/pricing/common/price-list.js +0 -3
  1357. package/dist/pricing/common/price-list.js.map +0 -1
  1358. package/dist/pricing/common/price-preference.d.ts +0 -90
  1359. package/dist/pricing/common/price-preference.d.ts.map +0 -1
  1360. package/dist/pricing/common/price-preference.js +0 -3
  1361. package/dist/pricing/common/price-preference.js.map +0 -1
  1362. package/dist/pricing/common/price-rule.d.ts +0 -165
  1363. package/dist/pricing/common/price-rule.d.ts.map +0 -1
  1364. package/dist/pricing/common/price-rule.js +0 -3
  1365. package/dist/pricing/common/price-rule.js.map +0 -1
  1366. package/dist/pricing/common/price-set.d.ts +0 -289
  1367. package/dist/pricing/common/price-set.d.ts.map +0 -1
  1368. package/dist/pricing/common/price-set.js +0 -3
  1369. package/dist/pricing/common/price-set.js.map +0 -1
  1370. package/dist/pricing/common/price.d.ts +0 -138
  1371. package/dist/pricing/common/price.d.ts.map +0 -1
  1372. package/dist/pricing/common/price.js +0 -3
  1373. package/dist/pricing/common/price.js.map +0 -1
  1374. package/dist/pricing/common/pricing-context.d.ts +0 -11
  1375. package/dist/pricing/common/pricing-context.d.ts.map +0 -1
  1376. package/dist/pricing/common/pricing-context.js +0 -3
  1377. package/dist/pricing/common/pricing-context.js.map +0 -1
  1378. package/dist/pricing/index.d.ts +0 -4
  1379. package/dist/pricing/index.d.ts.map +0 -1
  1380. package/dist/pricing/index.js +0 -20
  1381. package/dist/pricing/index.js.map +0 -1
  1382. package/dist/pricing/service.d.ts +0 -1601
  1383. package/dist/pricing/service.d.ts.map +0 -1
  1384. package/dist/pricing/service.js +0 -3
  1385. package/dist/pricing/service.js.map +0 -1
  1386. package/dist/pricing/workflows.d.ts +0 -242
  1387. package/dist/pricing/workflows.d.ts.map +0 -1
  1388. package/dist/pricing/workflows.js +0 -3
  1389. package/dist/pricing/workflows.js.map +0 -1
  1390. package/dist/product/common.d.ts +0 -1643
  1391. package/dist/product/common.d.ts.map +0 -1
  1392. package/dist/product/common.js +0 -3
  1393. package/dist/product/common.js.map +0 -1
  1394. package/dist/product/index.d.ts +0 -3
  1395. package/dist/product/index.d.ts.map +0 -1
  1396. package/dist/product/index.js +0 -19
  1397. package/dist/product/index.js.map +0 -1
  1398. package/dist/product/service.d.ts +0 -2429
  1399. package/dist/product/service.d.ts.map +0 -1
  1400. package/dist/product/service.js +0 -3
  1401. package/dist/product/service.js.map +0 -1
  1402. package/dist/product-category/index.d.ts +0 -2
  1403. package/dist/product-category/index.d.ts.map +0 -1
  1404. package/dist/product-category/index.js +0 -18
  1405. package/dist/product-category/index.js.map +0 -1
  1406. package/dist/product-category/repository.d.ts +0 -6
  1407. package/dist/product-category/repository.d.ts.map +0 -1
  1408. package/dist/product-category/repository.js +0 -3
  1409. package/dist/product-category/repository.js.map +0 -1
  1410. package/dist/promotion/common/application-method.d.ts +0 -208
  1411. package/dist/promotion/common/application-method.d.ts.map +0 -1
  1412. package/dist/promotion/common/application-method.js +0 -3
  1413. package/dist/promotion/common/application-method.js.map +0 -1
  1414. package/dist/promotion/common/campaign-budget.d.ts +0 -73
  1415. package/dist/promotion/common/campaign-budget.d.ts.map +0 -1
  1416. package/dist/promotion/common/campaign-budget.js +0 -3
  1417. package/dist/promotion/common/campaign-budget.js.map +0 -1
  1418. package/dist/promotion/common/campaign.d.ts +0 -58
  1419. package/dist/promotion/common/campaign.d.ts.map +0 -1
  1420. package/dist/promotion/common/campaign.js +0 -3
  1421. package/dist/promotion/common/campaign.js.map +0 -1
  1422. package/dist/promotion/common/campaing-budget-usage.d.ts +0 -58
  1423. package/dist/promotion/common/campaing-budget-usage.d.ts.map +0 -1
  1424. package/dist/promotion/common/campaing-budget-usage.js +0 -3
  1425. package/dist/promotion/common/campaing-budget-usage.js.map +0 -1
  1426. package/dist/promotion/common/compute-actions.d.ts +0 -296
  1427. package/dist/promotion/common/compute-actions.d.ts.map +0 -1
  1428. package/dist/promotion/common/compute-actions.js +0 -3
  1429. package/dist/promotion/common/compute-actions.js.map +0 -1
  1430. package/dist/promotion/common/index.d.ts +0 -9
  1431. package/dist/promotion/common/index.d.ts.map +0 -1
  1432. package/dist/promotion/common/index.js +0 -25
  1433. package/dist/promotion/common/index.js.map +0 -1
  1434. package/dist/promotion/common/promotion-rule-value.d.ts +0 -47
  1435. package/dist/promotion/common/promotion-rule-value.d.ts.map +0 -1
  1436. package/dist/promotion/common/promotion-rule-value.js +0 -3
  1437. package/dist/promotion/common/promotion-rule-value.js.map +0 -1
  1438. package/dist/promotion/common/promotion-rule.d.ts +0 -106
  1439. package/dist/promotion/common/promotion-rule.d.ts.map +0 -1
  1440. package/dist/promotion/common/promotion-rule.js +0 -3
  1441. package/dist/promotion/common/promotion-rule.js.map +0 -1
  1442. package/dist/promotion/common/promotion.d.ts +0 -214
  1443. package/dist/promotion/common/promotion.d.ts.map +0 -1
  1444. package/dist/promotion/common/promotion.js +0 -3
  1445. package/dist/promotion/common/promotion.js.map +0 -1
  1446. package/dist/promotion/http.d.ts +0 -16
  1447. package/dist/promotion/http.d.ts.map +0 -1
  1448. package/dist/promotion/http.js +0 -3
  1449. package/dist/promotion/http.js.map +0 -1
  1450. package/dist/promotion/index.d.ts +0 -6
  1451. package/dist/promotion/index.d.ts.map +0 -1
  1452. package/dist/promotion/index.js +0 -22
  1453. package/dist/promotion/index.js.map +0 -1
  1454. package/dist/promotion/mutations.d.ts +0 -140
  1455. package/dist/promotion/mutations.d.ts.map +0 -1
  1456. package/dist/promotion/mutations.js +0 -3
  1457. package/dist/promotion/mutations.js.map +0 -1
  1458. package/dist/promotion/service.d.ts +0 -905
  1459. package/dist/promotion/service.d.ts.map +0 -1
  1460. package/dist/promotion/service.js +0 -3
  1461. package/dist/promotion/service.js.map +0 -1
  1462. package/dist/promotion/workflows.d.ts +0 -55
  1463. package/dist/promotion/workflows.d.ts.map +0 -1
  1464. package/dist/promotion/workflows.js +0 -3
  1465. package/dist/promotion/workflows.js.map +0 -1
  1466. package/dist/region/common.d.ts +0 -135
  1467. package/dist/region/common.d.ts.map +0 -1
  1468. package/dist/region/common.js +0 -3
  1469. package/dist/region/common.js.map +0 -1
  1470. package/dist/region/index.d.ts +0 -4
  1471. package/dist/region/index.d.ts.map +0 -1
  1472. package/dist/region/index.js +0 -20
  1473. package/dist/region/index.js.map +0 -1
  1474. package/dist/region/mutations.d.ts +0 -87
  1475. package/dist/region/mutations.d.ts.map +0 -1
  1476. package/dist/region/mutations.js +0 -3
  1477. package/dist/region/mutations.js.map +0 -1
  1478. package/dist/region/service.d.ts +0 -466
  1479. package/dist/region/service.d.ts.map +0 -1
  1480. package/dist/region/service.js +0 -3
  1481. package/dist/region/service.js.map +0 -1
  1482. package/dist/sales-channel/common.d.ts +0 -69
  1483. package/dist/sales-channel/common.d.ts.map +0 -1
  1484. package/dist/sales-channel/common.js +0 -3
  1485. package/dist/sales-channel/common.js.map +0 -1
  1486. package/dist/sales-channel/index.d.ts +0 -4
  1487. package/dist/sales-channel/index.d.ts.map +0 -1
  1488. package/dist/sales-channel/index.js +0 -20
  1489. package/dist/sales-channel/index.js.map +0 -1
  1490. package/dist/sales-channel/mutations.d.ts +0 -66
  1491. package/dist/sales-channel/mutations.d.ts.map +0 -1
  1492. package/dist/sales-channel/mutations.js +0 -3
  1493. package/dist/sales-channel/mutations.js.map +0 -1
  1494. package/dist/sales-channel/service.d.ts +0 -239
  1495. package/dist/sales-channel/service.d.ts.map +0 -1
  1496. package/dist/sales-channel/service.js +0 -3
  1497. package/dist/sales-channel/service.js.map +0 -1
  1498. package/dist/stock-location/common.d.ts +0 -430
  1499. package/dist/stock-location/common.d.ts.map +0 -1
  1500. package/dist/stock-location/common.js +0 -3
  1501. package/dist/stock-location/common.js.map +0 -1
  1502. package/dist/stock-location/index.d.ts +0 -3
  1503. package/dist/stock-location/index.d.ts.map +0 -1
  1504. package/dist/stock-location/index.js +0 -19
  1505. package/dist/stock-location/index.js.map +0 -1
  1506. package/dist/stock-location/service.d.ts +0 -326
  1507. package/dist/stock-location/service.d.ts.map +0 -1
  1508. package/dist/stock-location/service.js +0 -3
  1509. package/dist/stock-location/service.js.map +0 -1
  1510. package/dist/tax/common.d.ts +0 -475
  1511. package/dist/tax/common.d.ts.map +0 -1
  1512. package/dist/tax/common.js +0 -3
  1513. package/dist/tax/common.js.map +0 -1
  1514. package/dist/tax/index.d.ts +0 -5
  1515. package/dist/tax/index.d.ts.map +0 -1
  1516. package/dist/tax/index.js +0 -21
  1517. package/dist/tax/index.js.map +0 -1
  1518. package/dist/tax/mutations.d.ts +0 -262
  1519. package/dist/tax/mutations.d.ts.map +0 -1
  1520. package/dist/tax/mutations.js +0 -3
  1521. package/dist/tax/mutations.js.map +0 -1
  1522. package/dist/tax/provider.d.ts +0 -168
  1523. package/dist/tax/provider.d.ts.map +0 -1
  1524. package/dist/tax/provider.js +0 -3
  1525. package/dist/tax/provider.js.map +0 -1
  1526. package/dist/tax/service.d.ts +0 -775
  1527. package/dist/tax/service.d.ts.map +0 -1
  1528. package/dist/tax/service.js +0 -3
  1529. package/dist/tax/service.js.map +0 -1
  1530. package/dist/workflow/cart/create-cart.d.ts +0 -19
  1531. package/dist/workflow/cart/create-cart.d.ts.map +0 -1
  1532. package/dist/workflow/cart/create-cart.js +0 -3
  1533. package/dist/workflow/cart/create-cart.js.map +0 -1
  1534. package/dist/workflow/cart/index.d.ts +0 -2
  1535. package/dist/workflow/cart/index.d.ts.map +0 -1
  1536. package/dist/workflow/cart/index.js +0 -18
  1537. package/dist/workflow/cart/index.js.map +0 -1
  1538. package/dist/workflow/fulfillment/calculate-shipping-options-prices.d.ts +0 -31
  1539. package/dist/workflow/fulfillment/calculate-shipping-options-prices.d.ts.map +0 -1
  1540. package/dist/workflow/fulfillment/calculate-shipping-options-prices.js +0 -3
  1541. package/dist/workflow/fulfillment/calculate-shipping-options-prices.js.map +0 -1
  1542. package/dist/workflow/fulfillment/create-fulfillment.d.ts +0 -158
  1543. package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +0 -1
  1544. package/dist/workflow/fulfillment/create-fulfillment.js +0 -3
  1545. package/dist/workflow/fulfillment/create-fulfillment.js.map +0 -1
  1546. package/dist/workflow/fulfillment/create-shipment.d.ts +0 -19
  1547. package/dist/workflow/fulfillment/create-shipment.d.ts.map +0 -1
  1548. package/dist/workflow/fulfillment/create-shipment.js +0 -3
  1549. package/dist/workflow/fulfillment/create-shipment.js.map +0 -1
  1550. package/dist/workflow/fulfillment/create-shipping-options.d.ts +0 -116
  1551. package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +0 -1
  1552. package/dist/workflow/fulfillment/create-shipping-options.js +0 -3
  1553. package/dist/workflow/fulfillment/create-shipping-options.js.map +0 -1
  1554. package/dist/workflow/fulfillment/delete-shipping-options.d.ts +0 -10
  1555. package/dist/workflow/fulfillment/delete-shipping-options.d.ts.map +0 -1
  1556. package/dist/workflow/fulfillment/delete-shipping-options.js +0 -3
  1557. package/dist/workflow/fulfillment/delete-shipping-options.js.map +0 -1
  1558. package/dist/workflow/fulfillment/index.d.ts +0 -10
  1559. package/dist/workflow/fulfillment/index.d.ts.map +0 -1
  1560. package/dist/workflow/fulfillment/index.js +0 -26
  1561. package/dist/workflow/fulfillment/index.js.map +0 -1
  1562. package/dist/workflow/fulfillment/service-zones.d.ts +0 -60
  1563. package/dist/workflow/fulfillment/service-zones.d.ts.map +0 -1
  1564. package/dist/workflow/fulfillment/service-zones.js +0 -3
  1565. package/dist/workflow/fulfillment/service-zones.js.map +0 -1
  1566. package/dist/workflow/fulfillment/shipping-profiles.d.ts +0 -46
  1567. package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +0 -1
  1568. package/dist/workflow/fulfillment/shipping-profiles.js +0 -3
  1569. package/dist/workflow/fulfillment/shipping-profiles.js.map +0 -1
  1570. package/dist/workflow/fulfillment/update-fulfillment.d.ts +0 -42
  1571. package/dist/workflow/fulfillment/update-fulfillment.d.ts.map +0 -1
  1572. package/dist/workflow/fulfillment/update-fulfillment.js +0 -3
  1573. package/dist/workflow/fulfillment/update-fulfillment.js.map +0 -1
  1574. package/dist/workflow/fulfillment/update-shipping-options.d.ts +0 -154
  1575. package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +0 -1
  1576. package/dist/workflow/fulfillment/update-shipping-options.js +0 -3
  1577. package/dist/workflow/fulfillment/update-shipping-options.js.map +0 -1
  1578. package/dist/workflow/inventory/create-inventory-items.d.ts +0 -19
  1579. package/dist/workflow/inventory/create-inventory-items.d.ts.map +0 -1
  1580. package/dist/workflow/inventory/create-inventory-items.js +0 -3
  1581. package/dist/workflow/inventory/create-inventory-items.js.map +0 -1
  1582. package/dist/workflow/inventory/index.d.ts +0 -2
  1583. package/dist/workflow/inventory/index.d.ts.map +0 -1
  1584. package/dist/workflow/inventory/index.js +0 -18
  1585. package/dist/workflow/inventory/index.js.map +0 -1
  1586. package/dist/workflow/order/accept-transfer.d.ts +0 -14
  1587. package/dist/workflow/order/accept-transfer.d.ts.map +0 -1
  1588. package/dist/workflow/order/accept-transfer.js +0 -3
  1589. package/dist/workflow/order/accept-transfer.js.map +0 -1
  1590. package/dist/workflow/order/begin-claim-order.d.ts +0 -31
  1591. package/dist/workflow/order/begin-claim-order.d.ts.map +0 -1
  1592. package/dist/workflow/order/begin-claim-order.js +0 -3
  1593. package/dist/workflow/order/begin-claim-order.js.map +0 -1
  1594. package/dist/workflow/order/begin-exchange-order.d.ts +0 -26
  1595. package/dist/workflow/order/begin-exchange-order.d.ts.map +0 -1
  1596. package/dist/workflow/order/begin-exchange-order.js +0 -3
  1597. package/dist/workflow/order/begin-exchange-order.js.map +0 -1
  1598. package/dist/workflow/order/begin-order-edit.d.ts +0 -29
  1599. package/dist/workflow/order/begin-order-edit.d.ts.map +0 -1
  1600. package/dist/workflow/order/begin-order-edit.js +0 -3
  1601. package/dist/workflow/order/begin-order-edit.js.map +0 -1
  1602. package/dist/workflow/order/begin-return-order.d.ts +0 -30
  1603. package/dist/workflow/order/begin-return-order.d.ts.map +0 -1
  1604. package/dist/workflow/order/begin-return-order.js +0 -3
  1605. package/dist/workflow/order/begin-return-order.js.map +0 -1
  1606. package/dist/workflow/order/cancel-claim.d.ts +0 -18
  1607. package/dist/workflow/order/cancel-claim.d.ts.map +0 -1
  1608. package/dist/workflow/order/cancel-claim.js +0 -3
  1609. package/dist/workflow/order/cancel-claim.js.map +0 -1
  1610. package/dist/workflow/order/cancel-exchange.d.ts +0 -18
  1611. package/dist/workflow/order/cancel-exchange.d.ts.map +0 -1
  1612. package/dist/workflow/order/cancel-exchange.js +0 -3
  1613. package/dist/workflow/order/cancel-exchange.js.map +0 -1
  1614. package/dist/workflow/order/cancel-fulfillment.d.ts +0 -19
  1615. package/dist/workflow/order/cancel-fulfillment.d.ts.map +0 -1
  1616. package/dist/workflow/order/cancel-fulfillment.js +0 -3
  1617. package/dist/workflow/order/cancel-fulfillment.js.map +0 -1
  1618. package/dist/workflow/order/cancel-order.d.ts +0 -18
  1619. package/dist/workflow/order/cancel-order.d.ts.map +0 -1
  1620. package/dist/workflow/order/cancel-order.js +0 -3
  1621. package/dist/workflow/order/cancel-order.js.map +0 -1
  1622. package/dist/workflow/order/cancel-return.d.ts +0 -18
  1623. package/dist/workflow/order/cancel-return.d.ts.map +0 -1
  1624. package/dist/workflow/order/cancel-return.js +0 -3
  1625. package/dist/workflow/order/cancel-return.js.map +0 -1
  1626. package/dist/workflow/order/cancel-transfer.d.ts +0 -18
  1627. package/dist/workflow/order/cancel-transfer.d.ts.map +0 -1
  1628. package/dist/workflow/order/cancel-transfer.js +0 -3
  1629. package/dist/workflow/order/cancel-transfer.js.map +0 -1
  1630. package/dist/workflow/order/create-fulfillment.d.ts +0 -65
  1631. package/dist/workflow/order/create-fulfillment.d.ts.map +0 -1
  1632. package/dist/workflow/order/create-fulfillment.js +0 -3
  1633. package/dist/workflow/order/create-fulfillment.js.map +0 -1
  1634. package/dist/workflow/order/create-return-order.d.ts +0 -85
  1635. package/dist/workflow/order/create-return-order.d.ts.map +0 -1
  1636. package/dist/workflow/order/create-return-order.js +0 -3
  1637. package/dist/workflow/order/create-return-order.js.map +0 -1
  1638. package/dist/workflow/order/create-shipment.d.ts +0 -51
  1639. package/dist/workflow/order/create-shipment.d.ts.map +0 -1
  1640. package/dist/workflow/order/create-shipment.js +0 -3
  1641. package/dist/workflow/order/create-shipment.js.map +0 -1
  1642. package/dist/workflow/order/decline-transfer.d.ts +0 -14
  1643. package/dist/workflow/order/decline-transfer.d.ts.map +0 -1
  1644. package/dist/workflow/order/decline-transfer.js +0 -3
  1645. package/dist/workflow/order/decline-transfer.js.map +0 -1
  1646. package/dist/workflow/order/index.d.ts +0 -23
  1647. package/dist/workflow/order/index.d.ts.map +0 -1
  1648. package/dist/workflow/order/index.js +0 -39
  1649. package/dist/workflow/order/index.js.map +0 -1
  1650. package/dist/workflow/order/items.d.ts +0 -323
  1651. package/dist/workflow/order/items.d.ts.map +0 -1
  1652. package/dist/workflow/order/items.js +0 -3
  1653. package/dist/workflow/order/items.js.map +0 -1
  1654. package/dist/workflow/order/receive-return.d.ts +0 -120
  1655. package/dist/workflow/order/receive-return.d.ts.map +0 -1
  1656. package/dist/workflow/order/receive-return.js +0 -3
  1657. package/dist/workflow/order/receive-return.js.map +0 -1
  1658. package/dist/workflow/order/request-item-return.d.ts +0 -140
  1659. package/dist/workflow/order/request-item-return.d.ts.map +0 -1
  1660. package/dist/workflow/order/request-item-return.js +0 -3
  1661. package/dist/workflow/order/request-item-return.js.map +0 -1
  1662. package/dist/workflow/order/request-transfer.d.ts +0 -24
  1663. package/dist/workflow/order/request-transfer.d.ts.map +0 -1
  1664. package/dist/workflow/order/request-transfer.js +0 -3
  1665. package/dist/workflow/order/request-transfer.js.map +0 -1
  1666. package/dist/workflow/order/shipping-method.d.ts +0 -198
  1667. package/dist/workflow/order/shipping-method.d.ts.map +0 -1
  1668. package/dist/workflow/order/shipping-method.js +0 -3
  1669. package/dist/workflow/order/shipping-method.js.map +0 -1
  1670. package/dist/workflow/order/update-order.d.ts +0 -44
  1671. package/dist/workflow/order/update-order.d.ts.map +0 -1
  1672. package/dist/workflow/order/update-order.js +0 -3
  1673. package/dist/workflow/order/update-order.js.map +0 -1
  1674. package/dist/workflow/order/update-return.d.ts +0 -22
  1675. package/dist/workflow/order/update-return.d.ts.map +0 -1
  1676. package/dist/workflow/order/update-return.js +0 -3
  1677. package/dist/workflow/order/update-return.js.map +0 -1
  1678. package/dist/workflow/price-list/create-price-list.d.ts +0 -66
  1679. package/dist/workflow/price-list/create-price-list.d.ts.map +0 -1
  1680. package/dist/workflow/price-list/create-price-list.js +0 -3
  1681. package/dist/workflow/price-list/create-price-list.js.map +0 -1
  1682. package/dist/workflow/price-list/index.d.ts +0 -3
  1683. package/dist/workflow/price-list/index.d.ts.map +0 -1
  1684. package/dist/workflow/price-list/index.js +0 -19
  1685. package/dist/workflow/price-list/index.js.map +0 -1
  1686. package/dist/workflow/price-list/remove-price-list.d.ts +0 -4
  1687. package/dist/workflow/price-list/remove-price-list.d.ts.map +0 -1
  1688. package/dist/workflow/price-list/remove-price-list.js +0 -3
  1689. package/dist/workflow/price-list/remove-price-list.js.map +0 -1
  1690. package/dist/workflow/pricing/index.d.ts +0 -31
  1691. package/dist/workflow/pricing/index.d.ts.map +0 -1
  1692. package/dist/workflow/pricing/index.js +0 -3
  1693. package/dist/workflow/pricing/index.js.map +0 -1
  1694. package/dist/workflow/product/create-product-variants.d.ts +0 -26
  1695. package/dist/workflow/product/create-product-variants.d.ts.map +0 -1
  1696. package/dist/workflow/product/create-product-variants.js +0 -3
  1697. package/dist/workflow/product/create-product-variants.js.map +0 -1
  1698. package/dist/workflow/product/create-products.d.ts +0 -82
  1699. package/dist/workflow/product/create-products.d.ts.map +0 -1
  1700. package/dist/workflow/product/create-products.js +0 -3
  1701. package/dist/workflow/product/create-products.js.map +0 -1
  1702. package/dist/workflow/product/export-products.d.ts +0 -21
  1703. package/dist/workflow/product/export-products.d.ts.map +0 -1
  1704. package/dist/workflow/product/export-products.js +0 -3
  1705. package/dist/workflow/product/export-products.js.map +0 -1
  1706. package/dist/workflow/product/import-products.d.ts +0 -18
  1707. package/dist/workflow/product/import-products.d.ts.map +0 -1
  1708. package/dist/workflow/product/import-products.js +0 -3
  1709. package/dist/workflow/product/import-products.js.map +0 -1
  1710. package/dist/workflow/product/index.d.ts +0 -7
  1711. package/dist/workflow/product/index.d.ts.map +0 -1
  1712. package/dist/workflow/product/index.js +0 -23
  1713. package/dist/workflow/product/index.js.map +0 -1
  1714. package/dist/workflow/product/update-product-variants.d.ts +0 -37
  1715. package/dist/workflow/product/update-product-variants.d.ts.map +0 -1
  1716. package/dist/workflow/product/update-product-variants.js +0 -3
  1717. package/dist/workflow/product/update-product-variants.js.map +0 -1
  1718. package/dist/workflow/product/update-products.d.ts +0 -78
  1719. package/dist/workflow/product/update-products.d.ts.map +0 -1
  1720. package/dist/workflow/product/update-products.js +0 -3
  1721. package/dist/workflow/product/update-products.js.map +0 -1
  1722. package/dist/workflow/product-category/index.d.ts +0 -31
  1723. package/dist/workflow/product-category/index.d.ts.map +0 -1
  1724. package/dist/workflow/product-category/index.js +0 -3
  1725. package/dist/workflow/product-category/index.js.map +0 -1
  1726. package/dist/workflow/region/create-regions.d.ts +0 -26
  1727. package/dist/workflow/region/create-regions.d.ts.map +0 -1
  1728. package/dist/workflow/region/create-regions.js +0 -3
  1729. package/dist/workflow/region/create-regions.js.map +0 -1
  1730. package/dist/workflow/region/index.d.ts +0 -3
  1731. package/dist/workflow/region/index.d.ts.map +0 -1
  1732. package/dist/workflow/region/index.js +0 -19
  1733. package/dist/workflow/region/index.js.map +0 -1
  1734. package/dist/workflow/region/update-regions.d.ts +0 -10
  1735. package/dist/workflow/region/update-regions.d.ts.map +0 -1
  1736. package/dist/workflow/region/update-regions.js +0 -3
  1737. package/dist/workflow/region/update-regions.js.map +0 -1
  1738. package/dist/workflow/reservation/create-reservations.d.ts +0 -15
  1739. package/dist/workflow/reservation/create-reservations.d.ts.map +0 -1
  1740. package/dist/workflow/reservation/create-reservations.js +0 -3
  1741. package/dist/workflow/reservation/create-reservations.js.map +0 -1
  1742. package/dist/workflow/reservation/index.d.ts +0 -3
  1743. package/dist/workflow/reservation/index.d.ts.map +0 -1
  1744. package/dist/workflow/reservation/index.js +0 -19
  1745. package/dist/workflow/reservation/index.js.map +0 -1
  1746. package/dist/workflow/reservation/update-reservations.d.ts +0 -15
  1747. package/dist/workflow/reservation/update-reservations.d.ts.map +0 -1
  1748. package/dist/workflow/reservation/update-reservations.js +0 -3
  1749. package/dist/workflow/reservation/update-reservations.js.map +0 -1
  1750. package/dist/workflows/products/index.d.ts +0 -2
  1751. package/dist/workflows/products/index.d.ts.map +0 -1
  1752. package/dist/workflows/products/index.js +0 -18
  1753. package/dist/workflows/products/index.js.map +0 -1
  1754. package/dist/workflows/products/mutations.d.ts +0 -45
  1755. package/dist/workflows/products/mutations.d.ts.map +0 -1
  1756. package/dist/workflows/products/mutations.js +0 -3
  1757. package/dist/workflows/products/mutations.js.map +0 -1
  1758. package/dist/workflows/stock-locations/index.d.ts +0 -2
  1759. package/dist/workflows/stock-locations/index.d.ts.map +0 -1
  1760. package/dist/workflows/stock-locations/index.js +0 -18
  1761. package/dist/workflows/stock-locations/index.js.map +0 -1
  1762. package/dist/workflows/stock-locations/mutations.d.ts +0 -23
  1763. package/dist/workflows/stock-locations/mutations.d.ts.map +0 -1
  1764. package/dist/workflows/stock-locations/mutations.js +0 -3
  1765. package/dist/workflows/stock-locations/mutations.js.map +0 -1
@@ -1,2429 +0,0 @@
1
- import { RestoreReturn, SoftDeleteReturn } from "../dal";
2
- import { CreateProductCategoryDTO, CreateProductCollectionDTO, CreateProductDTO, CreateProductOptionDTO, CreateProductOptionValueDTO, CreateProductTagDTO, CreateProductTypeDTO, CreateProductVariantDTO, FilterableProductCategoryProps, FilterableProductCollectionProps, FilterableProductOptionProps, FilterableProductOptionValueProps, FilterableProductProps, FilterableProductTagProps, FilterableProductTypeProps, FilterableProductVariantProps, ProductCategoryDTO, ProductCollectionDTO, ProductDTO, ProductOptionDTO, ProductOptionValueDTO, ProductTagDTO, ProductTypeDTO, ProductVariantDTO, UpdateProductCategoryDTO, UpdateProductCollectionDTO, UpdateProductDTO, UpdateProductOptionDTO, UpdateProductOptionValueDTO, UpdateProductTagDTO, UpdateProductTypeDTO, UpdateProductVariantDTO, UpsertProductCategoryDTO, UpsertProductCollectionDTO, UpsertProductDTO, UpsertProductOptionDTO, UpsertProductTagDTO, UpsertProductTypeDTO, UpsertProductVariantDTO } from "./common";
3
- import { FindConfig } from "../common";
4
- import { IModuleService } from "../modules-sdk";
5
- import { Context } from "../shared-context";
6
- /**
7
- * The main service interface for the Product Module.
8
- */
9
- export interface IProductModuleService extends IModuleService {
10
- /**
11
- * This method is used to retrieve a product by its ID
12
- *
13
- * @param {string} productId - The ID of the product to retrieve.
14
- * @param {FindConfig<ProductDTO>} config -
15
- * The configurations determining how the product is retrieved. Its properties, such as `select` or `relations`, accept the
16
- * attributes or relations associated with a product.
17
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
18
- * @returns {Promise<ProductDTO>} The retrieved product.
19
- *
20
- * @example
21
- * A simple example that retrieves a product by its ID:
22
- *
23
- * ```ts
24
- * const product =
25
- * await productModuleService.retrieveProduct("prod_123")
26
- * ```
27
- *
28
- * To specify relations that should be retrieved:
29
- *
30
- * :::note
31
- *
32
- * You can only retrieve data models defined in the same module. To retrieve linked data models
33
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
34
- *
35
- * :::
36
- *
37
- * ```ts
38
- * const product = await productModuleService.retrieveProduct(
39
- * "prod_123",
40
- * {
41
- * relations: ["categories"],
42
- * }
43
- * )
44
- * ```
45
- */
46
- retrieveProduct(productId: string, config?: FindConfig<ProductDTO>, sharedContext?: Context): Promise<ProductDTO>;
47
- /**
48
- * This method is used to retrieve a paginated list of products based on optional filters and configuration.
49
- *
50
- * @param {FilterableProductProps} filters - The filters to apply on the retrieved products.
51
- * @param {FindConfig<ProductDTO>} config -
52
- * The configurations determining how the products are retrieved. Its properties, such as `select` or `relations`, accept the
53
- * attributes or relations associated with a product.
54
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
55
- * @returns {Promise<ProductDTO[]>} The list of products.
56
- *
57
- * @example
58
- * To retrieve a list of products using their IDs:
59
- *
60
- * ```ts
61
- * const products = await productModuleService.listProducts({
62
- * id: ["prod_123", "prod_321"],
63
- * })
64
- * ```
65
- *
66
- * To specify relations that should be retrieved within the products:
67
- *
68
- * :::note
69
- *
70
- * You can only retrieve data models defined in the same module. To retrieve linked data models
71
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
72
- *
73
- * :::
74
- *
75
- * ```ts
76
- * const products = await productModuleService.listProducts(
77
- * {
78
- * id: ["prod_123", "prod_321"],
79
- * },
80
- * {
81
- * relations: ["categories"],
82
- * }
83
- * )
84
- * ```
85
- *
86
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
87
- *
88
- * ```ts
89
- * const products = await productModuleService.listProducts(
90
- * {
91
- * id: ["prod_123", "prod_321"],
92
- * },
93
- * {
94
- * relations: ["categories"],
95
- * take: 20,
96
- * skip: 2,
97
- * }
98
- * )
99
- * ```
100
- */
101
- listProducts(filters?: FilterableProductProps, config?: FindConfig<ProductDTO>, sharedContext?: Context): Promise<ProductDTO[]>;
102
- /**
103
- * This method is used to retrieve a paginated list of products along with the total count of available products satisfying the provided filters.
104
- *
105
- * @param {FilterableProductProps} filters - The filters to apply on the retrieved products.
106
- * @param {FindConfig<ProductDTO>} config -
107
- * The configurations determining how the products are retrieved. Its properties, such as `select` or `relations`, accept the
108
- * attributes or relations associated with a product.
109
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
110
- * @returns {Promise<ProductDTO[]>} The list of products along with the total count.
111
- *
112
- * @example
113
- * To retrieve a list of products using their IDs:
114
- *
115
- * ```ts
116
- * const [products, count] =
117
- * await productModuleService.listAndCountProducts({
118
- * id: ["prod_123", "prod_321"],
119
- * })
120
- * ```
121
- *
122
- * To specify relations that should be retrieved within the products:
123
- *
124
- * :::note
125
- *
126
- * You can only retrieve data models defined in the same module. To retrieve linked data models
127
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
128
- *
129
- * :::
130
- *
131
- * ```ts
132
- * const [products, count] =
133
- * await productModuleService.listAndCountProducts(
134
- * {
135
- * id: ["prod_123", "prod_321"],
136
- * },
137
- * {
138
- * relations: ["categories"],
139
- * }
140
- * )
141
- * ```
142
- *
143
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
144
- *
145
- * ```ts
146
- * const [products, count] =
147
- * await productModuleService.listAndCountProducts(
148
- * {
149
- * id: ["prod_123", "prod_321"],
150
- * },
151
- * {
152
- * relations: ["categories"],
153
- * take: 20,
154
- * skip: 2,
155
- * }
156
- * )
157
- * ```
158
- */
159
- listAndCountProducts(filters?: FilterableProductProps, config?: FindConfig<ProductDTO>, sharedContext?: Context): Promise<[ProductDTO[], number]>;
160
- /**
161
- * This method is used to create a list of products.
162
- *
163
- * @param {CreateProductDTO[]} data - The products to be created.
164
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
165
- * @returns {Promise<ProductDTO[]>} The list of created products.
166
- *
167
- * @example
168
- * const products = await productModuleService.createProducts([
169
- * {
170
- * title: "Shirt",
171
- * },
172
- * {
173
- * title: "Pants",
174
- * handle: "pants",
175
- * },
176
- * ])
177
- */
178
- createProducts(data: CreateProductDTO[], sharedContext?: Context): Promise<ProductDTO[]>;
179
- /**
180
- * This method is used to create a product.
181
- *
182
- * @param {CreateProductDTO} data - The product to be created.
183
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
184
- * @returns {Promise<ProductDTO>} The created product.
185
- *
186
- * @example
187
- * const product = await productModuleService.createProducts({
188
- * title: "Shirt",
189
- * })
190
- */
191
- createProducts(data: CreateProductDTO, sharedContext?: Context): Promise<ProductDTO>;
192
- /**
193
- * This method updates existing products, or creates new ones if they don't exist.
194
- *
195
- * @param {UpsertProductDTO[]} data - The attributes to update or create for each product.
196
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
197
- * @returns {Promise<ProductDTO[]>} The updated and created products.
198
- *
199
- * @example
200
- * const products = await productModuleService.upsertProducts([
201
- * {
202
- * id: "prod_123",
203
- * handle: "pant",
204
- * },
205
- * {
206
- * title: "Shirt",
207
- * },
208
- * ])
209
- */
210
- upsertProducts(data: UpsertProductDTO[], sharedContext?: Context): Promise<ProductDTO[]>;
211
- /**
212
- * This method updates the product if it exists, or creates a new ones if it doesn't.
213
- *
214
- * @param {UpsertProductDTO} data - The attributes to update or create for the new product.
215
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
216
- * @returns {Promise<ProductDTO>} The updated or created product.
217
- *
218
- * @example
219
- * const product = await productModuleService.upsertProducts({
220
- * title: "Shirt",
221
- * })
222
- */
223
- upsertProducts(data: UpsertProductDTO, sharedContext?: Context): Promise<ProductDTO>;
224
- /**
225
- * This method is used to update a product.
226
- *
227
- * @param {string} id - The ID of the product to be updated.
228
- * @param {UpdateProductDTO} data - The attributes of the product to be updated
229
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
230
- * @returns {Promise<ProductDTO>} The updated product.
231
- *
232
- * @example
233
- * const product = await productModuleService.updateProducts(
234
- * "prod_123",
235
- * {
236
- * handle: "pant",
237
- * }
238
- * )
239
- */
240
- updateProducts(id: string, data: UpdateProductDTO, sharedContext?: Context): Promise<ProductDTO>;
241
- /**
242
- * This method is used to update a list of products matching the specified filters.
243
- *
244
- * @param {FilterableProductProps} selector - The filters specifying which products to update.
245
- * @param {UpdateProductDTO} data - The attributes to be updated on the selected products
246
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
247
- * @returns {Promise<ProductDTO[]>} The updated products.
248
- *
249
- * @example
250
- * const products = await productModuleService.updateProducts(
251
- * {
252
- * title: "Pant",
253
- * },
254
- * {
255
- * handle: "pant",
256
- * }
257
- * )
258
- */
259
- updateProducts(selector: FilterableProductProps, data: UpdateProductDTO, sharedContext?: Context): Promise<ProductDTO[]>;
260
- /**
261
- * This method is used to delete products. Unlike the {@link softDelete} method, this method will completely remove the products and they can no longer be accessed or retrieved.
262
- *
263
- * @param {string[]} productIds - The IDs of the products to be deleted.
264
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
265
- * @returns {Promise<void>} Resolves when the products are successfully deleted.
266
- *
267
- * @example
268
- * await productModuleService.deleteProducts(["prod_123", "prod_321"])
269
- */
270
- deleteProducts(productIds: string[], sharedContext?: Context): Promise<void>;
271
- /**
272
- * This method is used to delete products. Unlike the {@link delete} method, this method won't completely remove the product. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
273
- *
274
- * The soft-deleted products can be restored using the {@link restore} method.
275
- *
276
- * @param {string[]} productIds - The IDs of the products to soft-delete.
277
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
278
- * Configurations determining which relations to soft delete along with the each of the products. You can pass to its `returnLinkableKeys`
279
- * property any of the product's relation attribute names, such as `variant_id`.
280
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
281
- * @returns {Promise<Record<string, string[]> | void>}
282
- * An object that includes the IDs of related records that were also soft deleted, such as the ID of associated product variants. The object's keys are the ID attribute names of the product entity's relations, such as `variant_id`, and its value is an array of strings, each being the ID of a record associated with the product through this relation, such as the IDs of associated product variants.
283
- *
284
- * If there are no related records, the promise resolved to `void`.
285
- *
286
- * @example
287
- * await productModuleService.softDeleteProducts([
288
- * "prod_123",
289
- * "prod_321",
290
- * ])
291
- */
292
- softDeleteProducts<TReturnableLinkableKeys extends string = string>(productIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
293
- /**
294
- * This method is used to restore products which were deleted using the {@link softDelete} method.
295
- *
296
- * @param {string[]} productIds - The IDs of the products to restore.
297
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
298
- * Configurations determining which relations to restore along with each of the products. You can pass to its `returnLinkableKeys`
299
- * property any of the product's relation attribute names, such as `variant_id`.
300
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
301
- * @returns {Promise<Record<string, string[]> | void>}
302
- * An object that includes the IDs of related records that were restored, such as the ID of associated product variants. The object's keys are the ID attribute names of the product entity's relations, such as `variant_id`, and its value is an array of strings, each being the ID of the record associated with the product through this relation, such as the IDs of associated product variants.
303
- *
304
- * If there are no related records that were restored, the promise resolved to `void`.
305
- *
306
- * @example
307
- * await productModuleService.restoreProducts(["prod_123", "prod_321"])
308
- */
309
- restoreProducts<TReturnableLinkableKeys extends string = string>(productIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
310
- /**
311
- * This method is used to retrieve a tag by its ID.
312
- *
313
- * @param {string} tagId - The ID of the tag to retrieve.
314
- * @param {FindConfig<ProductTagDTO>} config -
315
- * The configurations determining how the product tag is retrieved. Its properties, such as `select` or `relations`, accept the
316
- * attributes or relations associated with a product tag.
317
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
318
- * @returns {Promise<ProductTagDTO>} The retrieved product tag.
319
- *
320
- * @example
321
- * A simple example that retrieves a product tag by its ID:
322
- *
323
- * ```ts
324
- * const tag = await productModuleService.retrieveProductTag("ptag_123")
325
- * ```
326
- *
327
- * To specify relations that should be retrieved:
328
- *
329
- * :::note
330
- *
331
- * You can only retrieve data models defined in the same module. To retrieve linked data models
332
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
333
- *
334
- * :::
335
- *
336
- * ```ts
337
- * const tag = await productModuleService.retrieveProductTag(
338
- * "ptag_123",
339
- * {
340
- * relations: ["products"],
341
- * }
342
- * )
343
- * ```
344
- */
345
- retrieveProductTag(tagId: string, config?: FindConfig<ProductTagDTO>, sharedContext?: Context): Promise<ProductTagDTO>;
346
- /**
347
- * This method is used to retrieve a paginated list of tags based on optional filters and configuration.
348
- *
349
- * @param {FilterableProductTagProps} filters - The filters applied on the retrieved product tags.
350
- * @param {FindConfig<ProductTagDTO>} config -
351
- * The configurations determining how the product tags are retrieved. Its properties, such as `select` or `relations`, accept the
352
- * attributes or relations associated with a product tag.
353
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
354
- * @returns {Promise<ProductTagDTO[]>} The list of product tags.
355
- *
356
- * @example
357
- * To retrieve a list of product tags using their IDs:
358
- *
359
- * ```ts
360
- * const tags = await productModuleService.listProductTags({
361
- * id: ["ptag_123", "ptag_321"],
362
- * })
363
- * ```
364
- *
365
- * To specify relations that should be retrieved within the product tags:
366
- *
367
- * :::note
368
- *
369
- * You can only retrieve data models defined in the same module. To retrieve linked data models
370
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
371
- *
372
- * :::
373
- *
374
- * ```ts
375
- * const tags = await productModuleService.listProductTags(
376
- * {
377
- * id: ["ptag_123", "ptag_321"],
378
- * },
379
- * {
380
- * relations: ["products"],
381
- * }
382
- * )
383
- * ```
384
- *
385
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
386
- *
387
- * ```ts
388
- * const tags = await productModuleService.listProductTags(
389
- * {
390
- * id: ["ptag_123", "ptag_321"],
391
- * },
392
- * {
393
- * relations: ["products"],
394
- * take: 20,
395
- * skip: 2,
396
- * }
397
- * )
398
- * ```
399
- */
400
- listProductTags(filters?: FilterableProductTagProps, config?: FindConfig<ProductTagDTO>, sharedContext?: Context): Promise<ProductTagDTO[]>;
401
- /**
402
- * This method is used to retrieve a paginated list of product tags along with the total count of available product tags satisfying the provided filters.
403
- *
404
- * @param {FilterableProductTagProps} filters - The filters applied on the retrieved product tags.
405
- * @param {FindConfig<ProductTagDTO>} config -
406
- * The configurations determining how the product tags are retrieved. Its properties, such as `select` or `relations`, accept the
407
- * attributes or relations associated with a product tag.
408
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
409
- * @returns {Promise<[ProductTagDTO[], number]>} The list of product tags along with the total count.
410
- *
411
- * @example
412
- * To retrieve a list of product tags using their IDs:
413
- *
414
- * ```ts
415
- * const [tags, count] =
416
- * await productModuleService.listAndCountProductTags({
417
- * id: ["ptag_123", "ptag_321"],
418
- * })
419
- * ```
420
- *
421
- * To specify relations that should be retrieved within the product tags:
422
- *
423
- * :::note
424
- *
425
- * You can only retrieve data models defined in the same module. To retrieve linked data models
426
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
427
- *
428
- * :::
429
- *
430
- * ```ts
431
- * const [tags, count] =
432
- * await productModuleService.listAndCountProductTags(
433
- * {
434
- * id: ["ptag_123", "ptag_321"],
435
- * },
436
- * {
437
- * relations: ["products"],
438
- * }
439
- * )
440
- * ```
441
- *
442
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
443
- *
444
- * ```ts
445
- * const [tags, count] =
446
- * await productModuleService.listAndCountProductTags(
447
- * {
448
- * id: ["ptag_123", "ptag_321"],
449
- * },
450
- * {
451
- * relations: ["products"],
452
- * take: 20,
453
- * skip: 2,
454
- * }
455
- * )
456
- * ```
457
- */
458
- listAndCountProductTags(filters?: FilterableProductTagProps, config?: FindConfig<ProductTagDTO>, sharedContext?: Context): Promise<[ProductTagDTO[], number]>;
459
- /**
460
- * This method is used to create a product tag.
461
- *
462
- * @param {CreateProductTagDTO[]} data - The product tags to be created.
463
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
464
- * @return {Promise<ProductTagDTO[]>} The list of created product tags.
465
- *
466
- * @example
467
- * const productTags = await productModuleService.createProductTags([
468
- * {
469
- * value: "digital",
470
- * },
471
- * ])
472
- */
473
- createProductTags(data: CreateProductTagDTO[], sharedContext?: Context): Promise<ProductTagDTO[]>;
474
- /**
475
- * This method is used to create a product tag.
476
- *
477
- * @param {CreateProductTagDTO} data - The product tag to be created.
478
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
479
- * @returns {Promise<ProductTagDTO>} The created product tag.
480
- *
481
- * @example
482
- * const productTag = await productModuleService.createProductTags({
483
- * value: "digital",
484
- * })
485
- *
486
- */
487
- createProductTags(data: CreateProductTagDTO, sharedContext?: Context): Promise<ProductTagDTO>;
488
- /**
489
- * This method updates existing tags, or creates new ones if they don't exist.
490
- *
491
- * @param {UpsertProductTagDTO[]} data - The attributes to update or create for each tag.
492
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
493
- * @returns {Promise<ProductTagDTO[]>} The updated and created tags.
494
- *
495
- * @example
496
- * const productTags = await productModuleService.upsertProductTags([
497
- * {
498
- * id: "ptag_123",
499
- * metadata: {
500
- * test: true,
501
- * },
502
- * },
503
- * {
504
- * value: "Digital",
505
- * },
506
- * ])
507
- */
508
- upsertProductTags(data: UpsertProductTagDTO[], sharedContext?: Context): Promise<ProductTagDTO[]>;
509
- /**
510
- * This method updates an existing tag, or creates a new one if it doesn't exist.
511
- *
512
- * @param {UpsertProductTagDTO} data - The attributes to update or create for the tag.
513
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
514
- * @returns {Promise<ProductTagDTO>} The updated or created tag.
515
- *
516
- * @example
517
- * const productTag = await productModuleService.upsertProductTags({
518
- * id: "ptag_123",
519
- * metadata: {
520
- * test: true,
521
- * },
522
- * })
523
- */
524
- upsertProductTags(data: UpsertProductTagDTO, sharedContext?: Context): Promise<ProductTagDTO>;
525
- /**
526
- * This method is used to update a tag.
527
- *
528
- * @param {string} id - The ID of the tag to be updated.
529
- * @param {UpdateProductTagDTO} data - The attributes of the tag to be updated
530
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
531
- * @returns {Promise<ProductTagDTO>} The updated tag.
532
- *
533
- * @example
534
- * const productTag = await productModuleService.updateProductTags(
535
- * "ptag_123",
536
- * {
537
- * value: "Digital",
538
- * }
539
- * )
540
- */
541
- updateProductTags(id: string, data: UpdateProductTagDTO, sharedContext?: Context): Promise<ProductTagDTO>;
542
- /**
543
- * This method is used to update a list of tags matching the specified filters.
544
- *
545
- * @param {FilterableProductTagProps} selector - The filters specifying which tags to update.
546
- * @param {UpdateProductTagDTO} data - The attributes to be updated on the selected tags
547
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
548
- * @returns {Promise<ProductTagDTO[]>} The updated tags.
549
- *
550
- * @example
551
- * const productTags = await productModuleService.updateProductTags(
552
- * {
553
- * id: ["ptag_123", "ptag_321"],
554
- * },
555
- * {
556
- * value: "Digital",
557
- * }
558
- * )
559
- */
560
- updateProductTags(selector: FilterableProductTagProps, data: UpdateProductTagDTO, sharedContext?: Context): Promise<ProductTagDTO[]>;
561
- /**
562
- * This method is used to delete product tags by their ID.
563
- *
564
- * @param {string[]} productTagIds - The IDs of the product tags to be deleted.
565
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
566
- * @returns {Promise<void>} Resolves when the product tags are successfully deleted.
567
- *
568
- * @example
569
- * await productModuleService.deleteProductTags([
570
- * "ptag_123",
571
- * "ptag_321",
572
- * ])
573
- */
574
- deleteProductTags(productTagIds: string[], sharedContext?: Context): Promise<void>;
575
- /**
576
- * This method is used to delete tags. Unlike the {@link delete} method, this method won't completely remove the tag. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
577
- *
578
- * The soft-deleted tags can be restored using the {@link restore} method.
579
- *
580
- * @param {string[]} tagIds - The IDs of the tags to soft-delete.
581
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
582
- * Configurations determining which relations to soft delete along with the each of the tags. You can pass to its `returnLinkableKeys`
583
- * property any of the tag's relation attribute names.
584
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
585
- * @returns {Promise<Record<string, string[]> | void>}
586
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the tag entity's relations, and its value is an array of strings, each being the ID of a record associated with the tag through this relation.
587
- *
588
- * If there are no related records, the promise resolved to `void`.
589
- *
590
- * @example
591
- * await productModuleService.softDeleteProductTags([
592
- * "ptag_123",
593
- * "ptag_321",
594
- * ])
595
- */
596
- softDeleteProductTags<TReturnableLinkableKeys extends string = string>(tagIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
597
- /**
598
- * This method is used to restore tags which were deleted using the {@link softDelete} method.
599
- *
600
- * @param {string[]} tagIds - The IDs of the tags to restore.
601
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
602
- * Configurations determining which relations to restore along with each of the tags. You can pass to its `returnLinkableKeys`
603
- * property any of the tag's relation attribute names.
604
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
605
- * @returns {Promise<Record<string, string[]> | void>}
606
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the tag entity's relations, and its value is an array of strings, each being the ID of the record associated with the tag through this relation.
607
- *
608
- * If there are no related records that were restored, the promise resolved to `void`.
609
- *
610
- * @example
611
- * await productModuleService.restoreProductTags([
612
- * "ptag_123",
613
- * "ptag_321",
614
- * ])
615
- */
616
- restoreProductTags<TReturnableLinkableKeys extends string = string>(tagIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
617
- /**
618
- * This method is used to retrieve a product type by its ID.
619
- *
620
- * @param {string} typeId - The ID of the product type to retrieve.
621
- * @param {FindConfig<ProductTypeDTO>} config -
622
- * The configurations determining how the product type is retrieved. Its properties, such as `select` or `relations`, accept the
623
- * attributes or relations associated with a product type.
624
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
625
- * @returns {Promise<ProductTypeDTO>} The retrieved product type.
626
- *
627
- * @example
628
- * const productType =
629
- * await productModuleService.retrieveProductType("ptyp_123")
630
- */
631
- retrieveProductType(typeId: string, config?: FindConfig<ProductTypeDTO>, sharedContext?: Context): Promise<ProductTypeDTO>;
632
- /**
633
- * This method is used to retrieve a paginated list of product types based on optional filters and configuration.
634
- *
635
- * @param {FilterableProductTypeProps} filters - The filters to apply on the retrieved product types.
636
- * @param {FindConfig<ProductTypeDTO>} config -
637
- * The configurations determining how the product types are retrieved. Its properties, such as `select` or `relations`, accept the
638
- * attributes or relations associated with a product type.
639
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
640
- * @returns {Promise<ProductTypeDTO[]>} The list of product types.
641
- *
642
- * @example
643
- * To retrieve a list of product types using their IDs:
644
- *
645
- * ```ts
646
- * const productTypes = await productModuleService.listProductTypes({
647
- * id: ["ptyp_123", "ptyp_321"],
648
- * })
649
- * ```
650
- *
651
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
652
- *
653
- * ```ts
654
- * const productTypes = await productModuleService.listProductTypes(
655
- * {
656
- * id: ["ptyp_123", "ptyp_321"],
657
- * },
658
- * {
659
- * take: 20,
660
- * skip: 2,
661
- * }
662
- * )
663
- * ```
664
- */
665
- listProductTypes(filters?: FilterableProductTypeProps, config?: FindConfig<ProductTypeDTO>, sharedContext?: Context): Promise<ProductTypeDTO[]>;
666
- /**
667
- * This method is used to retrieve a paginated list of product types along with the total count of available product types satisfying the provided filters.
668
- *
669
- * @param {FilterableProductTypeProps} filters - The filters to be applied on the retrieved product type.
670
- * @param {FindConfig<ProductTypeDTO>} config -
671
- * The configurations determining how the product types are retrieved. Its properties, such as `select` or `relations`, accept the
672
- * attributes or relations associated with a product type.
673
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
674
- * @returns {Promise<[ProductTypeDTO[], number]>} The list of product types along with their total count.
675
- *
676
- * @example
677
- * To retrieve a list of product types using their IDs:
678
- *
679
- * ```ts
680
- * const [productTypes, count] =
681
- * await productModuleService.listAndCountProductTypes({
682
- * id: ["ptyp_123", "ptyp_321"],
683
- * })
684
- * ```
685
- *
686
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
687
- *
688
- * ```ts
689
- * const [productTypes, count] =
690
- * await productModuleService.listAndCountProductTypes(
691
- * {
692
- * id: ["ptyp_123", "ptyp_321"],
693
- * },
694
- * {
695
- * take: 20,
696
- * skip: 2,
697
- * }
698
- * )
699
- * ```
700
- */
701
- listAndCountProductTypes(filters?: FilterableProductTypeProps, config?: FindConfig<ProductTypeDTO>, sharedContext?: Context): Promise<[ProductTypeDTO[], number]>;
702
- /**
703
- * This method is used to create a product type.
704
- *
705
- * @param {CreateProductTypeDTO[]} data - The product types to be created.
706
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
707
- * @return {Promise<ProductTypeDTO[]>} The list of created product types.
708
- *
709
- * @example
710
- * const productTypes = await productModuleService.createProductTypes([
711
- * {
712
- * value: "digital",
713
- * },
714
- * ])
715
- */
716
- createProductTypes(data: CreateProductTypeDTO[], sharedContext?: Context): Promise<ProductTypeDTO[]>;
717
- /**
718
- * This method is used to create a product type.
719
- *
720
- * @param {CreateProductTypeDTO} data - The product type to be created.
721
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
722
- * @returns {Promise<ProductTypeDTO>} The created product type.
723
- *
724
- * @example
725
- * const productType = await productModuleService.createProductTypes({
726
- * value: "digital",
727
- * })
728
- *
729
- */
730
- createProductTypes(data: CreateProductTypeDTO, sharedContext?: Context): Promise<ProductTypeDTO>;
731
- /**
732
- * This method updates existing types, or creates new ones if they don't exist.
733
- *
734
- * @param {UpsertProductTypeDTO[]} data - The attributes to update or create for each type.
735
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
736
- * @returns {Promise<ProductTypeDTO[]>} The updated and created types.
737
- *
738
- * @example
739
- * const productTypes = await productModuleService.upsertProductTypes([
740
- * {
741
- * id: "ptyp_123",
742
- * metadata: {
743
- * test: true,
744
- * },
745
- * },
746
- * {
747
- * value: "Digital",
748
- * },
749
- * ])
750
- */
751
- upsertProductTypes(data: UpsertProductTypeDTO[], sharedContext?: Context): Promise<ProductTypeDTO[]>;
752
- /**
753
- * This method updates an existing type, or creates a new one if it doesn't exist.
754
- *
755
- * @param {UpsertProductTypeDTO} data - The attributes to update or create for the type.
756
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
757
- * @returns {Promise<ProductTypeDTO>} The updated or created type.
758
- *
759
- * @example
760
- * const productType = await productModuleService.upsertProductTypes({
761
- * id: "ptyp_123",
762
- * metadata: {
763
- * test: true,
764
- * },
765
- * })
766
- */
767
- upsertProductTypes(data: UpsertProductTypeDTO, sharedContext?: Context): Promise<ProductTypeDTO>;
768
- /**
769
- * This method is used to update a type.
770
- *
771
- * @param {string} id - The ID of the type to be updated.
772
- * @param {UpdateProductTypeDTO} data - The attributes of the type to be updated
773
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
774
- * @returns {Promise<ProductTypeDTO>} The updated type.
775
- *
776
- * @example
777
- * const productType = await productModuleService.updateProductTypes(
778
- * "ptyp_123",
779
- * {
780
- * value: "Digital",
781
- * }
782
- * )
783
- */
784
- updateProductTypes(id: string, data: UpdateProductTypeDTO, sharedContext?: Context): Promise<ProductTypeDTO>;
785
- /**
786
- * This method is used to update a list of types matching the specified filters.
787
- *
788
- * @param {FilterableProductTypeProps} selector - The filters specifying which types to update.
789
- * @param {UpdateProductTypeDTO} data - The attributes to be updated on the selected types
790
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
791
- * @returns {Promise<ProductTypeDTO[]>} The updated types.
792
- *
793
- * @example
794
- * const productTypes = await productModuleService.updateProductTypes(
795
- * {
796
- * id: ["ptyp_123", "ptyp_321"],
797
- * },
798
- * {
799
- * value: "Digital",
800
- * }
801
- * )
802
- */
803
- updateProductTypes(selector: FilterableProductTypeProps, data: UpdateProductTypeDTO, sharedContext?: Context): Promise<ProductTypeDTO[]>;
804
- /**
805
- * This method is used to delete a product type.
806
- *
807
- * @param {string[]} productTypeIds - The IDs of the product types to be deleted.
808
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
809
- * @returns {Promise<void>} Resolves when the product types are successfully deleted.
810
- *
811
- * @example
812
- * await productModuleService.deleteProductTypes([
813
- * "ptyp_123",
814
- * "ptyp_321",
815
- * ])
816
- */
817
- deleteProductTypes(productTypeIds: string[], sharedContext?: Context): Promise<void>;
818
- /**
819
- * This method is used to delete types. Unlike the {@link delete} method, this method won't completely remove the type. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
820
- *
821
- * The soft-deleted types can be restored using the {@link restore} method.
822
- *
823
- * @param {string[]} typeIds - The IDs of the types to soft-delete.
824
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
825
- * Configurations determining which relations to soft delete along with the each of the types. You can pass to its `returnLinkableKeys`
826
- * property any of the type's relation attribute names.
827
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
828
- * @returns {Promise<Record<string, string[]> | void>}
829
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the type entity's relations, and its value is an array of strings, each being the ID of a record associated with the type through this relation.
830
- *
831
- * If there are no related records, the promise resolved to `void`.
832
- *
833
- * @example
834
- * await productModuleService.softDeleteProductTypes([
835
- * "ptyp_123",
836
- * "ptyp_321",
837
- * ])
838
- */
839
- softDeleteProductTypes<TReturnableLinkableKeys extends string = string>(typeIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
840
- /**
841
- * This method is used to restore types which were deleted using the {@link softDelete} method.
842
- *
843
- * @param {string[]} typeIds - The IDs of the types to restore.
844
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
845
- * Configurations determining which relations to restore along with each of the types. You can pass to its `returnLinkableKeys`
846
- * property any of the type's relation attribute names.
847
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
848
- * @returns {Promise<Record<string, string[]> | void>}
849
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the type entity's relations, and its value is an array of strings, each being the ID of the record associated with the type through this relation.
850
- *
851
- * If there are no related records that were restored, the promise resolved to `void`.
852
- *
853
- * @example
854
- * await productModuleService.restoreProductTypes([
855
- * "ptyp_123",
856
- * "ptyp_321",
857
- * ])
858
- */
859
- restoreProductTypes<TReturnableLinkableKeys extends string = string>(typeIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
860
- /**
861
- * This method is used to retrieve a product option by its ID.
862
- *
863
- * @param {string} optionId - The ID of the product option to retrieve.
864
- * @param {FindConfig<ProductOptionDTO>} config -
865
- * The configurations determining how the product option is retrieved. Its properties, such as `select` or `relations`, accept the
866
- * attributes or relations associated with a product option.
867
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
868
- * @returns {Promise<ProductOptionDTO>} The retrieved product option.
869
- *
870
- * @example
871
- * A simple example that retrieves a product option by its ID:
872
- *
873
- * ```ts
874
- * const option =
875
- * await productModuleService.retrieveProductOption("opt_123")
876
- * ```
877
- *
878
- * To specify relations that should be retrieved:
879
- *
880
- * :::note
881
- *
882
- * You can only retrieve data models defined in the same module. To retrieve linked data models
883
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
884
- *
885
- * :::
886
- *
887
- * ```ts
888
- * const option = await productModuleService.retrieveProductOption(
889
- * "opt_123",
890
- * {
891
- * relations: ["product"],
892
- * }
893
- * )
894
- * ```
895
- */
896
- retrieveProductOption(optionId: string, config?: FindConfig<ProductOptionDTO>, sharedContext?: Context): Promise<ProductOptionDTO>;
897
- /**
898
- * This method is used to retrieve a paginated list of product options based on optional filters and configuration.
899
- *
900
- * @param {FilterableProductOptionProps} filters - The filters applied on the retrieved product options.
901
- * @param {FindConfig<ProductOptionDTO>} config -
902
- * The configurations determining how the product options are retrieved. Its properties, such as `select` or `relations`, accept the
903
- * attributes or relations associated with a product option.
904
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
905
- * @returns {Promise<ProductOptionDTO[]>} The list of product options.
906
- *
907
- * @example
908
- * To retrieve a list of product options using their IDs:
909
- *
910
- * ```ts
911
- * const options = await productModuleService.listProductOptions({
912
- id: ["opt_123", "opt_321"],
913
- * })
914
- * ```
915
- *
916
- * To specify relations that should be retrieved within the product options:
917
- *
918
- * :::note
919
- *
920
- * You can only retrieve data models defined in the same module. To retrieve linked data models
921
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
922
- *
923
- * :::
924
- *
925
- * ```ts
926
- * const options = await productModuleService.listProductOptions(
927
- * {
928
- * id: ["opt_123", "opt_321"],
929
- * },
930
- * {
931
- * relations: ["product"],
932
- * }
933
- * )
934
- * ```
935
- *
936
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
937
- *
938
- * ```ts
939
- * const options = await productModuleService.listProductOptions(
940
- * {
941
- * id: ["opt_123", "opt_321"],
942
- * },
943
- * {
944
- * relations: ["product"],
945
- * take: 20,
946
- * skip: 2,
947
- * }
948
- * )
949
- * ```
950
- *
951
- */
952
- listProductOptions(filters?: FilterableProductOptionProps, config?: FindConfig<ProductOptionDTO>, sharedContext?: Context): Promise<ProductOptionDTO[]>;
953
- /**
954
- * This method is used to retrieve a paginated list of product options along with the total count of available product options satisfying the provided filters.
955
- *
956
- * @param {FilterableProductOptionProps} filters - The filters applied on the retrieved product options.
957
- * @param {FindConfig<ProductOptionDTO>} config -
958
- * The configurations determining how the product options are retrieved. Its properties, such as `select` or `relations`, accept the
959
- * attributes or relations associated with a product option.
960
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
961
- * @returns {Promise<[ProductOptionDTO[], number]>} The list of product options along with the total count.
962
- *
963
- * @example
964
- * To retrieve a list of product options using their IDs:
965
- *
966
- * ```ts
967
- * const [options, count] =
968
- * await productModuleService.listAndCountProductOptions({
969
- * id: ["opt_123", "opt_321"],
970
- * })
971
- * ```
972
- *
973
- * To specify relations that should be retrieved within the product options:
974
- *
975
- * :::note
976
- *
977
- * You can only retrieve data models defined in the same module. To retrieve linked data models
978
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
979
- *
980
- * :::
981
- *
982
- * ```ts
983
- * const [options, count] =
984
- * await productModuleService.listAndCountProductOptions(
985
- * {
986
- * id: ["opt_123", "opt_321"],
987
- * },
988
- * {
989
- * relations: ["product"],
990
- * }
991
- * )
992
- * ```
993
- *
994
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
995
- *
996
- * ```ts
997
- * const [options, count] =
998
- * await productModuleService.listAndCountProductOptions(
999
- * {
1000
- * id: ["opt_123", "opt_321"],
1001
- * },
1002
- * {
1003
- * relations: ["product"],
1004
- * take: 20,
1005
- * skip: 2,
1006
- * }
1007
- * )
1008
- * ```
1009
- */
1010
- listAndCountProductOptions(filters?: FilterableProductOptionProps, config?: FindConfig<ProductOptionDTO>, sharedContext?: Context): Promise<[ProductOptionDTO[], number]>;
1011
- /**
1012
- * This method is used to create product options.
1013
- *
1014
- * @param {CreateProductOptionDTO[]} data - The product options to be created.
1015
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1016
- * @returns {Promise<ProductOptionDTO[]>} The list of created product options.
1017
- *
1018
- * @example
1019
- * const options = await productModuleService.createProductOptions([
1020
- * {
1021
- * title: "Color",
1022
- * values: ["Blue", "Green"],
1023
- * product_id: "prod_123",
1024
- * },
1025
- * {
1026
- * title: "Size",
1027
- * values: ["Small", "Medium"],
1028
- * product_id: "prod_321",
1029
- * },
1030
- * ])
1031
- *
1032
- */
1033
- createProductOptions(data: CreateProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
1034
- /**
1035
- * This method is used to create a product option.
1036
- *
1037
- * @param {CreateProductOptionDTO} data - The product option to be created.
1038
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1039
- * @returns {Promise<ProductOptionDTO>} The created product option.
1040
- *
1041
- * @example
1042
- * const option = await productModuleService.createProductOptions({
1043
- * title: "Color",
1044
- * values: ["Blue", "Green"],
1045
- * product_id: "prod_123",
1046
- * })
1047
- *
1048
- */
1049
- createProductOptions(data: CreateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
1050
- /**
1051
- * This method updates existing options, or creates new ones if they don't exist.
1052
- *
1053
- * @param {UpsertProductOptionDTO[]} data - The attributes to update or create for each option.
1054
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1055
- * @returns {Promise<ProductOptionDTO[]>} The updated and created options.
1056
- *
1057
- * @example
1058
- * const options = await productModuleService.upsertProductOptions([
1059
- * {
1060
- * id: "opt_123",
1061
- * title: "Color",
1062
- * },
1063
- * {
1064
- * title: "Color",
1065
- * values: ["Blue", "Green"],
1066
- * product_id: "prod_123",
1067
- * },
1068
- * ])
1069
- */
1070
- upsertProductOptions(data: UpsertProductOptionDTO[], sharedContext?: Context): Promise<ProductOptionDTO[]>;
1071
- /**
1072
- * This method updates an existing option, or creates a new one if it doesn't exist.
1073
- *
1074
- * @param {UpsertProductOptionDTO} data - The attributes to update or create for the option.
1075
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1076
- * @returns {Promise<ProductOptionDTO>} The updated or created option.
1077
- *
1078
- * @example
1079
- * const option = await productModuleService.upsertProductOptions({
1080
- * id: "opt_123",
1081
- * title: "Color",
1082
- * })
1083
- */
1084
- upsertProductOptions(data: UpsertProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
1085
- /**
1086
- * This method is used to update a option.
1087
- *
1088
- * @param {string} id - The ID of the option to be updated.
1089
- * @param {UpdateProductOptionDTO} data - The attributes of the option to be updated
1090
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1091
- * @returns {Promise<ProductOptionDTO>} The updated option.
1092
- *
1093
- * @example
1094
- * const option = await productModuleService.updateProductOptions(
1095
- * "opt_123",
1096
- * {
1097
- * title: "Color",
1098
- * }
1099
- * )
1100
- */
1101
- updateProductOptions(id: string, data: UpdateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO>;
1102
- /**
1103
- * This method is used to update a list of options matching the specified filters.
1104
- *
1105
- * @param {FilterableProductOptionProps} selector - The filters specifying which options to update.
1106
- * @param {UpdateProductOptionDTO} data - The attributes to be updated on the selected options
1107
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1108
- * @returns {Promise<ProductOptionDTO[]>} The updated options.
1109
- *
1110
- * @example
1111
- * const options = await productModuleService.updateProductOptions(
1112
- * {
1113
- * title: "Color",
1114
- * },
1115
- * {
1116
- * values: ["Blue", "Green"],
1117
- * }
1118
- * )
1119
- */
1120
- updateProductOptions(selector: FilterableProductOptionProps, data: UpdateProductOptionDTO, sharedContext?: Context): Promise<ProductOptionDTO[]>;
1121
- /**
1122
- * This method is used to delete a product option.
1123
- *
1124
- * @param {string[]} productOptionIds - The IDs of the product options to delete.
1125
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1126
- * @returns {Promise<void>} Resolves when the product options are successfully deleted.
1127
- *
1128
- * @example
1129
- * await productModuleService.deleteProductOptions([
1130
- * "opt_123",
1131
- * "opt_321",
1132
- * ])
1133
- */
1134
- deleteProductOptions(productOptionIds: string[], sharedContext?: Context): Promise<void>;
1135
- /**
1136
- * This method is used to delete options. Unlike the {@link delete} method, this method won't completely remove the option. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
1137
- *
1138
- * The soft-deleted options can be restored using the {@link restore} method.
1139
- *
1140
- * @param {string[]} optionIds - The IDs of the options to soft-delete.
1141
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
1142
- * Configurations determining which relations to soft delete along with the each of the options. You can pass to its `returnLinkableKeys`
1143
- * property any of the option's relation attribute names, such as `option_value_id`.
1144
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1145
- * @returns {Promise<Record<string, string[]> | void>}
1146
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of a record associated with the option through this relation.
1147
- *
1148
- * If there are no related records, the promise resolved to `void`.
1149
- *
1150
- * @example
1151
- * await productModuleService.softDeleteProductOptions([
1152
- * "opt_123",
1153
- * "opt_321",
1154
- * ])
1155
- */
1156
- softDeleteProductOptions<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1157
- /**
1158
- * This method is used to restore options which were deleted using the {@link softDelete} method.
1159
- *
1160
- * @param {string[]} optionIds - The IDs of the options to restore.
1161
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
1162
- * Configurations determining which relations to restore along with each of the options. You can pass to its `returnLinkableKeys`
1163
- * property any of the option's relation attribute names.
1164
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1165
- * @returns {Promise<Record<string, string[]> | void>}
1166
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of the record associated with the option through this relation.
1167
- *
1168
- * If there are no related records that were restored, the promise resolved to `void`.
1169
- *
1170
- * @example
1171
- * await productModuleService.restoreProductOptions([
1172
- * "opt_123",
1173
- * "opt_321",
1174
- * ])
1175
- */
1176
- restoreProductOptions<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1177
- /**
1178
- * This method is used to retrieve a product option value by its ID.
1179
- *
1180
- * @param {string} optionValueId - The ID of the product option value to retrieve.
1181
- * @param {FindConfig<ProductOptionValueDTO>} config -
1182
- * The configurations determining how the product option value is retrieved. Its properties, such as `select` or `relations`, accept the
1183
- * attributes or relations associated with a product option value.
1184
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1185
- * @returns {Promise<ProductOptionValueDTO>} The retrieved product option value.
1186
- *
1187
- * @example
1188
- * A simple example that retrieves a product option value by its ID:
1189
- *
1190
- * ```ts
1191
- * const optionValue =
1192
- * await productModuleService.retrieveProductOptionValue("optval_123")
1193
- * ```
1194
- *
1195
- * To specify relations that should be retrieved:
1196
- *
1197
- * :::note
1198
- *
1199
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1200
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1201
- *
1202
- * :::
1203
- *
1204
- * ```ts
1205
- * const optionValue = await productModuleService.retrieveProductOptionValue(
1206
- * "optval_123",
1207
- * {
1208
- * relations: ["option"],
1209
- * }
1210
- * )
1211
- * ```
1212
- */
1213
- retrieveProductOptionValue(optionValueId: string, config?: FindConfig<ProductOptionValueDTO>, sharedContext?: Context): Promise<ProductOptionValueDTO>;
1214
- /**
1215
- * This method is used to retrieve a paginated list of product option values based on optional filters and configuration.
1216
- *
1217
- * @param {FilterableProductOptionValueProps} filters - The filters applied on the retrieved product option values.
1218
- * @param {FindConfig<ProductOptionValueDTO>} config -
1219
- * The configurations determining how the product option values are retrieved. Its properties, such as `select` or `relations`, accept the
1220
- * attributes or relations associated with a product option.
1221
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1222
- * @returns {Promise<ProductOptionValueDTO[]>} The list of product option values.
1223
- *
1224
- * @example
1225
- * To retrieve a list of product option values using their IDs:
1226
- *
1227
- * ```ts
1228
- * const options = await productModuleService.listProductOptionValues({
1229
- id: ["optval_123", "optval_321"],
1230
- * })
1231
- * ```
1232
- *
1233
- * To specify relations that should be retrieved within the product option values:
1234
- *
1235
- * :::note
1236
- *
1237
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1238
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1239
- *
1240
- * :::
1241
- *
1242
- * ```ts
1243
- * const options = await productModuleService.listProductOptionValues(
1244
- * {
1245
- * id: ["optval_123", "optval_321"],
1246
- * }
1247
- * )
1248
- * ```
1249
- *
1250
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1251
- *
1252
- * ```ts
1253
- * const options = await productModuleService.listProductOptionValues(
1254
- * {
1255
- * id: ["optval_123", "optval_321"],
1256
- * },
1257
- * {
1258
- * take: 20,
1259
- * skip: 2,
1260
- * }
1261
- * )
1262
- * ```
1263
- *
1264
- */
1265
- listProductOptionValues(filters?: FilterableProductOptionValueProps, config?: FindConfig<ProductOptionValueDTO>, sharedContext?: Context): Promise<ProductOptionValueDTO[]>;
1266
- /**
1267
- * This method is used to retrieve a paginated list of product option values along with the total count of available product option values satisfying the provided filters.
1268
- *
1269
- * @param {FilterableProductOptionValueProps} filters - The filters applied on the retrieved product option values.
1270
- * @param {FindConfig<ProductOptionValueDTO>} config -
1271
- * The configurations determining how the product option values are retrieved. Its properties, such as `select` or `relations`, accept the
1272
- * attributes or relations associated with a product option.
1273
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1274
- * @returns {Promise<[ProductOptionValueDTO[], number]>} The list of product option values along with the total count.
1275
- *
1276
- * @example
1277
- * To retrieve a list of product option values using their IDs:
1278
- *
1279
- * ```ts
1280
- * const [options, count] =
1281
- * await productModuleService.listAndCountProductOptionValues({
1282
- * id: ["optval_123", "optval_321"],
1283
- * })
1284
- * ```
1285
- *
1286
- * To specify relations that should be retrieved within the product option values:
1287
- *
1288
- * :::note
1289
- *
1290
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1291
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1292
- *
1293
- * :::
1294
- *
1295
- * ```ts
1296
- * const [options, count] =
1297
- * await productModuleService.listAndCountProductOptionValues(
1298
- * {
1299
- * id: ["optval_123", "optval_321"],
1300
- * },
1301
- * {
1302
- * relations: ["option"],
1303
- * }
1304
- * )
1305
- * ```
1306
- *
1307
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1308
- *
1309
- * ```ts
1310
- * const [options, count] =
1311
- * await productModuleService.listAndCountProductOptionValues(
1312
- * {
1313
- * id: ["optval_123", "optval_321"],
1314
- * },
1315
- * {
1316
- * take: 20,
1317
- * skip: 2,
1318
- * }
1319
- * )
1320
- * ```
1321
- */
1322
- listAndCountProductOptionValues(filters?: FilterableProductOptionValueProps, config?: FindConfig<ProductOptionValueDTO>, sharedContext?: Context): Promise<[ProductOptionValueDTO[], number]>;
1323
- /**
1324
- * This method is used to create product option values.
1325
- *
1326
- * @param {CreateProductOptionValueDTO[]} data - The product option values to be created.
1327
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1328
- * @returns {Promise<ProductOptionValueDTO[]>} The list of created product option values.
1329
- *
1330
- * @example
1331
- * const options = await productModuleService.createProductOptionValues([
1332
- * {
1333
- * value: "Blue",
1334
- * },
1335
- * {
1336
- * value: "Green",
1337
- * },
1338
- * ])
1339
- *
1340
- */
1341
- createProductOptionValues(data: CreateProductOptionValueDTO[], sharedContext?: Context): Promise<ProductOptionValueDTO[]>;
1342
- /**
1343
- * This method is used to create a product option.
1344
- *
1345
- * @param {CreateProductOptionValueDTO} data - The product option to be created.
1346
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1347
- * @returns {Promise<ProductOptionValueDTO>} The created product option.
1348
- *
1349
- * @example
1350
- * const option = await productModuleService.createProductOptionValues({
1351
- * value: "Blue",
1352
- * })
1353
- *
1354
- */
1355
- createProductOptionValues(data: CreateProductOptionValueDTO, sharedContext?: Context): Promise<ProductOptionValueDTO>;
1356
- /**
1357
- * This method is used to update a option.
1358
- *
1359
- * @param {string} id - The ID of the option to be updated.
1360
- * @param {UpdateProductOptionValueDTO} data - The attributes of the option to be updated
1361
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1362
- * @returns {Promise<ProductOptionValueDTO>} The updated option.
1363
- *
1364
- * @example
1365
- * const option = await productModuleService.updateProductOptionValues(
1366
- * "optval_123",
1367
- * {
1368
- * value: "Green",
1369
- * }
1370
- * )
1371
- */
1372
- updateProductOptionValues(id: string, data: UpdateProductOptionValueDTO, sharedContext?: Context): Promise<ProductOptionValueDTO>;
1373
- /**
1374
- * This method is used to update a list of options matching the specified filters.
1375
- *
1376
- * @param {FilterableProductOptionValueProps} selector - The filters specifying which options to update.
1377
- * @param {UpdateProductOptionValueDTO} data - The attributes to be updated on the selected options
1378
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1379
- * @returns {Promise<ProductOptionValueDTO[]>} The updated options.
1380
- *
1381
- * @example
1382
- * const options = await productModuleService.updateProductOptionValues(
1383
- * {
1384
- * value: "Green",
1385
- * },
1386
- * {
1387
- * value: ["Red"],
1388
- * }
1389
- * )
1390
- */
1391
- updateProductOptionValues(selector: FilterableProductOptionValueProps, data: UpdateProductOptionValueDTO, sharedContext?: Context): Promise<ProductOptionValueDTO[]>;
1392
- /**
1393
- * This method is used to delete a product option.
1394
- *
1395
- * @param {string[]} productOptionValueIds - The IDs of the product option values to delete.
1396
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1397
- * @returns {Promise<void>} Resolves when the product option values are successfully deleted.
1398
- *
1399
- * @example
1400
- * await productModuleService.deleteProductOptionValues([
1401
- * "optval_123",
1402
- * "optval_321",
1403
- * ])
1404
- */
1405
- deleteProductOptionValues(productOptionValueIds: string[], sharedContext?: Context): Promise<void>;
1406
- /**
1407
- * This method is used to delete options. Unlike the {@link delete} method, this method won't completely remove the option. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
1408
- *
1409
- * The soft-deleted options can be restored using the {@link restore} method.
1410
- *
1411
- * @param {string[]} optionIds - The IDs of the options to soft-delete.
1412
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
1413
- * Configurations determining which relations to soft delete along with the each of the options. You can pass to its `returnLinkableKeys`
1414
- * property any of the option's relation attribute names, such as `option_value_id`.
1415
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1416
- * @returns {Promise<Record<string, string[]> | void>}
1417
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of a record associated with the option through this relation.
1418
- *
1419
- * If there are no related records, the promise resolved to `void`.
1420
- *
1421
- * @example
1422
- * await productModuleService.softDeleteProductOptionValues([
1423
- * "optval_123",
1424
- * "optval_321",
1425
- * ])
1426
- */
1427
- softDeleteProductOptionValues<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1428
- /**
1429
- * This method is used to restore options which were deleted using the {@link softDelete} method.
1430
- *
1431
- * @param {string[]} optionIds - The IDs of the options to restore.
1432
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
1433
- * Configurations determining which relations to restore along with each of the options. You can pass to its `returnLinkableKeys`
1434
- * property any of the option's relation attribute names.
1435
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1436
- * @returns {Promise<Record<string, string[]> | void>}
1437
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the option entity's relations, and its value is an array of strings, each being the ID of the record associated with the option through this relation.
1438
- *
1439
- * If there are no related records that were restored, the promise resolved to `void`.
1440
- *
1441
- * @example
1442
- * await productModuleService.restoreProductOptionValues([
1443
- * "optval_123",
1444
- * "optval_321",
1445
- * ])
1446
- */
1447
- restoreProductOptionValues<TReturnableLinkableKeys extends string = string>(optionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1448
- /**
1449
- * This method is used to retrieve a product variant by its ID.
1450
- *
1451
- * @param {string} productVariantId - The ID of the product variant to retrieve.
1452
- * @param {FindConfig<ProductVariantDTO>} config -
1453
- * The configurations determining how the product variant is retrieved. Its properties, such as `select` or `relations`, accept the
1454
- * attributes or relations associated with a product variant.
1455
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1456
- * @returns {Promise<ProductVariantDTO>} The retrieved product variant.
1457
- *
1458
- * @example
1459
- * A simple example that retrieves a product variant by its ID:
1460
- *
1461
- * ```ts
1462
- * const variant =
1463
- * await productModuleService.retrieveProductVariant("variant_123")
1464
- * ```
1465
- *
1466
- * To specify relations that should be retrieved:
1467
- *
1468
- * :::note
1469
- *
1470
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1471
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1472
- *
1473
- * :::
1474
- *
1475
- * ```ts
1476
- * const variant = await productModuleService.retrieveProductVariant(
1477
- * "variant_123",
1478
- * {
1479
- * relations: ["options"],
1480
- * }
1481
- * )
1482
- * ```
1483
- */
1484
- retrieveProductVariant(productVariantId: string, config?: FindConfig<ProductVariantDTO>, sharedContext?: Context): Promise<ProductVariantDTO>;
1485
- /**
1486
- * This method is used to retrieve a paginated list of product variants based on optional filters and configuration.
1487
- *
1488
- * @param {FilterableProductVariantProps} filters - The filters applied on the retrieved product variants.
1489
- * @param {FindConfig<ProductVariantDTO>} config -
1490
- * The configurations determining how the product variants are retrieved. Its properties, such as `select` or `relations`, accept the
1491
- * attributes or relations associated with a product variant.
1492
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1493
- * @returns {Promise<ProductVariantDTO[]>} The list of product variants.
1494
- *
1495
- * @example
1496
- * To retrieve a list of product variants using their IDs:
1497
- *
1498
- * ```ts
1499
- * const variants = await productModuleService.listProductVariants({
1500
- * id: ["variant_123", "variant_321"],
1501
- * })
1502
- * ```
1503
- *
1504
- * To specify relations that should be retrieved within the product variants:
1505
- *
1506
- * :::note
1507
- *
1508
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1509
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1510
- *
1511
- * :::
1512
- *
1513
- * ```ts
1514
- * const variants = await productModuleService.listProductVariants(
1515
- * {
1516
- * id: ["variant_123", "variant_321"],
1517
- * },
1518
- * {
1519
- * relations: ["options"],
1520
- * }
1521
- * )
1522
- * ```
1523
- *
1524
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1525
- *
1526
- * ```ts
1527
- * const variants = await productModuleService.listProductVariants(
1528
- * {
1529
- * id: ["variant_123", "variant_321"],
1530
- * },
1531
- * {
1532
- * relations: ["options"],
1533
- * take: 20,
1534
- * skip: 2,
1535
- * }
1536
- * )
1537
- * ```
1538
- */
1539
- listProductVariants(filters?: FilterableProductVariantProps, config?: FindConfig<ProductVariantDTO>, sharedContext?: Context): Promise<ProductVariantDTO[]>;
1540
- /**
1541
- * This method is used to retrieve a paginated list of product variants along with the total count of available product variants satisfying the provided filters.
1542
- *
1543
- * @param {FilterableProductVariantProps} filters - The filters applied on the retrieved product variants.
1544
- * @param {FindConfig<ProductVariantDTO>} config -
1545
- * The configurations determining how the product variants are retrieved. Its properties, such as `select` or `relations`, accept the
1546
- * attributes or relations associated with a product variant.
1547
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1548
- * @returns {Promise<[ProductVariantDTO[], number]>} The list of product variants along with their total count.
1549
- *
1550
- * @example
1551
- * To retrieve a list of product variants using their IDs:
1552
- *
1553
- * ```ts
1554
- * const [variants, count] =
1555
- * await productModuleService.listAndCountProductVariants({
1556
- * id: ["variant_123", "variant_321"],
1557
- * })
1558
- * ```
1559
- *
1560
- * To specify relations that should be retrieved within the product variants:
1561
- *
1562
- * :::note
1563
- *
1564
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1565
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1566
- *
1567
- * :::
1568
- *
1569
- * ```ts
1570
- * const [variants, count] =
1571
- * await productModuleService.listAndCountProductVariants(
1572
- * {
1573
- * id: ["variant_123", "variant_321"],
1574
- * },
1575
- * {
1576
- * relations: ["options"],
1577
- * }
1578
- * )
1579
- * ```
1580
- *
1581
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1582
- *
1583
- * ```ts
1584
- * const [variants, count] =
1585
- * await productModuleService.listAndCountProductVariants(
1586
- * {
1587
- * id: ["variant_123", "variant_321"],
1588
- * },
1589
- * {
1590
- * relations: ["options"],
1591
- * take: 20,
1592
- * skip: 2,
1593
- * }
1594
- * )
1595
- * ```
1596
- */
1597
- listAndCountProductVariants(filters?: FilterableProductVariantProps, config?: FindConfig<ProductVariantDTO>, sharedContext?: Context): Promise<[ProductVariantDTO[], number]>;
1598
- /**
1599
- * This method is used to create product variants.
1600
- *
1601
- * @param {CreateProductVariantDTO[]} data - The product variants to be created.
1602
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1603
- * @returns {Promise<ProductVariantDTO[]>} The list of created product variants.
1604
- *
1605
- * @example
1606
- * const variants = await productModuleService.createProductVariants([
1607
- * {
1608
- * title: "Blue Shirt",
1609
- * product_id: "prod_123",
1610
- * options: {
1611
- * Color: "Blue",
1612
- * },
1613
- * },
1614
- * {
1615
- * title: "Green Shirt",
1616
- * product_id: "prod_321",
1617
- * options: {
1618
- * Color: "Green",
1619
- * },
1620
- * },
1621
- * ])
1622
- *
1623
- */
1624
- createProductVariants(data: CreateProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
1625
- /**
1626
- * This method is used to create a product variant.
1627
- *
1628
- * @param {CreateProductVariantDTO} data - The product variant to be created.
1629
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1630
- * @returns {Promise<ProductVariantDTO>} The created product variant.
1631
- *
1632
- * @example
1633
- * const variant = await productModuleService.createProductVariants({
1634
- * title: "Blue Shirt",
1635
- * product_id: "prod_123",
1636
- * options: {
1637
- * Color: "Blue",
1638
- * },
1639
- * })
1640
- *
1641
- */
1642
- createProductVariants(data: CreateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
1643
- /**
1644
- * This method updates existing variants, or creates new ones if they don't exist.
1645
- *
1646
- * @param {UpsertProductVariantDTO[]} data - The attributes to update or create for each variant.
1647
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1648
- * @returns {Promise<ProductVariantDTO[]>} The updated and created variants.
1649
- *
1650
- * @example
1651
- * const variants = await productModuleService.upsertProductVariants([
1652
- * {
1653
- * id: "variant_123",
1654
- * title: "Green Shirt",
1655
- * },
1656
- * {
1657
- * title: "Blue Shirt",
1658
- * options: {
1659
- * Color: "Blue",
1660
- * },
1661
- * },
1662
- * ])
1663
- */
1664
- upsertProductVariants(data: UpsertProductVariantDTO[], sharedContext?: Context): Promise<ProductVariantDTO[]>;
1665
- /**
1666
- * This method updates an existing variant, or creates a new one if it doesn't exist.
1667
- *
1668
- * @param {UpsertProductVariantDTO} data - The attributes to update or create for the variant.
1669
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1670
- * @returns {Promise<ProductVariantDTO>} The updated or created variant.
1671
- *
1672
- * @example
1673
- * const variant = await productModuleService.upsertProductVariants({
1674
- * id: "variant_123",
1675
- * title: "Green Shirt",
1676
- * })
1677
- */
1678
- upsertProductVariants(data: UpsertProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
1679
- /**
1680
- * This method is used to update a variant.
1681
- *
1682
- * @param {string} id - The ID of the variant to be updated.
1683
- * @param {UpdateProductVariantDTO} data - The attributes of the variant to be updated
1684
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1685
- * @returns {Promise<ProductVariantDTO>} The updated variant.
1686
- *
1687
- * @example
1688
- * const variant = await productModuleService.updateProductVariants(
1689
- * "variant_123",
1690
- * {
1691
- * title: "Blue Shirt",
1692
- * }
1693
- * )
1694
- */
1695
- updateProductVariants(id: string, data: UpdateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO>;
1696
- /**
1697
- * This method is used to update a list of variants matching the specified filters.
1698
- *
1699
- * @param {FilterableProductVariantProps} selector - The filters specifying which variants to update.
1700
- * @param {UpdateProductVariantDTO} data - The attributes to be updated on the selected variants
1701
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1702
- * @returns {Promise<ProductVariantDTO[]>} The updated variants.
1703
- *
1704
- * @example
1705
- * const variants = await productModuleService.updateProductVariants(
1706
- * {
1707
- * id: ["variant_123", "variant_321"],
1708
- * },
1709
- * {
1710
- * title: "Blue Shirt",
1711
- * }
1712
- * )
1713
- */
1714
- updateProductVariants(selector: FilterableProductVariantProps, data: UpdateProductVariantDTO, sharedContext?: Context): Promise<ProductVariantDTO[]>;
1715
- /**
1716
- * This method is used to delete ProductVariant. This method will completely remove the ProductVariant and they can no longer be accessed or retrieved.
1717
- *
1718
- * @param {string[]} productVariantIds - The IDs of the ProductVariant to be deleted.
1719
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1720
- * @returns {Promise<void>} Resolves when the ProductVariant are successfully deleted.
1721
- *
1722
- * @example
1723
- * await productModuleService.deleteProductVariants([
1724
- * "variant_123",
1725
- * "variant_321",
1726
- * ])
1727
- */
1728
- deleteProductVariants(productVariantIds: string[], sharedContext?: Context): Promise<void>;
1729
- /**
1730
- * This method is used to delete variants. Unlike the {@link delete} method, this method won't completely remove the variant. It can still be accessed or retrieved using methods like {@link retrieve} if you pass the `withDeleted` property to the `config` object parameter.
1731
- *
1732
- * The soft-deleted variants can be restored using the {@link restore} method.
1733
- *
1734
- * @param {string[]} variantIds - The IDs of the variants to soft-delete.
1735
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
1736
- * Configurations determining which relations to soft delete along with the each of the variants. You can pass to its `returnLinkableKeys`
1737
- * property any of the variant's relation attribute names, such as `option_value_id`.
1738
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1739
- * @returns {Promise<Record<string, string[]> | void>}
1740
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the variant entity's relations, and its value is an array of strings, each being the ID of a record associated with the variant through this relation.
1741
- *
1742
- * If there are no related records, the promise resolved to `void`.
1743
- *
1744
- * @example
1745
- * await productModuleService.softDeleteProductVariants([
1746
- * "variant_123",
1747
- * "variant_321",
1748
- * ])
1749
- */
1750
- softDeleteProductVariants<TReturnableLinkableKeys extends string = string>(variantIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1751
- /**
1752
- * This method is used to restore variants which were deleted using the {@link softDelete} method.
1753
- *
1754
- * @param {string[]} variantIds - The IDs of the variants to restore.
1755
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
1756
- * Configurations determining which relations to restore along with each of the variants. You can pass to its `returnLinkableKeys`
1757
- * property any of the variant's relation attribute names.
1758
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1759
- * @returns {Promise<Record<string, string[]> | void>}
1760
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the variant entity's relations, and its value is an array of strings, each being the ID of the record associated with the variant through this relation.
1761
- *
1762
- * If there are no related records that were restored, the promise resolved to `void`.
1763
- *
1764
- * @example
1765
- * await productModuleService.restoreProductVariants([
1766
- * "variant_123",
1767
- * "variant_321",
1768
- * ])
1769
- */
1770
- restoreProductVariants<TReturnableLinkableKeys extends string = string>(variantIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1771
- /**
1772
- * This method is used to associate images and variants.
1773
- *
1774
- * @param {DataTransferItemsFilter} data - Image variant pairs.
1775
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1776
- * @returns {Promise<{ id: string }[]>} The IDs of the image variant pairs.
1777
- *
1778
- * @example
1779
- * await productModuleService.addImageToVariant([
1780
- * {
1781
- * image_id: "img_123",
1782
- * variant_id: "variant_321",
1783
- * },
1784
- * ])
1785
- */
1786
- addImageToVariant(data: {
1787
- image_id: string;
1788
- variant_id: string;
1789
- }[], sharedContext?: Context): Promise<{
1790
- id: string;
1791
- }[]>;
1792
- /**
1793
- * This method is used to remove images from variants.
1794
- *
1795
- * @param {DataTransferItemsFilter} data - Image variant pairs.
1796
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1797
- * @returns {Promise<void>} The IDs of the image variant pairs.
1798
- */
1799
- removeImageFromVariant(data: {
1800
- image_id: string;
1801
- variant_id: string;
1802
- }[], sharedContext?: Context): Promise<void>;
1803
- /**
1804
- * This method is used to retrieve a product collection by its ID.
1805
- *
1806
- * @param {string} productCollectionId - The ID of the product collection to retrieve.
1807
- * @param {FindConfig<ProductCollectionDTO>} config -
1808
- * The configurations determining how the product collection is retrieved. Its properties, such as `select` or `relations`, accept the
1809
- * attributes or relations associated with a product collection.
1810
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1811
- * @returns {Promise<ProductCollectionDTO>} The retrieved product collection.
1812
- *
1813
- * @example
1814
- * A simple example that retrieves a product collection by its ID:
1815
- *
1816
- * ```ts
1817
- * const collection =
1818
- * await productModuleService.retrieveProductCollection("pcol_123")
1819
- * ```
1820
- *
1821
- * To specify relations that should be retrieved:
1822
- *
1823
- * :::note
1824
- *
1825
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1826
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1827
- *
1828
- * :::
1829
- *
1830
- * ```ts
1831
- * const collection =
1832
- * await productModuleService.retrieveProductCollection("pcol_123", {
1833
- * relations: ["products"],
1834
- * })
1835
- * ```
1836
- */
1837
- retrieveProductCollection(productCollectionId: string, config?: FindConfig<ProductCollectionDTO>, sharedContext?: Context): Promise<ProductCollectionDTO>;
1838
- /**
1839
- * This method is used to retrieve a paginated list of product collections based on optional filters and configuration.
1840
- *
1841
- * @param {FilterableProductCollectionProps} filters - The filters applied on the retrieved product collections.
1842
- * @param {FindConfig<ProductCollectionDTO>} config -
1843
- * The configurations determining how the product collections are retrieved. Its properties, such as `select` or `relations`, accept the
1844
- * attributes or relations associated with a product collection.
1845
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1846
- * @returns {Promise<ProductCollectionDTO[]>} The list of product collections.
1847
- *
1848
- * @example
1849
- * To retrieve a list of product collections using their IDs:
1850
- *
1851
- * ```ts
1852
- * const collections =
1853
- * await productModuleService.listProductCollections({
1854
- * id: ["pcol_123", "pcol_321"],
1855
- * })
1856
- * ```
1857
- *
1858
- * To specify relations that should be retrieved within the product collections:
1859
- *
1860
- * :::note
1861
- *
1862
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1863
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1864
- *
1865
- * :::
1866
- *
1867
- * ```ts
1868
- * const collections =
1869
- * await productModuleService.listProductCollections(
1870
- * {
1871
- * id: ["pcol_123", "pcol_321"],
1872
- * },
1873
- * {
1874
- * relations: ["products"],
1875
- * }
1876
- * )
1877
- * ```
1878
- *
1879
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1880
- *
1881
- * ```ts
1882
- * const collections =
1883
- * await productModuleService.listProductCollections(
1884
- * {
1885
- * id: ["pcol_123", "pcol_321"],
1886
- * },
1887
- * {
1888
- * relations: ["products"],
1889
- * take: 20,
1890
- * skip: 2,
1891
- * }
1892
- * )
1893
- * ```
1894
- */
1895
- listProductCollections(filters?: FilterableProductCollectionProps, config?: FindConfig<ProductCollectionDTO>, sharedContext?: Context): Promise<ProductCollectionDTO[]>;
1896
- /**
1897
- * This method is used to retrieve a paginated list of product collections along with the total count of available product collections satisfying the provided filters.
1898
- *
1899
- * @param {FilterableProductCollectionProps} filters - The filters applied on the retrieved product collections.
1900
- * @param {FindConfig<ProductCollectionDTO>} config -
1901
- * The configurations determining how the product collections are retrieved. Its properties, such as `select` or `relations`, accept the
1902
- * attributes or relations associated with a product collection.
1903
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1904
- * @returns {Promise<[ProductCollectionDTO[], number]>} The list of product collections along with the total count.
1905
- *
1906
- * @example
1907
- * To retrieve a list of product collections using their IDs:
1908
- *
1909
- * ```ts
1910
- * const [collections, count] =
1911
- * await productModuleService.listAndCountProductCollections({
1912
- * id: ["pcol_123", "pcol_321"],
1913
- * })
1914
- * ```
1915
- *
1916
- * To specify relations that should be retrieved within the product collections:
1917
- *
1918
- * :::note
1919
- *
1920
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1921
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1922
- *
1923
- * :::
1924
- *
1925
- * ```ts
1926
- * const [collections, count] =
1927
- * await productModuleService.listAndCountProductCollections(
1928
- * {
1929
- * id: ["pcol_123", "pcol_321"],
1930
- * },
1931
- * {
1932
- * relations: ["products"],
1933
- * }
1934
- * )
1935
- * ```
1936
- *
1937
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1938
- *
1939
- * ```ts
1940
- * const [collections, count] =
1941
- * await productModuleService.listAndCountProductCollections(
1942
- * {
1943
- * id: ["pcol_123", "pcol_321"],
1944
- * },
1945
- * {
1946
- * relations: ["products"],
1947
- * take: 20,
1948
- * skip: 2,
1949
- * }
1950
- * )
1951
- * ```
1952
- */
1953
- listAndCountProductCollections(filters?: FilterableProductCollectionProps, config?: FindConfig<ProductCollectionDTO>, sharedContext?: Context): Promise<[ProductCollectionDTO[], number]>;
1954
- /**
1955
- * This method is used to create product collections.
1956
- *
1957
- * @param {CreateProductCollectionDTO[]} data - The product collections to be created.
1958
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1959
- * @returns {Promise<ProductCollectionDTO[]>} The list of created product collections.
1960
- *
1961
- * @example
1962
- * const collections =
1963
- * await productModuleService.createProductCollections([
1964
- * {
1965
- * title: "Summer Collection",
1966
- * },
1967
- * {
1968
- * title: "Winter Collection",
1969
- * },
1970
- * ])
1971
- *
1972
- */
1973
- createProductCollections(data: CreateProductCollectionDTO[], sharedContext?: Context): Promise<ProductCollectionDTO[]>;
1974
- /**
1975
- * This method is used to create a product collection.
1976
- *
1977
- * @param {CreateProductCollectionDTO} data - The product collection to be created.
1978
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1979
- * @returns {Promise<ProductCollectionDTO>} The created product collection.
1980
- *
1981
- * @example
1982
- * const collection =
1983
- * await productModuleService.createProductCollections({
1984
- * title: "Summer Collection",
1985
- * })
1986
- *
1987
- */
1988
- createProductCollections(data: CreateProductCollectionDTO, sharedContext?: Context): Promise<ProductCollectionDTO>;
1989
- /**
1990
- * This method updates existing collections, or creates new ones if they don't exist.
1991
- *
1992
- * @param {UpsertProductCollectionDTO[]} data - The attributes to update or create for each collection.
1993
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1994
- * @returns {Promise<ProductCollectionDTO[]>} The updated and created collections.
1995
- *
1996
- * @example
1997
- * const collections =
1998
- * await productModuleService.upsertProductCollections([
1999
- * {
2000
- * id: "pcol_123",
2001
- * title: "Winter Collection",
2002
- * },
2003
- * {
2004
- * title: "Summer Collection",
2005
- * },
2006
- * ])
2007
- */
2008
- upsertProductCollections(data: UpsertProductCollectionDTO[], sharedContext?: Context): Promise<ProductCollectionDTO[]>;
2009
- /**
2010
- * This method updates an existing collection, or creates a new one if it doesn't exist.
2011
- *
2012
- * @param {UpsertProductCollectionDTO} data - The attributes to update or create for the collection.
2013
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2014
- * @returns {Promise<ProductCollectionDTO>} The updated or created collection.
2015
- *
2016
- * @example
2017
- * const collection =
2018
- * await productModuleService.upsertProductCollections({
2019
- * id: "pcol_123",
2020
- * title: "Winter Collection",
2021
- * })
2022
- */
2023
- upsertProductCollections(data: UpsertProductCollectionDTO, sharedContext?: Context): Promise<ProductCollectionDTO>;
2024
- /**
2025
- * This method is used to update a collection.
2026
- *
2027
- * @param {string} id - The ID of the collection to be updated.
2028
- * @param {UpdateProductCollectionDTO} data - The attributes of the collection to be updated
2029
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2030
- * @returns {Promise<ProductCollectionDTO>} The updated collection.
2031
- *
2032
- * @example
2033
- * const collection =
2034
- * await productModuleService.updateProductCollections("pcol_123", {
2035
- * title: "Summer Collection",
2036
- * })
2037
- */
2038
- updateProductCollections(id: string, data: UpdateProductCollectionDTO, sharedContext?: Context): Promise<ProductCollectionDTO>;
2039
- /**
2040
- * This method is used to update a list of collections matching the specified filters.
2041
- *
2042
- * @param {FilterableProductCollectionProps} selector - The filters specifying which collections to update.
2043
- * @param {UpdateProductCollectionDTO} data - The attributes to be updated on the selected collections
2044
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2045
- * @returns {Promise<ProductCollectionDTO[]>} The updated collections.
2046
- *
2047
- * @example
2048
- * const collections =
2049
- * await productModuleService.updateProductCollections(
2050
- * {
2051
- * id: ["pcol_123", "pcol_321"],
2052
- * },
2053
- * {
2054
- * title: "Summer Collection",
2055
- * }
2056
- * )
2057
- */
2058
- updateProductCollections(selector: FilterableProductCollectionProps, data: UpdateProductCollectionDTO, sharedContext?: Context): Promise<ProductCollectionDTO[]>;
2059
- /**
2060
- * This method is used to delete collections by their ID.
2061
- *
2062
- * @param {string[]} productCollectionIds - The IDs of the product collections to be updated.
2063
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2064
- * @returns {Promise<void>} Resolves when the product options are successfully deleted.
2065
- *
2066
- * @example
2067
- * await productModuleService.deleteProductCollections([
2068
- * "pcol_123",
2069
- * "pcol_321",
2070
- * ])
2071
- *
2072
- */
2073
- deleteProductCollections(productCollectionIds: string[], sharedContext?: Context): Promise<void>;
2074
- /**
2075
- * This method is used to delete product collections. Unlike the {@link deleteCollections} method, this method won't completely remove the collection. It can still be accessed or retrieved using methods like {@link retrieveCollections} if you pass the `withDeleted` property to the `config` object parameter.
2076
- *
2077
- * The soft-deleted collections can be restored using the {@link restoreCollections} method.
2078
- *
2079
- * @param {string[]} collectionIds - The IDs of the collections to soft-delete.
2080
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
2081
- * Configurations determining which relations to soft delete along with the each of the collections. You can pass to its `returnLinkableKeys`
2082
- * property any of the collection's relation attribute names.
2083
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2084
- * @returns {Promise<Record<string, string[]> | void>}
2085
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the collection entity's relations.
2086
- *
2087
- * If there are no related records, the promise resolved to `void`.
2088
- *
2089
- * @example
2090
- * await productModuleService.softDeleteProductCollections([
2091
- * "pcol_123",
2092
- * "pcol_321",
2093
- * ])
2094
- */
2095
- softDeleteProductCollections<TReturnableLinkableKeys extends string = string>(collectionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
2096
- /**
2097
- * This method is used to restore collections which were deleted using the {@link softDelete} method.
2098
- *
2099
- * @param {string[]} collectionIds - The IDs of the collections to restore.
2100
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
2101
- * Configurations determining which relations to restore along with each of the collections. You can pass to its `returnLinkableKeys`
2102
- * property any of the collection's relation attribute names.
2103
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2104
- * @returns {Promise<Record<string, string[]> | void>}
2105
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the product entity's relations.
2106
- *
2107
- * If there are no related records that were restored, the promise resolved to `void`.
2108
- *
2109
- * @example
2110
- * await productModuleService.restoreProductCollections([
2111
- * "pcol_123",
2112
- * "pcol_321",
2113
- * ])
2114
- */
2115
- restoreProductCollections<TReturnableLinkableKeys extends string = string>(collectionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
2116
- /**
2117
- * This method is used to retrieve a product category by its ID.
2118
- *
2119
- * @param {string} productCategoryId - The ID of the product category to retrieve.
2120
- * @param {FindConfig<ProductCategoryDTO>} config -
2121
- * The configurations determining how the product category is retrieved. Its properties, such as `select` or `relations`, accept the
2122
- * attributes or relations associated with a product category.
2123
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2124
- * @returns {Promise<ProductCategoryDTO>} The retrieved product category.
2125
- *
2126
- * @example
2127
- * A simple example that retrieves a product category by its ID:
2128
- *
2129
- * ```ts
2130
- * const category =
2131
- * await productModuleService.retrieveProductCategory("pcat_123")
2132
- * ```
2133
- *
2134
- * To specify relations that should be retrieved:
2135
- *
2136
- * :::note
2137
- *
2138
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2139
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2140
- *
2141
- * :::
2142
- *
2143
- * ```ts
2144
- * const category = await productModuleService.retrieveProductCategory(
2145
- * "pcat_123",
2146
- * {
2147
- * relations: ["products"],
2148
- * }
2149
- * )
2150
- * ```
2151
- */
2152
- retrieveProductCategory(productCategoryId: string, config?: FindConfig<ProductCategoryDTO>, sharedContext?: Context): Promise<ProductCategoryDTO>;
2153
- /**
2154
- * This method is used to retrieve a paginated list of product categories based on optional filters and configuration.
2155
- *
2156
- * @param {FilterableProductCategoryProps} filters - The filters to be applied on the retrieved product categories.
2157
- * @param {FindConfig<ProductCategoryDTO>} config -
2158
- * The configurations determining how the product categories are retrieved. Its properties, such as `select` or `relations`, accept the
2159
- * attributes or relations associated with a product category.
2160
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2161
- * @returns {Promise<ProductCategoryDTO[]>} The list of product categories.
2162
- *
2163
- * @example
2164
- * To retrieve a list of product categories using their IDs:
2165
- *
2166
- * ```ts
2167
- * const categories = await productModuleService.listProductCategories({
2168
- * id: ["pcat_123", "pcat_321"],
2169
- * })
2170
- * ```
2171
- *
2172
- * To specify relations that should be retrieved within the product categories:
2173
- *
2174
- * :::note
2175
- *
2176
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2177
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2178
- *
2179
- * :::
2180
- *
2181
- * ```ts
2182
- * const categories = await productModuleService.listProductCategories(
2183
- * {
2184
- * id: ["pcat_123", "pcat_321"],
2185
- * },
2186
- * {
2187
- * relations: ["products"],
2188
- * }
2189
- * )
2190
- * ```
2191
- *
2192
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
2193
- *
2194
- * ```ts
2195
- * const categories = await productModuleService.listProductCategories(
2196
- * {
2197
- * id: ["pcat_123", "pcat_321"],
2198
- * },
2199
- * {
2200
- * relations: ["products"],
2201
- * take: 20,
2202
- * skip: 2,
2203
- * }
2204
- * )
2205
- * ```
2206
- */
2207
- listProductCategories(filters?: FilterableProductCategoryProps, config?: FindConfig<ProductCategoryDTO>, sharedContext?: Context): Promise<ProductCategoryDTO[]>;
2208
- /**
2209
- * This method is used to retrieve a paginated list of product categories along with the total count of available product categories satisfying the provided filters.
2210
- *
2211
- * @param {FilterableProductCategoryProps} filters - The filters to apply on the retrieved product categories.
2212
- * @param {FindConfig<ProductCategoryDTO>} config -
2213
- * The configurations determining how the product categories are retrieved. Its properties, such as `select` or `relations`, accept the
2214
- * attributes or relations associated with a product category.
2215
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2216
- * @returns {Promise<[ProductCategoryDTO[], number]>} The list of product categories along with their total count.
2217
- *
2218
- * @example
2219
- * To retrieve a list of product categories using their IDs:
2220
- *
2221
- * ```ts
2222
- * const [categories, count] =
2223
- * await productModuleService.listAndCountProductCategories({
2224
- * id: ["pcat_123", "pcat_321"],
2225
- * })
2226
- * ```
2227
- *
2228
- * To specify relations that should be retrieved within the product categories:
2229
- *
2230
- * :::note
2231
- *
2232
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2233
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2234
- *
2235
- * :::
2236
- *
2237
- * ```ts
2238
- * const [categories, count] =
2239
- * await productModuleService.listAndCountProductCategories(
2240
- * {
2241
- * id: ["pcat_123", "pcat_321"],
2242
- * },
2243
- * {
2244
- * relations: ["products"],
2245
- * }
2246
- * )
2247
- * ```
2248
- *
2249
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
2250
- *
2251
- * ```ts
2252
- * const [categories, count] =
2253
- * await productModuleService.listAndCountProductCategories(
2254
- * {
2255
- * id: ["pcat_123", "pcat_321"],
2256
- * },
2257
- * {
2258
- * relations: ["products"],
2259
- * take: 20,
2260
- * skip: 2,
2261
- * }
2262
- * )
2263
- * ```
2264
- */
2265
- listAndCountProductCategories(filters?: FilterableProductCategoryProps, config?: FindConfig<ProductCategoryDTO>, sharedContext?: Context): Promise<[ProductCategoryDTO[], number]>;
2266
- /**
2267
- * This method is used to create product categories.
2268
- *
2269
- * @param {CreateProductCategoryDTO[]} data - The product categories to be created.
2270
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2271
- * @returns {Promise<ProductCategoryDTO[]>} The list of created product categories.
2272
- *
2273
- * @example
2274
- * const categories =
2275
- * await productModuleService.createProductCategories([
2276
- * {
2277
- * name: "Tools",
2278
- * },
2279
- * {
2280
- * name: "Clothing",
2281
- * },
2282
- * ])
2283
- *
2284
- */
2285
- createProductCategories(data: CreateProductCategoryDTO[], sharedContext?: Context): Promise<ProductCategoryDTO[]>;
2286
- /**
2287
- * This method is used to create a product category.
2288
- *
2289
- * @param {CreateProductCategoryDTO} data - The product category to be created.
2290
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2291
- * @returns {Promise<ProductCategoryDTO>} The created product category.
2292
- *
2293
- * @example
2294
- * const category =
2295
- * await productModuleService.createProductCategories({
2296
- * name: "Tools",
2297
- * })
2298
- *
2299
- */
2300
- createProductCategories(data: CreateProductCategoryDTO, sharedContext?: Context): Promise<ProductCategoryDTO>;
2301
- /**
2302
- * This method updates existing categories, or creates new ones if they don't exist.
2303
- *
2304
- * @param {UpsertProductCategoryDTO[]} data - The attributes to update or create for each category.
2305
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2306
- * @returns {Promise<ProductCategoryDTO[]>} The updated and created categories.
2307
- *
2308
- * @example
2309
- * const categories =
2310
- * await productModuleService.upsertProductCategories([
2311
- * {
2312
- * id: "pcat_123",
2313
- * name: "Clothing",
2314
- * },
2315
- * {
2316
- * name: "Tools",
2317
- * },
2318
- * ])
2319
- */
2320
- upsertProductCategories(data: UpsertProductCategoryDTO[], sharedContext?: Context): Promise<ProductCategoryDTO[]>;
2321
- /**
2322
- * This method updates an existing category, or creates a new one if it doesn't exist.
2323
- *
2324
- * @param {UpsertProductCategoryDTO} data - The attributes to update or create for the category.
2325
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2326
- * @returns {Promise<ProductCategoryDTO>} The updated or created category.
2327
- *
2328
- * @example
2329
- * const category =
2330
- * await productModuleService.upsertProductCategories({
2331
- * id: "pcat_123",
2332
- * name: "Clothing",
2333
- * })
2334
- */
2335
- upsertProductCategories(data: UpsertProductCategoryDTO, sharedContext?: Context): Promise<ProductCategoryDTO>;
2336
- /**
2337
- * This method is used to update a category.
2338
- *
2339
- * @param {string} id - The ID of the category to be updated.
2340
- * @param {UpdateProductCategoryDTO} data - The attributes of the category to be updated
2341
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2342
- * @returns {Promise<ProductCategoryDTO>} The updated category.
2343
- *
2344
- * @example
2345
- * const category =
2346
- * await productModuleService.updateProductCategories("pcat_123", {
2347
- * title: "Tools",
2348
- * })
2349
- */
2350
- updateProductCategories(id: string, data: UpdateProductCategoryDTO, sharedContext?: Context): Promise<ProductCategoryDTO>;
2351
- /**
2352
- * This method is used to update a list of categories matching the specified filters.
2353
- *
2354
- * @param {FilterableProductCategoryProps} selector - The filters specifying which categories to update.
2355
- * @param {UpdateProductCategoryDTO} data - The attributes to be updated on the selected categories
2356
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2357
- * @returns {Promise<ProductCategoryDTO[]>} The updated categories.
2358
- *
2359
- * @example
2360
- * const categories =
2361
- * await productModuleService.updateProductCategories(
2362
- * {
2363
- * id: ["pcat_123", "pcat_321"],
2364
- * },
2365
- * {
2366
- * title: "Tools",
2367
- * }
2368
- * )
2369
- */
2370
- updateProductCategories(selector: FilterableProductCategoryProps, data: UpdateProductCategoryDTO, sharedContext?: Context): Promise<ProductCategoryDTO[]>;
2371
- /**
2372
- * This method is used to delete categories by their ID.
2373
- *
2374
- * @param {string[]} productCategoryIds - The IDs of the product categories to be updated.
2375
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2376
- * @returns {Promise<void>} Resolves when the product options are successfully deleted.
2377
- *
2378
- * @example
2379
- * await productModuleService.deleteProductCategories([
2380
- * "pcat_123",
2381
- * "pcat_321",
2382
- * ])
2383
- *
2384
- */
2385
- deleteProductCategories(productCategoryIds: string[], sharedContext?: Context): Promise<void>;
2386
- /**
2387
- * This method is used to delete product categories. Unlike the {@link deleteCategories} method, this method won't completely remove the category. It can still be accessed or retrieved using methods like {@link retrieveCategories} if you pass the `withDeleted` property to the `config` object parameter.
2388
- *
2389
- * The soft-deleted categories can be restored using the {@link restoreCategories} method.
2390
- *
2391
- * @param {string[]} categoryIds - The IDs of the categories to soft-delete.
2392
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config -
2393
- * Configurations determining which relations to soft delete along with the each of the categories. You can pass to its `returnLinkableKeys`
2394
- * property any of the category's relation attribute names.
2395
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2396
- * @returns {Promise<Record<string, string[]> | void>}
2397
- * An object that includes the IDs of related records that were also soft deleted. The object's keys are the ID attribute names of the category entity's relations.
2398
- *
2399
- * If there are no related records, the promise resolved to `void`.
2400
- *
2401
- * @example
2402
- * await productModuleService.softDeleteProductCategories([
2403
- * "pcat_123",
2404
- * "pcat_321",
2405
- * ])
2406
- */
2407
- softDeleteProductCategories<TReturnableLinkableKeys extends string = string>(categoryIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
2408
- /**
2409
- * This method is used to restore categories which were deleted using the {@link softDelete} method.
2410
- *
2411
- * @param {string[]} categoryIds - The IDs of the categories to restore.
2412
- * @param {RestoreReturn<TReturnableLinkableKeys>} config -
2413
- * Configurations determining which relations to restore along with each of the categories. You can pass to its `returnLinkableKeys`
2414
- * property any of the category's relation attribute names.
2415
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2416
- * @returns {Promise<Record<string, string[]> | void>}
2417
- * An object that includes the IDs of related records that were restored. The object's keys are the ID attribute names of the product entity's relations.
2418
- *
2419
- * If there are no related records that were restored, the promise resolved to `void`.
2420
- *
2421
- * @example
2422
- * await productModuleService.restoreProductCategories([
2423
- * "pcat_123",
2424
- * "pcat_321",
2425
- * ])
2426
- */
2427
- restoreProductCategories<TReturnableLinkableKeys extends string = string>(categoryIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
2428
- }
2429
- //# sourceMappingURL=service.d.ts.map