@medusajs/types 1.12.0-snapshot-20240516091433 → 1.12.0-snapshot-20240520151134

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. package/dist/cart/common.d.ts +0 -107
  2. package/dist/cart/common.d.ts.map +1 -1
  3. package/dist/common/common.d.ts +0 -160
  4. package/dist/common/common.d.ts.map +1 -1
  5. package/dist/common/config-module.d.ts +267 -186
  6. package/dist/common/config-module.d.ts.map +1 -1
  7. package/dist/common/index.d.ts +1 -0
  8. package/dist/common/index.d.ts.map +1 -1
  9. package/dist/common/index.js +1 -0
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/common/with-calculated.d.ts +6 -0
  12. package/dist/common/with-calculated.d.ts.map +1 -0
  13. package/dist/{http/common/deleted-response.js → common/with-calculated.js} +1 -1
  14. package/dist/common/with-calculated.js.map +1 -0
  15. package/dist/fulfillment/mutations/shipping-option.d.ts +12 -0
  16. package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
  17. package/dist/http/api-key/admin/api-key.d.ts +3 -12
  18. package/dist/http/api-key/admin/api-key.d.ts.map +1 -1
  19. package/dist/http/campaign/admin/campaign.d.ts +2 -11
  20. package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
  21. package/dist/http/cart/common.d.ts +636 -0
  22. package/dist/http/cart/common.d.ts.map +1 -0
  23. package/dist/http/{common/paginated-response.js → cart/common.js} +1 -1
  24. package/dist/http/cart/common.js.map +1 -0
  25. package/dist/http/cart/index.d.ts +2 -0
  26. package/dist/http/cart/index.d.ts.map +1 -0
  27. package/dist/http/cart/index.js +18 -0
  28. package/dist/http/cart/index.js.map +1 -0
  29. package/dist/http/cart/store.d.ts +45 -0
  30. package/dist/http/cart/store.d.ts.map +1 -0
  31. package/dist/http/{order/admin/index.js → cart/store.js} +1 -1
  32. package/dist/http/cart/store.js.map +1 -0
  33. package/dist/http/collection/admin.d.ts +6 -0
  34. package/dist/http/collection/admin.d.ts.map +1 -0
  35. package/dist/http/collection/admin.js +3 -0
  36. package/dist/http/collection/admin.js.map +1 -0
  37. package/dist/http/collection/common.d.ts +19 -0
  38. package/dist/http/collection/common.d.ts.map +1 -0
  39. package/dist/http/collection/common.js +3 -0
  40. package/dist/http/collection/common.js.map +1 -0
  41. package/dist/http/collection/index.d.ts +3 -0
  42. package/dist/http/collection/index.d.ts.map +1 -0
  43. package/dist/http/collection/index.js +19 -0
  44. package/dist/http/collection/index.js.map +1 -0
  45. package/dist/http/collection/store.d.ts +6 -0
  46. package/dist/http/collection/store.d.ts.map +1 -0
  47. package/dist/http/collection/store.js +3 -0
  48. package/dist/http/collection/store.js.map +1 -0
  49. package/dist/http/common/index.d.ts +2 -2
  50. package/dist/http/common/index.d.ts.map +1 -1
  51. package/dist/http/common/index.js +2 -2
  52. package/dist/http/common/index.js.map +1 -1
  53. package/dist/http/common/request.d.ts +9 -0
  54. package/dist/http/common/request.d.ts.map +1 -0
  55. package/dist/http/common/request.js +3 -0
  56. package/dist/http/common/request.js.map +1 -0
  57. package/dist/http/common/response.d.ts +24 -0
  58. package/dist/http/common/response.d.ts.map +1 -0
  59. package/dist/http/common/response.js +3 -0
  60. package/dist/http/common/response.js.map +1 -0
  61. package/dist/http/customer/admin/customer.d.ts +5 -26
  62. package/dist/http/customer/admin/customer.d.ts.map +1 -1
  63. package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -3
  64. package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +1 -1
  65. package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -3
  66. package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +1 -1
  67. package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -3
  68. package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +1 -1
  69. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -3
  70. package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +1 -1
  71. package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -6
  72. package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
  73. package/dist/http/fulfillment/admin/fulfillment.d.ts +1 -7
  74. package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -1
  75. package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -3
  76. package/dist/http/fulfillment/admin/geo-zone.d.ts.map +1 -1
  77. package/dist/http/fulfillment/admin/service-zone.d.ts +0 -9
  78. package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
  79. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -3
  80. package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +1 -1
  81. package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -3
  82. package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +1 -1
  83. package/dist/http/fulfillment/admin/shipping-option.d.ts +2 -14
  84. package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
  85. package/dist/http/fulfillment/admin/shipping-profile.d.ts +3 -9
  86. package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
  87. package/dist/http/index.d.ts +6 -0
  88. package/dist/http/index.d.ts.map +1 -1
  89. package/dist/http/index.js +6 -0
  90. package/dist/http/index.js.map +1 -1
  91. package/dist/http/inventory/inventory-level.d.ts +2 -8
  92. package/dist/http/inventory/inventory-level.d.ts.map +1 -1
  93. package/dist/http/inventory/inventory.d.ts +2 -8
  94. package/dist/http/inventory/inventory.d.ts.map +1 -1
  95. package/dist/http/order/admin.d.ts +4 -0
  96. package/dist/http/order/admin.d.ts.map +1 -0
  97. package/dist/http/order/admin.js +3 -0
  98. package/dist/http/order/admin.js.map +1 -0
  99. package/dist/http/order/{admin/index.d.ts → common.d.ts} +30 -96
  100. package/dist/http/order/common.d.ts.map +1 -0
  101. package/dist/http/order/common.js +3 -0
  102. package/dist/http/order/common.js.map +1 -0
  103. package/dist/http/order/index.d.ts +1 -0
  104. package/dist/http/order/index.d.ts.map +1 -1
  105. package/dist/http/order/index.js +1 -0
  106. package/dist/http/order/index.js.map +1 -1
  107. package/dist/http/order/store.d.ts +4 -0
  108. package/dist/http/order/store.d.ts.map +1 -0
  109. package/dist/http/order/store.js +3 -0
  110. package/dist/http/order/store.js.map +1 -0
  111. package/dist/http/payment/admin.d.ts +16 -0
  112. package/dist/http/payment/admin.d.ts.map +1 -0
  113. package/dist/http/payment/admin.js +3 -0
  114. package/dist/http/payment/admin.js.map +1 -0
  115. package/dist/http/payment/common.d.ts +339 -0
  116. package/dist/http/payment/common.d.ts.map +1 -0
  117. package/dist/http/payment/common.js +3 -0
  118. package/dist/http/payment/common.js.map +1 -0
  119. package/dist/http/payment/index.d.ts +3 -0
  120. package/dist/http/payment/index.d.ts.map +1 -0
  121. package/dist/http/payment/index.js +19 -0
  122. package/dist/http/payment/index.js.map +1 -0
  123. package/dist/http/payment/store.d.ts +14 -0
  124. package/dist/http/payment/store.d.ts.map +1 -0
  125. package/dist/http/payment/store.js +3 -0
  126. package/dist/http/payment/store.js.map +1 -0
  127. package/dist/http/product/admin.d.ts +33 -0
  128. package/dist/http/product/admin.d.ts.map +1 -0
  129. package/dist/http/product/admin.js +3 -0
  130. package/dist/http/product/admin.js.map +1 -0
  131. package/dist/http/product/common.d.ts +176 -0
  132. package/dist/http/product/common.d.ts.map +1 -0
  133. package/dist/http/product/common.js +3 -0
  134. package/dist/http/product/common.js.map +1 -0
  135. package/dist/http/product/index.d.ts +3 -0
  136. package/dist/http/product/index.d.ts.map +1 -0
  137. package/dist/http/product/index.js +19 -0
  138. package/dist/http/product/index.js.map +1 -0
  139. package/dist/http/product/store.d.ts +30 -0
  140. package/dist/http/product/store.d.ts.map +1 -0
  141. package/dist/http/product/store.js +3 -0
  142. package/dist/http/product/store.js.map +1 -0
  143. package/dist/http/product-category/admin.d.ts +3 -9
  144. package/dist/http/product-category/admin.d.ts.map +1 -1
  145. package/dist/http/product-category/common.d.ts +0 -3
  146. package/dist/http/product-category/common.d.ts.map +1 -1
  147. package/dist/http/product-category/store.d.ts +3 -9
  148. package/dist/http/product-category/store.d.ts.map +1 -1
  149. package/dist/http/promotion/admin/promotion-rule.d.ts +0 -6
  150. package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
  151. package/dist/http/promotion/admin/rule-attribute-options.d.ts +0 -6
  152. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
  153. package/dist/http/promotion/admin/rule-operator-options.d.ts +0 -6
  154. package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -1
  155. package/dist/http/region/admin.d.ts +26 -0
  156. package/dist/http/region/admin.d.ts.map +1 -0
  157. package/dist/http/region/admin.js +3 -0
  158. package/dist/http/region/admin.js.map +1 -0
  159. package/dist/http/region/common.d.ts +39 -0
  160. package/dist/http/region/common.d.ts.map +1 -0
  161. package/dist/http/region/common.js +3 -0
  162. package/dist/http/region/common.js.map +1 -0
  163. package/dist/http/region/index.d.ts +3 -0
  164. package/dist/http/region/index.d.ts.map +1 -0
  165. package/dist/http/region/index.js +19 -0
  166. package/dist/http/region/index.js.map +1 -0
  167. package/dist/http/region/store.d.ts +10 -0
  168. package/dist/http/region/store.d.ts.map +1 -0
  169. package/dist/http/region/store.js +3 -0
  170. package/dist/http/region/store.js.map +1 -0
  171. package/dist/http/reservation/admin/reservation.d.ts +3 -12
  172. package/dist/http/reservation/admin/reservation.d.ts.map +1 -1
  173. package/dist/http/sales-channel/admin/sales-channel.d.ts +2 -11
  174. package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -1
  175. package/dist/http/tax/admin/tax-rates.d.ts +3 -12
  176. package/dist/http/tax/admin/tax-rates.d.ts.map +1 -1
  177. package/dist/http/tax/admin/tax-regions.d.ts +3 -12
  178. package/dist/http/tax/admin/tax-regions.d.ts.map +1 -1
  179. package/dist/order/common.d.ts +8 -1
  180. package/dist/order/common.d.ts.map +1 -1
  181. package/dist/order/mutations.d.ts +2 -2
  182. package/dist/order/mutations.d.ts.map +1 -1
  183. package/dist/order/service.d.ts +4 -0
  184. package/dist/order/service.d.ts.map +1 -1
  185. package/dist/workflow/fulfillment/create-fulfillment.d.ts +1 -0
  186. package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -1
  187. package/dist/workflow/index.d.ts +1 -0
  188. package/dist/workflow/index.d.ts.map +1 -1
  189. package/dist/workflow/index.js +2 -1
  190. package/dist/workflow/index.js.map +1 -1
  191. package/dist/workflow/order/create-return-order.d.ts +26 -0
  192. package/dist/workflow/order/create-return-order.d.ts.map +1 -0
  193. package/dist/workflow/order/create-return-order.js +3 -0
  194. package/dist/workflow/order/create-return-order.js.map +1 -0
  195. package/dist/workflow/order/index.d.ts +2 -0
  196. package/dist/workflow/order/index.d.ts.map +1 -0
  197. package/dist/workflow/order/index.js +18 -0
  198. package/dist/workflow/order/index.js.map +1 -0
  199. package/package.json +1 -1
  200. package/dist/http/common/deleted-response.d.ts +0 -18
  201. package/dist/http/common/deleted-response.d.ts.map +0 -1
  202. package/dist/http/common/deleted-response.js.map +0 -1
  203. package/dist/http/common/paginated-response.d.ts +0 -6
  204. package/dist/http/common/paginated-response.d.ts.map +0 -1
  205. package/dist/http/common/paginated-response.js.map +0 -1
  206. package/dist/http/order/admin/index.d.ts.map +0 -1
  207. package/dist/http/order/admin/index.js.map +0 -1
@@ -0,0 +1,339 @@
1
+ import { BaseFilterable, OperatorMap } from "../../dal";
2
+ import { BigNumberValue } from "../../totals";
3
+ /**
4
+ * The payment collection's status.
5
+ */
6
+ export type BasePaymentCollectionStatus = "not_paid" | "awaiting" | "authorized" | "partially_authorized" | "canceled";
7
+ /**
8
+ *
9
+ * The status of a payment session.
10
+ */
11
+ export type BasePaymentSessionStatus = "authorized" | "pending" | "requires_more" | "error" | "canceled";
12
+ export interface BasePaymentProvider {
13
+ id: string;
14
+ }
15
+ /**
16
+ * The payment collection details.
17
+ */
18
+ export interface BasePaymentCollection {
19
+ /**
20
+ * The ID of the payment collection.
21
+ */
22
+ id: string;
23
+ /**
24
+ * The ISO 3 character currency code of the payment sessions and payments associated with payment collection.
25
+ */
26
+ currency_code: string;
27
+ /**
28
+ * The id of the associated region.
29
+ */
30
+ region_id: string;
31
+ /**
32
+ * The total amount to be authorized and captured.
33
+ */
34
+ amount: BigNumberValue;
35
+ /**
36
+ * The amount authorized within the associated payment sessions.
37
+ */
38
+ authorized_amount?: BigNumberValue;
39
+ /**
40
+ * The amount refunded within the associated payments.
41
+ */
42
+ refunded_amount?: BigNumberValue;
43
+ /**
44
+ * When the payment collection was completed.
45
+ */
46
+ completed_at?: string | Date;
47
+ /**
48
+ * When the payment collection was created.
49
+ */
50
+ created_at?: string | Date;
51
+ /**
52
+ * When the payment collection was updated.
53
+ */
54
+ updated_at?: string | Date;
55
+ /**
56
+ * Holds custom data in key-value pairs.
57
+ */
58
+ metadata?: Record<string, unknown>;
59
+ /**
60
+ * The status of the payment collection.
61
+ */
62
+ status: BasePaymentCollectionStatus;
63
+ /**
64
+ * The payment provider used to process the associated payment sessions and payments.
65
+ *
66
+ * @expandable
67
+ */
68
+ payment_providers: BasePaymentProvider[];
69
+ /**
70
+ * The associated payment sessions.
71
+ *
72
+ * @expandable
73
+ */
74
+ payment_sessions?: BasePaymentSession[];
75
+ /**
76
+ * The associated payments.
77
+ *
78
+ * @expandable
79
+ */
80
+ payments?: BasePayment[];
81
+ }
82
+ export interface BasePayment {
83
+ /**
84
+ * The ID of the payment.
85
+ */
86
+ id: string;
87
+ /**
88
+ * The payment's total amount.
89
+ */
90
+ amount: BigNumberValue;
91
+ /**
92
+ * The authorized amount of the payment.
93
+ */
94
+ authorized_amount?: BigNumberValue;
95
+ /**
96
+ * The ISO 3 character currency code of the payment.
97
+ */
98
+ currency_code: string;
99
+ /**
100
+ * The ID of the associated payment provider.
101
+ */
102
+ provider_id: string;
103
+ /**
104
+ * The ID of the associated cart.
105
+ */
106
+ cart_id?: string;
107
+ /**
108
+ * The ID of the associated order.
109
+ */
110
+ order_id?: string;
111
+ /**
112
+ * The ID of the associated order edit.
113
+ */
114
+ order_edit_id?: string;
115
+ /**
116
+ * The ID of the associated customer.
117
+ */
118
+ customer_id?: string;
119
+ /**
120
+ * The data relevant for the payment provider to process the payment.
121
+ */
122
+ data?: Record<string, unknown>;
123
+ /**
124
+ * When the payment was created.
125
+ */
126
+ created_at?: string | Date;
127
+ /**
128
+ * When the payment was updated.
129
+ */
130
+ updated_at?: string | Date;
131
+ /**
132
+ * When the payment was captured.
133
+ */
134
+ captured_at?: string | Date;
135
+ /**
136
+ * When the payment was canceled.
137
+ */
138
+ canceled_at?: string | Date;
139
+ /**
140
+ * The sum of the associated captures' amounts.
141
+ */
142
+ captured_amount?: BigNumberValue;
143
+ /**
144
+ * The sum of the associated refunds' amounts.
145
+ */
146
+ refunded_amount?: BigNumberValue;
147
+ /**
148
+ * The associated captures.
149
+ *
150
+ * @expandable
151
+ */
152
+ captures?: BaseCapture[];
153
+ /**
154
+ * The associated refunds.
155
+ *
156
+ * @expandable
157
+ */
158
+ refunds?: BaseRefund[];
159
+ /**
160
+ * The associated payment collection.
161
+ *
162
+ * @expandable
163
+ */
164
+ payment_collection?: BasePaymentCollection;
165
+ /**
166
+ * The payment session from which the payment is created.
167
+ *
168
+ * @expandable
169
+ */
170
+ payment_session?: BasePaymentSession;
171
+ }
172
+ /**
173
+ * The capture details.
174
+ */
175
+ export interface BaseCapture {
176
+ /**
177
+ * The ID of the capture.
178
+ */
179
+ id: string;
180
+ /**
181
+ * The captured amount.
182
+ */
183
+ amount: BigNumberValue;
184
+ /**
185
+ * The creation date of the capture.
186
+ */
187
+ created_at: Date;
188
+ /**
189
+ * Who the capture was created by. For example,
190
+ * the ID of a user.
191
+ */
192
+ created_by?: string;
193
+ /**
194
+ * The associated payment.
195
+ */
196
+ payment: BasePayment;
197
+ }
198
+ /**
199
+ * The refund details.
200
+ */
201
+ export interface BaseRefund {
202
+ /**
203
+ * The ID of the refund
204
+ */
205
+ id: string;
206
+ /**
207
+ * The refunded amount.
208
+ */
209
+ amount: BigNumberValue;
210
+ /**
211
+ * The creation date of the refund.
212
+ */
213
+ created_at: Date;
214
+ /**
215
+ * Who created the refund. For example,
216
+ * the user's ID.
217
+ */
218
+ created_by?: string;
219
+ /**
220
+ * The associated payment.
221
+ */
222
+ payment: BasePayment;
223
+ }
224
+ /**
225
+ * The payment session details.
226
+ */
227
+ export interface BasePaymentSession {
228
+ /**
229
+ * The ID of the payment session.
230
+ */
231
+ id: string;
232
+ /**
233
+ * The amount to authorize.
234
+ */
235
+ amount: BigNumberValue;
236
+ /**
237
+ * The 3 character currency code of the payment session.
238
+ */
239
+ currency_code: string;
240
+ /**
241
+ * The ID of the associated payment provider.
242
+ */
243
+ provider_id: string;
244
+ /**
245
+ * The data necessary for the payment provider to process the payment session.
246
+ */
247
+ data: Record<string, unknown>;
248
+ /**
249
+ * The context necessary for the payment provider.
250
+ */
251
+ context?: Record<string, unknown>;
252
+ /**
253
+ * The status of the payment session.
254
+ */
255
+ status: BasePaymentSessionStatus;
256
+ /**
257
+ * When the payment session was authorized.
258
+ */
259
+ authorized_at?: Date;
260
+ /**
261
+ * The payment collection the session is associated with.
262
+ *
263
+ * @expandable
264
+ */
265
+ payment_collection?: BasePaymentCollection;
266
+ /**
267
+ * The payment created from the session.
268
+ *
269
+ * @expandable
270
+ */
271
+ payment?: BasePayment;
272
+ }
273
+ /**
274
+ * The filters to apply on the retrieved payment collection.
275
+ */
276
+ export interface BasePaymentCollectionFilters extends BaseFilterable<BasePaymentCollectionFilters> {
277
+ /**
278
+ * The IDs to filter the payment collection by.
279
+ */
280
+ id?: string | string[];
281
+ /**
282
+ * Filter by associated region's ID.
283
+ */
284
+ region_id?: string | string[] | OperatorMap<string>;
285
+ /**
286
+ * Filter payment collections by created date.
287
+ */
288
+ created_at?: OperatorMap<string>;
289
+ /**
290
+ * Filter payment collections by updated date.
291
+ */
292
+ updated_at?: OperatorMap<string>;
293
+ }
294
+ /**
295
+ * The filters to apply on the retrieved payment sessions.
296
+ */
297
+ export interface BasePaymentSessionFilters extends BaseFilterable<BasePaymentSessionFilters> {
298
+ /**
299
+ * The IDs to filter the payment sessions by.
300
+ */
301
+ id?: string | string[];
302
+ /**
303
+ * Filter the payment sessions by their currency code.
304
+ */
305
+ currency_code?: string | string[];
306
+ /**
307
+ * Filter the payment sessions by their amount.
308
+ */
309
+ amount?: BigNumberValue | OperatorMap<BigNumberValue>;
310
+ /**
311
+ * Filter the payment sessions by the ID of their associated payment provider.
312
+ */
313
+ provider_id?: string | string[];
314
+ /**
315
+ * Filter the payment sessions by the ID of their associated payment collection.
316
+ */
317
+ payment_collection_id?: string | string[];
318
+ /**
319
+ * Filter the payment sessions by the ID of their associated region.
320
+ */
321
+ region_id?: string | string[] | OperatorMap<string>;
322
+ /**
323
+ * Filter the payment sessions by their creation date.
324
+ */
325
+ created_at?: OperatorMap<string>;
326
+ /**
327
+ * Filter the payment sessions by their update date.
328
+ */
329
+ updated_at?: OperatorMap<string>;
330
+ /**
331
+ * Filter the payment sessions by their deletion date.
332
+ */
333
+ deleted_at?: OperatorMap<string>;
334
+ }
335
+ export interface BasePaymentProviderFilters extends BaseFilterable<BasePaymentProviderFilters> {
336
+ id?: string | string[];
337
+ region_id?: string | string[];
338
+ }
339
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,2BAA2B,GACnC,UAAU,GACV,UAAU,GACV,YAAY,GACZ,sBAAsB,GACtB,UAAU,CAAA;AAEd;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAChC,YAAY,GACZ,SAAS,GACT,eAAe,GACf,OAAO,GACP,UAAU,CAAA;AAEd,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC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B,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAEnD;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,0BACf,SAAQ,cAAc,CAAC,0BAA0B,CAAC;IAClD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC9B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/payment/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./admin";
2
+ export * from "./store";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/payment/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -0,0 +1,19 @@
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("./admin"), exports);
18
+ __exportStar(require("./store"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
@@ -0,0 +1,14 @@
1
+ import { BasePaymentCollection, BasePaymentCollectionFilters, BasePaymentProvider, BasePaymentProviderFilters, BasePaymentSession, BasePaymentSessionFilters } from "./common";
2
+ export interface StorePaymentProvider extends BasePaymentProvider {
3
+ }
4
+ export interface StorePaymentCollection extends BasePaymentCollection {
5
+ }
6
+ export interface StorePaymentSession extends BasePaymentSession {
7
+ }
8
+ export interface StorePaymentProviderFilters extends BasePaymentProviderFilters {
9
+ }
10
+ export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
11
+ }
12
+ export interface StorePaymentSessionFilters extends BasePaymentSessionFilters {
13
+ }
14
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/payment/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AACvC,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/payment/store.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ import { BaseProduct, BaseProductCategory, BaseProductCategoryFilters, BaseProductFilters, BaseProductImage, BaseProductOption, BaseProductOptionFilters, BaseProductOptionValue, BaseProductTag, BaseProductTagFilters, BaseProductType, BaseProductTypeFilters, BaseProductVariant, BaseProductVariantFilters } from "./common";
2
+ export interface AdminProduct extends Omit<BaseProduct, "categories"> {
3
+ categories?: AdminProductCategory[];
4
+ }
5
+ export interface AdminProductCategory extends BaseProductCategory {
6
+ is_active?: boolean;
7
+ is_internal?: boolean;
8
+ }
9
+ export interface AdminProductVariant extends BaseProductVariant {
10
+ }
11
+ export interface AdminProductTag extends BaseProductTag {
12
+ }
13
+ export interface AdminProductType extends BaseProductType {
14
+ }
15
+ export interface AdminProductOption extends BaseProductOption {
16
+ }
17
+ export interface AdminProductImage extends BaseProductImage {
18
+ }
19
+ export interface AdminProductOptionValue extends BaseProductOptionValue {
20
+ }
21
+ export interface AdminProductFilters extends BaseProductFilters {
22
+ }
23
+ export interface AdminProductTagFilters extends BaseProductTagFilters {
24
+ }
25
+ export interface AdminProductTypeFilters extends BaseProductTypeFilters {
26
+ }
27
+ export interface AdminProductOptionFilters extends BaseProductOptionFilters {
28
+ }
29
+ export interface AdminProductVariantFilters extends BaseProductVariantFilters {
30
+ }
31
+ export interface AdminProductCategoryFilters extends BaseProductCategoryFilters {
32
+ }
33
+ //# sourceMappingURL=admin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/product/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC;IACnE,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAA;CACpC;AAED,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AACD,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,eAAgB,SAAQ,cAAc;CAAG;AAC1D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAE1E,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAC1E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=admin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/product/admin.ts"],"names":[],"mappings":""}
@@ -0,0 +1,176 @@
1
+ import { BaseFilterable, OperatorMap } from "../../dal";
2
+ import { BaseProductCollection } from "../collection/common";
3
+ export type ProductStatus = "draft" | "proposed" | "published" | "rejected";
4
+ export interface BaseProduct {
5
+ id?: string;
6
+ title?: string;
7
+ handle?: string;
8
+ subtitle?: string | null;
9
+ description?: string | null;
10
+ is_giftcard?: boolean;
11
+ status?: ProductStatus;
12
+ thumbnail?: string;
13
+ width?: number;
14
+ weight?: number;
15
+ length?: number;
16
+ height?: number;
17
+ origin_country?: string;
18
+ hs_code?: string;
19
+ mid_code?: string;
20
+ material?: string;
21
+ collection?: BaseProductCollection;
22
+ collection_id?: string | null;
23
+ categories?: BaseProductCategory[];
24
+ type?: BaseProductType | null;
25
+ type_id?: string | null;
26
+ tags?: BaseProductTag[];
27
+ variants?: BaseProductVariant[];
28
+ options?: BaseProductOption[];
29
+ images?: BaseProductImage[];
30
+ discountable?: boolean;
31
+ external_id?: string | null;
32
+ created_at?: string;
33
+ updated_at?: string;
34
+ deleted_at?: string | null;
35
+ metadata?: Record<string, unknown> | null;
36
+ }
37
+ export interface BaseProductVariant {
38
+ id?: string;
39
+ title?: string;
40
+ sku?: string;
41
+ barcode?: string;
42
+ ean?: string;
43
+ upc?: string;
44
+ allow_backorder?: boolean;
45
+ manage_inventory?: boolean;
46
+ hs_code?: string;
47
+ origin_country?: string;
48
+ mid_code?: string;
49
+ material?: string;
50
+ weight?: number;
51
+ length?: number;
52
+ height?: number;
53
+ width?: number;
54
+ options?: BaseProductOptionValue[];
55
+ product?: BaseProduct;
56
+ product_id?: string | null;
57
+ variant_rank?: number;
58
+ created_at?: string;
59
+ updated_at?: string;
60
+ deleted_at?: string | null;
61
+ metadata?: Record<string, unknown> | null;
62
+ }
63
+ export interface BaseProductCategory {
64
+ id?: string;
65
+ name?: string;
66
+ description?: string | null;
67
+ handle?: string;
68
+ rank?: number;
69
+ parent_category?: BaseProductCategory;
70
+ parent_category_id?: string;
71
+ category_children?: BaseProductCategory[];
72
+ products?: BaseProduct[];
73
+ created_at?: string;
74
+ updated_at?: string;
75
+ metadata?: Record<string, unknown>;
76
+ }
77
+ export interface BaseProductTag {
78
+ id?: string;
79
+ value?: string;
80
+ products?: BaseProduct[];
81
+ metadata?: Record<string, unknown> | null;
82
+ }
83
+ export interface BaseProductType {
84
+ id?: string;
85
+ value?: string;
86
+ created_at?: string;
87
+ updated_at?: string;
88
+ deleted_at?: string | null;
89
+ metadata?: Record<string, unknown> | null;
90
+ }
91
+ export interface BaseProductOption {
92
+ id?: string;
93
+ title?: string;
94
+ product?: BaseProduct;
95
+ product_id?: string;
96
+ values?: BaseProductOptionValue[];
97
+ metadata?: Record<string, unknown> | null;
98
+ created_at?: string;
99
+ updated_at?: string;
100
+ deleted_at?: string | null;
101
+ }
102
+ export interface BaseProductImage {
103
+ id?: string;
104
+ url?: string;
105
+ created_at?: string;
106
+ updated_at?: string;
107
+ deleted_at?: string | null;
108
+ metadata?: Record<string, unknown> | null;
109
+ }
110
+ export interface BaseProductOptionValue {
111
+ id?: string;
112
+ value?: string;
113
+ option?: BaseProductOption;
114
+ option_id?: string;
115
+ metadata?: Record<string, unknown> | null;
116
+ created_at?: string;
117
+ updated_at?: string;
118
+ deleted_at?: string | null;
119
+ }
120
+ export interface BaseProductFilters extends BaseFilterable<BaseProductFilters> {
121
+ q?: string;
122
+ status?: ProductStatus | ProductStatus[];
123
+ title?: string | string[];
124
+ handle?: string | string[];
125
+ id?: string | string[];
126
+ is_giftcard?: boolean;
127
+ tags?: {
128
+ value?: string[];
129
+ };
130
+ type_id?: string | string[];
131
+ category_id?: string | string[] | OperatorMap<string>;
132
+ categories?: {
133
+ id: OperatorMap<string>;
134
+ } | {
135
+ id: OperatorMap<string[]>;
136
+ };
137
+ collection_id?: string | string[] | OperatorMap<string>;
138
+ created_at?: OperatorMap<string>;
139
+ updated_at?: OperatorMap<string>;
140
+ deleted_at?: OperatorMap<string>;
141
+ }
142
+ export interface BaseProductTagFilters extends BaseFilterable<BaseProductTagFilters> {
143
+ q?: string;
144
+ id?: string | string[];
145
+ value?: string | string[];
146
+ }
147
+ export interface BaseProductTypeFilters extends BaseFilterable<BaseProductTypeFilters> {
148
+ q?: string;
149
+ id?: string | string[];
150
+ value?: string;
151
+ }
152
+ export interface BaseProductOptionFilters extends BaseFilterable<BaseProductOptionFilters> {
153
+ q?: string;
154
+ id?: string | string[];
155
+ title?: string | string[];
156
+ product_id?: string | string[];
157
+ }
158
+ export interface BaseProductVariantFilters extends BaseFilterable<BaseProductVariantFilters> {
159
+ q?: string;
160
+ id?: string | string[];
161
+ sku?: string | string[];
162
+ product_id?: string | string[];
163
+ options?: Record<string, string>;
164
+ }
165
+ export interface BaseProductCategoryFilters extends BaseFilterable<BaseProductCategoryFilters> {
166
+ q?: string;
167
+ id?: string | string[];
168
+ name?: string | string[];
169
+ parent_category_id?: string | string[] | null;
170
+ handle?: string | string[];
171
+ is_active?: boolean;
172
+ is_internal?: boolean;
173
+ include_descendants_tree?: boolean;
174
+ include_ancestors_tree?: boolean;
175
+ }
176
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/product/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAA;AAE3E,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAA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AAQ,cAAc,CAAC,0BAA0B,CAAC;IAClD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,CAAA;IAC7C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,sBAAsB,CAAC,EAAE,OAAO,CAAA;CACjC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/product/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./admin";
2
+ export * from "./store";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/product/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}