@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 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/customer/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,kBAAkB,EAAE,OAAO,CAAA;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;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,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,8BACf,SAAQ,cAAc,CAAC,8BAA8B,CAAC;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AAO,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;KACX,EAAE,CAAA;IAEH;;OAEG;IACH,MAAM,EAAE;QACN;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;KACX,EAAE,CAAA;IAEH;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B,CAAA"}
@@ -74,7 +74,7 @@ export interface UpdateCustomerAddressDTO {
74
74
  /**
75
75
  * The address's name.
76
76
  */
77
- address_name?: string;
77
+ address_name?: string | null;
78
78
  /**
79
79
  * Whether the address is the default for shipping.
80
80
  */
@@ -86,51 +86,51 @@ export interface UpdateCustomerAddressDTO {
86
86
  /**
87
87
  * The associated customer's ID.
88
88
  */
89
- customer_id?: string;
89
+ customer_id?: string | null;
90
90
  /**
91
91
  * The company.
92
92
  */
93
- company?: string;
93
+ company?: string | null;
94
94
  /**
95
95
  * The first name.
96
96
  */
97
- first_name?: string;
97
+ first_name?: string | null;
98
98
  /**
99
99
  * The last name.
100
100
  */
101
- last_name?: string;
101
+ last_name?: string | null;
102
102
  /**
103
103
  * The address 1.
104
104
  */
105
- address_1?: string;
105
+ address_1?: string | null;
106
106
  /**
107
107
  * The address 2.
108
108
  */
109
- address_2?: string;
109
+ address_2?: string | null;
110
110
  /**
111
111
  * The city.
112
112
  */
113
- city?: string;
113
+ city?: string | null;
114
114
  /**
115
115
  * The country code.
116
116
  */
117
- country_code?: string;
117
+ country_code?: string | null;
118
118
  /**
119
119
  * The province.
120
120
  */
121
- province?: string;
121
+ province?: string | null;
122
122
  /**
123
123
  * The postal code.
124
124
  */
125
- postal_code?: string;
125
+ postal_code?: string | null;
126
126
  /**
127
127
  * The phone.
128
128
  */
129
- phone?: string;
129
+ phone?: string | null;
130
130
  /**
131
131
  * Holds custom data in key-value pairs.
132
132
  */
133
- metadata?: Record<string, unknown>;
133
+ metadata?: Record<string, unknown> | null;
134
134
  }
135
135
  /**
136
136
  * The customer to be created.
@@ -1 +1 @@
1
- {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/customer/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;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,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,YAAY,CAA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AAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -1,19 +1,70 @@
1
+ /**
2
+ * The fulfillment address details.
3
+ */
1
4
  export interface FulfillmentAddressDTO {
5
+ /**
6
+ * The ID of the address.
7
+ */
2
8
  id: string;
9
+ /**
10
+ * The associated fulfillment's ID.
11
+ */
3
12
  fulfillment_id: string | null;
13
+ /**
14
+ * The company of the address.
15
+ */
4
16
  company: string | null;
17
+ /**
18
+ * The first name of the address.
19
+ */
5
20
  first_name: string | null;
21
+ /**
22
+ * The last name of the address.
23
+ */
6
24
  last_name: string | null;
25
+ /**
26
+ * The first line of the address.
27
+ */
7
28
  address_1: string | null;
29
+ /**
30
+ * The second line of the address.
31
+ */
8
32
  address_2: string | null;
33
+ /**
34
+ * The city of the address.
35
+ */
9
36
  city: string | null;
37
+ /**
38
+ * The ISO 2 character country code of the address.
39
+ */
10
40
  country_code: string | null;
41
+ /**
42
+ * The province of the address.
43
+ */
11
44
  province: string | null;
45
+ /**
46
+ * The postal code of the address.
47
+ */
12
48
  postal_code: string | null;
49
+ /**
50
+ * The phone of the address.
51
+ */
13
52
  phone: string | null;
53
+ /**
54
+ * Holds custom data in key-value pairs.
55
+ */
14
56
  metadata: Record<string, unknown> | null;
57
+ /**
58
+ * The creation date of the address.
59
+ */
15
60
  created_at: Date;
61
+ /**
62
+ * The update date of the address.
63
+ */
16
64
  updated_at: Date;
65
+ /**
66
+ * The deletion date of the address.
67
+ */
17
68
  deleted_at: Date | null;
18
69
  }
19
70
  //# sourceMappingURL=address.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/address.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
1
+ {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/address.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAE7B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -1,16 +1,55 @@
1
1
  import { FulfillmentDTO } from "./fulfillment";
2
+ /**
3
+ * The fulfillment item details.
4
+ */
2
5
  export interface FulfillmentItemDTO {
6
+ /**
7
+ * The ID of the fulfillment item.
8
+ */
3
9
  id: string;
10
+ /**
11
+ * The title of the fulfillment item.
12
+ */
4
13
  title: string;
14
+ /**
15
+ * The quantity of the fulfillment item.
16
+ */
5
17
  quantity: number;
18
+ /**
19
+ * The sku of the fulfillment item.
20
+ */
6
21
  sku: string;
22
+ /**
23
+ * The barcode of the fulfillment item.
24
+ */
7
25
  barcode: string;
26
+ /**
27
+ * The associated line item's ID.
28
+ */
8
29
  line_item_id: string | null;
30
+ /**
31
+ * The associated inventory item's ID.
32
+ */
9
33
  inventory_item_id: string | null;
34
+ /**
35
+ * The associated fulfillment's ID.
36
+ */
10
37
  fulfillment_id: string;
38
+ /**
39
+ * The associated fulfillment.
40
+ */
11
41
  fulfillment: FulfillmentDTO;
42
+ /**
43
+ * The creation date of the fulfillment item.
44
+ */
12
45
  created_at: Date;
46
+ /**
47
+ * The update date of the fulfillment item.
48
+ */
13
49
  updated_at: Date;
50
+ /**
51
+ * The deletion date of the fulfillment item.
52
+ */
14
53
  deleted_at: Date | null;
15
54
  }
16
55
  //# sourceMappingURL=fulfillment-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,cAAc,CAAA;IAC3B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
1
+ {"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAEhC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,WAAW,EAAE,cAAc,CAAA;IAE3B;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -1,13 +1,43 @@
1
1
  import { FulfillmentDTO } from "./fulfillment";
2
+ /**
3
+ * The fulfillment label details.
4
+ */
2
5
  export interface FulfillmentLabelDTO {
6
+ /**
7
+ * The ID of the fulfillment label.
8
+ */
3
9
  id: string;
10
+ /**
11
+ * The tracking number of the fulfillment label.
12
+ */
4
13
  tracking_number: string;
14
+ /**
15
+ * The tracking URL of the fulfillment label.
16
+ */
5
17
  tracking_url: string;
18
+ /**
19
+ * The label's URL.
20
+ */
6
21
  label_url: string;
22
+ /**
23
+ * The associated fulfillment's ID.
24
+ */
7
25
  fulfillment_id: string;
26
+ /**
27
+ * The associated fulfillment.
28
+ */
8
29
  fulfillment: FulfillmentDTO;
30
+ /**
31
+ * The creation date of the fulfillment label.
32
+ */
9
33
  created_at: Date;
34
+ /**
35
+ * The update date of the fulfillment label.
36
+ */
10
37
  updated_at: Date;
38
+ /**
39
+ * The deletion date of the fulfillment label.
40
+ */
11
41
  deleted_at: Date | null;
12
42
  }
13
43
  //# sourceMappingURL=fulfillment-label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,cAAc,CAAA;IAC3B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
1
+ {"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,WAAW,EAAE,cAAc,CAAA;IAE3B;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -1,11 +1,35 @@
1
1
  import { ShippingOptionDTO } from "./shipping-option";
2
+ /**
3
+ * The fulfillment provider details.
4
+ */
2
5
  export interface FulfillmentProviderDTO {
6
+ /**
7
+ * The ID of the fulfillment provider.
8
+ */
3
9
  id: string;
10
+ /**
11
+ * The name of the fulfillment provider.
12
+ */
4
13
  name: string;
14
+ /**
15
+ * Holds custom data in key-value pairs.
16
+ */
5
17
  metadata: Record<string, unknown> | null;
18
+ /**
19
+ * The shipping options associated with the fulfillment provider.
20
+ */
6
21
  shipping_options: ShippingOptionDTO[];
22
+ /**
23
+ * The creation date of the fulfillment provider.
24
+ */
7
25
  created_at: Date;
26
+ /**
27
+ * The update date of the fulfillment provider.
28
+ */
8
29
  updated_at: Date;
30
+ /**
31
+ * The deletion date of the fulfillment provider.
32
+ */
9
33
  deleted_at: Date | null;
10
34
  }
11
35
  //# sourceMappingURL=fulfillment-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAErD,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,gBAAgB,EAAE,iBAAiB,EAAE,CAAA;IACrC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
1
+ {"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,EAAE,CAAA;IAErC;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
@@ -1,19 +1,61 @@
1
1
  import { FilterableServiceZoneProps, ServiceZoneDTO } from "./service-zone";
2
2
  import { BaseFilterable } from "../../dal";
3
+ /**
4
+ * The fulfillment set details.
5
+ */
3
6
  export interface FulfillmentSetDTO {
7
+ /**
8
+ * The ID of the fulfillment set.
9
+ */
4
10
  id: string;
11
+ /**
12
+ * The name of the fulfillment set.
13
+ */
5
14
  name: string;
15
+ /**
16
+ * The type of the fulfillment set.
17
+ */
6
18
  type: string;
19
+ /**
20
+ * Holds custom data in key-value pairs.
21
+ */
7
22
  metadata: Record<string, unknown> | null;
23
+ /**
24
+ * The service zones associated with the fulfillment set.
25
+ */
8
26
  service_zones: ServiceZoneDTO[];
27
+ /**
28
+ * The creation date of the fulfillment set.
29
+ */
9
30
  created_at: Date;
31
+ /**
32
+ * The update date of the fulfillment set.
33
+ */
10
34
  updated_at: Date;
35
+ /**
36
+ * The deletion date of the fulfillment set.
37
+ */
11
38
  deleted_at: Date | null;
12
39
  }
40
+ /**
41
+ * The filters to apply on the retrieved fulfillment sets.
42
+ */
13
43
  export interface FilterableFulfillmentSetProps extends BaseFilterable<FilterableFulfillmentSetProps> {
44
+ /**
45
+ * The IDs to filter the fulfillment sets by.
46
+ */
14
47
  id?: string | string[];
48
+ /**
49
+ * Filter the fulfillment sets by their name.
50
+ */
15
51
  name?: string | string[];
52
+ /**
53
+ * Filter the fulfillment sets by their type.
54
+ */
16
55
  type?: string | string[];
56
+ /**
57
+ * The filters to apply on the retrieved service zones.
58
+ */
17
59
  service_zones?: FilterableServiceZoneProps;
18
60
  }
19
61
  //# sourceMappingURL=fulfillment-set.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,WAAW,iBAAiB;IAChC,EAAE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AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,0BAA0B,CAAA;CAC3C"}
@@ -4,36 +4,127 @@ import { FulfillmentAddressDTO } from "./address";
4
4
  import { FulfillmentItemDTO } from "./fulfillment-item";
5
5
  import { FulfillmentLabelDTO } from "./fulfillment-label";
6
6
  import { BaseFilterable, OperatorMap } from "../../dal";
7
+ /**
8
+ * The fulfillment details.
9
+ */
7
10
  export interface FulfillmentDTO {
11
+ /**
12
+ * The ID of the fulfillment.
13
+ */
8
14
  id: string;
15
+ /**
16
+ * The associated location's ID.
17
+ */
9
18
  location_id: string;
19
+ /**
20
+ * The date the fulfillment was packed.
21
+ */
10
22
  packed_at: Date | null;
23
+ /**
24
+ * The date the fulfillment was shipped.
25
+ */
11
26
  shipped_at: Date | null;
27
+ /**
28
+ * The date the fulfillment was delivered.
29
+ */
12
30
  delivered_at: Date | null;
31
+ /**
32
+ * The date the fulfillment was canceled.
33
+ */
13
34
  canceled_at: Date | null;
35
+ /**
36
+ * The data necessary for the fulfillment provider to process
37
+ * the fulfillment.
38
+ */
14
39
  data: Record<string, unknown> | null;
40
+ /**
41
+ * The associated fulfillment provider's ID.
42
+ */
15
43
  provider_id: string;
44
+ /**
45
+ * The associated shipping option's ID.
46
+ */
16
47
  shipping_option_id: string | null;
48
+ /**
49
+ * Holds custom data in key-value pairs.
50
+ */
17
51
  metadata: Record<string, unknown> | null;
52
+ /**
53
+ * The associated shipping option.
54
+ */
18
55
  shipping_option: ShippingOptionDTO | null;
56
+ /**
57
+ * The associated fulfillment provider.
58
+ */
19
59
  provider: FulfillmentProviderDTO;
60
+ /**
61
+ * The associated fulfillment address used for delivery.
62
+ */
20
63
  delivery_address: FulfillmentAddressDTO;
64
+ /**
65
+ * The items of the fulfillment.
66
+ */
21
67
  items: FulfillmentItemDTO[];
68
+ /**
69
+ * The labels of the fulfillment.
70
+ */
22
71
  labels: FulfillmentLabelDTO[];
72
+ /**
73
+ * The creation date of the fulfillment.
74
+ */
23
75
  created_at: Date;
76
+ /**
77
+ * The update date of the fulfillment.
78
+ */
24
79
  updated_at: Date;
80
+ /**
81
+ * The deletion date of the fulfillment.
82
+ */
25
83
  deleted_at: Date | null;
26
84
  }
85
+ /**
86
+ * The filters to apply on the retrieved fulfillments.
87
+ */
27
88
  export interface FilterableFulfillmentProps extends BaseFilterable<FilterableFulfillmentProps> {
89
+ /**
90
+ * The IDs to filter the fulfillments by.
91
+ */
28
92
  id?: string | string[] | OperatorMap<string | string[]>;
93
+ /**
94
+ * Filter the fulfillments by the ID of their associated location.
95
+ */
29
96
  location_id?: string | string[] | OperatorMap<string | string[]>;
97
+ /**
98
+ * Filter the fulfillments by their packing date.
99
+ */
30
100
  packed_at?: Date | OperatorMap<string | string[]>;
101
+ /**
102
+ * Filter the fulfillments by their shipping date.
103
+ */
31
104
  shipped_at?: Date | OperatorMap<string | string[]>;
105
+ /**
106
+ * Filter the fulfillments by their delivery date.
107
+ */
32
108
  delivered_at?: Date | OperatorMap<string | string[]>;
109
+ /**
110
+ * Filter the fulfillments by their cancelation date.
111
+ */
33
112
  canceled_at?: Date | OperatorMap<string | string[]>;
113
+ /**
114
+ * Filter the fulfillments by the ID of their associated fulfillment provider.
115
+ */
34
116
  provider_id?: string | string[] | OperatorMap<string | string[]>;
117
+ /**
118
+ * Filter the fulfillments by the ID of their associated shipping option.
119
+ */
35
120
  shipping_option_id?: string | null;
121
+ /**
122
+ * Filter the fulfillments by their creation date.
123
+ */
36
124
  created_at?: Date | OperatorMap<string | string[]>;
125
+ /**
126
+ * Filter the fulfillments by their update date.
127
+ */
37
128
  updated_at?: Date | OperatorMap<string | string[]>;
38
129
  }
39
130
  //# sourceMappingURL=fulfillment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAA;IACtB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IACzB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,eAAe,EAAE,iBAAiB,GAAG,IAAI,CAAA;IACzC,QAAQ,EAAE,sBAAsB,CAAA;IAChC,gBAAgB,EAAE,qBAAqB,CAAA;IACvC,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B,MAAM,EAAE,mBAAmB,EAAE,CAAA;IAC7B,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAA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;IAClD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEvD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEhE;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEjD;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAElD;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEpD;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEnD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEhE;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAElC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAElD;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CACnD"}
@@ -1,22 +1,76 @@
1
1
  import { BaseFilterable } from "../../dal";
2
+ /**
3
+ * The type of the geo zone.
4
+ */
2
5
  export type GeoZoneType = "country" | "province" | "city" | "zip";
6
+ /**
7
+ * The geo zone details.
8
+ */
3
9
  export interface GeoZoneDTO {
10
+ /**
11
+ * The ID of the geo zone.
12
+ */
4
13
  id: string;
14
+ /**
15
+ * The type of the geo zone.
16
+ */
5
17
  type: GeoZoneType;
18
+ /**
19
+ * The country code of the geo zone.
20
+ */
6
21
  country_code: string;
22
+ /**
23
+ * The province code of the geo zone.
24
+ */
7
25
  province_code: string | null;
26
+ /**
27
+ * The city of the geo zone.
28
+ */
8
29
  city: string | null;
30
+ /**
31
+ * The postal expression of the geo zone.
32
+ */
9
33
  postal_expression: Record<string, unknown> | null;
34
+ /**
35
+ * Holds custom data in key-value pairs.
36
+ */
10
37
  metadata: Record<string, unknown> | null;
38
+ /**
39
+ * The creation date of the geo zone.
40
+ */
11
41
  created_at: Date;
42
+ /**
43
+ * The update date of the geo zone.
44
+ */
12
45
  updated_at: Date;
46
+ /**
47
+ * The deletion date of the geo zone.
48
+ */
13
49
  deleted_at: Date | null;
14
50
  }
51
+ /**
52
+ * The filters to apply on the retrieved geo zones.
53
+ */
15
54
  export interface FilterableGeoZoneProps extends BaseFilterable<FilterableGeoZoneProps> {
55
+ /**
56
+ * The IDs to filter the geo zones by.
57
+ */
16
58
  id?: string | string[];
59
+ /**
60
+ * Filter the geo zones by their type.
61
+ */
17
62
  type?: GeoZoneType | GeoZoneType[];
63
+ /**
64
+ * Filter the geo zones by their country code.
65
+ */
18
66
  country_code?: string | string[];
67
+ /**
68
+ * Filter the geo zones by their province code.
69
+ */
19
70
  province_code?: string | string[];
71
+ /**
72
+ * Filter the geo zones by their city.
73
+ */
20
74
  city?: string | string[];
21
75
  }
22
76
  //# sourceMappingURL=geo-zone.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAA;AAEjE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW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