@medusajs/types 1.12.0-snapshot-20241016151300 → 2.0.0-preview-20241022100028
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 +8 -0
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +3 -3
- package/dist/common/index.js.map +1 -1
- package/dist/http/api-key/admin/responses.d.ts +2 -0
- package/dist/http/api-key/admin/responses.d.ts.map +1 -1
- package/dist/http/campaign/admin/responses.d.ts +3 -0
- package/dist/http/campaign/admin/responses.d.ts.map +1 -1
- package/dist/http/cart/store/entities.d.ts +39 -0
- package/dist/http/cart/store/entities.d.ts.map +1 -1
- package/dist/http/cart/store/payloads.d.ts +74 -0
- package/dist/http/cart/store/payloads.d.ts.map +1 -1
- package/dist/http/cart/store/responses.d.ts +28 -0
- package/dist/http/cart/store/responses.d.ts.map +1 -1
- package/dist/http/collection/common.d.ts +44 -2
- package/dist/http/collection/common.d.ts.map +1 -1
- package/dist/http/collection/store/entities.d.ts +3 -0
- package/dist/http/collection/store/entities.d.ts.map +1 -1
- package/dist/http/collection/store/queries.d.ts +0 -2
- package/dist/http/collection/store/queries.d.ts.map +1 -1
- package/dist/http/collection/store/responses.d.ts +6 -0
- package/dist/http/collection/store/responses.d.ts.map +1 -1
- package/dist/http/common/request.d.ts +17 -0
- package/dist/http/common/request.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +9 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +240 -0
- package/dist/http/customer/common.d.ts.map +1 -1
- package/dist/http/customer/store/entities.d.ts +3 -0
- package/dist/http/customer/store/entities.d.ts.map +1 -1
- package/dist/http/customer/store/responses.d.ts +9 -0
- package/dist/http/customer/store/responses.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.d.ts +0 -4
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/fulfillment/store/index.d.ts +54 -1
- package/dist/http/fulfillment/store/index.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +24 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +12 -0
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/admin/responses.d.ts +4 -1
- package/dist/http/order/admin/responses.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +630 -0
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/order/store/entities.d.ts +39 -0
- package/dist/http/order/store/entities.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +6 -0
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/order/store/responses.d.ts +6 -0
- package/dist/http/order/store/responses.d.ts.map +1 -1
- package/dist/http/payment/common.d.ts +3 -0
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/store/entities.d.ts +9 -0
- package/dist/http/payment/store/entities.d.ts.map +1 -1
- package/dist/http/payment/store/payloads.d.ts +18 -0
- package/dist/http/payment/store/payloads.d.ts.map +1 -1
- package/dist/http/payment/store/queries.d.ts +3 -0
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/payment/store/responses.d.ts +6 -0
- package/dist/http/payment/store/responses.d.ts.map +1 -1
- package/dist/http/product/admin/payloads.d.ts +3 -1
- package/dist/http/product/admin/payloads.d.ts.map +1 -1
- package/dist/http/product/common.d.ts +268 -0
- package/dist/http/product/common.d.ts.map +1 -1
- package/dist/http/product/store/entitites.d.ts +36 -0
- package/dist/http/product/store/entitites.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +19 -1
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product/store/responses.d.ts +6 -0
- package/dist/http/product/store/responses.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +94 -0
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store/entities.d.ts +9 -0
- package/dist/http/product-category/store/entities.d.ts.map +1 -1
- package/dist/http/product-category/store/queries.d.ts +1 -1
- package/dist/http/product-category/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/store/responses.d.ts +6 -0
- package/dist/http/product-category/store/responses.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +3 -0
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +69 -0
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/region/store/responses.d.ts +6 -0
- package/dist/http/region/store/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/store/queries.d.ts +8 -0
- package/dist/http/shipping-option/store/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/store/responses.d.ts +2 -2
- package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
- package/dist/index-data/common.d.ts +1 -1
- package/dist/inventory/service.d.ts +41 -9
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +0 -1
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/module-provider.d.ts +1 -1
- package/dist/modules-sdk/module-provider.d.ts.map +1 -1
- package/dist/notification/common.d.ts +19 -0
- package/dist/notification/common.d.ts.map +1 -1
- package/dist/notification/mutations.d.ts +5 -0
- package/dist/notification/mutations.d.ts.map +1 -1
- package/dist/notification/provider.d.ts +5 -1
- package/dist/notification/provider.d.ts.map +1 -1
- package/dist/order/common.d.ts +0 -49
- package/dist/order/common.d.ts.map +1 -1
- package/dist/product/common.d.ts +8 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/tax/mutations.d.ts +17 -0
- package/dist/tax/mutations.d.ts.map +1 -1
- package/dist/tax/service.d.ts +34 -1
- package/dist/tax/service.d.ts.map +1 -1
- package/package.json +1 -1
@@ -9,39 +9,138 @@ export interface BaseCustomerGroup {
|
|
9
9
|
updated_at: string;
|
10
10
|
}
|
11
11
|
export interface BaseCustomerAddress {
|
12
|
+
/**
|
13
|
+
* The address's ID.
|
14
|
+
*/
|
12
15
|
id: string;
|
16
|
+
/**
|
17
|
+
* The address's name.
|
18
|
+
*/
|
13
19
|
address_name: string | null;
|
20
|
+
/**
|
21
|
+
* Whether the address is used by default for shipping.
|
22
|
+
*/
|
14
23
|
is_default_shipping: boolean;
|
24
|
+
/**
|
25
|
+
* Whether the address is used by default for billing.
|
26
|
+
*/
|
15
27
|
is_default_billing: boolean;
|
28
|
+
/**
|
29
|
+
* The ID of the customer that the address belongs to.
|
30
|
+
*/
|
16
31
|
customer_id: string;
|
32
|
+
/**
|
33
|
+
* The address's company.
|
34
|
+
*/
|
17
35
|
company: string | null;
|
36
|
+
/**
|
37
|
+
* The address's first name.
|
38
|
+
*/
|
18
39
|
first_name: string | null;
|
40
|
+
/**
|
41
|
+
* The address's last name.
|
42
|
+
*/
|
19
43
|
last_name: string | null;
|
44
|
+
/**
|
45
|
+
* The address's first line.
|
46
|
+
*/
|
20
47
|
address_1: string | null;
|
48
|
+
/**
|
49
|
+
* The address's second line.
|
50
|
+
*/
|
21
51
|
address_2: string | null;
|
52
|
+
/**
|
53
|
+
* The address's city.
|
54
|
+
*/
|
22
55
|
city: string | null;
|
56
|
+
/**
|
57
|
+
* The address's country code.
|
58
|
+
*
|
59
|
+
* @example
|
60
|
+
* us
|
61
|
+
*/
|
23
62
|
country_code: string | null;
|
63
|
+
/**
|
64
|
+
* The address's province.
|
65
|
+
*/
|
24
66
|
province: string | null;
|
67
|
+
/**
|
68
|
+
* The address's postal code.
|
69
|
+
*/
|
25
70
|
postal_code: string | null;
|
71
|
+
/**
|
72
|
+
* The address's phone.
|
73
|
+
*/
|
26
74
|
phone: string | null;
|
75
|
+
/**
|
76
|
+
* Key-value pairs of custom data.
|
77
|
+
*/
|
27
78
|
metadata: Record<string, unknown> | null;
|
79
|
+
/**
|
80
|
+
* The date the address was created.
|
81
|
+
*/
|
28
82
|
created_at: string;
|
83
|
+
/**
|
84
|
+
* The date the address was updated.
|
85
|
+
*/
|
29
86
|
updated_at: string;
|
30
87
|
}
|
31
88
|
export interface BaseCustomer {
|
89
|
+
/**
|
90
|
+
* The customer's ID.
|
91
|
+
*/
|
32
92
|
id: string;
|
93
|
+
/**
|
94
|
+
* The customer's email.
|
95
|
+
*/
|
33
96
|
email: string;
|
97
|
+
/**
|
98
|
+
* The ID of the customer's default billing address.
|
99
|
+
*/
|
34
100
|
default_billing_address_id: string | null;
|
101
|
+
/**
|
102
|
+
* The ID of the customer's default shipping address.
|
103
|
+
*/
|
35
104
|
default_shipping_address_id: string | null;
|
105
|
+
/**
|
106
|
+
* The customer's company name.
|
107
|
+
*/
|
36
108
|
company_name: string | null;
|
109
|
+
/**
|
110
|
+
* The customer's first name.
|
111
|
+
*/
|
37
112
|
first_name: string | null;
|
113
|
+
/**
|
114
|
+
* The customer's last name.
|
115
|
+
*/
|
38
116
|
last_name: string | null;
|
117
|
+
/**
|
118
|
+
* The customer's addresses
|
119
|
+
*/
|
39
120
|
addresses: BaseCustomerAddress[];
|
121
|
+
/**
|
122
|
+
* The customer's phone.
|
123
|
+
*/
|
40
124
|
phone?: string | null;
|
125
|
+
/**
|
126
|
+
* Key-value pairs of custom data.
|
127
|
+
*/
|
41
128
|
metadata?: Record<string, unknown>;
|
129
|
+
/**
|
130
|
+
* The ID of the user that created the customer.
|
131
|
+
*/
|
42
132
|
created_by?: string | null;
|
133
|
+
/**
|
134
|
+
* The date the customer was deleted.
|
135
|
+
*/
|
43
136
|
deleted_at?: Date | string | null;
|
137
|
+
/**
|
138
|
+
* The date the customer was created.
|
139
|
+
*/
|
44
140
|
created_at?: Date | string;
|
141
|
+
/**
|
142
|
+
* The date the customer was updated.
|
143
|
+
*/
|
45
144
|
updated_at?: Date | string;
|
46
145
|
}
|
47
146
|
export interface CustomerGroupInCustomerFilters {
|
@@ -64,58 +163,199 @@ export interface BaseCustomerFilters extends FindParams, BaseFilterable<BaseCust
|
|
64
163
|
deleted_at?: OperatorMap<string>;
|
65
164
|
}
|
66
165
|
export interface BaseCustomerAddressFilters extends BaseFilterable<BaseCustomerAddressFilters> {
|
166
|
+
/**
|
167
|
+
* A query or keyword to search the address's searchable fields.
|
168
|
+
*/
|
67
169
|
q?: string;
|
170
|
+
/**
|
171
|
+
* Filter by company name(s).
|
172
|
+
*/
|
68
173
|
company?: string[] | string;
|
174
|
+
/**
|
175
|
+
* Filter by cities.
|
176
|
+
*/
|
69
177
|
city?: string[] | string;
|
178
|
+
/**
|
179
|
+
* Filter by country code(s).
|
180
|
+
*/
|
70
181
|
country_code?: string[] | string;
|
182
|
+
/**
|
183
|
+
* Filter by province(s).
|
184
|
+
*/
|
71
185
|
province?: string[] | string;
|
186
|
+
/**
|
187
|
+
* Filter by postal code(s).
|
188
|
+
*/
|
72
189
|
postal_code?: string[] | string;
|
73
190
|
}
|
74
191
|
export interface BaseCreateCustomer {
|
192
|
+
/**
|
193
|
+
* The customer's email.
|
194
|
+
*/
|
75
195
|
email: string;
|
196
|
+
/**
|
197
|
+
* The customer's company name.
|
198
|
+
*/
|
76
199
|
company_name?: string;
|
200
|
+
/**
|
201
|
+
* The customer's first name.
|
202
|
+
*/
|
77
203
|
first_name?: string;
|
204
|
+
/**
|
205
|
+
* The customer's last name.
|
206
|
+
*/
|
78
207
|
last_name?: string;
|
208
|
+
/**
|
209
|
+
* The customer's phone.
|
210
|
+
*/
|
79
211
|
phone?: string;
|
212
|
+
/**
|
213
|
+
* Key-value pairs of custom data.
|
214
|
+
*/
|
80
215
|
metadata?: Record<string, unknown>;
|
81
216
|
}
|
82
217
|
export interface BaseUpdateCustomer {
|
218
|
+
/**
|
219
|
+
* The customer's company name.
|
220
|
+
*/
|
83
221
|
company_name?: string;
|
222
|
+
/**
|
223
|
+
* The customer's first name.
|
224
|
+
*/
|
84
225
|
first_name?: string;
|
226
|
+
/**
|
227
|
+
* The customer's last name.
|
228
|
+
*/
|
85
229
|
last_name?: string;
|
230
|
+
/**
|
231
|
+
* The customer's phone.
|
232
|
+
*/
|
86
233
|
phone?: string;
|
234
|
+
/**
|
235
|
+
* Key-value pairs of custom data.
|
236
|
+
*/
|
87
237
|
metadata?: Record<string, unknown>;
|
88
238
|
}
|
89
239
|
export interface BaseCreateCustomerAddress {
|
240
|
+
/**
|
241
|
+
* The address's first name.
|
242
|
+
*/
|
90
243
|
first_name?: string;
|
244
|
+
/**
|
245
|
+
* The address's last name.
|
246
|
+
*/
|
91
247
|
last_name?: string;
|
248
|
+
/**
|
249
|
+
* The address's phone.
|
250
|
+
*/
|
92
251
|
phone?: string;
|
252
|
+
/**
|
253
|
+
* The address's company.
|
254
|
+
*/
|
93
255
|
company?: string;
|
256
|
+
/**
|
257
|
+
* The address's first line.
|
258
|
+
*/
|
94
259
|
address_1?: string;
|
260
|
+
/**
|
261
|
+
* The address's second line.
|
262
|
+
*/
|
95
263
|
address_2?: string;
|
264
|
+
/**
|
265
|
+
* The address's city.
|
266
|
+
*/
|
96
267
|
city?: string;
|
268
|
+
/**
|
269
|
+
* The address's country code.
|
270
|
+
*
|
271
|
+
* @example
|
272
|
+
* us
|
273
|
+
*/
|
97
274
|
country_code?: string;
|
275
|
+
/**
|
276
|
+
* The address's province.
|
277
|
+
*/
|
98
278
|
province?: string;
|
279
|
+
/**
|
280
|
+
* The address's postal code.
|
281
|
+
*/
|
99
282
|
postal_code?: string;
|
283
|
+
/**
|
284
|
+
* Key-value pairs of custom data.
|
285
|
+
*/
|
100
286
|
metadata?: Record<string, unknown>;
|
287
|
+
/**
|
288
|
+
* The address's name.
|
289
|
+
*/
|
101
290
|
address_name?: string;
|
291
|
+
/**
|
292
|
+
* Whether the address is used by default for shipping.
|
293
|
+
*/
|
102
294
|
is_default_shipping?: boolean;
|
295
|
+
/**
|
296
|
+
* Whether the address is used by default for billing.
|
297
|
+
*/
|
103
298
|
is_default_billing?: boolean;
|
104
299
|
}
|
105
300
|
export interface BaseUpdateCustomerAddress {
|
301
|
+
/**
|
302
|
+
* The address's first name.
|
303
|
+
*/
|
106
304
|
first_name?: string;
|
305
|
+
/**
|
306
|
+
* The address's last name.
|
307
|
+
*/
|
107
308
|
last_name?: string;
|
309
|
+
/**
|
310
|
+
* The address's phone.
|
311
|
+
*/
|
108
312
|
phone?: string;
|
313
|
+
/**
|
314
|
+
* The address's company.
|
315
|
+
*/
|
109
316
|
company?: string;
|
317
|
+
/**
|
318
|
+
* The address's first line.
|
319
|
+
*/
|
110
320
|
address_1?: string;
|
321
|
+
/**
|
322
|
+
* The address's second line.
|
323
|
+
*/
|
111
324
|
address_2?: string;
|
325
|
+
/**
|
326
|
+
* The address's city.
|
327
|
+
*/
|
112
328
|
city?: string;
|
329
|
+
/**
|
330
|
+
* The address's country code.
|
331
|
+
*
|
332
|
+
* @example
|
333
|
+
* us
|
334
|
+
*/
|
113
335
|
country_code?: string;
|
336
|
+
/**
|
337
|
+
* The address's province.
|
338
|
+
*/
|
114
339
|
province?: string;
|
340
|
+
/**
|
341
|
+
* The address's postal code.
|
342
|
+
*/
|
115
343
|
postal_code?: string;
|
344
|
+
/**
|
345
|
+
* Key-value pairs of custom data.
|
346
|
+
*/
|
116
347
|
metadata?: Record<string, unknown> | null;
|
348
|
+
/**
|
349
|
+
* The address's name.
|
350
|
+
*/
|
117
351
|
address_name?: string;
|
352
|
+
/**
|
353
|
+
* Whether the address is used by default for shipping.
|
354
|
+
*/
|
118
355
|
is_default_shipping?: boolean;
|
356
|
+
/**
|
357
|
+
* Whether the address is used by default for billing.
|
358
|
+
*/
|
119
359
|
is_default_billing?: boolean;
|
120
360
|
}
|
121
361
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/customer/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE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CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B"}
|
@@ -1,5 +1,8 @@
|
|
1
1
|
import { BaseCustomer, BaseCustomerAddress } from "../common";
|
2
2
|
export interface StoreCustomer extends Omit<BaseCustomer, "created_by"> {
|
3
|
+
/**
|
4
|
+
* The customer's address.
|
5
|
+
*/
|
3
6
|
addresses: StoreCustomerAddress[];
|
4
7
|
}
|
5
8
|
export interface StoreCustomerAddress extends BaseCustomerAddress {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE7D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IACrE,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE7D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IACrE;;OAEG;IACH,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG"}
|
@@ -1,12 +1,21 @@
|
|
1
1
|
import { DeleteResponseWithParent, PaginatedResponse } from "../../common";
|
2
2
|
import { StoreCustomer, StoreCustomerAddress } from "./entities";
|
3
3
|
export interface StoreCustomerResponse {
|
4
|
+
/**
|
5
|
+
* The customer's details.
|
6
|
+
*/
|
4
7
|
customer: StoreCustomer;
|
5
8
|
}
|
6
9
|
export interface StoreCustomerAddressResponse {
|
10
|
+
/**
|
11
|
+
* The address's details.
|
12
|
+
*/
|
7
13
|
address: StoreCustomerAddress;
|
8
14
|
}
|
9
15
|
export interface StoreCustomerAddressListResponse extends PaginatedResponse<{
|
16
|
+
/**
|
17
|
+
* The paginated list of addresses.
|
18
|
+
*/
|
10
19
|
addresses: StoreCustomerAddress[];
|
11
20
|
}> {
|
12
21
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAC;CAAG;AAEP,MAAM,MAAM,kCAAkC,GAAG,wBAAwB,CACvE,SAAS,EACT,aAAa,CACd,CAAA"}
|
@@ -38,10 +38,6 @@ export interface AdminCreateExchange {
|
|
38
38
|
internal_note?: string;
|
39
39
|
metadata?: Record<string, unknown> | null;
|
40
40
|
}
|
41
|
-
export interface AdminAddExchangeItems extends AdminExchangeAddItems {
|
42
|
-
}
|
43
|
-
export interface AdminUpdateExchangeItem extends AdminExchangeUpdateItem {
|
44
|
-
}
|
45
41
|
export interface AdminAddExchangeInboundItems extends AdminExchangeAddItems {
|
46
42
|
}
|
47
43
|
export interface AdminUpdateExchangeInboundItem extends AdminExchangeUpdateItem {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/payloads.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc;IACjB,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;CAChB;AAED,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MAAM,WAAW,4BAA6B,SAAQ,qBAAqB;CAAG;AAC9E,MAAM,WAAW,8BACf,SAAQ,uBAAuB;CAAG;AAEpC,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;CAAG;AAC/E,MAAM,WAAW,+BACf,SAAQ,uBAAuB;CAAG;AAEpC,MAAM,WAAW,+BACf,SAAQ,8BAA8B;CAAG;AAC3C,MAAM,WAAW,kCACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,gCACf,SAAQ,8BAA8B;CAAG;AAC3C,MAAM,WAAW,mCACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,oBAAoB;IACnC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
|
@@ -1,21 +1,74 @@
|
|
1
|
+
import { ShippingOptionPriceType } from "../../../fulfillment";
|
1
2
|
export interface StoreCartShippingOption {
|
3
|
+
/**
|
4
|
+
* The shipping option's ID.
|
5
|
+
*/
|
2
6
|
id: string;
|
7
|
+
/**
|
8
|
+
* The shipping option's name.
|
9
|
+
*/
|
3
10
|
name: string;
|
4
|
-
|
11
|
+
/**
|
12
|
+
* The type of the shipping option's price. `flat` means the price
|
13
|
+
* is fixed, whereas `calculated` means the price is calculated by the
|
14
|
+
* associated fulfillment provider.
|
15
|
+
*/
|
16
|
+
price_type: ShippingOptionPriceType;
|
17
|
+
/**
|
18
|
+
* The ID of the associated service zone.
|
19
|
+
*/
|
5
20
|
service_zone_id: string;
|
21
|
+
/**
|
22
|
+
* The ID of the associated shipping profile.
|
23
|
+
*/
|
6
24
|
shipping_profile_id: string;
|
25
|
+
/**
|
26
|
+
* The ID of the fulfillment provider used to handle shipping.
|
27
|
+
*/
|
7
28
|
provider_id: string;
|
29
|
+
/**
|
30
|
+
* The data useful for the fulfillment provider when handling the shipment and fulfillment.
|
31
|
+
*
|
32
|
+
* Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property).
|
33
|
+
*/
|
8
34
|
data: Record<string, unknown> | null;
|
35
|
+
/**
|
36
|
+
* The shipping option's type.
|
37
|
+
*/
|
9
38
|
type: {
|
39
|
+
/**
|
40
|
+
* The type's ID.
|
41
|
+
*/
|
10
42
|
id: string;
|
43
|
+
/**
|
44
|
+
* The type's label.
|
45
|
+
*/
|
11
46
|
label: string;
|
47
|
+
/**
|
48
|
+
* The type's description.
|
49
|
+
*/
|
12
50
|
description: string;
|
51
|
+
/**
|
52
|
+
* The type's code.
|
53
|
+
*/
|
13
54
|
code: string;
|
14
55
|
};
|
56
|
+
/**
|
57
|
+
* The details of the associated fulfillment provider.
|
58
|
+
*/
|
15
59
|
provider: {
|
60
|
+
/**
|
61
|
+
* The fulfillment provider's ID.
|
62
|
+
*/
|
16
63
|
id: string;
|
64
|
+
/**
|
65
|
+
* Whether the fulfillment provider is enabled.
|
66
|
+
*/
|
17
67
|
is_enabled: boolean;
|
18
68
|
};
|
69
|
+
/**
|
70
|
+
* The shipping option's amount.
|
71
|
+
*/
|
19
72
|
amount: number;
|
20
73
|
}
|
21
74
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/store/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/store/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAI9D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,UAAU,EAAE,uBAAuB,CAAA;IACnC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAA;IAC3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC;;OAEG;IACH,IAAI,EAAE;QACJ;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;QACV;;WAEG;QACH,KAAK,EAAE,MAAM,CAAA;QACb;;WAEG;QACH,WAAW,EAAE,MAAM,CAAA;QACnB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD;;OAEG;IACH,QAAQ,EAAE;QACR;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;QACV;;WAEG;QACH,UAAU,EAAE,OAAO,CAAA;KACpB,CAAA;IACD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;CACf"}
|
@@ -24,12 +24,36 @@ export interface AdminOrderChange extends Omit<BaseOrderChange, "order" | "claim
|
|
24
24
|
exchange: AdminExchange;
|
25
25
|
actions: AdminOrderChangeAction[];
|
26
26
|
}
|
27
|
+
export interface AdminOrderItem {
|
28
|
+
order_id: string;
|
29
|
+
item_id: string;
|
30
|
+
version: number;
|
31
|
+
history: {
|
32
|
+
version: {
|
33
|
+
from: number;
|
34
|
+
to: number;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
item: AdminOrderLineItem;
|
38
|
+
}
|
27
39
|
export interface AdminOrderChangeAction extends Omit<BaseOrderChangeAction, "order_change" | "order"> {
|
28
40
|
order_change: AdminOrderChange;
|
29
41
|
order: AdminOrder | null;
|
30
42
|
}
|
31
43
|
export interface AdminOrderFulfillment extends BaseOrderFulfillment {
|
32
44
|
}
|
45
|
+
export interface AdminOrderItem {
|
46
|
+
order_id: string;
|
47
|
+
item_id: string;
|
48
|
+
version: number;
|
49
|
+
history: {
|
50
|
+
version: {
|
51
|
+
from: number;
|
52
|
+
to: number;
|
53
|
+
};
|
54
|
+
};
|
55
|
+
item: AdminOrderLineItem;
|
56
|
+
}
|
33
57
|
export interface AdminOrderLineItem extends Omit<BaseOrderLineItem, "variant" | "product"> {
|
34
58
|
variant?: AdminProductVariant;
|
35
59
|
product?: AdminProduct;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC1D,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;IAC7C,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAA;IACtC,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,gBAAgB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC3C,eAAe,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC1C,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B,gBAAgB,EAAE,wBAAwB,EAAE,CAAA;CAC7C;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,eAAe,EACf,OA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E,sBAAsB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACtE,gBAAgB,EAAE,CAAC,wBAAwB,GAAG;QAC5C,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAA;KACnC,CAAC,EAAE,CAAA;CACL"}
|
@@ -12,6 +12,18 @@ export interface AdminOrderFilters extends FindParams, BaseOrderFilters {
|
|
12
12
|
created_at?: OperatorMap<string>;
|
13
13
|
updated_at?: OperatorMap<string>;
|
14
14
|
}
|
15
|
+
export interface AdminOrderItemsFilters extends FindParams {
|
16
|
+
id?: string[] | string;
|
17
|
+
item_id?: string[] | string;
|
18
|
+
order_id?: string[] | string;
|
19
|
+
version?: number[] | number;
|
20
|
+
}
|
15
21
|
export interface AdminOrderChangesFilters extends BaseOrderChangesFilters {
|
16
22
|
}
|
23
|
+
export interface AdminOrderItemsFilters extends FindParams {
|
24
|
+
id?: string[] | string;
|
25
|
+
item_id?: string[] | string;
|
26
|
+
order_id?: string[] | string;
|
27
|
+
version?: number[] | number;
|
28
|
+
}
|
17
29
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAErE,MAAM,WAAW,iBAAkB,SAAQ,UAAU,EAAE,gBAAgB;IACrE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC,cAAc,CAAC,EAAE,aAAa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M,EAAE,GAAG,MAAM,CAAA;CAC5B;AAED,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CAC5B"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PaginatedResponse } from "../../common";
|
2
|
-
import { AdminOrder, AdminOrderChange, AdminOrderPreview } from "./entities";
|
2
|
+
import { AdminOrder, AdminOrderChange, AdminOrderItem, AdminOrderPreview } from "./entities";
|
3
3
|
export interface AdminOrderResponse {
|
4
4
|
order: AdminOrder;
|
5
5
|
}
|
@@ -9,6 +9,9 @@ export interface AdminOrderChangesResponse {
|
|
9
9
|
export type AdminOrderListResponse = PaginatedResponse<{
|
10
10
|
orders: AdminOrder[];
|
11
11
|
}>;
|
12
|
+
export type AdminOrderLineItemsListResponse = {
|
13
|
+
order_items: AdminOrderItem[];
|
14
|
+
};
|
12
15
|
export interface AdminOrderPreviewResponse {
|
13
16
|
order: AdminOrderPreview;
|
14
17
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,gBAAgB,EAAE,CAAA;CAClC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,CAAA;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,EAAE,CAAA;CAC3B,CAAC,CAAA"}
|