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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) 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/fulfillment/common/address.d.ts +51 -0
  15. package/dist/fulfillment/common/address.d.ts.map +1 -1
  16. package/dist/fulfillment/common/fulfillment-item.d.ts +39 -0
  17. package/dist/fulfillment/common/fulfillment-item.d.ts.map +1 -1
  18. package/dist/fulfillment/common/fulfillment-label.d.ts +30 -0
  19. package/dist/fulfillment/common/fulfillment-label.d.ts.map +1 -1
  20. package/dist/fulfillment/common/fulfillment-provider.d.ts +24 -0
  21. package/dist/fulfillment/common/fulfillment-provider.d.ts.map +1 -1
  22. package/dist/fulfillment/common/fulfillment-set.d.ts +42 -0
  23. package/dist/fulfillment/common/fulfillment-set.d.ts.map +1 -1
  24. package/dist/fulfillment/common/fulfillment.d.ts +91 -0
  25. package/dist/fulfillment/common/fulfillment.d.ts.map +1 -1
  26. package/dist/fulfillment/common/geo-zone.d.ts +54 -0
  27. package/dist/fulfillment/common/geo-zone.d.ts.map +1 -1
  28. package/dist/fulfillment/common/service-zone.d.ts +52 -0
  29. package/dist/fulfillment/common/service-zone.d.ts.map +1 -1
  30. package/dist/fulfillment/common/shipping-option-rule.d.ts +51 -0
  31. package/dist/fulfillment/common/shipping-option-rule.d.ts.map +1 -1
  32. package/dist/fulfillment/common/shipping-option-type.d.ts +45 -0
  33. package/dist/fulfillment/common/shipping-option-type.d.ts.map +1 -1
  34. package/dist/fulfillment/common/shipping-option.d.ts +117 -0
  35. package/dist/fulfillment/common/shipping-option.d.ts.map +1 -1
  36. package/dist/fulfillment/common/shipping-profile.d.ts +42 -0
  37. package/dist/fulfillment/common/shipping-profile.d.ts.map +1 -1
  38. package/dist/fulfillment/mutations/fulfillment-address.d.ts +39 -0
  39. package/dist/fulfillment/mutations/fulfillment-address.d.ts.map +1 -1
  40. package/dist/fulfillment/mutations/fulfillment-item.d.ts +24 -0
  41. package/dist/fulfillment/mutations/fulfillment-item.d.ts.map +1 -1
  42. package/dist/fulfillment/mutations/fulfillment-label.d.ts +15 -0
  43. package/dist/fulfillment/mutations/fulfillment-label.d.ts.map +1 -1
  44. package/dist/fulfillment/mutations/fulfillment-set.d.ts +32 -2
  45. package/dist/fulfillment/mutations/fulfillment-set.d.ts.map +1 -1
  46. package/dist/fulfillment/mutations/fulfillment.d.ts +66 -0
  47. package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
  48. package/dist/fulfillment/mutations/geo-zone.d.ts +123 -0
  49. package/dist/fulfillment/mutations/geo-zone.d.ts.map +1 -1
  50. package/dist/fulfillment/mutations/service-zone.d.ts +33 -1
  51. package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
  52. package/dist/fulfillment/mutations/shipping-option-rule.d.ts +21 -0
  53. package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +1 -1
  54. package/dist/fulfillment/mutations/shipping-option-type.d.ts +21 -0
  55. package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +1 -1
  56. package/dist/fulfillment/mutations/shipping-option.d.ts +71 -1
  57. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  58. package/dist/fulfillment/mutations/shipping-profile.d.ts +15 -0
  59. package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
  60. package/dist/fulfillment/service.d.ts +1933 -218
  61. package/dist/fulfillment/service.d.ts.map +1 -1
  62. package/dist/http/api-key/admin/api-key.d.ts +31 -0
  63. package/dist/http/api-key/admin/api-key.d.ts.map +1 -0
  64. package/dist/http/api-key/admin/api-key.js +3 -0
  65. package/dist/http/api-key/admin/api-key.js.map +1 -0
  66. package/dist/http/api-key/admin/index.d.ts +2 -0
  67. package/dist/http/api-key/admin/index.d.ts.map +1 -0
  68. package/dist/http/api-key/admin/index.js +18 -0
  69. package/dist/http/api-key/admin/index.js.map +1 -0
  70. package/dist/http/api-key/index.d.ts +2 -0
  71. package/dist/http/api-key/index.d.ts.map +1 -0
  72. package/dist/http/api-key/index.js +18 -0
  73. package/dist/http/api-key/index.js.map +1 -0
  74. package/dist/http/common/index.d.ts +2 -0
  75. package/dist/http/common/index.d.ts.map +1 -0
  76. package/dist/http/common/index.js +18 -0
  77. package/dist/http/common/index.js.map +1 -0
  78. package/dist/http/common/paginated-response.d.ts +6 -0
  79. package/dist/http/common/paginated-response.d.ts.map +1 -0
  80. package/dist/http/common/paginated-response.js +3 -0
  81. package/dist/http/common/paginated-response.js.map +1 -0
  82. package/dist/http/customer/admin/customer.d.ts +78 -0
  83. package/dist/http/customer/admin/customer.d.ts.map +1 -0
  84. package/dist/http/customer/admin/customer.js +3 -0
  85. package/dist/http/customer/admin/customer.js.map +1 -0
  86. package/dist/http/customer/admin/index.d.ts +2 -0
  87. package/dist/http/customer/admin/index.d.ts.map +1 -0
  88. package/dist/http/customer/admin/index.js +18 -0
  89. package/dist/http/customer/admin/index.js.map +1 -0
  90. package/dist/http/customer/index.d.ts +2 -0
  91. package/dist/http/customer/index.d.ts.map +1 -0
  92. package/dist/http/customer/index.js +18 -0
  93. package/dist/http/customer/index.js.map +1 -0
  94. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +7 -1
  95. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
  96. package/dist/http/fulfillment/admin/service-zone.d.ts +10 -0
  97. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
  98. package/dist/http/fulfillment/admin/shipping-option.d.ts +11 -4
  99. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
  100. package/dist/http/index.d.ts +6 -1
  101. package/dist/http/index.d.ts.map +1 -1
  102. package/dist/http/index.js +6 -1
  103. package/dist/http/index.js.map +1 -1
  104. package/dist/http/pricing/index.d.ts +2 -0
  105. package/dist/http/pricing/index.d.ts.map +1 -0
  106. package/dist/http/pricing/index.js +18 -0
  107. package/dist/http/pricing/index.js.map +1 -0
  108. package/dist/http/pricing/price.d.ts +8 -0
  109. package/dist/http/pricing/price.d.ts.map +1 -0
  110. package/dist/http/pricing/price.js +3 -0
  111. package/dist/http/pricing/price.js.map +1 -0
  112. package/dist/http/sales-channel/admin/index.d.ts +2 -0
  113. package/dist/http/sales-channel/admin/index.d.ts.map +1 -0
  114. package/dist/http/sales-channel/admin/index.js +18 -0
  115. package/dist/http/sales-channel/admin/index.js.map +1 -0
  116. package/dist/http/sales-channel/admin/sales-channel.d.ts +25 -0
  117. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -0
  118. package/dist/http/sales-channel/admin/sales-channel.js +3 -0
  119. package/dist/http/sales-channel/admin/sales-channel.js.map +1 -0
  120. package/dist/http/sales-channel/index.d.ts +2 -0
  121. package/dist/http/sales-channel/index.d.ts.map +1 -0
  122. package/dist/http/sales-channel/index.js +18 -0
  123. package/dist/http/sales-channel/index.js.map +1 -0
  124. package/dist/http/tax/admin/index.d.ts +2 -0
  125. package/dist/http/tax/admin/index.d.ts.map +1 -0
  126. package/dist/http/tax/admin/index.js +18 -0
  127. package/dist/http/tax/admin/index.js.map +1 -0
  128. package/dist/http/tax/admin/tax-regions.d.ts +32 -0
  129. package/dist/http/tax/admin/tax-regions.d.ts.map +1 -0
  130. package/dist/http/tax/admin/tax-regions.js +3 -0
  131. package/dist/http/tax/admin/tax-regions.js.map +1 -0
  132. package/dist/http/tax/index.d.ts +2 -0
  133. package/dist/http/tax/index.d.ts.map +1 -0
  134. package/dist/http/tax/index.js +18 -0
  135. package/dist/http/tax/index.js.map +1 -0
  136. package/dist/joiner/index.d.ts +2 -2
  137. package/dist/joiner/index.d.ts.map +1 -1
  138. package/dist/modules-sdk/index.d.ts +2 -1
  139. package/dist/modules-sdk/index.d.ts.map +1 -1
  140. package/dist/order/common.d.ts +111 -45
  141. package/dist/order/common.d.ts.map +1 -1
  142. package/dist/order/index.d.ts +1 -0
  143. package/dist/order/index.d.ts.map +1 -1
  144. package/dist/order/index.js +1 -0
  145. package/dist/order/index.js.map +1 -1
  146. package/dist/order/mutations.d.ts +14 -14
  147. package/dist/order/mutations.d.ts.map +1 -1
  148. package/dist/order/mutations.js.map +1 -1
  149. package/dist/order/service.d.ts +60 -662
  150. package/dist/order/service.d.ts.map +1 -1
  151. package/dist/order/workflows.d.ts +8 -0
  152. package/dist/order/workflows.d.ts.map +1 -0
  153. package/dist/order/workflows.js +3 -0
  154. package/dist/order/workflows.js.map +1 -0
  155. package/dist/payment/common.d.ts +14 -13
  156. package/dist/payment/common.d.ts.map +1 -1
  157. package/dist/payment/common.js.map +1 -1
  158. package/dist/payment/mutations.d.ts +9 -8
  159. package/dist/payment/mutations.d.ts.map +1 -1
  160. package/dist/payment/provider.d.ts +6 -5
  161. package/dist/payment/provider.d.ts.map +1 -1
  162. package/dist/payment/provider.js.map +1 -1
  163. package/dist/payment/service.d.ts +1 -0
  164. package/dist/payment/service.d.ts.map +1 -1
  165. package/dist/pricing/common/money-amount.d.ts +10 -9
  166. package/dist/pricing/common/money-amount.d.ts.map +1 -1
  167. package/dist/pricing/common/price-set.d.ts +9 -8
  168. package/dist/pricing/common/price-set.d.ts.map +1 -1
  169. package/dist/pricing/common/price.d.ts +10 -9
  170. package/dist/pricing/common/price.d.ts.map +1 -1
  171. package/dist/pricing/workflows.d.ts +10 -20
  172. package/dist/pricing/workflows.d.ts.map +1 -1
  173. package/dist/promotion/http.d.ts +14 -0
  174. package/dist/promotion/http.d.ts.map +1 -0
  175. package/dist/promotion/http.js +3 -0
  176. package/dist/promotion/http.js.map +1 -0
  177. package/dist/promotion/index.d.ts +1 -0
  178. package/dist/promotion/index.d.ts.map +1 -1
  179. package/dist/promotion/index.js +1 -0
  180. package/dist/promotion/index.js.map +1 -1
  181. package/dist/region/common.d.ts +5 -0
  182. package/dist/region/common.d.ts.map +1 -1
  183. package/dist/region/mutations.d.ts +4 -0
  184. package/dist/region/mutations.d.ts.map +1 -1
  185. package/dist/tax/common.d.ts +4 -3
  186. package/dist/tax/common.d.ts.map +1 -1
  187. package/dist/totals/big-number.d.ts +1 -0
  188. package/dist/totals/big-number.d.ts.map +1 -1
  189. package/dist/totals/index.d.ts +24 -0
  190. package/dist/totals/index.d.ts.map +1 -1
  191. package/dist/totals/index.js.map +1 -1
  192. package/dist/workflow/fulfillment/create-shipping-options.d.ts +31 -0
  193. package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -0
  194. package/dist/workflow/fulfillment/create-shipping-options.js +3 -0
  195. package/dist/workflow/fulfillment/create-shipping-options.js.map +1 -0
  196. package/dist/workflow/fulfillment/index.d.ts +4 -0
  197. package/dist/workflow/fulfillment/index.d.ts.map +1 -0
  198. package/dist/workflow/fulfillment/index.js +20 -0
  199. package/dist/workflow/fulfillment/index.js.map +1 -0
  200. package/dist/workflow/fulfillment/service-zones.d.ts +21 -0
  201. package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -0
  202. package/dist/workflow/fulfillment/service-zones.js +3 -0
  203. package/dist/workflow/fulfillment/service-zones.js.map +1 -0
  204. package/dist/workflow/fulfillment/update-shipping-options.d.ts +32 -0
  205. package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -0
  206. package/dist/workflow/fulfillment/update-shipping-options.js +3 -0
  207. package/dist/workflow/fulfillment/update-shipping-options.js.map +1 -0
  208. package/dist/workflow/index.d.ts +1 -0
  209. package/dist/workflow/index.d.ts.map +1 -1
  210. package/dist/workflow/index.js +2 -1
  211. package/dist/workflow/index.js.map +1 -1
  212. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { BaseFilterable } from "../../dal";
2
+ import { BigNumberInput, BigNumberValue } from "../../totals";
2
3
  import { PriceListDTO } from "./price-list";
3
4
  import { PriceRuleDTO } from "./price-rule";
4
5
  import { PriceSetDTO } from "./price-set";
@@ -23,15 +24,15 @@ export interface PriceDTO {
23
24
  /**
24
25
  * The price of this price.
25
26
  */
26
- amount?: number;
27
+ amount?: BigNumberValue;
27
28
  /**
28
29
  * The minimum quantity required to be purchased for this price to be applied.
29
30
  */
30
- min_quantity?: number;
31
+ min_quantity?: BigNumberValue;
31
32
  /**
32
33
  * The maximum quantity required to be purchased for this price to be applied.
33
34
  */
34
- max_quantity?: number;
35
+ max_quantity?: BigNumberValue;
35
36
  /**
36
37
  * The price set associated with the price.
37
38
  *
@@ -78,15 +79,15 @@ export interface UpdatePriceDTO {
78
79
  /**
79
80
  * The amount of this price.
80
81
  */
81
- amount?: number;
82
+ amount?: BigNumberInput;
82
83
  /**
83
84
  * The minimum quantity required to be purchased for this price to be applied.
84
85
  */
85
- min_quantity?: number;
86
+ min_quantity?: BigNumberInput;
86
87
  /**
87
88
  * The maximum quantity required to be purchased for this price to be applied.
88
89
  */
89
- max_quantity?: number;
90
+ max_quantity?: BigNumberInput;
90
91
  }
91
92
  export interface CreatePriceDTO {
92
93
  title?: string;
@@ -101,15 +102,15 @@ export interface CreatePriceDTO {
101
102
  /**
102
103
  * The amount of this price.
103
104
  */
104
- amount: number;
105
+ amount: BigNumberInput;
105
106
  /**
106
107
  * The minimum quantity required to be purchased for this price to be applied.
107
108
  */
108
- min_quantity?: number | null;
109
+ min_quantity?: BigNumberInput | null;
109
110
  /**
110
111
  * The maximum quantity required to be purchased for this price to be applied.
111
112
  */
112
- max_quantity?: number | null;
113
+ max_quantity?: BigNumberInput | null;
113
114
  }
114
115
  /**
115
116
  * @interface
@@ -1 +1 @@
1
- {"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../src/pricing/common/price.ts"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C,EAAE,cAAc,GAAG,IAAI,CAAA;CACrC;AAED;;;;GAIG;AACH,MAAM,WAAW,oBACf,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAC5C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IACb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB"}
@@ -7,15 +7,6 @@ export interface CreatePriceListPriceWorkflowDTO {
7
7
  min_quantity?: number;
8
8
  rules?: Record<string, string>;
9
9
  }
10
- export interface UpdatePriceListPriceWorkflowDTO {
11
- id: string;
12
- amount?: number;
13
- currency_code?: string;
14
- variant_id?: string;
15
- max_quantity?: number;
16
- min_quantity?: number;
17
- rules?: Record<string, string>;
18
- }
19
10
  export interface CreatePriceListWorkflowInputDTO {
20
11
  title: string;
21
12
  description: string;
@@ -23,7 +14,7 @@ export interface CreatePriceListWorkflowInputDTO {
23
14
  ends_at?: string | null;
24
15
  status?: PriceListStatus;
25
16
  rules?: Record<string, string[]>;
26
- prices?: CreatePriceListPriceWorkflowDTO[];
17
+ prices: CreatePriceListPriceWorkflowDTO[];
27
18
  }
28
19
  export interface UpdatePriceListWorkflowInputDTO {
29
20
  id: string;
@@ -33,28 +24,27 @@ export interface UpdatePriceListWorkflowInputDTO {
33
24
  ends_at?: string | null;
34
25
  status?: PriceListStatus;
35
26
  rules?: Record<string, string[]>;
36
- prices?: CreatePriceListPriceWorkflowDTO[];
37
27
  }
38
28
  export interface UpdatePriceListPricesWorkflowDTO {
39
29
  id: string;
40
- prices: UpdatePriceListPriceWorkflowDTO[];
30
+ prices: {
31
+ id: string;
32
+ variant_id: string;
33
+ amount?: number;
34
+ currency_code?: string;
35
+ max_quantity?: number;
36
+ min_quantity?: number;
37
+ rules?: Record<string, string>;
38
+ }[];
41
39
  }
42
40
  export interface CreatePriceListPricesWorkflowDTO {
43
41
  id: string;
44
42
  prices: CreatePriceListPriceWorkflowDTO[];
45
43
  }
46
- export interface UpdatePriceListPriceWorkflowDTO {
47
- data: Pick<UpdatePriceListWorkflowInputDTO, "id" | "prices">[];
48
- variant_price_map: Record<string, string>;
49
- }
50
44
  export interface UpdatePriceListPriceWorkflowStepDTO {
51
45
  data?: UpdatePriceListPricesWorkflowDTO[];
52
46
  variant_price_map: Record<string, string>;
53
47
  }
54
- export interface UpsertPriceListPricesWorkflowStepDTO {
55
- data: Pick<UpdatePriceListWorkflowInputDTO, "id" | "prices">[];
56
- variant_price_map: Record<string, string>;
57
- }
58
48
  export interface CreatePriceListsWorkflowStepDTO {
59
49
  data: CreatePriceListWorkflowInputDTO[];
60
50
  variant_price_map: Record<string, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/pricing/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE1C,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC/B;AAED,MAAM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;KAAE,CAAC,EAAE,CAAA;IAC1E,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC1C"}
@@ -0,0 +1,14 @@
1
+ export type AdminGetPromotionRulesRes = {
2
+ id?: string;
3
+ attribute: string;
4
+ attribute_label: string;
5
+ operator: string;
6
+ operator_label: string;
7
+ values: {
8
+ label?: string;
9
+ value: string;
10
+ }[];
11
+ disguised?: boolean;
12
+ required?: boolean;
13
+ }[];
14
+ //# sourceMappingURL=http.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/promotion/http.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=http.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/promotion/http.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  export * from "./common";
2
+ export * from "./http";
2
3
  export * from "./mutations";
3
4
  export * from "./service";
4
5
  export * from "./workflows";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promotion/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promotion/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./common"), exports);
18
+ __exportStar(require("./http"), exports);
18
19
  __exportStar(require("./mutations"), exports);
19
20
  __exportStar(require("./service"), exports);
20
21
  __exportStar(require("./workflows"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/promotion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB;AACzB,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/promotion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,yCAAsB;AACtB,8CAA2B;AAC3B,4CAAyB;AACzB,8CAA2B"}
@@ -1,4 +1,5 @@
1
1
  import { BaseFilterable, OperatorMap } from "../dal";
2
+ import { PaymentProviderDTO } from "../payment";
2
3
  /**
3
4
  * The region details.
4
5
  */
@@ -23,6 +24,10 @@ export interface RegionDTO {
23
24
  * The countries of the region.
24
25
  */
25
26
  countries: RegionCountryDTO[];
27
+ /**
28
+ * Payment providers available in the region
29
+ */
30
+ payment_providers: PaymentProviderDTO[];
26
31
  /**
27
32
  * Holds custom data in key-value pairs.
28
33
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpD;;GAEG;A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AAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAE5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
@@ -18,6 +18,10 @@ export interface CreateRegionDTO {
18
18
  * The region's countries.
19
19
  */
20
20
  countries?: string[];
21
+ /**
22
+ * The region's payment providers.
23
+ */
24
+ payment_providers?: string[];
21
25
  /**
22
26
  * Holds custom data in key-value pairs.
23
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/region/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,aAAa,C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AAE,MAAM,EAAE,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC"}
@@ -1,5 +1,6 @@
1
1
  import { BaseFilterable } from "../dal";
2
2
  import { OperatorMap } from "../dal/utils";
3
+ import { BigNumberInput } from "../totals";
3
4
  /**
4
5
  * The tax rate details.
5
6
  */
@@ -312,11 +313,11 @@ export interface TaxableItemDTO {
312
313
  /**
313
314
  * The quantity of the taxable item.
314
315
  */
315
- quantity?: number;
316
+ quantity?: BigNumberInput;
316
317
  /**
317
318
  * The unit price of the taxable item.
318
319
  */
319
- unit_price?: number;
320
+ unit_price?: BigNumberInput;
320
321
  /**
321
322
  * The ISO 3 character currency code of the taxable item.
322
323
  */
@@ -337,7 +338,7 @@ export interface TaxableShippingDTO {
337
338
  /**
338
339
  * The unit price of the taxable shipping.
339
340
  */
340
- unit_price?: number;
341
+ unit_price?: BigNumberInput;
341
342
  /**
342
343
  * The ISO 3 character currency code of the taxable shipping.
343
344
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/tax/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,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;OAIG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAEnB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,aAAa,EAAE,OAAO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
5
5
  };
6
6
  export type BigNumberInput = BigNumberRawValue | number | string | BigNumberJS;
7
+ export type BigNumberValue = BigNumberJS | number | string;
7
8
  //# sourceMappingURL=big-number.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"big-number.d.ts","sourceRoot":"","sources":["../../src/totals/big-number.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAA"}
1
+ {"version":3,"file":"big-number.d.ts","sourceRoot":"","sources":["../../src/totals/big-number.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAA;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAA;AAE9E,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,CAAA"}
@@ -1,2 +1,26 @@
1
+ import { BigNumberValue } from "./big-number";
1
2
  export * from "./big-number";
3
+ export type CartLikeWithTotals = {
4
+ original_item_subtotal: BigNumberValue;
5
+ original_item_tax_total: BigNumberValue;
6
+ item_total: BigNumberValue;
7
+ item_subtotal: BigNumberValue;
8
+ item_tax_total: BigNumberValue;
9
+ original_total: BigNumberValue;
10
+ original_subtotal: BigNumberValue;
11
+ original_tax_total: BigNumberValue;
12
+ total: BigNumberValue;
13
+ subtotal: BigNumberValue;
14
+ tax_total: BigNumberValue;
15
+ discount_total: BigNumberValue;
16
+ discount_tax_total: BigNumberValue;
17
+ gift_card_total: BigNumberValue;
18
+ gift_card_tax_total: BigNumberValue;
19
+ shipping_total: BigNumberValue;
20
+ shipping_subtotal: BigNumberValue;
21
+ shipping_tax_total: BigNumberValue;
22
+ original_shipping_total: BigNumberValue;
23
+ original_shipping_subtotal: BigNumberValue;
24
+ original_shipping_tax_total: BigNumberValue;
25
+ };
2
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/totals/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/totals/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,cAAc,cAAc,CAAA;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,sBAAsB,EAAE,cAAc,CAAA;IACtC,uBAAuB,EAAE,cAAc,CAAA;IACvC,UAAU,EAAE,cAAc,CAAA;IAC1B,aAAa,EAAE,cAAc,CAAA;IAC7B,cAAc,EAAE,cAAc,CAAA;IAC9B,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,cAAc,CAAA;IACjC,kBAAkB,EAAE,cAAc,CAAA;IAClC,KAAK,EAAE,cAAc,CAAA;IACrB,QAAQ,EAAE,cAAc,CAAA;IACxB,SAAS,EAAE,cAAc,CAAA;IACzB,cAAc,EAAE,cAAc,CAAA;IAC9B,kBAAkB,EAAE,cAAc,CAAA;IAClC,eAAe,EAAE,cAAc,CAAA;IAC/B,mBAAmB,EAAE,cAAc,CAAA;IACnC,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,cAAc,CAAA;IACjC,kBAAkB,EAAE,cAAc,CAAA;IAClC,uBAAuB,EAAE,cAAc,CAAA;IACvC,0BAA0B,EAAE,cAAc,CAAA;IAC1C,2BAA2B,EAAE,cAAc,CAAA;CAC5C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/totals/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/totals/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,+CAA4B"}
@@ -0,0 +1,31 @@
1
+ import { ShippingOptionPriceType } from "../../fulfillment";
2
+ import { RuleOperatorType } from "../../common";
3
+ export interface CreateShippingOptionsWorkflowInput {
4
+ name: string;
5
+ service_zone_id: string;
6
+ shipping_profile_id: string;
7
+ data?: Record<string, unknown>;
8
+ price_type: ShippingOptionPriceType;
9
+ provider_id: string;
10
+ type: {
11
+ label: string;
12
+ description: string;
13
+ code: string;
14
+ };
15
+ prices: ({
16
+ currency_code: string;
17
+ amount: number;
18
+ } | {
19
+ region_id: string;
20
+ amount: number;
21
+ })[];
22
+ rules?: {
23
+ attribute: string;
24
+ operator: RuleOperatorType;
25
+ value: string | string[];
26
+ }[];
27
+ }
28
+ export type CreateShippingOptionsWorkflowOutput = {
29
+ id: string;
30
+ }[];
31
+ //# sourceMappingURL=create-shipping-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/create-shipping-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,UAAU,EAAE,uBAAuB,CAAA;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,MAAM,EAAE,CACJ;QACE,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,MAAM,CAAA;KACf,GACD;QACE,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,EAAE,MAAM,CAAA;KACf,CACJ,EAAE,CAAA;IACH,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,gBAAgB,CAAA;QAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KACzB,EAAE,CAAA;CACJ;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAA;CACX,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=create-shipping-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-shipping-options.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/create-shipping-options.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from "./create-shipping-options";
2
+ export * from "./update-shipping-options";
3
+ export * from "./service-zones";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-shipping-options"), exports);
18
+ __exportStar(require("./update-shipping-options"), exports);
19
+ __exportStar(require("./service-zones"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,4DAAyC;AACzC,kDAA+B"}
@@ -0,0 +1,21 @@
1
+ import { CreateCityGeoZoneDTO, CreateCountryGeoZoneDTO, CreateProvinceGeoZoneDTO, CreateZipGeoZoneDTO, FilterableServiceZoneProps } from "../../fulfillment";
2
+ interface CreateServiceZone {
3
+ name: string;
4
+ fulfillment_set_id: string;
5
+ geo_zones?: (Omit<CreateCountryGeoZoneDTO, "service_zone_id"> | Omit<CreateProvinceGeoZoneDTO, "service_zone_id"> | Omit<CreateCityGeoZoneDTO, "service_zone_id"> | Omit<CreateZipGeoZoneDTO, "service_zone_id">)[];
6
+ }
7
+ export interface CreateServiceZonesWorkflowInput {
8
+ data: CreateServiceZone[];
9
+ }
10
+ interface UpdateServiceZone {
11
+ name?: string;
12
+ geo_zones?: (Omit<CreateCountryGeoZoneDTO, "service_zone_id"> | Omit<CreateProvinceGeoZoneDTO, "service_zone_id"> | Omit<CreateCityGeoZoneDTO, "service_zone_id"> | Omit<CreateZipGeoZoneDTO, "service_zone_id"> | {
13
+ id: string;
14
+ })[];
15
+ }
16
+ export interface UpdateServiceZonesWorkflowInput {
17
+ selector: FilterableServiceZoneProps;
18
+ update: UpdateServiceZone;
19
+ }
20
+ export {};
21
+ //# sourceMappingURL=service-zones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-zones.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/service-zones.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,mBAAmB,CAAA;AAE1B,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,CACR,IAAI,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,GAChD,IAAI,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GACjD,IAAI,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,GAC7C,IAAI,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAC/C,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,iBAAiB,EAAE,CAAA;CAC1B;AAED,UAAU,iBAAiB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,CACR,IAAI,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,GAChD,IAAI,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,GACjD,IAAI,CAAC,oBAAoB,EAAE,iBAAiB,CAAC,GAC7C,IAAI,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,GAC5C;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CACjB,EAAE,CAAA;CACJ;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,0BAA0B,CAAA;IACpC,MAAM,EAAE,iBAAiB,CAAA;CAC1B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=service-zones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-zones.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/service-zones.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { ShippingOptionPriceType } from "../../fulfillment";
2
+ import { RuleOperatorType } from "../../common";
3
+ export interface UpdateShippingOptionsWorkflowInput {
4
+ id: string;
5
+ name?: string;
6
+ service_zone_id?: string;
7
+ shipping_profile_id?: string;
8
+ data?: Record<string, unknown>;
9
+ price_type?: ShippingOptionPriceType;
10
+ provider_id?: string;
11
+ type?: {
12
+ label: string;
13
+ description: string;
14
+ code: string;
15
+ };
16
+ prices?: ({
17
+ currency_code: string;
18
+ amount: number;
19
+ } | {
20
+ region_id: string;
21
+ amount: number;
22
+ })[];
23
+ rules?: {
24
+ attribute: string;
25
+ operator: RuleOperatorType;
26
+ value: string | string[];
27
+ }[];
28
+ }
29
+ export type UpdateShippingOptionsWorkflowOutput = {
30
+ id: string;
31
+ }[];
32
+ //# sourceMappingURL=update-shipping-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/update-shipping-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,kCAAkC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,UAAU,CAAC,EAAE,uBAAuB,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,MAAM,CAAC,EAAE,CACL;QACE,aAAa,EAAE,MAAM,CAAA;QACrB,MAAM,EAAE,MAAM,CAAA;KACf,GACD;QACE,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,EAAE,MAAM,CAAA;KACf,CACJ,EAAE,CAAA;IACH,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,gBAAgB,CAAA;QAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KACzB,EAAE,CAAA;CACJ;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAA;CACX,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=update-shipping-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-shipping-options.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/update-shipping-options.ts"],"names":[],"mappings":""}
@@ -6,4 +6,5 @@ export * as PriceListWorkflow from "./price-list";
6
6
  export * as UserWorkflow from "./user";
7
7
  export * as RegionWorkflow from "./region";
8
8
  export * as InviteWorkflow from "./invite";
9
+ export * as FulfillmentWorkflow from "./fulfillment";
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAA"}
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.InviteWorkflow = exports.RegionWorkflow = exports.UserWorkflow = exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
26
+ exports.FulfillmentWorkflow = exports.InviteWorkflow = exports.RegionWorkflow = exports.UserWorkflow = exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
27
27
  exports.CartWorkflow = __importStar(require("./cart"));
28
28
  exports.CommonWorkflow = __importStar(require("./common"));
29
29
  exports.ProductWorkflow = __importStar(require("./product"));
@@ -32,4 +32,5 @@ exports.PriceListWorkflow = __importStar(require("./price-list"));
32
32
  exports.UserWorkflow = __importStar(require("./user"));
33
33
  exports.RegionWorkflow = __importStar(require("./region"));
34
34
  exports.InviteWorkflow = __importStar(require("./invite"));
35
+ exports.FulfillmentWorkflow = __importStar(require("./fulfillment"));
35
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,6DAA4C;AAC5C,iEAAgD;AAChD,kEAAiD;AACjD,uDAAsC;AACtC,2DAA0C;AAC1C,2DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,6DAA4C;AAC5C,iEAAgD;AAChD,kEAAiD;AACjD,uDAAsC;AACtC,2DAA0C;AAC1C,2DAA0C;AAC1C,qEAAoD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240406075900",
3
+ "version": "1.12.0-snapshot-20240408084642",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",