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