@medusajs/types 2.0.0-rc-20241018141633 → 2.0.0-rc-20241022152047
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/common.d.ts +10 -2
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +19 -0
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/http/api-key/admin/payloads.d.ts +9 -0
- package/dist/http/api-key/admin/payloads.d.ts.map +1 -1
- package/dist/http/api-key/admin/queries.d.ts +27 -2
- package/dist/http/api-key/admin/queries.d.ts.map +1 -1
- package/dist/http/api-key/admin/responses.d.ts +45 -0
- package/dist/http/api-key/admin/responses.d.ts.map +1 -1
- package/dist/http/campaign/admin/payloads.d.ts +74 -0
- package/dist/http/campaign/admin/payloads.d.ts.map +1 -1
- package/dist/http/campaign/admin/responses.d.ts +54 -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/claim/admin/entities.d.ts +9 -0
- package/dist/http/claim/admin/entities.d.ts.map +1 -1
- package/dist/http/claim/admin/payloads.d.ts +71 -0
- package/dist/http/claim/admin/payloads.d.ts.map +1 -1
- package/dist/http/claim/admin/queries.d.ts +0 -1
- package/dist/http/claim/admin/queries.d.ts.map +1 -1
- package/dist/http/claim/admin/responses.d.ts +24 -0
- package/dist/http/claim/admin/responses.d.ts.map +1 -1
- package/dist/http/claim/common.d.ts +81 -0
- package/dist/http/claim/common.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 +23 -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/currency/admin/queries.d.ts +6 -0
- package/dist/http/currency/admin/queries.d.ts.map +1 -1
- package/dist/http/currency/admin/responses.d.ts +6 -0
- package/dist/http/currency/admin/responses.d.ts.map +1 -1
- package/dist/http/currency/common.d.ts +36 -0
- package/dist/http/currency/common.d.ts.map +1 -1
- package/dist/http/customer/admin/entities.d.ts +9 -0
- package/dist/http/customer/admin/entities.d.ts.map +1 -1
- package/dist/http/customer/admin/queries.d.ts +6 -0
- package/dist/http/customer/admin/queries.d.ts.map +1 -1
- package/dist/http/customer/admin/responses.d.ts +6 -0
- package/dist/http/customer/admin/responses.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +285 -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/customer-group/admin/entities.d.ts +3 -0
- package/dist/http/customer-group/admin/entities.d.ts.map +1 -1
- package/dist/http/customer-group/admin/payloads.d.ts +12 -0
- package/dist/http/customer-group/admin/payloads.d.ts.map +1 -1
- package/dist/http/customer-group/admin/queries.d.ts +59 -4
- package/dist/http/customer-group/admin/queries.d.ts.map +1 -1
- package/dist/http/customer-group/admin/responses.d.ts +6 -0
- package/dist/http/customer-group/admin/responses.d.ts.map +1 -1
- package/dist/http/customer-group/common.d.ts +18 -0
- package/dist/http/customer-group/common.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.d.ts +71 -5
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/exchange/admin/queries.d.ts +3 -6
- package/dist/http/exchange/admin/queries.d.ts.map +1 -1
- package/dist/http/exchange/admin/responses.d.ts +21 -0
- package/dist/http/exchange/admin/responses.d.ts.map +1 -1
- package/dist/http/exchange/common.d.ts +109 -0
- package/dist/http/exchange/common.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/entitites.d.ts +139 -0
- package/dist/http/fulfillment/admin/entitites.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/payloads.d.ts +113 -1
- package/dist/http/fulfillment/admin/payloads.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/responses.d.ts +3 -0
- package/dist/http/fulfillment/admin/responses.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/fulfillment-provider/admin/queries.d.ts +13 -0
- package/dist/http/fulfillment-provider/admin/queries.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/admin/responses.d.ts +3 -0
- package/dist/http/fulfillment-provider/admin/responses.d.ts.map +1 -1
- package/dist/http/fulfillment-provider/common.d.ts +6 -0
- package/dist/http/fulfillment-provider/common.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/entities.d.ts +84 -0
- package/dist/http/fulfillment-set/admin/entities.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/payloads.d.ts +66 -0
- package/dist/http/fulfillment-set/admin/payloads.d.ts.map +1 -1
- package/dist/http/fulfillment-set/admin/responses.d.ts +6 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -1
- package/dist/http/inventory/admin/entities.d.ts +84 -0
- package/dist/http/inventory/admin/entities.d.ts.map +1 -1
- package/dist/http/inventory/admin/payloads.d.ts +42 -0
- package/dist/http/inventory/admin/payloads.d.ts.map +1 -1
- package/dist/http/inventory/admin/queries.d.ts +40 -0
- package/dist/http/inventory/admin/queries.d.ts.map +1 -1
- package/dist/http/inventory/admin/responses.d.ts +6 -0
- package/dist/http/inventory/admin/responses.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/entities.d.ts +28 -0
- package/dist/http/inventory-level/admin/entities.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/payloads.d.ts +30 -0
- package/dist/http/inventory-level/admin/payloads.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/queries.d.ts +4 -0
- package/dist/http/inventory-level/admin/queries.d.ts.map +1 -1
- package/dist/http/inventory-level/admin/responses.d.ts +6 -0
- package/dist/http/inventory-level/admin/responses.d.ts.map +1 -1
- package/dist/http/invite/admin/entities.d.ts +24 -0
- package/dist/http/invite/admin/entities.d.ts.map +1 -1
- package/dist/http/invite/admin/payloads.d.ts +16 -0
- package/dist/http/invite/admin/payloads.d.ts.map +1 -1
- package/dist/http/invite/admin/responses.d.ts +12 -0
- package/dist/http/invite/admin/responses.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +45 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +6 -0
- package/dist/http/order/admin/queries.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 +2 -0
- 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/product/common.d.ts +8 -0
- package/dist/product/common.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,15 +1,48 @@
|
|
1
1
|
import { AdminFulfillmentProvider } from "../../fulfillment-provider";
|
2
2
|
export interface AdminFulfillmentItem {
|
3
|
+
/**
|
4
|
+
* The fulfillment item's ID.
|
5
|
+
*/
|
3
6
|
id: string;
|
7
|
+
/**
|
8
|
+
* The fulfillment item's title.
|
9
|
+
*/
|
4
10
|
title: string;
|
11
|
+
/**
|
12
|
+
* The fulfillment item's quantity.
|
13
|
+
*/
|
5
14
|
quantity: number;
|
15
|
+
/**
|
16
|
+
* The fulfillment item's SKU.
|
17
|
+
*/
|
6
18
|
sku: string;
|
19
|
+
/**
|
20
|
+
* The fulfillment item's barcode.
|
21
|
+
*/
|
7
22
|
barcode: string;
|
23
|
+
/**
|
24
|
+
* The ID of the associated line item in an order.
|
25
|
+
*/
|
8
26
|
line_item_id: string | null;
|
27
|
+
/**
|
28
|
+
* The ID of the associated inventory item.
|
29
|
+
*/
|
9
30
|
inventory_item_id: string | null;
|
31
|
+
/**
|
32
|
+
* The ID of the fulfillment that the item belongs to.
|
33
|
+
*/
|
10
34
|
fulfillment_id: string;
|
35
|
+
/**
|
36
|
+
* The date the fulfillment item was created.
|
37
|
+
*/
|
11
38
|
created_at: string;
|
39
|
+
/**
|
40
|
+
* The date the fulfillment item was updated.
|
41
|
+
*/
|
12
42
|
updated_at: string;
|
43
|
+
/**
|
44
|
+
* The date the fulfillment item was deleted.
|
45
|
+
*/
|
13
46
|
deleted_at: string | null;
|
14
47
|
}
|
15
48
|
export interface AdminFulfillmentLabel {
|
@@ -23,40 +56,146 @@ export interface AdminFulfillmentLabel {
|
|
23
56
|
deleted_at: string | null;
|
24
57
|
}
|
25
58
|
export interface AdminFulfillmentAddress {
|
59
|
+
/**
|
60
|
+
* The address's ID.
|
61
|
+
*/
|
26
62
|
id: string;
|
63
|
+
/**
|
64
|
+
* The ID of the fulfillment this address belongs to.
|
65
|
+
*/
|
27
66
|
fulfillment_id: string | null;
|
67
|
+
/**
|
68
|
+
* The address's company.
|
69
|
+
*/
|
28
70
|
company: string | null;
|
71
|
+
/**
|
72
|
+
* The address's first name.
|
73
|
+
*/
|
29
74
|
first_name: string | null;
|
75
|
+
/**
|
76
|
+
* The address's last name.
|
77
|
+
*/
|
30
78
|
last_name: string | null;
|
79
|
+
/**
|
80
|
+
* The address's first line.
|
81
|
+
*/
|
31
82
|
address_1: string | null;
|
83
|
+
/**
|
84
|
+
* The address's last line.
|
85
|
+
*/
|
32
86
|
address_2: string | null;
|
87
|
+
/**
|
88
|
+
* The address's city.
|
89
|
+
*/
|
33
90
|
city: string | null;
|
91
|
+
/**
|
92
|
+
* The address's country code.
|
93
|
+
*
|
94
|
+
* @example
|
95
|
+
* us
|
96
|
+
*/
|
34
97
|
country_code: string | null;
|
98
|
+
/**
|
99
|
+
* The address's province.
|
100
|
+
*/
|
35
101
|
province: string | null;
|
102
|
+
/**
|
103
|
+
* The address's postal code.
|
104
|
+
*/
|
36
105
|
postal_code: string | null;
|
106
|
+
/**
|
107
|
+
* The address's phone number.
|
108
|
+
*/
|
37
109
|
phone: string | null;
|
110
|
+
/**
|
111
|
+
* Key-value pairs of custom data.
|
112
|
+
*/
|
38
113
|
metadata: Record<string, unknown> | null;
|
114
|
+
/**
|
115
|
+
* The date the address was created.
|
116
|
+
*/
|
39
117
|
created_at: string;
|
118
|
+
/**
|
119
|
+
* The date the address was updated.
|
120
|
+
*/
|
40
121
|
updated_at: string;
|
122
|
+
/**
|
123
|
+
* The date the address was deleted.
|
124
|
+
*/
|
41
125
|
deleted_at: string | null;
|
42
126
|
}
|
43
127
|
export interface AdminFulfillment {
|
128
|
+
/**
|
129
|
+
* The fulfillment's ID.
|
130
|
+
*/
|
44
131
|
id: string;
|
132
|
+
/**
|
133
|
+
* The ID of the stock location the items
|
134
|
+
* are delivered from.
|
135
|
+
*/
|
45
136
|
location_id: string;
|
137
|
+
/**
|
138
|
+
* The ID of the fulfillment provider
|
139
|
+
* handling the fulfillment.
|
140
|
+
*/
|
46
141
|
provider_id: string;
|
142
|
+
/**
|
143
|
+
* The ID of the associated shipping option.
|
144
|
+
*/
|
47
145
|
shipping_option_id: string | null;
|
146
|
+
/**
|
147
|
+
* The associated fulfillment provider's details.
|
148
|
+
*/
|
48
149
|
provider: AdminFulfillmentProvider;
|
150
|
+
/**
|
151
|
+
* The address to deliver the items to.
|
152
|
+
*/
|
49
153
|
delivery_address: AdminFulfillmentAddress;
|
154
|
+
/**
|
155
|
+
* The items to fulfill.
|
156
|
+
*/
|
50
157
|
items: AdminFulfillmentItem[];
|
158
|
+
/**
|
159
|
+
* The fulfillment's labels.
|
160
|
+
*/
|
51
161
|
labels: AdminFulfillmentLabel[];
|
162
|
+
/**
|
163
|
+
* The date the fulfillment items were packed.
|
164
|
+
*/
|
52
165
|
packed_at: string | null;
|
166
|
+
/**
|
167
|
+
* The date the fulfillment items were shipped.
|
168
|
+
*/
|
53
169
|
shipped_at: string | null;
|
170
|
+
/**
|
171
|
+
* The date the fulfillment items were delivered.
|
172
|
+
*/
|
54
173
|
delivered_at: string | null;
|
174
|
+
/**
|
175
|
+
* The date the fulfillment was canceled.
|
176
|
+
*/
|
55
177
|
canceled_at: string | null;
|
178
|
+
/**
|
179
|
+
* Data useful for the fulfillment provider handling the fulfillment.
|
180
|
+
*
|
181
|
+
* Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment#data-property).
|
182
|
+
*/
|
56
183
|
data: Record<string, unknown> | null;
|
184
|
+
/**
|
185
|
+
* Key-value pairs of custom data.
|
186
|
+
*/
|
57
187
|
metadata: Record<string, unknown> | null;
|
188
|
+
/**
|
189
|
+
* The date the fulfillment was created.
|
190
|
+
*/
|
58
191
|
created_at: string;
|
192
|
+
/**
|
193
|
+
* The date the fulfillment was updated.
|
194
|
+
*/
|
59
195
|
updated_at: string;
|
196
|
+
/**
|
197
|
+
* The date the fulfillment was deleted.
|
198
|
+
*/
|
60
199
|
deleted_at: string | null;
|
61
200
|
}
|
62
201
|
//# sourceMappingURL=entitites.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entitites.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/entitites.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAErE,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,M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|
3
|
+
* The item's name.
|
4
|
+
*/
|
2
5
|
title: string;
|
6
|
+
/**
|
7
|
+
* The item's SKU.
|
8
|
+
*/
|
3
9
|
sku: string;
|
10
|
+
/**
|
11
|
+
* The item's quantity.
|
12
|
+
*/
|
4
13
|
quantity: number;
|
14
|
+
/**
|
15
|
+
* The item's barcode.
|
16
|
+
*/
|
5
17
|
barcode: string;
|
18
|
+
/**
|
19
|
+
* The ID of the associated line item in an order.
|
20
|
+
*/
|
6
21
|
line_item_id?: string;
|
22
|
+
/**
|
23
|
+
* The ID of the associated inventory item.
|
24
|
+
*/
|
7
25
|
inventory_item_id?: string;
|
8
26
|
}
|
9
27
|
interface AdminCreateFulfillmentLabel {
|
28
|
+
/**
|
29
|
+
* The tracking number of the fulfillment's shipment.
|
30
|
+
*/
|
10
31
|
tracking_number: string;
|
32
|
+
/**
|
33
|
+
* The tracking URL of the fulfillment's shipment.
|
34
|
+
*/
|
11
35
|
tracking_url: string;
|
36
|
+
/**
|
37
|
+
* The label URL of the fulfillment's shipment.
|
38
|
+
*/
|
12
39
|
label_url: string;
|
13
40
|
}
|
14
41
|
interface AdminFulfillmentDeliveryAddress {
|
42
|
+
/**
|
43
|
+
* The address's first name.
|
44
|
+
*/
|
15
45
|
first_name?: string;
|
46
|
+
/**
|
47
|
+
* The address's last name.
|
48
|
+
*/
|
16
49
|
last_name?: string;
|
50
|
+
/**
|
51
|
+
* The address's phone number.
|
52
|
+
*/
|
17
53
|
phone?: string;
|
54
|
+
/**
|
55
|
+
* The address's company.
|
56
|
+
*/
|
18
57
|
company?: string;
|
58
|
+
/**
|
59
|
+
* The address's first line.
|
60
|
+
*/
|
19
61
|
address_1?: string;
|
62
|
+
/**
|
63
|
+
* The address's second line.
|
64
|
+
*/
|
20
65
|
address_2?: string;
|
66
|
+
/**
|
67
|
+
* The address's city.
|
68
|
+
*/
|
21
69
|
city?: string;
|
70
|
+
/**
|
71
|
+
* The address's country code.
|
72
|
+
*
|
73
|
+
* @example
|
74
|
+
* us
|
75
|
+
*/
|
22
76
|
country_code?: string;
|
77
|
+
/**
|
78
|
+
* The address's province.
|
79
|
+
*/
|
23
80
|
province?: string;
|
81
|
+
/**
|
82
|
+
* The address's postal code.
|
83
|
+
*/
|
24
84
|
postal_code?: string;
|
85
|
+
/**
|
86
|
+
* Key-value pairs of custom data.
|
87
|
+
*/
|
25
88
|
metadata?: Record<string, string> | null;
|
26
89
|
}
|
27
90
|
export interface AdminCreateFulfillment {
|
91
|
+
/**
|
92
|
+
* The ID of the location the items are fulfilled from.
|
93
|
+
*/
|
28
94
|
location_id: string;
|
95
|
+
/**
|
96
|
+
* The ID of the fulfillment provider used to handle the fulfillment.
|
97
|
+
*/
|
29
98
|
provider_id: string;
|
99
|
+
/**
|
100
|
+
* The address to deliver items to.
|
101
|
+
*/
|
30
102
|
delivery_address: AdminFulfillmentDeliveryAddress;
|
103
|
+
/**
|
104
|
+
* The items to fulfill.
|
105
|
+
*/
|
31
106
|
items: AdminCreateFulfillmentItem[];
|
107
|
+
/**
|
108
|
+
* The fulfillment's shipment labels.
|
109
|
+
*/
|
32
110
|
labels: AdminCreateFulfillmentLabel[];
|
33
|
-
|
111
|
+
/**
|
112
|
+
* The ID of the order the fulfillment is created for.
|
113
|
+
*/
|
34
114
|
order_id: string;
|
115
|
+
/**
|
116
|
+
* The ID of the associated shipping option.
|
117
|
+
*/
|
118
|
+
shipping_option_id?: string | null;
|
119
|
+
/**
|
120
|
+
* Data useful for the fulfillment provider handling the fulfillment.
|
121
|
+
*
|
122
|
+
* Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment#data-property).
|
123
|
+
*/
|
124
|
+
data?: Record<string, unknown> | null;
|
125
|
+
/**
|
126
|
+
* The date the fulfillment items were packed.
|
127
|
+
*/
|
128
|
+
packed_at?: Date | null;
|
129
|
+
/**
|
130
|
+
* The date the fulfillment items were shipped.
|
131
|
+
*/
|
132
|
+
shipped_at?: Date | null;
|
133
|
+
/**
|
134
|
+
* The date the fulfillment items were delivered.
|
135
|
+
*/
|
136
|
+
delivered_at?: Date | null;
|
137
|
+
/**
|
138
|
+
* The date the fulfillment was canceled.
|
139
|
+
*/
|
140
|
+
canceled_at?: Date | null;
|
141
|
+
/**
|
142
|
+
* Key-value pairs of custom data.
|
143
|
+
*/
|
35
144
|
metadata?: Record<string, unknown> | null;
|
36
145
|
}
|
37
146
|
export interface AdminCreateFulfillmentShipment {
|
147
|
+
/**
|
148
|
+
* The shipment's labels.
|
149
|
+
*/
|
38
150
|
labels: AdminCreateFulfillmentLabel[];
|
39
151
|
}
|
40
152
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,0BAA0B;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,UAAU,2BAA2B;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,UAAU,+BAA+B;IACvC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAA;CACzC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,+BAA+B,CAAA;IACjD,KAAK,EAAE,0BAA0B,EAAE,CAAA;IACnC,MAAM,EAAE,2BAA2B,EAAE,CAAA;
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,0BAA0B;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,UAAU,2BAA2B;IACnC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,UAAU,+BAA+B;IACvC;;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,MAAM,CAAC,GAAG,IAAI,CAAA;CACzC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,EAAE,+BAA+B,CAAA;IACjD;;OAEG;IACH,KAAK,EAAE,0BAA0B,EAAE,CAAA;IACnC;;OAEG;IACH,MAAM,EAAE,2BAA2B,EAAE,CAAA;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,MAAM,EAAE,2BAA2B,EAAE,CAAA;CACtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,gBAAgB,CAAA;CAC9B"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,gBAAgB,CAAA;CAC9B"}
|
@@ -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"}
|
@@ -1,8 +1,21 @@
|
|
1
1
|
import { FindParams } from "../../common";
|
2
2
|
export interface AdminFulfillmentProviderListParams extends FindParams {
|
3
|
+
/**
|
4
|
+
* Filter by provider ID(s).
|
5
|
+
*/
|
3
6
|
id?: string | string[];
|
7
|
+
/**
|
8
|
+
* Query or keywords to filter the provider's searchable fields.
|
9
|
+
*/
|
4
10
|
q?: string;
|
11
|
+
/**
|
12
|
+
* Filter by whether the provider is enabled.
|
13
|
+
*/
|
5
14
|
is_enabled?: boolean;
|
15
|
+
/**
|
16
|
+
* Filter by stock location ID(s) to retrieve their associated
|
17
|
+
* fulfillment providers.
|
18
|
+
*/
|
6
19
|
stock_location_id?: string | string[];
|
7
20
|
}
|
8
21
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-provider/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,kCAAmC,SAAQ,UAAU;IACpE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACtC"}
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-provider/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,kCAAmC,SAAQ,UAAU;IACpE;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACtC"}
|
@@ -1,6 +1,9 @@
|
|
1
1
|
import { PaginatedResponse } from "../../common";
|
2
2
|
import { AdminFulfillmentProvider } from "./entities";
|
3
3
|
export interface AdminFulfillmentProviderListResponse extends PaginatedResponse<{
|
4
|
+
/**
|
5
|
+
* The list of fulfillment providers.
|
6
|
+
*/
|
4
7
|
fulfillment_providers: AdminFulfillmentProvider[];
|
5
8
|
}> {
|
6
9
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-provider/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAErD,MAAM,WAAW,oCACf,SAAQ,iBAAiB,CAAC;IACxB,qBAAqB,EAAE,wBAAwB,EAAE,CAAA;CAClD,CAAC;CAAG"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-provider/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAErD,MAAM,WAAW,oCACf,SAAQ,iBAAiB,CAAC;IACxB;;OAEG;IACH,qBAAqB,EAAE,wBAAwB,EAAE,CAAA;CAClD,CAAC;CAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/fulfillment-provider/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,OAAO,CAAA;CACpB"}
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/fulfillment-provider/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,UAAU,EAAE,OAAO,CAAA;CACpB"}
|
@@ -2,35 +2,119 @@ import { GeoZoneType } from "../../../fulfillment";
|
|
2
2
|
import { AdminShippingOption } from "../../shipping-option";
|
3
3
|
import { AdminStockLocation } from "../../stock-locations";
|
4
4
|
export interface AdminGeoZone {
|
5
|
+
/**
|
6
|
+
* The geo zone's ID.
|
7
|
+
*/
|
5
8
|
id: string;
|
9
|
+
/**
|
10
|
+
* The geo zone's type.
|
11
|
+
*/
|
6
12
|
type: GeoZoneType;
|
13
|
+
/**
|
14
|
+
* The geo zone's country code.
|
15
|
+
*
|
16
|
+
* @example
|
17
|
+
* us
|
18
|
+
*/
|
7
19
|
country_code: string;
|
20
|
+
/**
|
21
|
+
* The geo zone's province code.
|
22
|
+
*/
|
8
23
|
province_code: string | null;
|
24
|
+
/**
|
25
|
+
* The geo zone's city.
|
26
|
+
*/
|
9
27
|
city: string | null;
|
28
|
+
/**
|
29
|
+
* The geo zone's postal expression.
|
30
|
+
*/
|
10
31
|
postal_expression: Record<string, unknown> | null;
|
32
|
+
/**
|
33
|
+
* The date the geo zone was created.
|
34
|
+
*/
|
11
35
|
created_at: string;
|
36
|
+
/**
|
37
|
+
* The date the geo zone was updated.
|
38
|
+
*/
|
12
39
|
updated_at: string;
|
40
|
+
/**
|
41
|
+
* The date the geo zone was deleted.
|
42
|
+
*/
|
13
43
|
deleted_at: string | null;
|
14
44
|
}
|
15
45
|
export interface AdminServiceZone {
|
46
|
+
/**
|
47
|
+
* The service zone's ID.
|
48
|
+
*/
|
16
49
|
id: string;
|
50
|
+
/**
|
51
|
+
* The service zone's name.
|
52
|
+
*/
|
17
53
|
name: string;
|
54
|
+
/**
|
55
|
+
* The ID of the fulfillment set this service zone belongs to.
|
56
|
+
*/
|
18
57
|
fulfillment_set_id: string;
|
58
|
+
/**
|
59
|
+
* The fulfillment set this service zone belongs to.
|
60
|
+
*/
|
19
61
|
fulfillment_set: AdminFulfillmentSet;
|
62
|
+
/**
|
63
|
+
* The service zone's geo zones.
|
64
|
+
*/
|
20
65
|
geo_zones: AdminGeoZone[];
|
66
|
+
/**
|
67
|
+
* The shipping options that can be used in this service zone.
|
68
|
+
*/
|
21
69
|
shipping_options: AdminShippingOption[];
|
70
|
+
/**
|
71
|
+
* The date the service zone is created.
|
72
|
+
*/
|
22
73
|
created_at: string;
|
74
|
+
/**
|
75
|
+
* The date the service zone is updated.
|
76
|
+
*/
|
23
77
|
updated_at: string;
|
78
|
+
/**
|
79
|
+
* The date the service zone is deleted.
|
80
|
+
*/
|
24
81
|
deleted_at: string | null;
|
25
82
|
}
|
26
83
|
export interface AdminFulfillmentSet {
|
84
|
+
/**
|
85
|
+
* The fulfillment set's ID.
|
86
|
+
*/
|
27
87
|
id: string;
|
88
|
+
/**
|
89
|
+
* The fulfillment set's name.
|
90
|
+
*/
|
28
91
|
name: string;
|
92
|
+
/**
|
93
|
+
* The fulfillment set's type.
|
94
|
+
*
|
95
|
+
* @example
|
96
|
+
* delivery
|
97
|
+
*/
|
29
98
|
type: string;
|
99
|
+
/**
|
100
|
+
* The stock location associated with this fulfillment set.
|
101
|
+
*/
|
30
102
|
location: AdminStockLocation;
|
103
|
+
/**
|
104
|
+
* The fulfillment set's service zones.
|
105
|
+
*/
|
31
106
|
service_zones: AdminServiceZone[];
|
107
|
+
/**
|
108
|
+
* The date the fulfillment set is created.
|
109
|
+
*/
|
32
110
|
created_at: string;
|
111
|
+
/**
|
112
|
+
* The date the fulfillment set is updated.
|
113
|
+
*/
|
33
114
|
updated_at: string;
|
115
|
+
/**
|
116
|
+
* The date the fulfillment set is deleted.
|
117
|
+
*/
|
34
118
|
deleted_at: string | null;
|
35
119
|
}
|
36
120
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACjD,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,mBAAmB,CAAA;IACpC,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,gBAAgB,EAAE,mBAAmB,EAAE,CAAA;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,aAAa,EAAE,gBAAgB,EAAE,CAAA;IACjC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B"}
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-set/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;IACjB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,eAAe,EAAE,mBAAmB,CAAA;IACpC;;OAEG;IACH,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB;;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