@medusajs/types 1.12.0-snapshot-20240412124109 → 1.12.0-snapshot-20240423083106
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/common.d.ts +185 -5
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/common/batch.d.ts +26 -0
- package/dist/common/batch.d.ts.map +1 -0
- package/dist/common/batch.js +3 -0
- package/dist/common/batch.js.map +1 -0
- package/dist/common/common.d.ts +2 -2
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +8 -1
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -0
- package/dist/common/index.js.map +1 -1
- package/dist/fulfillment/common/fulfillment-provider.d.ts +10 -0
- package/dist/fulfillment/common/fulfillment-provider.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +21 -1
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/http/common/deleted-response.d.ts +1 -1
- package/dist/http/common/deleted-response.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts +7 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +6 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
- package/dist/http/index.d.ts +2 -1
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +2 -1
- package/dist/http/index.js.map +1 -1
- package/dist/http/order/admin/index.d.ts +268 -0
- package/dist/http/order/admin/index.d.ts.map +1 -0
- package/dist/http/order/admin/index.js +3 -0
- package/dist/http/order/admin/index.js.map +1 -0
- package/dist/http/order/index.d.ts +2 -0
- package/dist/http/order/index.d.ts.map +1 -0
- package/dist/http/order/index.js +18 -0
- package/dist/http/order/index.js.map +1 -0
- package/dist/http/tax/admin/index.d.ts +1 -0
- package/dist/http/tax/admin/index.d.ts.map +1 -1
- package/dist/http/tax/admin/index.js +1 -0
- package/dist/http/tax/admin/index.js.map +1 -1
- package/dist/http/tax/admin/tax-rates.d.ts +37 -0
- package/dist/http/tax/admin/tax-rates.d.ts.map +1 -0
- package/dist/http/tax/admin/tax-rates.js +3 -0
- package/dist/http/tax/admin/tax-rates.js.map +1 -0
- package/dist/http/tax/admin/tax-regions.d.ts +7 -2
- package/dist/http/tax/admin/tax-regions.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +1 -0
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/order/common.d.ts +322 -13
- package/dist/order/common.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +5 -5
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/pricing/workflows.d.ts +23 -10
- package/dist/pricing/workflows.d.ts.map +1 -1
- package/dist/product/common.d.ts +19 -10
- package/dist/product/common.d.ts.map +1 -1
- package/dist/stock-location/common.d.ts +5 -0
- package/dist/stock-location/common.d.ts.map +1 -1
- package/dist/workflow/index.d.ts +5 -4
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +6 -5
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/product-category/index.d.ts +9 -0
- package/dist/workflow/product-category/index.d.ts.map +1 -0
- package/dist/workflow/product-category/index.js +3 -0
- package/dist/workflow/product-category/index.js.map +1 -0
- package/dist/workflows/index.d.ts +1 -0
- package/dist/workflows/index.d.ts.map +1 -1
- package/dist/workflows/index.js +1 -0
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/products/index.d.ts +2 -0
- package/dist/workflows/products/index.d.ts.map +1 -0
- package/dist/workflows/products/index.js +18 -0
- package/dist/workflows/products/index.js.map +1 -0
- package/dist/workflows/products/mutations.d.ts +19 -0
- package/dist/workflows/products/mutations.d.ts.map +1 -0
- package/dist/workflows/products/mutations.js +3 -0
- package/dist/workflows/products/mutations.js.map +1 -0
- package/package.json +1 -1
@@ -44,7 +44,7 @@ export interface AdminShippingOptionListResponse extends PaginatedResponse {
|
|
44
44
|
/**
|
45
45
|
* @experimental
|
46
46
|
*/
|
47
|
-
export interface AdminShippingOptionDeleteResponse extends DeleteResponse {
|
47
|
+
export interface AdminShippingOptionDeleteResponse extends DeleteResponse<"shipping_option"> {
|
48
48
|
}
|
49
49
|
export {};
|
50
50
|
//# sourceMappingURL=shipping-option.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE;;GAEG;AACH,UAAU,2BAA2B;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,YAAY,EAAE,wBAAwB,CAAA;IACtC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,IAAI,EAAE,+BAA+B,CAAA;IACrC,KAAK,EAAE,+BAA+B,EAAE,CAAA;IACxC,MAAM,EAAE,0BAA0B,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,2BAA2B,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,iBAAiB;IACxE,gBAAgB,EAAE,2BAA2B,EAAE,CAAA;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE;;GAEG;AACH,UAAU,2BAA2B;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,YAAY,EAAE,wBAAwB,CAAA;IACtC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,IAAI,EAAE,+BAA+B,CAAA;IACrC,KAAK,EAAE,+BAA+B,EAAE,CAAA;IACxC,MAAM,EAAE,0BAA0B,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,2BAA2B,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,iBAAiB;IACxE,gBAAgB,EAAE,2BAA2B,EAAE,CAAA;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,iCACf,SAAQ,cAAc,CAAC,iBAAiB,CAAC;CAAG"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PaginatedResponse } from "../../../common";
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../../common";
|
2
2
|
/**
|
3
3
|
* @experimental
|
4
4
|
*/
|
@@ -17,4 +17,9 @@ export interface AdminShippingProfileResponse {
|
|
17
17
|
export interface AdminShippingProfilesResponse extends PaginatedResponse {
|
18
18
|
shipping_profiles: ShippingProfileResponse[];
|
19
19
|
}
|
20
|
+
/**
|
21
|
+
* @experimental
|
22
|
+
*/
|
23
|
+
export interface AdminShippingProfileDeleteResponse extends DeleteResponse<"shipping_profile"> {
|
24
|
+
}
|
20
25
|
//# sourceMappingURL=shipping-profile.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"shipping-profile.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,uBAAuB,CAAA;CAC1C;AAED,MAAM,WAAW,6BAA8B,SAAQ,iBAAiB;IACtE,iBAAiB,EAAE,uBAAuB,EAAE,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,kCACf,SAAQ,cAAc,CAAC,kBAAkB,CAAC;CAAG"}
|
package/dist/http/index.d.ts
CHANGED
@@ -2,9 +2,10 @@ export * from "./api-key";
|
|
2
2
|
export * from "./customer";
|
3
3
|
export * from "./fulfillment";
|
4
4
|
export * from "./inventory";
|
5
|
+
export * from "./order";
|
5
6
|
export * from "./pricing";
|
7
|
+
export * from "./product-category";
|
6
8
|
export * from "./sales-channel";
|
7
9
|
export * from "./stock-locations";
|
8
10
|
export * from "./tax";
|
9
|
-
export * from "./product-category";
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/http/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -18,9 +18,10 @@ __exportStar(require("./api-key"), exports);
|
|
18
18
|
__exportStar(require("./customer"), exports);
|
19
19
|
__exportStar(require("./fulfillment"), exports);
|
20
20
|
__exportStar(require("./inventory"), exports);
|
21
|
+
__exportStar(require("./order"), exports);
|
21
22
|
__exportStar(require("./pricing"), exports);
|
23
|
+
__exportStar(require("./product-category"), exports);
|
22
24
|
__exportStar(require("./sales-channel"), exports);
|
23
25
|
__exportStar(require("./stock-locations"), exports);
|
24
26
|
__exportStar(require("./tax"), exports);
|
25
|
-
__exportStar(require("./product-category"), exports);
|
26
27
|
//# sourceMappingURL=index.js.map
|
package/dist/http/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,4CAAyB;AACzB,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB"}
|
@@ -0,0 +1,268 @@
|
|
1
|
+
import { BigNumberRawValue } from "../../../totals";
|
2
|
+
import { PaginatedResponse } from "../../common";
|
3
|
+
interface OrderSummary {
|
4
|
+
total: number;
|
5
|
+
subtotal: number;
|
6
|
+
total_tax: number;
|
7
|
+
ordered_total: number;
|
8
|
+
fulfilled_total: number;
|
9
|
+
returned_total: number;
|
10
|
+
return_request_total: number;
|
11
|
+
write_off_total: number;
|
12
|
+
projected_total: number;
|
13
|
+
net_total: number;
|
14
|
+
net_subtotal: number;
|
15
|
+
net_total_tax: number;
|
16
|
+
future_total: number;
|
17
|
+
future_subtotal: number;
|
18
|
+
future_total_tax: number;
|
19
|
+
future_projected_total: number;
|
20
|
+
balance: number;
|
21
|
+
future_balance: number;
|
22
|
+
}
|
23
|
+
interface OrderAdjustmentLine {
|
24
|
+
id: string;
|
25
|
+
code?: string;
|
26
|
+
amount: number;
|
27
|
+
order_id: string;
|
28
|
+
description?: string;
|
29
|
+
promotion_id?: string;
|
30
|
+
provider_id?: string;
|
31
|
+
created_at: Date | string;
|
32
|
+
updated_at: Date | string;
|
33
|
+
}
|
34
|
+
interface OrderShippingMethodAdjustment extends OrderAdjustmentLine {
|
35
|
+
shipping_method: OrderShippingMethod;
|
36
|
+
shipping_method_id: string;
|
37
|
+
}
|
38
|
+
interface OrderLineItemAdjustment extends OrderAdjustmentLine {
|
39
|
+
item: OrderLineItem;
|
40
|
+
item_id: string;
|
41
|
+
}
|
42
|
+
interface OrderTaxLine {
|
43
|
+
id: string;
|
44
|
+
description?: string;
|
45
|
+
tax_rate_id?: string;
|
46
|
+
code: string;
|
47
|
+
rate: number;
|
48
|
+
provider_id?: string;
|
49
|
+
created_at: Date | string;
|
50
|
+
updated_at: Date | string;
|
51
|
+
}
|
52
|
+
interface OrderShippingMethodTaxLine extends OrderTaxLine {
|
53
|
+
shipping_method: OrderShippingMethod;
|
54
|
+
shipping_method_id: string;
|
55
|
+
total: number;
|
56
|
+
subtotal: number;
|
57
|
+
raw_total?: BigNumberRawValue;
|
58
|
+
raw_subtotal?: BigNumberRawValue;
|
59
|
+
}
|
60
|
+
interface OrderLineItemTaxLine extends OrderTaxLine {
|
61
|
+
item: OrderLineItem;
|
62
|
+
item_id: string;
|
63
|
+
total: number;
|
64
|
+
subtotal: number;
|
65
|
+
raw_total?: BigNumberRawValue;
|
66
|
+
raw_subtotal?: BigNumberRawValue;
|
67
|
+
}
|
68
|
+
interface OrderAddress {
|
69
|
+
id: string;
|
70
|
+
customer_id?: string;
|
71
|
+
first_name?: string;
|
72
|
+
last_name?: string;
|
73
|
+
phone?: string;
|
74
|
+
company?: string;
|
75
|
+
address_1?: string;
|
76
|
+
address_2?: string;
|
77
|
+
city?: string;
|
78
|
+
country_code?: string;
|
79
|
+
province?: string;
|
80
|
+
postal_code?: string;
|
81
|
+
metadata: Record<string, unknown> | null;
|
82
|
+
created_at: Date | string;
|
83
|
+
updated_at: Date | string;
|
84
|
+
}
|
85
|
+
interface OrderShippingMethod {
|
86
|
+
id: string;
|
87
|
+
order_id: string;
|
88
|
+
name: string;
|
89
|
+
description?: string;
|
90
|
+
amount: number;
|
91
|
+
raw_amount?: BigNumberRawValue;
|
92
|
+
is_tax_inclusive: boolean;
|
93
|
+
shipping_option_id: string | null;
|
94
|
+
data: Record<string, unknown> | null;
|
95
|
+
metadata: Record<string, unknown> | null;
|
96
|
+
tax_lines?: OrderShippingMethodTaxLine[];
|
97
|
+
adjustments?: OrderShippingMethodAdjustment[];
|
98
|
+
created_at: Date | string;
|
99
|
+
updated_at: Date | string;
|
100
|
+
}
|
101
|
+
interface OrderLineItem {
|
102
|
+
id: string;
|
103
|
+
title: string;
|
104
|
+
subtitle: string | null;
|
105
|
+
thumbnail: string | null;
|
106
|
+
variant_id: string | null;
|
107
|
+
product_id: string | null;
|
108
|
+
product_title: string | null;
|
109
|
+
product_description: string | null;
|
110
|
+
product_subtitle: string | null;
|
111
|
+
product_type: string | null;
|
112
|
+
product_collection: string | null;
|
113
|
+
product_handle: string | null;
|
114
|
+
variant_sku: string | null;
|
115
|
+
variant_barcode: string | null;
|
116
|
+
variant_title: string | null;
|
117
|
+
variant_option_values: Record<string, unknown> | null;
|
118
|
+
requires_shipping: boolean;
|
119
|
+
is_discountable: boolean;
|
120
|
+
is_tax_inclusive: boolean;
|
121
|
+
compare_at_unit_price?: number;
|
122
|
+
raw_compare_at_unit_price?: BigNumberRawValue;
|
123
|
+
unit_price: number;
|
124
|
+
raw_unit_price?: BigNumberRawValue;
|
125
|
+
quantity: number;
|
126
|
+
raw_quantity?: BigNumberRawValue;
|
127
|
+
tax_lines?: OrderLineItemTaxLine[];
|
128
|
+
adjustments?: OrderLineItemAdjustment[];
|
129
|
+
detail: OrderItemDetail;
|
130
|
+
created_at: Date;
|
131
|
+
updated_at: Date;
|
132
|
+
metadata: Record<string, unknown> | null;
|
133
|
+
original_total: number;
|
134
|
+
original_subtotal: number;
|
135
|
+
original_tax_total: number;
|
136
|
+
item_total: number;
|
137
|
+
item_subtotal: number;
|
138
|
+
item_tax_total: number;
|
139
|
+
total: number;
|
140
|
+
subtotal: number;
|
141
|
+
tax_total: number;
|
142
|
+
discount_total: number;
|
143
|
+
discount_tax_total: number;
|
144
|
+
raw_original_total?: BigNumberRawValue;
|
145
|
+
raw_original_subtotal?: BigNumberRawValue;
|
146
|
+
raw_original_tax_total?: BigNumberRawValue;
|
147
|
+
raw_item_total?: BigNumberRawValue;
|
148
|
+
raw_item_subtotal?: BigNumberRawValue;
|
149
|
+
raw_item_tax_total?: BigNumberRawValue;
|
150
|
+
raw_total?: BigNumberRawValue;
|
151
|
+
raw_subtotal?: BigNumberRawValue;
|
152
|
+
raw_tax_total?: BigNumberRawValue;
|
153
|
+
raw_discount_total?: BigNumberRawValue;
|
154
|
+
raw_discount_tax_total?: BigNumberRawValue;
|
155
|
+
}
|
156
|
+
interface OrderItemDetail {
|
157
|
+
id: string;
|
158
|
+
item_id: string;
|
159
|
+
item: OrderLineItem;
|
160
|
+
quantity: number;
|
161
|
+
fulfilled_quantity: number;
|
162
|
+
shipped_quantity: number;
|
163
|
+
return_requested_quantity: number;
|
164
|
+
return_received_quantity: number;
|
165
|
+
return_dismissed_quantity: number;
|
166
|
+
written_off_quantity: number;
|
167
|
+
raw_quantity?: BigNumberRawValue;
|
168
|
+
raw_fulfilled_quantity?: BigNumberRawValue;
|
169
|
+
raw_shipped_quantity?: BigNumberRawValue;
|
170
|
+
raw_return_requested_quantity?: BigNumberRawValue;
|
171
|
+
raw_return_received_quantity?: BigNumberRawValue;
|
172
|
+
raw_return_dismissed_quantity?: BigNumberRawValue;
|
173
|
+
raw_written_off_quantity?: BigNumberRawValue;
|
174
|
+
metadata: Record<string, unknown> | null;
|
175
|
+
created_at: Date;
|
176
|
+
updated_at: Date;
|
177
|
+
}
|
178
|
+
interface OrderTransaction {
|
179
|
+
id: string;
|
180
|
+
order_id: string;
|
181
|
+
amount: number;
|
182
|
+
raw_amount?: BigNumberRawValue;
|
183
|
+
currency_code: string;
|
184
|
+
reference: string;
|
185
|
+
reference_id: string;
|
186
|
+
metadata: Record<string, unknown> | null;
|
187
|
+
created_at: Date | string;
|
188
|
+
updated_at: Date | string;
|
189
|
+
}
|
190
|
+
/**
|
191
|
+
* @experimental
|
192
|
+
*/
|
193
|
+
export interface OrderResponse {
|
194
|
+
id: string;
|
195
|
+
version: number;
|
196
|
+
region_id: string | null;
|
197
|
+
customer_id: string | null;
|
198
|
+
sales_channel_id: string | null;
|
199
|
+
email: string | null;
|
200
|
+
currency_code: string;
|
201
|
+
shipping_address?: OrderAddress;
|
202
|
+
billing_address?: OrderAddress;
|
203
|
+
items: OrderLineItem[] | null;
|
204
|
+
shipping_methods: OrderShippingMethod[] | null;
|
205
|
+
transactions?: OrderTransaction[];
|
206
|
+
summary: OrderSummary;
|
207
|
+
metadata: Record<string, unknown> | null;
|
208
|
+
created_at: string | Date;
|
209
|
+
updated_at: string | Date;
|
210
|
+
original_item_total: number;
|
211
|
+
original_item_subtotal: number;
|
212
|
+
original_item_tax_total: number;
|
213
|
+
item_total: number;
|
214
|
+
item_subtotal: number;
|
215
|
+
item_tax_total: number;
|
216
|
+
original_total: number;
|
217
|
+
original_subtotal: number;
|
218
|
+
original_tax_total: number;
|
219
|
+
total: number;
|
220
|
+
subtotal: number;
|
221
|
+
tax_total: number;
|
222
|
+
discount_total: number;
|
223
|
+
discount_tax_total: number;
|
224
|
+
gift_card_total: number;
|
225
|
+
gift_card_tax_total: number;
|
226
|
+
shipping_total: number;
|
227
|
+
shipping_subtotal: number;
|
228
|
+
shipping_tax_total: number;
|
229
|
+
original_shipping_total: number;
|
230
|
+
original_shipping_subtotal: number;
|
231
|
+
original_shipping_tax_total: number;
|
232
|
+
raw_original_item_total?: BigNumberRawValue;
|
233
|
+
raw_original_item_subtotal?: BigNumberRawValue;
|
234
|
+
raw_original_item_tax_total?: BigNumberRawValue;
|
235
|
+
raw_item_total?: BigNumberRawValue;
|
236
|
+
raw_item_subtotal?: BigNumberRawValue;
|
237
|
+
raw_item_tax_total?: BigNumberRawValue;
|
238
|
+
raw_original_total?: BigNumberRawValue;
|
239
|
+
raw_original_subtotal?: BigNumberRawValue;
|
240
|
+
raw_original_tax_total?: BigNumberRawValue;
|
241
|
+
raw_total?: BigNumberRawValue;
|
242
|
+
raw_subtotal?: BigNumberRawValue;
|
243
|
+
raw_tax_total?: BigNumberRawValue;
|
244
|
+
raw_discount_total?: BigNumberRawValue;
|
245
|
+
raw_discount_tax_total?: BigNumberRawValue;
|
246
|
+
raw_gift_card_total?: BigNumberRawValue;
|
247
|
+
raw_gift_card_tax_total?: BigNumberRawValue;
|
248
|
+
raw_shipping_total?: BigNumberRawValue;
|
249
|
+
raw_shipping_subtotal?: BigNumberRawValue;
|
250
|
+
raw_shipping_tax_total?: BigNumberRawValue;
|
251
|
+
raw_original_shipping_total?: BigNumberRawValue;
|
252
|
+
raw_original_shipping_subtotal?: BigNumberRawValue;
|
253
|
+
raw_original_shipping_tax_total?: BigNumberRawValue;
|
254
|
+
}
|
255
|
+
/**
|
256
|
+
* @experimental
|
257
|
+
*/
|
258
|
+
export interface AdminOrderListResponse extends PaginatedResponse {
|
259
|
+
orders: OrderResponse[];
|
260
|
+
}
|
261
|
+
/**
|
262
|
+
* @experimental
|
263
|
+
*/
|
264
|
+
export interface AdminOrderResponse {
|
265
|
+
order: OrderResponse;
|
266
|
+
}
|
267
|
+
export {};
|
268
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACx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C9C,2BAA2B,CAAC,EAAE,iBAAiB,CAAA;IAC/C,cAAc,CAAC,EAAE,iBAAiB,CAAA;IAClC,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,kBAAkB,CAAC,EAAE,iBAAiB,CAAA;IACtC,kBAAkB,CAAC,EAAE,iBAAiB,CAAA;IACtC,qBAAqB,CAAC,EAAE,iBAAiB,CAAA;IACzC,sBAAsB,CAAC,EAAE,iBAAiB,CAAA;IAC1C,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,kBAAkB,CAAC,EAAE,iBAAiB,CAAA;IACtC,sBAAsB,CAAC,EAAE,iBAAiB,CAAA;IAC1C,mBAAmB,CAAC,EAAE,iBAAiB,CAAA;IACvC,uBAAuB,CAAC,EAAE,iBAAiB,CAAA;IAC3C,kBAAkB,CAAC,EAAE,iBAAiB,CAAA;IACtC,qBAAqB,CAAC,EAAE,iBAAiB,CAAA;IACzC,sBAAsB,CAAC,EAAE,iBAAiB,CAAA;IAC1C,2BAA2B,CAAC,EAAE,iBAAiB,CAAA;IAC/C,8BAA8B,CAAC,EAAE,iBAAiB,CAAA;IAClD,+BAA+B,CAAC,EAAE,iBAAiB,CAAA;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,MAAM,EAAE,aAAa,EAAE,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,aAAa,CAAA;CACrB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/order/admin/index.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/order/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/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./tax-rates"), exports);
|
17
18
|
__exportStar(require("./tax-regions"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,gDAA6B"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { PaginatedResponse } from "../../../common";
|
2
|
+
import { TaxRegionResponse } from "./tax-regions";
|
3
|
+
/**
|
4
|
+
* @experimental
|
5
|
+
*/
|
6
|
+
export interface TaxRateResponse {
|
7
|
+
id: string;
|
8
|
+
rate: number | null;
|
9
|
+
code: string | null;
|
10
|
+
name: string;
|
11
|
+
metadata: Record<string, unknown> | null;
|
12
|
+
tax_region_id: string;
|
13
|
+
is_combinable: boolean;
|
14
|
+
is_default: boolean;
|
15
|
+
created_at: string | Date;
|
16
|
+
updated_at: string | Date;
|
17
|
+
deleted_at: Date | null;
|
18
|
+
created_by: string | null;
|
19
|
+
tax_region: TaxRegionResponse;
|
20
|
+
rules: {
|
21
|
+
reference: string;
|
22
|
+
reference_id: string;
|
23
|
+
}[];
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* @experimental
|
27
|
+
*/
|
28
|
+
export interface AdminTaxRateResponse {
|
29
|
+
tax_rate: TaxRateResponse;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* @experimental
|
33
|
+
*/
|
34
|
+
export interface AdminTaxRateListResponse extends PaginatedResponse {
|
35
|
+
tax_rates: TaxRateResponse[];
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=tax-rates.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tax-rates.d.ts","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-rates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,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;IACzB,UAAU,EAAE,iBAAiB,CAAA;IAC7B,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAA;QACjB,YAAY,EAAE,MAAM,CAAA;KACrB,EAAE,CAAA;CACJ;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,eAAe,CAAA;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,SAAS,EAAE,eAAe,EAAE,CAAA;CAC7B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tax-rates.js","sourceRoot":"","sources":["../../../../src/http/tax/admin/tax-rates.ts"],"names":[],"mappings":""}
|
@@ -1,20 +1,26 @@
|
|
1
1
|
import { PaginatedResponse } from "../../../common";
|
2
|
+
import { TaxRateResponse } from "./tax-rates";
|
2
3
|
/**
|
3
4
|
* @experimental
|
4
5
|
*/
|
5
|
-
interface TaxRegionResponse {
|
6
|
+
export interface TaxRegionResponse {
|
6
7
|
id: string;
|
7
8
|
rate: number | null;
|
8
9
|
code: string | null;
|
10
|
+
country_code: string | null;
|
11
|
+
province_code: string | null;
|
9
12
|
name: string;
|
10
13
|
metadata: Record<string, unknown> | null;
|
11
14
|
tax_region_id: string;
|
12
15
|
is_combinable: boolean;
|
13
16
|
is_default: boolean;
|
17
|
+
parent_id: string | null;
|
14
18
|
created_at: string | Date;
|
15
19
|
updated_at: string | Date;
|
16
20
|
deleted_at: Date | null;
|
17
21
|
created_by: string | null;
|
22
|
+
tax_rates: TaxRateResponse[];
|
23
|
+
parent: TaxRegionResponse;
|
18
24
|
}
|
19
25
|
/**
|
20
26
|
* @experimental
|
@@ -28,5 +34,4 @@ export interface AdminTaxRegionResponse {
|
|
28
34
|
export interface AdminTaxRegionListResponse extends PaginatedResponse {
|
29
35
|
tax_regions: TaxRegionResponse[];
|
30
36
|
}
|
31
|
-
export {};
|
32
37
|
//# sourceMappingURL=tax-regions.d.ts.map
|
@@ -1 +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;
|
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;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,CAA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