@channel.io/app-sdk-core 0.15.7 → 0.16.3

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 (101) hide show
  1. package/LICENSE +21 -0
  2. package/dist/extensions/alftask.d.ts +18 -1
  3. package/dist/extensions/alftask.d.ts.map +1 -1
  4. package/dist/extensions/alftask.js +25 -0
  5. package/dist/extensions/alftask.js.map +1 -1
  6. package/dist/extensions/apikey.d.ts +6 -6
  7. package/dist/extensions/command.d.ts +1 -1
  8. package/dist/extensions/command.js +1 -1
  9. package/dist/extensions/commerce.d.ts +3079 -0
  10. package/dist/extensions/commerce.d.ts.map +1 -0
  11. package/dist/extensions/commerce.js +115 -0
  12. package/dist/extensions/commerce.js.map +1 -0
  13. package/dist/extensions/config.d.ts +42 -36
  14. package/dist/extensions/config.d.ts.map +1 -1
  15. package/dist/extensions/config.js +2 -0
  16. package/dist/extensions/config.js.map +1 -1
  17. package/dist/extensions/datasource.d.ts +22 -22
  18. package/dist/extensions/function-schemas.d.ts +5409 -2060
  19. package/dist/extensions/function-schemas.d.ts.map +1 -1
  20. package/dist/extensions/function-schemas.js +94 -11
  21. package/dist/extensions/function-schemas.js.map +1 -1
  22. package/dist/extensions/hook.d.ts +70 -2
  23. package/dist/extensions/hook.d.ts.map +1 -1
  24. package/dist/extensions/hook.js +9 -1
  25. package/dist/extensions/hook.js.map +1 -1
  26. package/dist/extensions/index.d.ts +7 -5
  27. package/dist/extensions/index.d.ts.map +1 -1
  28. package/dist/extensions/index.js +11 -5
  29. package/dist/extensions/index.js.map +1 -1
  30. package/dist/extensions/interfaces/index.d.ts +1 -0
  31. package/dist/extensions/interfaces/index.d.ts.map +1 -1
  32. package/dist/extensions/interfaces/index.js +1 -0
  33. package/dist/extensions/interfaces/index.js.map +1 -1
  34. package/dist/extensions/interfaces/notebook.d.ts +11 -0
  35. package/dist/extensions/interfaces/notebook.d.ts.map +1 -0
  36. package/dist/extensions/interfaces/notebook.js +4 -0
  37. package/dist/extensions/interfaces/notebook.js.map +1 -0
  38. package/dist/extensions/interfaces/store.d.ts +4 -5
  39. package/dist/extensions/interfaces/store.d.ts.map +1 -1
  40. package/dist/extensions/interfaces/store.js.map +1 -1
  41. package/dist/extensions/notebook.d.ts +742 -0
  42. package/dist/extensions/notebook.d.ts.map +1 -0
  43. package/dist/extensions/notebook.js +71 -0
  44. package/dist/extensions/notebook.js.map +1 -0
  45. package/dist/extensions/oauth.d.ts +38 -0
  46. package/dist/extensions/oauth.d.ts.map +1 -1
  47. package/dist/extensions/oauth.js +16 -0
  48. package/dist/extensions/oauth.js.map +1 -1
  49. package/dist/extensions/order.d.ts +61 -11
  50. package/dist/extensions/order.d.ts.map +1 -1
  51. package/dist/extensions/order.js +18 -1
  52. package/dist/extensions/order.js.map +1 -1
  53. package/dist/extensions/proto-contracts.d.ts +44 -14
  54. package/dist/extensions/proto-contracts.d.ts.map +1 -1
  55. package/dist/extensions/store.d.ts +1143 -1631
  56. package/dist/extensions/store.d.ts.map +1 -1
  57. package/dist/extensions/store.js +48 -114
  58. package/dist/extensions/store.js.map +1 -1
  59. package/dist/extensions/widget.d.ts +1 -1
  60. package/dist/extensions/widget.js +1 -1
  61. package/dist/extensions/wms.d.ts +2359 -57
  62. package/dist/extensions/wms.d.ts.map +1 -1
  63. package/dist/extensions/wms.js +84 -0
  64. package/dist/extensions/wms.js.map +1 -1
  65. package/dist/gen/channel/app/sdk/v1/common.js +1 -1
  66. package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +20 -20
  67. package/dist/gen/channel/app/sdk/v1/context.js +1 -1
  68. package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +12 -12
  69. package/dist/gen/channel/app/sdk/v1/error.js +1 -1
  70. package/dist/gen/channel/app/sdk/v1/extension.d.ts +275 -95
  71. package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
  72. package/dist/gen/channel/app/sdk/v1/extension.js +1 -1
  73. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +8077 -3833
  74. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
  75. package/dist/gen/channel/app/sdk/v1/extension.zod.js +251 -87
  76. package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
  77. package/dist/gen/channel/app/sdk/v1/function.js +1 -1
  78. package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +12 -12
  79. package/dist/gen/channel/app/sdk/v1/native.d.ts +21 -0
  80. package/dist/gen/channel/app/sdk/v1/native.d.ts.map +1 -1
  81. package/dist/gen/channel/app/sdk/v1/native.js +1 -1
  82. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +99 -14
  83. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts.map +1 -1
  84. package/dist/gen/channel/app/sdk/v1/native.zod.js +21 -0
  85. package/dist/gen/channel/app/sdk/v1/native.zod.js.map +1 -1
  86. package/dist/gen/google/protobuf/struct.js +1 -1
  87. package/dist/gen/io/channel/datasource/v1/datasource.js +1 -1
  88. package/dist/gen/io/channel/datasource/v1/datasource.zod.d.ts +14 -14
  89. package/dist/schemas/native.d.ts +182 -0
  90. package/dist/schemas/native.d.ts.map +1 -1
  91. package/dist/schemas/native.js +39 -0
  92. package/dist/schemas/native.js.map +1 -1
  93. package/dist/types/extension.d.ts +1 -1
  94. package/dist/types/extension.d.ts.map +1 -1
  95. package/dist/types/message.d.ts +2 -2
  96. package/dist/types/message.d.ts.map +1 -1
  97. package/dist/types/message.js +2 -2
  98. package/dist/types/native.d.ts +35 -0
  99. package/dist/types/native.d.ts.map +1 -1
  100. package/dist/utils/zod-to-json-schema.js.map +1 -1
  101. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import type { WmsChangeShippingAddressRequest as ProtoChangeWmsShippingAddressInput, WmsDelivery as ProtoWmsDelivery, WmsGetOrderRequest as ProtoGetWmsOrderInput, WmsGetOrderResult as ProtoGetWmsOrderOutput, WmsGetOrdersRequest as ProtoGetWmsOrdersInput, WmsGetOrdersResult as ProtoGetWmsOrdersOutput, WmsGetShopIDRequest as ProtoGetWmsShopIdInput, WmsGetShopIDResult as ProtoGetWmsShopIdOutput, WmsGetSupportedCommercesRequest as ProtoGetWmsSupportedCommercesInput, WmsGetSupportedCommercesResult as ProtoGetWmsSupportedCommercesOutput, WmsOrder as ProtoWmsOrder, WmsOrderItem as ProtoWmsOrderItem, WmsOrderStateRequest as ProtoWmsOrderStateRequest, WmsRestoreOrderRequest as ProtoRestoreWmsOrderInput, WmsShippingInfo as ProtoWmsShippingInfo, WmsSuccessResult as ProtoWmsSuccessOutput } from "../gen/channel/app/sdk/v1/extension.js";
2
+ import type { WmsChangeShippingAddressRequest as ProtoChangeWmsShippingAddressInput, WmsDelivery as ProtoWmsDelivery, WmsGetOrderRequest as ProtoGetWmsOrderInput, WmsGetOrderResult as ProtoGetWmsOrderOutput, WmsGetOrdersRequest as ProtoGetWmsOrdersInput, WmsGetOrdersResult as ProtoGetWmsOrdersOutput, WmsGetShopIDRequest as ProtoGetWmsShopIdInput, WmsGetShopIDResult as ProtoGetWmsShopIdOutput, WmsGetSupportedCommercesRequest as ProtoGetWmsSupportedCommercesInput, WmsGetSupportedCommercesResult as ProtoGetWmsSupportedCommercesOutput, WmsOrder as ProtoWmsOrder, WmsOrderItem as ProtoWmsOrderItem, WmsOrderStateRequest as ProtoWmsOrderStateRequest, WmsRestoreOrderRequest as ProtoRestoreWmsOrderInput, WmsShippingInfo as ProtoWmsShippingInfo, WmsSuccessResult as ProtoWmsSuccessOutput, WmsAppCapabilities as ProtoWmsAppCapabilities, WmsDeliveryV2 as ProtoWmsDeliveryV2, WmsGetAppConfigsInput as ProtoWmsGetAppConfigsInput, WmsGetAppConfigsOutput as ProtoWmsGetAppConfigsOutput, WmsIdentifier as ProtoWmsIdentifier, WmsOperationOptions as ProtoWmsOperationOptions, WmsOrderActionRequest as ProtoWmsOrderActionRequest, WmsOrderActionResult as ProtoWmsOrderActionResult, WmsOrderChangeShippingAddressInput as ProtoWmsOrderChangeShippingAddressInput, WmsOrderGetOrdersRequest as ProtoWmsOrderGetOrdersRequest, WmsOrderGetOrdersResult as ProtoWmsOrderGetOrdersResult, WmsOrderItemV2 as ProtoWmsOrderItemV2, WmsOrderV2 as ProtoWmsOrderV2 } from "../gen/channel/app/sdk/v1/extension.js";
3
3
  type ProtoBacked<T, Proto> = T & Proto;
4
4
  /**
5
5
  * WMS shipping information schema
@@ -23,10 +23,10 @@ export declare const WmsShippingInfoSchema: z.ZodObject<{
23
23
  zipcode: string;
24
24
  mobileNumber: string;
25
25
  message?: string | undefined;
26
- country?: string | undefined;
27
- province?: string | undefined;
28
26
  firstName?: string | undefined;
29
27
  lastName?: string | undefined;
28
+ country?: string | undefined;
29
+ province?: string | undefined;
30
30
  landlineNumber?: string | undefined;
31
31
  }, {
32
32
  name: string;
@@ -35,10 +35,10 @@ export declare const WmsShippingInfoSchema: z.ZodObject<{
35
35
  zipcode: string;
36
36
  mobileNumber: string;
37
37
  message?: string | undefined;
38
- country?: string | undefined;
39
- province?: string | undefined;
40
38
  firstName?: string | undefined;
41
39
  lastName?: string | undefined;
40
+ country?: string | undefined;
41
+ province?: string | undefined;
42
42
  landlineNumber?: string | undefined;
43
43
  }>;
44
44
  export type WmsShippingInfo = ProtoBacked<z.infer<typeof WmsShippingInfoSchema>, ProtoWmsShippingInfo>;
@@ -88,10 +88,10 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
88
88
  zipcode: string;
89
89
  mobileNumber: string;
90
90
  message?: string | undefined;
91
- country?: string | undefined;
92
- province?: string | undefined;
93
91
  firstName?: string | undefined;
94
92
  lastName?: string | undefined;
93
+ country?: string | undefined;
94
+ province?: string | undefined;
95
95
  landlineNumber?: string | undefined;
96
96
  }, {
97
97
  name: string;
@@ -100,10 +100,10 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
100
100
  zipcode: string;
101
101
  mobileNumber: string;
102
102
  message?: string | undefined;
103
- country?: string | undefined;
104
- province?: string | undefined;
105
103
  firstName?: string | undefined;
106
104
  lastName?: string | undefined;
105
+ country?: string | undefined;
106
+ province?: string | undefined;
107
107
  landlineNumber?: string | undefined;
108
108
  }>>;
109
109
  }, "strip", z.ZodTypeAny, {
@@ -123,10 +123,10 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
123
123
  zipcode: string;
124
124
  mobileNumber: string;
125
125
  message?: string | undefined;
126
- country?: string | undefined;
127
- province?: string | undefined;
128
126
  firstName?: string | undefined;
129
127
  lastName?: string | undefined;
128
+ country?: string | undefined;
129
+ province?: string | undefined;
130
130
  landlineNumber?: string | undefined;
131
131
  } | undefined;
132
132
  }, {
@@ -146,10 +146,10 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
146
146
  zipcode: string;
147
147
  mobileNumber: string;
148
148
  message?: string | undefined;
149
- country?: string | undefined;
150
- province?: string | undefined;
151
149
  firstName?: string | undefined;
152
150
  lastName?: string | undefined;
151
+ country?: string | undefined;
152
+ province?: string | undefined;
153
153
  landlineNumber?: string | undefined;
154
154
  } | undefined;
155
155
  }>;
@@ -189,10 +189,10 @@ export declare const WmsOrderSchema: z.ZodObject<{
189
189
  zipcode: string;
190
190
  mobileNumber: string;
191
191
  message?: string | undefined;
192
- country?: string | undefined;
193
- province?: string | undefined;
194
192
  firstName?: string | undefined;
195
193
  lastName?: string | undefined;
194
+ country?: string | undefined;
195
+ province?: string | undefined;
196
196
  landlineNumber?: string | undefined;
197
197
  }, {
198
198
  name: string;
@@ -201,10 +201,10 @@ export declare const WmsOrderSchema: z.ZodObject<{
201
201
  zipcode: string;
202
202
  mobileNumber: string;
203
203
  message?: string | undefined;
204
- country?: string | undefined;
205
- province?: string | undefined;
206
204
  firstName?: string | undefined;
207
205
  lastName?: string | undefined;
206
+ country?: string | undefined;
207
+ province?: string | undefined;
208
208
  landlineNumber?: string | undefined;
209
209
  }>>;
210
210
  }, "strip", z.ZodTypeAny, {
@@ -224,10 +224,10 @@ export declare const WmsOrderSchema: z.ZodObject<{
224
224
  zipcode: string;
225
225
  mobileNumber: string;
226
226
  message?: string | undefined;
227
- country?: string | undefined;
228
- province?: string | undefined;
229
227
  firstName?: string | undefined;
230
228
  lastName?: string | undefined;
229
+ country?: string | undefined;
230
+ province?: string | undefined;
231
231
  landlineNumber?: string | undefined;
232
232
  } | undefined;
233
233
  }, {
@@ -247,10 +247,10 @@ export declare const WmsOrderSchema: z.ZodObject<{
247
247
  zipcode: string;
248
248
  mobileNumber: string;
249
249
  message?: string | undefined;
250
- country?: string | undefined;
251
- province?: string | undefined;
252
250
  firstName?: string | undefined;
253
251
  lastName?: string | undefined;
252
+ country?: string | undefined;
253
+ province?: string | undefined;
254
254
  landlineNumber?: string | undefined;
255
255
  } | undefined;
256
256
  }>, "many">;
@@ -282,10 +282,10 @@ export declare const WmsOrderSchema: z.ZodObject<{
282
282
  zipcode: string;
283
283
  mobileNumber: string;
284
284
  message?: string | undefined;
285
- country?: string | undefined;
286
- province?: string | undefined;
287
285
  firstName?: string | undefined;
288
286
  lastName?: string | undefined;
287
+ country?: string | undefined;
288
+ province?: string | undefined;
289
289
  landlineNumber?: string | undefined;
290
290
  } | undefined;
291
291
  }[];
@@ -313,10 +313,10 @@ export declare const WmsOrderSchema: z.ZodObject<{
313
313
  zipcode: string;
314
314
  mobileNumber: string;
315
315
  message?: string | undefined;
316
- country?: string | undefined;
317
- province?: string | undefined;
318
316
  firstName?: string | undefined;
319
317
  lastName?: string | undefined;
318
+ country?: string | undefined;
319
+ province?: string | undefined;
320
320
  landlineNumber?: string | undefined;
321
321
  } | undefined;
322
322
  }[];
@@ -378,10 +378,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
378
378
  zipcode: string;
379
379
  mobileNumber: string;
380
380
  message?: string | undefined;
381
- country?: string | undefined;
382
- province?: string | undefined;
383
381
  firstName?: string | undefined;
384
382
  lastName?: string | undefined;
383
+ country?: string | undefined;
384
+ province?: string | undefined;
385
385
  landlineNumber?: string | undefined;
386
386
  }, {
387
387
  name: string;
@@ -390,10 +390,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
390
390
  zipcode: string;
391
391
  mobileNumber: string;
392
392
  message?: string | undefined;
393
- country?: string | undefined;
394
- province?: string | undefined;
395
393
  firstName?: string | undefined;
396
394
  lastName?: string | undefined;
395
+ country?: string | undefined;
396
+ province?: string | undefined;
397
397
  landlineNumber?: string | undefined;
398
398
  }>>;
399
399
  }, "strip", z.ZodTypeAny, {
@@ -413,10 +413,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
413
413
  zipcode: string;
414
414
  mobileNumber: string;
415
415
  message?: string | undefined;
416
- country?: string | undefined;
417
- province?: string | undefined;
418
416
  firstName?: string | undefined;
419
417
  lastName?: string | undefined;
418
+ country?: string | undefined;
419
+ province?: string | undefined;
420
420
  landlineNumber?: string | undefined;
421
421
  } | undefined;
422
422
  }, {
@@ -436,10 +436,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
436
436
  zipcode: string;
437
437
  mobileNumber: string;
438
438
  message?: string | undefined;
439
- country?: string | undefined;
440
- province?: string | undefined;
441
439
  firstName?: string | undefined;
442
440
  lastName?: string | undefined;
441
+ country?: string | undefined;
442
+ province?: string | undefined;
443
443
  landlineNumber?: string | undefined;
444
444
  } | undefined;
445
445
  }>, "many">;
@@ -471,10 +471,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
471
471
  zipcode: string;
472
472
  mobileNumber: string;
473
473
  message?: string | undefined;
474
- country?: string | undefined;
475
- province?: string | undefined;
476
474
  firstName?: string | undefined;
477
475
  lastName?: string | undefined;
476
+ country?: string | undefined;
477
+ province?: string | undefined;
478
478
  landlineNumber?: string | undefined;
479
479
  } | undefined;
480
480
  }[];
@@ -502,10 +502,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
502
502
  zipcode: string;
503
503
  mobileNumber: string;
504
504
  message?: string | undefined;
505
- country?: string | undefined;
506
- province?: string | undefined;
507
505
  firstName?: string | undefined;
508
506
  lastName?: string | undefined;
507
+ country?: string | undefined;
508
+ province?: string | undefined;
509
509
  landlineNumber?: string | undefined;
510
510
  } | undefined;
511
511
  }[];
@@ -535,10 +535,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
535
535
  zipcode: string;
536
536
  mobileNumber: string;
537
537
  message?: string | undefined;
538
- country?: string | undefined;
539
- province?: string | undefined;
540
538
  firstName?: string | undefined;
541
539
  lastName?: string | undefined;
540
+ country?: string | undefined;
541
+ province?: string | undefined;
542
542
  landlineNumber?: string | undefined;
543
543
  } | undefined;
544
544
  }[];
@@ -568,10 +568,10 @@ export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
568
568
  zipcode: string;
569
569
  mobileNumber: string;
570
570
  message?: string | undefined;
571
- country?: string | undefined;
572
- province?: string | undefined;
573
571
  firstName?: string | undefined;
574
572
  lastName?: string | undefined;
573
+ country?: string | undefined;
574
+ province?: string | undefined;
575
575
  landlineNumber?: string | undefined;
576
576
  } | undefined;
577
577
  }[];
@@ -634,10 +634,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
634
634
  zipcode: string;
635
635
  mobileNumber: string;
636
636
  message?: string | undefined;
637
- country?: string | undefined;
638
- province?: string | undefined;
639
637
  firstName?: string | undefined;
640
638
  lastName?: string | undefined;
639
+ country?: string | undefined;
640
+ province?: string | undefined;
641
641
  landlineNumber?: string | undefined;
642
642
  }, {
643
643
  name: string;
@@ -646,10 +646,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
646
646
  zipcode: string;
647
647
  mobileNumber: string;
648
648
  message?: string | undefined;
649
- country?: string | undefined;
650
- province?: string | undefined;
651
649
  firstName?: string | undefined;
652
650
  lastName?: string | undefined;
651
+ country?: string | undefined;
652
+ province?: string | undefined;
653
653
  landlineNumber?: string | undefined;
654
654
  }>>;
655
655
  }, "strip", z.ZodTypeAny, {
@@ -669,10 +669,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
669
669
  zipcode: string;
670
670
  mobileNumber: string;
671
671
  message?: string | undefined;
672
- country?: string | undefined;
673
- province?: string | undefined;
674
672
  firstName?: string | undefined;
675
673
  lastName?: string | undefined;
674
+ country?: string | undefined;
675
+ province?: string | undefined;
676
676
  landlineNumber?: string | undefined;
677
677
  } | undefined;
678
678
  }, {
@@ -692,10 +692,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
692
692
  zipcode: string;
693
693
  mobileNumber: string;
694
694
  message?: string | undefined;
695
- country?: string | undefined;
696
- province?: string | undefined;
697
695
  firstName?: string | undefined;
698
696
  lastName?: string | undefined;
697
+ country?: string | undefined;
698
+ province?: string | undefined;
699
699
  landlineNumber?: string | undefined;
700
700
  } | undefined;
701
701
  }>, "many">;
@@ -727,10 +727,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
727
727
  zipcode: string;
728
728
  mobileNumber: string;
729
729
  message?: string | undefined;
730
- country?: string | undefined;
731
- province?: string | undefined;
732
730
  firstName?: string | undefined;
733
731
  lastName?: string | undefined;
732
+ country?: string | undefined;
733
+ province?: string | undefined;
734
734
  landlineNumber?: string | undefined;
735
735
  } | undefined;
736
736
  }[];
@@ -758,10 +758,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
758
758
  zipcode: string;
759
759
  mobileNumber: string;
760
760
  message?: string | undefined;
761
- country?: string | undefined;
762
- province?: string | undefined;
763
761
  firstName?: string | undefined;
764
762
  lastName?: string | undefined;
763
+ country?: string | undefined;
764
+ province?: string | undefined;
765
765
  landlineNumber?: string | undefined;
766
766
  } | undefined;
767
767
  }[];
@@ -791,10 +791,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
791
791
  zipcode: string;
792
792
  mobileNumber: string;
793
793
  message?: string | undefined;
794
- country?: string | undefined;
795
- province?: string | undefined;
796
794
  firstName?: string | undefined;
797
795
  lastName?: string | undefined;
796
+ country?: string | undefined;
797
+ province?: string | undefined;
798
798
  landlineNumber?: string | undefined;
799
799
  } | undefined;
800
800
  }[];
@@ -824,10 +824,10 @@ export declare const GetWmsOrderOutputSchema: z.ZodObject<{
824
824
  zipcode: string;
825
825
  mobileNumber: string;
826
826
  message?: string | undefined;
827
- country?: string | undefined;
828
- province?: string | undefined;
829
827
  firstName?: string | undefined;
830
828
  lastName?: string | undefined;
829
+ country?: string | undefined;
830
+ province?: string | undefined;
831
831
  landlineNumber?: string | undefined;
832
832
  } | undefined;
833
833
  }[];
@@ -1023,5 +1023,2307 @@ export declare const WmsSuccessOutputSchema: z.ZodObject<{
1023
1023
  message?: string | undefined;
1024
1024
  }>;
1025
1025
  export type WmsSuccessOutput = ProtoBacked<z.infer<typeof WmsSuccessOutputSchema>, ProtoWmsSuccessOutput>;
1026
+ export declare const WmsDeliveryV2Schema: z.ZodObject<{
1027
+ id: z.ZodString;
1028
+ itemIds: z.ZodArray<z.ZodString, "many">;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ id: string;
1031
+ itemIds: string[];
1032
+ }, {
1033
+ id: string;
1034
+ itemIds: string[];
1035
+ }>;
1036
+ export type WmsDeliveryV2 = ProtoBacked<z.infer<typeof WmsDeliveryV2Schema>, ProtoWmsDeliveryV2>;
1037
+ export declare const WmsOrderItemV2Schema: z.ZodObject<{
1038
+ id: z.ZodString;
1039
+ commerceOrderItemId: z.ZodString;
1040
+ productName: z.ZodOptional<z.ZodString>;
1041
+ quantity: z.ZodOptional<z.ZodNumber>;
1042
+ state: z.ZodOptional<z.ZodString>;
1043
+ packageId: z.ZodOptional<z.ZodString>;
1044
+ estimatedShipDate: z.ZodOptional<z.ZodString>;
1045
+ invoiceNumber: z.ZodOptional<z.ZodString>;
1046
+ deliveryCompany: z.ZodOptional<z.ZodString>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ id: string;
1049
+ commerceOrderItemId: string;
1050
+ state?: string | undefined;
1051
+ quantity?: number | undefined;
1052
+ estimatedShipDate?: string | undefined;
1053
+ productName?: string | undefined;
1054
+ packageId?: string | undefined;
1055
+ invoiceNumber?: string | undefined;
1056
+ deliveryCompany?: string | undefined;
1057
+ }, {
1058
+ id: string;
1059
+ commerceOrderItemId: string;
1060
+ state?: string | undefined;
1061
+ quantity?: number | undefined;
1062
+ estimatedShipDate?: string | undefined;
1063
+ productName?: string | undefined;
1064
+ packageId?: string | undefined;
1065
+ invoiceNumber?: string | undefined;
1066
+ deliveryCompany?: string | undefined;
1067
+ }>;
1068
+ export type WmsOrderItemV2 = ProtoBacked<z.infer<typeof WmsOrderItemV2Schema>, ProtoWmsOrderItemV2>;
1069
+ export declare const WmsOrderV2Schema: z.ZodObject<{
1070
+ id: z.ZodString;
1071
+ commerceOrderId: z.ZodString;
1072
+ buyer: z.ZodOptional<z.ZodObject<{
1073
+ memberId: z.ZodOptional<z.ZodString>;
1074
+ email: z.ZodOptional<z.ZodString>;
1075
+ phone: z.ZodOptional<z.ZodString>;
1076
+ name: z.ZodOptional<z.ZodString>;
1077
+ }, "strip", z.ZodTypeAny, {
1078
+ name?: string | undefined;
1079
+ email?: string | undefined;
1080
+ phone?: string | undefined;
1081
+ memberId?: string | undefined;
1082
+ }, {
1083
+ name?: string | undefined;
1084
+ email?: string | undefined;
1085
+ phone?: string | undefined;
1086
+ memberId?: string | undefined;
1087
+ }>>;
1088
+ items: z.ZodArray<z.ZodObject<{
1089
+ id: z.ZodString;
1090
+ commerceOrderItemId: z.ZodString;
1091
+ productName: z.ZodOptional<z.ZodString>;
1092
+ quantity: z.ZodOptional<z.ZodNumber>;
1093
+ state: z.ZodOptional<z.ZodString>;
1094
+ packageId: z.ZodOptional<z.ZodString>;
1095
+ estimatedShipDate: z.ZodOptional<z.ZodString>;
1096
+ invoiceNumber: z.ZodOptional<z.ZodString>;
1097
+ deliveryCompany: z.ZodOptional<z.ZodString>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ id: string;
1100
+ commerceOrderItemId: string;
1101
+ state?: string | undefined;
1102
+ quantity?: number | undefined;
1103
+ estimatedShipDate?: string | undefined;
1104
+ productName?: string | undefined;
1105
+ packageId?: string | undefined;
1106
+ invoiceNumber?: string | undefined;
1107
+ deliveryCompany?: string | undefined;
1108
+ }, {
1109
+ id: string;
1110
+ commerceOrderItemId: string;
1111
+ state?: string | undefined;
1112
+ quantity?: number | undefined;
1113
+ estimatedShipDate?: string | undefined;
1114
+ productName?: string | undefined;
1115
+ packageId?: string | undefined;
1116
+ invoiceNumber?: string | undefined;
1117
+ deliveryCompany?: string | undefined;
1118
+ }>, "many">;
1119
+ deliveries: z.ZodArray<z.ZodObject<{
1120
+ id: z.ZodString;
1121
+ itemIds: z.ZodArray<z.ZodString, "many">;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ id: string;
1124
+ itemIds: string[];
1125
+ }, {
1126
+ id: string;
1127
+ itemIds: string[];
1128
+ }>, "many">;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ id: string;
1131
+ items: {
1132
+ id: string;
1133
+ commerceOrderItemId: string;
1134
+ state?: string | undefined;
1135
+ quantity?: number | undefined;
1136
+ estimatedShipDate?: string | undefined;
1137
+ productName?: string | undefined;
1138
+ packageId?: string | undefined;
1139
+ invoiceNumber?: string | undefined;
1140
+ deliveryCompany?: string | undefined;
1141
+ }[];
1142
+ deliveries: {
1143
+ id: string;
1144
+ itemIds: string[];
1145
+ }[];
1146
+ commerceOrderId: string;
1147
+ buyer?: {
1148
+ name?: string | undefined;
1149
+ email?: string | undefined;
1150
+ phone?: string | undefined;
1151
+ memberId?: string | undefined;
1152
+ } | undefined;
1153
+ }, {
1154
+ id: string;
1155
+ items: {
1156
+ id: string;
1157
+ commerceOrderItemId: string;
1158
+ state?: string | undefined;
1159
+ quantity?: number | undefined;
1160
+ estimatedShipDate?: string | undefined;
1161
+ productName?: string | undefined;
1162
+ packageId?: string | undefined;
1163
+ invoiceNumber?: string | undefined;
1164
+ deliveryCompany?: string | undefined;
1165
+ }[];
1166
+ deliveries: {
1167
+ id: string;
1168
+ itemIds: string[];
1169
+ }[];
1170
+ commerceOrderId: string;
1171
+ buyer?: {
1172
+ name?: string | undefined;
1173
+ email?: string | undefined;
1174
+ phone?: string | undefined;
1175
+ memberId?: string | undefined;
1176
+ } | undefined;
1177
+ }>;
1178
+ export type WmsOrderV2 = ProtoBacked<z.infer<typeof WmsOrderV2Schema>, ProtoWmsOrderV2>;
1179
+ export declare const WmsIdentifierSchema: z.ZodObject<{
1180
+ type: z.ZodEnum<["membership", "phone", "email"]>;
1181
+ value: z.ZodString;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ type: "email" | "phone" | "membership";
1184
+ value: string;
1185
+ }, {
1186
+ type: "email" | "phone" | "membership";
1187
+ value: string;
1188
+ }>;
1189
+ export type WmsIdentifier = ProtoBacked<z.infer<typeof WmsIdentifierSchema>, ProtoWmsIdentifier>;
1190
+ export declare const WmsOrderGetOrdersInputSchema: z.ZodObject<{
1191
+ identifier: z.ZodOptional<z.ZodObject<{
1192
+ type: z.ZodEnum<["membership", "phone", "email"]>;
1193
+ value: z.ZodString;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ type: "email" | "phone" | "membership";
1196
+ value: string;
1197
+ }, {
1198
+ type: "email" | "phone" | "membership";
1199
+ value: string;
1200
+ }>>;
1201
+ searchFilter: z.ZodOptional<z.ZodAny>;
1202
+ shopId: z.ZodOptional<z.ZodString>;
1203
+ since: z.ZodOptional<z.ZodString>;
1204
+ limit: z.ZodOptional<z.ZodNumber>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ limit?: number | undefined;
1207
+ shopId?: string | undefined;
1208
+ identifier?: {
1209
+ type: "email" | "phone" | "membership";
1210
+ value: string;
1211
+ } | undefined;
1212
+ searchFilter?: any;
1213
+ since?: string | undefined;
1214
+ }, {
1215
+ limit?: number | undefined;
1216
+ shopId?: string | undefined;
1217
+ identifier?: {
1218
+ type: "email" | "phone" | "membership";
1219
+ value: string;
1220
+ } | undefined;
1221
+ searchFilter?: any;
1222
+ since?: string | undefined;
1223
+ }>;
1224
+ export type WmsOrderGetOrdersInput = ProtoBacked<z.infer<typeof WmsOrderGetOrdersInputSchema>, ProtoWmsOrderGetOrdersRequest>;
1225
+ export declare const WmsOrderGetOrdersOutputSchema: z.ZodObject<{
1226
+ orders: z.ZodArray<z.ZodObject<{
1227
+ id: z.ZodString;
1228
+ commerceOrderId: z.ZodString;
1229
+ buyer: z.ZodOptional<z.ZodObject<{
1230
+ memberId: z.ZodOptional<z.ZodString>;
1231
+ email: z.ZodOptional<z.ZodString>;
1232
+ phone: z.ZodOptional<z.ZodString>;
1233
+ name: z.ZodOptional<z.ZodString>;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ name?: string | undefined;
1236
+ email?: string | undefined;
1237
+ phone?: string | undefined;
1238
+ memberId?: string | undefined;
1239
+ }, {
1240
+ name?: string | undefined;
1241
+ email?: string | undefined;
1242
+ phone?: string | undefined;
1243
+ memberId?: string | undefined;
1244
+ }>>;
1245
+ items: z.ZodArray<z.ZodObject<{
1246
+ id: z.ZodString;
1247
+ commerceOrderItemId: z.ZodString;
1248
+ productName: z.ZodOptional<z.ZodString>;
1249
+ quantity: z.ZodOptional<z.ZodNumber>;
1250
+ state: z.ZodOptional<z.ZodString>;
1251
+ packageId: z.ZodOptional<z.ZodString>;
1252
+ estimatedShipDate: z.ZodOptional<z.ZodString>;
1253
+ invoiceNumber: z.ZodOptional<z.ZodString>;
1254
+ deliveryCompany: z.ZodOptional<z.ZodString>;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ id: string;
1257
+ commerceOrderItemId: string;
1258
+ state?: string | undefined;
1259
+ quantity?: number | undefined;
1260
+ estimatedShipDate?: string | undefined;
1261
+ productName?: string | undefined;
1262
+ packageId?: string | undefined;
1263
+ invoiceNumber?: string | undefined;
1264
+ deliveryCompany?: string | undefined;
1265
+ }, {
1266
+ id: string;
1267
+ commerceOrderItemId: string;
1268
+ state?: string | undefined;
1269
+ quantity?: number | undefined;
1270
+ estimatedShipDate?: string | undefined;
1271
+ productName?: string | undefined;
1272
+ packageId?: string | undefined;
1273
+ invoiceNumber?: string | undefined;
1274
+ deliveryCompany?: string | undefined;
1275
+ }>, "many">;
1276
+ deliveries: z.ZodArray<z.ZodObject<{
1277
+ id: z.ZodString;
1278
+ itemIds: z.ZodArray<z.ZodString, "many">;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ id: string;
1281
+ itemIds: string[];
1282
+ }, {
1283
+ id: string;
1284
+ itemIds: string[];
1285
+ }>, "many">;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ id: string;
1288
+ items: {
1289
+ id: string;
1290
+ commerceOrderItemId: string;
1291
+ state?: string | undefined;
1292
+ quantity?: number | undefined;
1293
+ estimatedShipDate?: string | undefined;
1294
+ productName?: string | undefined;
1295
+ packageId?: string | undefined;
1296
+ invoiceNumber?: string | undefined;
1297
+ deliveryCompany?: string | undefined;
1298
+ }[];
1299
+ deliveries: {
1300
+ id: string;
1301
+ itemIds: string[];
1302
+ }[];
1303
+ commerceOrderId: string;
1304
+ buyer?: {
1305
+ name?: string | undefined;
1306
+ email?: string | undefined;
1307
+ phone?: string | undefined;
1308
+ memberId?: string | undefined;
1309
+ } | undefined;
1310
+ }, {
1311
+ id: string;
1312
+ items: {
1313
+ id: string;
1314
+ commerceOrderItemId: string;
1315
+ state?: string | undefined;
1316
+ quantity?: number | undefined;
1317
+ estimatedShipDate?: string | undefined;
1318
+ productName?: string | undefined;
1319
+ packageId?: string | undefined;
1320
+ invoiceNumber?: string | undefined;
1321
+ deliveryCompany?: string | undefined;
1322
+ }[];
1323
+ deliveries: {
1324
+ id: string;
1325
+ itemIds: string[];
1326
+ }[];
1327
+ commerceOrderId: string;
1328
+ buyer?: {
1329
+ name?: string | undefined;
1330
+ email?: string | undefined;
1331
+ phone?: string | undefined;
1332
+ memberId?: string | undefined;
1333
+ } | undefined;
1334
+ }>, "many">;
1335
+ next: z.ZodOptional<z.ZodString>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ orders: {
1338
+ id: string;
1339
+ items: {
1340
+ id: string;
1341
+ commerceOrderItemId: string;
1342
+ state?: string | undefined;
1343
+ quantity?: number | undefined;
1344
+ estimatedShipDate?: string | undefined;
1345
+ productName?: string | undefined;
1346
+ packageId?: string | undefined;
1347
+ invoiceNumber?: string | undefined;
1348
+ deliveryCompany?: string | undefined;
1349
+ }[];
1350
+ deliveries: {
1351
+ id: string;
1352
+ itemIds: string[];
1353
+ }[];
1354
+ commerceOrderId: string;
1355
+ buyer?: {
1356
+ name?: string | undefined;
1357
+ email?: string | undefined;
1358
+ phone?: string | undefined;
1359
+ memberId?: string | undefined;
1360
+ } | undefined;
1361
+ }[];
1362
+ next?: string | undefined;
1363
+ }, {
1364
+ orders: {
1365
+ id: string;
1366
+ items: {
1367
+ id: string;
1368
+ commerceOrderItemId: string;
1369
+ state?: string | undefined;
1370
+ quantity?: number | undefined;
1371
+ estimatedShipDate?: string | undefined;
1372
+ productName?: string | undefined;
1373
+ packageId?: string | undefined;
1374
+ invoiceNumber?: string | undefined;
1375
+ deliveryCompany?: string | undefined;
1376
+ }[];
1377
+ deliveries: {
1378
+ id: string;
1379
+ itemIds: string[];
1380
+ }[];
1381
+ commerceOrderId: string;
1382
+ buyer?: {
1383
+ name?: string | undefined;
1384
+ email?: string | undefined;
1385
+ phone?: string | undefined;
1386
+ memberId?: string | undefined;
1387
+ } | undefined;
1388
+ }[];
1389
+ next?: string | undefined;
1390
+ }>;
1391
+ export type WmsOrderGetOrdersOutput = ProtoBacked<z.infer<typeof WmsOrderGetOrdersOutputSchema>, ProtoWmsOrderGetOrdersResult>;
1392
+ export declare const WmsOrderActionInputSchema: z.ZodObject<{
1393
+ identifier: z.ZodOptional<z.ZodObject<{
1394
+ type: z.ZodEnum<["membership", "phone", "email"]>;
1395
+ value: z.ZodString;
1396
+ }, "strip", z.ZodTypeAny, {
1397
+ type: "email" | "phone" | "membership";
1398
+ value: string;
1399
+ }, {
1400
+ type: "email" | "phone" | "membership";
1401
+ value: string;
1402
+ }>>;
1403
+ orderIds: z.ZodArray<z.ZodString, "many">;
1404
+ reason: z.ZodOptional<z.ZodString>;
1405
+ memo: z.ZodOptional<z.ZodString>;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ orderIds: string[];
1408
+ reason?: string | undefined;
1409
+ memo?: string | undefined;
1410
+ identifier?: {
1411
+ type: "email" | "phone" | "membership";
1412
+ value: string;
1413
+ } | undefined;
1414
+ }, {
1415
+ orderIds: string[];
1416
+ reason?: string | undefined;
1417
+ memo?: string | undefined;
1418
+ identifier?: {
1419
+ type: "email" | "phone" | "membership";
1420
+ value: string;
1421
+ } | undefined;
1422
+ }>;
1423
+ export type WmsOrderActionInput = ProtoBacked<z.infer<typeof WmsOrderActionInputSchema>, ProtoWmsOrderActionRequest>;
1424
+ export declare const WmsOrderActionOutputSchema: z.ZodObject<{
1425
+ result: z.ZodObject<{
1426
+ success: z.ZodBoolean;
1427
+ errorMessage: z.ZodOptional<z.ZodString>;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ success: boolean;
1430
+ errorMessage?: string | undefined;
1431
+ }, {
1432
+ success: boolean;
1433
+ errorMessage?: string | undefined;
1434
+ }>;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ result: {
1437
+ success: boolean;
1438
+ errorMessage?: string | undefined;
1439
+ };
1440
+ }, {
1441
+ result: {
1442
+ success: boolean;
1443
+ errorMessage?: string | undefined;
1444
+ };
1445
+ }>;
1446
+ export type WmsOrderActionOutput = ProtoBacked<z.infer<typeof WmsOrderActionOutputSchema>, ProtoWmsOrderActionResult>;
1447
+ export declare const WmsOrderChangeShippingAddressInputSchema: z.ZodObject<{
1448
+ identifier: z.ZodOptional<z.ZodObject<{
1449
+ type: z.ZodEnum<["membership", "phone", "email"]>;
1450
+ value: z.ZodString;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ type: "email" | "phone" | "membership";
1453
+ value: string;
1454
+ }, {
1455
+ type: "email" | "phone" | "membership";
1456
+ value: string;
1457
+ }>>;
1458
+ orderId: z.ZodString;
1459
+ newAddress: z.ZodObject<{
1460
+ firstName: z.ZodOptional<z.ZodString>;
1461
+ lastName: z.ZodOptional<z.ZodString>;
1462
+ phoneNumber: z.ZodOptional<z.ZodString>;
1463
+ email: z.ZodOptional<z.ZodString>;
1464
+ cellPhoneNumber: z.ZodOptional<z.ZodString>;
1465
+ zipcode: z.ZodOptional<z.ZodString>;
1466
+ address1: z.ZodOptional<z.ZodString>;
1467
+ address2: z.ZodOptional<z.ZodString>;
1468
+ shippingMessage: z.ZodOptional<z.ZodString>;
1469
+ country: z.ZodOptional<z.ZodString>;
1470
+ city: z.ZodOptional<z.ZodString>;
1471
+ province: z.ZodOptional<z.ZodString>;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ email?: string | undefined;
1474
+ address1?: string | undefined;
1475
+ address2?: string | undefined;
1476
+ firstName?: string | undefined;
1477
+ lastName?: string | undefined;
1478
+ phoneNumber?: string | undefined;
1479
+ cellPhoneNumber?: string | undefined;
1480
+ zipcode?: string | undefined;
1481
+ shippingMessage?: string | undefined;
1482
+ country?: string | undefined;
1483
+ city?: string | undefined;
1484
+ province?: string | undefined;
1485
+ }, {
1486
+ email?: string | undefined;
1487
+ address1?: string | undefined;
1488
+ address2?: string | undefined;
1489
+ firstName?: string | undefined;
1490
+ lastName?: string | undefined;
1491
+ phoneNumber?: string | undefined;
1492
+ cellPhoneNumber?: string | undefined;
1493
+ zipcode?: string | undefined;
1494
+ shippingMessage?: string | undefined;
1495
+ country?: string | undefined;
1496
+ city?: string | undefined;
1497
+ province?: string | undefined;
1498
+ }>;
1499
+ reason: z.ZodOptional<z.ZodString>;
1500
+ memo: z.ZodOptional<z.ZodString>;
1501
+ }, "strip", z.ZodTypeAny, {
1502
+ orderId: string;
1503
+ newAddress: {
1504
+ email?: string | undefined;
1505
+ address1?: string | undefined;
1506
+ address2?: string | undefined;
1507
+ firstName?: string | undefined;
1508
+ lastName?: string | undefined;
1509
+ phoneNumber?: string | undefined;
1510
+ cellPhoneNumber?: string | undefined;
1511
+ zipcode?: string | undefined;
1512
+ shippingMessage?: string | undefined;
1513
+ country?: string | undefined;
1514
+ city?: string | undefined;
1515
+ province?: string | undefined;
1516
+ };
1517
+ reason?: string | undefined;
1518
+ memo?: string | undefined;
1519
+ identifier?: {
1520
+ type: "email" | "phone" | "membership";
1521
+ value: string;
1522
+ } | undefined;
1523
+ }, {
1524
+ orderId: string;
1525
+ newAddress: {
1526
+ email?: string | undefined;
1527
+ address1?: string | undefined;
1528
+ address2?: string | undefined;
1529
+ firstName?: string | undefined;
1530
+ lastName?: string | undefined;
1531
+ phoneNumber?: string | undefined;
1532
+ cellPhoneNumber?: string | undefined;
1533
+ zipcode?: string | undefined;
1534
+ shippingMessage?: string | undefined;
1535
+ country?: string | undefined;
1536
+ city?: string | undefined;
1537
+ province?: string | undefined;
1538
+ };
1539
+ reason?: string | undefined;
1540
+ memo?: string | undefined;
1541
+ identifier?: {
1542
+ type: "email" | "phone" | "membership";
1543
+ value: string;
1544
+ } | undefined;
1545
+ }>;
1546
+ export type WmsOrderChangeShippingAddressInput = ProtoBacked<z.infer<typeof WmsOrderChangeShippingAddressInputSchema>, ProtoWmsOrderChangeShippingAddressInput>;
1547
+ export declare const WmsOperationOptionsSchema: z.ZodObject<{
1548
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1549
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1550
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1551
+ type: z.ZodLiteral<"enum">;
1552
+ allowedValues: z.ZodArray<z.ZodObject<{
1553
+ value: z.ZodString;
1554
+ label: z.ZodString;
1555
+ }, "strip", z.ZodTypeAny, {
1556
+ value: string;
1557
+ label: string;
1558
+ }, {
1559
+ value: string;
1560
+ label: string;
1561
+ }>, "many">;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ type: "enum";
1564
+ allowedValues: {
1565
+ value: string;
1566
+ label: string;
1567
+ }[];
1568
+ }, {
1569
+ type: "enum";
1570
+ allowedValues: {
1571
+ value: string;
1572
+ label: string;
1573
+ }[];
1574
+ }>, z.ZodObject<{
1575
+ type: z.ZodLiteral<"freeform">;
1576
+ description: z.ZodOptional<z.ZodString>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ type: "freeform";
1579
+ description?: string | undefined;
1580
+ }, {
1581
+ type: "freeform";
1582
+ description?: string | undefined;
1583
+ }>]>>>;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ required?: string[] | undefined;
1586
+ optional?: string[] | undefined;
1587
+ fieldConfigs?: Record<string, {
1588
+ type: "enum";
1589
+ allowedValues: {
1590
+ value: string;
1591
+ label: string;
1592
+ }[];
1593
+ } | {
1594
+ type: "freeform";
1595
+ description?: string | undefined;
1596
+ }> | undefined;
1597
+ }, {
1598
+ required?: string[] | undefined;
1599
+ optional?: string[] | undefined;
1600
+ fieldConfigs?: Record<string, {
1601
+ type: "enum";
1602
+ allowedValues: {
1603
+ value: string;
1604
+ label: string;
1605
+ }[];
1606
+ } | {
1607
+ type: "freeform";
1608
+ description?: string | undefined;
1609
+ }> | undefined;
1610
+ }>;
1611
+ export type WmsOperationOptions = ProtoBacked<z.infer<typeof WmsOperationOptionsSchema>, ProtoWmsOperationOptions>;
1612
+ export declare const WmsAppCapabilitiesSchema: z.ZodObject<{
1613
+ getOrdersOptions: z.ZodOptional<z.ZodObject<{
1614
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1615
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1616
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1617
+ type: z.ZodLiteral<"enum">;
1618
+ allowedValues: z.ZodArray<z.ZodObject<{
1619
+ value: z.ZodString;
1620
+ label: z.ZodString;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ value: string;
1623
+ label: string;
1624
+ }, {
1625
+ value: string;
1626
+ label: string;
1627
+ }>, "many">;
1628
+ }, "strip", z.ZodTypeAny, {
1629
+ type: "enum";
1630
+ allowedValues: {
1631
+ value: string;
1632
+ label: string;
1633
+ }[];
1634
+ }, {
1635
+ type: "enum";
1636
+ allowedValues: {
1637
+ value: string;
1638
+ label: string;
1639
+ }[];
1640
+ }>, z.ZodObject<{
1641
+ type: z.ZodLiteral<"freeform">;
1642
+ description: z.ZodOptional<z.ZodString>;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ type: "freeform";
1645
+ description?: string | undefined;
1646
+ }, {
1647
+ type: "freeform";
1648
+ description?: string | undefined;
1649
+ }>]>>>;
1650
+ }, "strip", z.ZodTypeAny, {
1651
+ required?: string[] | undefined;
1652
+ optional?: string[] | undefined;
1653
+ fieldConfigs?: Record<string, {
1654
+ type: "enum";
1655
+ allowedValues: {
1656
+ value: string;
1657
+ label: string;
1658
+ }[];
1659
+ } | {
1660
+ type: "freeform";
1661
+ description?: string | undefined;
1662
+ }> | undefined;
1663
+ }, {
1664
+ required?: string[] | undefined;
1665
+ optional?: string[] | undefined;
1666
+ fieldConfigs?: Record<string, {
1667
+ type: "enum";
1668
+ allowedValues: {
1669
+ value: string;
1670
+ label: string;
1671
+ }[];
1672
+ } | {
1673
+ type: "freeform";
1674
+ description?: string | undefined;
1675
+ }> | undefined;
1676
+ }>>;
1677
+ cancelRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1678
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1679
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1680
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1681
+ type: z.ZodLiteral<"enum">;
1682
+ allowedValues: z.ZodArray<z.ZodObject<{
1683
+ value: z.ZodString;
1684
+ label: z.ZodString;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ value: string;
1687
+ label: string;
1688
+ }, {
1689
+ value: string;
1690
+ label: string;
1691
+ }>, "many">;
1692
+ }, "strip", z.ZodTypeAny, {
1693
+ type: "enum";
1694
+ allowedValues: {
1695
+ value: string;
1696
+ label: string;
1697
+ }[];
1698
+ }, {
1699
+ type: "enum";
1700
+ allowedValues: {
1701
+ value: string;
1702
+ label: string;
1703
+ }[];
1704
+ }>, z.ZodObject<{
1705
+ type: z.ZodLiteral<"freeform">;
1706
+ description: z.ZodOptional<z.ZodString>;
1707
+ }, "strip", z.ZodTypeAny, {
1708
+ type: "freeform";
1709
+ description?: string | undefined;
1710
+ }, {
1711
+ type: "freeform";
1712
+ description?: string | undefined;
1713
+ }>]>>>;
1714
+ }, "strip", z.ZodTypeAny, {
1715
+ required?: string[] | undefined;
1716
+ optional?: string[] | undefined;
1717
+ fieldConfigs?: Record<string, {
1718
+ type: "enum";
1719
+ allowedValues: {
1720
+ value: string;
1721
+ label: string;
1722
+ }[];
1723
+ } | {
1724
+ type: "freeform";
1725
+ description?: string | undefined;
1726
+ }> | undefined;
1727
+ }, {
1728
+ required?: string[] | undefined;
1729
+ optional?: string[] | undefined;
1730
+ fieldConfigs?: Record<string, {
1731
+ type: "enum";
1732
+ allowedValues: {
1733
+ value: string;
1734
+ label: string;
1735
+ }[];
1736
+ } | {
1737
+ type: "freeform";
1738
+ description?: string | undefined;
1739
+ }> | undefined;
1740
+ }>>;
1741
+ cancelRestoreOrderOptions: z.ZodOptional<z.ZodObject<{
1742
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1743
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1744
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1745
+ type: z.ZodLiteral<"enum">;
1746
+ allowedValues: z.ZodArray<z.ZodObject<{
1747
+ value: z.ZodString;
1748
+ label: z.ZodString;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ value: string;
1751
+ label: string;
1752
+ }, {
1753
+ value: string;
1754
+ label: string;
1755
+ }>, "many">;
1756
+ }, "strip", z.ZodTypeAny, {
1757
+ type: "enum";
1758
+ allowedValues: {
1759
+ value: string;
1760
+ label: string;
1761
+ }[];
1762
+ }, {
1763
+ type: "enum";
1764
+ allowedValues: {
1765
+ value: string;
1766
+ label: string;
1767
+ }[];
1768
+ }>, z.ZodObject<{
1769
+ type: z.ZodLiteral<"freeform">;
1770
+ description: z.ZodOptional<z.ZodString>;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ type: "freeform";
1773
+ description?: string | undefined;
1774
+ }, {
1775
+ type: "freeform";
1776
+ description?: string | undefined;
1777
+ }>]>>>;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ required?: string[] | undefined;
1780
+ optional?: string[] | undefined;
1781
+ fieldConfigs?: Record<string, {
1782
+ type: "enum";
1783
+ allowedValues: {
1784
+ value: string;
1785
+ label: string;
1786
+ }[];
1787
+ } | {
1788
+ type: "freeform";
1789
+ description?: string | undefined;
1790
+ }> | undefined;
1791
+ }, {
1792
+ required?: string[] | undefined;
1793
+ optional?: string[] | undefined;
1794
+ fieldConfigs?: Record<string, {
1795
+ type: "enum";
1796
+ allowedValues: {
1797
+ value: string;
1798
+ label: string;
1799
+ }[];
1800
+ } | {
1801
+ type: "freeform";
1802
+ description?: string | undefined;
1803
+ }> | undefined;
1804
+ }>>;
1805
+ returnRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1806
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1807
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1808
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1809
+ type: z.ZodLiteral<"enum">;
1810
+ allowedValues: z.ZodArray<z.ZodObject<{
1811
+ value: z.ZodString;
1812
+ label: z.ZodString;
1813
+ }, "strip", z.ZodTypeAny, {
1814
+ value: string;
1815
+ label: string;
1816
+ }, {
1817
+ value: string;
1818
+ label: string;
1819
+ }>, "many">;
1820
+ }, "strip", z.ZodTypeAny, {
1821
+ type: "enum";
1822
+ allowedValues: {
1823
+ value: string;
1824
+ label: string;
1825
+ }[];
1826
+ }, {
1827
+ type: "enum";
1828
+ allowedValues: {
1829
+ value: string;
1830
+ label: string;
1831
+ }[];
1832
+ }>, z.ZodObject<{
1833
+ type: z.ZodLiteral<"freeform">;
1834
+ description: z.ZodOptional<z.ZodString>;
1835
+ }, "strip", z.ZodTypeAny, {
1836
+ type: "freeform";
1837
+ description?: string | undefined;
1838
+ }, {
1839
+ type: "freeform";
1840
+ description?: string | undefined;
1841
+ }>]>>>;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ required?: string[] | undefined;
1844
+ optional?: string[] | undefined;
1845
+ fieldConfigs?: Record<string, {
1846
+ type: "enum";
1847
+ allowedValues: {
1848
+ value: string;
1849
+ label: string;
1850
+ }[];
1851
+ } | {
1852
+ type: "freeform";
1853
+ description?: string | undefined;
1854
+ }> | undefined;
1855
+ }, {
1856
+ required?: string[] | undefined;
1857
+ optional?: string[] | undefined;
1858
+ fieldConfigs?: Record<string, {
1859
+ type: "enum";
1860
+ allowedValues: {
1861
+ value: string;
1862
+ label: string;
1863
+ }[];
1864
+ } | {
1865
+ type: "freeform";
1866
+ description?: string | undefined;
1867
+ }> | undefined;
1868
+ }>>;
1869
+ returnRestoreOrderOptions: z.ZodOptional<z.ZodObject<{
1870
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1871
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1872
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1873
+ type: z.ZodLiteral<"enum">;
1874
+ allowedValues: z.ZodArray<z.ZodObject<{
1875
+ value: z.ZodString;
1876
+ label: z.ZodString;
1877
+ }, "strip", z.ZodTypeAny, {
1878
+ value: string;
1879
+ label: string;
1880
+ }, {
1881
+ value: string;
1882
+ label: string;
1883
+ }>, "many">;
1884
+ }, "strip", z.ZodTypeAny, {
1885
+ type: "enum";
1886
+ allowedValues: {
1887
+ value: string;
1888
+ label: string;
1889
+ }[];
1890
+ }, {
1891
+ type: "enum";
1892
+ allowedValues: {
1893
+ value: string;
1894
+ label: string;
1895
+ }[];
1896
+ }>, z.ZodObject<{
1897
+ type: z.ZodLiteral<"freeform">;
1898
+ description: z.ZodOptional<z.ZodString>;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ type: "freeform";
1901
+ description?: string | undefined;
1902
+ }, {
1903
+ type: "freeform";
1904
+ description?: string | undefined;
1905
+ }>]>>>;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ required?: string[] | undefined;
1908
+ optional?: string[] | undefined;
1909
+ fieldConfigs?: Record<string, {
1910
+ type: "enum";
1911
+ allowedValues: {
1912
+ value: string;
1913
+ label: string;
1914
+ }[];
1915
+ } | {
1916
+ type: "freeform";
1917
+ description?: string | undefined;
1918
+ }> | undefined;
1919
+ }, {
1920
+ required?: string[] | undefined;
1921
+ optional?: string[] | undefined;
1922
+ fieldConfigs?: Record<string, {
1923
+ type: "enum";
1924
+ allowedValues: {
1925
+ value: string;
1926
+ label: string;
1927
+ }[];
1928
+ } | {
1929
+ type: "freeform";
1930
+ description?: string | undefined;
1931
+ }> | undefined;
1932
+ }>>;
1933
+ exchangeRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1934
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1935
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1936
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1937
+ type: z.ZodLiteral<"enum">;
1938
+ allowedValues: z.ZodArray<z.ZodObject<{
1939
+ value: z.ZodString;
1940
+ label: z.ZodString;
1941
+ }, "strip", z.ZodTypeAny, {
1942
+ value: string;
1943
+ label: string;
1944
+ }, {
1945
+ value: string;
1946
+ label: string;
1947
+ }>, "many">;
1948
+ }, "strip", z.ZodTypeAny, {
1949
+ type: "enum";
1950
+ allowedValues: {
1951
+ value: string;
1952
+ label: string;
1953
+ }[];
1954
+ }, {
1955
+ type: "enum";
1956
+ allowedValues: {
1957
+ value: string;
1958
+ label: string;
1959
+ }[];
1960
+ }>, z.ZodObject<{
1961
+ type: z.ZodLiteral<"freeform">;
1962
+ description: z.ZodOptional<z.ZodString>;
1963
+ }, "strip", z.ZodTypeAny, {
1964
+ type: "freeform";
1965
+ description?: string | undefined;
1966
+ }, {
1967
+ type: "freeform";
1968
+ description?: string | undefined;
1969
+ }>]>>>;
1970
+ }, "strip", z.ZodTypeAny, {
1971
+ required?: string[] | undefined;
1972
+ optional?: string[] | undefined;
1973
+ fieldConfigs?: Record<string, {
1974
+ type: "enum";
1975
+ allowedValues: {
1976
+ value: string;
1977
+ label: string;
1978
+ }[];
1979
+ } | {
1980
+ type: "freeform";
1981
+ description?: string | undefined;
1982
+ }> | undefined;
1983
+ }, {
1984
+ required?: string[] | undefined;
1985
+ optional?: string[] | undefined;
1986
+ fieldConfigs?: Record<string, {
1987
+ type: "enum";
1988
+ allowedValues: {
1989
+ value: string;
1990
+ label: string;
1991
+ }[];
1992
+ } | {
1993
+ type: "freeform";
1994
+ description?: string | undefined;
1995
+ }> | undefined;
1996
+ }>>;
1997
+ exchangeRestoreOrderOptions: z.ZodOptional<z.ZodObject<{
1998
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1999
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2000
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2001
+ type: z.ZodLiteral<"enum">;
2002
+ allowedValues: z.ZodArray<z.ZodObject<{
2003
+ value: z.ZodString;
2004
+ label: z.ZodString;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ value: string;
2007
+ label: string;
2008
+ }, {
2009
+ value: string;
2010
+ label: string;
2011
+ }>, "many">;
2012
+ }, "strip", z.ZodTypeAny, {
2013
+ type: "enum";
2014
+ allowedValues: {
2015
+ value: string;
2016
+ label: string;
2017
+ }[];
2018
+ }, {
2019
+ type: "enum";
2020
+ allowedValues: {
2021
+ value: string;
2022
+ label: string;
2023
+ }[];
2024
+ }>, z.ZodObject<{
2025
+ type: z.ZodLiteral<"freeform">;
2026
+ description: z.ZodOptional<z.ZodString>;
2027
+ }, "strip", z.ZodTypeAny, {
2028
+ type: "freeform";
2029
+ description?: string | undefined;
2030
+ }, {
2031
+ type: "freeform";
2032
+ description?: string | undefined;
2033
+ }>]>>>;
2034
+ }, "strip", z.ZodTypeAny, {
2035
+ required?: string[] | undefined;
2036
+ optional?: string[] | undefined;
2037
+ fieldConfigs?: Record<string, {
2038
+ type: "enum";
2039
+ allowedValues: {
2040
+ value: string;
2041
+ label: string;
2042
+ }[];
2043
+ } | {
2044
+ type: "freeform";
2045
+ description?: string | undefined;
2046
+ }> | undefined;
2047
+ }, {
2048
+ required?: string[] | undefined;
2049
+ optional?: string[] | undefined;
2050
+ fieldConfigs?: Record<string, {
2051
+ type: "enum";
2052
+ allowedValues: {
2053
+ value: string;
2054
+ label: string;
2055
+ }[];
2056
+ } | {
2057
+ type: "freeform";
2058
+ description?: string | undefined;
2059
+ }> | undefined;
2060
+ }>>;
2061
+ changeShippingAddressOptions: z.ZodOptional<z.ZodObject<{
2062
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2063
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2064
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2065
+ type: z.ZodLiteral<"enum">;
2066
+ allowedValues: z.ZodArray<z.ZodObject<{
2067
+ value: z.ZodString;
2068
+ label: z.ZodString;
2069
+ }, "strip", z.ZodTypeAny, {
2070
+ value: string;
2071
+ label: string;
2072
+ }, {
2073
+ value: string;
2074
+ label: string;
2075
+ }>, "many">;
2076
+ }, "strip", z.ZodTypeAny, {
2077
+ type: "enum";
2078
+ allowedValues: {
2079
+ value: string;
2080
+ label: string;
2081
+ }[];
2082
+ }, {
2083
+ type: "enum";
2084
+ allowedValues: {
2085
+ value: string;
2086
+ label: string;
2087
+ }[];
2088
+ }>, z.ZodObject<{
2089
+ type: z.ZodLiteral<"freeform">;
2090
+ description: z.ZodOptional<z.ZodString>;
2091
+ }, "strip", z.ZodTypeAny, {
2092
+ type: "freeform";
2093
+ description?: string | undefined;
2094
+ }, {
2095
+ type: "freeform";
2096
+ description?: string | undefined;
2097
+ }>]>>>;
2098
+ }, "strip", z.ZodTypeAny, {
2099
+ required?: string[] | undefined;
2100
+ optional?: string[] | undefined;
2101
+ fieldConfigs?: Record<string, {
2102
+ type: "enum";
2103
+ allowedValues: {
2104
+ value: string;
2105
+ label: string;
2106
+ }[];
2107
+ } | {
2108
+ type: "freeform";
2109
+ description?: string | undefined;
2110
+ }> | undefined;
2111
+ }, {
2112
+ required?: string[] | undefined;
2113
+ optional?: string[] | undefined;
2114
+ fieldConfigs?: Record<string, {
2115
+ type: "enum";
2116
+ allowedValues: {
2117
+ value: string;
2118
+ label: string;
2119
+ }[];
2120
+ } | {
2121
+ type: "freeform";
2122
+ description?: string | undefined;
2123
+ }> | undefined;
2124
+ }>>;
2125
+ }, "strip", z.ZodTypeAny, {
2126
+ getOrdersOptions?: {
2127
+ required?: string[] | undefined;
2128
+ optional?: string[] | undefined;
2129
+ fieldConfigs?: Record<string, {
2130
+ type: "enum";
2131
+ allowedValues: {
2132
+ value: string;
2133
+ label: string;
2134
+ }[];
2135
+ } | {
2136
+ type: "freeform";
2137
+ description?: string | undefined;
2138
+ }> | undefined;
2139
+ } | undefined;
2140
+ cancelRequestOrderOptions?: {
2141
+ required?: string[] | undefined;
2142
+ optional?: string[] | undefined;
2143
+ fieldConfigs?: Record<string, {
2144
+ type: "enum";
2145
+ allowedValues: {
2146
+ value: string;
2147
+ label: string;
2148
+ }[];
2149
+ } | {
2150
+ type: "freeform";
2151
+ description?: string | undefined;
2152
+ }> | undefined;
2153
+ } | undefined;
2154
+ cancelRestoreOrderOptions?: {
2155
+ required?: string[] | undefined;
2156
+ optional?: string[] | undefined;
2157
+ fieldConfigs?: Record<string, {
2158
+ type: "enum";
2159
+ allowedValues: {
2160
+ value: string;
2161
+ label: string;
2162
+ }[];
2163
+ } | {
2164
+ type: "freeform";
2165
+ description?: string | undefined;
2166
+ }> | undefined;
2167
+ } | undefined;
2168
+ returnRequestOrderOptions?: {
2169
+ required?: string[] | undefined;
2170
+ optional?: string[] | undefined;
2171
+ fieldConfigs?: Record<string, {
2172
+ type: "enum";
2173
+ allowedValues: {
2174
+ value: string;
2175
+ label: string;
2176
+ }[];
2177
+ } | {
2178
+ type: "freeform";
2179
+ description?: string | undefined;
2180
+ }> | undefined;
2181
+ } | undefined;
2182
+ returnRestoreOrderOptions?: {
2183
+ required?: string[] | undefined;
2184
+ optional?: string[] | undefined;
2185
+ fieldConfigs?: Record<string, {
2186
+ type: "enum";
2187
+ allowedValues: {
2188
+ value: string;
2189
+ label: string;
2190
+ }[];
2191
+ } | {
2192
+ type: "freeform";
2193
+ description?: string | undefined;
2194
+ }> | undefined;
2195
+ } | undefined;
2196
+ exchangeRequestOrderOptions?: {
2197
+ required?: string[] | undefined;
2198
+ optional?: string[] | undefined;
2199
+ fieldConfigs?: Record<string, {
2200
+ type: "enum";
2201
+ allowedValues: {
2202
+ value: string;
2203
+ label: string;
2204
+ }[];
2205
+ } | {
2206
+ type: "freeform";
2207
+ description?: string | undefined;
2208
+ }> | undefined;
2209
+ } | undefined;
2210
+ exchangeRestoreOrderOptions?: {
2211
+ required?: string[] | undefined;
2212
+ optional?: string[] | undefined;
2213
+ fieldConfigs?: Record<string, {
2214
+ type: "enum";
2215
+ allowedValues: {
2216
+ value: string;
2217
+ label: string;
2218
+ }[];
2219
+ } | {
2220
+ type: "freeform";
2221
+ description?: string | undefined;
2222
+ }> | undefined;
2223
+ } | undefined;
2224
+ changeShippingAddressOptions?: {
2225
+ required?: string[] | undefined;
2226
+ optional?: string[] | undefined;
2227
+ fieldConfigs?: Record<string, {
2228
+ type: "enum";
2229
+ allowedValues: {
2230
+ value: string;
2231
+ label: string;
2232
+ }[];
2233
+ } | {
2234
+ type: "freeform";
2235
+ description?: string | undefined;
2236
+ }> | undefined;
2237
+ } | undefined;
2238
+ }, {
2239
+ getOrdersOptions?: {
2240
+ required?: string[] | undefined;
2241
+ optional?: string[] | undefined;
2242
+ fieldConfigs?: Record<string, {
2243
+ type: "enum";
2244
+ allowedValues: {
2245
+ value: string;
2246
+ label: string;
2247
+ }[];
2248
+ } | {
2249
+ type: "freeform";
2250
+ description?: string | undefined;
2251
+ }> | undefined;
2252
+ } | undefined;
2253
+ cancelRequestOrderOptions?: {
2254
+ required?: string[] | undefined;
2255
+ optional?: string[] | undefined;
2256
+ fieldConfigs?: Record<string, {
2257
+ type: "enum";
2258
+ allowedValues: {
2259
+ value: string;
2260
+ label: string;
2261
+ }[];
2262
+ } | {
2263
+ type: "freeform";
2264
+ description?: string | undefined;
2265
+ }> | undefined;
2266
+ } | undefined;
2267
+ cancelRestoreOrderOptions?: {
2268
+ required?: string[] | undefined;
2269
+ optional?: string[] | undefined;
2270
+ fieldConfigs?: Record<string, {
2271
+ type: "enum";
2272
+ allowedValues: {
2273
+ value: string;
2274
+ label: string;
2275
+ }[];
2276
+ } | {
2277
+ type: "freeform";
2278
+ description?: string | undefined;
2279
+ }> | undefined;
2280
+ } | undefined;
2281
+ returnRequestOrderOptions?: {
2282
+ required?: string[] | undefined;
2283
+ optional?: string[] | undefined;
2284
+ fieldConfigs?: Record<string, {
2285
+ type: "enum";
2286
+ allowedValues: {
2287
+ value: string;
2288
+ label: string;
2289
+ }[];
2290
+ } | {
2291
+ type: "freeform";
2292
+ description?: string | undefined;
2293
+ }> | undefined;
2294
+ } | undefined;
2295
+ returnRestoreOrderOptions?: {
2296
+ required?: string[] | undefined;
2297
+ optional?: string[] | undefined;
2298
+ fieldConfigs?: Record<string, {
2299
+ type: "enum";
2300
+ allowedValues: {
2301
+ value: string;
2302
+ label: string;
2303
+ }[];
2304
+ } | {
2305
+ type: "freeform";
2306
+ description?: string | undefined;
2307
+ }> | undefined;
2308
+ } | undefined;
2309
+ exchangeRequestOrderOptions?: {
2310
+ required?: string[] | undefined;
2311
+ optional?: string[] | undefined;
2312
+ fieldConfigs?: Record<string, {
2313
+ type: "enum";
2314
+ allowedValues: {
2315
+ value: string;
2316
+ label: string;
2317
+ }[];
2318
+ } | {
2319
+ type: "freeform";
2320
+ description?: string | undefined;
2321
+ }> | undefined;
2322
+ } | undefined;
2323
+ exchangeRestoreOrderOptions?: {
2324
+ required?: string[] | undefined;
2325
+ optional?: string[] | undefined;
2326
+ fieldConfigs?: Record<string, {
2327
+ type: "enum";
2328
+ allowedValues: {
2329
+ value: string;
2330
+ label: string;
2331
+ }[];
2332
+ } | {
2333
+ type: "freeform";
2334
+ description?: string | undefined;
2335
+ }> | undefined;
2336
+ } | undefined;
2337
+ changeShippingAddressOptions?: {
2338
+ required?: string[] | undefined;
2339
+ optional?: string[] | undefined;
2340
+ fieldConfigs?: Record<string, {
2341
+ type: "enum";
2342
+ allowedValues: {
2343
+ value: string;
2344
+ label: string;
2345
+ }[];
2346
+ } | {
2347
+ type: "freeform";
2348
+ description?: string | undefined;
2349
+ }> | undefined;
2350
+ } | undefined;
2351
+ }>;
2352
+ export type WmsAppCapabilities = ProtoBacked<z.infer<typeof WmsAppCapabilitiesSchema>, ProtoWmsAppCapabilities>;
2353
+ export declare const WmsGetAppConfigsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2354
+ export type WmsGetAppConfigsInput = ProtoBacked<z.infer<typeof WmsGetAppConfigsInputSchema>, ProtoWmsGetAppConfigsInput>;
2355
+ export declare const WmsGetAppConfigsOutputSchema: z.ZodObject<{
2356
+ appCapabilities: z.ZodOptional<z.ZodObject<{
2357
+ getOrdersOptions: z.ZodOptional<z.ZodObject<{
2358
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2359
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2360
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2361
+ type: z.ZodLiteral<"enum">;
2362
+ allowedValues: z.ZodArray<z.ZodObject<{
2363
+ value: z.ZodString;
2364
+ label: z.ZodString;
2365
+ }, "strip", z.ZodTypeAny, {
2366
+ value: string;
2367
+ label: string;
2368
+ }, {
2369
+ value: string;
2370
+ label: string;
2371
+ }>, "many">;
2372
+ }, "strip", z.ZodTypeAny, {
2373
+ type: "enum";
2374
+ allowedValues: {
2375
+ value: string;
2376
+ label: string;
2377
+ }[];
2378
+ }, {
2379
+ type: "enum";
2380
+ allowedValues: {
2381
+ value: string;
2382
+ label: string;
2383
+ }[];
2384
+ }>, z.ZodObject<{
2385
+ type: z.ZodLiteral<"freeform">;
2386
+ description: z.ZodOptional<z.ZodString>;
2387
+ }, "strip", z.ZodTypeAny, {
2388
+ type: "freeform";
2389
+ description?: string | undefined;
2390
+ }, {
2391
+ type: "freeform";
2392
+ description?: string | undefined;
2393
+ }>]>>>;
2394
+ }, "strip", z.ZodTypeAny, {
2395
+ required?: string[] | undefined;
2396
+ optional?: string[] | undefined;
2397
+ fieldConfigs?: Record<string, {
2398
+ type: "enum";
2399
+ allowedValues: {
2400
+ value: string;
2401
+ label: string;
2402
+ }[];
2403
+ } | {
2404
+ type: "freeform";
2405
+ description?: string | undefined;
2406
+ }> | undefined;
2407
+ }, {
2408
+ required?: string[] | undefined;
2409
+ optional?: string[] | undefined;
2410
+ fieldConfigs?: Record<string, {
2411
+ type: "enum";
2412
+ allowedValues: {
2413
+ value: string;
2414
+ label: string;
2415
+ }[];
2416
+ } | {
2417
+ type: "freeform";
2418
+ description?: string | undefined;
2419
+ }> | undefined;
2420
+ }>>;
2421
+ cancelRequestOrderOptions: z.ZodOptional<z.ZodObject<{
2422
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2423
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2424
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2425
+ type: z.ZodLiteral<"enum">;
2426
+ allowedValues: z.ZodArray<z.ZodObject<{
2427
+ value: z.ZodString;
2428
+ label: z.ZodString;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ value: string;
2431
+ label: string;
2432
+ }, {
2433
+ value: string;
2434
+ label: string;
2435
+ }>, "many">;
2436
+ }, "strip", z.ZodTypeAny, {
2437
+ type: "enum";
2438
+ allowedValues: {
2439
+ value: string;
2440
+ label: string;
2441
+ }[];
2442
+ }, {
2443
+ type: "enum";
2444
+ allowedValues: {
2445
+ value: string;
2446
+ label: string;
2447
+ }[];
2448
+ }>, z.ZodObject<{
2449
+ type: z.ZodLiteral<"freeform">;
2450
+ description: z.ZodOptional<z.ZodString>;
2451
+ }, "strip", z.ZodTypeAny, {
2452
+ type: "freeform";
2453
+ description?: string | undefined;
2454
+ }, {
2455
+ type: "freeform";
2456
+ description?: string | undefined;
2457
+ }>]>>>;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ required?: string[] | undefined;
2460
+ optional?: string[] | undefined;
2461
+ fieldConfigs?: Record<string, {
2462
+ type: "enum";
2463
+ allowedValues: {
2464
+ value: string;
2465
+ label: string;
2466
+ }[];
2467
+ } | {
2468
+ type: "freeform";
2469
+ description?: string | undefined;
2470
+ }> | undefined;
2471
+ }, {
2472
+ required?: string[] | undefined;
2473
+ optional?: string[] | undefined;
2474
+ fieldConfigs?: Record<string, {
2475
+ type: "enum";
2476
+ allowedValues: {
2477
+ value: string;
2478
+ label: string;
2479
+ }[];
2480
+ } | {
2481
+ type: "freeform";
2482
+ description?: string | undefined;
2483
+ }> | undefined;
2484
+ }>>;
2485
+ cancelRestoreOrderOptions: z.ZodOptional<z.ZodObject<{
2486
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2487
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2488
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2489
+ type: z.ZodLiteral<"enum">;
2490
+ allowedValues: z.ZodArray<z.ZodObject<{
2491
+ value: z.ZodString;
2492
+ label: z.ZodString;
2493
+ }, "strip", z.ZodTypeAny, {
2494
+ value: string;
2495
+ label: string;
2496
+ }, {
2497
+ value: string;
2498
+ label: string;
2499
+ }>, "many">;
2500
+ }, "strip", z.ZodTypeAny, {
2501
+ type: "enum";
2502
+ allowedValues: {
2503
+ value: string;
2504
+ label: string;
2505
+ }[];
2506
+ }, {
2507
+ type: "enum";
2508
+ allowedValues: {
2509
+ value: string;
2510
+ label: string;
2511
+ }[];
2512
+ }>, z.ZodObject<{
2513
+ type: z.ZodLiteral<"freeform">;
2514
+ description: z.ZodOptional<z.ZodString>;
2515
+ }, "strip", z.ZodTypeAny, {
2516
+ type: "freeform";
2517
+ description?: string | undefined;
2518
+ }, {
2519
+ type: "freeform";
2520
+ description?: string | undefined;
2521
+ }>]>>>;
2522
+ }, "strip", z.ZodTypeAny, {
2523
+ required?: string[] | undefined;
2524
+ optional?: string[] | undefined;
2525
+ fieldConfigs?: Record<string, {
2526
+ type: "enum";
2527
+ allowedValues: {
2528
+ value: string;
2529
+ label: string;
2530
+ }[];
2531
+ } | {
2532
+ type: "freeform";
2533
+ description?: string | undefined;
2534
+ }> | undefined;
2535
+ }, {
2536
+ required?: string[] | undefined;
2537
+ optional?: string[] | undefined;
2538
+ fieldConfigs?: Record<string, {
2539
+ type: "enum";
2540
+ allowedValues: {
2541
+ value: string;
2542
+ label: string;
2543
+ }[];
2544
+ } | {
2545
+ type: "freeform";
2546
+ description?: string | undefined;
2547
+ }> | undefined;
2548
+ }>>;
2549
+ returnRequestOrderOptions: z.ZodOptional<z.ZodObject<{
2550
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2551
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2552
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2553
+ type: z.ZodLiteral<"enum">;
2554
+ allowedValues: z.ZodArray<z.ZodObject<{
2555
+ value: z.ZodString;
2556
+ label: z.ZodString;
2557
+ }, "strip", z.ZodTypeAny, {
2558
+ value: string;
2559
+ label: string;
2560
+ }, {
2561
+ value: string;
2562
+ label: string;
2563
+ }>, "many">;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ type: "enum";
2566
+ allowedValues: {
2567
+ value: string;
2568
+ label: string;
2569
+ }[];
2570
+ }, {
2571
+ type: "enum";
2572
+ allowedValues: {
2573
+ value: string;
2574
+ label: string;
2575
+ }[];
2576
+ }>, z.ZodObject<{
2577
+ type: z.ZodLiteral<"freeform">;
2578
+ description: z.ZodOptional<z.ZodString>;
2579
+ }, "strip", z.ZodTypeAny, {
2580
+ type: "freeform";
2581
+ description?: string | undefined;
2582
+ }, {
2583
+ type: "freeform";
2584
+ description?: string | undefined;
2585
+ }>]>>>;
2586
+ }, "strip", z.ZodTypeAny, {
2587
+ required?: string[] | undefined;
2588
+ optional?: string[] | undefined;
2589
+ fieldConfigs?: Record<string, {
2590
+ type: "enum";
2591
+ allowedValues: {
2592
+ value: string;
2593
+ label: string;
2594
+ }[];
2595
+ } | {
2596
+ type: "freeform";
2597
+ description?: string | undefined;
2598
+ }> | undefined;
2599
+ }, {
2600
+ required?: string[] | undefined;
2601
+ optional?: string[] | undefined;
2602
+ fieldConfigs?: Record<string, {
2603
+ type: "enum";
2604
+ allowedValues: {
2605
+ value: string;
2606
+ label: string;
2607
+ }[];
2608
+ } | {
2609
+ type: "freeform";
2610
+ description?: string | undefined;
2611
+ }> | undefined;
2612
+ }>>;
2613
+ returnRestoreOrderOptions: z.ZodOptional<z.ZodObject<{
2614
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2615
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2616
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2617
+ type: z.ZodLiteral<"enum">;
2618
+ allowedValues: z.ZodArray<z.ZodObject<{
2619
+ value: z.ZodString;
2620
+ label: z.ZodString;
2621
+ }, "strip", z.ZodTypeAny, {
2622
+ value: string;
2623
+ label: string;
2624
+ }, {
2625
+ value: string;
2626
+ label: string;
2627
+ }>, "many">;
2628
+ }, "strip", z.ZodTypeAny, {
2629
+ type: "enum";
2630
+ allowedValues: {
2631
+ value: string;
2632
+ label: string;
2633
+ }[];
2634
+ }, {
2635
+ type: "enum";
2636
+ allowedValues: {
2637
+ value: string;
2638
+ label: string;
2639
+ }[];
2640
+ }>, z.ZodObject<{
2641
+ type: z.ZodLiteral<"freeform">;
2642
+ description: z.ZodOptional<z.ZodString>;
2643
+ }, "strip", z.ZodTypeAny, {
2644
+ type: "freeform";
2645
+ description?: string | undefined;
2646
+ }, {
2647
+ type: "freeform";
2648
+ description?: string | undefined;
2649
+ }>]>>>;
2650
+ }, "strip", z.ZodTypeAny, {
2651
+ required?: string[] | undefined;
2652
+ optional?: string[] | undefined;
2653
+ fieldConfigs?: Record<string, {
2654
+ type: "enum";
2655
+ allowedValues: {
2656
+ value: string;
2657
+ label: string;
2658
+ }[];
2659
+ } | {
2660
+ type: "freeform";
2661
+ description?: string | undefined;
2662
+ }> | undefined;
2663
+ }, {
2664
+ required?: string[] | undefined;
2665
+ optional?: string[] | undefined;
2666
+ fieldConfigs?: Record<string, {
2667
+ type: "enum";
2668
+ allowedValues: {
2669
+ value: string;
2670
+ label: string;
2671
+ }[];
2672
+ } | {
2673
+ type: "freeform";
2674
+ description?: string | undefined;
2675
+ }> | undefined;
2676
+ }>>;
2677
+ exchangeRequestOrderOptions: z.ZodOptional<z.ZodObject<{
2678
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2679
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2680
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2681
+ type: z.ZodLiteral<"enum">;
2682
+ allowedValues: z.ZodArray<z.ZodObject<{
2683
+ value: z.ZodString;
2684
+ label: z.ZodString;
2685
+ }, "strip", z.ZodTypeAny, {
2686
+ value: string;
2687
+ label: string;
2688
+ }, {
2689
+ value: string;
2690
+ label: string;
2691
+ }>, "many">;
2692
+ }, "strip", z.ZodTypeAny, {
2693
+ type: "enum";
2694
+ allowedValues: {
2695
+ value: string;
2696
+ label: string;
2697
+ }[];
2698
+ }, {
2699
+ type: "enum";
2700
+ allowedValues: {
2701
+ value: string;
2702
+ label: string;
2703
+ }[];
2704
+ }>, z.ZodObject<{
2705
+ type: z.ZodLiteral<"freeform">;
2706
+ description: z.ZodOptional<z.ZodString>;
2707
+ }, "strip", z.ZodTypeAny, {
2708
+ type: "freeform";
2709
+ description?: string | undefined;
2710
+ }, {
2711
+ type: "freeform";
2712
+ description?: string | undefined;
2713
+ }>]>>>;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ required?: string[] | undefined;
2716
+ optional?: string[] | undefined;
2717
+ fieldConfigs?: Record<string, {
2718
+ type: "enum";
2719
+ allowedValues: {
2720
+ value: string;
2721
+ label: string;
2722
+ }[];
2723
+ } | {
2724
+ type: "freeform";
2725
+ description?: string | undefined;
2726
+ }> | undefined;
2727
+ }, {
2728
+ required?: string[] | undefined;
2729
+ optional?: string[] | undefined;
2730
+ fieldConfigs?: Record<string, {
2731
+ type: "enum";
2732
+ allowedValues: {
2733
+ value: string;
2734
+ label: string;
2735
+ }[];
2736
+ } | {
2737
+ type: "freeform";
2738
+ description?: string | undefined;
2739
+ }> | undefined;
2740
+ }>>;
2741
+ exchangeRestoreOrderOptions: z.ZodOptional<z.ZodObject<{
2742
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2743
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2744
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2745
+ type: z.ZodLiteral<"enum">;
2746
+ allowedValues: z.ZodArray<z.ZodObject<{
2747
+ value: z.ZodString;
2748
+ label: z.ZodString;
2749
+ }, "strip", z.ZodTypeAny, {
2750
+ value: string;
2751
+ label: string;
2752
+ }, {
2753
+ value: string;
2754
+ label: string;
2755
+ }>, "many">;
2756
+ }, "strip", z.ZodTypeAny, {
2757
+ type: "enum";
2758
+ allowedValues: {
2759
+ value: string;
2760
+ label: string;
2761
+ }[];
2762
+ }, {
2763
+ type: "enum";
2764
+ allowedValues: {
2765
+ value: string;
2766
+ label: string;
2767
+ }[];
2768
+ }>, z.ZodObject<{
2769
+ type: z.ZodLiteral<"freeform">;
2770
+ description: z.ZodOptional<z.ZodString>;
2771
+ }, "strip", z.ZodTypeAny, {
2772
+ type: "freeform";
2773
+ description?: string | undefined;
2774
+ }, {
2775
+ type: "freeform";
2776
+ description?: string | undefined;
2777
+ }>]>>>;
2778
+ }, "strip", z.ZodTypeAny, {
2779
+ required?: string[] | undefined;
2780
+ optional?: string[] | undefined;
2781
+ fieldConfigs?: Record<string, {
2782
+ type: "enum";
2783
+ allowedValues: {
2784
+ value: string;
2785
+ label: string;
2786
+ }[];
2787
+ } | {
2788
+ type: "freeform";
2789
+ description?: string | undefined;
2790
+ }> | undefined;
2791
+ }, {
2792
+ required?: string[] | undefined;
2793
+ optional?: string[] | undefined;
2794
+ fieldConfigs?: Record<string, {
2795
+ type: "enum";
2796
+ allowedValues: {
2797
+ value: string;
2798
+ label: string;
2799
+ }[];
2800
+ } | {
2801
+ type: "freeform";
2802
+ description?: string | undefined;
2803
+ }> | undefined;
2804
+ }>>;
2805
+ changeShippingAddressOptions: z.ZodOptional<z.ZodObject<{
2806
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2807
+ optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2808
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2809
+ type: z.ZodLiteral<"enum">;
2810
+ allowedValues: z.ZodArray<z.ZodObject<{
2811
+ value: z.ZodString;
2812
+ label: z.ZodString;
2813
+ }, "strip", z.ZodTypeAny, {
2814
+ value: string;
2815
+ label: string;
2816
+ }, {
2817
+ value: string;
2818
+ label: string;
2819
+ }>, "many">;
2820
+ }, "strip", z.ZodTypeAny, {
2821
+ type: "enum";
2822
+ allowedValues: {
2823
+ value: string;
2824
+ label: string;
2825
+ }[];
2826
+ }, {
2827
+ type: "enum";
2828
+ allowedValues: {
2829
+ value: string;
2830
+ label: string;
2831
+ }[];
2832
+ }>, z.ZodObject<{
2833
+ type: z.ZodLiteral<"freeform">;
2834
+ description: z.ZodOptional<z.ZodString>;
2835
+ }, "strip", z.ZodTypeAny, {
2836
+ type: "freeform";
2837
+ description?: string | undefined;
2838
+ }, {
2839
+ type: "freeform";
2840
+ description?: string | undefined;
2841
+ }>]>>>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ required?: string[] | undefined;
2844
+ optional?: string[] | undefined;
2845
+ fieldConfigs?: Record<string, {
2846
+ type: "enum";
2847
+ allowedValues: {
2848
+ value: string;
2849
+ label: string;
2850
+ }[];
2851
+ } | {
2852
+ type: "freeform";
2853
+ description?: string | undefined;
2854
+ }> | undefined;
2855
+ }, {
2856
+ required?: string[] | undefined;
2857
+ optional?: string[] | undefined;
2858
+ fieldConfigs?: Record<string, {
2859
+ type: "enum";
2860
+ allowedValues: {
2861
+ value: string;
2862
+ label: string;
2863
+ }[];
2864
+ } | {
2865
+ type: "freeform";
2866
+ description?: string | undefined;
2867
+ }> | undefined;
2868
+ }>>;
2869
+ }, "strip", z.ZodTypeAny, {
2870
+ getOrdersOptions?: {
2871
+ required?: string[] | undefined;
2872
+ optional?: string[] | undefined;
2873
+ fieldConfigs?: Record<string, {
2874
+ type: "enum";
2875
+ allowedValues: {
2876
+ value: string;
2877
+ label: string;
2878
+ }[];
2879
+ } | {
2880
+ type: "freeform";
2881
+ description?: string | undefined;
2882
+ }> | undefined;
2883
+ } | undefined;
2884
+ cancelRequestOrderOptions?: {
2885
+ required?: string[] | undefined;
2886
+ optional?: string[] | undefined;
2887
+ fieldConfigs?: Record<string, {
2888
+ type: "enum";
2889
+ allowedValues: {
2890
+ value: string;
2891
+ label: string;
2892
+ }[];
2893
+ } | {
2894
+ type: "freeform";
2895
+ description?: string | undefined;
2896
+ }> | undefined;
2897
+ } | undefined;
2898
+ cancelRestoreOrderOptions?: {
2899
+ required?: string[] | undefined;
2900
+ optional?: string[] | undefined;
2901
+ fieldConfigs?: Record<string, {
2902
+ type: "enum";
2903
+ allowedValues: {
2904
+ value: string;
2905
+ label: string;
2906
+ }[];
2907
+ } | {
2908
+ type: "freeform";
2909
+ description?: string | undefined;
2910
+ }> | undefined;
2911
+ } | undefined;
2912
+ returnRequestOrderOptions?: {
2913
+ required?: string[] | undefined;
2914
+ optional?: string[] | undefined;
2915
+ fieldConfigs?: Record<string, {
2916
+ type: "enum";
2917
+ allowedValues: {
2918
+ value: string;
2919
+ label: string;
2920
+ }[];
2921
+ } | {
2922
+ type: "freeform";
2923
+ description?: string | undefined;
2924
+ }> | undefined;
2925
+ } | undefined;
2926
+ returnRestoreOrderOptions?: {
2927
+ required?: string[] | undefined;
2928
+ optional?: string[] | undefined;
2929
+ fieldConfigs?: Record<string, {
2930
+ type: "enum";
2931
+ allowedValues: {
2932
+ value: string;
2933
+ label: string;
2934
+ }[];
2935
+ } | {
2936
+ type: "freeform";
2937
+ description?: string | undefined;
2938
+ }> | undefined;
2939
+ } | undefined;
2940
+ exchangeRequestOrderOptions?: {
2941
+ required?: string[] | undefined;
2942
+ optional?: string[] | undefined;
2943
+ fieldConfigs?: Record<string, {
2944
+ type: "enum";
2945
+ allowedValues: {
2946
+ value: string;
2947
+ label: string;
2948
+ }[];
2949
+ } | {
2950
+ type: "freeform";
2951
+ description?: string | undefined;
2952
+ }> | undefined;
2953
+ } | undefined;
2954
+ exchangeRestoreOrderOptions?: {
2955
+ required?: string[] | undefined;
2956
+ optional?: string[] | undefined;
2957
+ fieldConfigs?: Record<string, {
2958
+ type: "enum";
2959
+ allowedValues: {
2960
+ value: string;
2961
+ label: string;
2962
+ }[];
2963
+ } | {
2964
+ type: "freeform";
2965
+ description?: string | undefined;
2966
+ }> | undefined;
2967
+ } | undefined;
2968
+ changeShippingAddressOptions?: {
2969
+ required?: string[] | undefined;
2970
+ optional?: string[] | undefined;
2971
+ fieldConfigs?: Record<string, {
2972
+ type: "enum";
2973
+ allowedValues: {
2974
+ value: string;
2975
+ label: string;
2976
+ }[];
2977
+ } | {
2978
+ type: "freeform";
2979
+ description?: string | undefined;
2980
+ }> | undefined;
2981
+ } | undefined;
2982
+ }, {
2983
+ getOrdersOptions?: {
2984
+ required?: string[] | undefined;
2985
+ optional?: string[] | undefined;
2986
+ fieldConfigs?: Record<string, {
2987
+ type: "enum";
2988
+ allowedValues: {
2989
+ value: string;
2990
+ label: string;
2991
+ }[];
2992
+ } | {
2993
+ type: "freeform";
2994
+ description?: string | undefined;
2995
+ }> | undefined;
2996
+ } | undefined;
2997
+ cancelRequestOrderOptions?: {
2998
+ required?: string[] | undefined;
2999
+ optional?: string[] | undefined;
3000
+ fieldConfigs?: Record<string, {
3001
+ type: "enum";
3002
+ allowedValues: {
3003
+ value: string;
3004
+ label: string;
3005
+ }[];
3006
+ } | {
3007
+ type: "freeform";
3008
+ description?: string | undefined;
3009
+ }> | undefined;
3010
+ } | undefined;
3011
+ cancelRestoreOrderOptions?: {
3012
+ required?: string[] | undefined;
3013
+ optional?: string[] | undefined;
3014
+ fieldConfigs?: Record<string, {
3015
+ type: "enum";
3016
+ allowedValues: {
3017
+ value: string;
3018
+ label: string;
3019
+ }[];
3020
+ } | {
3021
+ type: "freeform";
3022
+ description?: string | undefined;
3023
+ }> | undefined;
3024
+ } | undefined;
3025
+ returnRequestOrderOptions?: {
3026
+ required?: string[] | undefined;
3027
+ optional?: string[] | undefined;
3028
+ fieldConfigs?: Record<string, {
3029
+ type: "enum";
3030
+ allowedValues: {
3031
+ value: string;
3032
+ label: string;
3033
+ }[];
3034
+ } | {
3035
+ type: "freeform";
3036
+ description?: string | undefined;
3037
+ }> | undefined;
3038
+ } | undefined;
3039
+ returnRestoreOrderOptions?: {
3040
+ required?: string[] | undefined;
3041
+ optional?: string[] | undefined;
3042
+ fieldConfigs?: Record<string, {
3043
+ type: "enum";
3044
+ allowedValues: {
3045
+ value: string;
3046
+ label: string;
3047
+ }[];
3048
+ } | {
3049
+ type: "freeform";
3050
+ description?: string | undefined;
3051
+ }> | undefined;
3052
+ } | undefined;
3053
+ exchangeRequestOrderOptions?: {
3054
+ required?: string[] | undefined;
3055
+ optional?: string[] | undefined;
3056
+ fieldConfigs?: Record<string, {
3057
+ type: "enum";
3058
+ allowedValues: {
3059
+ value: string;
3060
+ label: string;
3061
+ }[];
3062
+ } | {
3063
+ type: "freeform";
3064
+ description?: string | undefined;
3065
+ }> | undefined;
3066
+ } | undefined;
3067
+ exchangeRestoreOrderOptions?: {
3068
+ required?: string[] | undefined;
3069
+ optional?: string[] | undefined;
3070
+ fieldConfigs?: Record<string, {
3071
+ type: "enum";
3072
+ allowedValues: {
3073
+ value: string;
3074
+ label: string;
3075
+ }[];
3076
+ } | {
3077
+ type: "freeform";
3078
+ description?: string | undefined;
3079
+ }> | undefined;
3080
+ } | undefined;
3081
+ changeShippingAddressOptions?: {
3082
+ required?: string[] | undefined;
3083
+ optional?: string[] | undefined;
3084
+ fieldConfigs?: Record<string, {
3085
+ type: "enum";
3086
+ allowedValues: {
3087
+ value: string;
3088
+ label: string;
3089
+ }[];
3090
+ } | {
3091
+ type: "freeform";
3092
+ description?: string | undefined;
3093
+ }> | undefined;
3094
+ } | undefined;
3095
+ }>>;
3096
+ }, "strip", z.ZodTypeAny, {
3097
+ appCapabilities?: {
3098
+ getOrdersOptions?: {
3099
+ required?: string[] | undefined;
3100
+ optional?: string[] | undefined;
3101
+ fieldConfigs?: Record<string, {
3102
+ type: "enum";
3103
+ allowedValues: {
3104
+ value: string;
3105
+ label: string;
3106
+ }[];
3107
+ } | {
3108
+ type: "freeform";
3109
+ description?: string | undefined;
3110
+ }> | undefined;
3111
+ } | undefined;
3112
+ cancelRequestOrderOptions?: {
3113
+ required?: string[] | undefined;
3114
+ optional?: string[] | undefined;
3115
+ fieldConfigs?: Record<string, {
3116
+ type: "enum";
3117
+ allowedValues: {
3118
+ value: string;
3119
+ label: string;
3120
+ }[];
3121
+ } | {
3122
+ type: "freeform";
3123
+ description?: string | undefined;
3124
+ }> | undefined;
3125
+ } | undefined;
3126
+ cancelRestoreOrderOptions?: {
3127
+ required?: string[] | undefined;
3128
+ optional?: string[] | undefined;
3129
+ fieldConfigs?: Record<string, {
3130
+ type: "enum";
3131
+ allowedValues: {
3132
+ value: string;
3133
+ label: string;
3134
+ }[];
3135
+ } | {
3136
+ type: "freeform";
3137
+ description?: string | undefined;
3138
+ }> | undefined;
3139
+ } | undefined;
3140
+ returnRequestOrderOptions?: {
3141
+ required?: string[] | undefined;
3142
+ optional?: string[] | undefined;
3143
+ fieldConfigs?: Record<string, {
3144
+ type: "enum";
3145
+ allowedValues: {
3146
+ value: string;
3147
+ label: string;
3148
+ }[];
3149
+ } | {
3150
+ type: "freeform";
3151
+ description?: string | undefined;
3152
+ }> | undefined;
3153
+ } | undefined;
3154
+ returnRestoreOrderOptions?: {
3155
+ required?: string[] | undefined;
3156
+ optional?: string[] | undefined;
3157
+ fieldConfigs?: Record<string, {
3158
+ type: "enum";
3159
+ allowedValues: {
3160
+ value: string;
3161
+ label: string;
3162
+ }[];
3163
+ } | {
3164
+ type: "freeform";
3165
+ description?: string | undefined;
3166
+ }> | undefined;
3167
+ } | undefined;
3168
+ exchangeRequestOrderOptions?: {
3169
+ required?: string[] | undefined;
3170
+ optional?: string[] | undefined;
3171
+ fieldConfigs?: Record<string, {
3172
+ type: "enum";
3173
+ allowedValues: {
3174
+ value: string;
3175
+ label: string;
3176
+ }[];
3177
+ } | {
3178
+ type: "freeform";
3179
+ description?: string | undefined;
3180
+ }> | undefined;
3181
+ } | undefined;
3182
+ exchangeRestoreOrderOptions?: {
3183
+ required?: string[] | undefined;
3184
+ optional?: string[] | undefined;
3185
+ fieldConfigs?: Record<string, {
3186
+ type: "enum";
3187
+ allowedValues: {
3188
+ value: string;
3189
+ label: string;
3190
+ }[];
3191
+ } | {
3192
+ type: "freeform";
3193
+ description?: string | undefined;
3194
+ }> | undefined;
3195
+ } | undefined;
3196
+ changeShippingAddressOptions?: {
3197
+ required?: string[] | undefined;
3198
+ optional?: string[] | undefined;
3199
+ fieldConfigs?: Record<string, {
3200
+ type: "enum";
3201
+ allowedValues: {
3202
+ value: string;
3203
+ label: string;
3204
+ }[];
3205
+ } | {
3206
+ type: "freeform";
3207
+ description?: string | undefined;
3208
+ }> | undefined;
3209
+ } | undefined;
3210
+ } | undefined;
3211
+ }, {
3212
+ appCapabilities?: {
3213
+ getOrdersOptions?: {
3214
+ required?: string[] | undefined;
3215
+ optional?: string[] | undefined;
3216
+ fieldConfigs?: Record<string, {
3217
+ type: "enum";
3218
+ allowedValues: {
3219
+ value: string;
3220
+ label: string;
3221
+ }[];
3222
+ } | {
3223
+ type: "freeform";
3224
+ description?: string | undefined;
3225
+ }> | undefined;
3226
+ } | undefined;
3227
+ cancelRequestOrderOptions?: {
3228
+ required?: string[] | undefined;
3229
+ optional?: string[] | undefined;
3230
+ fieldConfigs?: Record<string, {
3231
+ type: "enum";
3232
+ allowedValues: {
3233
+ value: string;
3234
+ label: string;
3235
+ }[];
3236
+ } | {
3237
+ type: "freeform";
3238
+ description?: string | undefined;
3239
+ }> | undefined;
3240
+ } | undefined;
3241
+ cancelRestoreOrderOptions?: {
3242
+ required?: string[] | undefined;
3243
+ optional?: string[] | undefined;
3244
+ fieldConfigs?: Record<string, {
3245
+ type: "enum";
3246
+ allowedValues: {
3247
+ value: string;
3248
+ label: string;
3249
+ }[];
3250
+ } | {
3251
+ type: "freeform";
3252
+ description?: string | undefined;
3253
+ }> | undefined;
3254
+ } | undefined;
3255
+ returnRequestOrderOptions?: {
3256
+ required?: string[] | undefined;
3257
+ optional?: string[] | undefined;
3258
+ fieldConfigs?: Record<string, {
3259
+ type: "enum";
3260
+ allowedValues: {
3261
+ value: string;
3262
+ label: string;
3263
+ }[];
3264
+ } | {
3265
+ type: "freeform";
3266
+ description?: string | undefined;
3267
+ }> | undefined;
3268
+ } | undefined;
3269
+ returnRestoreOrderOptions?: {
3270
+ required?: string[] | undefined;
3271
+ optional?: string[] | undefined;
3272
+ fieldConfigs?: Record<string, {
3273
+ type: "enum";
3274
+ allowedValues: {
3275
+ value: string;
3276
+ label: string;
3277
+ }[];
3278
+ } | {
3279
+ type: "freeform";
3280
+ description?: string | undefined;
3281
+ }> | undefined;
3282
+ } | undefined;
3283
+ exchangeRequestOrderOptions?: {
3284
+ required?: string[] | undefined;
3285
+ optional?: string[] | undefined;
3286
+ fieldConfigs?: Record<string, {
3287
+ type: "enum";
3288
+ allowedValues: {
3289
+ value: string;
3290
+ label: string;
3291
+ }[];
3292
+ } | {
3293
+ type: "freeform";
3294
+ description?: string | undefined;
3295
+ }> | undefined;
3296
+ } | undefined;
3297
+ exchangeRestoreOrderOptions?: {
3298
+ required?: string[] | undefined;
3299
+ optional?: string[] | undefined;
3300
+ fieldConfigs?: Record<string, {
3301
+ type: "enum";
3302
+ allowedValues: {
3303
+ value: string;
3304
+ label: string;
3305
+ }[];
3306
+ } | {
3307
+ type: "freeform";
3308
+ description?: string | undefined;
3309
+ }> | undefined;
3310
+ } | undefined;
3311
+ changeShippingAddressOptions?: {
3312
+ required?: string[] | undefined;
3313
+ optional?: string[] | undefined;
3314
+ fieldConfigs?: Record<string, {
3315
+ type: "enum";
3316
+ allowedValues: {
3317
+ value: string;
3318
+ label: string;
3319
+ }[];
3320
+ } | {
3321
+ type: "freeform";
3322
+ description?: string | undefined;
3323
+ }> | undefined;
3324
+ } | undefined;
3325
+ } | undefined;
3326
+ }>;
3327
+ export type WmsGetAppConfigsOutput = ProtoBacked<z.infer<typeof WmsGetAppConfigsOutputSchema>, ProtoWmsGetAppConfigsOutput>;
1026
3328
  export {};
1027
3329
  //# sourceMappingURL=wms.d.ts.map