@medusajs/types 1.12.0-snapshot-20240409114424 → 1.12.0-snapshot-20240423083106
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 +0 -2
- 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/customer/mutations.d.ts +2 -18
- package/dist/customer/mutations.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/geo-zone.d.ts +0 -4
- package/dist/fulfillment/mutations/geo-zone.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 +18 -0
- package/dist/http/common/deleted-response.d.ts.map +1 -0
- package/dist/http/common/deleted-response.js +3 -0
- package/dist/http/common/deleted-response.js.map +1 -0
- package/dist/http/common/index.d.ts +1 -0
- package/dist/http/common/index.d.ts.map +1 -1
- package/dist/http/common/index.js +1 -0
- package/dist/http/common/index.js.map +1 -1
- package/dist/http/customer/admin/customer.d.ts +3 -0
- package/dist/http/customer/admin/customer.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 +13 -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 +3 -1
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +3 -1
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/index.d.ts +3 -0
- package/dist/http/inventory/index.d.ts.map +1 -0
- package/dist/http/inventory/index.js +19 -0
- package/dist/http/inventory/index.js.map +1 -0
- package/dist/http/inventory/inventory-level.d.ts +26 -0
- package/dist/http/inventory/inventory-level.d.ts.map +1 -0
- package/dist/http/inventory/inventory-level.js +3 -0
- package/dist/http/inventory/inventory-level.js.map +1 -0
- package/dist/http/inventory/inventory.d.ts +32 -0
- package/dist/http/inventory/inventory.d.ts.map +1 -0
- package/dist/http/inventory/inventory.js +3 -0
- package/dist/http/inventory/inventory.js.map +1 -0
- 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/inventory/common/inventory-level.d.ts.map +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
- package/dist/inventory/service-next.d.ts +31 -0
- package/dist/inventory/service-next.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +10 -10
- 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/promotion/common/application-method.d.ts +0 -6
- package/dist/promotion/common/application-method.d.ts.map +1 -1
- package/dist/promotion/common/campaign-budget.d.ts +0 -2
- package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +0 -4
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/promotion/common/promotion-rule.d.ts +0 -2
- package/dist/promotion/common/promotion-rule.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +0 -2
- package/dist/promotion/common/promotion.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/tax/provider.d.ts +2 -0
- package/dist/tax/provider.d.ts.map +1 -1
- package/dist/workflow/fulfillment/delete-shipping-options.d.ts +4 -0
- package/dist/workflow/fulfillment/delete-shipping-options.d.ts.map +1 -0
- package/dist/workflow/fulfillment/delete-shipping-options.js +3 -0
- package/dist/workflow/fulfillment/delete-shipping-options.js.map +1 -0
- package/dist/workflow/fulfillment/index.d.ts +1 -0
- package/dist/workflow/fulfillment/index.d.ts.map +1 -1
- package/dist/workflow/fulfillment/index.js +1 -0
- package/dist/workflow/fulfillment/index.js.map +1 -1
- package/dist/workflow/fulfillment/update-shipping-options.d.ts +6 -4
- package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -1
- package/dist/workflow/index.d.ts +6 -4
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +7 -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/workflow/reservation/create-reservations.d.ts +6 -0
- package/dist/workflow/reservation/create-reservations.d.ts.map +1 -0
- package/dist/workflow/reservation/create-reservations.js +3 -0
- package/dist/workflow/reservation/create-reservations.js.map +1 -0
- package/dist/workflow/reservation/index.d.ts +3 -0
- package/dist/workflow/reservation/index.d.ts.map +1 -0
- package/dist/workflow/reservation/index.js +19 -0
- package/dist/workflow/reservation/index.js.map +1 -0
- package/dist/workflow/reservation/update-reservations.d.ts +6 -0
- package/dist/workflow/reservation/update-reservations.d.ts.map +1 -0
- package/dist/workflow/reservation/update-reservations.js +3 -0
- package/dist/workflow/reservation/update-reservations.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":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,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,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,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,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;IAEzB,SAAS,EAAE,eAAe,EAAE,CAAA;IAE5B,MAAM,EAAE,iBAAiB,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/common/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;
|
1
|
+
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/common/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAErC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CACjD"}
|
@@ -10,7 +10,7 @@ export interface CreateInventoryLevelInput {
|
|
10
10
|
/**
|
11
11
|
* The stocked quantity of the associated inventory item in the associated location.
|
12
12
|
*/
|
13
|
-
stocked_quantity
|
13
|
+
stocked_quantity?: number;
|
14
14
|
/**
|
15
15
|
* The reserved quantity of the associated inventory item in the associated location.
|
16
16
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/inventory-level.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/inventory-level.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;CACpB,GAAG,yBAAyB,CAAA"}
|
@@ -642,6 +642,37 @@ export interface IInventoryServiceNext extends IModuleService {
|
|
642
642
|
* )
|
643
643
|
*/
|
644
644
|
deleteReservationItems(reservationItemId: string | string[], context?: Context): Promise<void>;
|
645
|
+
/**
|
646
|
+
* This method soft deletes reservations by their IDs.
|
647
|
+
*
|
648
|
+
* @param {string[]} inventoryLevelIds - The reservations' IDs.
|
649
|
+
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
650
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
651
|
+
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
652
|
+
* If there are no related records, the promise resolves to `void`.
|
653
|
+
*
|
654
|
+
* @example
|
655
|
+
* await inventoryModuleService.softDeleteReservationItems([
|
656
|
+
* "ilev_123",
|
657
|
+
* ])
|
658
|
+
*/
|
659
|
+
softDeleteReservationItems<TReturnableLinkableKeys extends string = string>(ReservationItemIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
660
|
+
/**
|
661
|
+
* This method restores soft deleted reservations by their IDs.
|
662
|
+
*
|
663
|
+
* @param {string[]} ReservationItemIds - The reservations' IDs.
|
664
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the reservation. You can pass to its `returnLinkableKeys`
|
665
|
+
* property any of the reservation's relation attribute names, such as `{type relation name}`.
|
666
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
667
|
+
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
|
668
|
+
* If there are no related records restored, the promise resolves to `void`.
|
669
|
+
*
|
670
|
+
* @example
|
671
|
+
* await inventoryModuleService.restoreReservationItems([
|
672
|
+
* "ilev_123",
|
673
|
+
* ])
|
674
|
+
*/
|
675
|
+
restoreReservationItems<TReturnableLinkableKeys extends string = string>(ReservationItemIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
645
676
|
/**
|
646
677
|
* This method deletes inventory items by their IDs.
|
647
678
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;
|
1
|
+
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAEjC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,IAAI,CACF,QAAQ,EAAE,aAAa,CAAC,4BAA4B,EACpD,MAAM,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,EACnD,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgDG;I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AAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;OAcG;IACH,yBAAyB,CACvB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CACrB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,wBAAwB,CACtB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;CACnB"}
|
@@ -98,15 +98,6 @@ export type ModulesResponse = {
|
|
98
98
|
module: string;
|
99
99
|
resolution: string | false;
|
100
100
|
}[];
|
101
|
-
export type LinkModulesExtraFields = Record<string, {
|
102
|
-
type: "date" | "time" | "datetime" | "bigint" | "blob" | "uint8array" | "array" | "enumArray" | "enum" | "json" | "integer" | "smallint" | "tinyint" | "mediumint" | "float" | "double" | "boolean" | "decimal" | "string" | "uuid" | "text";
|
103
|
-
defaultValue?: string;
|
104
|
-
nullable?: boolean;
|
105
|
-
/**
|
106
|
-
* Mikro-orm options for the column
|
107
|
-
*/
|
108
|
-
options?: Record<string, unknown>;
|
109
|
-
}>;
|
110
101
|
export type ModuleJoinerConfig = Omit<JoinerServiceConfig, "serviceName" | "primaryKeys" | "relationships" | "extends"> & {
|
111
102
|
/**
|
112
103
|
* GraphQL schema for the all module's available entities and fields
|
@@ -145,7 +136,15 @@ export type ModuleJoinerConfig = Omit<JoinerServiceConfig, "serviceName" | "prim
|
|
145
136
|
* Prefix for the id column. If not provided it is "link"
|
146
137
|
*/
|
147
138
|
idPrefix?: string;
|
148
|
-
extraFields?:
|
139
|
+
extraFields?: Record<string, {
|
140
|
+
type: "date" | "time" | "datetime" | "bigint" | "blob" | "uint8array" | "array" | "enumArray" | "enum" | "json" | "integer" | "smallint" | "tinyint" | "mediumint" | "float" | "double" | "boolean" | "decimal" | "string" | "uuid" | "text";
|
141
|
+
defaultValue?: string;
|
142
|
+
nullable?: boolean;
|
143
|
+
/**
|
144
|
+
* Mikro-orm options for the column
|
145
|
+
*/
|
146
|
+
options?: Record<string, unknown>;
|
147
|
+
}>;
|
149
148
|
};
|
150
149
|
};
|
151
150
|
export declare type ModuleJoinerRelationship = JoinerRelationship & {
|
@@ -211,6 +210,7 @@ export interface IModuleService {
|
|
211
210
|
__hooks?: {
|
212
211
|
onApplicationStart?: () => Promise<void>;
|
213
212
|
onApplicationShutdown?: () => Promise<void>;
|
213
|
+
onApplicationPrepareShutdown?: () => Promise<void>;
|
214
214
|
};
|
215
215
|
}
|
216
216
|
//# sourceMappingURL=index.d.ts.map
|
@@ -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,MAA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