@5ss/ai-tools 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,28 +4,152 @@ import { s as HttpServiceOptions } from "../../http-service-CerzWwQO.js";
|
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/vendors/shipstation/contracts.d.ts
|
|
6
6
|
declare const shipstationAuthSchema: z.ZodObject<{
|
|
7
|
-
|
|
7
|
+
v2_api_key: z.ZodString;
|
|
8
|
+
v1_api_key: z.ZodString;
|
|
9
|
+
v1_api_secret: z.ZodString;
|
|
8
10
|
}, z.core.$strip>;
|
|
9
11
|
type ShipstationAuth = z.infer<typeof shipstationAuthSchema>;
|
|
12
|
+
declare const shipstationMoneySchema: z.ZodObject<{
|
|
13
|
+
currency: z.ZodString;
|
|
14
|
+
amount: z.ZodNumber;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const shipstationRefundDetailsRawSchema: z.ZodObject<{
|
|
17
|
+
refund_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
request_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
amount_paid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
currency: z.ZodString;
|
|
21
|
+
amount: z.ZodNumber;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
amount_requested: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
currency: z.ZodString;
|
|
25
|
+
amount: z.ZodNumber;
|
|
26
|
+
}, z.core.$loose>>>;
|
|
27
|
+
}, z.core.$loose>;
|
|
10
28
|
declare const shipstationLabelRawSchema: z.ZodObject<{
|
|
11
29
|
label_id: z.ZodString;
|
|
12
30
|
shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
external_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
32
|
external_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
service_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
35
|
tracking_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
36
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
37
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
38
|
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
shipment_cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
40
|
+
currency: z.ZodString;
|
|
41
|
+
amount: z.ZodNumber;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
insurance_cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
|
+
currency: z.ZodString;
|
|
45
|
+
amount: z.ZodNumber;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
voided: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
48
|
voided_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
refund_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
|
+
refund_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
request_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
amount_paid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
53
|
+
currency: z.ZodString;
|
|
54
|
+
amount: z.ZodNumber;
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
amount_requested: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
+
currency: z.ZodString;
|
|
58
|
+
amount: z.ZodNumber;
|
|
59
|
+
}, z.core.$loose>>>;
|
|
60
|
+
}, z.core.$loose>>>;
|
|
19
61
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
62
|
}, z.core.$loose>;
|
|
21
63
|
declare const shipstationShipmentRawSchema: z.ZodObject<{
|
|
22
64
|
shipment_id: z.ZodString;
|
|
23
65
|
external_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
66
|
shipment_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
service_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
store_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
70
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
71
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
72
|
shipment_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
73
|
}, z.core.$loose>;
|
|
74
|
+
declare const shipstationFulfillmentRawSchema: z.ZodObject<{
|
|
75
|
+
fulfillment_id: z.ZodString;
|
|
76
|
+
shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
shipment_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
tracking_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
fulfillment_provider_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
+
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
}, z.core.$loose>;
|
|
84
|
+
declare const shipstationCarrierServiceRawSchema: z.ZodObject<{
|
|
85
|
+
service_code: z.ZodString;
|
|
86
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
90
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
91
|
+
}, z.core.$loose>;
|
|
92
|
+
declare const shipstationCarrierPackageRawSchema: z.ZodObject<{
|
|
93
|
+
package_code: z.ZodString;
|
|
94
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
}, z.core.$loose>;
|
|
98
|
+
declare const shipstationCarrierOptionRawSchema: z.ZodObject<{
|
|
99
|
+
name: z.ZodString;
|
|
100
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
102
|
+
}, z.core.$loose>;
|
|
103
|
+
declare const shipstationCarrierRawSchema: z.ZodObject<{
|
|
104
|
+
carrier_id: z.ZodString;
|
|
105
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
|
+
friendly_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
110
|
+
connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
112
|
+
service_code: z.ZodString;
|
|
113
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
117
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
118
|
+
}, z.core.$loose>>>;
|
|
119
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
120
|
+
package_code: z.ZodString;
|
|
121
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
}, z.core.$loose>>>;
|
|
125
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
+
name: z.ZodString;
|
|
127
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
129
|
+
}, z.core.$loose>>>;
|
|
130
|
+
}, z.core.$loose>;
|
|
131
|
+
declare const shipstationOrderRawSchema: z.ZodObject<{
|
|
132
|
+
orderId: z.ZodInt;
|
|
133
|
+
orderNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
+
orderKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
createDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
modifyDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
138
|
+
orderDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
|
+
paymentDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
shipByDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
|
+
storeId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
142
|
+
}, z.core.$loose>;
|
|
143
|
+
declare const shipstationStoreRawSchema: z.ZodObject<{
|
|
144
|
+
storeId: z.ZodInt;
|
|
145
|
+
storeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
marketplaceId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
147
|
+
marketplaceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
149
|
+
createDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
+
modifyDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
autoRefresh: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
152
|
+
}, z.core.$loose>;
|
|
29
153
|
declare const shipstationPaginationSchema: z.ZodObject<{
|
|
30
154
|
total: z.ZodInt;
|
|
31
155
|
page: z.ZodInt;
|
|
@@ -62,12 +186,36 @@ declare const shipstationListLabelsPageOutputSchema: z.ZodObject<{
|
|
|
62
186
|
items: z.ZodArray<z.ZodObject<{
|
|
63
187
|
label_id: z.ZodString;
|
|
64
188
|
shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
+
external_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
190
|
external_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
|
+
service_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
193
|
tracking_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
194
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
195
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
196
|
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
+
shipment_cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
198
|
+
currency: z.ZodString;
|
|
199
|
+
amount: z.ZodNumber;
|
|
200
|
+
}, z.core.$loose>>>;
|
|
201
|
+
insurance_cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
202
|
+
currency: z.ZodString;
|
|
203
|
+
amount: z.ZodNumber;
|
|
204
|
+
}, z.core.$loose>>>;
|
|
205
|
+
voided: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
70
206
|
voided_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
207
|
+
refund_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
208
|
+
refund_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
request_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
+
amount_paid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
211
|
+
currency: z.ZodString;
|
|
212
|
+
amount: z.ZodNumber;
|
|
213
|
+
}, z.core.$loose>>>;
|
|
214
|
+
amount_requested: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
215
|
+
currency: z.ZodString;
|
|
216
|
+
amount: z.ZodNumber;
|
|
217
|
+
}, z.core.$loose>>>;
|
|
218
|
+
}, z.core.$loose>>>;
|
|
71
219
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
220
|
}, z.core.$loose>>;
|
|
73
221
|
pagination: z.ZodObject<{
|
|
@@ -110,6 +258,9 @@ declare const shipstationListShipmentsPageOutputSchema: z.ZodObject<{
|
|
|
110
258
|
shipment_id: z.ZodString;
|
|
111
259
|
external_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
260
|
shipment_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
262
|
+
service_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
|
+
store_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
264
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
265
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
266
|
shipment_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -122,16 +273,238 @@ declare const shipstationListShipmentsPageOutputSchema: z.ZodObject<{
|
|
|
122
273
|
has_more: z.ZodBoolean;
|
|
123
274
|
}, z.core.$strip>;
|
|
124
275
|
}, z.core.$strip>;
|
|
276
|
+
declare const shipstationListFulfillmentsPageInputSchema: z.ZodObject<{
|
|
277
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
278
|
+
page_size: z.ZodOptional<z.ZodInt>;
|
|
279
|
+
ship_to_name: z.ZodOptional<z.ZodString>;
|
|
280
|
+
ship_to_country_code: z.ZodOptional<z.ZodString>;
|
|
281
|
+
shipment_number: z.ZodOptional<z.ZodString>;
|
|
282
|
+
shipment_id: z.ZodOptional<z.ZodString>;
|
|
283
|
+
fulfillment_id: z.ZodOptional<z.ZodString>;
|
|
284
|
+
batch_id: z.ZodOptional<z.ZodString>;
|
|
285
|
+
order_source_id: z.ZodOptional<z.ZodString>;
|
|
286
|
+
fulfillment_provider_code: z.ZodOptional<z.ZodString>;
|
|
287
|
+
tracking_number: z.ZodOptional<z.ZodString>;
|
|
288
|
+
ship_date_start: z.ZodOptional<z.ZodISODateTime>;
|
|
289
|
+
ship_date_end: z.ZodOptional<z.ZodISODateTime>;
|
|
290
|
+
create_date_start: z.ZodOptional<z.ZodISODateTime>;
|
|
291
|
+
create_date_end: z.ZodOptional<z.ZodISODateTime>;
|
|
292
|
+
sort_dir: z.ZodOptional<z.ZodEnum<{
|
|
293
|
+
asc: "asc";
|
|
294
|
+
desc: "desc";
|
|
295
|
+
}>>;
|
|
296
|
+
sort_by: z.ZodOptional<z.ZodLiteral<"created_at">>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
declare const shipstationListFulfillmentsPageOutputSchema: z.ZodObject<{
|
|
299
|
+
items: z.ZodArray<z.ZodObject<{
|
|
300
|
+
fulfillment_id: z.ZodString;
|
|
301
|
+
shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
+
shipment_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
|
+
tracking_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
|
+
fulfillment_provider_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
307
|
+
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
}, z.core.$loose>>;
|
|
309
|
+
pagination: z.ZodObject<{
|
|
310
|
+
total: z.ZodInt;
|
|
311
|
+
page: z.ZodInt;
|
|
312
|
+
pages: z.ZodInt;
|
|
313
|
+
page_size: z.ZodInt;
|
|
314
|
+
has_more: z.ZodBoolean;
|
|
315
|
+
}, z.core.$strip>;
|
|
316
|
+
}, z.core.$strip>;
|
|
317
|
+
declare const shipstationCarrierIdInputSchema: z.ZodObject<{
|
|
318
|
+
carrier_id: z.ZodString;
|
|
319
|
+
}, z.core.$strict>;
|
|
320
|
+
declare const shipstationListCarriersOutputSchema: z.ZodObject<{
|
|
321
|
+
items: z.ZodArray<z.ZodObject<{
|
|
322
|
+
carrier_id: z.ZodString;
|
|
323
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
324
|
+
account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
friendly_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
328
|
+
connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
|
+
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
330
|
+
service_code: z.ZodString;
|
|
331
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
335
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
336
|
+
}, z.core.$loose>>>;
|
|
337
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
|
+
package_code: z.ZodString;
|
|
339
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
|
+
}, z.core.$loose>>>;
|
|
343
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
344
|
+
name: z.ZodString;
|
|
345
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
347
|
+
}, z.core.$loose>>>;
|
|
348
|
+
}, z.core.$loose>>;
|
|
349
|
+
}, z.core.$strip>;
|
|
350
|
+
declare const shipstationGetCarrierOutputSchema: z.ZodObject<{
|
|
351
|
+
carrier_id: z.ZodString;
|
|
352
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
|
+
account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
355
|
+
friendly_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
356
|
+
primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
357
|
+
connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
358
|
+
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
359
|
+
service_code: z.ZodString;
|
|
360
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
362
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
364
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
365
|
+
}, z.core.$loose>>>;
|
|
366
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
367
|
+
package_code: z.ZodString;
|
|
368
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
369
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
|
+
}, z.core.$loose>>>;
|
|
372
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
373
|
+
name: z.ZodString;
|
|
374
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
376
|
+
}, z.core.$loose>>>;
|
|
377
|
+
}, z.core.$loose>;
|
|
378
|
+
declare const shipstationListCarrierServicesOutputSchema: z.ZodObject<{
|
|
379
|
+
items: z.ZodArray<z.ZodObject<{
|
|
380
|
+
service_code: z.ZodString;
|
|
381
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
382
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
384
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
385
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
386
|
+
}, z.core.$loose>>;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
declare const shipstationListCarrierPackagesOutputSchema: z.ZodObject<{
|
|
389
|
+
items: z.ZodArray<z.ZodObject<{
|
|
390
|
+
package_code: z.ZodString;
|
|
391
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
394
|
+
}, z.core.$loose>>;
|
|
395
|
+
}, z.core.$strip>;
|
|
396
|
+
declare const shipstationListCarrierOptionsOutputSchema: z.ZodObject<{
|
|
397
|
+
items: z.ZodArray<z.ZodObject<{
|
|
398
|
+
name: z.ZodString;
|
|
399
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
400
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
401
|
+
}, z.core.$loose>>;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
declare const shipstationListOrdersPageInputSchema: z.ZodObject<{
|
|
404
|
+
page: z.ZodOptional<z.ZodInt>;
|
|
405
|
+
page_size: z.ZodOptional<z.ZodInt>;
|
|
406
|
+
customer_name: z.ZodOptional<z.ZodString>;
|
|
407
|
+
item_keyword: z.ZodOptional<z.ZodString>;
|
|
408
|
+
create_date_start: z.ZodOptional<z.ZodISODateTime>;
|
|
409
|
+
create_date_end: z.ZodOptional<z.ZodISODateTime>;
|
|
410
|
+
modify_date_start: z.ZodOptional<z.ZodISODateTime>;
|
|
411
|
+
modify_date_end: z.ZodOptional<z.ZodISODateTime>;
|
|
412
|
+
order_date_start: z.ZodOptional<z.ZodISODateTime>;
|
|
413
|
+
order_date_end: z.ZodOptional<z.ZodISODateTime>;
|
|
414
|
+
order_number: z.ZodOptional<z.ZodString>;
|
|
415
|
+
order_status: z.ZodOptional<z.ZodEnum<{
|
|
416
|
+
awaiting_payment: "awaiting_payment";
|
|
417
|
+
awaiting_shipment: "awaiting_shipment";
|
|
418
|
+
cancelled: "cancelled";
|
|
419
|
+
on_hold: "on_hold";
|
|
420
|
+
pending_fulfillment: "pending_fulfillment";
|
|
421
|
+
rejected_fulfillment: "rejected_fulfillment";
|
|
422
|
+
shipped: "shipped";
|
|
423
|
+
}>>;
|
|
424
|
+
payment_date_start: z.ZodOptional<z.ZodISODateTime>;
|
|
425
|
+
payment_date_end: z.ZodOptional<z.ZodISODateTime>;
|
|
426
|
+
store_id: z.ZodOptional<z.ZodInt>;
|
|
427
|
+
sort_by: z.ZodOptional<z.ZodEnum<{
|
|
428
|
+
CreateDate: "CreateDate";
|
|
429
|
+
ModifyDate: "ModifyDate";
|
|
430
|
+
OrderDate: "OrderDate";
|
|
431
|
+
}>>;
|
|
432
|
+
sort_dir: z.ZodOptional<z.ZodEnum<{
|
|
433
|
+
ASC: "ASC";
|
|
434
|
+
DESC: "DESC";
|
|
435
|
+
}>>;
|
|
436
|
+
}, z.core.$strict>;
|
|
437
|
+
declare const shipstationListOrdersPageOutputSchema: z.ZodObject<{
|
|
438
|
+
items: z.ZodArray<z.ZodObject<{
|
|
439
|
+
orderId: z.ZodInt;
|
|
440
|
+
orderNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
+
orderKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
+
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
|
+
createDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
444
|
+
modifyDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
|
+
orderDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
|
+
paymentDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
447
|
+
shipByDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
|
+
storeId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
449
|
+
}, z.core.$loose>>;
|
|
450
|
+
pagination: z.ZodObject<{
|
|
451
|
+
total: z.ZodInt;
|
|
452
|
+
page: z.ZodInt;
|
|
453
|
+
pages: z.ZodInt;
|
|
454
|
+
page_size: z.ZodInt;
|
|
455
|
+
has_more: z.ZodBoolean;
|
|
456
|
+
}, z.core.$strip>;
|
|
457
|
+
}, z.core.$strip>;
|
|
458
|
+
declare const shipstationListStoresInputSchema: z.ZodObject<{
|
|
459
|
+
show_inactive: z.ZodOptional<z.ZodBoolean>;
|
|
460
|
+
marketplace_id: z.ZodOptional<z.ZodInt>;
|
|
461
|
+
}, z.core.$strict>;
|
|
462
|
+
declare const shipstationListStoresOutputSchema: z.ZodObject<{
|
|
463
|
+
items: z.ZodArray<z.ZodObject<{
|
|
464
|
+
storeId: z.ZodInt;
|
|
465
|
+
storeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
466
|
+
marketplaceId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
467
|
+
marketplaceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
468
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
469
|
+
createDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
470
|
+
modifyDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
471
|
+
autoRefresh: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
472
|
+
}, z.core.$loose>>;
|
|
473
|
+
}, z.core.$strip>;
|
|
125
474
|
declare const shipstationListLabelsResponseSchema: z.ZodObject<{
|
|
126
475
|
labels: z.ZodArray<z.ZodObject<{
|
|
127
476
|
label_id: z.ZodString;
|
|
128
477
|
shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
478
|
+
external_shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
479
|
external_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
481
|
+
service_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
482
|
tracking_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
483
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
484
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
485
|
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
486
|
+
shipment_cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
487
|
+
currency: z.ZodString;
|
|
488
|
+
amount: z.ZodNumber;
|
|
489
|
+
}, z.core.$loose>>>;
|
|
490
|
+
insurance_cost: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
491
|
+
currency: z.ZodString;
|
|
492
|
+
amount: z.ZodNumber;
|
|
493
|
+
}, z.core.$loose>>>;
|
|
494
|
+
voided: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
134
495
|
voided_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
496
|
+
refund_details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
497
|
+
refund_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
498
|
+
request_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
499
|
+
amount_paid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
500
|
+
currency: z.ZodString;
|
|
501
|
+
amount: z.ZodNumber;
|
|
502
|
+
}, z.core.$loose>>>;
|
|
503
|
+
amount_requested: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
504
|
+
currency: z.ZodString;
|
|
505
|
+
amount: z.ZodNumber;
|
|
506
|
+
}, z.core.$loose>>>;
|
|
507
|
+
}, z.core.$loose>>>;
|
|
135
508
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
509
|
}, z.core.$loose>>;
|
|
137
510
|
total: z.ZodInt;
|
|
@@ -143,6 +516,9 @@ declare const shipstationListShipmentsResponseSchema: z.ZodObject<{
|
|
|
143
516
|
shipment_id: z.ZodString;
|
|
144
517
|
external_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
145
518
|
shipment_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
520
|
+
service_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
521
|
+
store_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
522
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
147
523
|
modified_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
524
|
shipment_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -151,13 +527,129 @@ declare const shipstationListShipmentsResponseSchema: z.ZodObject<{
|
|
|
151
527
|
page: z.ZodInt;
|
|
152
528
|
pages: z.ZodInt;
|
|
153
529
|
}, z.core.$loose>;
|
|
530
|
+
declare const shipstationListFulfillmentsResponseSchema: z.ZodObject<{
|
|
531
|
+
fulfillments: z.ZodArray<z.ZodObject<{
|
|
532
|
+
fulfillment_id: z.ZodString;
|
|
533
|
+
shipment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
534
|
+
shipment_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
+
tracking_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
536
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
537
|
+
fulfillment_provider_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
538
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
539
|
+
ship_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
540
|
+
}, z.core.$loose>>;
|
|
541
|
+
total: z.ZodInt;
|
|
542
|
+
page: z.ZodInt;
|
|
543
|
+
pages: z.ZodInt;
|
|
544
|
+
}, z.core.$loose>;
|
|
545
|
+
declare const shipstationListCarriersResponseSchema: z.ZodObject<{
|
|
546
|
+
carriers: z.ZodArray<z.ZodObject<{
|
|
547
|
+
carrier_id: z.ZodString;
|
|
548
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
549
|
+
account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
|
+
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
551
|
+
friendly_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
552
|
+
primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
553
|
+
connection_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
|
+
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
555
|
+
service_code: z.ZodString;
|
|
556
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
559
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
560
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
561
|
+
}, z.core.$loose>>>;
|
|
562
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
563
|
+
package_code: z.ZodString;
|
|
564
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
565
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
567
|
+
}, z.core.$loose>>>;
|
|
568
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
572
|
+
}, z.core.$loose>>>;
|
|
573
|
+
}, z.core.$loose>>;
|
|
574
|
+
}, z.core.$loose>;
|
|
575
|
+
declare const shipstationListCarrierServicesResponseSchema: z.ZodObject<{
|
|
576
|
+
services: z.ZodArray<z.ZodObject<{
|
|
577
|
+
service_code: z.ZodString;
|
|
578
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
579
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
580
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
581
|
+
domestic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
582
|
+
international: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
583
|
+
}, z.core.$loose>>;
|
|
584
|
+
}, z.core.$loose>;
|
|
585
|
+
declare const shipstationListCarrierPackagesResponseSchema: z.ZodObject<{
|
|
586
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
587
|
+
package_code: z.ZodString;
|
|
588
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
589
|
+
carrier_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
590
|
+
carrier_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
|
+
}, z.core.$loose>>;
|
|
592
|
+
}, z.core.$loose>;
|
|
593
|
+
declare const shipstationListCarrierOptionsResponseSchema: z.ZodObject<{
|
|
594
|
+
options: z.ZodArray<z.ZodObject<{
|
|
595
|
+
name: z.ZodString;
|
|
596
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
default_value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
598
|
+
}, z.core.$loose>>;
|
|
599
|
+
}, z.core.$loose>;
|
|
600
|
+
declare const shipstationListOrdersResponseSchema: z.ZodObject<{
|
|
601
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
602
|
+
orderId: z.ZodInt;
|
|
603
|
+
orderNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
604
|
+
orderKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
605
|
+
orderStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
606
|
+
createDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
607
|
+
modifyDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
608
|
+
orderDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
609
|
+
paymentDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
610
|
+
shipByDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
611
|
+
storeId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
612
|
+
}, z.core.$loose>>;
|
|
613
|
+
total: z.ZodInt;
|
|
614
|
+
page: z.ZodInt;
|
|
615
|
+
pages: z.ZodInt;
|
|
616
|
+
}, z.core.$loose>;
|
|
617
|
+
declare const shipstationListStoresResponseSchema: z.ZodArray<z.ZodObject<{
|
|
618
|
+
storeId: z.ZodInt;
|
|
619
|
+
storeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
620
|
+
marketplaceId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
621
|
+
marketplaceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
622
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
623
|
+
createDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
624
|
+
modifyDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
625
|
+
autoRefresh: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
626
|
+
}, z.core.$loose>>;
|
|
154
627
|
type ShipstationLabelRaw = z.infer<typeof shipstationLabelRawSchema>;
|
|
155
628
|
type ShipstationShipmentRaw = z.infer<typeof shipstationShipmentRawSchema>;
|
|
629
|
+
type ShipstationFulfillmentRaw = z.infer<typeof shipstationFulfillmentRawSchema>;
|
|
630
|
+
type ShipstationCarrierRaw = z.infer<typeof shipstationCarrierRawSchema>;
|
|
631
|
+
type ShipstationCarrierServiceRaw = z.infer<typeof shipstationCarrierServiceRawSchema>;
|
|
632
|
+
type ShipstationCarrierPackageRaw = z.infer<typeof shipstationCarrierPackageRawSchema>;
|
|
633
|
+
type ShipstationCarrierOptionRaw = z.infer<typeof shipstationCarrierOptionRawSchema>;
|
|
634
|
+
type ShipstationOrderRaw = z.infer<typeof shipstationOrderRawSchema>;
|
|
635
|
+
type ShipstationStoreRaw = z.infer<typeof shipstationStoreRawSchema>;
|
|
156
636
|
type ShipstationPagination = z.infer<typeof shipstationPaginationSchema>;
|
|
157
637
|
type ShipstationListLabelsPageInput = z.infer<typeof shipstationListLabelsPageInputSchema>;
|
|
158
638
|
type ShipstationListLabelsPageOutput = z.infer<typeof shipstationListLabelsPageOutputSchema>;
|
|
159
639
|
type ShipstationListShipmentsPageInput = z.infer<typeof shipstationListShipmentsPageInputSchema>;
|
|
160
640
|
type ShipstationListShipmentsPageOutput = z.infer<typeof shipstationListShipmentsPageOutputSchema>;
|
|
641
|
+
type ShipstationListFulfillmentsPageInput = z.infer<typeof shipstationListFulfillmentsPageInputSchema>;
|
|
642
|
+
type ShipstationListFulfillmentsPageOutput = z.infer<typeof shipstationListFulfillmentsPageOutputSchema>;
|
|
643
|
+
type ShipstationCarrierIdInput = z.infer<typeof shipstationCarrierIdInputSchema>;
|
|
644
|
+
type ShipstationListCarriersOutput = z.infer<typeof shipstationListCarriersOutputSchema>;
|
|
645
|
+
type ShipstationGetCarrierOutput = z.infer<typeof shipstationGetCarrierOutputSchema>;
|
|
646
|
+
type ShipstationListCarrierServicesOutput = z.infer<typeof shipstationListCarrierServicesOutputSchema>;
|
|
647
|
+
type ShipstationListCarrierPackagesOutput = z.infer<typeof shipstationListCarrierPackagesOutputSchema>;
|
|
648
|
+
type ShipstationListCarrierOptionsOutput = z.infer<typeof shipstationListCarrierOptionsOutputSchema>;
|
|
649
|
+
type ShipstationListOrdersPageInput = z.infer<typeof shipstationListOrdersPageInputSchema>;
|
|
650
|
+
type ShipstationListOrdersPageOutput = z.infer<typeof shipstationListOrdersPageOutputSchema>;
|
|
651
|
+
type ShipstationListStoresInput = z.infer<typeof shipstationListStoresInputSchema>;
|
|
652
|
+
type ShipstationListStoresOutput = z.infer<typeof shipstationListStoresOutputSchema>;
|
|
161
653
|
//#endregion
|
|
162
654
|
//#region src/vendors/shipstation/client.d.ts
|
|
163
655
|
type ShipstationClientOptions = Pick<HttpServiceOptions, 'fetch' | 'signal'>;
|
|
@@ -165,10 +657,26 @@ declare class ShipstationClient {
|
|
|
165
657
|
#private;
|
|
166
658
|
constructor(auth: ShipstationAuth, options?: ShipstationClientOptions);
|
|
167
659
|
static fromContext(ctx: ToolContext): ShipstationClient;
|
|
168
|
-
/** One GET /labels request with provider pagination and filters. */
|
|
660
|
+
/** One V2 GET /labels request with provider pagination and filters. */
|
|
169
661
|
listLabelsPage(input?: ShipstationListLabelsPageInput): Promise<ShipstationListLabelsPageOutput>;
|
|
170
|
-
/** One GET /shipments request with provider pagination and filters. */
|
|
662
|
+
/** One V2 GET /shipments request with provider pagination and filters. */
|
|
171
663
|
listShipmentsPage(input?: ShipstationListShipmentsPageInput): Promise<ShipstationListShipmentsPageOutput>;
|
|
664
|
+
/** One V2 GET /fulfillments request with provider pagination and filters. */
|
|
665
|
+
listFulfillmentsPage(input?: ShipstationListFulfillmentsPageInput): Promise<ShipstationListFulfillmentsPageOutput>;
|
|
666
|
+
/** V2 GET /carriers. */
|
|
667
|
+
listCarriers(): Promise<ShipstationListCarriersOutput>;
|
|
668
|
+
/** V2 GET /carriers/{carrier_id}. */
|
|
669
|
+
getCarrier(input: ShipstationCarrierIdInput): Promise<ShipstationGetCarrierOutput>;
|
|
670
|
+
/** V2 GET /carriers/{carrier_id}/services. */
|
|
671
|
+
listCarrierServices(input: ShipstationCarrierIdInput): Promise<ShipstationListCarrierServicesOutput>;
|
|
672
|
+
/** V2 GET /carriers/{carrier_id}/packages. */
|
|
673
|
+
listCarrierPackages(input: ShipstationCarrierIdInput): Promise<ShipstationListCarrierPackagesOutput>;
|
|
674
|
+
/** V2 GET /carriers/{carrier_id}/options. */
|
|
675
|
+
listCarrierOptions(input: ShipstationCarrierIdInput): Promise<ShipstationListCarrierOptionsOutput>;
|
|
676
|
+
/** One legacy V1 GET /orders request. */
|
|
677
|
+
listOrdersPage(input?: ShipstationListOrdersPageInput): Promise<ShipstationListOrdersPageOutput>;
|
|
678
|
+
/** Legacy V1 GET /stores. */
|
|
679
|
+
listStores(input?: ShipstationListStoresInput): Promise<ShipstationListStoresOutput>;
|
|
172
680
|
}
|
|
173
681
|
//#endregion
|
|
174
682
|
//#region src/vendors/shipstation/module.d.ts
|
|
@@ -194,12 +702,41 @@ declare const shipstationListLabelsTool: ToolDefinition<{
|
|
|
194
702
|
[x: string]: unknown;
|
|
195
703
|
label_id: string;
|
|
196
704
|
shipment_id?: string | null | undefined;
|
|
705
|
+
external_shipment_id?: string | null | undefined;
|
|
197
706
|
external_order_id?: string | null | undefined;
|
|
707
|
+
carrier_id?: string | null | undefined;
|
|
708
|
+
service_code?: string | null | undefined;
|
|
198
709
|
tracking_number?: string | null | undefined;
|
|
199
710
|
created_at?: string | null | undefined;
|
|
200
711
|
modified_at?: string | null | undefined;
|
|
201
712
|
ship_date?: string | null | undefined;
|
|
713
|
+
shipment_cost?: {
|
|
714
|
+
[x: string]: unknown;
|
|
715
|
+
currency: string;
|
|
716
|
+
amount: number;
|
|
717
|
+
} | null | undefined;
|
|
718
|
+
insurance_cost?: {
|
|
719
|
+
[x: string]: unknown;
|
|
720
|
+
currency: string;
|
|
721
|
+
amount: number;
|
|
722
|
+
} | null | undefined;
|
|
723
|
+
voided?: boolean | null | undefined;
|
|
202
724
|
voided_at?: string | null | undefined;
|
|
725
|
+
refund_details?: {
|
|
726
|
+
[x: string]: unknown;
|
|
727
|
+
refund_status?: string | null | undefined;
|
|
728
|
+
request_date?: string | null | undefined;
|
|
729
|
+
amount_paid?: {
|
|
730
|
+
[x: string]: unknown;
|
|
731
|
+
currency: string;
|
|
732
|
+
amount: number;
|
|
733
|
+
} | null | undefined;
|
|
734
|
+
amount_requested?: {
|
|
735
|
+
[x: string]: unknown;
|
|
736
|
+
currency: string;
|
|
737
|
+
amount: number;
|
|
738
|
+
} | null | undefined;
|
|
739
|
+
} | null | undefined;
|
|
203
740
|
status?: string | null | undefined;
|
|
204
741
|
}[];
|
|
205
742
|
pagination: {
|
|
@@ -236,6 +773,9 @@ declare const shipstationListShipmentsTool: ToolDefinition<{
|
|
|
236
773
|
shipment_id: string;
|
|
237
774
|
external_order_id?: string | null | undefined;
|
|
238
775
|
shipment_number?: string | null | undefined;
|
|
776
|
+
carrier_id?: string | null | undefined;
|
|
777
|
+
service_code?: string | null | undefined;
|
|
778
|
+
store_id?: string | null | undefined;
|
|
239
779
|
created_at?: string | null | undefined;
|
|
240
780
|
modified_at?: string | null | undefined;
|
|
241
781
|
shipment_status?: string | null | undefined;
|
|
@@ -248,9 +788,207 @@ declare const shipstationListShipmentsTool: ToolDefinition<{
|
|
|
248
788
|
has_more: boolean;
|
|
249
789
|
};
|
|
250
790
|
}>;
|
|
791
|
+
declare const shipstationListFulfillmentsTool: ToolDefinition<{
|
|
792
|
+
page?: number | undefined;
|
|
793
|
+
page_size?: number | undefined;
|
|
794
|
+
ship_to_name?: string | undefined;
|
|
795
|
+
ship_to_country_code?: string | undefined;
|
|
796
|
+
shipment_number?: string | undefined;
|
|
797
|
+
shipment_id?: string | undefined;
|
|
798
|
+
fulfillment_id?: string | undefined;
|
|
799
|
+
batch_id?: string | undefined;
|
|
800
|
+
order_source_id?: string | undefined;
|
|
801
|
+
fulfillment_provider_code?: string | undefined;
|
|
802
|
+
tracking_number?: string | undefined;
|
|
803
|
+
ship_date_start?: string | undefined;
|
|
804
|
+
ship_date_end?: string | undefined;
|
|
805
|
+
create_date_start?: string | undefined;
|
|
806
|
+
create_date_end?: string | undefined;
|
|
807
|
+
sort_dir?: "asc" | "desc" | undefined;
|
|
808
|
+
sort_by?: "created_at" | undefined;
|
|
809
|
+
}, {
|
|
810
|
+
items: {
|
|
811
|
+
[x: string]: unknown;
|
|
812
|
+
fulfillment_id: string;
|
|
813
|
+
shipment_id?: string | null | undefined;
|
|
814
|
+
shipment_number?: string | null | undefined;
|
|
815
|
+
tracking_number?: string | null | undefined;
|
|
816
|
+
carrier_code?: string | null | undefined;
|
|
817
|
+
fulfillment_provider_code?: string | null | undefined;
|
|
818
|
+
created_at?: string | null | undefined;
|
|
819
|
+
ship_date?: string | null | undefined;
|
|
820
|
+
}[];
|
|
821
|
+
pagination: {
|
|
822
|
+
total: number;
|
|
823
|
+
page: number;
|
|
824
|
+
pages: number;
|
|
825
|
+
page_size: number;
|
|
826
|
+
has_more: boolean;
|
|
827
|
+
};
|
|
828
|
+
}>;
|
|
829
|
+
declare const shipstationListCarriersTool: ToolDefinition<Record<string, never>, {
|
|
830
|
+
items: {
|
|
831
|
+
[x: string]: unknown;
|
|
832
|
+
carrier_id: string;
|
|
833
|
+
carrier_code?: string | null | undefined;
|
|
834
|
+
account_number?: string | null | undefined;
|
|
835
|
+
nickname?: string | null | undefined;
|
|
836
|
+
friendly_name?: string | null | undefined;
|
|
837
|
+
primary?: boolean | null | undefined;
|
|
838
|
+
connection_status?: string | null | undefined;
|
|
839
|
+
services?: {
|
|
840
|
+
[x: string]: unknown;
|
|
841
|
+
service_code: string;
|
|
842
|
+
name?: string | null | undefined;
|
|
843
|
+
carrier_id?: string | null | undefined;
|
|
844
|
+
carrier_code?: string | null | undefined;
|
|
845
|
+
domestic?: boolean | null | undefined;
|
|
846
|
+
international?: boolean | null | undefined;
|
|
847
|
+
}[] | undefined;
|
|
848
|
+
packages?: {
|
|
849
|
+
[x: string]: unknown;
|
|
850
|
+
package_code: string;
|
|
851
|
+
name?: string | null | undefined;
|
|
852
|
+
carrier_id?: string | null | undefined;
|
|
853
|
+
carrier_code?: string | null | undefined;
|
|
854
|
+
}[] | undefined;
|
|
855
|
+
options?: {
|
|
856
|
+
[x: string]: unknown;
|
|
857
|
+
name: string;
|
|
858
|
+
description?: string | null | undefined;
|
|
859
|
+
default_value?: string | number | boolean | null | undefined;
|
|
860
|
+
}[] | undefined;
|
|
861
|
+
}[];
|
|
862
|
+
}>;
|
|
863
|
+
declare const shipstationGetCarrierTool: ToolDefinition<{
|
|
864
|
+
carrier_id: string;
|
|
865
|
+
}, {
|
|
866
|
+
[x: string]: unknown;
|
|
867
|
+
carrier_id: string;
|
|
868
|
+
carrier_code?: string | null | undefined;
|
|
869
|
+
account_number?: string | null | undefined;
|
|
870
|
+
nickname?: string | null | undefined;
|
|
871
|
+
friendly_name?: string | null | undefined;
|
|
872
|
+
primary?: boolean | null | undefined;
|
|
873
|
+
connection_status?: string | null | undefined;
|
|
874
|
+
services?: {
|
|
875
|
+
[x: string]: unknown;
|
|
876
|
+
service_code: string;
|
|
877
|
+
name?: string | null | undefined;
|
|
878
|
+
carrier_id?: string | null | undefined;
|
|
879
|
+
carrier_code?: string | null | undefined;
|
|
880
|
+
domestic?: boolean | null | undefined;
|
|
881
|
+
international?: boolean | null | undefined;
|
|
882
|
+
}[] | undefined;
|
|
883
|
+
packages?: {
|
|
884
|
+
[x: string]: unknown;
|
|
885
|
+
package_code: string;
|
|
886
|
+
name?: string | null | undefined;
|
|
887
|
+
carrier_id?: string | null | undefined;
|
|
888
|
+
carrier_code?: string | null | undefined;
|
|
889
|
+
}[] | undefined;
|
|
890
|
+
options?: {
|
|
891
|
+
[x: string]: unknown;
|
|
892
|
+
name: string;
|
|
893
|
+
description?: string | null | undefined;
|
|
894
|
+
default_value?: string | number | boolean | null | undefined;
|
|
895
|
+
}[] | undefined;
|
|
896
|
+
}>;
|
|
897
|
+
declare const shipstationListCarrierServicesTool: ToolDefinition<{
|
|
898
|
+
carrier_id: string;
|
|
899
|
+
}, {
|
|
900
|
+
items: {
|
|
901
|
+
[x: string]: unknown;
|
|
902
|
+
service_code: string;
|
|
903
|
+
name?: string | null | undefined;
|
|
904
|
+
carrier_id?: string | null | undefined;
|
|
905
|
+
carrier_code?: string | null | undefined;
|
|
906
|
+
domestic?: boolean | null | undefined;
|
|
907
|
+
international?: boolean | null | undefined;
|
|
908
|
+
}[];
|
|
909
|
+
}>;
|
|
910
|
+
declare const shipstationListCarrierPackagesTool: ToolDefinition<{
|
|
911
|
+
carrier_id: string;
|
|
912
|
+
}, {
|
|
913
|
+
items: {
|
|
914
|
+
[x: string]: unknown;
|
|
915
|
+
package_code: string;
|
|
916
|
+
name?: string | null | undefined;
|
|
917
|
+
carrier_id?: string | null | undefined;
|
|
918
|
+
carrier_code?: string | null | undefined;
|
|
919
|
+
}[];
|
|
920
|
+
}>;
|
|
921
|
+
declare const shipstationListCarrierOptionsTool: ToolDefinition<{
|
|
922
|
+
carrier_id: string;
|
|
923
|
+
}, {
|
|
924
|
+
items: {
|
|
925
|
+
[x: string]: unknown;
|
|
926
|
+
name: string;
|
|
927
|
+
description?: string | null | undefined;
|
|
928
|
+
default_value?: string | number | boolean | null | undefined;
|
|
929
|
+
}[];
|
|
930
|
+
}>;
|
|
931
|
+
declare const shipstationListOrdersTool: ToolDefinition<{
|
|
932
|
+
page?: number | undefined;
|
|
933
|
+
page_size?: number | undefined;
|
|
934
|
+
customer_name?: string | undefined;
|
|
935
|
+
item_keyword?: string | undefined;
|
|
936
|
+
create_date_start?: string | undefined;
|
|
937
|
+
create_date_end?: string | undefined;
|
|
938
|
+
modify_date_start?: string | undefined;
|
|
939
|
+
modify_date_end?: string | undefined;
|
|
940
|
+
order_date_start?: string | undefined;
|
|
941
|
+
order_date_end?: string | undefined;
|
|
942
|
+
order_number?: string | undefined;
|
|
943
|
+
order_status?: "awaiting_payment" | "awaiting_shipment" | "cancelled" | "on_hold" | "pending_fulfillment" | "rejected_fulfillment" | "shipped" | undefined;
|
|
944
|
+
payment_date_start?: string | undefined;
|
|
945
|
+
payment_date_end?: string | undefined;
|
|
946
|
+
store_id?: number | undefined;
|
|
947
|
+
sort_by?: "CreateDate" | "ModifyDate" | "OrderDate" | undefined;
|
|
948
|
+
sort_dir?: "ASC" | "DESC" | undefined;
|
|
949
|
+
}, {
|
|
950
|
+
items: {
|
|
951
|
+
[x: string]: unknown;
|
|
952
|
+
orderId: number;
|
|
953
|
+
orderNumber?: string | null | undefined;
|
|
954
|
+
orderKey?: string | null | undefined;
|
|
955
|
+
orderStatus?: string | null | undefined;
|
|
956
|
+
createDate?: string | null | undefined;
|
|
957
|
+
modifyDate?: string | null | undefined;
|
|
958
|
+
orderDate?: string | null | undefined;
|
|
959
|
+
paymentDate?: string | null | undefined;
|
|
960
|
+
shipByDate?: string | null | undefined;
|
|
961
|
+
storeId?: number | null | undefined;
|
|
962
|
+
}[];
|
|
963
|
+
pagination: {
|
|
964
|
+
total: number;
|
|
965
|
+
page: number;
|
|
966
|
+
pages: number;
|
|
967
|
+
page_size: number;
|
|
968
|
+
has_more: boolean;
|
|
969
|
+
};
|
|
970
|
+
}>;
|
|
971
|
+
declare const shipstationListStoresTool: ToolDefinition<{
|
|
972
|
+
show_inactive?: boolean | undefined;
|
|
973
|
+
marketplace_id?: number | undefined;
|
|
974
|
+
}, {
|
|
975
|
+
items: {
|
|
976
|
+
[x: string]: unknown;
|
|
977
|
+
storeId: number;
|
|
978
|
+
storeName?: string | null | undefined;
|
|
979
|
+
marketplaceId?: number | null | undefined;
|
|
980
|
+
marketplaceName?: string | null | undefined;
|
|
981
|
+
active?: boolean | null | undefined;
|
|
982
|
+
createDate?: string | null | undefined;
|
|
983
|
+
modifyDate?: string | null | undefined;
|
|
984
|
+
autoRefresh?: boolean | null | undefined;
|
|
985
|
+
}[];
|
|
986
|
+
}>;
|
|
251
987
|
declare const shipstationModule: ModuleDefinition<{
|
|
252
|
-
|
|
988
|
+
v2_api_key: string;
|
|
989
|
+
v1_api_key: string;
|
|
990
|
+
v1_api_secret: string;
|
|
253
991
|
}>;
|
|
254
992
|
//#endregion
|
|
255
|
-
export { type ShipstationAuth, ShipstationClient, type ShipstationClientOptions, type ShipstationLabelRaw, type ShipstationListLabelsPageInput, type ShipstationListLabelsPageOutput, type ShipstationListShipmentsPageInput, type ShipstationListShipmentsPageOutput, type ShipstationPagination, type ShipstationShipmentRaw, shipstationAuthSchema, shipstationLabelRawSchema, shipstationListLabelsPageInputSchema, shipstationListLabelsPageOutputSchema, shipstationListLabelsResponseSchema, shipstationListLabelsTool, shipstationListShipmentsPageInputSchema, shipstationListShipmentsPageOutputSchema, shipstationListShipmentsResponseSchema, shipstationListShipmentsTool, shipstationModule, shipstationPaginationSchema, shipstationShipmentRawSchema };
|
|
993
|
+
export { type ShipstationAuth, type ShipstationCarrierIdInput, type ShipstationCarrierOptionRaw, type ShipstationCarrierPackageRaw, type ShipstationCarrierRaw, type ShipstationCarrierServiceRaw, ShipstationClient, type ShipstationClientOptions, type ShipstationFulfillmentRaw, type ShipstationGetCarrierOutput, type ShipstationLabelRaw, type ShipstationListCarrierOptionsOutput, type ShipstationListCarrierPackagesOutput, type ShipstationListCarrierServicesOutput, type ShipstationListCarriersOutput, type ShipstationListFulfillmentsPageInput, type ShipstationListFulfillmentsPageOutput, type ShipstationListLabelsPageInput, type ShipstationListLabelsPageOutput, type ShipstationListOrdersPageInput, type ShipstationListOrdersPageOutput, type ShipstationListShipmentsPageInput, type ShipstationListShipmentsPageOutput, type ShipstationListStoresInput, type ShipstationListStoresOutput, type ShipstationOrderRaw, type ShipstationPagination, type ShipstationShipmentRaw, type ShipstationStoreRaw, shipstationAuthSchema, shipstationCarrierIdInputSchema, shipstationCarrierOptionRawSchema, shipstationCarrierPackageRawSchema, shipstationCarrierRawSchema, shipstationCarrierServiceRawSchema, shipstationFulfillmentRawSchema, shipstationGetCarrierOutputSchema, shipstationGetCarrierTool, shipstationLabelRawSchema, shipstationListCarrierOptionsOutputSchema, shipstationListCarrierOptionsResponseSchema, shipstationListCarrierOptionsTool, shipstationListCarrierPackagesOutputSchema, shipstationListCarrierPackagesResponseSchema, shipstationListCarrierPackagesTool, shipstationListCarrierServicesOutputSchema, shipstationListCarrierServicesResponseSchema, shipstationListCarrierServicesTool, shipstationListCarriersOutputSchema, shipstationListCarriersResponseSchema, shipstationListCarriersTool, shipstationListFulfillmentsPageInputSchema, shipstationListFulfillmentsPageOutputSchema, shipstationListFulfillmentsResponseSchema, shipstationListFulfillmentsTool, shipstationListLabelsPageInputSchema, shipstationListLabelsPageOutputSchema, shipstationListLabelsResponseSchema, shipstationListLabelsTool, shipstationListOrdersPageInputSchema, shipstationListOrdersPageOutputSchema, shipstationListOrdersResponseSchema, shipstationListOrdersTool, shipstationListShipmentsPageInputSchema, shipstationListShipmentsPageOutputSchema, shipstationListShipmentsResponseSchema, shipstationListShipmentsTool, shipstationListStoresInputSchema, shipstationListStoresOutputSchema, shipstationListStoresResponseSchema, shipstationListStoresTool, shipstationModule, shipstationMoneySchema, shipstationOrderRawSchema, shipstationPaginationSchema, shipstationRefundDetailsRawSchema, shipstationShipmentRawSchema, shipstationStoreRawSchema };
|
|
256
994
|
//# sourceMappingURL=index.d.ts.map
|