@channel.io/app-sdk-core 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions/commerce.d.ts +38 -38
- package/dist/extensions/function-schemas.d.ts.map +1 -1
- package/dist/extensions/function-schemas.js +6 -1
- package/dist/extensions/function-schemas.js.map +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +1 -1
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/proto-contracts.d.ts +6 -1
- package/dist/extensions/proto-contracts.d.ts.map +1 -1
- package/dist/extensions/wms.d.ts +477 -4
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/extensions/wms.js +40 -2
- package/dist/extensions/wms.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +39 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +602 -162
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +26 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
|
@@ -18293,6 +18293,16 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
18293
18293
|
description?: string | undefined;
|
|
18294
18294
|
} | undefined;
|
|
18295
18295
|
orderId?: string | undefined;
|
|
18296
|
+
beforeExchangeItems?: {
|
|
18297
|
+
id?: string | undefined;
|
|
18298
|
+
quantity?: number | undefined;
|
|
18299
|
+
fulfillmentId?: string | undefined;
|
|
18300
|
+
}[] | undefined;
|
|
18301
|
+
afterExchangeItems?: {
|
|
18302
|
+
quantity?: number | undefined;
|
|
18303
|
+
productId?: string | undefined;
|
|
18304
|
+
variantId?: string | undefined;
|
|
18305
|
+
}[] | undefined;
|
|
18296
18306
|
refundBankAccount?: {
|
|
18297
18307
|
bankName?: string | undefined;
|
|
18298
18308
|
accountNo?: string | undefined;
|
|
@@ -18318,6 +18328,13 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
18318
18328
|
description?: string | undefined;
|
|
18319
18329
|
imageUrls?: string[] | undefined;
|
|
18320
18330
|
} | undefined;
|
|
18331
|
+
shippingFeePaymentType?: string | undefined;
|
|
18332
|
+
}, {
|
|
18333
|
+
reason?: {
|
|
18334
|
+
type?: string | undefined;
|
|
18335
|
+
description?: string | undefined;
|
|
18336
|
+
} | undefined;
|
|
18337
|
+
orderId?: string | undefined;
|
|
18321
18338
|
beforeExchangeItems?: {
|
|
18322
18339
|
id?: string | undefined;
|
|
18323
18340
|
quantity?: number | undefined;
|
|
@@ -18328,13 +18345,6 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
18328
18345
|
productId?: string | undefined;
|
|
18329
18346
|
variantId?: string | undefined;
|
|
18330
18347
|
}[] | undefined;
|
|
18331
|
-
shippingFeePaymentType?: string | undefined;
|
|
18332
|
-
}, {
|
|
18333
|
-
reason?: {
|
|
18334
|
-
type?: string | undefined;
|
|
18335
|
-
description?: string | undefined;
|
|
18336
|
-
} | undefined;
|
|
18337
|
-
orderId?: string | undefined;
|
|
18338
18348
|
refundBankAccount?: {
|
|
18339
18349
|
bankName?: string | undefined;
|
|
18340
18350
|
accountNo?: string | undefined;
|
|
@@ -18360,16 +18370,6 @@ export declare const OrderExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
18360
18370
|
description?: string | undefined;
|
|
18361
18371
|
imageUrls?: string[] | undefined;
|
|
18362
18372
|
} | undefined;
|
|
18363
|
-
beforeExchangeItems?: {
|
|
18364
|
-
id?: string | undefined;
|
|
18365
|
-
quantity?: number | undefined;
|
|
18366
|
-
fulfillmentId?: string | undefined;
|
|
18367
|
-
}[] | undefined;
|
|
18368
|
-
afterExchangeItems?: {
|
|
18369
|
-
quantity?: number | undefined;
|
|
18370
|
-
productId?: string | undefined;
|
|
18371
|
-
variantId?: string | undefined;
|
|
18372
|
-
}[] | undefined;
|
|
18373
18373
|
shippingFeePaymentType?: string | undefined;
|
|
18374
18374
|
}>;
|
|
18375
18375
|
export type OrderExchangeOrderInputProto = z.infer<typeof OrderExchangeOrderInputProtoSchema>;
|
|
@@ -23131,6 +23131,16 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
23131
23131
|
type?: string | undefined;
|
|
23132
23132
|
value?: string | undefined;
|
|
23133
23133
|
} | undefined;
|
|
23134
|
+
beforeExchangeItems?: {
|
|
23135
|
+
id?: string | undefined;
|
|
23136
|
+
quantity?: number | undefined;
|
|
23137
|
+
fulfillmentId?: string | undefined;
|
|
23138
|
+
}[] | undefined;
|
|
23139
|
+
afterExchangeItems?: {
|
|
23140
|
+
quantity?: number | undefined;
|
|
23141
|
+
productId?: string | undefined;
|
|
23142
|
+
variantId?: string | undefined;
|
|
23143
|
+
}[] | undefined;
|
|
23134
23144
|
refundBankAccount?: {
|
|
23135
23145
|
bankName?: string | undefined;
|
|
23136
23146
|
accountNo?: string | undefined;
|
|
@@ -23156,16 +23166,6 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
23156
23166
|
description?: string | undefined;
|
|
23157
23167
|
imageUrls?: string[] | undefined;
|
|
23158
23168
|
} | undefined;
|
|
23159
|
-
beforeExchangeItems?: {
|
|
23160
|
-
id?: string | undefined;
|
|
23161
|
-
quantity?: number | undefined;
|
|
23162
|
-
fulfillmentId?: string | undefined;
|
|
23163
|
-
}[] | undefined;
|
|
23164
|
-
afterExchangeItems?: {
|
|
23165
|
-
quantity?: number | undefined;
|
|
23166
|
-
productId?: string | undefined;
|
|
23167
|
-
variantId?: string | undefined;
|
|
23168
|
-
}[] | undefined;
|
|
23169
23169
|
}, {
|
|
23170
23170
|
reason?: {
|
|
23171
23171
|
type?: string | undefined;
|
|
@@ -23176,6 +23176,16 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
23176
23176
|
type?: string | undefined;
|
|
23177
23177
|
value?: string | undefined;
|
|
23178
23178
|
} | undefined;
|
|
23179
|
+
beforeExchangeItems?: {
|
|
23180
|
+
id?: string | undefined;
|
|
23181
|
+
quantity?: number | undefined;
|
|
23182
|
+
fulfillmentId?: string | undefined;
|
|
23183
|
+
}[] | undefined;
|
|
23184
|
+
afterExchangeItems?: {
|
|
23185
|
+
quantity?: number | undefined;
|
|
23186
|
+
productId?: string | undefined;
|
|
23187
|
+
variantId?: string | undefined;
|
|
23188
|
+
}[] | undefined;
|
|
23179
23189
|
refundBankAccount?: {
|
|
23180
23190
|
bankName?: string | undefined;
|
|
23181
23191
|
accountNo?: string | undefined;
|
|
@@ -23201,16 +23211,6 @@ export declare const CommerceExchangeOrderInputProtoSchema: z.ZodObject<{
|
|
|
23201
23211
|
description?: string | undefined;
|
|
23202
23212
|
imageUrls?: string[] | undefined;
|
|
23203
23213
|
} | undefined;
|
|
23204
|
-
beforeExchangeItems?: {
|
|
23205
|
-
id?: string | undefined;
|
|
23206
|
-
quantity?: number | undefined;
|
|
23207
|
-
fulfillmentId?: string | undefined;
|
|
23208
|
-
}[] | undefined;
|
|
23209
|
-
afterExchangeItems?: {
|
|
23210
|
-
quantity?: number | undefined;
|
|
23211
|
-
productId?: string | undefined;
|
|
23212
|
-
variantId?: string | undefined;
|
|
23213
|
-
}[] | undefined;
|
|
23214
23214
|
}>;
|
|
23215
23215
|
export type CommerceExchangeOrderInputProto = z.infer<typeof CommerceExchangeOrderInputProtoSchema>;
|
|
23216
23216
|
export declare const CommerceGetExchangeableItemsInputProtoSchema: z.ZodObject<{
|
|
@@ -23653,8 +23653,8 @@ export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
|
23653
23653
|
name?: string | undefined;
|
|
23654
23654
|
}[] | undefined;
|
|
23655
23655
|
id?: string | undefined;
|
|
23656
|
-
sku?: string | undefined;
|
|
23657
23656
|
stockQuantity?: number | undefined;
|
|
23657
|
+
sku?: string | undefined;
|
|
23658
23658
|
price?: number | undefined;
|
|
23659
23659
|
}, {
|
|
23660
23660
|
options?: {
|
|
@@ -23662,8 +23662,8 @@ export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
|
23662
23662
|
name?: string | undefined;
|
|
23663
23663
|
}[] | undefined;
|
|
23664
23664
|
id?: string | undefined;
|
|
23665
|
-
sku?: string | undefined;
|
|
23666
23665
|
stockQuantity?: number | undefined;
|
|
23666
|
+
sku?: string | undefined;
|
|
23667
23667
|
price?: number | undefined;
|
|
23668
23668
|
}>>, "many">>;
|
|
23669
23669
|
productCode: z.ZodOptional<z.ZodString>;
|
|
@@ -23679,17 +23679,17 @@ export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
|
23679
23679
|
tags?: string[] | undefined;
|
|
23680
23680
|
createdAt?: number | undefined;
|
|
23681
23681
|
currency?: string | undefined;
|
|
23682
|
-
productCode?: string | undefined;
|
|
23683
23682
|
variants?: {
|
|
23684
23683
|
options?: {
|
|
23685
23684
|
value?: string | undefined;
|
|
23686
23685
|
name?: string | undefined;
|
|
23687
23686
|
}[] | undefined;
|
|
23688
23687
|
id?: string | undefined;
|
|
23689
|
-
sku?: string | undefined;
|
|
23690
23688
|
stockQuantity?: number | undefined;
|
|
23689
|
+
sku?: string | undefined;
|
|
23691
23690
|
price?: number | undefined;
|
|
23692
23691
|
}[] | undefined;
|
|
23692
|
+
productCode?: string | undefined;
|
|
23693
23693
|
price?: number | undefined;
|
|
23694
23694
|
originalPrice?: number | undefined;
|
|
23695
23695
|
productUrl?: string | undefined;
|
|
@@ -23709,17 +23709,17 @@ export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
|
23709
23709
|
tags?: string[] | undefined;
|
|
23710
23710
|
createdAt?: number | undefined;
|
|
23711
23711
|
currency?: string | undefined;
|
|
23712
|
-
productCode?: string | undefined;
|
|
23713
23712
|
variants?: {
|
|
23714
23713
|
options?: {
|
|
23715
23714
|
value?: string | undefined;
|
|
23716
23715
|
name?: string | undefined;
|
|
23717
23716
|
}[] | undefined;
|
|
23718
23717
|
id?: string | undefined;
|
|
23719
|
-
sku?: string | undefined;
|
|
23720
23718
|
stockQuantity?: number | undefined;
|
|
23719
|
+
sku?: string | undefined;
|
|
23721
23720
|
price?: number | undefined;
|
|
23722
23721
|
}[] | undefined;
|
|
23722
|
+
productCode?: string | undefined;
|
|
23723
23723
|
price?: number | undefined;
|
|
23724
23724
|
originalPrice?: number | undefined;
|
|
23725
23725
|
productUrl?: string | undefined;
|
|
@@ -23743,17 +23743,17 @@ export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
|
23743
23743
|
tags?: string[] | undefined;
|
|
23744
23744
|
createdAt?: number | undefined;
|
|
23745
23745
|
currency?: string | undefined;
|
|
23746
|
-
productCode?: string | undefined;
|
|
23747
23746
|
variants?: {
|
|
23748
23747
|
options?: {
|
|
23749
23748
|
value?: string | undefined;
|
|
23750
23749
|
name?: string | undefined;
|
|
23751
23750
|
}[] | undefined;
|
|
23752
23751
|
id?: string | undefined;
|
|
23753
|
-
sku?: string | undefined;
|
|
23754
23752
|
stockQuantity?: number | undefined;
|
|
23753
|
+
sku?: string | undefined;
|
|
23755
23754
|
price?: number | undefined;
|
|
23756
23755
|
}[] | undefined;
|
|
23756
|
+
productCode?: string | undefined;
|
|
23757
23757
|
price?: number | undefined;
|
|
23758
23758
|
originalPrice?: number | undefined;
|
|
23759
23759
|
productUrl?: string | undefined;
|
|
@@ -23776,17 +23776,17 @@ export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
|
23776
23776
|
tags?: string[] | undefined;
|
|
23777
23777
|
createdAt?: number | undefined;
|
|
23778
23778
|
currency?: string | undefined;
|
|
23779
|
-
productCode?: string | undefined;
|
|
23780
23779
|
variants?: {
|
|
23781
23780
|
options?: {
|
|
23782
23781
|
value?: string | undefined;
|
|
23783
23782
|
name?: string | undefined;
|
|
23784
23783
|
}[] | undefined;
|
|
23785
23784
|
id?: string | undefined;
|
|
23786
|
-
sku?: string | undefined;
|
|
23787
23785
|
stockQuantity?: number | undefined;
|
|
23786
|
+
sku?: string | undefined;
|
|
23788
23787
|
price?: number | undefined;
|
|
23789
23788
|
}[] | undefined;
|
|
23789
|
+
productCode?: string | undefined;
|
|
23790
23790
|
price?: number | undefined;
|
|
23791
23791
|
originalPrice?: number | undefined;
|
|
23792
23792
|
productUrl?: string | undefined;
|
|
@@ -23837,8 +23837,8 @@ export declare const CommerceProductProtoSchema: z.ZodObject<{
|
|
|
23837
23837
|
name?: string | undefined;
|
|
23838
23838
|
}[] | undefined;
|
|
23839
23839
|
id?: string | undefined;
|
|
23840
|
-
sku?: string | undefined;
|
|
23841
23840
|
stockQuantity?: number | undefined;
|
|
23841
|
+
sku?: string | undefined;
|
|
23842
23842
|
price?: number | undefined;
|
|
23843
23843
|
}, {
|
|
23844
23844
|
options?: {
|
|
@@ -23846,8 +23846,8 @@ export declare const CommerceProductProtoSchema: z.ZodObject<{
|
|
|
23846
23846
|
name?: string | undefined;
|
|
23847
23847
|
}[] | undefined;
|
|
23848
23848
|
id?: string | undefined;
|
|
23849
|
-
sku?: string | undefined;
|
|
23850
23849
|
stockQuantity?: number | undefined;
|
|
23850
|
+
sku?: string | undefined;
|
|
23851
23851
|
price?: number | undefined;
|
|
23852
23852
|
}>>, "many">>;
|
|
23853
23853
|
productCode: z.ZodOptional<z.ZodString>;
|
|
@@ -23863,17 +23863,17 @@ export declare const CommerceProductProtoSchema: z.ZodObject<{
|
|
|
23863
23863
|
tags?: string[] | undefined;
|
|
23864
23864
|
createdAt?: number | undefined;
|
|
23865
23865
|
currency?: string | undefined;
|
|
23866
|
-
productCode?: string | undefined;
|
|
23867
23866
|
variants?: {
|
|
23868
23867
|
options?: {
|
|
23869
23868
|
value?: string | undefined;
|
|
23870
23869
|
name?: string | undefined;
|
|
23871
23870
|
}[] | undefined;
|
|
23872
23871
|
id?: string | undefined;
|
|
23873
|
-
sku?: string | undefined;
|
|
23874
23872
|
stockQuantity?: number | undefined;
|
|
23873
|
+
sku?: string | undefined;
|
|
23875
23874
|
price?: number | undefined;
|
|
23876
23875
|
}[] | undefined;
|
|
23876
|
+
productCode?: string | undefined;
|
|
23877
23877
|
price?: number | undefined;
|
|
23878
23878
|
originalPrice?: number | undefined;
|
|
23879
23879
|
productUrl?: string | undefined;
|
|
@@ -23893,17 +23893,17 @@ export declare const CommerceProductProtoSchema: z.ZodObject<{
|
|
|
23893
23893
|
tags?: string[] | undefined;
|
|
23894
23894
|
createdAt?: number | undefined;
|
|
23895
23895
|
currency?: string | undefined;
|
|
23896
|
-
productCode?: string | undefined;
|
|
23897
23896
|
variants?: {
|
|
23898
23897
|
options?: {
|
|
23899
23898
|
value?: string | undefined;
|
|
23900
23899
|
name?: string | undefined;
|
|
23901
23900
|
}[] | undefined;
|
|
23902
23901
|
id?: string | undefined;
|
|
23903
|
-
sku?: string | undefined;
|
|
23904
23902
|
stockQuantity?: number | undefined;
|
|
23903
|
+
sku?: string | undefined;
|
|
23905
23904
|
price?: number | undefined;
|
|
23906
23905
|
}[] | undefined;
|
|
23906
|
+
productCode?: string | undefined;
|
|
23907
23907
|
price?: number | undefined;
|
|
23908
23908
|
originalPrice?: number | undefined;
|
|
23909
23909
|
productUrl?: string | undefined;
|
|
@@ -23935,8 +23935,8 @@ export declare const CommerceProductVariantProtoSchema: z.ZodObject<{
|
|
|
23935
23935
|
name?: string | undefined;
|
|
23936
23936
|
}[] | undefined;
|
|
23937
23937
|
id?: string | undefined;
|
|
23938
|
-
sku?: string | undefined;
|
|
23939
23938
|
stockQuantity?: number | undefined;
|
|
23939
|
+
sku?: string | undefined;
|
|
23940
23940
|
price?: number | undefined;
|
|
23941
23941
|
}, {
|
|
23942
23942
|
options?: {
|
|
@@ -23944,8 +23944,8 @@ export declare const CommerceProductVariantProtoSchema: z.ZodObject<{
|
|
|
23944
23944
|
name?: string | undefined;
|
|
23945
23945
|
}[] | undefined;
|
|
23946
23946
|
id?: string | undefined;
|
|
23947
|
-
sku?: string | undefined;
|
|
23948
23947
|
stockQuantity?: number | undefined;
|
|
23948
|
+
sku?: string | undefined;
|
|
23949
23949
|
price?: number | undefined;
|
|
23950
23950
|
}>;
|
|
23951
23951
|
export type CommerceProductVariantProto = z.infer<typeof CommerceProductVariantProtoSchema>;
|
|
@@ -25425,7 +25425,7 @@ export declare const WmsOrderExchangeRequestProtoSchema: z.ZodObject<{
|
|
|
25425
25425
|
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25426
25426
|
reason: z.ZodOptional<z.ZodString>;
|
|
25427
25427
|
memo: z.ZodOptional<z.ZodString>;
|
|
25428
|
-
|
|
25428
|
+
beforeExchangeItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25429
25429
|
id: z.ZodOptional<z.ZodString>;
|
|
25430
25430
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25431
25431
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -25435,6 +25435,19 @@ export declare const WmsOrderExchangeRequestProtoSchema: z.ZodObject<{
|
|
|
25435
25435
|
id?: string | undefined;
|
|
25436
25436
|
quantity?: number | undefined;
|
|
25437
25437
|
}>>, "many">>;
|
|
25438
|
+
afterExchangeItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25439
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
25440
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
25441
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25442
|
+
}, "strip", z.ZodTypeAny, {
|
|
25443
|
+
quantity?: number | undefined;
|
|
25444
|
+
productId?: string | undefined;
|
|
25445
|
+
variantId?: string | undefined;
|
|
25446
|
+
}, {
|
|
25447
|
+
quantity?: number | undefined;
|
|
25448
|
+
productId?: string | undefined;
|
|
25449
|
+
variantId?: string | undefined;
|
|
25450
|
+
}>>, "many">>;
|
|
25438
25451
|
}, "strip", z.ZodTypeAny, {
|
|
25439
25452
|
reason?: string | undefined;
|
|
25440
25453
|
orderIds?: string[] | undefined;
|
|
@@ -25443,10 +25456,15 @@ export declare const WmsOrderExchangeRequestProtoSchema: z.ZodObject<{
|
|
|
25443
25456
|
type?: string | undefined;
|
|
25444
25457
|
value?: string | undefined;
|
|
25445
25458
|
} | undefined;
|
|
25446
|
-
|
|
25459
|
+
beforeExchangeItems?: {
|
|
25447
25460
|
id?: string | undefined;
|
|
25448
25461
|
quantity?: number | undefined;
|
|
25449
25462
|
}[] | undefined;
|
|
25463
|
+
afterExchangeItems?: {
|
|
25464
|
+
quantity?: number | undefined;
|
|
25465
|
+
productId?: string | undefined;
|
|
25466
|
+
variantId?: string | undefined;
|
|
25467
|
+
}[] | undefined;
|
|
25450
25468
|
}, {
|
|
25451
25469
|
reason?: string | undefined;
|
|
25452
25470
|
orderIds?: string[] | undefined;
|
|
@@ -25455,13 +25473,18 @@ export declare const WmsOrderExchangeRequestProtoSchema: z.ZodObject<{
|
|
|
25455
25473
|
type?: string | undefined;
|
|
25456
25474
|
value?: string | undefined;
|
|
25457
25475
|
} | undefined;
|
|
25458
|
-
|
|
25476
|
+
beforeExchangeItems?: {
|
|
25459
25477
|
id?: string | undefined;
|
|
25460
25478
|
quantity?: number | undefined;
|
|
25461
25479
|
}[] | undefined;
|
|
25480
|
+
afterExchangeItems?: {
|
|
25481
|
+
quantity?: number | undefined;
|
|
25482
|
+
productId?: string | undefined;
|
|
25483
|
+
variantId?: string | undefined;
|
|
25484
|
+
}[] | undefined;
|
|
25462
25485
|
}>;
|
|
25463
25486
|
export type WmsOrderExchangeRequestProto = z.infer<typeof WmsOrderExchangeRequestProtoSchema>;
|
|
25464
|
-
export declare const
|
|
25487
|
+
export declare const WmsOrderGetExchangeableItemsRequestProtoSchema: z.ZodObject<{
|
|
25465
25488
|
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25466
25489
|
type: z.ZodOptional<z.ZodString>;
|
|
25467
25490
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -25473,124 +25496,361 @@ export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
25473
25496
|
value?: string | undefined;
|
|
25474
25497
|
}>>>;
|
|
25475
25498
|
orderId: z.ZodOptional<z.ZodString>;
|
|
25476
|
-
|
|
25477
|
-
|
|
25478
|
-
|
|
25479
|
-
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
25480
|
-
email: z.ZodOptional<z.ZodString>;
|
|
25481
|
-
cellPhoneNumber: z.ZodOptional<z.ZodString>;
|
|
25482
|
-
zipcode: z.ZodOptional<z.ZodString>;
|
|
25483
|
-
address1: z.ZodOptional<z.ZodString>;
|
|
25484
|
-
address2: z.ZodOptional<z.ZodString>;
|
|
25485
|
-
shippingMessage: z.ZodOptional<z.ZodString>;
|
|
25486
|
-
country: z.ZodOptional<z.ZodString>;
|
|
25487
|
-
city: z.ZodOptional<z.ZodString>;
|
|
25488
|
-
province: z.ZodOptional<z.ZodString>;
|
|
25489
|
-
countryCode: z.ZodOptional<z.ZodString>;
|
|
25499
|
+
items: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25500
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25501
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25490
25502
|
}, "strip", z.ZodTypeAny, {
|
|
25491
|
-
|
|
25492
|
-
|
|
25493
|
-
address1?: string | undefined;
|
|
25494
|
-
address2?: string | undefined;
|
|
25495
|
-
firstName?: string | undefined;
|
|
25496
|
-
lastName?: string | undefined;
|
|
25497
|
-
phoneNumber?: string | undefined;
|
|
25498
|
-
cellPhoneNumber?: string | undefined;
|
|
25499
|
-
zipcode?: string | undefined;
|
|
25500
|
-
shippingMessage?: string | undefined;
|
|
25501
|
-
country?: string | undefined;
|
|
25502
|
-
city?: string | undefined;
|
|
25503
|
-
province?: string | undefined;
|
|
25503
|
+
id?: string | undefined;
|
|
25504
|
+
quantity?: number | undefined;
|
|
25504
25505
|
}, {
|
|
25505
|
-
|
|
25506
|
-
|
|
25507
|
-
|
|
25508
|
-
address2?: string | undefined;
|
|
25509
|
-
firstName?: string | undefined;
|
|
25510
|
-
lastName?: string | undefined;
|
|
25511
|
-
phoneNumber?: string | undefined;
|
|
25512
|
-
cellPhoneNumber?: string | undefined;
|
|
25513
|
-
zipcode?: string | undefined;
|
|
25514
|
-
shippingMessage?: string | undefined;
|
|
25515
|
-
country?: string | undefined;
|
|
25516
|
-
city?: string | undefined;
|
|
25517
|
-
province?: string | undefined;
|
|
25518
|
-
}>>>;
|
|
25519
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
25520
|
-
memo: z.ZodOptional<z.ZodString>;
|
|
25506
|
+
id?: string | undefined;
|
|
25507
|
+
quantity?: number | undefined;
|
|
25508
|
+
}>>, "many">>;
|
|
25521
25509
|
}, "strip", z.ZodTypeAny, {
|
|
25522
|
-
|
|
25510
|
+
items?: {
|
|
25511
|
+
id?: string | undefined;
|
|
25512
|
+
quantity?: number | undefined;
|
|
25513
|
+
}[] | undefined;
|
|
25523
25514
|
orderId?: string | undefined;
|
|
25524
|
-
memo?: string | undefined;
|
|
25525
25515
|
identifier?: {
|
|
25526
25516
|
type?: string | undefined;
|
|
25527
25517
|
value?: string | undefined;
|
|
25528
25518
|
} | undefined;
|
|
25529
|
-
newAddress?: {
|
|
25530
|
-
email?: string | undefined;
|
|
25531
|
-
countryCode?: string | undefined;
|
|
25532
|
-
address1?: string | undefined;
|
|
25533
|
-
address2?: string | undefined;
|
|
25534
|
-
firstName?: string | undefined;
|
|
25535
|
-
lastName?: string | undefined;
|
|
25536
|
-
phoneNumber?: string | undefined;
|
|
25537
|
-
cellPhoneNumber?: string | undefined;
|
|
25538
|
-
zipcode?: string | undefined;
|
|
25539
|
-
shippingMessage?: string | undefined;
|
|
25540
|
-
country?: string | undefined;
|
|
25541
|
-
city?: string | undefined;
|
|
25542
|
-
province?: string | undefined;
|
|
25543
|
-
} | undefined;
|
|
25544
25519
|
}, {
|
|
25545
|
-
|
|
25520
|
+
items?: {
|
|
25521
|
+
id?: string | undefined;
|
|
25522
|
+
quantity?: number | undefined;
|
|
25523
|
+
}[] | undefined;
|
|
25546
25524
|
orderId?: string | undefined;
|
|
25547
|
-
memo?: string | undefined;
|
|
25548
25525
|
identifier?: {
|
|
25549
25526
|
type?: string | undefined;
|
|
25550
25527
|
value?: string | undefined;
|
|
25551
25528
|
} | undefined;
|
|
25552
|
-
newAddress?: {
|
|
25553
|
-
email?: string | undefined;
|
|
25554
|
-
countryCode?: string | undefined;
|
|
25555
|
-
address1?: string | undefined;
|
|
25556
|
-
address2?: string | undefined;
|
|
25557
|
-
firstName?: string | undefined;
|
|
25558
|
-
lastName?: string | undefined;
|
|
25559
|
-
phoneNumber?: string | undefined;
|
|
25560
|
-
cellPhoneNumber?: string | undefined;
|
|
25561
|
-
zipcode?: string | undefined;
|
|
25562
|
-
shippingMessage?: string | undefined;
|
|
25563
|
-
country?: string | undefined;
|
|
25564
|
-
city?: string | undefined;
|
|
25565
|
-
province?: string | undefined;
|
|
25566
|
-
} | undefined;
|
|
25567
|
-
}>;
|
|
25568
|
-
export type WmsOrderChangeShippingAddressInputProto = z.infer<typeof WmsOrderChangeShippingAddressInputProtoSchema>;
|
|
25569
|
-
export declare const WmsOrderResultBodyProtoSchema: z.ZodObject<{
|
|
25570
|
-
success: z.ZodOptional<z.ZodBoolean>;
|
|
25571
|
-
errorMessage: z.ZodOptional<z.ZodString>;
|
|
25572
|
-
}, "strip", z.ZodTypeAny, {
|
|
25573
|
-
success?: boolean | undefined;
|
|
25574
|
-
errorMessage?: string | undefined;
|
|
25575
|
-
}, {
|
|
25576
|
-
success?: boolean | undefined;
|
|
25577
|
-
errorMessage?: string | undefined;
|
|
25578
25529
|
}>;
|
|
25579
|
-
export type
|
|
25580
|
-
export declare const
|
|
25581
|
-
|
|
25582
|
-
|
|
25583
|
-
|
|
25584
|
-
|
|
25585
|
-
|
|
25586
|
-
|
|
25587
|
-
|
|
25588
|
-
|
|
25589
|
-
|
|
25590
|
-
|
|
25591
|
-
|
|
25592
|
-
|
|
25593
|
-
|
|
25530
|
+
export type WmsOrderGetExchangeableItemsRequestProto = z.infer<typeof WmsOrderGetExchangeableItemsRequestProtoSchema>;
|
|
25531
|
+
export declare const WmsOrderGetExchangeableItemsResultProtoSchema: z.ZodObject<{
|
|
25532
|
+
exchangeableItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25533
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25534
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
25535
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25536
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25537
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
25538
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25539
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25540
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25541
|
+
}, "strip", z.ZodTypeAny, {
|
|
25542
|
+
value?: string | undefined;
|
|
25543
|
+
name?: string | undefined;
|
|
25544
|
+
}, {
|
|
25545
|
+
value?: string | undefined;
|
|
25546
|
+
name?: string | undefined;
|
|
25547
|
+
}>>, "many">>;
|
|
25548
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
25549
|
+
}, "strip", z.ZodTypeAny, {
|
|
25550
|
+
options?: {
|
|
25551
|
+
value?: string | undefined;
|
|
25552
|
+
name?: string | undefined;
|
|
25553
|
+
}[] | undefined;
|
|
25554
|
+
id?: string | undefined;
|
|
25555
|
+
additionalAmount?: number | undefined;
|
|
25556
|
+
stockQuantity?: number | undefined;
|
|
25557
|
+
}, {
|
|
25558
|
+
options?: {
|
|
25559
|
+
value?: string | undefined;
|
|
25560
|
+
name?: string | undefined;
|
|
25561
|
+
}[] | undefined;
|
|
25562
|
+
id?: string | undefined;
|
|
25563
|
+
additionalAmount?: number | undefined;
|
|
25564
|
+
stockQuantity?: number | undefined;
|
|
25565
|
+
}>>, "many">>;
|
|
25566
|
+
}, "strip", z.ZodTypeAny, {
|
|
25567
|
+
id?: string | undefined;
|
|
25568
|
+
productId?: string | undefined;
|
|
25569
|
+
variants?: {
|
|
25570
|
+
options?: {
|
|
25571
|
+
value?: string | undefined;
|
|
25572
|
+
name?: string | undefined;
|
|
25573
|
+
}[] | undefined;
|
|
25574
|
+
id?: string | undefined;
|
|
25575
|
+
additionalAmount?: number | undefined;
|
|
25576
|
+
stockQuantity?: number | undefined;
|
|
25577
|
+
}[] | undefined;
|
|
25578
|
+
}, {
|
|
25579
|
+
id?: string | undefined;
|
|
25580
|
+
productId?: string | undefined;
|
|
25581
|
+
variants?: {
|
|
25582
|
+
options?: {
|
|
25583
|
+
value?: string | undefined;
|
|
25584
|
+
name?: string | undefined;
|
|
25585
|
+
}[] | undefined;
|
|
25586
|
+
id?: string | undefined;
|
|
25587
|
+
additionalAmount?: number | undefined;
|
|
25588
|
+
stockQuantity?: number | undefined;
|
|
25589
|
+
}[] | undefined;
|
|
25590
|
+
}>>, "many">>;
|
|
25591
|
+
}, "strip", z.ZodTypeAny, {
|
|
25592
|
+
exchangeableItems?: {
|
|
25593
|
+
id?: string | undefined;
|
|
25594
|
+
productId?: string | undefined;
|
|
25595
|
+
variants?: {
|
|
25596
|
+
options?: {
|
|
25597
|
+
value?: string | undefined;
|
|
25598
|
+
name?: string | undefined;
|
|
25599
|
+
}[] | undefined;
|
|
25600
|
+
id?: string | undefined;
|
|
25601
|
+
additionalAmount?: number | undefined;
|
|
25602
|
+
stockQuantity?: number | undefined;
|
|
25603
|
+
}[] | undefined;
|
|
25604
|
+
}[] | undefined;
|
|
25605
|
+
}, {
|
|
25606
|
+
exchangeableItems?: {
|
|
25607
|
+
id?: string | undefined;
|
|
25608
|
+
productId?: string | undefined;
|
|
25609
|
+
variants?: {
|
|
25610
|
+
options?: {
|
|
25611
|
+
value?: string | undefined;
|
|
25612
|
+
name?: string | undefined;
|
|
25613
|
+
}[] | undefined;
|
|
25614
|
+
id?: string | undefined;
|
|
25615
|
+
additionalAmount?: number | undefined;
|
|
25616
|
+
stockQuantity?: number | undefined;
|
|
25617
|
+
}[] | undefined;
|
|
25618
|
+
}[] | undefined;
|
|
25619
|
+
}>;
|
|
25620
|
+
export type WmsOrderGetExchangeableItemsResultProto = z.infer<typeof WmsOrderGetExchangeableItemsResultProtoSchema>;
|
|
25621
|
+
export declare const WmsExchangeableItemProtoSchema: z.ZodObject<{
|
|
25622
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25623
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
25624
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25625
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25626
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
25627
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25628
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25629
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25630
|
+
}, "strip", z.ZodTypeAny, {
|
|
25631
|
+
value?: string | undefined;
|
|
25632
|
+
name?: string | undefined;
|
|
25633
|
+
}, {
|
|
25634
|
+
value?: string | undefined;
|
|
25635
|
+
name?: string | undefined;
|
|
25636
|
+
}>>, "many">>;
|
|
25637
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
25638
|
+
}, "strip", z.ZodTypeAny, {
|
|
25639
|
+
options?: {
|
|
25640
|
+
value?: string | undefined;
|
|
25641
|
+
name?: string | undefined;
|
|
25642
|
+
}[] | undefined;
|
|
25643
|
+
id?: string | undefined;
|
|
25644
|
+
additionalAmount?: number | undefined;
|
|
25645
|
+
stockQuantity?: number | undefined;
|
|
25646
|
+
}, {
|
|
25647
|
+
options?: {
|
|
25648
|
+
value?: string | undefined;
|
|
25649
|
+
name?: string | undefined;
|
|
25650
|
+
}[] | undefined;
|
|
25651
|
+
id?: string | undefined;
|
|
25652
|
+
additionalAmount?: number | undefined;
|
|
25653
|
+
stockQuantity?: number | undefined;
|
|
25654
|
+
}>>, "many">>;
|
|
25655
|
+
}, "strip", z.ZodTypeAny, {
|
|
25656
|
+
id?: string | undefined;
|
|
25657
|
+
productId?: string | undefined;
|
|
25658
|
+
variants?: {
|
|
25659
|
+
options?: {
|
|
25660
|
+
value?: string | undefined;
|
|
25661
|
+
name?: string | undefined;
|
|
25662
|
+
}[] | undefined;
|
|
25663
|
+
id?: string | undefined;
|
|
25664
|
+
additionalAmount?: number | undefined;
|
|
25665
|
+
stockQuantity?: number | undefined;
|
|
25666
|
+
}[] | undefined;
|
|
25667
|
+
}, {
|
|
25668
|
+
id?: string | undefined;
|
|
25669
|
+
productId?: string | undefined;
|
|
25670
|
+
variants?: {
|
|
25671
|
+
options?: {
|
|
25672
|
+
value?: string | undefined;
|
|
25673
|
+
name?: string | undefined;
|
|
25674
|
+
}[] | undefined;
|
|
25675
|
+
id?: string | undefined;
|
|
25676
|
+
additionalAmount?: number | undefined;
|
|
25677
|
+
stockQuantity?: number | undefined;
|
|
25678
|
+
}[] | undefined;
|
|
25679
|
+
}>;
|
|
25680
|
+
export type WmsExchangeableItemProto = z.infer<typeof WmsExchangeableItemProtoSchema>;
|
|
25681
|
+
export declare const WmsExchangeableVariantProtoSchema: z.ZodObject<{
|
|
25682
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25683
|
+
additionalAmount: z.ZodOptional<z.ZodNumber>;
|
|
25684
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25685
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25686
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25687
|
+
}, "strip", z.ZodTypeAny, {
|
|
25688
|
+
value?: string | undefined;
|
|
25689
|
+
name?: string | undefined;
|
|
25690
|
+
}, {
|
|
25691
|
+
value?: string | undefined;
|
|
25692
|
+
name?: string | undefined;
|
|
25693
|
+
}>>, "many">>;
|
|
25694
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
25695
|
+
}, "strip", z.ZodTypeAny, {
|
|
25696
|
+
options?: {
|
|
25697
|
+
value?: string | undefined;
|
|
25698
|
+
name?: string | undefined;
|
|
25699
|
+
}[] | undefined;
|
|
25700
|
+
id?: string | undefined;
|
|
25701
|
+
additionalAmount?: number | undefined;
|
|
25702
|
+
stockQuantity?: number | undefined;
|
|
25703
|
+
}, {
|
|
25704
|
+
options?: {
|
|
25705
|
+
value?: string | undefined;
|
|
25706
|
+
name?: string | undefined;
|
|
25707
|
+
}[] | undefined;
|
|
25708
|
+
id?: string | undefined;
|
|
25709
|
+
additionalAmount?: number | undefined;
|
|
25710
|
+
stockQuantity?: number | undefined;
|
|
25711
|
+
}>;
|
|
25712
|
+
export type WmsExchangeableVariantProto = z.infer<typeof WmsExchangeableVariantProtoSchema>;
|
|
25713
|
+
export declare const WmsVariantOptionProtoSchema: z.ZodObject<{
|
|
25714
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25715
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25716
|
+
}, "strip", z.ZodTypeAny, {
|
|
25717
|
+
value?: string | undefined;
|
|
25718
|
+
name?: string | undefined;
|
|
25719
|
+
}, {
|
|
25720
|
+
value?: string | undefined;
|
|
25721
|
+
name?: string | undefined;
|
|
25722
|
+
}>;
|
|
25723
|
+
export type WmsVariantOptionProto = z.infer<typeof WmsVariantOptionProtoSchema>;
|
|
25724
|
+
export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
25725
|
+
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25726
|
+
type: z.ZodOptional<z.ZodString>;
|
|
25727
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25728
|
+
}, "strip", z.ZodTypeAny, {
|
|
25729
|
+
type?: string | undefined;
|
|
25730
|
+
value?: string | undefined;
|
|
25731
|
+
}, {
|
|
25732
|
+
type?: string | undefined;
|
|
25733
|
+
value?: string | undefined;
|
|
25734
|
+
}>>>;
|
|
25735
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
25736
|
+
newAddress: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25737
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
25738
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
25739
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
25740
|
+
email: z.ZodOptional<z.ZodString>;
|
|
25741
|
+
cellPhoneNumber: z.ZodOptional<z.ZodString>;
|
|
25742
|
+
zipcode: z.ZodOptional<z.ZodString>;
|
|
25743
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
25744
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
25745
|
+
shippingMessage: z.ZodOptional<z.ZodString>;
|
|
25746
|
+
country: z.ZodOptional<z.ZodString>;
|
|
25747
|
+
city: z.ZodOptional<z.ZodString>;
|
|
25748
|
+
province: z.ZodOptional<z.ZodString>;
|
|
25749
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
25750
|
+
}, "strip", z.ZodTypeAny, {
|
|
25751
|
+
email?: string | undefined;
|
|
25752
|
+
countryCode?: string | undefined;
|
|
25753
|
+
address1?: string | undefined;
|
|
25754
|
+
address2?: string | undefined;
|
|
25755
|
+
firstName?: string | undefined;
|
|
25756
|
+
lastName?: string | undefined;
|
|
25757
|
+
phoneNumber?: string | undefined;
|
|
25758
|
+
cellPhoneNumber?: string | undefined;
|
|
25759
|
+
zipcode?: string | undefined;
|
|
25760
|
+
shippingMessage?: string | undefined;
|
|
25761
|
+
country?: string | undefined;
|
|
25762
|
+
city?: string | undefined;
|
|
25763
|
+
province?: string | undefined;
|
|
25764
|
+
}, {
|
|
25765
|
+
email?: string | undefined;
|
|
25766
|
+
countryCode?: string | undefined;
|
|
25767
|
+
address1?: string | undefined;
|
|
25768
|
+
address2?: string | undefined;
|
|
25769
|
+
firstName?: string | undefined;
|
|
25770
|
+
lastName?: string | undefined;
|
|
25771
|
+
phoneNumber?: string | undefined;
|
|
25772
|
+
cellPhoneNumber?: string | undefined;
|
|
25773
|
+
zipcode?: string | undefined;
|
|
25774
|
+
shippingMessage?: string | undefined;
|
|
25775
|
+
country?: string | undefined;
|
|
25776
|
+
city?: string | undefined;
|
|
25777
|
+
province?: string | undefined;
|
|
25778
|
+
}>>>;
|
|
25779
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
25780
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
25781
|
+
}, "strip", z.ZodTypeAny, {
|
|
25782
|
+
reason?: string | undefined;
|
|
25783
|
+
orderId?: string | undefined;
|
|
25784
|
+
memo?: string | undefined;
|
|
25785
|
+
identifier?: {
|
|
25786
|
+
type?: string | undefined;
|
|
25787
|
+
value?: string | undefined;
|
|
25788
|
+
} | undefined;
|
|
25789
|
+
newAddress?: {
|
|
25790
|
+
email?: string | undefined;
|
|
25791
|
+
countryCode?: string | undefined;
|
|
25792
|
+
address1?: string | undefined;
|
|
25793
|
+
address2?: string | undefined;
|
|
25794
|
+
firstName?: string | undefined;
|
|
25795
|
+
lastName?: string | undefined;
|
|
25796
|
+
phoneNumber?: string | undefined;
|
|
25797
|
+
cellPhoneNumber?: string | undefined;
|
|
25798
|
+
zipcode?: string | undefined;
|
|
25799
|
+
shippingMessage?: string | undefined;
|
|
25800
|
+
country?: string | undefined;
|
|
25801
|
+
city?: string | undefined;
|
|
25802
|
+
province?: string | undefined;
|
|
25803
|
+
} | undefined;
|
|
25804
|
+
}, {
|
|
25805
|
+
reason?: string | undefined;
|
|
25806
|
+
orderId?: string | undefined;
|
|
25807
|
+
memo?: string | undefined;
|
|
25808
|
+
identifier?: {
|
|
25809
|
+
type?: string | undefined;
|
|
25810
|
+
value?: string | undefined;
|
|
25811
|
+
} | undefined;
|
|
25812
|
+
newAddress?: {
|
|
25813
|
+
email?: string | undefined;
|
|
25814
|
+
countryCode?: string | undefined;
|
|
25815
|
+
address1?: string | undefined;
|
|
25816
|
+
address2?: string | undefined;
|
|
25817
|
+
firstName?: string | undefined;
|
|
25818
|
+
lastName?: string | undefined;
|
|
25819
|
+
phoneNumber?: string | undefined;
|
|
25820
|
+
cellPhoneNumber?: string | undefined;
|
|
25821
|
+
zipcode?: string | undefined;
|
|
25822
|
+
shippingMessage?: string | undefined;
|
|
25823
|
+
country?: string | undefined;
|
|
25824
|
+
city?: string | undefined;
|
|
25825
|
+
province?: string | undefined;
|
|
25826
|
+
} | undefined;
|
|
25827
|
+
}>;
|
|
25828
|
+
export type WmsOrderChangeShippingAddressInputProto = z.infer<typeof WmsOrderChangeShippingAddressInputProtoSchema>;
|
|
25829
|
+
export declare const WmsOrderResultBodyProtoSchema: z.ZodObject<{
|
|
25830
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
25831
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
25832
|
+
}, "strip", z.ZodTypeAny, {
|
|
25833
|
+
success?: boolean | undefined;
|
|
25834
|
+
errorMessage?: string | undefined;
|
|
25835
|
+
}, {
|
|
25836
|
+
success?: boolean | undefined;
|
|
25837
|
+
errorMessage?: string | undefined;
|
|
25838
|
+
}>;
|
|
25839
|
+
export type WmsOrderResultBodyProto = z.infer<typeof WmsOrderResultBodyProtoSchema>;
|
|
25840
|
+
export declare const WmsOrderActionResultProtoSchema: z.ZodObject<{
|
|
25841
|
+
result: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25842
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
25843
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
25844
|
+
}, "strip", z.ZodTypeAny, {
|
|
25845
|
+
success?: boolean | undefined;
|
|
25846
|
+
errorMessage?: string | undefined;
|
|
25847
|
+
}, {
|
|
25848
|
+
success?: boolean | undefined;
|
|
25849
|
+
errorMessage?: string | undefined;
|
|
25850
|
+
}>>>;
|
|
25851
|
+
}, "strip", z.ZodTypeAny, {
|
|
25852
|
+
result?: {
|
|
25853
|
+
success?: boolean | undefined;
|
|
25594
25854
|
errorMessage?: string | undefined;
|
|
25595
25855
|
} | undefined;
|
|
25596
25856
|
}, {
|
|
@@ -26117,6 +26377,60 @@ export declare const WmsAppCapabilitiesProtoSchema: z.ZodObject<{
|
|
|
26117
26377
|
}[] | undefined;
|
|
26118
26378
|
}> | undefined;
|
|
26119
26379
|
}>>>;
|
|
26380
|
+
getExchangeableItemsOptions: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
26381
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26382
|
+
optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26383
|
+
fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
26384
|
+
type: z.ZodOptional<z.ZodString>;
|
|
26385
|
+
allowedValues: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
26386
|
+
value: z.ZodOptional<z.ZodString>;
|
|
26387
|
+
label: z.ZodOptional<z.ZodString>;
|
|
26388
|
+
}, "strip", z.ZodTypeAny, {
|
|
26389
|
+
value?: string | undefined;
|
|
26390
|
+
label?: string | undefined;
|
|
26391
|
+
}, {
|
|
26392
|
+
value?: string | undefined;
|
|
26393
|
+
label?: string | undefined;
|
|
26394
|
+
}>>, "many">>;
|
|
26395
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26396
|
+
}, "strip", z.ZodTypeAny, {
|
|
26397
|
+
type?: string | undefined;
|
|
26398
|
+
description?: string | undefined;
|
|
26399
|
+
allowedValues?: {
|
|
26400
|
+
value?: string | undefined;
|
|
26401
|
+
label?: string | undefined;
|
|
26402
|
+
}[] | undefined;
|
|
26403
|
+
}, {
|
|
26404
|
+
type?: string | undefined;
|
|
26405
|
+
description?: string | undefined;
|
|
26406
|
+
allowedValues?: {
|
|
26407
|
+
value?: string | undefined;
|
|
26408
|
+
label?: string | undefined;
|
|
26409
|
+
}[] | undefined;
|
|
26410
|
+
}>>>>;
|
|
26411
|
+
}, "strip", z.ZodTypeAny, {
|
|
26412
|
+
required?: string[] | undefined;
|
|
26413
|
+
optional?: string[] | undefined;
|
|
26414
|
+
fieldConfigs?: Record<string, {
|
|
26415
|
+
type?: string | undefined;
|
|
26416
|
+
description?: string | undefined;
|
|
26417
|
+
allowedValues?: {
|
|
26418
|
+
value?: string | undefined;
|
|
26419
|
+
label?: string | undefined;
|
|
26420
|
+
}[] | undefined;
|
|
26421
|
+
}> | undefined;
|
|
26422
|
+
}, {
|
|
26423
|
+
required?: string[] | undefined;
|
|
26424
|
+
optional?: string[] | undefined;
|
|
26425
|
+
fieldConfigs?: Record<string, {
|
|
26426
|
+
type?: string | undefined;
|
|
26427
|
+
description?: string | undefined;
|
|
26428
|
+
allowedValues?: {
|
|
26429
|
+
value?: string | undefined;
|
|
26430
|
+
label?: string | undefined;
|
|
26431
|
+
}[] | undefined;
|
|
26432
|
+
}> | undefined;
|
|
26433
|
+
}>>>;
|
|
26120
26434
|
}, "strip", z.ZodTypeAny, {
|
|
26121
26435
|
getOrdersOptions?: {
|
|
26122
26436
|
required?: string[] | undefined;
|
|
@@ -26214,6 +26528,18 @@ export declare const WmsAppCapabilitiesProtoSchema: z.ZodObject<{
|
|
|
26214
26528
|
}[] | undefined;
|
|
26215
26529
|
}> | undefined;
|
|
26216
26530
|
} | undefined;
|
|
26531
|
+
getExchangeableItemsOptions?: {
|
|
26532
|
+
required?: string[] | undefined;
|
|
26533
|
+
optional?: string[] | undefined;
|
|
26534
|
+
fieldConfigs?: Record<string, {
|
|
26535
|
+
type?: string | undefined;
|
|
26536
|
+
description?: string | undefined;
|
|
26537
|
+
allowedValues?: {
|
|
26538
|
+
value?: string | undefined;
|
|
26539
|
+
label?: string | undefined;
|
|
26540
|
+
}[] | undefined;
|
|
26541
|
+
}> | undefined;
|
|
26542
|
+
} | undefined;
|
|
26217
26543
|
}, {
|
|
26218
26544
|
getOrdersOptions?: {
|
|
26219
26545
|
required?: string[] | undefined;
|
|
@@ -26311,6 +26637,18 @@ export declare const WmsAppCapabilitiesProtoSchema: z.ZodObject<{
|
|
|
26311
26637
|
}[] | undefined;
|
|
26312
26638
|
}> | undefined;
|
|
26313
26639
|
} | undefined;
|
|
26640
|
+
getExchangeableItemsOptions?: {
|
|
26641
|
+
required?: string[] | undefined;
|
|
26642
|
+
optional?: string[] | undefined;
|
|
26643
|
+
fieldConfigs?: Record<string, {
|
|
26644
|
+
type?: string | undefined;
|
|
26645
|
+
description?: string | undefined;
|
|
26646
|
+
allowedValues?: {
|
|
26647
|
+
value?: string | undefined;
|
|
26648
|
+
label?: string | undefined;
|
|
26649
|
+
}[] | undefined;
|
|
26650
|
+
}> | undefined;
|
|
26651
|
+
} | undefined;
|
|
26314
26652
|
}>;
|
|
26315
26653
|
export type WmsAppCapabilitiesProto = z.infer<typeof WmsAppCapabilitiesProtoSchema>;
|
|
26316
26654
|
export declare const WmsGetAppConfigsInputProtoSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -26749,6 +27087,60 @@ export declare const WmsGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
26749
27087
|
}[] | undefined;
|
|
26750
27088
|
}> | undefined;
|
|
26751
27089
|
}>>>;
|
|
27090
|
+
getExchangeableItemsOptions: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
27091
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27092
|
+
optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27093
|
+
fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
27094
|
+
type: z.ZodOptional<z.ZodString>;
|
|
27095
|
+
allowedValues: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
27096
|
+
value: z.ZodOptional<z.ZodString>;
|
|
27097
|
+
label: z.ZodOptional<z.ZodString>;
|
|
27098
|
+
}, "strip", z.ZodTypeAny, {
|
|
27099
|
+
value?: string | undefined;
|
|
27100
|
+
label?: string | undefined;
|
|
27101
|
+
}, {
|
|
27102
|
+
value?: string | undefined;
|
|
27103
|
+
label?: string | undefined;
|
|
27104
|
+
}>>, "many">>;
|
|
27105
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27106
|
+
}, "strip", z.ZodTypeAny, {
|
|
27107
|
+
type?: string | undefined;
|
|
27108
|
+
description?: string | undefined;
|
|
27109
|
+
allowedValues?: {
|
|
27110
|
+
value?: string | undefined;
|
|
27111
|
+
label?: string | undefined;
|
|
27112
|
+
}[] | undefined;
|
|
27113
|
+
}, {
|
|
27114
|
+
type?: string | undefined;
|
|
27115
|
+
description?: string | undefined;
|
|
27116
|
+
allowedValues?: {
|
|
27117
|
+
value?: string | undefined;
|
|
27118
|
+
label?: string | undefined;
|
|
27119
|
+
}[] | undefined;
|
|
27120
|
+
}>>>>;
|
|
27121
|
+
}, "strip", z.ZodTypeAny, {
|
|
27122
|
+
required?: string[] | undefined;
|
|
27123
|
+
optional?: string[] | undefined;
|
|
27124
|
+
fieldConfigs?: Record<string, {
|
|
27125
|
+
type?: string | undefined;
|
|
27126
|
+
description?: string | undefined;
|
|
27127
|
+
allowedValues?: {
|
|
27128
|
+
value?: string | undefined;
|
|
27129
|
+
label?: string | undefined;
|
|
27130
|
+
}[] | undefined;
|
|
27131
|
+
}> | undefined;
|
|
27132
|
+
}, {
|
|
27133
|
+
required?: string[] | undefined;
|
|
27134
|
+
optional?: string[] | undefined;
|
|
27135
|
+
fieldConfigs?: Record<string, {
|
|
27136
|
+
type?: string | undefined;
|
|
27137
|
+
description?: string | undefined;
|
|
27138
|
+
allowedValues?: {
|
|
27139
|
+
value?: string | undefined;
|
|
27140
|
+
label?: string | undefined;
|
|
27141
|
+
}[] | undefined;
|
|
27142
|
+
}> | undefined;
|
|
27143
|
+
}>>>;
|
|
26752
27144
|
}, "strip", z.ZodTypeAny, {
|
|
26753
27145
|
getOrdersOptions?: {
|
|
26754
27146
|
required?: string[] | undefined;
|
|
@@ -26846,6 +27238,18 @@ export declare const WmsGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
26846
27238
|
}[] | undefined;
|
|
26847
27239
|
}> | undefined;
|
|
26848
27240
|
} | undefined;
|
|
27241
|
+
getExchangeableItemsOptions?: {
|
|
27242
|
+
required?: string[] | undefined;
|
|
27243
|
+
optional?: string[] | undefined;
|
|
27244
|
+
fieldConfigs?: Record<string, {
|
|
27245
|
+
type?: string | undefined;
|
|
27246
|
+
description?: string | undefined;
|
|
27247
|
+
allowedValues?: {
|
|
27248
|
+
value?: string | undefined;
|
|
27249
|
+
label?: string | undefined;
|
|
27250
|
+
}[] | undefined;
|
|
27251
|
+
}> | undefined;
|
|
27252
|
+
} | undefined;
|
|
26849
27253
|
}, {
|
|
26850
27254
|
getOrdersOptions?: {
|
|
26851
27255
|
required?: string[] | undefined;
|
|
@@ -26943,6 +27347,18 @@ export declare const WmsGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
26943
27347
|
}[] | undefined;
|
|
26944
27348
|
}> | undefined;
|
|
26945
27349
|
} | undefined;
|
|
27350
|
+
getExchangeableItemsOptions?: {
|
|
27351
|
+
required?: string[] | undefined;
|
|
27352
|
+
optional?: string[] | undefined;
|
|
27353
|
+
fieldConfigs?: Record<string, {
|
|
27354
|
+
type?: string | undefined;
|
|
27355
|
+
description?: string | undefined;
|
|
27356
|
+
allowedValues?: {
|
|
27357
|
+
value?: string | undefined;
|
|
27358
|
+
label?: string | undefined;
|
|
27359
|
+
}[] | undefined;
|
|
27360
|
+
}> | undefined;
|
|
27361
|
+
} | undefined;
|
|
26946
27362
|
}>>>;
|
|
26947
27363
|
}, "strip", z.ZodTypeAny, {
|
|
26948
27364
|
appCapabilities?: {
|
|
@@ -27042,6 +27458,18 @@ export declare const WmsGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
27042
27458
|
}[] | undefined;
|
|
27043
27459
|
}> | undefined;
|
|
27044
27460
|
} | undefined;
|
|
27461
|
+
getExchangeableItemsOptions?: {
|
|
27462
|
+
required?: string[] | undefined;
|
|
27463
|
+
optional?: string[] | undefined;
|
|
27464
|
+
fieldConfigs?: Record<string, {
|
|
27465
|
+
type?: string | undefined;
|
|
27466
|
+
description?: string | undefined;
|
|
27467
|
+
allowedValues?: {
|
|
27468
|
+
value?: string | undefined;
|
|
27469
|
+
label?: string | undefined;
|
|
27470
|
+
}[] | undefined;
|
|
27471
|
+
}> | undefined;
|
|
27472
|
+
} | undefined;
|
|
27045
27473
|
} | undefined;
|
|
27046
27474
|
}, {
|
|
27047
27475
|
appCapabilities?: {
|
|
@@ -27141,6 +27569,18 @@ export declare const WmsGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
27141
27569
|
}[] | undefined;
|
|
27142
27570
|
}> | undefined;
|
|
27143
27571
|
} | undefined;
|
|
27572
|
+
getExchangeableItemsOptions?: {
|
|
27573
|
+
required?: string[] | undefined;
|
|
27574
|
+
optional?: string[] | undefined;
|
|
27575
|
+
fieldConfigs?: Record<string, {
|
|
27576
|
+
type?: string | undefined;
|
|
27577
|
+
description?: string | undefined;
|
|
27578
|
+
allowedValues?: {
|
|
27579
|
+
value?: string | undefined;
|
|
27580
|
+
label?: string | undefined;
|
|
27581
|
+
}[] | undefined;
|
|
27582
|
+
}> | undefined;
|
|
27583
|
+
} | undefined;
|
|
27144
27584
|
} | undefined;
|
|
27145
27585
|
}>;
|
|
27146
27586
|
export type WmsGetAppConfigsOutputProto = z.infer<typeof WmsGetAppConfigsOutputProtoSchema>;
|