@medusajs/types 1.12.0-snapshot-20240412124109 → 1.12.0-snapshot-20240426112214
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-key/common/api-key.d.ts +4 -0
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- 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/currency/common/currency.d.ts +4 -0
- package/dist/currency/common/currency.d.ts.map +1 -1
- package/dist/customer/common.d.ts +12 -0
- package/dist/customer/common.d.ts.map +1 -1
- package/dist/file/common.d.ts +11 -0
- package/dist/file/common.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/mutations.d.ts +2 -2
- package/dist/file/mutations.d.ts.map +1 -1
- package/dist/file/provider.d.ts +2 -2
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/providers/index.d.ts +3 -0
- package/dist/file/providers/index.d.ts.map +1 -0
- package/dist/file/providers/index.js +19 -0
- package/dist/file/providers/index.js.map +1 -0
- package/dist/file/providers/local.d.ts +5 -0
- package/dist/file/providers/local.d.ts.map +1 -0
- package/dist/file/providers/local.js +3 -0
- package/dist/file/providers/local.js.map +1 -0
- package/dist/file/providers/s3.d.ts +13 -0
- package/dist/file/providers/s3.d.ts.map +1 -0
- package/dist/file/providers/s3.js +3 -0
- package/dist/file/providers/s3.js.map +1 -0
- package/dist/file/service.d.ts +25 -1
- package/dist/file/service.d.ts.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/mutations/fulfillment.d.ts +4 -0
- package/dist/fulfillment/mutations/fulfillment.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/campaign/admin/campaign.d.ts +32 -0
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -0
- package/dist/http/campaign/admin/campaign.js +3 -0
- package/dist/http/campaign/admin/campaign.js.map +1 -0
- package/dist/http/campaign/admin/index.d.ts +2 -0
- package/dist/http/campaign/admin/index.d.ts.map +1 -0
- package/dist/http/campaign/admin/index.js +18 -0
- package/dist/http/campaign/admin/index.js.map +1 -0
- package/dist/http/campaign/index.d.ts +2 -0
- package/dist/http/campaign/index.d.ts.map +1 -0
- package/dist/http/campaign/index.js +18 -0
- package/dist/http/campaign/index.js.map +1 -0
- 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 +5 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +5 -0
- 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/promotion/admin/index.d.ts +4 -0
- package/dist/http/promotion/admin/index.d.ts.map +1 -0
- package/dist/http/promotion/admin/index.js +20 -0
- package/dist/http/promotion/admin/index.js.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts +23 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.js +3 -0
- package/dist/http/promotion/admin/promotion-rule.js.map +1 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +18 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -0
- package/dist/http/promotion/admin/rule-attribute-options.js +3 -0
- package/dist/http/promotion/admin/rule-attribute-options.js.map +1 -0
- package/dist/http/promotion/admin/rule-operator-options.d.ts +15 -0
- package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -0
- package/dist/http/promotion/admin/rule-operator-options.js +3 -0
- package/dist/http/promotion/admin/rule-operator-options.js.map +1 -0
- package/dist/http/promotion/index.d.ts +2 -0
- package/dist/http/promotion/index.d.ts.map +1 -0
- package/dist/http/promotion/index.js +18 -0
- package/dist/http/promotion/index.js.map +1 -0
- package/dist/http/reservation/admin/index.d.ts +2 -0
- package/dist/http/reservation/admin/index.d.ts.map +1 -0
- package/dist/http/reservation/admin/index.js +18 -0
- package/dist/http/reservation/admin/index.js.map +1 -0
- package/dist/http/reservation/admin/reservation.d.ts +33 -0
- package/dist/http/reservation/admin/reservation.d.ts.map +1 -0
- package/dist/http/reservation/admin/reservation.js +3 -0
- package/dist/http/reservation/admin/reservation.js.map +1 -0
- package/dist/http/reservation/index.d.ts +2 -0
- package/dist/http/reservation/index.d.ts.map +1 -0
- package/dist/http/reservation/index.js +18 -0
- package/dist/http/reservation/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/inventory/common/inventory-item.d.ts +4 -4
- package/dist/inventory/common/inventory-item.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/order/mutations.d.ts +53 -1
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/mutations.js +1 -1
- package/dist/order/mutations.js.map +1 -1
- package/dist/order/service.d.ts +12 -8
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +4 -0
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/pricing/common/price-list.d.ts +8 -4
- package/dist/pricing/common/price-list.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 +38 -14
- package/dist/product/common.d.ts.map +1 -1
- package/dist/promotion/common/campaign.d.ts +4 -0
- package/dist/promotion/common/campaign.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +4 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/http.d.ts +2 -1
- package/dist/promotion/http.d.ts.map +1 -1
- package/dist/region/common.d.ts +4 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/sales-channel/common.d.ts +4 -0
- package/dist/sales-channel/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/store/common/store.d.ts +4 -0
- package/dist/store/common/store.d.ts.map +1 -1
- package/dist/tax/common.d.ts +8 -0
- package/dist/tax/common.d.ts.map +1 -1
- package/dist/user/common.d.ts +4 -0
- package/dist/user/common.d.ts.map +1 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +151 -0
- package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-fulfillment.js +3 -0
- package/dist/workflow/fulfillment/create-fulfillment.js.map +1 -0
- package/dist/workflow/fulfillment/create-shipment.d.ts +15 -0
- package/dist/workflow/fulfillment/create-shipment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-shipment.js +3 -0
- package/dist/workflow/fulfillment/create-shipment.js.map +1 -0
- package/dist/workflow/fulfillment/index.d.ts +4 -1
- package/dist/workflow/fulfillment/index.d.ts.map +1 -1
- package/dist/workflow/fulfillment/index.js +4 -1
- package/dist/workflow/fulfillment/index.js.map +1 -1
- package/dist/workflow/fulfillment/update-fulfillment.d.ts +34 -0
- package/dist/workflow/fulfillment/update-fulfillment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/update-fulfillment.js +3 -0
- package/dist/workflow/fulfillment/update-fulfillment.js.map +1 -0
- 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 +12 -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
@@ -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;IACxB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ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AC,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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
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("./promotion-rule"), exports);
|
18
|
+
__exportStar(require("./rule-attribute-options"), exports);
|
19
|
+
__exportStar(require("./rule-operator-options"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,2DAAwC;AACxC,0DAAuC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* @experimental
|
3
|
+
*/
|
4
|
+
export interface PromotionRuleResponse {
|
5
|
+
id: string;
|
6
|
+
attribute: string;
|
7
|
+
attribute_label: string;
|
8
|
+
field_type: string;
|
9
|
+
operator: string;
|
10
|
+
operator_label: string;
|
11
|
+
values: {
|
12
|
+
value: string;
|
13
|
+
}[];
|
14
|
+
disguised: boolean;
|
15
|
+
required: boolean;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @experimental
|
19
|
+
*/
|
20
|
+
export interface AdminPromotionRuleListResponse {
|
21
|
+
attributes: PromotionRuleResponse[];
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=promotion-rule.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/promotion-rule.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,UAAU,EAAE,qBAAqB,EAAE,CAAA;CACpC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"promotion-rule.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/promotion-rule.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* @experimental
|
3
|
+
*/
|
4
|
+
export interface RuleAttributeOptionsResponse {
|
5
|
+
id: string;
|
6
|
+
value: string;
|
7
|
+
label: string;
|
8
|
+
field_type: string;
|
9
|
+
required: boolean;
|
10
|
+
disguised: boolean;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @experimental
|
14
|
+
*/
|
15
|
+
export interface AdminRuleAttributeOptionsListResponse {
|
16
|
+
attributes: RuleAttributeOptionsResponse[];
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=rule-attribute-options.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule-attribute-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,UAAU,EAAE,4BAA4B,EAAE,CAAA;CAC3C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule-attribute-options.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* @experimental
|
3
|
+
*/
|
4
|
+
export interface RuleOperatorOptionsResponse {
|
5
|
+
id: string;
|
6
|
+
value: string;
|
7
|
+
label: string;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* @experimental
|
11
|
+
*/
|
12
|
+
export interface AdminRuleOperatorOptionsListResponse {
|
13
|
+
operators: RuleOperatorOptionsResponse[];
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=rule-operator-options.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule-operator-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-operator-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,2BAA2B,EAAE,CAAA;CACzC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule-operator-options.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-operator-options.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/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/promotion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/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("./reservation"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { PaginatedResponse } from "../../../common";
|
2
|
+
/**
|
3
|
+
* @experimental
|
4
|
+
*/
|
5
|
+
interface ReservationResponse {
|
6
|
+
id: string;
|
7
|
+
line_item_id: string | null;
|
8
|
+
location_id: string;
|
9
|
+
quantity: string;
|
10
|
+
external_id: string | null;
|
11
|
+
description: string | null;
|
12
|
+
inventory_item_id: string;
|
13
|
+
inventory_item: Record<string, unknown>;
|
14
|
+
metadata?: Record<string, unknown>;
|
15
|
+
created_by?: string | null;
|
16
|
+
deleted_at?: Date | string | null;
|
17
|
+
created_at?: Date | string;
|
18
|
+
updated_at?: Date | string;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* @experimental
|
22
|
+
*/
|
23
|
+
export interface AdminReservationResponse {
|
24
|
+
reservation: ReservationResponse;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* @experimental
|
28
|
+
*/
|
29
|
+
export interface AdminReservationListResponse extends PaginatedResponse {
|
30
|
+
reservations: ReservationResponse[];
|
31
|
+
}
|
32
|
+
export {};
|
33
|
+
//# sourceMappingURL=reservation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reservation.d.ts","sourceRoot":"","sources":["../../../../src/http/reservation/admin/reservation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,mBAAmB,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,iBAAiB;IACrE,YAAY,EAAE,mBAAmB,EAAE,CAAA;CACpC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reservation.js","sourceRoot":"","sources":["../../../../src/http/reservation/admin/reservation.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/reservation/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/reservation/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"}
|