@lehaotech/walmart-mcp 0.5.4

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.
Files changed (87) hide show
  1. package/.env.example +25 -0
  2. package/CHANGELOG.md +247 -0
  3. package/LICENSE +21 -0
  4. package/README.md +344 -0
  5. package/build/api/advertising/ad-client.d.ts +24 -0
  6. package/build/api/advertising/ad-client.js +174 -0
  7. package/build/api/advertising/advertising-api.d.ts +50 -0
  8. package/build/api/advertising/advertising-api.js +89 -0
  9. package/build/api/client.d.ts +19 -0
  10. package/build/api/client.js +150 -0
  11. package/build/api/feeds/feeds-api.d.ts +15 -0
  12. package/build/api/feeds/feeds-api.js +53 -0
  13. package/build/api/fulfillment/fulfillment-api.d.ts +37 -0
  14. package/build/api/fulfillment/fulfillment-api.js +81 -0
  15. package/build/api/index.d.ts +44 -0
  16. package/build/api/index.js +56 -0
  17. package/build/api/inventory/inventory-api.d.ts +27 -0
  18. package/build/api/inventory/inventory-api.js +49 -0
  19. package/build/api/items/items-api.d.ts +33 -0
  20. package/build/api/items/items-api.js +67 -0
  21. package/build/api/notifications/notifications-api.d.ts +14 -0
  22. package/build/api/notifications/notifications-api.js +33 -0
  23. package/build/api/orders/orders-api.d.ts +32 -0
  24. package/build/api/orders/orders-api.js +47 -0
  25. package/build/api/pricing/pricing-api.d.ts +32 -0
  26. package/build/api/pricing/pricing-api.js +60 -0
  27. package/build/api/reports/reports-api.d.ts +37 -0
  28. package/build/api/reports/reports-api.js +51 -0
  29. package/build/api/returns/returns-api.d.ts +26 -0
  30. package/build/api/returns/returns-api.js +37 -0
  31. package/build/api/settings/settings-api.d.ts +9 -0
  32. package/build/api/settings/settings-api.js +21 -0
  33. package/build/auth/oauth.d.ts +16 -0
  34. package/build/auth/oauth.js +125 -0
  35. package/build/config/environment.d.ts +22 -0
  36. package/build/config/environment.js +50 -0
  37. package/build/index.d.ts +2 -0
  38. package/build/index.js +180 -0
  39. package/build/scripts/client-configs.d.ts +36 -0
  40. package/build/scripts/client-configs.js +132 -0
  41. package/build/scripts/diagnose.d.ts +15 -0
  42. package/build/scripts/diagnose.js +320 -0
  43. package/build/scripts/setup.d.ts +17 -0
  44. package/build/scripts/setup.js +276 -0
  45. package/build/tools/definitions/advertising.d.ts +664 -0
  46. package/build/tools/definitions/advertising.js +315 -0
  47. package/build/tools/definitions/discovery.d.ts +24 -0
  48. package/build/tools/definitions/discovery.js +65 -0
  49. package/build/tools/definitions/feeds.d.ts +46 -0
  50. package/build/tools/definitions/feeds.js +42 -0
  51. package/build/tools/definitions/fulfillment.d.ts +1127 -0
  52. package/build/tools/definitions/fulfillment.js +272 -0
  53. package/build/tools/definitions/inventory.d.ts +392 -0
  54. package/build/tools/definitions/inventory.js +182 -0
  55. package/build/tools/definitions/items.d.ts +447 -0
  56. package/build/tools/definitions/items.js +223 -0
  57. package/build/tools/definitions/notifications.d.ts +84 -0
  58. package/build/tools/definitions/notifications.js +73 -0
  59. package/build/tools/definitions/orders.d.ts +2659 -0
  60. package/build/tools/definitions/orders.js +298 -0
  61. package/build/tools/definitions/pricing.d.ts +724 -0
  62. package/build/tools/definitions/pricing.js +254 -0
  63. package/build/tools/definitions/reports.d.ts +223 -0
  64. package/build/tools/definitions/reports.js +144 -0
  65. package/build/tools/definitions/returns.d.ts +441 -0
  66. package/build/tools/definitions/returns.js +126 -0
  67. package/build/tools/definitions/settings.d.ts +100 -0
  68. package/build/tools/definitions/settings.js +52 -0
  69. package/build/tools/definitions/shared-schemas.d.ts +40 -0
  70. package/build/tools/definitions/shared-schemas.js +47 -0
  71. package/build/tools/definitions/token-management.d.ts +16 -0
  72. package/build/tools/definitions/token-management.js +41 -0
  73. package/build/tools/index.d.ts +6924 -0
  74. package/build/tools/index.js +379 -0
  75. package/build/utils/api-error.d.ts +41 -0
  76. package/build/utils/api-error.js +97 -0
  77. package/build/utils/endpoint-catalog.d.ts +22 -0
  78. package/build/utils/endpoint-catalog.js +89 -0
  79. package/build/utils/env-file.d.ts +12 -0
  80. package/build/utils/env-file.js +27 -0
  81. package/build/utils/known-issues.d.ts +29 -0
  82. package/build/utils/known-issues.js +122 -0
  83. package/build/utils/logger.d.ts +15 -0
  84. package/build/utils/logger.js +56 -0
  85. package/build/utils/rate-limiter.d.ts +51 -0
  86. package/build/utils/rate-limiter.js +109 -0
  87. package/package.json +1 -0
@@ -0,0 +1,2659 @@
1
+ import { z } from 'zod';
2
+ export declare const orderTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ offset: z.ZodOptional<z.ZodString>;
8
+ status: z.ZodOptional<z.ZodEnum<["Created", "Acknowledged", "Shipped", "Delivered", "Cancelled"]>>;
9
+ createdStartDate: z.ZodOptional<z.ZodString>;
10
+ createdEndDate: z.ZodOptional<z.ZodString>;
11
+ customerOrderId: z.ZodOptional<z.ZodString>;
12
+ purchaseOrderId: z.ZodOptional<z.ZodString>;
13
+ sku: z.ZodOptional<z.ZodString>;
14
+ shipNode: z.ZodOptional<z.ZodString>;
15
+ shipmentData?: undefined;
16
+ cancelData?: undefined;
17
+ refundData?: undefined;
18
+ labelData?: undefined;
19
+ estimateParams?: undefined;
20
+ };
21
+ } | {
22
+ name: string;
23
+ description: string;
24
+ inputSchema: {
25
+ limit: z.ZodOptional<z.ZodNumber>;
26
+ offset: z.ZodOptional<z.ZodString>;
27
+ createdStartDate: z.ZodOptional<z.ZodString>;
28
+ createdEndDate: z.ZodOptional<z.ZodString>;
29
+ shipNode: z.ZodOptional<z.ZodString>;
30
+ status?: undefined;
31
+ customerOrderId?: undefined;
32
+ purchaseOrderId?: undefined;
33
+ sku?: undefined;
34
+ shipmentData?: undefined;
35
+ cancelData?: undefined;
36
+ refundData?: undefined;
37
+ labelData?: undefined;
38
+ estimateParams?: undefined;
39
+ };
40
+ } | {
41
+ name: string;
42
+ description: string;
43
+ inputSchema: {
44
+ purchaseOrderId: z.ZodString;
45
+ limit?: undefined;
46
+ offset?: undefined;
47
+ status?: undefined;
48
+ createdStartDate?: undefined;
49
+ createdEndDate?: undefined;
50
+ customerOrderId?: undefined;
51
+ sku?: undefined;
52
+ shipNode?: undefined;
53
+ shipmentData?: undefined;
54
+ cancelData?: undefined;
55
+ refundData?: undefined;
56
+ labelData?: undefined;
57
+ estimateParams?: undefined;
58
+ };
59
+ } | {
60
+ name: string;
61
+ description: string;
62
+ inputSchema: {
63
+ purchaseOrderId: z.ZodString;
64
+ shipmentData: z.ZodObject<{
65
+ orderLines: z.ZodObject<{
66
+ orderLine: z.ZodArray<z.ZodObject<{
67
+ lineNumber: z.ZodString;
68
+ orderLineStatuses: z.ZodObject<{
69
+ orderLineStatus: z.ZodArray<z.ZodObject<{
70
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
71
+ statusQuantity: z.ZodObject<{
72
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
73
+ amount: z.ZodString;
74
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
75
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
76
+ amount: z.ZodString;
77
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
78
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
79
+ amount: z.ZodString;
80
+ }, z.ZodTypeAny, "passthrough">>;
81
+ trackingInfo: z.ZodObject<{
82
+ shipDateTime: z.ZodString;
83
+ carrierName: z.ZodObject<{
84
+ carrier: z.ZodOptional<z.ZodString>;
85
+ otherCarrier: z.ZodOptional<z.ZodString>;
86
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
87
+ carrier: z.ZodOptional<z.ZodString>;
88
+ otherCarrier: z.ZodOptional<z.ZodString>;
89
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
90
+ carrier: z.ZodOptional<z.ZodString>;
91
+ otherCarrier: z.ZodOptional<z.ZodString>;
92
+ }, z.ZodTypeAny, "passthrough">>;
93
+ methodCode: z.ZodString;
94
+ trackingNumber: z.ZodString;
95
+ trackingURL: z.ZodOptional<z.ZodString>;
96
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
97
+ shipDateTime: z.ZodString;
98
+ carrierName: z.ZodObject<{
99
+ carrier: z.ZodOptional<z.ZodString>;
100
+ otherCarrier: z.ZodOptional<z.ZodString>;
101
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102
+ carrier: z.ZodOptional<z.ZodString>;
103
+ otherCarrier: z.ZodOptional<z.ZodString>;
104
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105
+ carrier: z.ZodOptional<z.ZodString>;
106
+ otherCarrier: z.ZodOptional<z.ZodString>;
107
+ }, z.ZodTypeAny, "passthrough">>;
108
+ methodCode: z.ZodString;
109
+ trackingNumber: z.ZodString;
110
+ trackingURL: z.ZodOptional<z.ZodString>;
111
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
112
+ shipDateTime: z.ZodString;
113
+ carrierName: z.ZodObject<{
114
+ carrier: z.ZodOptional<z.ZodString>;
115
+ otherCarrier: z.ZodOptional<z.ZodString>;
116
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
117
+ carrier: z.ZodOptional<z.ZodString>;
118
+ otherCarrier: z.ZodOptional<z.ZodString>;
119
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
120
+ carrier: z.ZodOptional<z.ZodString>;
121
+ otherCarrier: z.ZodOptional<z.ZodString>;
122
+ }, z.ZodTypeAny, "passthrough">>;
123
+ methodCode: z.ZodString;
124
+ trackingNumber: z.ZodString;
125
+ trackingURL: z.ZodOptional<z.ZodString>;
126
+ }, z.ZodTypeAny, "passthrough">>;
127
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
128
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
129
+ statusQuantity: z.ZodObject<{
130
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
131
+ amount: z.ZodString;
132
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
133
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
134
+ amount: z.ZodString;
135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
136
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
137
+ amount: z.ZodString;
138
+ }, z.ZodTypeAny, "passthrough">>;
139
+ trackingInfo: z.ZodObject<{
140
+ shipDateTime: z.ZodString;
141
+ carrierName: z.ZodObject<{
142
+ carrier: z.ZodOptional<z.ZodString>;
143
+ otherCarrier: z.ZodOptional<z.ZodString>;
144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
145
+ carrier: z.ZodOptional<z.ZodString>;
146
+ otherCarrier: z.ZodOptional<z.ZodString>;
147
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
148
+ carrier: z.ZodOptional<z.ZodString>;
149
+ otherCarrier: z.ZodOptional<z.ZodString>;
150
+ }, z.ZodTypeAny, "passthrough">>;
151
+ methodCode: z.ZodString;
152
+ trackingNumber: z.ZodString;
153
+ trackingURL: z.ZodOptional<z.ZodString>;
154
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
155
+ shipDateTime: z.ZodString;
156
+ carrierName: z.ZodObject<{
157
+ carrier: z.ZodOptional<z.ZodString>;
158
+ otherCarrier: z.ZodOptional<z.ZodString>;
159
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
160
+ carrier: z.ZodOptional<z.ZodString>;
161
+ otherCarrier: z.ZodOptional<z.ZodString>;
162
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
163
+ carrier: z.ZodOptional<z.ZodString>;
164
+ otherCarrier: z.ZodOptional<z.ZodString>;
165
+ }, z.ZodTypeAny, "passthrough">>;
166
+ methodCode: z.ZodString;
167
+ trackingNumber: z.ZodString;
168
+ trackingURL: z.ZodOptional<z.ZodString>;
169
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
170
+ shipDateTime: z.ZodString;
171
+ carrierName: z.ZodObject<{
172
+ carrier: z.ZodOptional<z.ZodString>;
173
+ otherCarrier: z.ZodOptional<z.ZodString>;
174
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
175
+ carrier: z.ZodOptional<z.ZodString>;
176
+ otherCarrier: z.ZodOptional<z.ZodString>;
177
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
178
+ carrier: z.ZodOptional<z.ZodString>;
179
+ otherCarrier: z.ZodOptional<z.ZodString>;
180
+ }, z.ZodTypeAny, "passthrough">>;
181
+ methodCode: z.ZodString;
182
+ trackingNumber: z.ZodString;
183
+ trackingURL: z.ZodOptional<z.ZodString>;
184
+ }, z.ZodTypeAny, "passthrough">>;
185
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
186
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
187
+ statusQuantity: z.ZodObject<{
188
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
189
+ amount: z.ZodString;
190
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
191
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
192
+ amount: z.ZodString;
193
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
194
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
195
+ amount: z.ZodString;
196
+ }, z.ZodTypeAny, "passthrough">>;
197
+ trackingInfo: z.ZodObject<{
198
+ shipDateTime: z.ZodString;
199
+ carrierName: z.ZodObject<{
200
+ carrier: z.ZodOptional<z.ZodString>;
201
+ otherCarrier: z.ZodOptional<z.ZodString>;
202
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
203
+ carrier: z.ZodOptional<z.ZodString>;
204
+ otherCarrier: z.ZodOptional<z.ZodString>;
205
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
206
+ carrier: z.ZodOptional<z.ZodString>;
207
+ otherCarrier: z.ZodOptional<z.ZodString>;
208
+ }, z.ZodTypeAny, "passthrough">>;
209
+ methodCode: z.ZodString;
210
+ trackingNumber: z.ZodString;
211
+ trackingURL: z.ZodOptional<z.ZodString>;
212
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
213
+ shipDateTime: z.ZodString;
214
+ carrierName: z.ZodObject<{
215
+ carrier: z.ZodOptional<z.ZodString>;
216
+ otherCarrier: z.ZodOptional<z.ZodString>;
217
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
218
+ carrier: z.ZodOptional<z.ZodString>;
219
+ otherCarrier: z.ZodOptional<z.ZodString>;
220
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
221
+ carrier: z.ZodOptional<z.ZodString>;
222
+ otherCarrier: z.ZodOptional<z.ZodString>;
223
+ }, z.ZodTypeAny, "passthrough">>;
224
+ methodCode: z.ZodString;
225
+ trackingNumber: z.ZodString;
226
+ trackingURL: z.ZodOptional<z.ZodString>;
227
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
228
+ shipDateTime: z.ZodString;
229
+ carrierName: z.ZodObject<{
230
+ carrier: z.ZodOptional<z.ZodString>;
231
+ otherCarrier: z.ZodOptional<z.ZodString>;
232
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
233
+ carrier: z.ZodOptional<z.ZodString>;
234
+ otherCarrier: z.ZodOptional<z.ZodString>;
235
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
236
+ carrier: z.ZodOptional<z.ZodString>;
237
+ otherCarrier: z.ZodOptional<z.ZodString>;
238
+ }, z.ZodTypeAny, "passthrough">>;
239
+ methodCode: z.ZodString;
240
+ trackingNumber: z.ZodString;
241
+ trackingURL: z.ZodOptional<z.ZodString>;
242
+ }, z.ZodTypeAny, "passthrough">>;
243
+ }, z.ZodTypeAny, "passthrough">>, "many">;
244
+ }, "strict", z.ZodTypeAny, {
245
+ orderLineStatus: z.objectOutputType<{
246
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
247
+ statusQuantity: z.ZodObject<{
248
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
249
+ amount: z.ZodString;
250
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
251
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
252
+ amount: z.ZodString;
253
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
254
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
255
+ amount: z.ZodString;
256
+ }, z.ZodTypeAny, "passthrough">>;
257
+ trackingInfo: z.ZodObject<{
258
+ shipDateTime: z.ZodString;
259
+ carrierName: z.ZodObject<{
260
+ carrier: z.ZodOptional<z.ZodString>;
261
+ otherCarrier: z.ZodOptional<z.ZodString>;
262
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
263
+ carrier: z.ZodOptional<z.ZodString>;
264
+ otherCarrier: z.ZodOptional<z.ZodString>;
265
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
266
+ carrier: z.ZodOptional<z.ZodString>;
267
+ otherCarrier: z.ZodOptional<z.ZodString>;
268
+ }, z.ZodTypeAny, "passthrough">>;
269
+ methodCode: z.ZodString;
270
+ trackingNumber: z.ZodString;
271
+ trackingURL: z.ZodOptional<z.ZodString>;
272
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
273
+ shipDateTime: z.ZodString;
274
+ carrierName: z.ZodObject<{
275
+ carrier: z.ZodOptional<z.ZodString>;
276
+ otherCarrier: z.ZodOptional<z.ZodString>;
277
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
278
+ carrier: z.ZodOptional<z.ZodString>;
279
+ otherCarrier: z.ZodOptional<z.ZodString>;
280
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
281
+ carrier: z.ZodOptional<z.ZodString>;
282
+ otherCarrier: z.ZodOptional<z.ZodString>;
283
+ }, z.ZodTypeAny, "passthrough">>;
284
+ methodCode: z.ZodString;
285
+ trackingNumber: z.ZodString;
286
+ trackingURL: z.ZodOptional<z.ZodString>;
287
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
288
+ shipDateTime: z.ZodString;
289
+ carrierName: z.ZodObject<{
290
+ carrier: z.ZodOptional<z.ZodString>;
291
+ otherCarrier: z.ZodOptional<z.ZodString>;
292
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
293
+ carrier: z.ZodOptional<z.ZodString>;
294
+ otherCarrier: z.ZodOptional<z.ZodString>;
295
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
296
+ carrier: z.ZodOptional<z.ZodString>;
297
+ otherCarrier: z.ZodOptional<z.ZodString>;
298
+ }, z.ZodTypeAny, "passthrough">>;
299
+ methodCode: z.ZodString;
300
+ trackingNumber: z.ZodString;
301
+ trackingURL: z.ZodOptional<z.ZodString>;
302
+ }, z.ZodTypeAny, "passthrough">>;
303
+ }, z.ZodTypeAny, "passthrough">[];
304
+ }, {
305
+ orderLineStatus: z.objectInputType<{
306
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
307
+ statusQuantity: z.ZodObject<{
308
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
309
+ amount: z.ZodString;
310
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
311
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
312
+ amount: z.ZodString;
313
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
314
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
315
+ amount: z.ZodString;
316
+ }, z.ZodTypeAny, "passthrough">>;
317
+ trackingInfo: z.ZodObject<{
318
+ shipDateTime: z.ZodString;
319
+ carrierName: z.ZodObject<{
320
+ carrier: z.ZodOptional<z.ZodString>;
321
+ otherCarrier: z.ZodOptional<z.ZodString>;
322
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
323
+ carrier: z.ZodOptional<z.ZodString>;
324
+ otherCarrier: z.ZodOptional<z.ZodString>;
325
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
326
+ carrier: z.ZodOptional<z.ZodString>;
327
+ otherCarrier: z.ZodOptional<z.ZodString>;
328
+ }, z.ZodTypeAny, "passthrough">>;
329
+ methodCode: z.ZodString;
330
+ trackingNumber: z.ZodString;
331
+ trackingURL: z.ZodOptional<z.ZodString>;
332
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
333
+ shipDateTime: z.ZodString;
334
+ carrierName: z.ZodObject<{
335
+ carrier: z.ZodOptional<z.ZodString>;
336
+ otherCarrier: z.ZodOptional<z.ZodString>;
337
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
338
+ carrier: z.ZodOptional<z.ZodString>;
339
+ otherCarrier: z.ZodOptional<z.ZodString>;
340
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
341
+ carrier: z.ZodOptional<z.ZodString>;
342
+ otherCarrier: z.ZodOptional<z.ZodString>;
343
+ }, z.ZodTypeAny, "passthrough">>;
344
+ methodCode: z.ZodString;
345
+ trackingNumber: z.ZodString;
346
+ trackingURL: z.ZodOptional<z.ZodString>;
347
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
348
+ shipDateTime: z.ZodString;
349
+ carrierName: z.ZodObject<{
350
+ carrier: z.ZodOptional<z.ZodString>;
351
+ otherCarrier: z.ZodOptional<z.ZodString>;
352
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
353
+ carrier: z.ZodOptional<z.ZodString>;
354
+ otherCarrier: z.ZodOptional<z.ZodString>;
355
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
356
+ carrier: z.ZodOptional<z.ZodString>;
357
+ otherCarrier: z.ZodOptional<z.ZodString>;
358
+ }, z.ZodTypeAny, "passthrough">>;
359
+ methodCode: z.ZodString;
360
+ trackingNumber: z.ZodString;
361
+ trackingURL: z.ZodOptional<z.ZodString>;
362
+ }, z.ZodTypeAny, "passthrough">>;
363
+ }, z.ZodTypeAny, "passthrough">[];
364
+ }>;
365
+ }, "strict", z.ZodTypeAny, {
366
+ lineNumber: string;
367
+ orderLineStatuses: {
368
+ orderLineStatus: z.objectOutputType<{
369
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
370
+ statusQuantity: z.ZodObject<{
371
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
372
+ amount: z.ZodString;
373
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
374
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
375
+ amount: z.ZodString;
376
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
377
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
378
+ amount: z.ZodString;
379
+ }, z.ZodTypeAny, "passthrough">>;
380
+ trackingInfo: z.ZodObject<{
381
+ shipDateTime: z.ZodString;
382
+ carrierName: z.ZodObject<{
383
+ carrier: z.ZodOptional<z.ZodString>;
384
+ otherCarrier: z.ZodOptional<z.ZodString>;
385
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
386
+ carrier: z.ZodOptional<z.ZodString>;
387
+ otherCarrier: z.ZodOptional<z.ZodString>;
388
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
389
+ carrier: z.ZodOptional<z.ZodString>;
390
+ otherCarrier: z.ZodOptional<z.ZodString>;
391
+ }, z.ZodTypeAny, "passthrough">>;
392
+ methodCode: z.ZodString;
393
+ trackingNumber: z.ZodString;
394
+ trackingURL: z.ZodOptional<z.ZodString>;
395
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
396
+ shipDateTime: z.ZodString;
397
+ carrierName: z.ZodObject<{
398
+ carrier: z.ZodOptional<z.ZodString>;
399
+ otherCarrier: z.ZodOptional<z.ZodString>;
400
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
401
+ carrier: z.ZodOptional<z.ZodString>;
402
+ otherCarrier: z.ZodOptional<z.ZodString>;
403
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
404
+ carrier: z.ZodOptional<z.ZodString>;
405
+ otherCarrier: z.ZodOptional<z.ZodString>;
406
+ }, z.ZodTypeAny, "passthrough">>;
407
+ methodCode: z.ZodString;
408
+ trackingNumber: z.ZodString;
409
+ trackingURL: z.ZodOptional<z.ZodString>;
410
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
411
+ shipDateTime: z.ZodString;
412
+ carrierName: z.ZodObject<{
413
+ carrier: z.ZodOptional<z.ZodString>;
414
+ otherCarrier: z.ZodOptional<z.ZodString>;
415
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
416
+ carrier: z.ZodOptional<z.ZodString>;
417
+ otherCarrier: z.ZodOptional<z.ZodString>;
418
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
419
+ carrier: z.ZodOptional<z.ZodString>;
420
+ otherCarrier: z.ZodOptional<z.ZodString>;
421
+ }, z.ZodTypeAny, "passthrough">>;
422
+ methodCode: z.ZodString;
423
+ trackingNumber: z.ZodString;
424
+ trackingURL: z.ZodOptional<z.ZodString>;
425
+ }, z.ZodTypeAny, "passthrough">>;
426
+ }, z.ZodTypeAny, "passthrough">[];
427
+ };
428
+ }, {
429
+ lineNumber: string;
430
+ orderLineStatuses: {
431
+ orderLineStatus: z.objectInputType<{
432
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
433
+ statusQuantity: z.ZodObject<{
434
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
435
+ amount: z.ZodString;
436
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
437
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
438
+ amount: z.ZodString;
439
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
440
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
441
+ amount: z.ZodString;
442
+ }, z.ZodTypeAny, "passthrough">>;
443
+ trackingInfo: z.ZodObject<{
444
+ shipDateTime: z.ZodString;
445
+ carrierName: z.ZodObject<{
446
+ carrier: z.ZodOptional<z.ZodString>;
447
+ otherCarrier: z.ZodOptional<z.ZodString>;
448
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
449
+ carrier: z.ZodOptional<z.ZodString>;
450
+ otherCarrier: z.ZodOptional<z.ZodString>;
451
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
452
+ carrier: z.ZodOptional<z.ZodString>;
453
+ otherCarrier: z.ZodOptional<z.ZodString>;
454
+ }, z.ZodTypeAny, "passthrough">>;
455
+ methodCode: z.ZodString;
456
+ trackingNumber: z.ZodString;
457
+ trackingURL: z.ZodOptional<z.ZodString>;
458
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
459
+ shipDateTime: z.ZodString;
460
+ carrierName: z.ZodObject<{
461
+ carrier: z.ZodOptional<z.ZodString>;
462
+ otherCarrier: z.ZodOptional<z.ZodString>;
463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
464
+ carrier: z.ZodOptional<z.ZodString>;
465
+ otherCarrier: z.ZodOptional<z.ZodString>;
466
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
467
+ carrier: z.ZodOptional<z.ZodString>;
468
+ otherCarrier: z.ZodOptional<z.ZodString>;
469
+ }, z.ZodTypeAny, "passthrough">>;
470
+ methodCode: z.ZodString;
471
+ trackingNumber: z.ZodString;
472
+ trackingURL: z.ZodOptional<z.ZodString>;
473
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
474
+ shipDateTime: z.ZodString;
475
+ carrierName: z.ZodObject<{
476
+ carrier: z.ZodOptional<z.ZodString>;
477
+ otherCarrier: z.ZodOptional<z.ZodString>;
478
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
479
+ carrier: z.ZodOptional<z.ZodString>;
480
+ otherCarrier: z.ZodOptional<z.ZodString>;
481
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
482
+ carrier: z.ZodOptional<z.ZodString>;
483
+ otherCarrier: z.ZodOptional<z.ZodString>;
484
+ }, z.ZodTypeAny, "passthrough">>;
485
+ methodCode: z.ZodString;
486
+ trackingNumber: z.ZodString;
487
+ trackingURL: z.ZodOptional<z.ZodString>;
488
+ }, z.ZodTypeAny, "passthrough">>;
489
+ }, z.ZodTypeAny, "passthrough">[];
490
+ };
491
+ }>, "many">;
492
+ }, "strict", z.ZodTypeAny, {
493
+ orderLine: {
494
+ lineNumber: string;
495
+ orderLineStatuses: {
496
+ orderLineStatus: z.objectOutputType<{
497
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
498
+ statusQuantity: z.ZodObject<{
499
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
500
+ amount: z.ZodString;
501
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
502
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
503
+ amount: z.ZodString;
504
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
505
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
506
+ amount: z.ZodString;
507
+ }, z.ZodTypeAny, "passthrough">>;
508
+ trackingInfo: z.ZodObject<{
509
+ shipDateTime: z.ZodString;
510
+ carrierName: z.ZodObject<{
511
+ carrier: z.ZodOptional<z.ZodString>;
512
+ otherCarrier: z.ZodOptional<z.ZodString>;
513
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
514
+ carrier: z.ZodOptional<z.ZodString>;
515
+ otherCarrier: z.ZodOptional<z.ZodString>;
516
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
517
+ carrier: z.ZodOptional<z.ZodString>;
518
+ otherCarrier: z.ZodOptional<z.ZodString>;
519
+ }, z.ZodTypeAny, "passthrough">>;
520
+ methodCode: z.ZodString;
521
+ trackingNumber: z.ZodString;
522
+ trackingURL: z.ZodOptional<z.ZodString>;
523
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
524
+ shipDateTime: z.ZodString;
525
+ carrierName: z.ZodObject<{
526
+ carrier: z.ZodOptional<z.ZodString>;
527
+ otherCarrier: z.ZodOptional<z.ZodString>;
528
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
529
+ carrier: z.ZodOptional<z.ZodString>;
530
+ otherCarrier: z.ZodOptional<z.ZodString>;
531
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
532
+ carrier: z.ZodOptional<z.ZodString>;
533
+ otherCarrier: z.ZodOptional<z.ZodString>;
534
+ }, z.ZodTypeAny, "passthrough">>;
535
+ methodCode: z.ZodString;
536
+ trackingNumber: z.ZodString;
537
+ trackingURL: z.ZodOptional<z.ZodString>;
538
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
539
+ shipDateTime: z.ZodString;
540
+ carrierName: z.ZodObject<{
541
+ carrier: z.ZodOptional<z.ZodString>;
542
+ otherCarrier: z.ZodOptional<z.ZodString>;
543
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
544
+ carrier: z.ZodOptional<z.ZodString>;
545
+ otherCarrier: z.ZodOptional<z.ZodString>;
546
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
547
+ carrier: z.ZodOptional<z.ZodString>;
548
+ otherCarrier: z.ZodOptional<z.ZodString>;
549
+ }, z.ZodTypeAny, "passthrough">>;
550
+ methodCode: z.ZodString;
551
+ trackingNumber: z.ZodString;
552
+ trackingURL: z.ZodOptional<z.ZodString>;
553
+ }, z.ZodTypeAny, "passthrough">>;
554
+ }, z.ZodTypeAny, "passthrough">[];
555
+ };
556
+ }[];
557
+ }, {
558
+ orderLine: {
559
+ lineNumber: string;
560
+ orderLineStatuses: {
561
+ orderLineStatus: z.objectInputType<{
562
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
563
+ statusQuantity: z.ZodObject<{
564
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
565
+ amount: z.ZodString;
566
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
567
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
568
+ amount: z.ZodString;
569
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
570
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
571
+ amount: z.ZodString;
572
+ }, z.ZodTypeAny, "passthrough">>;
573
+ trackingInfo: z.ZodObject<{
574
+ shipDateTime: z.ZodString;
575
+ carrierName: z.ZodObject<{
576
+ carrier: z.ZodOptional<z.ZodString>;
577
+ otherCarrier: z.ZodOptional<z.ZodString>;
578
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
579
+ carrier: z.ZodOptional<z.ZodString>;
580
+ otherCarrier: z.ZodOptional<z.ZodString>;
581
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
582
+ carrier: z.ZodOptional<z.ZodString>;
583
+ otherCarrier: z.ZodOptional<z.ZodString>;
584
+ }, z.ZodTypeAny, "passthrough">>;
585
+ methodCode: z.ZodString;
586
+ trackingNumber: z.ZodString;
587
+ trackingURL: z.ZodOptional<z.ZodString>;
588
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
589
+ shipDateTime: z.ZodString;
590
+ carrierName: z.ZodObject<{
591
+ carrier: z.ZodOptional<z.ZodString>;
592
+ otherCarrier: z.ZodOptional<z.ZodString>;
593
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
594
+ carrier: z.ZodOptional<z.ZodString>;
595
+ otherCarrier: z.ZodOptional<z.ZodString>;
596
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
597
+ carrier: z.ZodOptional<z.ZodString>;
598
+ otherCarrier: z.ZodOptional<z.ZodString>;
599
+ }, z.ZodTypeAny, "passthrough">>;
600
+ methodCode: z.ZodString;
601
+ trackingNumber: z.ZodString;
602
+ trackingURL: z.ZodOptional<z.ZodString>;
603
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
604
+ shipDateTime: z.ZodString;
605
+ carrierName: z.ZodObject<{
606
+ carrier: z.ZodOptional<z.ZodString>;
607
+ otherCarrier: z.ZodOptional<z.ZodString>;
608
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
609
+ carrier: z.ZodOptional<z.ZodString>;
610
+ otherCarrier: z.ZodOptional<z.ZodString>;
611
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
612
+ carrier: z.ZodOptional<z.ZodString>;
613
+ otherCarrier: z.ZodOptional<z.ZodString>;
614
+ }, z.ZodTypeAny, "passthrough">>;
615
+ methodCode: z.ZodString;
616
+ trackingNumber: z.ZodString;
617
+ trackingURL: z.ZodOptional<z.ZodString>;
618
+ }, z.ZodTypeAny, "passthrough">>;
619
+ }, z.ZodTypeAny, "passthrough">[];
620
+ };
621
+ }[];
622
+ }>;
623
+ }, "strict", z.ZodTypeAny, {
624
+ orderLines: {
625
+ orderLine: {
626
+ lineNumber: string;
627
+ orderLineStatuses: {
628
+ orderLineStatus: z.objectOutputType<{
629
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
630
+ statusQuantity: z.ZodObject<{
631
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
632
+ amount: z.ZodString;
633
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
634
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
635
+ amount: z.ZodString;
636
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
637
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
638
+ amount: z.ZodString;
639
+ }, z.ZodTypeAny, "passthrough">>;
640
+ trackingInfo: z.ZodObject<{
641
+ shipDateTime: z.ZodString;
642
+ carrierName: z.ZodObject<{
643
+ carrier: z.ZodOptional<z.ZodString>;
644
+ otherCarrier: z.ZodOptional<z.ZodString>;
645
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
646
+ carrier: z.ZodOptional<z.ZodString>;
647
+ otherCarrier: z.ZodOptional<z.ZodString>;
648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
649
+ carrier: z.ZodOptional<z.ZodString>;
650
+ otherCarrier: z.ZodOptional<z.ZodString>;
651
+ }, z.ZodTypeAny, "passthrough">>;
652
+ methodCode: z.ZodString;
653
+ trackingNumber: z.ZodString;
654
+ trackingURL: z.ZodOptional<z.ZodString>;
655
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
656
+ shipDateTime: z.ZodString;
657
+ carrierName: z.ZodObject<{
658
+ carrier: z.ZodOptional<z.ZodString>;
659
+ otherCarrier: z.ZodOptional<z.ZodString>;
660
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
661
+ carrier: z.ZodOptional<z.ZodString>;
662
+ otherCarrier: z.ZodOptional<z.ZodString>;
663
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
664
+ carrier: z.ZodOptional<z.ZodString>;
665
+ otherCarrier: z.ZodOptional<z.ZodString>;
666
+ }, z.ZodTypeAny, "passthrough">>;
667
+ methodCode: z.ZodString;
668
+ trackingNumber: z.ZodString;
669
+ trackingURL: z.ZodOptional<z.ZodString>;
670
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
671
+ shipDateTime: z.ZodString;
672
+ carrierName: z.ZodObject<{
673
+ carrier: z.ZodOptional<z.ZodString>;
674
+ otherCarrier: z.ZodOptional<z.ZodString>;
675
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
676
+ carrier: z.ZodOptional<z.ZodString>;
677
+ otherCarrier: z.ZodOptional<z.ZodString>;
678
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
679
+ carrier: z.ZodOptional<z.ZodString>;
680
+ otherCarrier: z.ZodOptional<z.ZodString>;
681
+ }, z.ZodTypeAny, "passthrough">>;
682
+ methodCode: z.ZodString;
683
+ trackingNumber: z.ZodString;
684
+ trackingURL: z.ZodOptional<z.ZodString>;
685
+ }, z.ZodTypeAny, "passthrough">>;
686
+ }, z.ZodTypeAny, "passthrough">[];
687
+ };
688
+ }[];
689
+ };
690
+ }, {
691
+ orderLines: {
692
+ orderLine: {
693
+ lineNumber: string;
694
+ orderLineStatuses: {
695
+ orderLineStatus: z.objectInputType<{
696
+ status: z.ZodDefault<z.ZodEnum<["Shipped"]>>;
697
+ statusQuantity: z.ZodObject<{
698
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
699
+ amount: z.ZodString;
700
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
701
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
702
+ amount: z.ZodString;
703
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
704
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
705
+ amount: z.ZodString;
706
+ }, z.ZodTypeAny, "passthrough">>;
707
+ trackingInfo: z.ZodObject<{
708
+ shipDateTime: z.ZodString;
709
+ carrierName: z.ZodObject<{
710
+ carrier: z.ZodOptional<z.ZodString>;
711
+ otherCarrier: z.ZodOptional<z.ZodString>;
712
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
713
+ carrier: z.ZodOptional<z.ZodString>;
714
+ otherCarrier: z.ZodOptional<z.ZodString>;
715
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
716
+ carrier: z.ZodOptional<z.ZodString>;
717
+ otherCarrier: z.ZodOptional<z.ZodString>;
718
+ }, z.ZodTypeAny, "passthrough">>;
719
+ methodCode: z.ZodString;
720
+ trackingNumber: z.ZodString;
721
+ trackingURL: z.ZodOptional<z.ZodString>;
722
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
723
+ shipDateTime: z.ZodString;
724
+ carrierName: z.ZodObject<{
725
+ carrier: z.ZodOptional<z.ZodString>;
726
+ otherCarrier: z.ZodOptional<z.ZodString>;
727
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
728
+ carrier: z.ZodOptional<z.ZodString>;
729
+ otherCarrier: z.ZodOptional<z.ZodString>;
730
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
731
+ carrier: z.ZodOptional<z.ZodString>;
732
+ otherCarrier: z.ZodOptional<z.ZodString>;
733
+ }, z.ZodTypeAny, "passthrough">>;
734
+ methodCode: z.ZodString;
735
+ trackingNumber: z.ZodString;
736
+ trackingURL: z.ZodOptional<z.ZodString>;
737
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
738
+ shipDateTime: z.ZodString;
739
+ carrierName: z.ZodObject<{
740
+ carrier: z.ZodOptional<z.ZodString>;
741
+ otherCarrier: z.ZodOptional<z.ZodString>;
742
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
743
+ carrier: z.ZodOptional<z.ZodString>;
744
+ otherCarrier: z.ZodOptional<z.ZodString>;
745
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
746
+ carrier: z.ZodOptional<z.ZodString>;
747
+ otherCarrier: z.ZodOptional<z.ZodString>;
748
+ }, z.ZodTypeAny, "passthrough">>;
749
+ methodCode: z.ZodString;
750
+ trackingNumber: z.ZodString;
751
+ trackingURL: z.ZodOptional<z.ZodString>;
752
+ }, z.ZodTypeAny, "passthrough">>;
753
+ }, z.ZodTypeAny, "passthrough">[];
754
+ };
755
+ }[];
756
+ };
757
+ }>;
758
+ limit?: undefined;
759
+ offset?: undefined;
760
+ status?: undefined;
761
+ createdStartDate?: undefined;
762
+ createdEndDate?: undefined;
763
+ customerOrderId?: undefined;
764
+ sku?: undefined;
765
+ shipNode?: undefined;
766
+ cancelData?: undefined;
767
+ refundData?: undefined;
768
+ labelData?: undefined;
769
+ estimateParams?: undefined;
770
+ };
771
+ } | {
772
+ name: string;
773
+ description: string;
774
+ inputSchema: {
775
+ purchaseOrderId: z.ZodString;
776
+ cancelData: z.ZodObject<{
777
+ orderCancellation: z.ZodObject<{
778
+ orderLines: z.ZodObject<{
779
+ orderLine: z.ZodArray<z.ZodObject<{
780
+ lineNumber: z.ZodString;
781
+ orderLineStatuses: z.ZodObject<{
782
+ orderLineStatus: z.ZodArray<z.ZodObject<{
783
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
784
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
785
+ statusQuantity: z.ZodObject<{
786
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
787
+ amount: z.ZodString;
788
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
789
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
790
+ amount: z.ZodString;
791
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
792
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
793
+ amount: z.ZodString;
794
+ }, z.ZodTypeAny, "passthrough">>;
795
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
796
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
797
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
798
+ statusQuantity: z.ZodObject<{
799
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
800
+ amount: z.ZodString;
801
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
802
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
803
+ amount: z.ZodString;
804
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
805
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
806
+ amount: z.ZodString;
807
+ }, z.ZodTypeAny, "passthrough">>;
808
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
809
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
810
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
811
+ statusQuantity: z.ZodObject<{
812
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
813
+ amount: z.ZodString;
814
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
815
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
816
+ amount: z.ZodString;
817
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
818
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
819
+ amount: z.ZodString;
820
+ }, z.ZodTypeAny, "passthrough">>;
821
+ }, z.ZodTypeAny, "passthrough">>, "many">;
822
+ }, "strict", z.ZodTypeAny, {
823
+ orderLineStatus: z.objectOutputType<{
824
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
825
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
826
+ statusQuantity: z.ZodObject<{
827
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
828
+ amount: z.ZodString;
829
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
830
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
831
+ amount: z.ZodString;
832
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
833
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
834
+ amount: z.ZodString;
835
+ }, z.ZodTypeAny, "passthrough">>;
836
+ }, z.ZodTypeAny, "passthrough">[];
837
+ }, {
838
+ orderLineStatus: z.objectInputType<{
839
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
840
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
841
+ statusQuantity: z.ZodObject<{
842
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
843
+ amount: z.ZodString;
844
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
845
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
846
+ amount: z.ZodString;
847
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
848
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
849
+ amount: z.ZodString;
850
+ }, z.ZodTypeAny, "passthrough">>;
851
+ }, z.ZodTypeAny, "passthrough">[];
852
+ }>;
853
+ }, "strict", z.ZodTypeAny, {
854
+ lineNumber: string;
855
+ orderLineStatuses: {
856
+ orderLineStatus: z.objectOutputType<{
857
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
858
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
859
+ statusQuantity: z.ZodObject<{
860
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
861
+ amount: z.ZodString;
862
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
863
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
864
+ amount: z.ZodString;
865
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
866
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
867
+ amount: z.ZodString;
868
+ }, z.ZodTypeAny, "passthrough">>;
869
+ }, z.ZodTypeAny, "passthrough">[];
870
+ };
871
+ }, {
872
+ lineNumber: string;
873
+ orderLineStatuses: {
874
+ orderLineStatus: z.objectInputType<{
875
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
876
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
877
+ statusQuantity: z.ZodObject<{
878
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
879
+ amount: z.ZodString;
880
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
881
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
882
+ amount: z.ZodString;
883
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
884
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
885
+ amount: z.ZodString;
886
+ }, z.ZodTypeAny, "passthrough">>;
887
+ }, z.ZodTypeAny, "passthrough">[];
888
+ };
889
+ }>, "many">;
890
+ }, "strict", z.ZodTypeAny, {
891
+ orderLine: {
892
+ lineNumber: string;
893
+ orderLineStatuses: {
894
+ orderLineStatus: z.objectOutputType<{
895
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
896
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
897
+ statusQuantity: z.ZodObject<{
898
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
899
+ amount: z.ZodString;
900
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
901
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
902
+ amount: z.ZodString;
903
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
904
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
905
+ amount: z.ZodString;
906
+ }, z.ZodTypeAny, "passthrough">>;
907
+ }, z.ZodTypeAny, "passthrough">[];
908
+ };
909
+ }[];
910
+ }, {
911
+ orderLine: {
912
+ lineNumber: string;
913
+ orderLineStatuses: {
914
+ orderLineStatus: z.objectInputType<{
915
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
916
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
917
+ statusQuantity: z.ZodObject<{
918
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
919
+ amount: z.ZodString;
920
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
921
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
922
+ amount: z.ZodString;
923
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
924
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
925
+ amount: z.ZodString;
926
+ }, z.ZodTypeAny, "passthrough">>;
927
+ }, z.ZodTypeAny, "passthrough">[];
928
+ };
929
+ }[];
930
+ }>;
931
+ }, "strict", z.ZodTypeAny, {
932
+ orderLines: {
933
+ orderLine: {
934
+ lineNumber: string;
935
+ orderLineStatuses: {
936
+ orderLineStatus: z.objectOutputType<{
937
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
938
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
939
+ statusQuantity: z.ZodObject<{
940
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
941
+ amount: z.ZodString;
942
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
943
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
944
+ amount: z.ZodString;
945
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
946
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
947
+ amount: z.ZodString;
948
+ }, z.ZodTypeAny, "passthrough">>;
949
+ }, z.ZodTypeAny, "passthrough">[];
950
+ };
951
+ }[];
952
+ };
953
+ }, {
954
+ orderLines: {
955
+ orderLine: {
956
+ lineNumber: string;
957
+ orderLineStatuses: {
958
+ orderLineStatus: z.objectInputType<{
959
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
960
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
961
+ statusQuantity: z.ZodObject<{
962
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
963
+ amount: z.ZodString;
964
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
965
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
966
+ amount: z.ZodString;
967
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
968
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
969
+ amount: z.ZodString;
970
+ }, z.ZodTypeAny, "passthrough">>;
971
+ }, z.ZodTypeAny, "passthrough">[];
972
+ };
973
+ }[];
974
+ };
975
+ }>;
976
+ }, "strict", z.ZodTypeAny, {
977
+ orderCancellation: {
978
+ orderLines: {
979
+ orderLine: {
980
+ lineNumber: string;
981
+ orderLineStatuses: {
982
+ orderLineStatus: z.objectOutputType<{
983
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
984
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
985
+ statusQuantity: z.ZodObject<{
986
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
987
+ amount: z.ZodString;
988
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
989
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
990
+ amount: z.ZodString;
991
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
992
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
993
+ amount: z.ZodString;
994
+ }, z.ZodTypeAny, "passthrough">>;
995
+ }, z.ZodTypeAny, "passthrough">[];
996
+ };
997
+ }[];
998
+ };
999
+ };
1000
+ }, {
1001
+ orderCancellation: {
1002
+ orderLines: {
1003
+ orderLine: {
1004
+ lineNumber: string;
1005
+ orderLineStatuses: {
1006
+ orderLineStatus: z.objectInputType<{
1007
+ status: z.ZodDefault<z.ZodLiteral<"Cancelled">>;
1008
+ cancellationReason: z.ZodEnum<["CUSTOMER_REQUESTED_SELLER_TO_CANCEL", "INVALID_BILLING_ADDRESS", "INVALID_SHIPPING_ADDRESS", "NO_INVENTORY", "PRICING_ERROR", "OTHER"]>;
1009
+ statusQuantity: z.ZodObject<{
1010
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
1011
+ amount: z.ZodString;
1012
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1013
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
1014
+ amount: z.ZodString;
1015
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1016
+ unitOfMeasurement: z.ZodDefault<z.ZodString>;
1017
+ amount: z.ZodString;
1018
+ }, z.ZodTypeAny, "passthrough">>;
1019
+ }, z.ZodTypeAny, "passthrough">[];
1020
+ };
1021
+ }[];
1022
+ };
1023
+ };
1024
+ }>;
1025
+ limit?: undefined;
1026
+ offset?: undefined;
1027
+ status?: undefined;
1028
+ createdStartDate?: undefined;
1029
+ createdEndDate?: undefined;
1030
+ customerOrderId?: undefined;
1031
+ sku?: undefined;
1032
+ shipNode?: undefined;
1033
+ shipmentData?: undefined;
1034
+ refundData?: undefined;
1035
+ labelData?: undefined;
1036
+ estimateParams?: undefined;
1037
+ };
1038
+ } | {
1039
+ name: string;
1040
+ description: string;
1041
+ inputSchema: {
1042
+ purchaseOrderId: z.ZodString;
1043
+ refundData: z.ZodObject<{
1044
+ orderLines: z.ZodObject<{
1045
+ orderLine: z.ZodArray<z.ZodObject<{
1046
+ lineNumber: z.ZodString;
1047
+ refunds: z.ZodObject<{
1048
+ refund: z.ZodArray<z.ZodObject<{
1049
+ refundComments: z.ZodString;
1050
+ refundCharges: z.ZodObject<{
1051
+ refundCharge: z.ZodArray<z.ZodObject<{
1052
+ refundReason: z.ZodString;
1053
+ charge: z.ZodObject<{
1054
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1055
+ chargeName: z.ZodString;
1056
+ chargeAmount: z.ZodObject<{
1057
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1058
+ amount: z.ZodNumber;
1059
+ }, "strict", z.ZodTypeAny, {
1060
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1061
+ amount: number;
1062
+ }, {
1063
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1064
+ amount: number;
1065
+ }>;
1066
+ tax: z.ZodOptional<z.ZodUnknown>;
1067
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1068
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1069
+ chargeName: z.ZodString;
1070
+ chargeAmount: z.ZodObject<{
1071
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1072
+ amount: z.ZodNumber;
1073
+ }, "strict", z.ZodTypeAny, {
1074
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1075
+ amount: number;
1076
+ }, {
1077
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1078
+ amount: number;
1079
+ }>;
1080
+ tax: z.ZodOptional<z.ZodUnknown>;
1081
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1082
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1083
+ chargeName: z.ZodString;
1084
+ chargeAmount: z.ZodObject<{
1085
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1086
+ amount: z.ZodNumber;
1087
+ }, "strict", z.ZodTypeAny, {
1088
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1089
+ amount: number;
1090
+ }, {
1091
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1092
+ amount: number;
1093
+ }>;
1094
+ tax: z.ZodOptional<z.ZodUnknown>;
1095
+ }, z.ZodTypeAny, "passthrough">>;
1096
+ }, "strict", z.ZodTypeAny, {
1097
+ refundReason: string;
1098
+ charge: {
1099
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1100
+ chargeName: string;
1101
+ chargeAmount: {
1102
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1103
+ amount: number;
1104
+ };
1105
+ tax?: unknown;
1106
+ } & {
1107
+ [k: string]: unknown;
1108
+ };
1109
+ }, {
1110
+ refundReason: string;
1111
+ charge: {
1112
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1113
+ chargeName: string;
1114
+ chargeAmount: {
1115
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1116
+ amount: number;
1117
+ };
1118
+ tax?: unknown;
1119
+ } & {
1120
+ [k: string]: unknown;
1121
+ };
1122
+ }>, "many">;
1123
+ }, "strict", z.ZodTypeAny, {
1124
+ refundCharge: {
1125
+ refundReason: string;
1126
+ charge: {
1127
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1128
+ chargeName: string;
1129
+ chargeAmount: {
1130
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1131
+ amount: number;
1132
+ };
1133
+ tax?: unknown;
1134
+ } & {
1135
+ [k: string]: unknown;
1136
+ };
1137
+ }[];
1138
+ }, {
1139
+ refundCharge: {
1140
+ refundReason: string;
1141
+ charge: {
1142
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1143
+ chargeName: string;
1144
+ chargeAmount: {
1145
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1146
+ amount: number;
1147
+ };
1148
+ tax?: unknown;
1149
+ } & {
1150
+ [k: string]: unknown;
1151
+ };
1152
+ }[];
1153
+ }>;
1154
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1155
+ refundComments: z.ZodString;
1156
+ refundCharges: z.ZodObject<{
1157
+ refundCharge: z.ZodArray<z.ZodObject<{
1158
+ refundReason: z.ZodString;
1159
+ charge: z.ZodObject<{
1160
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1161
+ chargeName: z.ZodString;
1162
+ chargeAmount: z.ZodObject<{
1163
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1164
+ amount: z.ZodNumber;
1165
+ }, "strict", z.ZodTypeAny, {
1166
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1167
+ amount: number;
1168
+ }, {
1169
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1170
+ amount: number;
1171
+ }>;
1172
+ tax: z.ZodOptional<z.ZodUnknown>;
1173
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1174
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1175
+ chargeName: z.ZodString;
1176
+ chargeAmount: z.ZodObject<{
1177
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1178
+ amount: z.ZodNumber;
1179
+ }, "strict", z.ZodTypeAny, {
1180
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1181
+ amount: number;
1182
+ }, {
1183
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1184
+ amount: number;
1185
+ }>;
1186
+ tax: z.ZodOptional<z.ZodUnknown>;
1187
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1188
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1189
+ chargeName: z.ZodString;
1190
+ chargeAmount: z.ZodObject<{
1191
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1192
+ amount: z.ZodNumber;
1193
+ }, "strict", z.ZodTypeAny, {
1194
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1195
+ amount: number;
1196
+ }, {
1197
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1198
+ amount: number;
1199
+ }>;
1200
+ tax: z.ZodOptional<z.ZodUnknown>;
1201
+ }, z.ZodTypeAny, "passthrough">>;
1202
+ }, "strict", z.ZodTypeAny, {
1203
+ refundReason: string;
1204
+ charge: {
1205
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1206
+ chargeName: string;
1207
+ chargeAmount: {
1208
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1209
+ amount: number;
1210
+ };
1211
+ tax?: unknown;
1212
+ } & {
1213
+ [k: string]: unknown;
1214
+ };
1215
+ }, {
1216
+ refundReason: string;
1217
+ charge: {
1218
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1219
+ chargeName: string;
1220
+ chargeAmount: {
1221
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1222
+ amount: number;
1223
+ };
1224
+ tax?: unknown;
1225
+ } & {
1226
+ [k: string]: unknown;
1227
+ };
1228
+ }>, "many">;
1229
+ }, "strict", z.ZodTypeAny, {
1230
+ refundCharge: {
1231
+ refundReason: string;
1232
+ charge: {
1233
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1234
+ chargeName: string;
1235
+ chargeAmount: {
1236
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1237
+ amount: number;
1238
+ };
1239
+ tax?: unknown;
1240
+ } & {
1241
+ [k: string]: unknown;
1242
+ };
1243
+ }[];
1244
+ }, {
1245
+ refundCharge: {
1246
+ refundReason: string;
1247
+ charge: {
1248
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1249
+ chargeName: string;
1250
+ chargeAmount: {
1251
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1252
+ amount: number;
1253
+ };
1254
+ tax?: unknown;
1255
+ } & {
1256
+ [k: string]: unknown;
1257
+ };
1258
+ }[];
1259
+ }>;
1260
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1261
+ refundComments: z.ZodString;
1262
+ refundCharges: z.ZodObject<{
1263
+ refundCharge: z.ZodArray<z.ZodObject<{
1264
+ refundReason: z.ZodString;
1265
+ charge: z.ZodObject<{
1266
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1267
+ chargeName: z.ZodString;
1268
+ chargeAmount: z.ZodObject<{
1269
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1270
+ amount: z.ZodNumber;
1271
+ }, "strict", z.ZodTypeAny, {
1272
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1273
+ amount: number;
1274
+ }, {
1275
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1276
+ amount: number;
1277
+ }>;
1278
+ tax: z.ZodOptional<z.ZodUnknown>;
1279
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1280
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1281
+ chargeName: z.ZodString;
1282
+ chargeAmount: z.ZodObject<{
1283
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1284
+ amount: z.ZodNumber;
1285
+ }, "strict", z.ZodTypeAny, {
1286
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1287
+ amount: number;
1288
+ }, {
1289
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1290
+ amount: number;
1291
+ }>;
1292
+ tax: z.ZodOptional<z.ZodUnknown>;
1293
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1294
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1295
+ chargeName: z.ZodString;
1296
+ chargeAmount: z.ZodObject<{
1297
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1298
+ amount: z.ZodNumber;
1299
+ }, "strict", z.ZodTypeAny, {
1300
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1301
+ amount: number;
1302
+ }, {
1303
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1304
+ amount: number;
1305
+ }>;
1306
+ tax: z.ZodOptional<z.ZodUnknown>;
1307
+ }, z.ZodTypeAny, "passthrough">>;
1308
+ }, "strict", z.ZodTypeAny, {
1309
+ refundReason: string;
1310
+ charge: {
1311
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1312
+ chargeName: string;
1313
+ chargeAmount: {
1314
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1315
+ amount: number;
1316
+ };
1317
+ tax?: unknown;
1318
+ } & {
1319
+ [k: string]: unknown;
1320
+ };
1321
+ }, {
1322
+ refundReason: string;
1323
+ charge: {
1324
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1325
+ chargeName: string;
1326
+ chargeAmount: {
1327
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1328
+ amount: number;
1329
+ };
1330
+ tax?: unknown;
1331
+ } & {
1332
+ [k: string]: unknown;
1333
+ };
1334
+ }>, "many">;
1335
+ }, "strict", z.ZodTypeAny, {
1336
+ refundCharge: {
1337
+ refundReason: string;
1338
+ charge: {
1339
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1340
+ chargeName: string;
1341
+ chargeAmount: {
1342
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1343
+ amount: number;
1344
+ };
1345
+ tax?: unknown;
1346
+ } & {
1347
+ [k: string]: unknown;
1348
+ };
1349
+ }[];
1350
+ }, {
1351
+ refundCharge: {
1352
+ refundReason: string;
1353
+ charge: {
1354
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1355
+ chargeName: string;
1356
+ chargeAmount: {
1357
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1358
+ amount: number;
1359
+ };
1360
+ tax?: unknown;
1361
+ } & {
1362
+ [k: string]: unknown;
1363
+ };
1364
+ }[];
1365
+ }>;
1366
+ }, z.ZodTypeAny, "passthrough">>, "many">;
1367
+ }, "strict", z.ZodTypeAny, {
1368
+ refund: z.objectOutputType<{
1369
+ refundComments: z.ZodString;
1370
+ refundCharges: z.ZodObject<{
1371
+ refundCharge: z.ZodArray<z.ZodObject<{
1372
+ refundReason: z.ZodString;
1373
+ charge: z.ZodObject<{
1374
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1375
+ chargeName: z.ZodString;
1376
+ chargeAmount: z.ZodObject<{
1377
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1378
+ amount: z.ZodNumber;
1379
+ }, "strict", z.ZodTypeAny, {
1380
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1381
+ amount: number;
1382
+ }, {
1383
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1384
+ amount: number;
1385
+ }>;
1386
+ tax: z.ZodOptional<z.ZodUnknown>;
1387
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1388
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1389
+ chargeName: z.ZodString;
1390
+ chargeAmount: z.ZodObject<{
1391
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1392
+ amount: z.ZodNumber;
1393
+ }, "strict", z.ZodTypeAny, {
1394
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1395
+ amount: number;
1396
+ }, {
1397
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1398
+ amount: number;
1399
+ }>;
1400
+ tax: z.ZodOptional<z.ZodUnknown>;
1401
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1402
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1403
+ chargeName: z.ZodString;
1404
+ chargeAmount: z.ZodObject<{
1405
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1406
+ amount: z.ZodNumber;
1407
+ }, "strict", z.ZodTypeAny, {
1408
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1409
+ amount: number;
1410
+ }, {
1411
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1412
+ amount: number;
1413
+ }>;
1414
+ tax: z.ZodOptional<z.ZodUnknown>;
1415
+ }, z.ZodTypeAny, "passthrough">>;
1416
+ }, "strict", z.ZodTypeAny, {
1417
+ refundReason: string;
1418
+ charge: {
1419
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1420
+ chargeName: string;
1421
+ chargeAmount: {
1422
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1423
+ amount: number;
1424
+ };
1425
+ tax?: unknown;
1426
+ } & {
1427
+ [k: string]: unknown;
1428
+ };
1429
+ }, {
1430
+ refundReason: string;
1431
+ charge: {
1432
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1433
+ chargeName: string;
1434
+ chargeAmount: {
1435
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1436
+ amount: number;
1437
+ };
1438
+ tax?: unknown;
1439
+ } & {
1440
+ [k: string]: unknown;
1441
+ };
1442
+ }>, "many">;
1443
+ }, "strict", z.ZodTypeAny, {
1444
+ refundCharge: {
1445
+ refundReason: string;
1446
+ charge: {
1447
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1448
+ chargeName: string;
1449
+ chargeAmount: {
1450
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1451
+ amount: number;
1452
+ };
1453
+ tax?: unknown;
1454
+ } & {
1455
+ [k: string]: unknown;
1456
+ };
1457
+ }[];
1458
+ }, {
1459
+ refundCharge: {
1460
+ refundReason: string;
1461
+ charge: {
1462
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1463
+ chargeName: string;
1464
+ chargeAmount: {
1465
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1466
+ amount: number;
1467
+ };
1468
+ tax?: unknown;
1469
+ } & {
1470
+ [k: string]: unknown;
1471
+ };
1472
+ }[];
1473
+ }>;
1474
+ }, z.ZodTypeAny, "passthrough">[];
1475
+ }, {
1476
+ refund: z.objectInputType<{
1477
+ refundComments: z.ZodString;
1478
+ refundCharges: z.ZodObject<{
1479
+ refundCharge: z.ZodArray<z.ZodObject<{
1480
+ refundReason: z.ZodString;
1481
+ charge: z.ZodObject<{
1482
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1483
+ chargeName: z.ZodString;
1484
+ chargeAmount: z.ZodObject<{
1485
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1486
+ amount: z.ZodNumber;
1487
+ }, "strict", z.ZodTypeAny, {
1488
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1489
+ amount: number;
1490
+ }, {
1491
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1492
+ amount: number;
1493
+ }>;
1494
+ tax: z.ZodOptional<z.ZodUnknown>;
1495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1496
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1497
+ chargeName: z.ZodString;
1498
+ chargeAmount: z.ZodObject<{
1499
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1500
+ amount: z.ZodNumber;
1501
+ }, "strict", z.ZodTypeAny, {
1502
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1503
+ amount: number;
1504
+ }, {
1505
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1506
+ amount: number;
1507
+ }>;
1508
+ tax: z.ZodOptional<z.ZodUnknown>;
1509
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1510
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1511
+ chargeName: z.ZodString;
1512
+ chargeAmount: z.ZodObject<{
1513
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1514
+ amount: z.ZodNumber;
1515
+ }, "strict", z.ZodTypeAny, {
1516
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1517
+ amount: number;
1518
+ }, {
1519
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1520
+ amount: number;
1521
+ }>;
1522
+ tax: z.ZodOptional<z.ZodUnknown>;
1523
+ }, z.ZodTypeAny, "passthrough">>;
1524
+ }, "strict", z.ZodTypeAny, {
1525
+ refundReason: string;
1526
+ charge: {
1527
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1528
+ chargeName: string;
1529
+ chargeAmount: {
1530
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1531
+ amount: number;
1532
+ };
1533
+ tax?: unknown;
1534
+ } & {
1535
+ [k: string]: unknown;
1536
+ };
1537
+ }, {
1538
+ refundReason: string;
1539
+ charge: {
1540
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1541
+ chargeName: string;
1542
+ chargeAmount: {
1543
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1544
+ amount: number;
1545
+ };
1546
+ tax?: unknown;
1547
+ } & {
1548
+ [k: string]: unknown;
1549
+ };
1550
+ }>, "many">;
1551
+ }, "strict", z.ZodTypeAny, {
1552
+ refundCharge: {
1553
+ refundReason: string;
1554
+ charge: {
1555
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1556
+ chargeName: string;
1557
+ chargeAmount: {
1558
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1559
+ amount: number;
1560
+ };
1561
+ tax?: unknown;
1562
+ } & {
1563
+ [k: string]: unknown;
1564
+ };
1565
+ }[];
1566
+ }, {
1567
+ refundCharge: {
1568
+ refundReason: string;
1569
+ charge: {
1570
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1571
+ chargeName: string;
1572
+ chargeAmount: {
1573
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1574
+ amount: number;
1575
+ };
1576
+ tax?: unknown;
1577
+ } & {
1578
+ [k: string]: unknown;
1579
+ };
1580
+ }[];
1581
+ }>;
1582
+ }, z.ZodTypeAny, "passthrough">[];
1583
+ }>;
1584
+ }, "strict", z.ZodTypeAny, {
1585
+ lineNumber: string;
1586
+ refunds: {
1587
+ refund: z.objectOutputType<{
1588
+ refundComments: z.ZodString;
1589
+ refundCharges: z.ZodObject<{
1590
+ refundCharge: z.ZodArray<z.ZodObject<{
1591
+ refundReason: z.ZodString;
1592
+ charge: z.ZodObject<{
1593
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1594
+ chargeName: z.ZodString;
1595
+ chargeAmount: z.ZodObject<{
1596
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1597
+ amount: z.ZodNumber;
1598
+ }, "strict", z.ZodTypeAny, {
1599
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1600
+ amount: number;
1601
+ }, {
1602
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1603
+ amount: number;
1604
+ }>;
1605
+ tax: z.ZodOptional<z.ZodUnknown>;
1606
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1607
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1608
+ chargeName: z.ZodString;
1609
+ chargeAmount: z.ZodObject<{
1610
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1611
+ amount: z.ZodNumber;
1612
+ }, "strict", z.ZodTypeAny, {
1613
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1614
+ amount: number;
1615
+ }, {
1616
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1617
+ amount: number;
1618
+ }>;
1619
+ tax: z.ZodOptional<z.ZodUnknown>;
1620
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1621
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1622
+ chargeName: z.ZodString;
1623
+ chargeAmount: z.ZodObject<{
1624
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1625
+ amount: z.ZodNumber;
1626
+ }, "strict", z.ZodTypeAny, {
1627
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1628
+ amount: number;
1629
+ }, {
1630
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1631
+ amount: number;
1632
+ }>;
1633
+ tax: z.ZodOptional<z.ZodUnknown>;
1634
+ }, z.ZodTypeAny, "passthrough">>;
1635
+ }, "strict", z.ZodTypeAny, {
1636
+ refundReason: string;
1637
+ charge: {
1638
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1639
+ chargeName: string;
1640
+ chargeAmount: {
1641
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1642
+ amount: number;
1643
+ };
1644
+ tax?: unknown;
1645
+ } & {
1646
+ [k: string]: unknown;
1647
+ };
1648
+ }, {
1649
+ refundReason: string;
1650
+ charge: {
1651
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1652
+ chargeName: string;
1653
+ chargeAmount: {
1654
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1655
+ amount: number;
1656
+ };
1657
+ tax?: unknown;
1658
+ } & {
1659
+ [k: string]: unknown;
1660
+ };
1661
+ }>, "many">;
1662
+ }, "strict", z.ZodTypeAny, {
1663
+ refundCharge: {
1664
+ refundReason: string;
1665
+ charge: {
1666
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1667
+ chargeName: string;
1668
+ chargeAmount: {
1669
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1670
+ amount: number;
1671
+ };
1672
+ tax?: unknown;
1673
+ } & {
1674
+ [k: string]: unknown;
1675
+ };
1676
+ }[];
1677
+ }, {
1678
+ refundCharge: {
1679
+ refundReason: string;
1680
+ charge: {
1681
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1682
+ chargeName: string;
1683
+ chargeAmount: {
1684
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1685
+ amount: number;
1686
+ };
1687
+ tax?: unknown;
1688
+ } & {
1689
+ [k: string]: unknown;
1690
+ };
1691
+ }[];
1692
+ }>;
1693
+ }, z.ZodTypeAny, "passthrough">[];
1694
+ };
1695
+ }, {
1696
+ lineNumber: string;
1697
+ refunds: {
1698
+ refund: z.objectInputType<{
1699
+ refundComments: z.ZodString;
1700
+ refundCharges: z.ZodObject<{
1701
+ refundCharge: z.ZodArray<z.ZodObject<{
1702
+ refundReason: z.ZodString;
1703
+ charge: z.ZodObject<{
1704
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1705
+ chargeName: z.ZodString;
1706
+ chargeAmount: z.ZodObject<{
1707
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1708
+ amount: z.ZodNumber;
1709
+ }, "strict", z.ZodTypeAny, {
1710
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1711
+ amount: number;
1712
+ }, {
1713
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1714
+ amount: number;
1715
+ }>;
1716
+ tax: z.ZodOptional<z.ZodUnknown>;
1717
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1718
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1719
+ chargeName: z.ZodString;
1720
+ chargeAmount: z.ZodObject<{
1721
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1722
+ amount: z.ZodNumber;
1723
+ }, "strict", z.ZodTypeAny, {
1724
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1725
+ amount: number;
1726
+ }, {
1727
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1728
+ amount: number;
1729
+ }>;
1730
+ tax: z.ZodOptional<z.ZodUnknown>;
1731
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1732
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1733
+ chargeName: z.ZodString;
1734
+ chargeAmount: z.ZodObject<{
1735
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1736
+ amount: z.ZodNumber;
1737
+ }, "strict", z.ZodTypeAny, {
1738
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1739
+ amount: number;
1740
+ }, {
1741
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1742
+ amount: number;
1743
+ }>;
1744
+ tax: z.ZodOptional<z.ZodUnknown>;
1745
+ }, z.ZodTypeAny, "passthrough">>;
1746
+ }, "strict", z.ZodTypeAny, {
1747
+ refundReason: string;
1748
+ charge: {
1749
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1750
+ chargeName: string;
1751
+ chargeAmount: {
1752
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1753
+ amount: number;
1754
+ };
1755
+ tax?: unknown;
1756
+ } & {
1757
+ [k: string]: unknown;
1758
+ };
1759
+ }, {
1760
+ refundReason: string;
1761
+ charge: {
1762
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1763
+ chargeName: string;
1764
+ chargeAmount: {
1765
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1766
+ amount: number;
1767
+ };
1768
+ tax?: unknown;
1769
+ } & {
1770
+ [k: string]: unknown;
1771
+ };
1772
+ }>, "many">;
1773
+ }, "strict", z.ZodTypeAny, {
1774
+ refundCharge: {
1775
+ refundReason: string;
1776
+ charge: {
1777
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1778
+ chargeName: string;
1779
+ chargeAmount: {
1780
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1781
+ amount: number;
1782
+ };
1783
+ tax?: unknown;
1784
+ } & {
1785
+ [k: string]: unknown;
1786
+ };
1787
+ }[];
1788
+ }, {
1789
+ refundCharge: {
1790
+ refundReason: string;
1791
+ charge: {
1792
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1793
+ chargeName: string;
1794
+ chargeAmount: {
1795
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1796
+ amount: number;
1797
+ };
1798
+ tax?: unknown;
1799
+ } & {
1800
+ [k: string]: unknown;
1801
+ };
1802
+ }[];
1803
+ }>;
1804
+ }, z.ZodTypeAny, "passthrough">[];
1805
+ };
1806
+ }>, "many">;
1807
+ }, "strict", z.ZodTypeAny, {
1808
+ orderLine: {
1809
+ lineNumber: string;
1810
+ refunds: {
1811
+ refund: z.objectOutputType<{
1812
+ refundComments: z.ZodString;
1813
+ refundCharges: z.ZodObject<{
1814
+ refundCharge: z.ZodArray<z.ZodObject<{
1815
+ refundReason: z.ZodString;
1816
+ charge: z.ZodObject<{
1817
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1818
+ chargeName: z.ZodString;
1819
+ chargeAmount: z.ZodObject<{
1820
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1821
+ amount: z.ZodNumber;
1822
+ }, "strict", z.ZodTypeAny, {
1823
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1824
+ amount: number;
1825
+ }, {
1826
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1827
+ amount: number;
1828
+ }>;
1829
+ tax: z.ZodOptional<z.ZodUnknown>;
1830
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1831
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1832
+ chargeName: z.ZodString;
1833
+ chargeAmount: z.ZodObject<{
1834
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1835
+ amount: z.ZodNumber;
1836
+ }, "strict", z.ZodTypeAny, {
1837
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1838
+ amount: number;
1839
+ }, {
1840
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1841
+ amount: number;
1842
+ }>;
1843
+ tax: z.ZodOptional<z.ZodUnknown>;
1844
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1845
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1846
+ chargeName: z.ZodString;
1847
+ chargeAmount: z.ZodObject<{
1848
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1849
+ amount: z.ZodNumber;
1850
+ }, "strict", z.ZodTypeAny, {
1851
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1852
+ amount: number;
1853
+ }, {
1854
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1855
+ amount: number;
1856
+ }>;
1857
+ tax: z.ZodOptional<z.ZodUnknown>;
1858
+ }, z.ZodTypeAny, "passthrough">>;
1859
+ }, "strict", z.ZodTypeAny, {
1860
+ refundReason: string;
1861
+ charge: {
1862
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1863
+ chargeName: string;
1864
+ chargeAmount: {
1865
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1866
+ amount: number;
1867
+ };
1868
+ tax?: unknown;
1869
+ } & {
1870
+ [k: string]: unknown;
1871
+ };
1872
+ }, {
1873
+ refundReason: string;
1874
+ charge: {
1875
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1876
+ chargeName: string;
1877
+ chargeAmount: {
1878
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1879
+ amount: number;
1880
+ };
1881
+ tax?: unknown;
1882
+ } & {
1883
+ [k: string]: unknown;
1884
+ };
1885
+ }>, "many">;
1886
+ }, "strict", z.ZodTypeAny, {
1887
+ refundCharge: {
1888
+ refundReason: string;
1889
+ charge: {
1890
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1891
+ chargeName: string;
1892
+ chargeAmount: {
1893
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1894
+ amount: number;
1895
+ };
1896
+ tax?: unknown;
1897
+ } & {
1898
+ [k: string]: unknown;
1899
+ };
1900
+ }[];
1901
+ }, {
1902
+ refundCharge: {
1903
+ refundReason: string;
1904
+ charge: {
1905
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1906
+ chargeName: string;
1907
+ chargeAmount: {
1908
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1909
+ amount: number;
1910
+ };
1911
+ tax?: unknown;
1912
+ } & {
1913
+ [k: string]: unknown;
1914
+ };
1915
+ }[];
1916
+ }>;
1917
+ }, z.ZodTypeAny, "passthrough">[];
1918
+ };
1919
+ }[];
1920
+ }, {
1921
+ orderLine: {
1922
+ lineNumber: string;
1923
+ refunds: {
1924
+ refund: z.objectInputType<{
1925
+ refundComments: z.ZodString;
1926
+ refundCharges: z.ZodObject<{
1927
+ refundCharge: z.ZodArray<z.ZodObject<{
1928
+ refundReason: z.ZodString;
1929
+ charge: z.ZodObject<{
1930
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1931
+ chargeName: z.ZodString;
1932
+ chargeAmount: z.ZodObject<{
1933
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1934
+ amount: z.ZodNumber;
1935
+ }, "strict", z.ZodTypeAny, {
1936
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1937
+ amount: number;
1938
+ }, {
1939
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1940
+ amount: number;
1941
+ }>;
1942
+ tax: z.ZodOptional<z.ZodUnknown>;
1943
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1944
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1945
+ chargeName: z.ZodString;
1946
+ chargeAmount: z.ZodObject<{
1947
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1948
+ amount: z.ZodNumber;
1949
+ }, "strict", z.ZodTypeAny, {
1950
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1951
+ amount: number;
1952
+ }, {
1953
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1954
+ amount: number;
1955
+ }>;
1956
+ tax: z.ZodOptional<z.ZodUnknown>;
1957
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1958
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
1959
+ chargeName: z.ZodString;
1960
+ chargeAmount: z.ZodObject<{
1961
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
1962
+ amount: z.ZodNumber;
1963
+ }, "strict", z.ZodTypeAny, {
1964
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1965
+ amount: number;
1966
+ }, {
1967
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1968
+ amount: number;
1969
+ }>;
1970
+ tax: z.ZodOptional<z.ZodUnknown>;
1971
+ }, z.ZodTypeAny, "passthrough">>;
1972
+ }, "strict", z.ZodTypeAny, {
1973
+ refundReason: string;
1974
+ charge: {
1975
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1976
+ chargeName: string;
1977
+ chargeAmount: {
1978
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1979
+ amount: number;
1980
+ };
1981
+ tax?: unknown;
1982
+ } & {
1983
+ [k: string]: unknown;
1984
+ };
1985
+ }, {
1986
+ refundReason: string;
1987
+ charge: {
1988
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
1989
+ chargeName: string;
1990
+ chargeAmount: {
1991
+ currency: "USD" | "MXN" | "CAD" | "CLP";
1992
+ amount: number;
1993
+ };
1994
+ tax?: unknown;
1995
+ } & {
1996
+ [k: string]: unknown;
1997
+ };
1998
+ }>, "many">;
1999
+ }, "strict", z.ZodTypeAny, {
2000
+ refundCharge: {
2001
+ refundReason: string;
2002
+ charge: {
2003
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2004
+ chargeName: string;
2005
+ chargeAmount: {
2006
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2007
+ amount: number;
2008
+ };
2009
+ tax?: unknown;
2010
+ } & {
2011
+ [k: string]: unknown;
2012
+ };
2013
+ }[];
2014
+ }, {
2015
+ refundCharge: {
2016
+ refundReason: string;
2017
+ charge: {
2018
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2019
+ chargeName: string;
2020
+ chargeAmount: {
2021
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2022
+ amount: number;
2023
+ };
2024
+ tax?: unknown;
2025
+ } & {
2026
+ [k: string]: unknown;
2027
+ };
2028
+ }[];
2029
+ }>;
2030
+ }, z.ZodTypeAny, "passthrough">[];
2031
+ };
2032
+ }[];
2033
+ }>;
2034
+ }, "strict", z.ZodTypeAny, {
2035
+ orderLines: {
2036
+ orderLine: {
2037
+ lineNumber: string;
2038
+ refunds: {
2039
+ refund: z.objectOutputType<{
2040
+ refundComments: z.ZodString;
2041
+ refundCharges: z.ZodObject<{
2042
+ refundCharge: z.ZodArray<z.ZodObject<{
2043
+ refundReason: z.ZodString;
2044
+ charge: z.ZodObject<{
2045
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
2046
+ chargeName: z.ZodString;
2047
+ chargeAmount: z.ZodObject<{
2048
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
2049
+ amount: z.ZodNumber;
2050
+ }, "strict", z.ZodTypeAny, {
2051
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2052
+ amount: number;
2053
+ }, {
2054
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2055
+ amount: number;
2056
+ }>;
2057
+ tax: z.ZodOptional<z.ZodUnknown>;
2058
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2059
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
2060
+ chargeName: z.ZodString;
2061
+ chargeAmount: z.ZodObject<{
2062
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
2063
+ amount: z.ZodNumber;
2064
+ }, "strict", z.ZodTypeAny, {
2065
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2066
+ amount: number;
2067
+ }, {
2068
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2069
+ amount: number;
2070
+ }>;
2071
+ tax: z.ZodOptional<z.ZodUnknown>;
2072
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2073
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
2074
+ chargeName: z.ZodString;
2075
+ chargeAmount: z.ZodObject<{
2076
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
2077
+ amount: z.ZodNumber;
2078
+ }, "strict", z.ZodTypeAny, {
2079
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2080
+ amount: number;
2081
+ }, {
2082
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2083
+ amount: number;
2084
+ }>;
2085
+ tax: z.ZodOptional<z.ZodUnknown>;
2086
+ }, z.ZodTypeAny, "passthrough">>;
2087
+ }, "strict", z.ZodTypeAny, {
2088
+ refundReason: string;
2089
+ charge: {
2090
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2091
+ chargeName: string;
2092
+ chargeAmount: {
2093
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2094
+ amount: number;
2095
+ };
2096
+ tax?: unknown;
2097
+ } & {
2098
+ [k: string]: unknown;
2099
+ };
2100
+ }, {
2101
+ refundReason: string;
2102
+ charge: {
2103
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2104
+ chargeName: string;
2105
+ chargeAmount: {
2106
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2107
+ amount: number;
2108
+ };
2109
+ tax?: unknown;
2110
+ } & {
2111
+ [k: string]: unknown;
2112
+ };
2113
+ }>, "many">;
2114
+ }, "strict", z.ZodTypeAny, {
2115
+ refundCharge: {
2116
+ refundReason: string;
2117
+ charge: {
2118
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2119
+ chargeName: string;
2120
+ chargeAmount: {
2121
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2122
+ amount: number;
2123
+ };
2124
+ tax?: unknown;
2125
+ } & {
2126
+ [k: string]: unknown;
2127
+ };
2128
+ }[];
2129
+ }, {
2130
+ refundCharge: {
2131
+ refundReason: string;
2132
+ charge: {
2133
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2134
+ chargeName: string;
2135
+ chargeAmount: {
2136
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2137
+ amount: number;
2138
+ };
2139
+ tax?: unknown;
2140
+ } & {
2141
+ [k: string]: unknown;
2142
+ };
2143
+ }[];
2144
+ }>;
2145
+ }, z.ZodTypeAny, "passthrough">[];
2146
+ };
2147
+ }[];
2148
+ };
2149
+ }, {
2150
+ orderLines: {
2151
+ orderLine: {
2152
+ lineNumber: string;
2153
+ refunds: {
2154
+ refund: z.objectInputType<{
2155
+ refundComments: z.ZodString;
2156
+ refundCharges: z.ZodObject<{
2157
+ refundCharge: z.ZodArray<z.ZodObject<{
2158
+ refundReason: z.ZodString;
2159
+ charge: z.ZodObject<{
2160
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
2161
+ chargeName: z.ZodString;
2162
+ chargeAmount: z.ZodObject<{
2163
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
2164
+ amount: z.ZodNumber;
2165
+ }, "strict", z.ZodTypeAny, {
2166
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2167
+ amount: number;
2168
+ }, {
2169
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2170
+ amount: number;
2171
+ }>;
2172
+ tax: z.ZodOptional<z.ZodUnknown>;
2173
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2174
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
2175
+ chargeName: z.ZodString;
2176
+ chargeAmount: z.ZodObject<{
2177
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
2178
+ amount: z.ZodNumber;
2179
+ }, "strict", z.ZodTypeAny, {
2180
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2181
+ amount: number;
2182
+ }, {
2183
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2184
+ amount: number;
2185
+ }>;
2186
+ tax: z.ZodOptional<z.ZodUnknown>;
2187
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2188
+ chargeType: z.ZodEnum<["PRODUCT", "SHIPPING", "TAX", "FEE"]>;
2189
+ chargeName: z.ZodString;
2190
+ chargeAmount: z.ZodObject<{
2191
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
2192
+ amount: z.ZodNumber;
2193
+ }, "strict", z.ZodTypeAny, {
2194
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2195
+ amount: number;
2196
+ }, {
2197
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2198
+ amount: number;
2199
+ }>;
2200
+ tax: z.ZodOptional<z.ZodUnknown>;
2201
+ }, z.ZodTypeAny, "passthrough">>;
2202
+ }, "strict", z.ZodTypeAny, {
2203
+ refundReason: string;
2204
+ charge: {
2205
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2206
+ chargeName: string;
2207
+ chargeAmount: {
2208
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2209
+ amount: number;
2210
+ };
2211
+ tax?: unknown;
2212
+ } & {
2213
+ [k: string]: unknown;
2214
+ };
2215
+ }, {
2216
+ refundReason: string;
2217
+ charge: {
2218
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2219
+ chargeName: string;
2220
+ chargeAmount: {
2221
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2222
+ amount: number;
2223
+ };
2224
+ tax?: unknown;
2225
+ } & {
2226
+ [k: string]: unknown;
2227
+ };
2228
+ }>, "many">;
2229
+ }, "strict", z.ZodTypeAny, {
2230
+ refundCharge: {
2231
+ refundReason: string;
2232
+ charge: {
2233
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2234
+ chargeName: string;
2235
+ chargeAmount: {
2236
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2237
+ amount: number;
2238
+ };
2239
+ tax?: unknown;
2240
+ } & {
2241
+ [k: string]: unknown;
2242
+ };
2243
+ }[];
2244
+ }, {
2245
+ refundCharge: {
2246
+ refundReason: string;
2247
+ charge: {
2248
+ chargeType: "PRODUCT" | "SHIPPING" | "TAX" | "FEE";
2249
+ chargeName: string;
2250
+ chargeAmount: {
2251
+ currency: "USD" | "MXN" | "CAD" | "CLP";
2252
+ amount: number;
2253
+ };
2254
+ tax?: unknown;
2255
+ } & {
2256
+ [k: string]: unknown;
2257
+ };
2258
+ }[];
2259
+ }>;
2260
+ }, z.ZodTypeAny, "passthrough">[];
2261
+ };
2262
+ }[];
2263
+ };
2264
+ }>;
2265
+ limit?: undefined;
2266
+ offset?: undefined;
2267
+ status?: undefined;
2268
+ createdStartDate?: undefined;
2269
+ createdEndDate?: undefined;
2270
+ customerOrderId?: undefined;
2271
+ sku?: undefined;
2272
+ shipNode?: undefined;
2273
+ shipmentData?: undefined;
2274
+ cancelData?: undefined;
2275
+ labelData?: undefined;
2276
+ estimateParams?: undefined;
2277
+ };
2278
+ } | {
2279
+ name: string;
2280
+ description: string;
2281
+ inputSchema: {
2282
+ limit?: undefined;
2283
+ offset?: undefined;
2284
+ status?: undefined;
2285
+ createdStartDate?: undefined;
2286
+ createdEndDate?: undefined;
2287
+ customerOrderId?: undefined;
2288
+ purchaseOrderId?: undefined;
2289
+ sku?: undefined;
2290
+ shipNode?: undefined;
2291
+ shipmentData?: undefined;
2292
+ cancelData?: undefined;
2293
+ refundData?: undefined;
2294
+ labelData?: undefined;
2295
+ estimateParams?: undefined;
2296
+ };
2297
+ } | {
2298
+ name: string;
2299
+ description: string;
2300
+ inputSchema: {
2301
+ labelData: z.ZodObject<{
2302
+ purchaseOrderId: z.ZodString;
2303
+ lineNumber: z.ZodOptional<z.ZodString>;
2304
+ carrierName: z.ZodOptional<z.ZodEnum<["USPS", "FedEx"]>>;
2305
+ serviceType: z.ZodOptional<z.ZodString>;
2306
+ package: z.ZodObject<{
2307
+ weight: z.ZodObject<{
2308
+ value: z.ZodNumber;
2309
+ unit: z.ZodDefault<z.ZodEnum<["LB", "OZ", "KG", "G"]>>;
2310
+ }, "strict", z.ZodTypeAny, {
2311
+ value: number;
2312
+ unit: "LB" | "OZ" | "KG" | "G";
2313
+ }, {
2314
+ value: number;
2315
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2316
+ }>;
2317
+ dimensions: z.ZodOptional<z.ZodObject<{
2318
+ length: z.ZodNumber;
2319
+ width: z.ZodNumber;
2320
+ height: z.ZodNumber;
2321
+ unit: z.ZodDefault<z.ZodEnum<["IN", "CM"]>>;
2322
+ }, "strict", z.ZodTypeAny, {
2323
+ length: number;
2324
+ unit: "IN" | "CM";
2325
+ width: number;
2326
+ height: number;
2327
+ }, {
2328
+ length: number;
2329
+ width: number;
2330
+ height: number;
2331
+ unit?: "IN" | "CM" | undefined;
2332
+ }>>;
2333
+ }, "strict", z.ZodTypeAny, {
2334
+ weight: {
2335
+ value: number;
2336
+ unit: "LB" | "OZ" | "KG" | "G";
2337
+ };
2338
+ dimensions?: {
2339
+ length: number;
2340
+ unit: "IN" | "CM";
2341
+ width: number;
2342
+ height: number;
2343
+ } | undefined;
2344
+ }, {
2345
+ weight: {
2346
+ value: number;
2347
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2348
+ };
2349
+ dimensions?: {
2350
+ length: number;
2351
+ width: number;
2352
+ height: number;
2353
+ unit?: "IN" | "CM" | undefined;
2354
+ } | undefined;
2355
+ }>;
2356
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2357
+ purchaseOrderId: z.ZodString;
2358
+ lineNumber: z.ZodOptional<z.ZodString>;
2359
+ carrierName: z.ZodOptional<z.ZodEnum<["USPS", "FedEx"]>>;
2360
+ serviceType: z.ZodOptional<z.ZodString>;
2361
+ package: z.ZodObject<{
2362
+ weight: z.ZodObject<{
2363
+ value: z.ZodNumber;
2364
+ unit: z.ZodDefault<z.ZodEnum<["LB", "OZ", "KG", "G"]>>;
2365
+ }, "strict", z.ZodTypeAny, {
2366
+ value: number;
2367
+ unit: "LB" | "OZ" | "KG" | "G";
2368
+ }, {
2369
+ value: number;
2370
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2371
+ }>;
2372
+ dimensions: z.ZodOptional<z.ZodObject<{
2373
+ length: z.ZodNumber;
2374
+ width: z.ZodNumber;
2375
+ height: z.ZodNumber;
2376
+ unit: z.ZodDefault<z.ZodEnum<["IN", "CM"]>>;
2377
+ }, "strict", z.ZodTypeAny, {
2378
+ length: number;
2379
+ unit: "IN" | "CM";
2380
+ width: number;
2381
+ height: number;
2382
+ }, {
2383
+ length: number;
2384
+ width: number;
2385
+ height: number;
2386
+ unit?: "IN" | "CM" | undefined;
2387
+ }>>;
2388
+ }, "strict", z.ZodTypeAny, {
2389
+ weight: {
2390
+ value: number;
2391
+ unit: "LB" | "OZ" | "KG" | "G";
2392
+ };
2393
+ dimensions?: {
2394
+ length: number;
2395
+ unit: "IN" | "CM";
2396
+ width: number;
2397
+ height: number;
2398
+ } | undefined;
2399
+ }, {
2400
+ weight: {
2401
+ value: number;
2402
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2403
+ };
2404
+ dimensions?: {
2405
+ length: number;
2406
+ width: number;
2407
+ height: number;
2408
+ unit?: "IN" | "CM" | undefined;
2409
+ } | undefined;
2410
+ }>;
2411
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2412
+ purchaseOrderId: z.ZodString;
2413
+ lineNumber: z.ZodOptional<z.ZodString>;
2414
+ carrierName: z.ZodOptional<z.ZodEnum<["USPS", "FedEx"]>>;
2415
+ serviceType: z.ZodOptional<z.ZodString>;
2416
+ package: z.ZodObject<{
2417
+ weight: z.ZodObject<{
2418
+ value: z.ZodNumber;
2419
+ unit: z.ZodDefault<z.ZodEnum<["LB", "OZ", "KG", "G"]>>;
2420
+ }, "strict", z.ZodTypeAny, {
2421
+ value: number;
2422
+ unit: "LB" | "OZ" | "KG" | "G";
2423
+ }, {
2424
+ value: number;
2425
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2426
+ }>;
2427
+ dimensions: z.ZodOptional<z.ZodObject<{
2428
+ length: z.ZodNumber;
2429
+ width: z.ZodNumber;
2430
+ height: z.ZodNumber;
2431
+ unit: z.ZodDefault<z.ZodEnum<["IN", "CM"]>>;
2432
+ }, "strict", z.ZodTypeAny, {
2433
+ length: number;
2434
+ unit: "IN" | "CM";
2435
+ width: number;
2436
+ height: number;
2437
+ }, {
2438
+ length: number;
2439
+ width: number;
2440
+ height: number;
2441
+ unit?: "IN" | "CM" | undefined;
2442
+ }>>;
2443
+ }, "strict", z.ZodTypeAny, {
2444
+ weight: {
2445
+ value: number;
2446
+ unit: "LB" | "OZ" | "KG" | "G";
2447
+ };
2448
+ dimensions?: {
2449
+ length: number;
2450
+ unit: "IN" | "CM";
2451
+ width: number;
2452
+ height: number;
2453
+ } | undefined;
2454
+ }, {
2455
+ weight: {
2456
+ value: number;
2457
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2458
+ };
2459
+ dimensions?: {
2460
+ length: number;
2461
+ width: number;
2462
+ height: number;
2463
+ unit?: "IN" | "CM" | undefined;
2464
+ } | undefined;
2465
+ }>;
2466
+ }, z.ZodTypeAny, "passthrough">>;
2467
+ limit?: undefined;
2468
+ offset?: undefined;
2469
+ status?: undefined;
2470
+ createdStartDate?: undefined;
2471
+ createdEndDate?: undefined;
2472
+ customerOrderId?: undefined;
2473
+ purchaseOrderId?: undefined;
2474
+ sku?: undefined;
2475
+ shipNode?: undefined;
2476
+ shipmentData?: undefined;
2477
+ cancelData?: undefined;
2478
+ refundData?: undefined;
2479
+ estimateParams?: undefined;
2480
+ };
2481
+ } | {
2482
+ name: string;
2483
+ description: string;
2484
+ inputSchema: {
2485
+ estimateParams: z.ZodObject<{
2486
+ fromAddress: z.ZodOptional<z.ZodUnknown>;
2487
+ toAddress: z.ZodOptional<z.ZodUnknown>;
2488
+ package: z.ZodOptional<z.ZodObject<{
2489
+ weight: z.ZodObject<{
2490
+ value: z.ZodNumber;
2491
+ unit: z.ZodDefault<z.ZodEnum<["LB", "OZ", "KG", "G"]>>;
2492
+ }, "strict", z.ZodTypeAny, {
2493
+ value: number;
2494
+ unit: "LB" | "OZ" | "KG" | "G";
2495
+ }, {
2496
+ value: number;
2497
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2498
+ }>;
2499
+ dimensions: z.ZodOptional<z.ZodObject<{
2500
+ length: z.ZodNumber;
2501
+ width: z.ZodNumber;
2502
+ height: z.ZodNumber;
2503
+ unit: z.ZodDefault<z.ZodEnum<["IN", "CM"]>>;
2504
+ }, "strict", z.ZodTypeAny, {
2505
+ length: number;
2506
+ unit: "IN" | "CM";
2507
+ width: number;
2508
+ height: number;
2509
+ }, {
2510
+ length: number;
2511
+ width: number;
2512
+ height: number;
2513
+ unit?: "IN" | "CM" | undefined;
2514
+ }>>;
2515
+ }, "strict", z.ZodTypeAny, {
2516
+ weight: {
2517
+ value: number;
2518
+ unit: "LB" | "OZ" | "KG" | "G";
2519
+ };
2520
+ dimensions?: {
2521
+ length: number;
2522
+ unit: "IN" | "CM";
2523
+ width: number;
2524
+ height: number;
2525
+ } | undefined;
2526
+ }, {
2527
+ weight: {
2528
+ value: number;
2529
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2530
+ };
2531
+ dimensions?: {
2532
+ length: number;
2533
+ width: number;
2534
+ height: number;
2535
+ unit?: "IN" | "CM" | undefined;
2536
+ } | undefined;
2537
+ }>>;
2538
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2539
+ fromAddress: z.ZodOptional<z.ZodUnknown>;
2540
+ toAddress: z.ZodOptional<z.ZodUnknown>;
2541
+ package: z.ZodOptional<z.ZodObject<{
2542
+ weight: z.ZodObject<{
2543
+ value: z.ZodNumber;
2544
+ unit: z.ZodDefault<z.ZodEnum<["LB", "OZ", "KG", "G"]>>;
2545
+ }, "strict", z.ZodTypeAny, {
2546
+ value: number;
2547
+ unit: "LB" | "OZ" | "KG" | "G";
2548
+ }, {
2549
+ value: number;
2550
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2551
+ }>;
2552
+ dimensions: z.ZodOptional<z.ZodObject<{
2553
+ length: z.ZodNumber;
2554
+ width: z.ZodNumber;
2555
+ height: z.ZodNumber;
2556
+ unit: z.ZodDefault<z.ZodEnum<["IN", "CM"]>>;
2557
+ }, "strict", z.ZodTypeAny, {
2558
+ length: number;
2559
+ unit: "IN" | "CM";
2560
+ width: number;
2561
+ height: number;
2562
+ }, {
2563
+ length: number;
2564
+ width: number;
2565
+ height: number;
2566
+ unit?: "IN" | "CM" | undefined;
2567
+ }>>;
2568
+ }, "strict", z.ZodTypeAny, {
2569
+ weight: {
2570
+ value: number;
2571
+ unit: "LB" | "OZ" | "KG" | "G";
2572
+ };
2573
+ dimensions?: {
2574
+ length: number;
2575
+ unit: "IN" | "CM";
2576
+ width: number;
2577
+ height: number;
2578
+ } | undefined;
2579
+ }, {
2580
+ weight: {
2581
+ value: number;
2582
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2583
+ };
2584
+ dimensions?: {
2585
+ length: number;
2586
+ width: number;
2587
+ height: number;
2588
+ unit?: "IN" | "CM" | undefined;
2589
+ } | undefined;
2590
+ }>>;
2591
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2592
+ fromAddress: z.ZodOptional<z.ZodUnknown>;
2593
+ toAddress: z.ZodOptional<z.ZodUnknown>;
2594
+ package: z.ZodOptional<z.ZodObject<{
2595
+ weight: z.ZodObject<{
2596
+ value: z.ZodNumber;
2597
+ unit: z.ZodDefault<z.ZodEnum<["LB", "OZ", "KG", "G"]>>;
2598
+ }, "strict", z.ZodTypeAny, {
2599
+ value: number;
2600
+ unit: "LB" | "OZ" | "KG" | "G";
2601
+ }, {
2602
+ value: number;
2603
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2604
+ }>;
2605
+ dimensions: z.ZodOptional<z.ZodObject<{
2606
+ length: z.ZodNumber;
2607
+ width: z.ZodNumber;
2608
+ height: z.ZodNumber;
2609
+ unit: z.ZodDefault<z.ZodEnum<["IN", "CM"]>>;
2610
+ }, "strict", z.ZodTypeAny, {
2611
+ length: number;
2612
+ unit: "IN" | "CM";
2613
+ width: number;
2614
+ height: number;
2615
+ }, {
2616
+ length: number;
2617
+ width: number;
2618
+ height: number;
2619
+ unit?: "IN" | "CM" | undefined;
2620
+ }>>;
2621
+ }, "strict", z.ZodTypeAny, {
2622
+ weight: {
2623
+ value: number;
2624
+ unit: "LB" | "OZ" | "KG" | "G";
2625
+ };
2626
+ dimensions?: {
2627
+ length: number;
2628
+ unit: "IN" | "CM";
2629
+ width: number;
2630
+ height: number;
2631
+ } | undefined;
2632
+ }, {
2633
+ weight: {
2634
+ value: number;
2635
+ unit?: "LB" | "OZ" | "KG" | "G" | undefined;
2636
+ };
2637
+ dimensions?: {
2638
+ length: number;
2639
+ width: number;
2640
+ height: number;
2641
+ unit?: "IN" | "CM" | undefined;
2642
+ } | undefined;
2643
+ }>>;
2644
+ }, z.ZodTypeAny, "passthrough">>;
2645
+ limit?: undefined;
2646
+ offset?: undefined;
2647
+ status?: undefined;
2648
+ createdStartDate?: undefined;
2649
+ createdEndDate?: undefined;
2650
+ customerOrderId?: undefined;
2651
+ purchaseOrderId?: undefined;
2652
+ sku?: undefined;
2653
+ shipNode?: undefined;
2654
+ shipmentData?: undefined;
2655
+ cancelData?: undefined;
2656
+ refundData?: undefined;
2657
+ labelData?: undefined;
2658
+ };
2659
+ })[];