@medusajs/types 1.12.0-snapshot-20240406075900 → 1.12.0-snapshot-20240409114424

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. package/dist/cart/common.d.ts +64 -47
  2. package/dist/cart/common.d.ts.map +1 -1
  3. package/dist/cart/mutations.d.ts +14 -13
  4. package/dist/cart/mutations.d.ts.map +1 -1
  5. package/dist/cart/mutations.js.map +1 -1
  6. package/dist/cart/workflows.d.ts +6 -5
  7. package/dist/cart/workflows.d.ts.map +1 -1
  8. package/dist/common/rule.d.ts +3 -0
  9. package/dist/common/rule.d.ts.map +1 -1
  10. package/dist/customer/common.d.ts +21 -13
  11. package/dist/customer/common.d.ts.map +1 -1
  12. package/dist/customer/mutations.d.ts +13 -13
  13. package/dist/customer/mutations.d.ts.map +1 -1
  14. package/dist/dal/repository-service.d.ts +1 -1
  15. package/dist/dal/repository-service.d.ts.map +1 -1
  16. package/dist/file/index.d.ts +1 -0
  17. package/dist/file/index.d.ts.map +1 -1
  18. package/dist/file/index.js +1 -0
  19. package/dist/file/index.js.map +1 -1
  20. package/dist/file/provider.d.ts +100 -0
  21. package/dist/file/provider.d.ts.map +1 -0
  22. package/dist/file/provider.js +3 -0
  23. package/dist/file/provider.js.map +1 -0
  24. package/dist/fulfillment/common/address.d.ts +51 -0
  25. package/dist/fulfillment/common/address.d.ts.map +1 -1
  26. package/dist/fulfillment/common/fulfillment-item.d.ts +39 -0
  27. package/dist/fulfillment/common/fulfillment-item.d.ts.map +1 -1
  28. package/dist/fulfillment/common/fulfillment-label.d.ts +30 -0
  29. package/dist/fulfillment/common/fulfillment-label.d.ts.map +1 -1
  30. package/dist/fulfillment/common/fulfillment-provider.d.ts +24 -0
  31. package/dist/fulfillment/common/fulfillment-provider.d.ts.map +1 -1
  32. package/dist/fulfillment/common/fulfillment-set.d.ts +42 -0
  33. package/dist/fulfillment/common/fulfillment-set.d.ts.map +1 -1
  34. package/dist/fulfillment/common/fulfillment.d.ts +91 -0
  35. package/dist/fulfillment/common/fulfillment.d.ts.map +1 -1
  36. package/dist/fulfillment/common/geo-zone.d.ts +54 -0
  37. package/dist/fulfillment/common/geo-zone.d.ts.map +1 -1
  38. package/dist/fulfillment/common/service-zone.d.ts +52 -0
  39. package/dist/fulfillment/common/service-zone.d.ts.map +1 -1
  40. package/dist/fulfillment/common/shipping-option-rule.d.ts +51 -0
  41. package/dist/fulfillment/common/shipping-option-rule.d.ts.map +1 -1
  42. package/dist/fulfillment/common/shipping-option-type.d.ts +45 -0
  43. package/dist/fulfillment/common/shipping-option-type.d.ts.map +1 -1
  44. package/dist/fulfillment/common/shipping-option.d.ts +117 -0
  45. package/dist/fulfillment/common/shipping-option.d.ts.map +1 -1
  46. package/dist/fulfillment/common/shipping-profile.d.ts +42 -0
  47. package/dist/fulfillment/common/shipping-profile.d.ts.map +1 -1
  48. package/dist/fulfillment/mutations/fulfillment-address.d.ts +39 -0
  49. package/dist/fulfillment/mutations/fulfillment-address.d.ts.map +1 -1
  50. package/dist/fulfillment/mutations/fulfillment-item.d.ts +24 -0
  51. package/dist/fulfillment/mutations/fulfillment-item.d.ts.map +1 -1
  52. package/dist/fulfillment/mutations/fulfillment-label.d.ts +15 -0
  53. package/dist/fulfillment/mutations/fulfillment-label.d.ts.map +1 -1
  54. package/dist/fulfillment/mutations/fulfillment-set.d.ts +32 -2
  55. package/dist/fulfillment/mutations/fulfillment-set.d.ts.map +1 -1
  56. package/dist/fulfillment/mutations/fulfillment.d.ts +66 -0
  57. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  58. package/dist/fulfillment/mutations/geo-zone.d.ts +123 -0
  59. package/dist/fulfillment/mutations/geo-zone.d.ts.map +1 -1
  60. package/dist/fulfillment/mutations/service-zone.d.ts +33 -1
  61. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  62. package/dist/fulfillment/mutations/shipping-option-rule.d.ts +21 -0
  63. package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +1 -1
  64. package/dist/fulfillment/mutations/shipping-option-type.d.ts +21 -0
  65. package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +1 -1
  66. package/dist/fulfillment/mutations/shipping-option.d.ts +71 -1
  67. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  68. package/dist/fulfillment/mutations/shipping-profile.d.ts +15 -0
  69. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
  70. package/dist/fulfillment/service.d.ts +1933 -218
  71. package/dist/fulfillment/service.d.ts.map +1 -1
  72. package/dist/http/api-key/admin/api-key.d.ts +31 -0
  73. package/dist/http/api-key/admin/api-key.d.ts.map +1 -0
  74. package/dist/http/api-key/admin/api-key.js +3 -0
  75. package/dist/http/api-key/admin/api-key.js.map +1 -0
  76. package/dist/http/api-key/admin/index.d.ts +2 -0
  77. package/dist/http/api-key/admin/index.d.ts.map +1 -0
  78. package/dist/http/api-key/admin/index.js +18 -0
  79. package/dist/http/api-key/admin/index.js.map +1 -0
  80. package/dist/http/api-key/index.d.ts +2 -0
  81. package/dist/http/api-key/index.d.ts.map +1 -0
  82. package/dist/http/api-key/index.js +18 -0
  83. package/dist/http/api-key/index.js.map +1 -0
  84. package/dist/http/common/index.d.ts +2 -0
  85. package/dist/http/common/index.d.ts.map +1 -0
  86. package/dist/http/common/index.js +18 -0
  87. package/dist/http/common/index.js.map +1 -0
  88. package/dist/http/common/paginated-response.d.ts +6 -0
  89. package/dist/http/common/paginated-response.d.ts.map +1 -0
  90. package/dist/http/common/paginated-response.js +3 -0
  91. package/dist/http/common/paginated-response.js.map +1 -0
  92. package/dist/http/customer/admin/customer.d.ts +79 -0
  93. package/dist/http/customer/admin/customer.d.ts.map +1 -0
  94. package/dist/http/customer/admin/customer.js +3 -0
  95. package/dist/http/customer/admin/customer.js.map +1 -0
  96. package/dist/http/customer/admin/index.d.ts +2 -0
  97. package/dist/http/customer/admin/index.d.ts.map +1 -0
  98. package/dist/http/customer/admin/index.js +18 -0
  99. package/dist/http/customer/admin/index.js.map +1 -0
  100. package/dist/http/customer/index.d.ts +2 -0
  101. package/dist/http/customer/index.d.ts.map +1 -0
  102. package/dist/http/customer/index.js +18 -0
  103. package/dist/http/customer/index.js.map +1 -0
  104. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +9 -3
  105. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
  106. package/dist/http/fulfillment/admin/service-zone.d.ts +16 -0
  107. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
  108. package/dist/http/fulfillment/admin/shipping-option.d.ts +11 -4
  109. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
  110. package/dist/http/fulfillment/admin/shipping-profile.d.ts +8 -1
  111. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
  112. package/dist/http/index.d.ts +7 -1
  113. package/dist/http/index.d.ts.map +1 -1
  114. package/dist/http/index.js +7 -1
  115. package/dist/http/index.js.map +1 -1
  116. package/dist/http/pricing/index.d.ts +2 -0
  117. package/dist/http/pricing/index.d.ts.map +1 -0
  118. package/dist/http/pricing/index.js +18 -0
  119. package/dist/http/pricing/index.js.map +1 -0
  120. package/dist/http/pricing/price.d.ts +8 -0
  121. package/dist/http/pricing/price.d.ts.map +1 -0
  122. package/dist/http/pricing/price.js +3 -0
  123. package/dist/http/pricing/price.js.map +1 -0
  124. package/dist/http/product-category/admin/index.d.ts +2 -0
  125. package/dist/http/product-category/admin/index.d.ts.map +1 -0
  126. package/dist/http/product-category/admin/index.js +18 -0
  127. package/dist/http/product-category/admin/index.js.map +1 -0
  128. package/dist/http/product-category/admin/product-category.d.ts +32 -0
  129. package/dist/http/product-category/admin/product-category.d.ts.map +1 -0
  130. package/dist/http/product-category/admin/product-category.js +3 -0
  131. package/dist/http/product-category/admin/product-category.js.map +1 -0
  132. package/dist/http/product-category/index.d.ts +2 -0
  133. package/dist/http/product-category/index.d.ts.map +1 -0
  134. package/dist/http/product-category/index.js +18 -0
  135. package/dist/http/product-category/index.js.map +1 -0
  136. package/dist/http/sales-channel/admin/index.d.ts +2 -0
  137. package/dist/http/sales-channel/admin/index.d.ts.map +1 -0
  138. package/dist/http/sales-channel/admin/index.js +18 -0
  139. package/dist/http/sales-channel/admin/index.js.map +1 -0
  140. package/dist/http/sales-channel/admin/sales-channel.d.ts +25 -0
  141. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -0
  142. package/dist/http/sales-channel/admin/sales-channel.js +3 -0
  143. package/dist/http/sales-channel/admin/sales-channel.js.map +1 -0
  144. package/dist/http/sales-channel/index.d.ts +2 -0
  145. package/dist/http/sales-channel/index.d.ts.map +1 -0
  146. package/dist/http/sales-channel/index.js +18 -0
  147. package/dist/http/sales-channel/index.js.map +1 -0
  148. package/dist/http/tax/admin/index.d.ts +2 -0
  149. package/dist/http/tax/admin/index.d.ts.map +1 -0
  150. package/dist/http/tax/admin/index.js +18 -0
  151. package/dist/http/tax/admin/index.js.map +1 -0
  152. package/dist/http/tax/admin/tax-regions.d.ts +32 -0
  153. package/dist/http/tax/admin/tax-regions.d.ts.map +1 -0
  154. package/dist/http/tax/admin/tax-regions.js +3 -0
  155. package/dist/http/tax/admin/tax-regions.js.map +1 -0
  156. package/dist/http/tax/index.d.ts +2 -0
  157. package/dist/http/tax/index.d.ts.map +1 -0
  158. package/dist/http/tax/index.js +18 -0
  159. package/dist/http/tax/index.js.map +1 -0
  160. package/dist/joiner/index.d.ts +2 -2
  161. package/dist/joiner/index.d.ts.map +1 -1
  162. package/dist/modules-sdk/index.d.ts +12 -10
  163. package/dist/modules-sdk/index.d.ts.map +1 -1
  164. package/dist/order/common.d.ts +111 -45
  165. package/dist/order/common.d.ts.map +1 -1
  166. package/dist/order/index.d.ts +1 -0
  167. package/dist/order/index.d.ts.map +1 -1
  168. package/dist/order/index.js +1 -0
  169. package/dist/order/index.js.map +1 -1
  170. package/dist/order/mutations.d.ts +14 -14
  171. package/dist/order/mutations.d.ts.map +1 -1
  172. package/dist/order/mutations.js.map +1 -1
  173. package/dist/order/service.d.ts +60 -662
  174. package/dist/order/service.d.ts.map +1 -1
  175. package/dist/order/workflows.d.ts +8 -0
  176. package/dist/order/workflows.d.ts.map +1 -0
  177. package/dist/order/workflows.js +3 -0
  178. package/dist/order/workflows.js.map +1 -0
  179. package/dist/payment/common.d.ts +14 -13
  180. package/dist/payment/common.d.ts.map +1 -1
  181. package/dist/payment/common.js.map +1 -1
  182. package/dist/payment/mutations.d.ts +9 -8
  183. package/dist/payment/mutations.d.ts.map +1 -1
  184. package/dist/payment/provider.d.ts +6 -5
  185. package/dist/payment/provider.d.ts.map +1 -1
  186. package/dist/payment/provider.js.map +1 -1
  187. package/dist/payment/service.d.ts +1 -0
  188. package/dist/payment/service.d.ts.map +1 -1
  189. package/dist/pricing/common/money-amount.d.ts +10 -9
  190. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  191. package/dist/pricing/common/price-set.d.ts +9 -8
  192. package/dist/pricing/common/price-set.d.ts.map +1 -1
  193. package/dist/pricing/common/price.d.ts +10 -9
  194. package/dist/pricing/common/price.d.ts.map +1 -1
  195. package/dist/pricing/workflows.d.ts +10 -20
  196. package/dist/pricing/workflows.d.ts.map +1 -1
  197. package/dist/product/common.d.ts +26 -40
  198. package/dist/product/common.d.ts.map +1 -1
  199. package/dist/promotion/http.d.ts +14 -0
  200. package/dist/promotion/http.d.ts.map +1 -0
  201. package/dist/promotion/http.js +3 -0
  202. package/dist/promotion/http.js.map +1 -0
  203. package/dist/promotion/index.d.ts +1 -0
  204. package/dist/promotion/index.d.ts.map +1 -1
  205. package/dist/promotion/index.js +1 -0
  206. package/dist/promotion/index.js.map +1 -1
  207. package/dist/region/common.d.ts +5 -0
  208. package/dist/region/common.d.ts.map +1 -1
  209. package/dist/region/mutations.d.ts +4 -0
  210. package/dist/region/mutations.d.ts.map +1 -1
  211. package/dist/tax/common.d.ts +4 -3
  212. package/dist/tax/common.d.ts.map +1 -1
  213. package/dist/totals/big-number.d.ts +1 -0
  214. package/dist/totals/big-number.d.ts.map +1 -1
  215. package/dist/totals/index.d.ts +24 -0
  216. package/dist/totals/index.d.ts.map +1 -1
  217. package/dist/totals/index.js.map +1 -1
  218. package/dist/workflow/fulfillment/create-shipping-options.d.ts +31 -0
  219. package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -0
  220. package/dist/workflow/fulfillment/create-shipping-options.js +3 -0
  221. package/dist/workflow/fulfillment/create-shipping-options.js.map +1 -0
  222. package/dist/workflow/fulfillment/index.d.ts +5 -0
  223. package/dist/workflow/fulfillment/index.d.ts.map +1 -0
  224. package/dist/workflow/fulfillment/index.js +21 -0
  225. package/dist/workflow/fulfillment/index.js.map +1 -0
  226. package/dist/workflow/fulfillment/service-zones.d.ts +21 -0
  227. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -0
  228. package/dist/workflow/fulfillment/service-zones.js +3 -0
  229. package/dist/workflow/fulfillment/service-zones.js.map +1 -0
  230. package/dist/workflow/fulfillment/shipping-profiles.d.ts +18 -0
  231. package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +1 -0
  232. package/dist/workflow/fulfillment/shipping-profiles.js +3 -0
  233. package/dist/workflow/fulfillment/shipping-profiles.js.map +1 -0
  234. package/dist/workflow/fulfillment/update-shipping-options.d.ts +32 -0
  235. package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -0
  236. package/dist/workflow/fulfillment/update-shipping-options.js +3 -0
  237. package/dist/workflow/fulfillment/update-shipping-options.js.map +1 -0
  238. package/dist/workflow/index.d.ts +1 -0
  239. package/dist/workflow/index.d.ts.map +1 -1
  240. package/dist/workflow/index.js +2 -1
  241. package/dist/workflow/index.js.map +1 -1
  242. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { BaseFilterable } from "../dal";
2
2
  import { OperatorMap } from "../dal/utils";
3
+ import { BigNumberValue } from "../totals";
3
4
  /**
4
5
  * The adjustment line details.
5
6
  */
@@ -16,7 +17,7 @@ export interface AdjustmentLineDTO {
16
17
  /**
17
18
  * The amount to adjust the original amount with.
18
19
  */
19
- amount: number;
20
+ amount: BigNumberValue;
20
21
  /**
21
22
  * The ID of the associated cart.
22
23
  */
@@ -119,6 +120,14 @@ export interface ShippingMethodTaxLineDTO extends TaxLineDTO {
119
120
  * The ID of the associated shipping method.
120
121
  */
121
122
  shipping_method_id: string;
123
+ /**
124
+ * The total tax relative to the shipping method.
125
+ */
126
+ total: BigNumberValue;
127
+ /**
128
+ * The subtotal tax relative to the shipping method.
129
+ */
130
+ subtotal: BigNumberValue;
122
131
  }
123
132
  /**
124
133
  * The line item tax line details.
@@ -132,6 +141,14 @@ export interface LineItemTaxLineDTO extends TaxLineDTO {
132
141
  * The ID of the associated line item.
133
142
  */
134
143
  item_id: string;
144
+ /**
145
+ * The total tax relative to the item.
146
+ */
147
+ total: BigNumberValue;
148
+ /**
149
+ * The subtotal tax relative to the item.
150
+ */
151
+ subtotal: BigNumberValue;
135
152
  }
136
153
  /**
137
154
  * The cart address details.
@@ -221,7 +238,7 @@ export interface CartShippingMethodDTO {
221
238
  /**
222
239
  * The price of the shipping method.
223
240
  */
224
- amount: number;
241
+ amount: BigNumberValue;
225
242
  /**
226
243
  * Whether the shipping method price is tax inclusive.
227
244
  */
@@ -261,35 +278,35 @@ export interface CartShippingMethodDTO {
261
278
  /**
262
279
  * The original total of the cart shipping method.
263
280
  */
264
- original_total: number;
281
+ original_total: BigNumberValue;
265
282
  /**
266
283
  * The original subtotal of the cart shipping method.
267
284
  */
268
- original_subtotal: number;
285
+ original_subtotal: BigNumberValue;
269
286
  /**
270
287
  * The original tax total of the cart shipping method.
271
288
  */
272
- original_tax_total: number;
289
+ original_tax_total: BigNumberValue;
273
290
  /**
274
291
  * The total of the cart shipping method.
275
292
  */
276
- total: number;
293
+ total: BigNumberValue;
277
294
  /**
278
295
  * The subtotal of the cart shipping method.
279
296
  */
280
- subtotal: number;
297
+ subtotal: BigNumberValue;
281
298
  /**
282
299
  * The tax total of the cart shipping method.
283
300
  */
284
- tax_total: number;
301
+ tax_total: BigNumberValue;
285
302
  /**
286
303
  * The discount total of the cart shipping method.
287
304
  */
288
- discount_total: number;
305
+ discount_total: BigNumberValue;
289
306
  /**
290
307
  * The discount tax total of the cart shipping method.
291
308
  */
292
- discount_tax_total: number;
309
+ discount_tax_total: BigNumberValue;
293
310
  }
294
311
  /**
295
312
  * The cart line item totals details.
@@ -298,47 +315,47 @@ export interface CartLineItemTotalsDTO {
298
315
  /**
299
316
  * The original total of the cart line item.
300
317
  */
301
- original_total: number;
318
+ original_total: BigNumberValue;
302
319
  /**
303
320
  * The original subtotal of the cart line item.
304
321
  */
305
- original_subtotal: number;
322
+ original_subtotal: BigNumberValue;
306
323
  /**
307
324
  * The original tax total of the cart line item.
308
325
  */
309
- original_tax_total: number;
326
+ original_tax_total: BigNumberValue;
310
327
  /**
311
328
  * The item total of the cart line item.
312
329
  */
313
- item_total: number;
330
+ item_total: BigNumberValue;
314
331
  /**
315
332
  * The item subtotal of the cart line item.
316
333
  */
317
- item_subtotal: number;
334
+ item_subtotal: BigNumberValue;
318
335
  /**
319
336
  * The item tax total of the cart line item.
320
337
  */
321
- item_tax_total: number;
338
+ item_tax_total: BigNumberValue;
322
339
  /**
323
340
  * The total of the cart line item.
324
341
  */
325
- total: number;
342
+ total: BigNumberValue;
326
343
  /**
327
344
  * The subtotal of the cart line item.
328
345
  */
329
- subtotal: number;
346
+ subtotal: BigNumberValue;
330
347
  /**
331
348
  * The tax total of the cart line item.
332
349
  */
333
- tax_total: number;
350
+ tax_total: BigNumberValue;
334
351
  /**
335
352
  * The discount total of the cart line item.
336
353
  */
337
- discount_total: number;
354
+ discount_total: BigNumberValue;
338
355
  /**
339
356
  * The discount tax total of the cart line item.
340
357
  */
341
- discount_tax_total: number;
358
+ discount_tax_total: BigNumberValue;
342
359
  }
343
360
  /**
344
361
  * The cart line item details.
@@ -363,7 +380,7 @@ export interface CartLineItemDTO extends CartLineItemTotalsDTO {
363
380
  /**
364
381
  * The line item's quantity in the cart.
365
382
  */
366
- quantity: number;
383
+ quantity: BigNumberValue;
367
384
  /**
368
385
  * The ID of the associated product.
369
386
  */
@@ -427,11 +444,11 @@ export interface CartLineItemDTO extends CartLineItemTotalsDTO {
427
444
  /**
428
445
  * The calculated price of the line item.
429
446
  */
430
- compare_at_unit_price?: number;
447
+ compare_at_unit_price?: BigNumberValue;
431
448
  /**
432
449
  * The unit price of the item.
433
450
  */
434
- unit_price: number;
451
+ unit_price: BigNumberValue;
435
452
  /**
436
453
  * The associated tax lines.
437
454
  *
@@ -538,55 +555,55 @@ export interface CartDTO {
538
555
  /**
539
556
  * The original item total of the cart.
540
557
  */
541
- original_item_total: number;
558
+ original_item_total: BigNumberValue;
542
559
  /**
543
560
  * The original item subtotal of the cart.
544
561
  */
545
- original_item_subtotal: number;
562
+ original_item_subtotal: BigNumberValue;
546
563
  /**
547
564
  * The original item tax total of the cart.
548
565
  */
549
- original_item_tax_total: number;
566
+ original_item_tax_total: BigNumberValue;
550
567
  /**
551
568
  * The item total of the cart.
552
569
  */
553
- item_total: number;
570
+ item_total: BigNumberValue;
554
571
  /**
555
572
  * The item subtotal of the cart.
556
573
  */
557
- item_subtotal: number;
574
+ item_subtotal: BigNumberValue;
558
575
  /**
559
576
  * The item tax total of the cart.
560
577
  */
561
- item_tax_total: number;
578
+ item_tax_total: BigNumberValue;
562
579
  /**
563
580
  * The original total of the cart.
564
581
  */
565
- original_total: number;
582
+ original_total: BigNumberValue;
566
583
  /**
567
584
  * The original subtotal of the cart.
568
585
  */
569
- original_subtotal: number;
586
+ original_subtotal: BigNumberValue;
570
587
  /**
571
588
  * The original tax total of the cart.
572
589
  */
573
- original_tax_total: number;
590
+ original_tax_total: BigNumberValue;
574
591
  /**
575
592
  * The total of the cart.
576
593
  */
577
- total: number;
594
+ total: BigNumberValue;
578
595
  /**
579
- * The subtotal of the cart.
596
+ * The subtotal of the cart. (Excluding taxes)
580
597
  */
581
- subtotal: number;
598
+ subtotal: BigNumberValue;
582
599
  /**
583
600
  * The tax total of the cart.
584
601
  */
585
- tax_total: number;
602
+ tax_total: BigNumberValue;
586
603
  /**
587
604
  * The discount total of the cart.
588
605
  */
589
- discount_total: number;
606
+ discount_total: BigNumberValue;
590
607
  /**
591
608
  * The raw discount total of the cart.
592
609
  */
@@ -594,39 +611,39 @@ export interface CartDTO {
594
611
  /**
595
612
  * The discount tax total of the cart.
596
613
  */
597
- discount_tax_total: number;
614
+ discount_tax_total: BigNumberValue;
598
615
  /**
599
616
  * The gift card total of the cart.
600
617
  */
601
- gift_card_total: number;
618
+ gift_card_total: BigNumberValue;
602
619
  /**
603
620
  * The gift card tax total of the cart.
604
621
  */
605
- gift_card_tax_total: number;
622
+ gift_card_tax_total: BigNumberValue;
606
623
  /**
607
624
  * The shipping total of the cart.
608
625
  */
609
- shipping_total: number;
626
+ shipping_total: BigNumberValue;
610
627
  /**
611
628
  * The shipping subtotal of the cart.
612
629
  */
613
- shipping_subtotal: number;
630
+ shipping_subtotal: BigNumberValue;
614
631
  /**
615
632
  * The shipping tax total of the cart.
616
633
  */
617
- shipping_tax_total: number;
634
+ shipping_tax_total: BigNumberValue;
618
635
  /**
619
636
  * The original shipping total of the cart.
620
637
  */
621
- original_shipping_total: number;
638
+ original_shipping_total: BigNumberValue;
622
639
  /**
623
640
  * The original shipping subtotal of the cart.
624
641
  */
625
- original_shipping_subtotal: number;
642
+ original_shipping_subtotal: BigNumberValue;
626
643
  /**
627
644
  * The original shipping tax total of the cart.
628
645
  */
629
- original_shipping_tax_total: number;
646
+ original_shipping_tax_total: BigNumberValue;
630
647
  }
631
648
  /**
632
649
  * The filters to apply on the retrieved carts.
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/cart/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAA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C,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEhC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { BigNumberInput } from "../totals";
1
2
  import { CartDTO, CartLineItemDTO } from "./common";
2
3
  /** ADDRESS START */
3
4
  /**
@@ -186,7 +187,7 @@ export interface CreateAdjustmentDTO {
186
187
  /**
187
188
  * The amount to adjust the original amount with.
188
189
  */
189
- amount: number;
190
+ amount: BigNumberInput;
190
191
  /**
191
192
  * The description of the adjustment.
192
193
  */
@@ -216,7 +217,7 @@ export interface UpdateAdjustmentDTO {
216
217
  /**
217
218
  * The amount to adjust the original amount with.
218
219
  */
219
- amount: number;
220
+ amount: BigNumberInput;
220
221
  /**
221
222
  * The description of the adjustment.
222
223
  */
@@ -268,7 +269,7 @@ export interface UpsertLineItemAdjustmentDTO {
268
269
  /**
269
270
  * The amount to adjust the original amount with.
270
271
  */
271
- amount?: number;
272
+ amount?: BigNumberInput;
272
273
  /**
273
274
  * The description of the line item adjustment.
274
275
  */
@@ -383,7 +384,7 @@ export interface CreateLineItemDTO {
383
384
  /**
384
385
  * The quantity of the line item in the cart.
385
386
  */
386
- quantity: number;
387
+ quantity: BigNumberInput;
387
388
  /**
388
389
  * The associated product's ID.
389
390
  */
@@ -447,11 +448,11 @@ export interface CreateLineItemDTO {
447
448
  /**
448
449
  * The calculated price of the line item after applying promotions.
449
450
  */
450
- compare_at_unit_price?: number;
451
+ compare_at_unit_price?: BigNumberInput;
451
452
  /**
452
453
  * The unit price of the line item.
453
454
  */
454
- unit_price: number | string;
455
+ unit_price: BigNumberInput;
455
456
  /**
456
457
  * The tax lines of the line item.
457
458
  */
@@ -515,11 +516,11 @@ export interface UpdateLineItemDTO extends Omit<CreateLineItemDTO, "tax_lines" |
515
516
  /**
516
517
  * The quantity of the line item in the cart.
517
518
  */
518
- quantity?: number;
519
+ quantity?: BigNumberInput;
519
520
  /**
520
521
  * The unit price of the line item.
521
522
  */
522
- unit_price?: number;
523
+ unit_price?: BigNumberInput;
523
524
  /**
524
525
  * Holds custom data in key-value pairs.
525
526
  */
@@ -550,7 +551,7 @@ export interface CreateShippingMethodDTO {
550
551
  /**
551
552
  * The amount of the shipping method.
552
553
  */
553
- amount: number;
554
+ amount: BigNumberInput;
554
555
  /**
555
556
  * The data of the shipping method.
556
557
  */
@@ -575,7 +576,7 @@ export interface CreateShippingMethodForSingleCartDTO {
575
576
  /**
576
577
  * The amount of the shipping method.
577
578
  */
578
- amount: number;
579
+ amount: BigNumberInput;
579
580
  /**
580
581
  * The data of the shipping method.
581
582
  */
@@ -604,7 +605,7 @@ export interface UpdateShippingMethodDTO {
604
605
  /**
605
606
  * The amount of the shipping method.
606
607
  */
607
- amount?: number;
608
+ amount?: BigNumberInput;
608
609
  /**
609
610
  * The data of the shipping method.
610
611
  */
@@ -634,7 +635,7 @@ export interface CreateShippingMethodAdjustmentDTO {
634
635
  /**
635
636
  * The amount to adjust the original amount with.
636
637
  */
637
- amount: number;
638
+ amount: BigNumberInput;
638
639
  /**
639
640
  * The description of the shipping method adjustment.
640
641
  */
@@ -664,7 +665,7 @@ export interface UpdateShippingMethodAdjustmentDTO {
664
665
  /**
665
666
  * The amount to adjust the original amount with.
666
667
  */
667
- amount?: number;
668
+ amount?: BigNumberInput;
668
669
  /**
669
670
  * The description of the shipping method adjustment.
670
671
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/cart/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAEnD,oBAAoB;AAEpB;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAA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AA;IAEZ;;OAEG;IACH,MAAM,EAAE,cAAc,CAAA;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,2BAA2B"}
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../src/cart/mutations.ts"],"names":[],"mappings":";;AA2zBA,2BAA2B"}
1
+ {"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../src/cart/mutations.ts"],"names":[],"mappings":";;AA4zBA,2BAA2B"}
@@ -2,10 +2,11 @@ import { CustomerDTO } from "../customer";
2
2
  import { ShippingOptionDTO } from "../fulfillment";
3
3
  import { ProductDTO } from "../product";
4
4
  import { RegionDTO } from "../region";
5
+ import { BigNumberInput } from "../totals";
5
6
  import { CartDTO, CartLineItemDTO } from "./common";
6
7
  import { UpdateLineItemDTO } from "./mutations";
7
8
  export interface CreateCartCreateLineItemDTO {
8
- quantity: number;
9
+ quantity: BigNumberInput;
9
10
  variant_id: string;
10
11
  title?: string;
11
12
  subtitle?: string;
@@ -25,8 +26,8 @@ export interface CreateCartCreateLineItemDTO {
25
26
  is_discountable?: boolean;
26
27
  is_tax_inclusive?: boolean;
27
28
  is_giftcard?: boolean;
28
- compare_at_unit_price?: number;
29
- unit_price?: number | string;
29
+ compare_at_unit_price?: BigNumberInput;
30
+ unit_price?: BigNumberInput;
30
31
  metadata?: Record<string, unknown>;
31
32
  }
32
33
  export interface UpdateLineItemInCartWorkflowInputDTO {
@@ -79,7 +80,7 @@ export interface CreatePaymentCollectionForCartWorkflowInputDTO {
79
80
  cart_id: string;
80
81
  region_id: string;
81
82
  currency_code: string;
82
- amount: number;
83
+ amount: BigNumberInput;
83
84
  metadata?: Record<string, unknown>;
84
85
  }
85
86
  export interface CartWorkflowDTO extends CartDTO {
@@ -98,6 +99,6 @@ export interface ListShippingOptionsForCartWorkflowInputDTO {
98
99
  };
99
100
  }
100
101
  export interface PricedShippingOptionDTO extends ShippingOptionDTO {
101
- amount: number;
102
+ amount: BigNumberInput;
102
103
  }
103
104
  //# sourceMappingURL=workflows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/cart/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,Y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,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAC9C,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB;AAED,MAAM,WAAW,0CAA0C;IACzD,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE;QAChB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;KAClB,CAAA;CACF;AAED,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE,MAAM,EAAE,cAAc,CAAA;CACvB"}
@@ -1,2 +1,5 @@
1
+ /**
2
+ * The accepted values for the shipping rule option's operator.
3
+ */
1
4
  export type RuleOperatorType = "in" | "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "nin";
2
5
  //# sourceMappingURL=rule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../src/common/rule.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GACxB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,KAAK,CAAA"}
1
+ {"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../src/common/rule.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,KAAK,CAAA"}
@@ -364,63 +364,71 @@ export interface CustomerDTO {
364
364
  * The email of the customer.
365
365
  */
366
366
  email: string;
367
+ /**
368
+ * A flag indicating if customer has an account or not.
369
+ */
370
+ has_account: boolean;
367
371
  /**
368
372
  * The associated default billing address's ID.
369
373
  */
370
- default_billing_address_id?: string | null;
374
+ default_billing_address_id: string | null;
371
375
  /**
372
376
  * The associated default shipping address's ID.
373
377
  */
374
- default_shipping_address_id?: string | null;
378
+ default_shipping_address_id: string | null;
375
379
  /**
376
380
  * The company name of the customer.
377
381
  */
378
- company_name?: string | null;
382
+ company_name: string | null;
379
383
  /**
380
384
  * The first name of the customer.
381
385
  */
382
- first_name?: string | null;
386
+ first_name: string | null;
383
387
  /**
384
388
  * The last name of the customer.
385
389
  */
386
- last_name?: string | null;
390
+ last_name: string | null;
387
391
  /**
388
392
  * The addresses of the customer.
389
393
  */
390
- addresses?: CustomerAddressDTO[];
394
+ addresses: CustomerAddressDTO[];
391
395
  /**
392
396
  * The phone of the customer.
393
397
  */
394
- phone?: string | null;
398
+ phone: string | null;
395
399
  /**
396
400
  * The groups of the customer.
397
401
  */
398
- groups?: {
402
+ groups: {
399
403
  /**
400
404
  * The ID of the group.
401
405
  */
402
406
  id: string;
407
+ /**
408
+ * The name of the group.
409
+ */
410
+ name: string;
403
411
  }[];
404
412
  /**
405
413
  * Holds custom data in key-value pairs.
406
414
  */
407
- metadata?: Record<string, unknown>;
415
+ metadata: Record<string, unknown>;
408
416
  /**
409
417
  * Who created the customer.
410
418
  */
411
- created_by?: string | null;
419
+ created_by: string | null;
412
420
  /**
413
421
  * The deletion date of the customer.
414
422
  */
415
- deleted_at?: Date | string | null;
423
+ deleted_at: Date | string | null;
416
424
  /**
417
425
  * The creation date of the customer.
418
426
  */
419
- created_at?: Date | string;
427
+ created_at: Date | string;
420
428
  /**
421
429
  * The update date of the customer.
422
430
  */
423
- updated_at?: Date | string;
431
+ updated_at: Date | string;
424
432
  }
425
433
  /**
426
434
  * @interface