@medusajs/types 1.12.0-snapshot-20240405154416 → 1.12.0-snapshot-20240408084642
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/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 +78 -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 +7 -1
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +10 -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/index.d.ts +6 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +6 -0
- 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/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/stock-locations/common.d.ts +28 -0
- package/dist/http/stock-locations/common.d.ts.map +1 -0
- package/dist/http/stock-locations/common.js +3 -0
- package/dist/http/stock-locations/common.js.map +1 -0
- package/dist/http/stock-locations/index.d.ts +2 -0
- package/dist/http/stock-locations/index.d.ts.map +1 -0
- package/dist/http/stock-locations/index.js +18 -0
- package/dist/http/stock-locations/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/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/joiner/index.d.ts +2 -2
- package/dist/joiner/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +2 -1
- 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 +4 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product-category/repository.d.ts +2 -1
- package/dist/product-category/repository.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 +14 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/region/mutations.d.ts +15 -3
- package/dist/region/mutations.d.ts.map +1 -1
- package/dist/region/service.d.ts +210 -85
- package/dist/region/service.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 +4 -0
- package/dist/workflow/fulfillment/index.d.ts.map +1 -0
- package/dist/workflow/fulfillment/index.js +20 -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/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/dist/workflows/index.d.ts +2 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +18 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/stock-locations/index.d.ts +2 -0
- package/dist/workflows/stock-locations/index.d.ts.map +1 -0
- package/dist/workflows/stock-locations/index.js +18 -0
- package/dist/workflows/stock-locations/index.js.map +1 -0
- package/dist/workflows/stock-locations/mutations.d.ts +8 -0
- package/dist/workflows/stock-locations/mutations.d.ts.map +1 -0
- package/dist/workflows/stock-locations/mutations.js +3 -0
- package/dist/workflows/stock-locations/mutations.js.map +1 -0
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sales-channel.d.ts","sourceRoot":"","sources":["../../../../src/http/sales-channel/admin/sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD;;GAEG;AACH,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACtE,cAAc,EAAE,oBAAoB,EAAE,CAAA;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,oBAAoB,CAAA;CACpC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sales-channel.js","sourceRoot":"","sources":["../../../../src/http/sales-channel/admin/sales-channel.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/sales-channel/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/sales-channel/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { AdminFulfillmentSetResponse } from "../fulfillment";
|
2
|
+
export type AdminStockLocationAddressResponse = {
|
3
|
+
id?: string;
|
4
|
+
address_1: string;
|
5
|
+
address_2?: string | null;
|
6
|
+
company?: string | null;
|
7
|
+
country_code: string;
|
8
|
+
city?: string | null;
|
9
|
+
phone?: string | null;
|
10
|
+
postal_code?: string | null;
|
11
|
+
province?: string | null;
|
12
|
+
metadata?: Record<string, unknown> | null;
|
13
|
+
created_at: string | Date;
|
14
|
+
updated_at: string | Date;
|
15
|
+
deleted_at: string | Date | null;
|
16
|
+
};
|
17
|
+
export interface AdminStockLocationResponse {
|
18
|
+
id: string;
|
19
|
+
name: string;
|
20
|
+
metadata: Record<string, unknown> | null;
|
21
|
+
address_id: string;
|
22
|
+
address?: AdminStockLocationAddressResponse;
|
23
|
+
created_at: string | Date;
|
24
|
+
updated_at: string | Date;
|
25
|
+
deleted_at: string | Date | null;
|
26
|
+
fulfillment_sets?: AdminFulfillmentSetResponse[];
|
27
|
+
}
|
28
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/stock-locations/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAA;AAE5D,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC,CAAA;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,iCAAiC,CAAA;IAC3C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAEhC,gBAAgB,CAAC,EAAE,2BAA2B,EAAE,CAAA;CACjD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/stock-locations/common.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/stock-locations/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
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("./common"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/stock-locations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
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("./tax-regions"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PaginatedResponse } from "../../../common";
|
2
|
+
/**
|
3
|
+
* @experimental
|
4
|
+
*/
|
5
|
+
interface TaxRegionResponse {
|
6
|
+
id: string;
|
7
|
+
rate: number | null;
|
8
|
+
code: string | null;
|
9
|
+
name: string;
|
10
|
+
metadata: Record<string, unknown> | null;
|
11
|
+
tax_region_id: string;
|
12
|
+
is_combinable: boolean;
|
13
|
+
is_default: boolean;
|
14
|
+
created_at: string | Date;
|
15
|
+
updated_at: string | Date;
|
16
|
+
deleted_at: Date | null;
|
17
|
+
created_by: string | null;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* @experimental
|
21
|
+
*/
|
22
|
+
export interface AdminTaxRegionResponse {
|
23
|
+
tax_region: TaxRegionResponse;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* @experimental
|
27
|
+
*/
|
28
|
+
export interface AdminTaxRegionListResponse extends PaginatedResponse {
|
29
|
+
tax_regions: TaxRegionResponse[];
|
30
|
+
}
|
31
|
+
export {};
|
32
|
+
//# sourceMappingURL=tax-regions.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tax-regions.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,iBAAiB,CAAA;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,iBAAiB;IACnE,WAAW,EAAE,iBAAiB,EAAE,CAAA;CACjC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tax-regions.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-regions.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/tax/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/tax/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
package/dist/index.d.ts
CHANGED
@@ -5,12 +5,15 @@ export * from "./bundles";
|
|
5
5
|
export * from "./cache";
|
6
6
|
export * from "./cart";
|
7
7
|
export * from "./common";
|
8
|
+
export * from "./currency";
|
8
9
|
export * from "./customer";
|
9
10
|
export * from "./dal";
|
10
11
|
export * from "./event-bus";
|
11
12
|
export * from "./feature-flag";
|
13
|
+
export * from "./file";
|
12
14
|
export * from "./file-service";
|
13
15
|
export * from "./fulfillment";
|
16
|
+
export * from "./http";
|
14
17
|
export * from "./inventory";
|
15
18
|
export * from "./joiner";
|
16
19
|
export * from "./link-modules";
|
@@ -34,7 +37,5 @@ export * from "./totals";
|
|
34
37
|
export * from "./transaction-base";
|
35
38
|
export * from "./user";
|
36
39
|
export * from "./workflow";
|
37
|
-
export * from "./
|
38
|
-
export * from "./http";
|
39
|
-
export * from "./file";
|
40
|
+
export * from "./workflows";
|
40
41
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
package/dist/index.js
CHANGED
@@ -21,12 +21,15 @@ __exportStar(require("./bundles"), exports);
|
|
21
21
|
__exportStar(require("./cache"), exports);
|
22
22
|
__exportStar(require("./cart"), exports);
|
23
23
|
__exportStar(require("./common"), exports);
|
24
|
+
__exportStar(require("./currency"), exports);
|
24
25
|
__exportStar(require("./customer"), exports);
|
25
26
|
__exportStar(require("./dal"), exports);
|
26
27
|
__exportStar(require("./event-bus"), exports);
|
27
28
|
__exportStar(require("./feature-flag"), exports);
|
29
|
+
__exportStar(require("./file"), exports);
|
28
30
|
__exportStar(require("./file-service"), exports);
|
29
31
|
__exportStar(require("./fulfillment"), exports);
|
32
|
+
__exportStar(require("./http"), exports);
|
30
33
|
__exportStar(require("./inventory"), exports);
|
31
34
|
__exportStar(require("./joiner"), exports);
|
32
35
|
__exportStar(require("./link-modules"), exports);
|
@@ -50,7 +53,5 @@ __exportStar(require("./totals"), exports);
|
|
50
53
|
__exportStar(require("./transaction-base"), exports);
|
51
54
|
__exportStar(require("./user"), exports);
|
52
55
|
__exportStar(require("./workflow"), exports);
|
53
|
-
__exportStar(require("./
|
54
|
-
__exportStar(require("./http"), exports);
|
55
|
-
__exportStar(require("./file"), exports);
|
56
|
+
__exportStar(require("./workflows"), exports);
|
56
57
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,iDAA8B;AAC9B,gDAA6B;AAC7B,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B"}
|
package/dist/joiner/index.d.ts
CHANGED
@@ -83,7 +83,7 @@ export interface RemoteJoinerOptions {
|
|
83
83
|
}
|
84
84
|
export interface RemoteNestedExpands {
|
85
85
|
[key: string]: {
|
86
|
-
fields
|
86
|
+
fields?: string[];
|
87
87
|
args?: JoinerArgument[];
|
88
88
|
expands?: RemoteNestedExpands;
|
89
89
|
};
|
@@ -93,7 +93,7 @@ export interface RemoteExpandProperty {
|
|
93
93
|
parent: string;
|
94
94
|
parentConfig?: JoinerServiceConfig;
|
95
95
|
serviceConfig: JoinerServiceConfig;
|
96
|
-
fields
|
96
|
+
fields?: string[];
|
97
97
|
args?: JoinerArgument[];
|
98
98
|
expands?: RemoteNestedExpands;
|
99
99
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/joiner/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC3B,CAAA;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,wBAAwB,GAAG,wBAAwB,EAAE,CAAA;IAC7D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CACjB,MAAM,EACJ,MAAM,GACN;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,sBAAsB,EAAE,MAAM,EAAE,CAAA;KACjC,CACJ,CAAA;IACD,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,aAAa,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACpC,OAAO,CAAC,EAAE;QACR,WAAW,EAAE,MAAM,CAAA;QACnB,YAAY,EAAE,kBAAkB,CAAA;KACjC,EAAE,CAAA;IACH;;OAEG;IACH,IAAI,CAAC,EAAE,MA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AO,CAAC,EAAE,KAAK,CAAC;QACd,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,EAAE,MAAM,EAAE,CAAA;QAChB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;QACvB,UAAU,CAAC,EAAE;YAAE,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe,EAAE,CAAA;SAAE,CAAA;KACpD,CAAC,CAAA;IACF,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe,EAAE,CAAA;KAAE,CAAA;CACpD;AAED,MAAM,WAAW,mBAAmB;IAClC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,uBAAuB,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,CAAA;CAC7C;AAED,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;QACjB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;QACvB,OAAO,CAAC,EAAE,mBAAmB,CAAA;KAC9B,CAAA;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,mBAAmB,CAAA;IAClC,aAAa,EAAE,mBAAmB,CAAA;IAClC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,IAAI,CAAC,EAAE,cAAc,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAC9B"}
|
@@ -108,7 +108,8 @@ export type ModuleJoinerConfig = Omit<JoinerServiceConfig, "serviceName" | "prim
|
|
108
108
|
serviceName: string;
|
109
109
|
fieldAlias?: Record<string, string | {
|
110
110
|
path: string;
|
111
|
-
forwardArgumentsOnPath
|
111
|
+
forwardArgumentsOnPath?: string[];
|
112
|
+
isList?: boolean;
|
112
113
|
}>;
|
113
114
|
relationship: ModuleJoinerRelationship;
|
114
115
|
}[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AACtD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AAEjC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,KAAK,GACL,WAAW,CAAA;AACf,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,EAAE,CAAA;AAExD,oBAAY,YAAY;IACtB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,oBAAoB;IAC9B,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAA;IAC5B,SAAS,EAAE,oBAAoB,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;IACtC,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,CAAA;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;I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C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;SACrC,CAAA;QACD,KAAK,CAAC,EAAE,OAAO,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAC/B,CAAA;CACF;AAED,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAA;KAC9C,CAAA;CACF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAClC,yBAAyB,GACzB,yBAAyB,CAAA;AAK7B,MAAM,MAAM,mBAAmB,GAAG,CAChC,KAAK,EAAE,MAAM,GAAG,iBAAiB,GAAG,MAAM,EAC1C,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,OAAO,CAAC,EAAE,mBAAmB,KAC1B,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;AAExB,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,cAAc,CAAC,IAAI,kBAAkB,CAAA;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QACxC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAC5C,CAAA;CACF"}
|
package/dist/order/common.d.ts
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
import { BaseFilterable } from "../dal";
|
2
2
|
import { OperatorMap } from "../dal/utils";
|
3
|
-
import { BigNumberRawValue } from "../totals";
|
3
|
+
import { BigNumberRawValue, BigNumberValue } from "../totals";
|
4
4
|
export type OrderSummaryDTO = {
|
5
|
-
total:
|
6
|
-
subtotal:
|
7
|
-
total_tax:
|
8
|
-
ordered_total:
|
9
|
-
fulfilled_total:
|
10
|
-
returned_total:
|
11
|
-
return_request_total:
|
12
|
-
write_off_total:
|
13
|
-
projected_total:
|
14
|
-
net_total:
|
15
|
-
net_subtotal:
|
16
|
-
net_total_tax:
|
17
|
-
future_total:
|
18
|
-
future_subtotal:
|
19
|
-
future_total_tax:
|
20
|
-
future_projected_total:
|
21
|
-
balance:
|
22
|
-
future_balance:
|
5
|
+
total: BigNumberValue;
|
6
|
+
subtotal: BigNumberValue;
|
7
|
+
total_tax: BigNumberValue;
|
8
|
+
ordered_total: BigNumberValue;
|
9
|
+
fulfilled_total: BigNumberValue;
|
10
|
+
returned_total: BigNumberValue;
|
11
|
+
return_request_total: BigNumberValue;
|
12
|
+
write_off_total: BigNumberValue;
|
13
|
+
projected_total: BigNumberValue;
|
14
|
+
net_total: BigNumberValue;
|
15
|
+
net_subtotal: BigNumberValue;
|
16
|
+
net_total_tax: BigNumberValue;
|
17
|
+
future_total: BigNumberValue;
|
18
|
+
future_subtotal: BigNumberValue;
|
19
|
+
future_total_tax: BigNumberValue;
|
20
|
+
future_projected_total: BigNumberValue;
|
21
|
+
balance: BigNumberValue;
|
22
|
+
future_balance: BigNumberValue;
|
23
23
|
};
|
24
24
|
export interface OrderAdjustmentLineDTO {
|
25
25
|
/**
|
@@ -33,7 +33,7 @@ export interface OrderAdjustmentLineDTO {
|
|
33
33
|
/**
|
34
34
|
* The amount of the adjustment line
|
35
35
|
*/
|
36
|
-
amount:
|
36
|
+
amount: BigNumberValue;
|
37
37
|
/**
|
38
38
|
* The ID of the associated order
|
39
39
|
*/
|
@@ -123,6 +123,14 @@ export interface OrderShippingMethodTaxLineDTO extends OrderTaxLineDTO {
|
|
123
123
|
* The ID of the associated shipping method
|
124
124
|
*/
|
125
125
|
shipping_method_id: string;
|
126
|
+
/**
|
127
|
+
* The total tax relative to the shipping method.
|
128
|
+
*/
|
129
|
+
total: BigNumberValue;
|
130
|
+
/**
|
131
|
+
* The subtotal tax relative to the shipping method.
|
132
|
+
*/
|
133
|
+
subtotal: BigNumberValue;
|
126
134
|
}
|
127
135
|
export interface OrderLineItemTaxLineDTO extends OrderTaxLineDTO {
|
128
136
|
/**
|
@@ -133,6 +141,14 @@ export interface OrderLineItemTaxLineDTO extends OrderTaxLineDTO {
|
|
133
141
|
* The ID of the associated line item
|
134
142
|
*/
|
135
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;
|
136
152
|
}
|
137
153
|
export interface OrderAddressDTO {
|
138
154
|
/**
|
@@ -216,7 +232,7 @@ export interface OrderShippingMethodDTO {
|
|
216
232
|
/**
|
217
233
|
* The price of the shipping method
|
218
234
|
*/
|
219
|
-
|
235
|
+
amount: BigNumberRawValue;
|
220
236
|
/**
|
221
237
|
* Whether the shipping method price is tax inclusive or not
|
222
238
|
*/
|
@@ -253,11 +269,38 @@ export interface OrderShippingMethodDTO {
|
|
253
269
|
* When the shipping method was updated.
|
254
270
|
*/
|
255
271
|
updated_at: Date | string;
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
272
|
+
/**
|
273
|
+
* The original total of the order shipping method.
|
274
|
+
*/
|
275
|
+
original_total: BigNumberValue;
|
276
|
+
/**
|
277
|
+
* The original subtotal of the order shipping method.
|
278
|
+
*/
|
279
|
+
original_subtotal: BigNumberValue;
|
280
|
+
/**
|
281
|
+
* The original tax total of the order shipping method.
|
282
|
+
*/
|
283
|
+
original_tax_total: BigNumberValue;
|
284
|
+
/**
|
285
|
+
* The total of the order shipping method.
|
286
|
+
*/
|
287
|
+
total: BigNumberValue;
|
288
|
+
/**
|
289
|
+
* The subtotal of the order shipping method.
|
290
|
+
*/
|
291
|
+
subtotal: BigNumberValue;
|
292
|
+
/**
|
293
|
+
* The tax total of the order shipping method.
|
294
|
+
*/
|
295
|
+
tax_total: BigNumberValue;
|
296
|
+
/**
|
297
|
+
* The discount total of the order shipping method.
|
298
|
+
*/
|
299
|
+
discount_total: BigNumberValue;
|
300
|
+
/**
|
301
|
+
* The discount tax total of the order shipping method.
|
302
|
+
*/
|
303
|
+
discount_tax_total: BigNumberValue;
|
261
304
|
}
|
262
305
|
export interface OrderLineItemTotalsDTO {
|
263
306
|
original_total: number;
|
@@ -365,6 +408,14 @@ export interface OrderLineItemDTO extends OrderLineItemTotalsDTO {
|
|
365
408
|
* The raw unit price of the order line item.
|
366
409
|
*/
|
367
410
|
raw_unit_price: BigNumberRawValue;
|
411
|
+
/**
|
412
|
+
* The quantity of the order line item.
|
413
|
+
*/
|
414
|
+
quantity: number;
|
415
|
+
/**
|
416
|
+
* The raw quantity of the order line item.
|
417
|
+
*/
|
418
|
+
raw_quantity: BigNumberRawValue;
|
368
419
|
/**
|
369
420
|
* The associated tax lines.
|
370
421
|
*
|
@@ -389,6 +440,10 @@ export interface OrderLineItemDTO extends OrderLineItemTotalsDTO {
|
|
389
440
|
* The date when the order line item was last updated.
|
390
441
|
*/
|
391
442
|
updated_at: Date;
|
443
|
+
/**
|
444
|
+
* Holds custom data in key-value pairs.
|
445
|
+
*/
|
446
|
+
metadata?: Record<string, unknown> | null;
|
392
447
|
}
|
393
448
|
export interface OrderItemDTO {
|
394
449
|
/**
|
@@ -658,11 +713,11 @@ export interface OrderChangeActionDTO {
|
|
658
713
|
/**
|
659
714
|
* The action of the order change action
|
660
715
|
*/
|
661
|
-
action:
|
716
|
+
action: string;
|
662
717
|
/**
|
663
|
-
* The
|
718
|
+
* The details of the order change action
|
664
719
|
*/
|
665
|
-
|
720
|
+
details: Record<string, unknown> | null;
|
666
721
|
/**
|
667
722
|
* The internal note of the order change action
|
668
723
|
*/
|
@@ -777,25 +832,36 @@ export interface FilterableOrderShippingMethodTaxLineProps extends BaseFilterabl
|
|
777
832
|
shipping_method?: FilterableOrderShippingMethodProps;
|
778
833
|
}
|
779
834
|
export interface FilterableOrderChangeProps extends BaseFilterable<FilterableOrderChangeProps> {
|
780
|
-
id?: string | string[]
|
781
|
-
order_id?: string | string[]
|
782
|
-
status?: string | string[]
|
783
|
-
requested_by?: string | string[]
|
784
|
-
confirmed_by?: string | string[]
|
785
|
-
declined_by?: string | string[]
|
786
|
-
canceled_by?: string | string[]
|
835
|
+
id?: string | string[] | OperatorMap<string>;
|
836
|
+
order_id?: string | string[] | OperatorMap<string>;
|
837
|
+
status?: string | string[] | OperatorMap<string>;
|
838
|
+
requested_by?: string | string[] | OperatorMap<string>;
|
839
|
+
confirmed_by?: string | string[] | OperatorMap<string>;
|
840
|
+
declined_by?: string | string[] | OperatorMap<string>;
|
841
|
+
canceled_by?: string | string[] | OperatorMap<string>;
|
842
|
+
created_at?: OperatorMap<string>;
|
843
|
+
updated_at?: OperatorMap<string>;
|
844
|
+
deleted_at?: OperatorMap<string>;
|
845
|
+
canceled_at?: OperatorMap<string>;
|
787
846
|
}
|
788
847
|
export interface FilterableOrderChangeActionProps extends BaseFilterable<FilterableOrderChangeActionProps> {
|
789
|
-
id?: string | string[]
|
790
|
-
order_change_id?: string | string[]
|
791
|
-
reference?: string | string[]
|
792
|
-
reference_id?: string | string[]
|
848
|
+
id?: string | string[] | OperatorMap<string>;
|
849
|
+
order_change_id?: string | string[] | OperatorMap<string>;
|
850
|
+
reference?: string | string[] | OperatorMap<string>;
|
851
|
+
reference_id?: string | string[] | OperatorMap<string>;
|
793
852
|
}
|
794
853
|
export interface FilterableOrderTransactionProps extends BaseFilterable<FilterableOrderTransactionProps> {
|
795
|
-
id?: string | string[]
|
796
|
-
order_id?: string | string[]
|
797
|
-
currency_code?: string | string[]
|
798
|
-
reference?: string | string[]
|
799
|
-
reference_id?: string | string[]
|
854
|
+
id?: string | string[] | OperatorMap<string>;
|
855
|
+
order_id?: string | string[] | OperatorMap<string>;
|
856
|
+
currency_code?: string | string[] | OperatorMap<string>;
|
857
|
+
reference?: string | string[] | OperatorMap<string>;
|
858
|
+
reference_id?: string | string[] | OperatorMap<string>;
|
859
|
+
created_at?: OperatorMap<string>;
|
860
|
+
}
|
861
|
+
export interface FilterableOrderItemProps extends BaseFilterable<FilterableOrderItemProps> {
|
862
|
+
id?: string | string[] | OperatorMap<string>;
|
863
|
+
order_id?: string | string[] | OperatorMap<string>;
|
864
|
+
version?: string | string[] | OperatorMap<string>;
|
865
|
+
item_id?: string | string[] | OperatorMap<string>;
|
800
866
|
}
|
801
867
|
//# sourceMappingURL=common.d.ts.map
|