@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,724 @@
1
+ import { z } from 'zod';
2
+ export declare const pricingTools: ({
3
+ name: string;
4
+ description: string;
5
+ inputSchema: {
6
+ sku: z.ZodString;
7
+ amount: z.ZodNumber;
8
+ currency: z.ZodOptional<z.ZodString>;
9
+ feedData?: undefined;
10
+ strategyData?: undefined;
11
+ strategyId?: undefined;
12
+ items?: undefined;
13
+ skus?: undefined;
14
+ };
15
+ } | {
16
+ name: string;
17
+ description: string;
18
+ inputSchema: {
19
+ feedData: z.ZodObject<{
20
+ PriceHeader: z.ZodObject<{
21
+ version: z.ZodDefault<z.ZodString>;
22
+ feedDate: z.ZodOptional<z.ZodString>;
23
+ }, "strict", z.ZodTypeAny, {
24
+ version: string;
25
+ feedDate?: string | undefined;
26
+ }, {
27
+ version?: string | undefined;
28
+ feedDate?: string | undefined;
29
+ }>;
30
+ Price: z.ZodArray<z.ZodObject<{
31
+ itemIdentifier: z.ZodObject<{
32
+ sku: z.ZodString;
33
+ productIdType: z.ZodDefault<z.ZodLiteral<"SKU">>;
34
+ productId: z.ZodOptional<z.ZodString>;
35
+ }, "strict", z.ZodTypeAny, {
36
+ sku: string;
37
+ productIdType: "SKU";
38
+ productId?: string | undefined;
39
+ }, {
40
+ sku: string;
41
+ productIdType?: "SKU" | undefined;
42
+ productId?: string | undefined;
43
+ }>;
44
+ pricingList: z.ZodObject<{
45
+ pricing: z.ZodArray<z.ZodObject<{
46
+ currentPrice: z.ZodObject<{
47
+ value: z.ZodObject<{
48
+ amount: z.ZodNumber;
49
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
50
+ }, "strict", z.ZodTypeAny, {
51
+ currency: "USD" | "MXN" | "CAD" | "CLP";
52
+ amount: number;
53
+ }, {
54
+ currency: "USD" | "MXN" | "CAD" | "CLP";
55
+ amount: number;
56
+ }>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ value: {
59
+ currency: "USD" | "MXN" | "CAD" | "CLP";
60
+ amount: number;
61
+ };
62
+ }, {
63
+ value: {
64
+ currency: "USD" | "MXN" | "CAD" | "CLP";
65
+ amount: number;
66
+ };
67
+ }>;
68
+ currentPriceType: z.ZodDefault<z.ZodEnum<["BASE", "REDUCED", "CLEARANCE"]>>;
69
+ }, "strict", z.ZodTypeAny, {
70
+ currentPrice: {
71
+ value: {
72
+ currency: "USD" | "MXN" | "CAD" | "CLP";
73
+ amount: number;
74
+ };
75
+ };
76
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
77
+ }, {
78
+ currentPrice: {
79
+ value: {
80
+ currency: "USD" | "MXN" | "CAD" | "CLP";
81
+ amount: number;
82
+ };
83
+ };
84
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
85
+ }>, "many">;
86
+ }, "strict", z.ZodTypeAny, {
87
+ pricing: {
88
+ currentPrice: {
89
+ value: {
90
+ currency: "USD" | "MXN" | "CAD" | "CLP";
91
+ amount: number;
92
+ };
93
+ };
94
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
95
+ }[];
96
+ }, {
97
+ pricing: {
98
+ currentPrice: {
99
+ value: {
100
+ currency: "USD" | "MXN" | "CAD" | "CLP";
101
+ amount: number;
102
+ };
103
+ };
104
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
105
+ }[];
106
+ }>;
107
+ }, "strict", z.ZodTypeAny, {
108
+ itemIdentifier: {
109
+ sku: string;
110
+ productIdType: "SKU";
111
+ productId?: string | undefined;
112
+ };
113
+ pricingList: {
114
+ pricing: {
115
+ currentPrice: {
116
+ value: {
117
+ currency: "USD" | "MXN" | "CAD" | "CLP";
118
+ amount: number;
119
+ };
120
+ };
121
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
122
+ }[];
123
+ };
124
+ }, {
125
+ itemIdentifier: {
126
+ sku: string;
127
+ productIdType?: "SKU" | undefined;
128
+ productId?: string | undefined;
129
+ };
130
+ pricingList: {
131
+ pricing: {
132
+ currentPrice: {
133
+ value: {
134
+ currency: "USD" | "MXN" | "CAD" | "CLP";
135
+ amount: number;
136
+ };
137
+ };
138
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
139
+ }[];
140
+ };
141
+ }>, "many">;
142
+ }, "strict", z.ZodTypeAny, {
143
+ PriceHeader: {
144
+ version: string;
145
+ feedDate?: string | undefined;
146
+ };
147
+ Price: {
148
+ itemIdentifier: {
149
+ sku: string;
150
+ productIdType: "SKU";
151
+ productId?: string | undefined;
152
+ };
153
+ pricingList: {
154
+ pricing: {
155
+ currentPrice: {
156
+ value: {
157
+ currency: "USD" | "MXN" | "CAD" | "CLP";
158
+ amount: number;
159
+ };
160
+ };
161
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
162
+ }[];
163
+ };
164
+ }[];
165
+ }, {
166
+ PriceHeader: {
167
+ version?: string | undefined;
168
+ feedDate?: string | undefined;
169
+ };
170
+ Price: {
171
+ itemIdentifier: {
172
+ sku: string;
173
+ productIdType?: "SKU" | undefined;
174
+ productId?: string | undefined;
175
+ };
176
+ pricingList: {
177
+ pricing: {
178
+ currentPrice: {
179
+ value: {
180
+ currency: "USD" | "MXN" | "CAD" | "CLP";
181
+ amount: number;
182
+ };
183
+ };
184
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
185
+ }[];
186
+ };
187
+ }[];
188
+ }>;
189
+ sku?: undefined;
190
+ amount?: undefined;
191
+ currency?: undefined;
192
+ strategyData?: undefined;
193
+ strategyId?: undefined;
194
+ items?: undefined;
195
+ skus?: undefined;
196
+ };
197
+ } | {
198
+ name: string;
199
+ description: string;
200
+ inputSchema: {
201
+ feedData: z.ZodObject<{
202
+ PriceHeader: z.ZodObject<{
203
+ version: z.ZodDefault<z.ZodString>;
204
+ feedDate: z.ZodOptional<z.ZodString>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ version: string;
207
+ feedDate?: string | undefined;
208
+ }, {
209
+ version?: string | undefined;
210
+ feedDate?: string | undefined;
211
+ }>;
212
+ Price: z.ZodArray<z.ZodObject<{
213
+ sku: z.ZodString;
214
+ pricing: z.ZodArray<z.ZodObject<{
215
+ currentPrice: z.ZodObject<{
216
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
217
+ amount: z.ZodNumber;
218
+ }, "strict", z.ZodTypeAny, {
219
+ currency: "USD" | "MXN" | "CAD" | "CLP";
220
+ amount: number;
221
+ }, {
222
+ currency: "USD" | "MXN" | "CAD" | "CLP";
223
+ amount: number;
224
+ }>;
225
+ currentPriceType: z.ZodDefault<z.ZodEnum<["BASE", "REDUCED", "CLEARANCE"]>>;
226
+ processMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["UPSERT", "DELETE"]>>>;
227
+ }, "strict", z.ZodTypeAny, {
228
+ currentPrice: {
229
+ currency: "USD" | "MXN" | "CAD" | "CLP";
230
+ amount: number;
231
+ };
232
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
233
+ processMode?: "DELETE" | "UPSERT" | undefined;
234
+ }, {
235
+ currentPrice: {
236
+ currency: "USD" | "MXN" | "CAD" | "CLP";
237
+ amount: number;
238
+ };
239
+ processMode?: "DELETE" | "UPSERT" | undefined;
240
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
241
+ }>, "many">;
242
+ }, "strict", z.ZodTypeAny, {
243
+ sku: string;
244
+ pricing: {
245
+ currentPrice: {
246
+ currency: "USD" | "MXN" | "CAD" | "CLP";
247
+ amount: number;
248
+ };
249
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
250
+ processMode?: "DELETE" | "UPSERT" | undefined;
251
+ }[];
252
+ }, {
253
+ sku: string;
254
+ pricing: {
255
+ currentPrice: {
256
+ currency: "USD" | "MXN" | "CAD" | "CLP";
257
+ amount: number;
258
+ };
259
+ processMode?: "DELETE" | "UPSERT" | undefined;
260
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
261
+ }[];
262
+ }>, "many">;
263
+ }, "strict", z.ZodTypeAny, {
264
+ PriceHeader: {
265
+ version: string;
266
+ feedDate?: string | undefined;
267
+ };
268
+ Price: {
269
+ sku: string;
270
+ pricing: {
271
+ currentPrice: {
272
+ currency: "USD" | "MXN" | "CAD" | "CLP";
273
+ amount: number;
274
+ };
275
+ currentPriceType: "BASE" | "REDUCED" | "CLEARANCE";
276
+ processMode?: "DELETE" | "UPSERT" | undefined;
277
+ }[];
278
+ }[];
279
+ }, {
280
+ PriceHeader: {
281
+ version?: string | undefined;
282
+ feedDate?: string | undefined;
283
+ };
284
+ Price: {
285
+ sku: string;
286
+ pricing: {
287
+ currentPrice: {
288
+ currency: "USD" | "MXN" | "CAD" | "CLP";
289
+ amount: number;
290
+ };
291
+ processMode?: "DELETE" | "UPSERT" | undefined;
292
+ currentPriceType?: "BASE" | "REDUCED" | "CLEARANCE" | undefined;
293
+ }[];
294
+ }[];
295
+ }>;
296
+ sku?: undefined;
297
+ amount?: undefined;
298
+ currency?: undefined;
299
+ strategyData?: undefined;
300
+ strategyId?: undefined;
301
+ items?: undefined;
302
+ skus?: undefined;
303
+ };
304
+ } | {
305
+ name: string;
306
+ description: string;
307
+ inputSchema: {
308
+ feedData: z.ZodObject<{
309
+ PriceHeader: z.ZodObject<{
310
+ version: z.ZodDefault<z.ZodString>;
311
+ feedDate: z.ZodOptional<z.ZodString>;
312
+ }, "strict", z.ZodTypeAny, {
313
+ version: string;
314
+ feedDate?: string | undefined;
315
+ }, {
316
+ version?: string | undefined;
317
+ feedDate?: string | undefined;
318
+ }>;
319
+ Price: z.ZodArray<z.ZodObject<{
320
+ sku: z.ZodString;
321
+ pricing: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
322
+ currentPrice: z.ZodObject<{
323
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
324
+ amount: z.ZodNumber;
325
+ }, "strict", z.ZodTypeAny, {
326
+ currency: "USD" | "MXN" | "CAD" | "CLP";
327
+ amount: number;
328
+ }, {
329
+ currency: "USD" | "MXN" | "CAD" | "CLP";
330
+ amount: number;
331
+ }>;
332
+ currentPriceType: z.ZodEnum<["REDUCED", "CLEARANCE"]>;
333
+ comparisonPrice: z.ZodObject<{
334
+ currency: z.ZodEnum<["USD", "MXN", "CAD", "CLP"]>;
335
+ amount: z.ZodNumber;
336
+ }, "strict", z.ZodTypeAny, {
337
+ currency: "USD" | "MXN" | "CAD" | "CLP";
338
+ amount: number;
339
+ }, {
340
+ currency: "USD" | "MXN" | "CAD" | "CLP";
341
+ amount: number;
342
+ }>;
343
+ comparisonPriceType: z.ZodLiteral<"BASE">;
344
+ priceDisplayCodes: z.ZodDefault<z.ZodLiteral<"CART">>;
345
+ effectiveDate: z.ZodString;
346
+ expirationDate: z.ZodString;
347
+ processMode: z.ZodDefault<z.ZodEnum<["UPSERT", "DELETE"]>>;
348
+ }, "strict", z.ZodTypeAny, {
349
+ processMode: "DELETE" | "UPSERT";
350
+ currentPrice: {
351
+ currency: "USD" | "MXN" | "CAD" | "CLP";
352
+ amount: number;
353
+ };
354
+ currentPriceType: "REDUCED" | "CLEARANCE";
355
+ comparisonPrice: {
356
+ currency: "USD" | "MXN" | "CAD" | "CLP";
357
+ amount: number;
358
+ };
359
+ comparisonPriceType: "BASE";
360
+ priceDisplayCodes: "CART";
361
+ effectiveDate: string;
362
+ expirationDate: string;
363
+ }, {
364
+ currentPrice: {
365
+ currency: "USD" | "MXN" | "CAD" | "CLP";
366
+ amount: number;
367
+ };
368
+ currentPriceType: "REDUCED" | "CLEARANCE";
369
+ comparisonPrice: {
370
+ currency: "USD" | "MXN" | "CAD" | "CLP";
371
+ amount: number;
372
+ };
373
+ comparisonPriceType: "BASE";
374
+ effectiveDate: string;
375
+ expirationDate: string;
376
+ processMode?: "DELETE" | "UPSERT" | undefined;
377
+ priceDisplayCodes?: "CART" | undefined;
378
+ }>, {
379
+ processMode: "DELETE" | "UPSERT";
380
+ currentPrice: {
381
+ currency: "USD" | "MXN" | "CAD" | "CLP";
382
+ amount: number;
383
+ };
384
+ currentPriceType: "REDUCED" | "CLEARANCE";
385
+ comparisonPrice: {
386
+ currency: "USD" | "MXN" | "CAD" | "CLP";
387
+ amount: number;
388
+ };
389
+ comparisonPriceType: "BASE";
390
+ priceDisplayCodes: "CART";
391
+ effectiveDate: string;
392
+ expirationDate: string;
393
+ }, {
394
+ currentPrice: {
395
+ currency: "USD" | "MXN" | "CAD" | "CLP";
396
+ amount: number;
397
+ };
398
+ currentPriceType: "REDUCED" | "CLEARANCE";
399
+ comparisonPrice: {
400
+ currency: "USD" | "MXN" | "CAD" | "CLP";
401
+ amount: number;
402
+ };
403
+ comparisonPriceType: "BASE";
404
+ effectiveDate: string;
405
+ expirationDate: string;
406
+ processMode?: "DELETE" | "UPSERT" | undefined;
407
+ priceDisplayCodes?: "CART" | undefined;
408
+ }>, {
409
+ processMode: "DELETE" | "UPSERT";
410
+ currentPrice: {
411
+ currency: "USD" | "MXN" | "CAD" | "CLP";
412
+ amount: number;
413
+ };
414
+ currentPriceType: "REDUCED" | "CLEARANCE";
415
+ comparisonPrice: {
416
+ currency: "USD" | "MXN" | "CAD" | "CLP";
417
+ amount: number;
418
+ };
419
+ comparisonPriceType: "BASE";
420
+ priceDisplayCodes: "CART";
421
+ effectiveDate: string;
422
+ expirationDate: string;
423
+ }, {
424
+ currentPrice: {
425
+ currency: "USD" | "MXN" | "CAD" | "CLP";
426
+ amount: number;
427
+ };
428
+ currentPriceType: "REDUCED" | "CLEARANCE";
429
+ comparisonPrice: {
430
+ currency: "USD" | "MXN" | "CAD" | "CLP";
431
+ amount: number;
432
+ };
433
+ comparisonPriceType: "BASE";
434
+ effectiveDate: string;
435
+ expirationDate: string;
436
+ processMode?: "DELETE" | "UPSERT" | undefined;
437
+ priceDisplayCodes?: "CART" | undefined;
438
+ }>, {
439
+ processMode: "DELETE" | "UPSERT";
440
+ currentPrice: {
441
+ currency: "USD" | "MXN" | "CAD" | "CLP";
442
+ amount: number;
443
+ };
444
+ currentPriceType: "REDUCED" | "CLEARANCE";
445
+ comparisonPrice: {
446
+ currency: "USD" | "MXN" | "CAD" | "CLP";
447
+ amount: number;
448
+ };
449
+ comparisonPriceType: "BASE";
450
+ priceDisplayCodes: "CART";
451
+ effectiveDate: string;
452
+ expirationDate: string;
453
+ }, {
454
+ currentPrice: {
455
+ currency: "USD" | "MXN" | "CAD" | "CLP";
456
+ amount: number;
457
+ };
458
+ currentPriceType: "REDUCED" | "CLEARANCE";
459
+ comparisonPrice: {
460
+ currency: "USD" | "MXN" | "CAD" | "CLP";
461
+ amount: number;
462
+ };
463
+ comparisonPriceType: "BASE";
464
+ effectiveDate: string;
465
+ expirationDate: string;
466
+ processMode?: "DELETE" | "UPSERT" | undefined;
467
+ priceDisplayCodes?: "CART" | undefined;
468
+ }>, {
469
+ processMode: "DELETE" | "UPSERT";
470
+ currentPrice: {
471
+ currency: "USD" | "MXN" | "CAD" | "CLP";
472
+ amount: number;
473
+ };
474
+ currentPriceType: "REDUCED" | "CLEARANCE";
475
+ comparisonPrice: {
476
+ currency: "USD" | "MXN" | "CAD" | "CLP";
477
+ amount: number;
478
+ };
479
+ comparisonPriceType: "BASE";
480
+ priceDisplayCodes: "CART";
481
+ effectiveDate: string;
482
+ expirationDate: string;
483
+ }, {
484
+ currentPrice: {
485
+ currency: "USD" | "MXN" | "CAD" | "CLP";
486
+ amount: number;
487
+ };
488
+ currentPriceType: "REDUCED" | "CLEARANCE";
489
+ comparisonPrice: {
490
+ currency: "USD" | "MXN" | "CAD" | "CLP";
491
+ amount: number;
492
+ };
493
+ comparisonPriceType: "BASE";
494
+ effectiveDate: string;
495
+ expirationDate: string;
496
+ processMode?: "DELETE" | "UPSERT" | undefined;
497
+ priceDisplayCodes?: "CART" | undefined;
498
+ }>, {
499
+ processMode: "DELETE" | "UPSERT";
500
+ currentPrice: {
501
+ currency: "USD" | "MXN" | "CAD" | "CLP";
502
+ amount: number;
503
+ };
504
+ currentPriceType: "REDUCED" | "CLEARANCE";
505
+ comparisonPrice: {
506
+ currency: "USD" | "MXN" | "CAD" | "CLP";
507
+ amount: number;
508
+ };
509
+ comparisonPriceType: "BASE";
510
+ priceDisplayCodes: "CART";
511
+ effectiveDate: string;
512
+ expirationDate: string;
513
+ }, {
514
+ currentPrice: {
515
+ currency: "USD" | "MXN" | "CAD" | "CLP";
516
+ amount: number;
517
+ };
518
+ currentPriceType: "REDUCED" | "CLEARANCE";
519
+ comparisonPrice: {
520
+ currency: "USD" | "MXN" | "CAD" | "CLP";
521
+ amount: number;
522
+ };
523
+ comparisonPriceType: "BASE";
524
+ effectiveDate: string;
525
+ expirationDate: string;
526
+ processMode?: "DELETE" | "UPSERT" | undefined;
527
+ priceDisplayCodes?: "CART" | undefined;
528
+ }>, "many">;
529
+ }, "strict", z.ZodTypeAny, {
530
+ sku: string;
531
+ pricing: {
532
+ processMode: "DELETE" | "UPSERT";
533
+ currentPrice: {
534
+ currency: "USD" | "MXN" | "CAD" | "CLP";
535
+ amount: number;
536
+ };
537
+ currentPriceType: "REDUCED" | "CLEARANCE";
538
+ comparisonPrice: {
539
+ currency: "USD" | "MXN" | "CAD" | "CLP";
540
+ amount: number;
541
+ };
542
+ comparisonPriceType: "BASE";
543
+ priceDisplayCodes: "CART";
544
+ effectiveDate: string;
545
+ expirationDate: string;
546
+ }[];
547
+ }, {
548
+ sku: string;
549
+ pricing: {
550
+ currentPrice: {
551
+ currency: "USD" | "MXN" | "CAD" | "CLP";
552
+ amount: number;
553
+ };
554
+ currentPriceType: "REDUCED" | "CLEARANCE";
555
+ comparisonPrice: {
556
+ currency: "USD" | "MXN" | "CAD" | "CLP";
557
+ amount: number;
558
+ };
559
+ comparisonPriceType: "BASE";
560
+ effectiveDate: string;
561
+ expirationDate: string;
562
+ processMode?: "DELETE" | "UPSERT" | undefined;
563
+ priceDisplayCodes?: "CART" | undefined;
564
+ }[];
565
+ }>, "many">;
566
+ }, "strict", z.ZodTypeAny, {
567
+ PriceHeader: {
568
+ version: string;
569
+ feedDate?: string | undefined;
570
+ };
571
+ Price: {
572
+ sku: string;
573
+ pricing: {
574
+ processMode: "DELETE" | "UPSERT";
575
+ currentPrice: {
576
+ currency: "USD" | "MXN" | "CAD" | "CLP";
577
+ amount: number;
578
+ };
579
+ currentPriceType: "REDUCED" | "CLEARANCE";
580
+ comparisonPrice: {
581
+ currency: "USD" | "MXN" | "CAD" | "CLP";
582
+ amount: number;
583
+ };
584
+ comparisonPriceType: "BASE";
585
+ priceDisplayCodes: "CART";
586
+ effectiveDate: string;
587
+ expirationDate: string;
588
+ }[];
589
+ }[];
590
+ }, {
591
+ PriceHeader: {
592
+ version?: string | undefined;
593
+ feedDate?: string | undefined;
594
+ };
595
+ Price: {
596
+ sku: string;
597
+ pricing: {
598
+ currentPrice: {
599
+ currency: "USD" | "MXN" | "CAD" | "CLP";
600
+ amount: number;
601
+ };
602
+ currentPriceType: "REDUCED" | "CLEARANCE";
603
+ comparisonPrice: {
604
+ currency: "USD" | "MXN" | "CAD" | "CLP";
605
+ amount: number;
606
+ };
607
+ comparisonPriceType: "BASE";
608
+ effectiveDate: string;
609
+ expirationDate: string;
610
+ processMode?: "DELETE" | "UPSERT" | undefined;
611
+ priceDisplayCodes?: "CART" | undefined;
612
+ }[];
613
+ }[];
614
+ }>;
615
+ sku?: undefined;
616
+ amount?: undefined;
617
+ currency?: undefined;
618
+ strategyData?: undefined;
619
+ strategyId?: undefined;
620
+ items?: undefined;
621
+ skus?: undefined;
622
+ };
623
+ } | {
624
+ name: string;
625
+ description: string;
626
+ inputSchema: {
627
+ sku?: undefined;
628
+ amount?: undefined;
629
+ currency?: undefined;
630
+ feedData?: undefined;
631
+ strategyData?: undefined;
632
+ strategyId?: undefined;
633
+ items?: undefined;
634
+ skus?: undefined;
635
+ };
636
+ } | {
637
+ name: string;
638
+ description: string;
639
+ inputSchema: {
640
+ strategyData: z.ZodEffects<z.ZodObject<{
641
+ strategyName: z.ZodString;
642
+ description: z.ZodOptional<z.ZodString>;
643
+ rules: z.ZodArray<z.ZodUnknown, "many">;
644
+ minPrice: z.ZodOptional<z.ZodNumber>;
645
+ maxPrice: z.ZodOptional<z.ZodNumber>;
646
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
647
+ strategyName: z.ZodString;
648
+ description: z.ZodOptional<z.ZodString>;
649
+ rules: z.ZodArray<z.ZodUnknown, "many">;
650
+ minPrice: z.ZodOptional<z.ZodNumber>;
651
+ maxPrice: z.ZodOptional<z.ZodNumber>;
652
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
653
+ strategyName: z.ZodString;
654
+ description: z.ZodOptional<z.ZodString>;
655
+ rules: z.ZodArray<z.ZodUnknown, "many">;
656
+ minPrice: z.ZodOptional<z.ZodNumber>;
657
+ maxPrice: z.ZodOptional<z.ZodNumber>;
658
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
659
+ strategyName: z.ZodString;
660
+ description: z.ZodOptional<z.ZodString>;
661
+ rules: z.ZodArray<z.ZodUnknown, "many">;
662
+ minPrice: z.ZodOptional<z.ZodNumber>;
663
+ maxPrice: z.ZodOptional<z.ZodNumber>;
664
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
665
+ strategyName: z.ZodString;
666
+ description: z.ZodOptional<z.ZodString>;
667
+ rules: z.ZodArray<z.ZodUnknown, "many">;
668
+ minPrice: z.ZodOptional<z.ZodNumber>;
669
+ maxPrice: z.ZodOptional<z.ZodNumber>;
670
+ }, z.ZodTypeAny, "passthrough">>;
671
+ sku?: undefined;
672
+ amount?: undefined;
673
+ currency?: undefined;
674
+ feedData?: undefined;
675
+ strategyId?: undefined;
676
+ items?: undefined;
677
+ skus?: undefined;
678
+ };
679
+ } | {
680
+ name: string;
681
+ description: string;
682
+ inputSchema: {
683
+ strategyId: z.ZodString;
684
+ sku?: undefined;
685
+ amount?: undefined;
686
+ currency?: undefined;
687
+ feedData?: undefined;
688
+ strategyData?: undefined;
689
+ items?: undefined;
690
+ skus?: undefined;
691
+ };
692
+ } | {
693
+ name: string;
694
+ description: string;
695
+ inputSchema: {
696
+ strategyId: z.ZodString;
697
+ items: z.ZodArray<z.ZodObject<{
698
+ sku: z.ZodString;
699
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
700
+ sku: z.ZodString;
701
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
702
+ sku: z.ZodString;
703
+ }, z.ZodTypeAny, "passthrough">>, "many">;
704
+ sku?: undefined;
705
+ amount?: undefined;
706
+ currency?: undefined;
707
+ feedData?: undefined;
708
+ strategyData?: undefined;
709
+ skus?: undefined;
710
+ };
711
+ } | {
712
+ name: string;
713
+ description: string;
714
+ inputSchema: {
715
+ strategyId: z.ZodString;
716
+ skus: z.ZodArray<z.ZodString, "many">;
717
+ sku?: undefined;
718
+ amount?: undefined;
719
+ currency?: undefined;
720
+ feedData?: undefined;
721
+ strategyData?: undefined;
722
+ items?: undefined;
723
+ };
724
+ })[];