@acmekit/types 2.13.2 → 2.13.4

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,2632 +0,0 @@
1
- import { FindConfig } from "../common";
2
- import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
- import { IModuleService } from "../modules-sdk";
4
- import { Context } from "../shared-context";
5
- import { FilterableFulfillmentProps, FilterableFulfillmentProviderProps, FilterableFulfillmentSetProps, FilterableGeoZoneProps, FilterableServiceZoneProps, FilterableShippingOptionForContextProps, FilterableShippingOptionProps, FilterableShippingOptionRuleProps, FilterableShippingOptionTypeProps, FilterableShippingProfileProps, FulfillmentDTO, FulfillmentProviderDTO, FulfillmentSetDTO, GeoZoneDTO, ServiceZoneDTO, ShippingOptionDTO, ShippingOptionRuleDTO, ShippingOptionTypeDTO, ShippingProfileDTO } from "./common";
6
- import { CalculateShippingOptionPriceDTO, CreateFulfillmentSetDTO, CreateGeoZoneDTO, CreateServiceZoneDTO, CreateShippingOptionDTO, CreateShippingOptionRuleDTO, CreateShippingOptionTypeDTO, UpdateFulfillmentDTO, UpdateFulfillmentSetDTO, UpdateGeoZoneDTO, UpdateServiceZoneDTO, UpdateShippingOptionDTO, UpdateShippingOptionRuleDTO, UpdateShippingOptionTypeDTO, UpdateShippingProfileDTO, UpsertServiceZoneDTO, UpsertShippingOptionDTO, UpsertShippingOptionTypeDTO } from "./mutations";
7
- import { CreateFulfillmentDTO } from "./mutations/fulfillment";
8
- import { CreateShippingProfileDTO, UpsertShippingProfileDTO } from "./mutations/shipping-profile";
9
- import { CalculatedShippingOptionPrice, ValidateFulfillmentDataContext } from "./provider";
10
- /**
11
- * The main service interface for the Fulfillment Module.
12
- */
13
- export interface IFulfillmentModuleService extends IModuleService {
14
- /**
15
- * This method retrieves a fulfillment set by its ID.
16
- *
17
- * @param {string} id - The ID of the fulfillment set.
18
- * @param {FindConfig<FulfillmentSetDTO>} config - The configurations determining how the fulfillment set is retrieved. Its properties, such as `select` or `relations`, accept the
19
- * attributes or relations associated with a fulfillment set.
20
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
21
- * @returns {Promise<FulfillmentSetDTO>} The retrieved fulfillment set.
22
- *
23
- * @example
24
- * A simple example that retrieves a fulfillment set by its ID:
25
- *
26
- * ```ts
27
- * const fulfillmentSet =
28
- * await fulfillmentModuleService.retrieveFulfillmentSet("fuset_123")
29
- * ```
30
- *
31
- * To specify relations that should be retrieved:
32
- *
33
- * :::note
34
- *
35
- * You can only retrieve data models defined in the same module. To retrieve linked data models
36
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
37
- *
38
- * :::
39
- *
40
- * ```ts
41
- * const fulfillmentSet = await fulfillmentModuleService.retrieveFulfillmentSet(
42
- * "fuset_123",
43
- * {
44
- * relations: ["service_zones"],
45
- * }
46
- * )
47
- * ```
48
- */
49
- retrieveFulfillmentSet(id: string, config?: FindConfig<FulfillmentSetDTO>, sharedContext?: Context): Promise<FulfillmentSetDTO>;
50
- /**
51
- * This method retrieves a paginated list of fulfillment sets based on optional filters and configuration.
52
- *
53
- * @param {FilterableFulfillmentSetProps} filters - The filters to apply on the retrieved fulfillment sets.
54
- * @param {FindConfig<FulfillmentSetDTO>} config - The configurations determining how the fulfillment set is retrieved. Its properties, such as `select` or `relations`, accept the
55
- * attributes or relations associated with a fulfillment set.
56
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
57
- * @returns {Promise<FulfillmentSetDTO[]>} The list of fulfillment sets.
58
- *
59
- * @example
60
- * To retrieve a list of fulfillment sets using their IDs:
61
- *
62
- * ```ts
63
- * const fulfillmentSets = await fulfillmentModuleService.listFulfillmentSets({
64
- * id: ["fuset_123", "fuset_321"],
65
- * })
66
- * ```
67
- *
68
- * To specify relations that should be retrieved within the fulfillment set:
69
- *
70
- * :::note
71
- *
72
- * You can only retrieve data models defined in the same module. To retrieve linked data models
73
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
74
- *
75
- * :::
76
- *
77
- * ```ts
78
- * const fulfillmentSets = await fulfillmentModuleService.listFulfillmentSets(
79
- * {
80
- * id: ["fuset_123", "fuset_321"],
81
- * },
82
- * {
83
- * relations: ["search_zones"],
84
- * }
85
- * )
86
- * ```
87
- *
88
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
89
- *
90
- * ```ts
91
- * const fulfillmentSets = await fulfillmentModuleService.listFulfillmentSets(
92
- * {
93
- * id: ["fuset_123", "fuset_321"],
94
- * },
95
- * {
96
- * relations: ["search_zones"],
97
- * take: 20,
98
- * skip: 2,
99
- * }
100
- * )
101
- * ```
102
- */
103
- listFulfillmentSets(filters?: FilterableFulfillmentSetProps, config?: FindConfig<FulfillmentSetDTO>, sharedContext?: Context): Promise<FulfillmentSetDTO[]>;
104
- /**
105
- * This method retrieves a paginated list of fulfillment sets along with the total count of available fulfillment sets satisfying the provided filters.
106
- *
107
- * @param {FilterableFulfillmentSetProps} filters - The filters to apply on the retrieved fulfillment sets.
108
- * @param {FindConfig<FulfillmentSetDTO>} config - The configurations determining how the fulfillment set is retrieved. Its properties, such as `select` or `relations`, accept the
109
- * attributes or relations associated with a fulfillment set.
110
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
111
- * @returns {Promise<[FulfillmentSetDTO[], number]>} The list of fulfillment sets along with their total count.
112
- *
113
- * @example
114
- * To retrieve a list of fulfillment sets using their IDs:
115
- *
116
- * ```ts
117
- * const [fulfillmentSets, count] =
118
- * await fulfillmentModuleService.listAndCountFulfillmentSets({
119
- * id: ["fuset_123", "fuset_321"],
120
- * })
121
- * ```
122
- *
123
- * To specify relations that should be retrieved within the fulfillment set:
124
- *
125
- * :::note
126
- *
127
- * You can only retrieve data models defined in the same module. To retrieve linked data models
128
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
129
- *
130
- * :::
131
- *
132
- * ```ts
133
- * const [fulfillmentSets, count] =
134
- * await fulfillmentModuleService.listAndCountFulfillmentSets(
135
- * {
136
- * id: ["fuset_123", "fuset_321"],
137
- * },
138
- * {
139
- * relations: ["search_zones"],
140
- * }
141
- * )
142
- * ```
143
- *
144
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
145
- *
146
- * ```ts
147
- * const [fulfillmentSets, count] =
148
- * await fulfillmentModuleService.listAndCountFulfillmentSets(
149
- * {
150
- * id: ["fuset_123", "fuset_321"],
151
- * },
152
- * {
153
- * relations: ["search_zones"],
154
- * take: 20,
155
- * skip: 2,
156
- * }
157
- * )
158
- * ```
159
- */
160
- listAndCountFulfillmentSets(filters?: FilterableFulfillmentSetProps, config?: FindConfig<FulfillmentSetDTO>, sharedContext?: Context): Promise<[FulfillmentSetDTO[], number]>;
161
- /**
162
- * This method creates fulfillment sets.
163
- *
164
- * @param {CreateFulfillmentSetDTO[]} data - The fulfillment sets to be created.
165
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
166
- * @returns {Promise<FulfillmentSetDTO[]>} The created fulfillment sets.
167
- *
168
- * @example
169
- * const fulfillmentSets = await fulfillmentModuleService.createFulfillmentSets(
170
- * [
171
- * {
172
- * name: "Shipping",
173
- * type: "default",
174
- * },
175
- * {
176
- * name: "Pickup",
177
- * type: "provider-controlled",
178
- * },
179
- * ]
180
- * )
181
- */
182
- createFulfillmentSets(data: CreateFulfillmentSetDTO[], sharedContext?: Context): Promise<FulfillmentSetDTO[]>;
183
- /**
184
- * This method creates a fulfillment set.
185
- *
186
- * @param {CreateFulfillmentSetDTO} data - The fulfillment set to be created.
187
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
188
- * @returns {Promise<FulfillmentSetDTO>} The created fulfillment set.
189
- *
190
- * @example
191
- * const fulfillmentSet = await fulfillmentModuleService.createFulfillmentSets({
192
- * name: "Shipping",
193
- * type: "default",
194
- * })
195
- */
196
- createFulfillmentSets(data: CreateFulfillmentSetDTO, sharedContext?: Context): Promise<FulfillmentSetDTO>;
197
- /**
198
- * This method updates existing fulfillment sets.
199
- *
200
- * @param {UpdateFulfillmentSetDTO[]} data - The attributes to update in the fulfillment sets.
201
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
202
- * @returns {Promise<FulfillmentSetDTO[]>} The updated fulfillment sets.
203
- *
204
- * @example
205
- * const fulfillmentSets = await fulfillmentModuleService.updateFulfillmentSets(
206
- * [
207
- * {
208
- * id: "fuset_123",
209
- * name: "Shipping",
210
- * },
211
- * {
212
- * id: "fuset_321",
213
- * name: "Pickup",
214
- * },
215
- * ]
216
- * )
217
- */
218
- updateFulfillmentSets(data: UpdateFulfillmentSetDTO[], sharedContext?: Context): Promise<FulfillmentSetDTO[]>;
219
- /**
220
- * This method updates an existing fulfillment set.
221
- *
222
- * @param {UpdateFulfillmentSetDTO} data - The attributes to update in the fulfillment set.
223
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
224
- * @returns {Promise<FulfillmentSetDTO>} The updated fulfillment set.
225
- *
226
- * @example
227
- * const fulfillmentSet = await fulfillmentModuleService.updateFulfillmentSets({
228
- * id: "fuset_123",
229
- * name: "Shipping",
230
- * })
231
- */
232
- updateFulfillmentSets(data: UpdateFulfillmentSetDTO, sharedContext?: Context): Promise<FulfillmentSetDTO>;
233
- /**
234
- * This method deletes fulfillment sets by their IDs.
235
- *
236
- * @param {string[]} ids - The IDs of the fulfillment sets.
237
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
238
- * @returns {Promise<void>} Resolves when the fulfillment sets are deleted successfully.
239
- *
240
- * @example
241
- * await fulfillmentModuleService.deleteFulfillmentSets([
242
- * "fuset_123",
243
- * "fuset_321",
244
- * ])
245
- */
246
- deleteFulfillmentSets(ids: string[], sharedContext?: Context): Promise<void>;
247
- /**
248
- * This method deletes a fulfillment set by its ID.
249
- *
250
- * @param {string} id - The ID of the fulfillment set.
251
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
252
- * @returns {Promise<void>} Resolves when the fulfillment set is deleted successfully.
253
- *
254
- * @example
255
- * await fulfillmentModuleService.deleteFulfillmentSets("fuset_123")
256
- */
257
- deleteFulfillmentSets(id: string, sharedContext?: Context): Promise<void>;
258
- /**
259
- * This method soft deletes fulfillment sets by their IDs.
260
- *
261
- * @param {string[]} fulfillmentIds - The IDs of the fulfillment sets.
262
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
263
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
264
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
265
- * If there are no related records, the promise resolves to `void`.
266
- *
267
- * @example
268
- * await fulfillmentModuleService.softDeleteFulfillmentSets([
269
- * "fuset_123",
270
- * "fuset_321",
271
- * ])
272
- */
273
- softDeleteFulfillmentSets<TReturnableLinkableKeys extends string = string>(fulfillmentIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
274
- /**
275
- * This method restores a soft deleted fulfillment by its IDs.
276
- *
277
- * @param {string[]} fulfillmentIds - The IDs of the fulfillment sets.
278
- * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the fulfillment sets. You can pass to its `returnLinkableKeys`
279
- * property any of the fulfillment set's relation attribute names.
280
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
281
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
282
- * If there are no related records restored, the promise resolves to `void`.
283
- *
284
- * @example
285
- * await fulfillmentModuleService.restoreFulfillmentSets([
286
- * "fuset_123",
287
- * "fuset_321",
288
- * ])
289
- */
290
- restoreFulfillmentSets<TReturnableLinkableKeys extends string = string>(fulfillmentIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
291
- /**
292
- * This method retrieves a service zone by its ID.
293
- *
294
- * @param {string} id - The ID of the service zone.
295
- * @param {FindConfig<ServiceZoneDTO>} config - The configurations determining how the service zone is retrieved. Its properties, such as `select` or `relations`, accept the
296
- * attributes or relations associated with a service zone.
297
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
298
- * @returns {Promise<ServiceZoneDTO>} The retrieved service zone.
299
- *
300
- * @example
301
- * A simple example that retrieves a service zone by its ID:
302
- *
303
- * ```ts
304
- * const serviceZone =
305
- * await fulfillmentModuleService.retrieveServiceZone(
306
- * "serzo_123"
307
- * )
308
- * ```
309
- *
310
- * To specify relations that should be retrieved:
311
- *
312
- * :::note
313
- *
314
- * You can only retrieve data models defined in the same module. To retrieve linked data models
315
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
316
- *
317
- * :::
318
- *
319
- * ```ts
320
- * const serviceZone =
321
- * await fulfillmentModuleService.retrieveServiceZone(
322
- * "serzo_123",
323
- * {
324
- * relations: ["shipping_options"],
325
- * }
326
- * )
327
- * ```
328
- */
329
- retrieveServiceZone(id: string, config?: FindConfig<ServiceZoneDTO>, sharedContext?: Context): Promise<ServiceZoneDTO>;
330
- /**
331
- * This method retrieves a paginated list of service zones based on optional filters and configuration.
332
- *
333
- * @param {FilterableServiceZoneProps} filters - The filters to apply on the retrieved service zones.
334
- * @param {FindConfig<ServiceZoneDTO>} config - The configurations determining how the service zone is retrieved. Its properties, such as `select` or `relations`, accept the
335
- * attributes or relations associated with a service zone.
336
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
337
- * @returns {Promise<ServiceZoneDTO[]>} The list of service zones.
338
- *
339
- * @example
340
- * To retrieve a list of service zones using their IDs:
341
- *
342
- * ```ts
343
- * const serviceZones =
344
- * await fulfillmentModuleService.listServiceZones({
345
- * id: ["serzo_123", "serzo_321"],
346
- * })
347
- * ```
348
- *
349
- * To specify relations that should be retrieved within the service zone:
350
- *
351
- * :::note
352
- *
353
- * You can only retrieve data models defined in the same module. To retrieve linked data models
354
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
355
- *
356
- * :::
357
- *
358
- * ```ts
359
- * const serviceZones =
360
- * await fulfillmentModuleService.listServiceZones(
361
- * {
362
- * id: ["serzo_123", "serzo_321"],
363
- * },
364
- * {
365
- * relations: ["shipping_options"],
366
- * }
367
- * )
368
- * ```
369
- *
370
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
371
- *
372
- * ```ts
373
- * const serviceZones =
374
- * await fulfillmentModuleService.listServiceZones(
375
- * {
376
- * id: ["serzo_123", "serzo_321"],
377
- * },
378
- * {
379
- * relations: ["shipping_options"],
380
- * take: 20,
381
- * skip: 2,
382
- * }
383
- * )
384
- * ```
385
- */
386
- listServiceZones(filters?: FilterableServiceZoneProps, config?: FindConfig<ServiceZoneDTO>, sharedContext?: Context): Promise<ServiceZoneDTO[]>;
387
- /**
388
- * This method retrieves a paginated list of service zones along with the total count of available service zones satisfying the provided filters.
389
- *
390
- * @param {FilterableServiceZoneProps} filters - The filters to apply on the retrieved service zones.
391
- * @param {FindConfig<ServiceZoneDTO>} config - The configurations determining how the service zone is retrieved. Its properties, such as `select` or `relations`, accept the
392
- * attributes or relations associated with a service zone.
393
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
394
- * @returns {Promise<[ServiceZoneDTO[], number]>} The list of service zones along with their total count.
395
- *
396
- * @example
397
- * To retrieve a list of service zones using their IDs:
398
- *
399
- * ```ts
400
- * const [serviceZones, count] =
401
- * await fulfillmentModuleService.listAndCountServiceZones({
402
- * id: ["serzo_123", "serzo_321"],
403
- * })
404
- * ```
405
- *
406
- * To specify relations that should be retrieved within the service zone:
407
- *
408
- * :::note
409
- *
410
- * You can only retrieve data models defined in the same module. To retrieve linked data models
411
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
412
- *
413
- * :::
414
- *
415
- * ```ts
416
- * const [serviceZones, count] =
417
- * await fulfillmentModuleService.listAndCountServiceZones(
418
- * {
419
- * id: ["serzo_123", "serzo_321"],
420
- * },
421
- * {
422
- * relations: ["shipping_options"],
423
- * }
424
- * )
425
- * ```
426
- *
427
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
428
- *
429
- * ```ts
430
- * const [serviceZones, count] =
431
- * await fulfillmentModuleService.listAndCountServiceZones(
432
- * {
433
- * id: ["serzo_123", "serzo_321"],
434
- * },
435
- * {
436
- * relations: ["shipping_options"],
437
- * take: 20,
438
- * skip: 2,
439
- * }
440
- * )
441
- * ```
442
- */
443
- listAndCountServiceZones(filters?: FilterableServiceZoneProps, config?: FindConfig<ServiceZoneDTO>, sharedContext?: Context): Promise<[ServiceZoneDTO[], number]>;
444
- /**
445
- * This method creates service zones.
446
- *
447
- * @param {CreateServiceZoneDTO[]} data - The service zones to be created.
448
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
449
- * @returns {Promise<ServiceZoneDTO[]>} The created service zones.
450
- *
451
- * @example
452
- * const serviceZones =
453
- * await fulfillmentModuleService.createServiceZones([
454
- * {
455
- * name: "Nordic Shipping Methods",
456
- * fulfillment_set_id: "fuset_123",
457
- * },
458
- * {
459
- * name: "Pickup Service Area",
460
- * fulfillment_set_id: "fuset_321",
461
- * },
462
- * ])
463
- */
464
- createServiceZones(data: CreateServiceZoneDTO[], sharedContext?: Context): Promise<ServiceZoneDTO[]>;
465
- /**
466
- * This method creates a service zone.
467
- *
468
- * @param {CreateServiceZoneDTO} data - The service zone to be created.
469
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
470
- * @returns {Promise<ServiceZoneDTO>} The created service zone.
471
- *
472
- * @example
473
- * const serviceZone =
474
- * await fulfillmentModuleService.createServiceZones({
475
- * name: "Nordic Shipping Methods",
476
- * fulfillment_set_id: "fuset_123",
477
- * })
478
- */
479
- createServiceZones(data: CreateServiceZoneDTO, sharedContext?: Context): Promise<ServiceZoneDTO>;
480
- /**
481
- * This method updates an existing service zone.
482
- *
483
- * @param {string} id - The ID of the service zone.
484
- * @param {UpdateServiceZoneDTO} data - The attributes to update in the service zone.
485
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
486
- * @returns {Promise<ServiceZoneDTO>} The updated service zone.
487
- *
488
- * @example
489
- * const serviceZone =
490
- * await fulfillmentModuleService.updateServiceZones(
491
- * "serzo_123",
492
- * {
493
- * name: "US",
494
- * }
495
- * )
496
- */
497
- updateServiceZones(id: string, data: UpdateServiceZoneDTO, sharedContext?: Context): Promise<ServiceZoneDTO>;
498
- /**
499
- * This method updates existing service zones matching the specified filters.
500
- *
501
- * @param {FilterableServiceZoneProps} selector - The filters specifying which service zones to update.
502
- * @param {UpdateServiceZoneDTO} data - The attributes to update in the service zone.
503
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
504
- * @returns {Promise<ServiceZoneDTO[]>} The updated service zones.
505
- *
506
- * @example
507
- * const serviceZones =
508
- * await fulfillmentModuleService.updateServiceZones(
509
- * {
510
- * id: ["serzo_123", "serzo_321"],
511
- * },
512
- * {
513
- * name: "US",
514
- * }
515
- * )
516
- */
517
- updateServiceZones(selector: FilterableServiceZoneProps, data: UpdateServiceZoneDTO, sharedContext?: Context): Promise<ServiceZoneDTO[]>;
518
- /**
519
- * This method updates or creates a service zone if it doesn't exist.
520
- *
521
- * @param {UpsertServiceZoneDTO} data - The attributes in the service zone to be created or updated.
522
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
523
- * @returns {Promise<ServiceZoneDTO>} The created or updated service zone.
524
- *
525
- * @example
526
- * const serviceZone =
527
- * await fulfillmentModuleService.upsertServiceZones({
528
- * id: "serzo_123",
529
- * name: "US",
530
- * })
531
- */
532
- upsertServiceZones(data: UpsertServiceZoneDTO, sharedContext?: Context): Promise<ServiceZoneDTO>;
533
- /**
534
- * This method updates or creates service zones if they don't exist.
535
- *
536
- * @param {UpsertServiceZoneDTO[]} data - The attributes in the service zones to be created or updated.
537
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
538
- * @returns {Promise<ServiceZoneDTO[]>} The created or updated service zones.
539
- *
540
- * @example
541
- * const serviceZones =
542
- * await fulfillmentModuleService.upsertServiceZones([
543
- * {
544
- * id: "serzo_123",
545
- * name: "US",
546
- * },
547
- * {
548
- * name: "US",
549
- * fulfillment_set_id: "fuset_123",
550
- * },
551
- * ])
552
- */
553
- upsertServiceZones(data: UpsertServiceZoneDTO[], sharedContext?: Context): Promise<ServiceZoneDTO[]>;
554
- /**
555
- * This method deletes service zones by their IDs.
556
- *
557
- * @param {string[]} ids - The IDs of the service zone.
558
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
559
- * @returns {Promise<void>} Resolves when the service zones are deleted.
560
- *
561
- * @example
562
- * await fulfillmentModuleService.deleteServiceZones([
563
- * "serzo_123",
564
- * "serzo_321",
565
- * ])
566
- */
567
- deleteServiceZones(ids: string[], sharedContext?: Context): Promise<void>;
568
- /**
569
- * This method deletes a service zone by its ID.
570
- *
571
- * @param {string} id - The ID of the service zone.
572
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
573
- * @returns {Promise<void>} Resolves when the service zone is deleted.
574
- *
575
- * @example
576
- * await fulfillmentModuleService.deleteServiceZones("serzo_123")
577
- */
578
- deleteServiceZones(id: string, sharedContext?: Context): Promise<void>;
579
- /**
580
- * This method soft deletes service zones by their IDs.
581
- *
582
- * @param {string[]} serviceZoneIds - The IDs of the service zones.
583
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
584
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
585
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
586
- * If there are no related records, the promise resolves to `void`.
587
- *
588
- * @example
589
- * await fulfillmentModuleService.softDeleteServiceZones([
590
- * "serzo_123",
591
- * "serzo_321",
592
- * ])
593
- */
594
- softDeleteServiceZones<TReturnableLinkableKeys extends string = string>(serviceZoneIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
595
- /**
596
- * This method restores a soft deleted service zones by their IDs.
597
- *
598
- * @param {string[]} serviceZoneIds - The IDs of the service zones.
599
- * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the service zones. You can pass to its `returnLinkableKeys`
600
- * property any of the service zone's relation attribute names, such as `{type relation name}`.
601
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
602
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
603
- * If there are no related records restored, the promise resolves to `void`.
604
- *
605
- * @example
606
- * await fulfillmentModuleService.restoreServiceZones([
607
- * "serzo_123",
608
- * "serzo_321",
609
- * ])
610
- */
611
- restoreServiceZones<TReturnableLinkableKeys extends string = string>(serviceZoneIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
612
- /**
613
- * This method retrieves a geo zone by its ID.
614
- *
615
- * @param {string} id - The ID of the geo zone.
616
- * @param {FindConfig<GeoZoneDTO>} config - The configurations determining how the geo zone is retrieved. Its properties, such as `select` or `relations`, accept the
617
- * attributes or relations associated with a geo zone.
618
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
619
- * @returns {Promise<GeoZoneDTO>} The retrieved geo zone.
620
- *
621
- * @example
622
- * A simple example that retrieves a geo zone by its ID:
623
- *
624
- * ```ts
625
- * const geoZone =
626
- * await fulfillmentModuleService.retrieveGeoZone("fgz_123")
627
- * ```
628
- *
629
- * To specify relations that should be retrieved:
630
- *
631
- * :::note
632
- *
633
- * You can only retrieve data models defined in the same module. To retrieve linked data models
634
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
635
- *
636
- * :::
637
- *
638
- * ```ts
639
- * const geoZone =
640
- * await fulfillmentModuleService.retrieveGeoZone("fgz_123", {
641
- * relations: ["service_zone"],
642
- * })
643
- * ```
644
- */
645
- retrieveGeoZone(id: string, config?: FindConfig<GeoZoneDTO>, sharedContext?: Context): Promise<GeoZoneDTO>;
646
- /**
647
- * This method retrieves a paginated list of geo zones based on optional filters and configuration.
648
- *
649
- * @param {FilterableGeoZoneProps} filters - The filters to apply on the retrieved geo zones.
650
- * @param {FindConfig<GeoZoneDTO>} config - The configurations determining how the geo zone is retrieved. Its properties, such as `select` or `relations`, accept the
651
- * attributes or relations associated with a geo zone.
652
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
653
- * @returns {Promise<GeoZoneDTO[]>} The list of geo zones.
654
- *
655
- * @example
656
- * To retrieve a list of geo zones using their IDs:
657
- *
658
- * ```ts
659
- * const geoZones = await fulfillmentModuleService.listGeoZones({
660
- * id: ["fgz_123", "fgz_321"],
661
- * })
662
- * ```
663
- *
664
- * To specify relations that should be retrieved within the geo zone:
665
- *
666
- * :::note
667
- *
668
- * You can only retrieve data models defined in the same module. To retrieve linked data models
669
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
670
- *
671
- * :::
672
- *
673
- * ```ts
674
- * const geoZones = await fulfillmentModuleService.listGeoZones(
675
- * {
676
- * id: ["fgz_123", "fgz_321"],
677
- * },
678
- * {
679
- * relations: ["service_zone"],
680
- * }
681
- * )
682
- * ```
683
- *
684
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
685
- *
686
- * ```ts
687
- * const geoZones = await fulfillmentModuleService.listGeoZones(
688
- * {
689
- * id: ["fgz_123", "fgz_321"],
690
- * },
691
- * {
692
- * relations: ["service_zone"],
693
- * take: 20,
694
- * skip: 2,
695
- * }
696
- * )
697
- * ```
698
- */
699
- listGeoZones(filters?: FilterableGeoZoneProps, config?: FindConfig<GeoZoneDTO>, sharedContext?: Context): Promise<GeoZoneDTO[]>;
700
- /**
701
- * This method retrieves a paginated list of geo zones along with the total count of available geo zones satisfying the provided filters.
702
- *
703
- * @param {FilterableGeoZoneProps} filters - The filters to apply on the retrieved geo zones.
704
- * @param {FindConfig<GeoZoneDTO>} config - The configurations determining how the geo zone is retrieved. Its properties, such as `select` or `relations`, accept the
705
- * attributes or relations associated with a geo zone.
706
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
707
- * @returns {Promise<[GeoZoneDTO[], number]>} The list of geo zones along with their total count.
708
- *
709
- * @example
710
- * To retrieve a list of geo zones using their IDs:
711
- *
712
- * ```ts
713
- * const [geoZones, count] =
714
- * await fulfillmentModuleService.listAndCountGeoZones({
715
- * id: ["fgz_123", "fgz_321"],
716
- * })
717
- * ```
718
- *
719
- * To specify relations that should be retrieved within the geo zone:
720
- *
721
- * :::note
722
- *
723
- * You can only retrieve data models defined in the same module. To retrieve linked data models
724
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
725
- *
726
- * :::
727
- *
728
- * ```ts
729
- * const [geoZones, count] =
730
- * await fulfillmentModuleService.listAndCountGeoZones(
731
- * {
732
- * id: ["fgz_123", "fgz_321"],
733
- * },
734
- * {
735
- * relations: ["service_zone"],
736
- * }
737
- * )
738
- * ```
739
- *
740
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
741
- *
742
- * ```ts
743
- * const [geoZones, count] =
744
- * await fulfillmentModuleService.listAndCountGeoZones(
745
- * {
746
- * id: ["fgz_123", "fgz_321"],
747
- * },
748
- * {
749
- * relations: ["service_zone"],
750
- * take: 20,
751
- * skip: 2,
752
- * }
753
- * )
754
- * ```
755
- */
756
- listAndCountGeoZones(filters?: FilterableGeoZoneProps, config?: FindConfig<GeoZoneDTO>, sharedContext?: Context): Promise<[GeoZoneDTO[], number]>;
757
- /**
758
- * This method creates geo zones.
759
- *
760
- * @param {CreateGeoZoneDTO[]} data - The geo zones to be created.
761
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
762
- * @returns {Promise<GeoZoneDTO[]>} The created geo zones.
763
- *
764
- * @example
765
- * const geoZones =
766
- * await fulfillmentModuleService.createGeoZones([
767
- * {
768
- * type: "country",
769
- * service_zone_id: "serzo_123",
770
- * country_code: "us",
771
- * },
772
- * {
773
- * type: "city",
774
- * service_zone_id: "serzo_321",
775
- * province_code: "us-vt",
776
- * city: "Vermont",
777
- * country_code: "us",
778
- * },
779
- * ])
780
- */
781
- createGeoZones(data: CreateGeoZoneDTO[], sharedContext?: Context): Promise<GeoZoneDTO[]>;
782
- /**
783
- * This method creates a geo zones.
784
- *
785
- * @param {CreateGeoZoneDTO} data - The geo zone to be created.
786
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
787
- * @returns {Promise<GeoZoneDTO>} The created geo zones.
788
- *
789
- * @example
790
- * const geoZones =
791
- * await fulfillmentModuleService.createGeoZones({
792
- * type: "country",
793
- * service_zone_id: "serzo_123",
794
- * country_code: "us",
795
- * })
796
- */
797
- createGeoZones(data: CreateGeoZoneDTO, sharedContext?: Context): Promise<GeoZoneDTO>;
798
- /**
799
- * This method updates existing geo zones.
800
- *
801
- * @param {UpdateGeoZoneDTO[]} data - The attributes to update in the geo zones.
802
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
803
- * @returns {Promise<GeoZoneDTO[]>} The updated geo zones.
804
- *
805
- * @example
806
- * const geoZones =
807
- * await fulfillmentModuleService.updateGeoZones([
808
- * {
809
- * id: "fgz_123",
810
- * type: "country",
811
- * country_code: "us",
812
- * },
813
- * {
814
- * id: "fgz_321",
815
- * type: "city",
816
- * province_code: "us-vt",
817
- * },
818
- * ])
819
- */
820
- updateGeoZones(data: UpdateGeoZoneDTO[], sharedContext?: Context): Promise<GeoZoneDTO[]>;
821
- /**
822
- * This method updates an existing fulfillment.
823
- *
824
- * @param {UpdateGeoZoneDTO} data - The attributes to update in the geo zone.
825
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
826
- * @returns {Promise<GeoZoneDTO>} The updated fulfillment.
827
- *
828
- * @example
829
- * const geoZones =
830
- * await fulfillmentModuleService.updateGeoZones({
831
- * id: "fgz_123",
832
- * type: "country",
833
- * country_code: "us",
834
- * })
835
- */
836
- updateGeoZones(data: UpdateGeoZoneDTO, sharedContext?: Context): Promise<GeoZoneDTO>;
837
- /**
838
- * This method deletes geo zones by their IDs.
839
- *
840
- * @param {string[]} ids - The IDs of the geo zones.
841
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
842
- * @returns {Promise<void>} Resolves when the geo zones are deleted.
843
- *
844
- * @example
845
- * await fulfillmentModuleService.deleteGeoZones([
846
- * "fgz_123",
847
- * "fgz_321",
848
- * ])
849
- */
850
- deleteGeoZones(ids: string[], sharedContext?: Context): Promise<void>;
851
- /**
852
- * This method deletes a geo zone by its ID.
853
- *
854
- * @param {string} id - The ID of the geo zone.
855
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
856
- * @returns {Promise<void>} Resolves when the geo zone is deleted.
857
- *
858
- * @example
859
- * await fulfillmentModuleService.deleteGeoZones("fgz_123")
860
- */
861
- deleteGeoZones(id: string, sharedContext?: Context): Promise<void>;
862
- /**
863
- * This method soft deletes geo zones by their IDs.
864
- *
865
- * @param {string[]} geoZoneIds - The IDs of the geo zones.
866
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
867
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
868
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
869
- * If there are no related records, the promise resolves to `void`.
870
- *
871
- * @example
872
- * await fulfillmentModuleService.softDeleteGeoZones([
873
- * "fgz_123",
874
- * "fgz_321",
875
- * ])
876
- */
877
- softDeleteGeoZones<TReturnableLinkableKeys extends string = string>(geoZoneIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
878
- /**
879
- * This method restores soft deleted geo zones by their IDs.
880
- *
881
- * @param {string[]} geoZoneIds - The IDs of the geo zones.
882
- * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the geo zones. You can pass to its `returnLinkableKeys`
883
- * property any of the geo zone's relation attribute names, such as `{type relation name}`.
884
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
885
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
886
- * If there are no related records restored, the promise resolves to `void`.
887
- *
888
- * @example
889
- * await fulfillmentModuleService.restoreGeoZones([
890
- * "fgz_123",
891
- * "fgz_321",
892
- * ])
893
- */
894
- restoreGeoZones<TReturnableLinkableKeys extends string = string>(geoZoneIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
895
- /**
896
- * This method retrieves a shipping option by its ID.
897
- *
898
- * @param {string} id - The ID of the shipping option.
899
- * @param {FindConfig<ShippingOptionDTO>} config - The configurations determining how the shipping option is retrieved. Its properties, such as `select` or `relations`, accept the
900
- * attributes or relations associated with a shipping option.
901
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
902
- * @returns {Promise<ShippingOptionDTO>} The retrieved shipping option.
903
- *
904
- * @example
905
- * A simple example that retrieves a shipping option by its ID:
906
- *
907
- * ```ts
908
- * const shippingOption =
909
- * await fulfillmentModuleService.retrieveShippingOption(
910
- * "so_123"
911
- * )
912
- * ```
913
- *
914
- * To specify relations that should be retrieved:
915
- *
916
- * :::note
917
- *
918
- * You can only retrieve data models defined in the same module. To retrieve linked data models
919
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
920
- *
921
- * :::
922
- *
923
- * ```ts
924
- * const shippingOption =
925
- * await fulfillmentModuleService.retrieveShippingOption(
926
- * "so_123",
927
- * {
928
- * relations: ["fulfillments"],
929
- * }
930
- * )
931
- * ```
932
- */
933
- retrieveShippingOption(id: string, config?: FindConfig<ShippingOptionDTO>, sharedContext?: Context): Promise<ShippingOptionDTO>;
934
- /**
935
- * This method retrieves a paginated list of shipping options based on optional filters and configuration.
936
- *
937
- * @param {FilterableShippingOptionProps} filters - The filters to apply on the retrieved shipping options.
938
- * @param {FindConfig<ShippingOptionDTO>} config - The configurations determining how the shipping option is retrieved. Its properties, such as `select` or `relations`, accept the
939
- * attributes or relations associated with a shipping option.
940
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
941
- * @returns {Promise<ShippingOptionDTO[]>} The list of shipping options.
942
- *
943
- * @example
944
- * To retrieve a list of shipping options using their IDs:
945
- *
946
- * ```ts
947
- * const shippingOptions =
948
- * await fulfillmentModuleService.listShippingOptions({
949
- * id: ["so_123", "so_321"],
950
- * })
951
- * ```
952
- *
953
- * To specify relations that should be retrieved within the shipping option:
954
- *
955
- * :::note
956
- *
957
- * You can only retrieve data models defined in the same module. To retrieve linked data models
958
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
959
- *
960
- * :::
961
- *
962
- * ```ts
963
- * const shippingOptions =
964
- * await fulfillmentModuleService.listShippingOptions(
965
- * {
966
- * id: ["so_123", "so_321"],
967
- * },
968
- * {
969
- * relations: ["fulfillments"],
970
- * }
971
- * )
972
- * ```
973
- *
974
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
975
- *
976
- * ```ts
977
- * const shippingOptions =
978
- * await fulfillmentModuleService.listShippingOptions(
979
- * {
980
- * id: ["so_123", "so_321"],
981
- * },
982
- * {
983
- * relations: ["fulfillments"],
984
- * take: 20,
985
- * skip: 2,
986
- * }
987
- * )
988
- * ```
989
- */
990
- listShippingOptions(filters?: FilterableShippingOptionForContextProps, config?: FindConfig<ShippingOptionDTO>, sharedContext?: Context): Promise<ShippingOptionDTO[]>;
991
- /**
992
- * This method retrieves a paginated list of shipping options based on the provided context.
993
- *
994
- * @param {FilterableShippingOptionForContextProps} filters - The context of the how the shipping option is being used. It
995
- * acts as a filter for the retrieved shipping options.
996
- * @param {FindConfig<ShippingOptionDTO>} config - The configurations determining how the shipping option is retrieved. Its properties, such as `select` or `relations`, accept the
997
- * attributes or relations associated with a shipping option.
998
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
999
- * @returns {Promise<ShippingOptionDTO[]>} The list of shipping options.
1000
- *
1001
- * @example
1002
- * To retrieve a list of shipping options matching a context:
1003
- *
1004
- * ```ts
1005
- * const shippingOptions =
1006
- * await fulfillmentModuleService.listShippingOptionsForContext(
1007
- * {
1008
- * fulfillment_set_id: ["fuset_123"],
1009
- * address: {
1010
- * country_code: "us",
1011
- * },
1012
- * }
1013
- * )
1014
- * ```
1015
- *
1016
- * To specify relations that should be retrieved within the shipping option:
1017
- *
1018
- * :::note
1019
- *
1020
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1021
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1022
- *
1023
- * :::
1024
- *
1025
- * ```ts
1026
- * const shippingOptions =
1027
- * await fulfillmentModuleService.listShippingOptionsForContext(
1028
- * {
1029
- * fulfillment_set_id: ["fuset_123"],
1030
- * address: {
1031
- * country_code: "us",
1032
- * },
1033
- * },
1034
- * {
1035
- * relations: ["fulfillments"],
1036
- * }
1037
- * )
1038
- * ```
1039
- *
1040
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1041
- *
1042
- * ```ts
1043
- * const shippingOptions =
1044
- * await fulfillmentModuleService.listShippingOptionsForContext(
1045
- * {
1046
- * fulfillment_set_id: ["fuset_123"],
1047
- * address: {
1048
- * country_code: "us",
1049
- * },
1050
- * },
1051
- * {
1052
- * relations: ["fulfillments"],
1053
- * take: 20,
1054
- * skip: 2,
1055
- * }
1056
- * )
1057
- * ```
1058
- */
1059
- listShippingOptionsForContext(filters: FilterableShippingOptionForContextProps, config?: FindConfig<ShippingOptionDTO>, sharedContext?: Context): Promise<ShippingOptionDTO[]>;
1060
- /**
1061
- * This method retrieves a paginated list of shipping options along with the total count of available shipping options satisfying the provided filters.
1062
- *
1063
- * @param {Omit<FilterableShippingOptionProps, "context">} filters - Construct a type with the properties of T except for those in type K.
1064
- * @param {FindConfig<ShippingOptionDTO>} config - The configurations determining how the shipping option is retrieved. Its properties, such as `select` or `relations`, accept the
1065
- * attributes or relations associated with a shipping option.
1066
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1067
- * @returns {Promise<[ShippingOptionDTO[], number]>} The list of shipping options along with their total count.
1068
- *
1069
- * @example
1070
- * To retrieve a list of shipping options using their IDs:
1071
- *
1072
- * ```ts
1073
- * const [shippingOptions, count] =
1074
- * await fulfillmentModuleService.listAndCountShippingOptions({
1075
- * id: ["so_123", "so_321"],
1076
- * })
1077
- * ```
1078
- *
1079
- * To specify relations that should be retrieved within the shipping option:
1080
- *
1081
- * :::note
1082
- *
1083
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1084
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1085
- *
1086
- * :::
1087
- *
1088
- * ```ts
1089
- * const [shippingOptions, count] =
1090
- * await fulfillmentModuleService.listAndCountShippingOptions(
1091
- * {
1092
- * id: ["so_123", "so_321"],
1093
- * },
1094
- * {
1095
- * relations: ["fulfillments"],
1096
- * }
1097
- * )
1098
- * ```
1099
- *
1100
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1101
- *
1102
- * ```ts
1103
- * const [shippingOptions, count] =
1104
- * await fulfillmentModuleService.listAndCountShippingOptions(
1105
- * {
1106
- * id: ["so_123", "so_321"],
1107
- * },
1108
- * {
1109
- * relations: ["fulfillments"],
1110
- * take: 20,
1111
- * skip: 2,
1112
- * }
1113
- * )
1114
- * ```
1115
- */
1116
- listAndCountShippingOptions(filters?: Omit<FilterableShippingOptionProps, "context">, config?: FindConfig<ShippingOptionDTO>, sharedContext?: Context): Promise<[ShippingOptionDTO[], number]>;
1117
- /**
1118
- * This method creates shipping options.
1119
- *
1120
- * @param {CreateShippingOptionDTO[]} data - The shipping options to be created.
1121
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1122
- * @returns {Promise<ShippingOptionDTO[]>} The created shipping options.
1123
- *
1124
- * @example
1125
- * const shippingOptions =
1126
- * await fulfillmentModuleService.createShippingOptions([
1127
- * {
1128
- * name: "DHL Express Shipping",
1129
- * price_type: "flat",
1130
- * service_zone_id: "serzo_123",
1131
- * shipping_profile_id: "sp_123",
1132
- * provider_id: "dhl",
1133
- * type: {
1134
- * label: "Express",
1135
- * description: "Ship in 24 hours",
1136
- * code: "express",
1137
- * },
1138
- * },
1139
- * {
1140
- * name: "Webshipper Shipping",
1141
- * price_type: "flat",
1142
- * service_zone_id: "serzo_321",
1143
- * shipping_profile_id: "sp_321",
1144
- * provider_id: "webshipper",
1145
- * type: {
1146
- * label: "Express",
1147
- * description: "Ship in 24 hours",
1148
- * code: "express",
1149
- * },
1150
- * },
1151
- * ])
1152
- */
1153
- createShippingOptions(data: CreateShippingOptionDTO[], sharedContext?: Context): Promise<ShippingOptionDTO[]>;
1154
- /**
1155
- * This method creates a shipping option.
1156
- *
1157
- * @param {CreateShippingOptionDTO} data - The shipping option to be created.
1158
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1159
- * @returns {Promise<ShippingOptionDTO>} The created shipping option.
1160
- *
1161
- * @example
1162
- * const shippingOption =
1163
- * await fulfillmentModuleService.createShippingOptions({
1164
- * name: "DHL Express Shipping",
1165
- * price_type: "flat",
1166
- * service_zone_id: "serzo_123",
1167
- * shipping_profile_id: "sp_123",
1168
- * provider_id: "dhl",
1169
- * type: {
1170
- * label: "Express",
1171
- * description: "Ship in 24 hours",
1172
- * code: "express",
1173
- * },
1174
- * })
1175
- */
1176
- createShippingOptions(data: CreateShippingOptionDTO, sharedContext?: Context): Promise<ShippingOptionDTO>;
1177
- /**
1178
- * This method updates an existing shipping option.
1179
- *
1180
- * @param {string} id - The ID of the shipping option.
1181
- * @param {UpdateShippingOptionDTO} data - The attributes to update in the shipping option.
1182
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1183
- * @returns {Promise<ShippingOptionDTO>} The updated shipping option.
1184
- *
1185
- * @example
1186
- * const shippingOption =
1187
- * await fulfillmentModuleService.updateShippingOptions(
1188
- * "so_123",
1189
- * {
1190
- * name: "Express shipping",
1191
- * }
1192
- * )
1193
- */
1194
- updateShippingOptions(id: string, data: UpdateShippingOptionDTO, sharedContext?: Context): Promise<ShippingOptionDTO>;
1195
- /**
1196
- * This method updates existing shipping options matching the specified filters.
1197
- *
1198
- * @param {FilterableShippingOptionProps} selector - The filters specifying which shipping options to update.
1199
- * @param {UpdateShippingOptionDTO} data - The attributes to update in the shipping option.
1200
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1201
- * @returns {Promise<ShippingOptionDTO[]>} The updated shipping options.
1202
- *
1203
- * @example
1204
- * const shippingOptions =
1205
- * await fulfillmentModuleService.updateShippingOptions(
1206
- * {
1207
- * id: ["so_123", "so_321"],
1208
- * },
1209
- * {
1210
- * name: "Express Shipping",
1211
- * }
1212
- * )
1213
- */
1214
- updateShippingOptions(selector: FilterableShippingOptionProps, data: UpdateShippingOptionDTO, sharedContext?: Context): Promise<ShippingOptionDTO[]>;
1215
- /**
1216
- * This method updates or creates a shipping option if it doesn't exist.
1217
- *
1218
- * @param {UpsertShippingOptionDTO} data - The attributes in the shipping option to be created or updated.
1219
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1220
- * @returns {Promise<ShippingOptionDTO>} The created or updated shipping option.
1221
- *
1222
- * @example
1223
- * const shippingOptions =
1224
- * await fulfillmentModuleService.upsertShippingOptions({
1225
- * id: "so_123",
1226
- * name: "Express Shipping",
1227
- * })
1228
- */
1229
- upsertShippingOptions(data: UpsertShippingOptionDTO, sharedContext?: Context): Promise<ShippingOptionDTO>;
1230
- /**
1231
- * This method updates or creates shipping options if they don't exist.
1232
- *
1233
- * @param {UpsertShippingOptionDTO[]} data - The attributes in the shipping options to be created or updated.
1234
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1235
- * @returns {Promise<ShippingOptionDTO[]>} The created or updated shipping options.
1236
- *
1237
- * @example
1238
- * const shippingOptions =
1239
- * await fulfillmentModuleService.upsertShippingOptions([
1240
- * {
1241
- * id: "so_123",
1242
- * name: "Express Shipping",
1243
- * },
1244
- * {
1245
- * name: "Express Shipping",
1246
- * price_type: "flat",
1247
- * service_zone_id: "serzo_123",
1248
- * shipping_profile_id: "sp_123",
1249
- * provider_id: "webshipper",
1250
- * type: {
1251
- * label: "Express",
1252
- * description: "express shipping",
1253
- * code: "express",
1254
- * },
1255
- * },
1256
- * ])
1257
- */
1258
- upsertShippingOptions(data: UpsertShippingOptionDTO[], sharedContext?: Context): Promise<ShippingOptionDTO[]>;
1259
- /**
1260
- * This method deletes shipping options by their IDs.
1261
- *
1262
- * @param {string[]} ids - The IDs of the shipping options.
1263
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1264
- * @returns {Promise<void>} Resolves when the shipping options are deleted successfully.
1265
- *
1266
- * @example
1267
- * await fulfillmentModuleService.deleteShippingOptions([
1268
- * "so_123",
1269
- * "so_321",
1270
- * ])
1271
- */
1272
- deleteShippingOptions(ids: string[], sharedContext?: Context): Promise<void>;
1273
- /**
1274
- * This method deletes a shipping option by its ID.
1275
- *
1276
- * @param {string} id - The ID of the shipping option.
1277
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1278
- * @returns {Promise<void>} Resolves when the shipping option is deleted successfully.
1279
- *
1280
- * @example
1281
- * await fulfillmentModuleService.deleteShippingOptions("so_123")
1282
- */
1283
- deleteShippingOptions(id: string, sharedContext?: Context): Promise<void>;
1284
- /**
1285
- * This method soft deletes shipping option by their IDs.
1286
- *
1287
- * @param {string[]} shippingOptionIds - The IDs of the shipping options.
1288
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
1289
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1290
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
1291
- * If there are no related records, the promise resolves to `void`.
1292
- *
1293
- * @example
1294
- * await fulfillmentModuleService.softDeleteShippingOptions([
1295
- * "so_123",
1296
- * "so_321",
1297
- * ])
1298
- */
1299
- softDeleteShippingOptions<TReturnableLinkableKeys extends string = string>(shippingOptionIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1300
- /**
1301
- * This method restores soft deleted shipping options by their IDs.
1302
- *
1303
- * @param {string[]} shippingOptionIds - The list of {summary}
1304
- * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the shipping options. You can pass to its `returnLinkableKeys`
1305
- * property any of the shipping option's relation attribute names.
1306
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1307
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
1308
- * If there are no related records restored, the promise resolves to `void`.
1309
- *
1310
- * @example
1311
- * await fulfillmentModuleService.restoreShippingOptions([
1312
- * "so_123",
1313
- * "so_321",
1314
- * ])
1315
- */
1316
- restoreShippingOptions<TReturnableLinkableKeys extends string = string>(shippingOptionIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1317
- /**
1318
- * This method retrieves a shipping profile by its ID.
1319
- *
1320
- * @param {string} id - The ID of the shipping profile.
1321
- * @param {FindConfig<ShippingProfileDTO>} config - The configurations determining how the shipping profile is retrieved. Its properties, such as `select` or `relations`, accept the
1322
- * attributes or relations associated with a shipping profile.
1323
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1324
- * @returns {Promise<ShippingProfileDTO>} The retrieved shipping profile.
1325
- *
1326
- * @example
1327
- * A simple example that retrieves a shipping profile by its ID:
1328
- *
1329
- * ```ts
1330
- * const shippingProfile =
1331
- * await fulfillmentModuleService.retrieveShippingProfile(
1332
- * "sp_123"
1333
- * )
1334
- * ```
1335
- *
1336
- * To specify relations that should be retrieved:
1337
- *
1338
- * :::note
1339
- *
1340
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1341
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1342
- *
1343
- * :::
1344
- *
1345
- * ```ts
1346
- * const shippingProfile =
1347
- * await fulfillmentModuleService.retrieveShippingProfile(
1348
- * "sp_123",
1349
- * {
1350
- * relations: ["options"],
1351
- * }
1352
- * )
1353
- * ```
1354
- */
1355
- retrieveShippingProfile(id: string, config?: FindConfig<ShippingProfileDTO>, sharedContext?: Context): Promise<ShippingProfileDTO>;
1356
- /**
1357
- * This method retrieves a paginated list of shipping profiles based on optional filters and configuration.
1358
- *
1359
- * @param {FilterableShippingProfileProps} filters - The filters to apply on the retrieved shipping profiles.
1360
- * @param {FindConfig<ShippingProfileDTO>} config - The configurations determining how the shipping profile is retrieved. Its properties, such as `select` or `relations`, accept the
1361
- * attributes or relations associated with a shipping profile.
1362
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1363
- * @returns {Promise<ShippingProfileDTO[]>} The list of shipping profiles.
1364
- *
1365
- * @example
1366
- * To retrieve a list of shipping profiles using their IDs:
1367
- *
1368
- * ```ts
1369
- * const shippingProfiles =
1370
- * await fulfillmentModuleService.listShippingProfiles({
1371
- * id: ["sp_123", "sp_321"],
1372
- * })
1373
- * ```
1374
- *
1375
- * To specify relations that should be retrieved within the shipping profile:
1376
- *
1377
- * :::note
1378
- *
1379
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1380
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1381
- *
1382
- * :::
1383
- *
1384
- * ```ts
1385
- * const shippingProfiles =
1386
- * await fulfillmentModuleService.listShippingProfiles(
1387
- * {
1388
- * id: ["sp_123", "sp_321"],
1389
- * },
1390
- * {
1391
- * relations: ["shipping_options"],
1392
- * }
1393
- * )
1394
- * ```
1395
- *
1396
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1397
- *
1398
- * ```ts
1399
- * const shippingProfiles =
1400
- * await fulfillmentModuleService.listShippingProfiles(
1401
- * {
1402
- * id: ["sp_123", "sp_321"],
1403
- * },
1404
- * {
1405
- * relations: ["shipping_options"],
1406
- * take: 20,
1407
- * skip: 2,
1408
- * }
1409
- * )
1410
- * ```
1411
- */
1412
- listShippingProfiles(filters?: FilterableShippingProfileProps, config?: FindConfig<ShippingProfileDTO>, sharedContext?: Context): Promise<ShippingProfileDTO[]>;
1413
- /**
1414
- * This method retrieves a paginated list of shipping profiles along with the total count of available shipping profiles satisfying the provided filters.
1415
- *
1416
- * @param {FilterableShippingProfileProps} filters - The filters to apply on the retrieved shipping profiles.
1417
- * @param {FindConfig<ShippingProfileDTO>} config - The configurations determining how the shipping profile is retrieved. Its properties, such as `select` or `relations`, accept the
1418
- * attributes or relations associated with a shipping profile.
1419
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1420
- * @returns {Promise<[ShippingProfileDTO[], number]>} The list of shipping profiles along with their total count.
1421
- *
1422
- * @example
1423
- * To retrieve a list of shipping profiles using their IDs:
1424
- *
1425
- * ```ts
1426
- * const [shippingProfiles, count] =
1427
- * await fulfillmentModuleService.listAndCountShippingProfiles(
1428
- * {
1429
- * id: ["sp_123", "sp_321"],
1430
- * }
1431
- * )
1432
- * ```
1433
- *
1434
- * To specify relations that should be retrieved within the shipping profile:
1435
- *
1436
- * :::note
1437
- *
1438
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1439
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1440
- *
1441
- * :::
1442
- *
1443
- * ```ts
1444
- * const [shippingProfiles, count] =
1445
- * await fulfillmentModuleService.listAndCountShippingProfiles(
1446
- * {
1447
- * id: ["sp_123", "sp_321"],
1448
- * },
1449
- * {
1450
- * relations: ["shipping_options"],
1451
- * }
1452
- * )
1453
- * ```
1454
- *
1455
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1456
- *
1457
- * ```ts
1458
- * const [shippingProfiles, count] =
1459
- * await fulfillmentModuleService.listAndCountShippingProfiles(
1460
- * {
1461
- * id: ["sp_123", "sp_321"],
1462
- * },
1463
- * {
1464
- * relations: ["shipping_options"],
1465
- * take: 20,
1466
- * skip: 2,
1467
- * }
1468
- * )
1469
- * ```
1470
- */
1471
- listAndCountShippingProfiles(filters?: FilterableShippingProfileProps, config?: FindConfig<ShippingProfileDTO>, sharedContext?: Context): Promise<[ShippingProfileDTO[], number]>;
1472
- /**
1473
- * This method creates shipping profiles.
1474
- *
1475
- * @param {CreateShippingProfileDTO[]} data - The shipping profiles to be created.
1476
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1477
- * @returns {Promise<ShippingProfileDTO[]>} The created shipping profiles.
1478
- *
1479
- * @example
1480
- * const shippingProfiles =
1481
- * await fulfillmentModuleService.createShippingProfiles([
1482
- * {
1483
- * name: "Default",
1484
- * type: "default"
1485
- * },
1486
- * {
1487
- * name: "Digital",
1488
- * type: "digital"
1489
- * },
1490
- * ])
1491
- */
1492
- createShippingProfiles(data: CreateShippingProfileDTO[], sharedContext?: Context): Promise<ShippingProfileDTO[]>;
1493
- /**
1494
- * This method creates a shipping profile.
1495
- *
1496
- * @param {CreateShippingProfileDTO} data - The shipping profile to be created.
1497
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1498
- * @returns {Promise<ShippingProfileDTO>} The created shipping profile.
1499
- *
1500
- * @example
1501
- * const shippingProfile =
1502
- * await fulfillmentModuleService.createShippingProfiles({
1503
- * name: "Default",
1504
- * type: "default"
1505
- * })
1506
- */
1507
- createShippingProfiles(data: CreateShippingProfileDTO, sharedContext?: Context): Promise<ShippingProfileDTO>;
1508
- /**
1509
- * This method updates existing shipping profiles.
1510
- *
1511
- * @param {UpdateShippingProfileDTO} data - The shipping profiles update data.
1512
- * @param {FilterableShippingProfileProps} selector - The selector of shipping profiles to update
1513
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1514
- * @returns {Promise<ShippingProfileDTO[]>} The updated shipping profiles.
1515
- *
1516
- * @example
1517
- * const shippingProfiles =
1518
- * await fulfillmentModuleService.updateShippingProfiles([
1519
- * {
1520
- * id: "sp_123",
1521
- * name: "Default",
1522
- * },
1523
- * {
1524
- * id: "sp_321",
1525
- * name: "Digital",
1526
- * },
1527
- * ])
1528
- */
1529
- updateShippingProfiles(selector: FilterableShippingProfileProps, data: UpdateShippingProfileDTO, sharedContext?: Context): Promise<ShippingProfileDTO[]>;
1530
- /**
1531
- * This method updates an existing shipping profiles.
1532
- *
1533
- * @param {string} id - The shipping profile to be updated.
1534
- * @param {UpdateShippingProfileDTO} data - The shipping profile to be created.
1535
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1536
- * @returns {Promise<ShippingProfileDTO>} The updated shipping profiles.
1537
- *
1538
- * @example
1539
- * const shippingProfiles =
1540
- * await fulfillmentModuleService.updateShippingProfiles({
1541
- * id: "sp_123",
1542
- * name: "Default",
1543
- * })
1544
- */
1545
- updateShippingProfiles(id: string, data: UpdateShippingProfileDTO, sharedContext?: Context): Promise<ShippingProfileDTO>;
1546
- /**
1547
- * This method deletes shipping profiles by their IDs.
1548
- *
1549
- * @param {string[]} ids - The IDs of the shipping profiles.
1550
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1551
- * @returns {Promise<void>} Resolves when the shipping profiles are deleted.
1552
- *
1553
- * @example
1554
- * await fulfillmentModuleService.deleteShippingProfiles([
1555
- * "sp_123",
1556
- * "sp_321",
1557
- * ])
1558
- */
1559
- deleteShippingProfiles(ids: string[], sharedContext?: Context): Promise<void>;
1560
- /**
1561
- * This method deletes a shipping profile by its ID.
1562
- *
1563
- * @param {string} id - The ID of the shipping profile.
1564
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1565
- * @returns {Promise<void>} Resolves when the shipping profile is deleted.
1566
- *
1567
- * @example
1568
- * await fulfillmentModuleService.deleteShippingProfiles(
1569
- * "sp_123"
1570
- * )
1571
- */
1572
- deleteShippingProfiles(id: string, sharedContext?: Context): Promise<void>;
1573
- /**
1574
- * This method updates existing shipping profiles, or creates new ones if they don't exist.
1575
- *
1576
- * @param {UpdateShippingProfileDTO[]} data - The attributes to update or create for each profile.
1577
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1578
- * @returns {Promise<ProductTagDTO[]>} The updated and created profiles.
1579
- *
1580
- * @example
1581
- * const productTags = await productModuleService.upsertShippingProfiles([
1582
- * {
1583
- * id: "id_1234",
1584
- * metadata: {
1585
- * test: true,
1586
- * },
1587
- * },
1588
- * {
1589
- * name: "Digital",
1590
- * },
1591
- * ])
1592
- */
1593
- upsertShippingProfiles(data: UpsertShippingProfileDTO[], sharedContext?: Context): Promise<ShippingProfileDTO[]>;
1594
- /**
1595
- * This method updates an existing shipping profile, or creates a new one if it doesn't exist.
1596
- *
1597
- * @param {UpdateShippingProfileDTO} data - The attributes to update or create for the profile.
1598
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1599
- * @returns {Promise<ProductTagDTO>} The updated or created profile.
1600
- *
1601
- * @example
1602
- * const productTag = await productModuleService.upsertShippingProfiles({
1603
- * id: "id_1234",
1604
- * metadata: {
1605
- * test: true,
1606
- * },
1607
- * })
1608
- */
1609
- upsertShippingProfiles(data: UpsertShippingProfileDTO, sharedContext?: Context): Promise<ShippingProfileDTO>;
1610
- /**
1611
- * This method soft deletes shipping profiles by their IDs.
1612
- *
1613
- * @param {string[]} shippingProfileIds - The IDs of the shipping profiles.
1614
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
1615
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1616
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
1617
- * If there are no related records, the promise resolves to `void`.
1618
- *
1619
- * @example
1620
- * await fulfillmentModuleService.softDeleteShippingProfiles([
1621
- * "sp_123",
1622
- * "sp_321",
1623
- * ])
1624
- */
1625
- softDeleteShippingProfiles<TReturnableLinkableKeys extends string = string>(shippingProfileIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1626
- /**
1627
- * This method restores soft deleted shipping profiles by their IDs.
1628
- *
1629
- * @param {string[]} shippingProfileIds - The IDs of the shipping profiles.
1630
- * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the shipping profiles. You can pass to its `returnLinkableKeys`
1631
- * property any of the shipping profile's relation attribute names, such as `{type relation name}`.
1632
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1633
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
1634
- * If there are no related records restored, the promise resolves to `void`.
1635
- *
1636
- * @example
1637
- * await fulfillmentModuleService.restoreShippingProfiles([
1638
- * "sp_123",
1639
- * "sp_321",
1640
- * ])
1641
- */
1642
- restoreShippingProfiles<TReturnableLinkableKeys extends string = string>(shippingProfileIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
1643
- /**
1644
- * This method retrieves a shipping option rule by its ID.
1645
- *
1646
- * @param {string} id - The ID of the shipping option rule.
1647
- * @param {FindConfig<ShippingOptionRuleDTO>} config - The configurations determining how the shipping option rule is retrieved. Its properties, such as `select` or `relations`, accept the
1648
- * attributes or relations associated with a shipping option rule.
1649
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1650
- * @returns {Promise<ShippingOptionRuleDTO>} The retrieved shipping option rule.
1651
- *
1652
- * @example
1653
- * A simple example that retrieves a shipping option rule by its ID:
1654
- *
1655
- * ```ts
1656
- * const shippingOptionRule =
1657
- * await fulfillmentModuleService.retrieveShippingOptionRule(
1658
- * "sorul_123"
1659
- * )
1660
- * ```
1661
- *
1662
- * To specify relations that should be retrieved:
1663
- *
1664
- * :::note
1665
- *
1666
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1667
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1668
- *
1669
- * :::
1670
- *
1671
- * ```ts
1672
- * const shippingOptionRule =
1673
- * await fulfillmentModuleService.retrieveShippingOptionRule(
1674
- * "sorul_123",
1675
- * {
1676
- * relations: ["shipping_option"],
1677
- * }
1678
- * )
1679
- * ```
1680
- */
1681
- retrieveShippingOptionRule(id: string, config?: FindConfig<ShippingOptionRuleDTO>, sharedContext?: Context): Promise<ShippingOptionRuleDTO>;
1682
- /**
1683
- * This method retrieves a paginated list of shipping option rules based on optional filters and configuration.
1684
- *
1685
- * @param {FilterableShippingOptionRuleProps} filters - The filters to apply on the retrieved shipping option rules.
1686
- * @param {FindConfig<ShippingOptionRuleDTO>} config - The configurations determining how the shipping option rule is retrieved. Its properties, such as `select` or `relations`, accept the
1687
- * attributes or relations associated with a shipping option rule.
1688
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1689
- * @returns {Promise<ShippingOptionRuleDTO[]>} The list of shipping option rules.
1690
- *
1691
- * @example
1692
- * To retrieve a list of shipping option rules using their IDs:
1693
- *
1694
- * ```ts
1695
- * const shippingOptionRules =
1696
- * await fulfillmentModuleService.listShippingOptionRules({
1697
- * id: ["sorul_123", "sorul_321"],
1698
- * })
1699
- * ```
1700
- *
1701
- * To specify relations that should be retrieved within the shipping option rule:
1702
- *
1703
- * :::note
1704
- *
1705
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1706
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1707
- *
1708
- * :::
1709
- *
1710
- * ```ts
1711
- * const shippingOptionRules =
1712
- * await fulfillmentModuleService.listShippingOptionRules(
1713
- * {
1714
- * id: ["sorul_123", "sorul_321"],
1715
- * },
1716
- * {
1717
- * relations: ["shipping_option"],
1718
- * }
1719
- * )
1720
- * ```
1721
- *
1722
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1723
- *
1724
- * ```ts
1725
- * const shippingOptionRules =
1726
- * await fulfillmentModuleService.listShippingOptionRules(
1727
- * {
1728
- * id: ["sorul_123", "sorul_321"],
1729
- * },
1730
- * {
1731
- * relations: ["shipping_option"],
1732
- * take: 20,
1733
- * skip: 2,
1734
- * }
1735
- * )
1736
- * ```
1737
- */
1738
- listShippingOptionRules(filters?: FilterableShippingOptionRuleProps, config?: FindConfig<ShippingOptionRuleDTO>, sharedContext?: Context): Promise<ShippingOptionRuleDTO[]>;
1739
- /**
1740
- * This method retrieves a paginated list of shipping option rules along with the total count of available shipping option rules satisfying the provided filters.
1741
- *
1742
- * @param {FilterableShippingOptionRuleProps} filters - The filters to apply on the retrieved shipping option rules.
1743
- * @param {FindConfig<ShippingOptionRuleDTO>} config - The configurations determining how the shipping option rule is retrieved. Its properties, such as `select` or `relations`, accept the
1744
- * attributes or relations associated with a shipping option rule.
1745
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1746
- * @returns {Promise<[ShippingOptionRuleDTO[], number]>} The list of shipping option rules along with their total count.
1747
- *
1748
- * @example
1749
- * To retrieve a list of shipping option rules using their IDs:
1750
- *
1751
- * ```ts
1752
- * const [shippingOptionRules, count] =
1753
- * await fulfillmentModuleService.listAndCountShippingOptionRules(
1754
- * {
1755
- * id: ["sorul_123", "sorul_321"],
1756
- * }
1757
- * )
1758
- * ```
1759
- *
1760
- * To specify relations that should be retrieved within the shipping option rule:
1761
- *
1762
- * :::note
1763
- *
1764
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1765
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1766
- *
1767
- * :::
1768
- *
1769
- * ```ts
1770
- * const [shippingOptionRules, count] =
1771
- * await fulfillmentModuleService.listAndCountShippingOptionRules(
1772
- * {
1773
- * id: ["sorul_123", "sorul_321"],
1774
- * },
1775
- * {
1776
- * relations: ["shipping_option"],
1777
- * }
1778
- * )
1779
- * ```
1780
- *
1781
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
1782
- *
1783
- * ```ts
1784
- * const [shippingOptionRules, count] =
1785
- * await fulfillmentModuleService.listAndCountShippingOptionRules(
1786
- * {
1787
- * id: ["sorul_123", "sorul_321"],
1788
- * },
1789
- * {
1790
- * relations: ["shipping_option"],
1791
- * take: 20,
1792
- * skip: 2,
1793
- * }
1794
- * )
1795
- * ```
1796
- */
1797
- listAndCountShippingOptionRules(filters?: FilterableShippingOptionRuleProps, config?: FindConfig<ShippingOptionRuleDTO>, sharedContext?: Context): Promise<[ShippingOptionRuleDTO[], number]>;
1798
- /**
1799
- * This method creates shipping option rules.
1800
- *
1801
- * @param {CreateShippingOptionRuleDTO[]} data - The shipping option rules to be created.
1802
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1803
- * @returns {Promise<ShippingOptionRuleDTO[]>} The created shipping option rules.
1804
- *
1805
- * @example
1806
- * const shippingOptionRules =
1807
- * await fulfillmentModuleService.createShippingOptionRules([
1808
- * {
1809
- * attribute: "customer_group",
1810
- * operator: "in",
1811
- * value: "cg_vipgroup",
1812
- * shipping_option_id: "so_123",
1813
- * },
1814
- * {
1815
- * attribute: "total_weight",
1816
- * operator: "lt",
1817
- * value: "2000",
1818
- * shipping_option_id: "so_321",
1819
- * },
1820
- * ])
1821
- */
1822
- createShippingOptionRules(data: CreateShippingOptionRuleDTO[], sharedContext?: Context): Promise<ShippingOptionRuleDTO[]>;
1823
- /**
1824
- * This method creates a shipping option rule.
1825
- *
1826
- * @param {CreateShippingOptionRuleDTO} data - The shipping option rule to be created.
1827
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1828
- * @returns {Promise<ShippingOptionRuleDTO>} The created shipping option rule.
1829
- *
1830
- * @example
1831
- * const shippingOptionRule =
1832
- * await fulfillmentModuleService.createShippingOptionRules({
1833
- * attribute: "customer_group",
1834
- * operator: "in",
1835
- * value: "cg_vipgroup",
1836
- * shipping_option_id: "so_123",
1837
- * })
1838
- */
1839
- createShippingOptionRules(data: CreateShippingOptionRuleDTO, sharedContext?: Context): Promise<ShippingOptionRuleDTO>;
1840
- /**
1841
- * This method updates existing shipping option rules.
1842
- *
1843
- * @param {UpdateShippingOptionRuleDTO[]} data - The attributes to update in the shipping option rules.
1844
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1845
- * @returns {Promise<ShippingOptionRuleDTO[]>} The updated shipping option rules.
1846
- *
1847
- * @example
1848
- * const shippingOptionRules =
1849
- * await fulfillmentModuleService.updateShippingOptionRules([
1850
- * {
1851
- * id: "sorul_123",
1852
- * operator: "in",
1853
- * },
1854
- * {
1855
- * id: "sorul_321",
1856
- * attribute: "customer_group",
1857
- * value: "cp_vipgroup",
1858
- * },
1859
- * ])
1860
- */
1861
- updateShippingOptionRules(data: UpdateShippingOptionRuleDTO[], sharedContext?: Context): Promise<ShippingOptionRuleDTO[]>;
1862
- /**
1863
- * This method updates an existing shipping option rule.
1864
- *
1865
- * @param {UpdateShippingOptionRuleDTO} data - The attributes to update in the shipping option rule.
1866
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1867
- * @returns {Promise<ShippingOptionRuleDTO>} The updated shipping option rule.
1868
- *
1869
- * @example
1870
- * const shippingOptionRule =
1871
- * await fulfillmentModuleService.updateShippingOptionRules({
1872
- * id: "sorul_123",
1873
- * operator: "in",
1874
- * })
1875
- */
1876
- updateShippingOptionRules(data: UpdateShippingOptionRuleDTO, sharedContext?: Context): Promise<ShippingOptionRuleDTO>;
1877
- /**
1878
- * This method deletes shipping option rules by their IDs.
1879
- *
1880
- * @param {string[]} ids - The IDs of the shipping option rules.
1881
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1882
- * @returns {Promise<void>} Resolves when the shipping option rules are deleted successfully.
1883
- *
1884
- * @example
1885
- * await fulfillmentModuleService.deleteShippingOptionRules([
1886
- * "sorul_123",
1887
- * "sorul_321",
1888
- * ])
1889
- */
1890
- deleteShippingOptionRules(ids: string[], sharedContext?: Context): Promise<void>;
1891
- /**
1892
- * This method deletes a shipping option by its ID.
1893
- *
1894
- * @param {string} id - The ID of the shipping option.
1895
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1896
- * @returns {Promise<void>} Resolves when the shipping option is deleted successfully.
1897
- *
1898
- * @example
1899
- * await fulfillmentModuleService.deleteShippingOptionRules(
1900
- * "sorul_123"
1901
- * )
1902
- */
1903
- deleteShippingOptionRules(id: string, sharedContext?: Context): Promise<void>;
1904
- /**
1905
- * This method retrieves a shipping option type by its ID.
1906
- *
1907
- * @param {string} id - The ID of the shipping option type.
1908
- * @param {FindConfig<ShippingOptionTypeDTO>} config - The configurations determining how the shipping option type is retrieved. Its properties, such as `select` or `relations`, accept the
1909
- * attributes or relations associated with a shipping option type.
1910
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1911
- * @returns {Promise<ShippingOptionTypeDTO>} The retrieved shipping option type.
1912
- *
1913
- * @example
1914
- * A simple example that retrieves a shipping option type by its ID:
1915
- *
1916
- * ```ts
1917
- * const shippingOptionType =
1918
- * await fulfillmentModuleService.retrieveShippingOptionType(
1919
- * "sotype_123"
1920
- * )
1921
- * ```
1922
- *
1923
- * To specify relations that should be retrieved:
1924
- *
1925
- * :::note
1926
- *
1927
- * You can only retrieve data models defined in the same module. To retrieve linked data models
1928
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
1929
- *
1930
- * :::
1931
- *
1932
- * ```ts
1933
- * const shippingOptionType =
1934
- * await fulfillmentModuleService.retrieveShippingOptionType(
1935
- * "sotype_123",
1936
- * {
1937
- * relations: ["shipping_option"],
1938
- * }
1939
- * )
1940
- * ```
1941
- */
1942
- retrieveShippingOptionType(id: string, config?: FindConfig<ShippingOptionTypeDTO>, sharedContext?: Context): Promise<ShippingOptionTypeDTO>;
1943
- /**
1944
- * This method creates shipping option types.
1945
- *
1946
- * @param {CreateShippingOptionTypeDTO[]} data - The shipping option types to be created.
1947
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1948
- * @returns {Promise<ShippingOptionTypeDTO[]>} The created shipping option type.
1949
- *
1950
- * @example
1951
- * const shippingOptionTypes =
1952
- * await fulfillmentModuleService.createShippingOptionTypes([
1953
- * {
1954
- * label: "Standard",
1955
- * code: "standard",
1956
- * description: "Ship in 2-3 days."
1957
- * },
1958
- * {
1959
- * label: "Express",
1960
- * code: "express",
1961
- * description: "Ship in 24 hours."
1962
- * }
1963
- * ])
1964
- */
1965
- createShippingOptionTypes(data: CreateShippingOptionTypeDTO[], sharedContext?: Context): Promise<ShippingOptionTypeDTO[]>;
1966
- /**
1967
- * This method creates a shipping option type.
1968
- *
1969
- * @param {CreateShippingOptionTypeDTO} data - The shipping option type to be created.
1970
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1971
- * @returns {Promise<ShippingOptionTypeDTO>} The created shipping option type.
1972
- *
1973
- * @example
1974
- * const shippingOption =
1975
- * await fulfillmentModuleService.createShippingOptionTypes({
1976
- * label: "Standard",
1977
- * code: "standard",
1978
- * description: "Ship in 2-3 days."
1979
- * })
1980
- */
1981
- createShippingOptionTypes(data: CreateShippingOptionTypeDTO, sharedContext?: Context): Promise<ShippingOptionTypeDTO>;
1982
- /**
1983
- * This method updates an existing shipping option type.
1984
- *
1985
- * @param {string} id - The ID of the shipping option type.
1986
- * @param {UpdateShippingOptionTypeDTO} data - The attributes to update in the shipping option type.
1987
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
1988
- * @returns {Promise<ShippingOptionDTO>} The updated shipping option type.
1989
- *
1990
- * @example
1991
- * const shippingOptionType =
1992
- * await fulfillmentModuleService.updateShippingOptionTypes(
1993
- * "sotype_123",
1994
- * {
1995
- * label: "Express",
1996
- * }
1997
- * )
1998
- */
1999
- updateShippingOptionTypes(id: string, data: UpdateShippingOptionTypeDTO, sharedContext?: Context): Promise<ShippingOptionTypeDTO>;
2000
- /**
2001
- * This method updates existing shipping option types matching the specified filters.
2002
- *
2003
- * @param {FilterableShippingOptionProps} selector - The filters specifying which shipping option types to update.
2004
- * @param {FilterableShippingOptionTypeProps} data - The attributes to update in the shipping option type.
2005
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2006
- * @returns {Promise<ShippingOptionDTO[]>} The updated shipping option types.
2007
- *
2008
- * @example
2009
- * const shippingOptions =
2010
- * await fulfillmentModuleService.updateShippingOptionTypes(
2011
- * {
2012
- * id: ["sotype_123", "sotype_321"],
2013
- * },
2014
- * {
2015
- * label: "Express",
2016
- * }
2017
- * )
2018
- */
2019
- updateShippingOptionTypes(selector: FilterableShippingOptionTypeProps, data: UpdateShippingOptionTypeDTO, sharedContext?: Context): Promise<ShippingOptionTypeDTO[]>;
2020
- /**
2021
- * This method updates or creates a shipping option type if it doesn't exist.
2022
- *
2023
- * @param {UpsertShippingOptionTypeDTO} data - The attributes in the shipping option type to be created or updated.
2024
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2025
- * @returns {Promise<ShippingOptionTypeDTO>} The created or updated shipping option type.
2026
- *
2027
- * @example
2028
- * const shippingOptions =
2029
- * await fulfillmentModuleService.upsertShippingOptionTypes({
2030
- * id: "sotype_123",
2031
- * label: "Express",
2032
- * })
2033
- */
2034
- upsertShippingOptionTypes(data: UpsertShippingOptionTypeDTO, sharedContext?: Context): Promise<ShippingOptionTypeDTO>;
2035
- /**
2036
- * This method updates or creates shipping option types if they don't exist.
2037
- *
2038
- * @param {UpsertShippingOptionTypeDTO[]} data - The attributes in the shipping option types to be created or updated.
2039
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2040
- * @returns {Promise<ShippingOptionTypeDTO[]>} The created or updated shipping option types.
2041
- *
2042
- * @example
2043
- * const shippingOptions =
2044
- * await fulfillmentModuleService.upsertShippingOptionTypes([
2045
- * {
2046
- * id: "sotype_123",
2047
- * label: "Express",
2048
- * },
2049
- * {
2050
- * label: "Express",
2051
- * code: "express",
2052
- * description: "Ship in 24 hours."
2053
- * }
2054
- * ])
2055
- */
2056
- upsertShippingOptionTypes(data: UpsertShippingOptionTypeDTO[], sharedContext?: Context): Promise<ShippingOptionTypeDTO[]>;
2057
- /**
2058
- * This method retrieves a paginated list of shipping option types based on optional filters and configuration.
2059
- *
2060
- * @param {FilterableShippingOptionTypeProps} filters - The filters to apply on the retrieved shipping option types.
2061
- * @param {FindConfig<ShippingOptionTypeDTO>} config - The configurations determining how the shipping option type is retrieved. Its properties, such as `select` or `relations`, accept the
2062
- * attributes or relations associated with a shipping option type.
2063
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2064
- * @returns {Promise<ShippingOptionTypeDTO[]>} The list of shipping option types.
2065
- *
2066
- * @example
2067
- * To retrieve a list of shipping option types using their IDs:
2068
- *
2069
- * ```ts
2070
- * const shippingOptionTypes =
2071
- * await fulfillmentModuleService.listShippingOptionTypes({
2072
- * id: ["sotype_123", "sotype_321"],
2073
- * })
2074
- * ```
2075
- *
2076
- * To specify relations that should be retrieved within the shipping option type:
2077
- *
2078
- * :::note
2079
- *
2080
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2081
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2082
- *
2083
- * :::
2084
- *
2085
- * ```ts
2086
- * const shippingOptionTypes =
2087
- * await fulfillmentModuleService.listShippingOptionTypes(
2088
- * {
2089
- * id: ["sotype_123", "sotype_321"],
2090
- * },
2091
- * {
2092
- * relations: ["shipping_option"],
2093
- * }
2094
- * )
2095
- * ```
2096
- *
2097
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
2098
- *
2099
- * ```ts
2100
- * const shippingOptionTypes =
2101
- * await fulfillmentModuleService.listShippingOptionTypes(
2102
- * {
2103
- * id: ["sotype_123", "sotype_321"],
2104
- * },
2105
- * {
2106
- * relations: ["shipping_option"],
2107
- * take: 20,
2108
- * skip: 2,
2109
- * }
2110
- * )
2111
- * ```
2112
- */
2113
- listShippingOptionTypes(filters?: FilterableShippingOptionTypeProps, config?: FindConfig<ShippingOptionTypeDTO>, sharedContext?: Context): Promise<ShippingOptionTypeDTO[]>;
2114
- /**
2115
- * This method retrieves a paginated list of shipping option types along with the total count of available shipping option types satisfying the provided filters.
2116
- *
2117
- * @param {FilterableShippingOptionTypeProps} filters - The filters to apply on the retrieved shipping option types.
2118
- * @param {FindConfig<ShippingOptionTypeDTO>} config - The configurations determining how the shipping option type is retrieved. Its properties, such as `select` or `relations`, accept the
2119
- * attributes or relations associated with a shipping option type.
2120
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2121
- * @returns {Promise<[ShippingOptionTypeDTO[], number]>} The list of shipping option types along with their total count.
2122
- *
2123
- * @example
2124
- * To retrieve a list of shipping option types using their IDs:
2125
- *
2126
- * ```ts
2127
- * const [shippingOptionTypes, count] =
2128
- * await fulfillmentModuleService.listAndCountShippingOptionTypes(
2129
- * {
2130
- * id: ["sotype_123", "sotype_321"],
2131
- * }
2132
- * )
2133
- * ```
2134
- *
2135
- * To specify relations that should be retrieved within the shipping option type:
2136
- *
2137
- * :::note
2138
- *
2139
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2140
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2141
- *
2142
- * :::
2143
- *
2144
- * ```ts
2145
- * const [shippingOptionTypes, count] =
2146
- * await fulfillmentModuleService.listAndCountShippingOptionTypes(
2147
- * {
2148
- * id: ["sotype_123", "sotype_321"],
2149
- * },
2150
- * {
2151
- * relations: ["shipping_option"],
2152
- * }
2153
- * )
2154
- * ```
2155
- *
2156
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
2157
- *
2158
- * ```ts
2159
- * const [shippingOptionTypes, count] =
2160
- * await fulfillmentModuleService.listAndCountShippingOptionTypes(
2161
- * {
2162
- * id: ["sotype_123", "sotype_321"],
2163
- * },
2164
- * {
2165
- * relations: ["shipping_option"],
2166
- * take: 20,
2167
- * skip: 2,
2168
- * }
2169
- * )
2170
- * ```
2171
- */
2172
- listAndCountShippingOptionTypes(filters?: FilterableShippingOptionTypeProps, config?: FindConfig<ShippingOptionTypeDTO>, sharedContext?: Context): Promise<[ShippingOptionTypeDTO[], number]>;
2173
- /**
2174
- * This method deletes shipping option types by their IDs.
2175
- *
2176
- * @param {string[]} ids - The IDs of the shipping option types.
2177
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2178
- * @returns {Promise<void>} Resolves when the shipping option types are deleted successfully.
2179
- *
2180
- * @example
2181
- * await fulfillmentModuleService.deleteShippingOptionTypes([
2182
- * "sotype_123",
2183
- * "sotype_321",
2184
- * ])
2185
- */
2186
- deleteShippingOptionTypes(ids: string[], sharedContext?: Context): Promise<void>;
2187
- /**
2188
- * This method deletes a shipping option type by its ID.
2189
- *
2190
- * @param {string} id - The ID of the shipping option type.
2191
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2192
- * @returns {Promise<void>} Resolves when the shipping option type is deleted.
2193
- *
2194
- * @example
2195
- * await fulfillmentModuleService.deleteShippingOptionTypes(
2196
- * "sotype_123"
2197
- * )
2198
- */
2199
- deleteShippingOptionTypes(id: string, sharedContext?: Context): Promise<void>;
2200
- /**
2201
- * This method soft deletes shipping option types by their IDs.
2202
- *
2203
- * @param {string[]} ids - The IDs of the shipping option types.
2204
- * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
2205
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2206
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
2207
- * If there are no related records, the promise resolves to `void`.
2208
- *
2209
- * @example
2210
- * await fulfillmentModuleService.softDeleteShippingOptionTypes([
2211
- * "sotype_123",
2212
- * "sotype_321",
2213
- * ])
2214
- */
2215
- softDeleteShippingOptionTypes<TReturnableLinkableKeys extends string = string>(ids: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
2216
- /**
2217
- * This method restores soft deleted shipping option types by their IDs.
2218
- *
2219
- * @param {string[]} ids - The IDs of the shipping option types.
2220
- * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the shipping option types. You can pass to its `returnLinkableKeys`
2221
- * property any of the shipping option type's relation attribute names.
2222
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2223
- * @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
2224
- * If there are no related records restored, the promise resolves to `void`.
2225
- *
2226
- * @example
2227
- * await fulfillmentModuleService.restoreShippingOptions([
2228
- * "sotype_123",
2229
- * "sotype_321",
2230
- * ])
2231
- */
2232
- restoreShippingOptionTypes<TReturnableLinkableKeys extends string = string>(ids: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
2233
- /**
2234
- * This method retrieves a fulfillment by its ID.
2235
- *
2236
- * @param {string} id - The ID of the fulfillment.
2237
- * @param {FindConfig<FulfillmentDTO>} config - The configurations determining how the fulfillment is retrieved. Its properties, such as `select` or `relations`, accept the
2238
- * attributes or relations associated with a fulfillment.
2239
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2240
- * @returns {Promise<FulfillmentDTO>} The retrieved fulfillment.
2241
- *
2242
- * @example
2243
- * A simple example that retrieves a fulfillment by its ID:
2244
- *
2245
- * ```ts
2246
- * const fulfillment =
2247
- * await fulfillmentModuleService.retrieveFulfillment(
2248
- * "ful_123"
2249
- * )
2250
- * ```
2251
- *
2252
- * To specify relations that should be retrieved:
2253
- *
2254
- * :::note
2255
- *
2256
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2257
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2258
- *
2259
- * :::
2260
- *
2261
- * ```ts
2262
- * const fulfillment =
2263
- * await fulfillmentModuleService.retrieveFulfillment(
2264
- * "ful_123",
2265
- * {
2266
- * relations: ["shipping_option"],
2267
- * }
2268
- * )
2269
- * ```
2270
- */
2271
- retrieveFulfillment(id: string, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<FulfillmentDTO>;
2272
- /**
2273
- * This method retrieves a paginated list of fulfillments based on optional filters and configuration.
2274
- *
2275
- * @param {FilterableFulfillmentSetProps} filters - The filters to apply on the retrieved fulfillments.
2276
- * @param {FindConfig<FulfillmentDTO>} config - The configurations determining how the fulfillment is retrieved. Its properties, such as `select` or `relations`, accept the
2277
- * attributes or relations associated with a fulfillment.
2278
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2279
- * @returns {Promise<FulfillmentDTO[]>} The list of fulfillments.
2280
- *
2281
- * @example
2282
- * To retrieve a list of fulfillments using their IDs:
2283
- *
2284
- * ```ts
2285
- * const fulfillments =
2286
- * await fulfillmentModuleService.listFulfillments({
2287
- * id: ["ful_123", "ful_321"],
2288
- * })
2289
- * ```
2290
- *
2291
- * To specify relations that should be retrieved within the fulfillment:
2292
- *
2293
- * :::note
2294
- *
2295
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2296
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2297
- *
2298
- * :::
2299
- *
2300
- * ```ts
2301
- * const fulfillments =
2302
- * await fulfillmentModuleService.listFulfillments(
2303
- * {
2304
- * id: ["ful_123", "ful_321"],
2305
- * },
2306
- * {
2307
- * relations: ["shipping_option"],
2308
- * }
2309
- * )
2310
- * ```
2311
- *
2312
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
2313
- *
2314
- * ```ts
2315
- * const fulfillments =
2316
- * await fulfillmentModuleService.listFulfillments(
2317
- * {
2318
- * id: ["ful_123", "ful_321"],
2319
- * },
2320
- * {
2321
- * relations: ["shipping_option"],
2322
- * take: 20,
2323
- * skip: 2,
2324
- * }
2325
- * )
2326
- * ```
2327
- */
2328
- listFulfillments(filters?: FilterableFulfillmentProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<FulfillmentDTO[]>;
2329
- /**
2330
- * This method retrieves a paginated list of fulfillments along with the total count of available fulfillments satisfying the provided filters.
2331
- *
2332
- * @param {FilterableFulfillmentSetProps} filters - The filters to apply on the retrieved fulfillment sets.
2333
- * @param {FindConfig<FulfillmentDTO>} config - The configurations determining how the fulfillment is retrieved. Its properties, such as `select` or `relations`, accept the
2334
- * attributes or relations associated with a fulfillment.
2335
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2336
- * @returns {Promise<[FulfillmentDTO[], number]>} The list of fulfillments along with their total count.
2337
- *
2338
- * @example
2339
- * To retrieve a list of fulfillments using their IDs:
2340
- *
2341
- * ```ts
2342
- * const [fulfillments, count] =
2343
- * await fulfillmentModuleService.listAndCountFulfillments(
2344
- * {
2345
- * id: ["ful_123", "ful_321"],
2346
- * },
2347
- * {
2348
- * relations: ["shipping_option"],
2349
- * take: 20,
2350
- * skip: 2,
2351
- * }
2352
- * )
2353
- * ```
2354
- *
2355
- * To specify relations that should be retrieved within the fulfillment:
2356
- *
2357
- * :::note
2358
- *
2359
- * You can only retrieve data models defined in the same module. To retrieve linked data models
2360
- * from other modules, use [Query](https://docs.acmekit.com/learn/fundamentals/module-links/query) instead.
2361
- *
2362
- * :::
2363
- *
2364
- * ```ts
2365
- * const [fulfillments, count] =
2366
- * await fulfillmentModuleService.listAndCountFulfillments(
2367
- * {
2368
- * id: ["ful_123", "ful_321"],
2369
- * },
2370
- * {
2371
- * relations: ["shipping_option"],
2372
- * }
2373
- * )
2374
- * ```
2375
- *
2376
- * By default, only the first `15` records are retrieved. You can control pagination by specifying the `skip` and `take` properties of the `config` parameter:
2377
- *
2378
- * ```ts
2379
- * const [fulfillments, count] =
2380
- * await fulfillmentModuleService.listAndCountFulfillments({
2381
- * id: ["ful_123", "ful_321"],
2382
- * })
2383
- * ```
2384
- */
2385
- listAndCountFulfillments(filters?: FilterableFulfillmentProps, config?: FindConfig<FulfillmentDTO>, sharedContext?: Context): Promise<[FulfillmentDTO[], number]>;
2386
- /**
2387
- * This method creates a fulfillment and call the provider to create a fulfillment.
2388
- *
2389
- * @param {CreateFulfillmentDTO} data - The fulfillment to be created.
2390
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2391
- * @returns {Promise<FulfillmentDTO>} The created fulfillment.
2392
- *
2393
- * @example
2394
- * const fulfillment =
2395
- * await fulfillmentModuleService.createFulfillment({
2396
- * location_id: "loc_123",
2397
- * provider_id: "webshipper",
2398
- * delivery_address: {
2399
- * address_1: "4120 Auto Park Cir",
2400
- * country_code: "us",
2401
- * },
2402
- * items: [
2403
- * {
2404
- * title: "Shirt",
2405
- * sku: "SHIRT",
2406
- * quantity: 1,
2407
- * barcode: "ABCED",
2408
- * },
2409
- * ],
2410
- * labels: [
2411
- * {
2412
- * tracking_number: "1234567",
2413
- * tracking_url: "https://example.com/tracking",
2414
- * label_url: "https://example.com/label",
2415
- * },
2416
- * ],
2417
- * order: {},
2418
- * })
2419
- */
2420
- createFulfillment(data: CreateFulfillmentDTO, sharedContext?: Context): Promise<FulfillmentDTO>;
2421
- /**
2422
- * This method deletes fulfillment by IDs after cancelation.
2423
- *
2424
- * @param {string} id - The ID of the fulfillment.
2425
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2426
- * @returns {Promise<void>} Resolves when the fulfillment set is deleted successfully.
2427
- *
2428
- * @example
2429
- * await fulfillmentModuleService.deleteFulfillment("ful_123")
2430
- */
2431
- deleteFulfillment(id: string, sharedContext?: Context): Promise<void>;
2432
- /**
2433
- * This method creates a fulfillment and call the provider to create a return.
2434
- *
2435
- * @param {CreateFulfillmentDTO} data - The fulfillment to be created.
2436
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2437
- * @returns {Promise<FulfillmentDTO>} The created fulfillment.
2438
- *
2439
- * @example
2440
- * const fulfillment =
2441
- * await fulfillmentModuleService.createReturnFulfillment({
2442
- * location_id: "loc_123",
2443
- * provider_id: "webshipper",
2444
- * delivery_address: {
2445
- * address_1: "4120 Auto Park Cir",
2446
- * country_code: "us",
2447
- * },
2448
- * items: [
2449
- * {
2450
- * title: "Shirt",
2451
- * sku: "SHIRT",
2452
- * quantity: 1,
2453
- * barcode: "ABCED",
2454
- * },
2455
- * ],
2456
- * labels: [
2457
- * {
2458
- * tracking_number: "1234567",
2459
- * tracking_url: "https://example.com/tracking",
2460
- * label_url: "https://example.com/label",
2461
- * },
2462
- * ],
2463
- * order: {},
2464
- * })
2465
- */
2466
- createReturnFulfillment(data: CreateFulfillmentDTO, sharedContext?: Context): Promise<FulfillmentDTO>;
2467
- /**
2468
- * This method updates an existing fulfillment.
2469
- *
2470
- * @param {string} id - The ID of the fulfillment.
2471
- * @param {UpdateFulfillmentDTO} data - The attributes to update in the fulfillment.
2472
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2473
- * @returns {Promise<FulfillmentDTO>} The updated fulfillment.
2474
- *
2475
- * @example
2476
- * const fulfillment =
2477
- * await fulfillmentModuleService.updateFulfillment(
2478
- * "ful_123",
2479
- * {
2480
- * location_id: "loc_123",
2481
- * }
2482
- * )
2483
- */
2484
- updateFulfillment(id: string, data: UpdateFulfillmentDTO, sharedContext?: Context): Promise<FulfillmentDTO>;
2485
- /**
2486
- * This method cancels a fulfillment.
2487
- *
2488
- * @param {string} id - The ID of the fulfillment.
2489
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2490
- * @returns {Promise<FulfillmentDTO>} cancels a fulfillment.
2491
- *
2492
- * @example
2493
- * const fulfillment =
2494
- * await fulfillmentModuleService.cancelFulfillment("ful_123")
2495
- */
2496
- cancelFulfillment(id: string, sharedContext?: Context): Promise<FulfillmentDTO>;
2497
- /**
2498
- * This method retrieves the fulfillment options of a fulfillment provider.
2499
- *
2500
- * @param {string} providerId - The fulfillment provider's ID.
2501
- * @returns {Promise<Record<string, unknown>[]>} The fulfillment provider's options.
2502
- *
2503
- * @example
2504
- * const fulfillment =
2505
- * await fulfillmentModuleService.retrieveFulfillmentOptions(
2506
- * "ful_123"
2507
- * )
2508
- */
2509
- retrieveFulfillmentOptions(providerId: string): Promise<Record<string, unknown>[]>;
2510
- /**
2511
- * This method validates a fulfillment option with the provider it belongs to.
2512
- *
2513
- * @param {string} providerId - The fulfillment provider's ID.
2514
- * @param {Record<string, unknown>} data - The fulfillment option to validate.
2515
- * @returns {Promise<boolean>} Whether the fulfillment option is valid with the specified provider.
2516
- *
2517
- * @example
2518
- * const isValid =
2519
- * await fulfillmentModuleService.validateFulfillmentOption(
2520
- * "webshipper",
2521
- * {
2522
- * code: "express",
2523
- * }
2524
- * )
2525
- */
2526
- validateFulfillmentOption(providerId: string, data: Record<string, unknown>): Promise<boolean>;
2527
- /**
2528
- * This method validates fulfillment data with the provider it belongs to.
2529
- * e.g. if the shipping option requires a drop point, the data you pass to create the
2530
- * shipping method must contain a drop point ID. This method can be used to
2531
- * validate that.
2532
- *
2533
- * @param {string} providerId - The fulfillment provider's ID.
2534
- * @param {Record<string, unknown>} optionData - The fulfillment option data to validate.
2535
- * @param {Record<string, unknown>} data - The fulfillment data to validate.
2536
- * @param {ValidateFulfillmentDataContext} context - The context to validate the fulfillment option data in.
2537
- * @returns {Promise<boolean>} Whether the fulfillment option data is valid with the specified provider.
2538
- *
2539
- * @example
2540
- * const isValid =
2541
- * await fulfillmentModuleService.validateFulfillmentData(
2542
- * "webshipper",
2543
- * {
2544
- * requires_drop_point: true,
2545
- * },
2546
- * {
2547
- * drop_point_id: "dp_123",
2548
- * },
2549
- * {}
2550
- * )
2551
- */
2552
- validateFulfillmentData(providerId: string, optionData: Record<string, unknown>, data: Record<string, unknown>, context: ValidateFulfillmentDataContext): Promise<Record<string, unknown>>;
2553
- /**
2554
- * This method checks whether a shipping option can be used for a specified context.
2555
- *
2556
- * @param {string} shippingOptionId - The shipping option's ID.
2557
- * @param {Record<string, unknown>} context - The context to check.
2558
- * @returns {Promise<boolean>} Whether the shipping option is valid for the specified context.
2559
- *
2560
- * @example
2561
- * const isValid =
2562
- * await fulfillmentModuleService.validateShippingOption(
2563
- * "so_123",
2564
- * {
2565
- * customer_group: "cg_vipgroup",
2566
- * }
2567
- * )
2568
- */
2569
- validateShippingOption(shippingOptionId: string, context: Record<string, unknown>): Promise<boolean>;
2570
- /**
2571
- * This method checks whether a shipping option can have calculated price.
2572
- *
2573
- * @param {FulfillmentTypes.CreateShippingOptionDTO[]} shippingOptionsData - The shipping options data to check.
2574
- * @returns {Promise<boolean[]>} Whether the shipping options can have calculated price.
2575
- *
2576
- * @example
2577
- * const isValid =
2578
- * await fulfillmentModuleService.validateShippingOptionsForPriceCalculation(
2579
- * [
2580
- * {
2581
- * provider_id: "webshipper",
2582
- * price_type: "calculated",
2583
- * },
2584
- * ]
2585
- * )
2586
- */
2587
- validateShippingOptionsForPriceCalculation(shippingOptionsData: CreateShippingOptionDTO[], sharedContext?: Context): Promise<boolean[]>;
2588
- /**
2589
- * This method calculates the prices for one or more shipping options.
2590
- *
2591
- * @param {CalculateShippingOptionPriceDTO[]} shippingOptionsData - The shipping options data to calculate the prices for.
2592
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2593
- * @returns {Promise<CalculatedShippingOptionPrice[]>} The calculated shipping option prices.
2594
- *
2595
- * @example
2596
- * const prices =
2597
- * await fulfillmentModuleService.calculateShippingOptionsPrices(
2598
- * [
2599
- * {
2600
- * provider_id: "webshipper",
2601
- * data: {
2602
- * cart: {
2603
- * id: "cart_123",
2604
- * },
2605
- * },
2606
- * },
2607
- * ]
2608
- * )
2609
- */
2610
- calculateShippingOptionsPrices(shippingOptionsData: CalculateShippingOptionPriceDTO[], sharedContext?: Context): Promise<CalculatedShippingOptionPrice[]>;
2611
- /**
2612
- * This method retrieves a paginated list of fulfillment providers based on optional filters and configuration.
2613
- *
2614
- * @param {FilterableFulfillmentProviderProps} filters - The filters to apply on the retrieved fulfillment providers.
2615
- * @param {FindConfig<FulfillmentProviderDTO>} config - The configurations determining how the fulfillment provider is retrieved. Its properties, such as `select` or `relations`, accept the
2616
- * attributes or relations associated with a fulfillment provider.
2617
- * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
2618
- * @returns {Promise<FulfillmentProviderDTO[]>} The list of fulfillment providers.
2619
- *
2620
- * @example
2621
- * To retrieve a list of fulfillment providers using their IDs:
2622
- *
2623
- * ```ts
2624
- * const providers = await fulfillmentModuleService.listFulfillmentProviders({
2625
- * id: ["sepro_123", "sepro_321"],
2626
- * })
2627
- * ```
2628
- *
2629
- */
2630
- listFulfillmentProviders(filters?: FilterableFulfillmentProviderProps, config?: FindConfig<FulfillmentProviderDTO>, sharedContext?: Context): Promise<FulfillmentProviderDTO[]>;
2631
- }
2632
- //# sourceMappingURL=service.d.ts.map