@channel.io/app-sdk-core 0.32.0 → 0.34.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 +20 -20
- package/dist/extensions/config.d.ts +279 -0
- package/dist/extensions/config.d.ts.map +1 -1
- package/dist/extensions/config.js +2 -0
- package/dist/extensions/config.js.map +1 -1
- package/dist/extensions/function-schemas.d.ts.map +1 -1
- package/dist/extensions/function-schemas.js +4 -4
- 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 +5 -1
- package/dist/extensions/proto-contracts.d.ts.map +1 -1
- package/dist/extensions/wms.d.ts +165 -1
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/extensions/wms.js +17 -0
- package/dist/extensions/wms.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +37 -0
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +217 -30
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +28 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
|
@@ -2517,6 +2517,7 @@ export declare const ConfigFieldProtoSchema: z.ZodObject<{
|
|
|
2517
2517
|
overviewLabel: z.ZodOptional<z.ZodString>;
|
|
2518
2518
|
overviewDescription: z.ZodOptional<z.ZodString>;
|
|
2519
2519
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2520
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2520
2521
|
}, "strip", z.ZodTypeAny, {
|
|
2521
2522
|
type?: string | undefined;
|
|
2522
2523
|
description?: string | undefined;
|
|
@@ -2609,6 +2610,7 @@ export declare const ConfigFieldProtoSchema: z.ZodObject<{
|
|
|
2609
2610
|
onChangeSuccessMessage?: string | undefined;
|
|
2610
2611
|
}> | undefined;
|
|
2611
2612
|
}[] | undefined;
|
|
2613
|
+
readOnly?: boolean | undefined;
|
|
2612
2614
|
hidden?: boolean | undefined;
|
|
2613
2615
|
resolvesTo?: {
|
|
2614
2616
|
key?: string | undefined;
|
|
@@ -2802,6 +2804,7 @@ export declare const ConfigFieldProtoSchema: z.ZodObject<{
|
|
|
2802
2804
|
onChangeSuccessMessage?: string | undefined;
|
|
2803
2805
|
}> | undefined;
|
|
2804
2806
|
}[] | undefined;
|
|
2807
|
+
readOnly?: boolean | undefined;
|
|
2805
2808
|
hidden?: boolean | undefined;
|
|
2806
2809
|
resolvesTo?: {
|
|
2807
2810
|
key?: string | undefined;
|
|
@@ -3726,6 +3729,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
3726
3729
|
overviewLabel: z.ZodOptional<z.ZodString>;
|
|
3727
3730
|
overviewDescription: z.ZodOptional<z.ZodString>;
|
|
3728
3731
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3732
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3729
3733
|
}, "strip", z.ZodTypeAny, {
|
|
3730
3734
|
type?: string | undefined;
|
|
3731
3735
|
description?: string | undefined;
|
|
@@ -3818,6 +3822,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
3818
3822
|
onChangeSuccessMessage?: string | undefined;
|
|
3819
3823
|
}> | undefined;
|
|
3820
3824
|
}[] | undefined;
|
|
3825
|
+
readOnly?: boolean | undefined;
|
|
3821
3826
|
hidden?: boolean | undefined;
|
|
3822
3827
|
resolvesTo?: {
|
|
3823
3828
|
key?: string | undefined;
|
|
@@ -4011,6 +4016,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
4011
4016
|
onChangeSuccessMessage?: string | undefined;
|
|
4012
4017
|
}> | undefined;
|
|
4013
4018
|
}[] | undefined;
|
|
4019
|
+
readOnly?: boolean | undefined;
|
|
4014
4020
|
hidden?: boolean | undefined;
|
|
4015
4021
|
resolvesTo?: {
|
|
4016
4022
|
key?: string | undefined;
|
|
@@ -4610,6 +4616,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
4610
4616
|
showInOverviewMenu: z.ZodOptional<z.ZodBoolean>;
|
|
4611
4617
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4612
4618
|
redirectOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4619
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4613
4620
|
}, "strip", z.ZodTypeAny, {
|
|
4614
4621
|
params?: Record<string, any> | undefined;
|
|
4615
4622
|
type?: string | undefined;
|
|
@@ -4751,6 +4758,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
4751
4758
|
onChangeSuccessMessage?: string | undefined;
|
|
4752
4759
|
}> | undefined;
|
|
4753
4760
|
}[] | undefined;
|
|
4761
|
+
readOnly?: boolean | undefined;
|
|
4754
4762
|
hidden?: boolean | undefined;
|
|
4755
4763
|
resolvesTo?: {
|
|
4756
4764
|
key?: string | undefined;
|
|
@@ -4905,6 +4913,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
4905
4913
|
onChangeSuccessMessage?: string | undefined;
|
|
4906
4914
|
}> | undefined;
|
|
4907
4915
|
}[] | undefined;
|
|
4916
|
+
readOnly?: boolean | undefined;
|
|
4908
4917
|
hidden?: boolean | undefined;
|
|
4909
4918
|
resolvesTo?: {
|
|
4910
4919
|
key?: string | undefined;
|
|
@@ -5158,6 +5167,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
5158
5167
|
onChangeSuccessMessage?: string | undefined;
|
|
5159
5168
|
}> | undefined;
|
|
5160
5169
|
}[] | undefined;
|
|
5170
|
+
readOnly?: boolean | undefined;
|
|
5161
5171
|
hidden?: boolean | undefined;
|
|
5162
5172
|
resolvesTo?: {
|
|
5163
5173
|
key?: string | undefined;
|
|
@@ -5312,6 +5322,7 @@ export declare const ConfigBlockProtoSchema: z.ZodObject<{
|
|
|
5312
5322
|
onChangeSuccessMessage?: string | undefined;
|
|
5313
5323
|
}> | undefined;
|
|
5314
5324
|
}[] | undefined;
|
|
5325
|
+
readOnly?: boolean | undefined;
|
|
5315
5326
|
hidden?: boolean | undefined;
|
|
5316
5327
|
resolvesTo?: {
|
|
5317
5328
|
key?: string | undefined;
|
|
@@ -6309,6 +6320,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
6309
6320
|
overviewLabel: z.ZodOptional<z.ZodString>;
|
|
6310
6321
|
overviewDescription: z.ZodOptional<z.ZodString>;
|
|
6311
6322
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6323
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6312
6324
|
}, "strip", z.ZodTypeAny, {
|
|
6313
6325
|
type?: string | undefined;
|
|
6314
6326
|
description?: string | undefined;
|
|
@@ -6401,6 +6413,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
6401
6413
|
onChangeSuccessMessage?: string | undefined;
|
|
6402
6414
|
}> | undefined;
|
|
6403
6415
|
}[] | undefined;
|
|
6416
|
+
readOnly?: boolean | undefined;
|
|
6404
6417
|
hidden?: boolean | undefined;
|
|
6405
6418
|
resolvesTo?: {
|
|
6406
6419
|
key?: string | undefined;
|
|
@@ -6594,6 +6607,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
6594
6607
|
onChangeSuccessMessage?: string | undefined;
|
|
6595
6608
|
}> | undefined;
|
|
6596
6609
|
}[] | undefined;
|
|
6610
|
+
readOnly?: boolean | undefined;
|
|
6597
6611
|
hidden?: boolean | undefined;
|
|
6598
6612
|
resolvesTo?: {
|
|
6599
6613
|
key?: string | undefined;
|
|
@@ -7193,6 +7207,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
7193
7207
|
showInOverviewMenu: z.ZodOptional<z.ZodBoolean>;
|
|
7194
7208
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7195
7209
|
redirectOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7210
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
7196
7211
|
}, "strip", z.ZodTypeAny, {
|
|
7197
7212
|
params?: Record<string, any> | undefined;
|
|
7198
7213
|
type?: string | undefined;
|
|
@@ -7334,6 +7349,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
7334
7349
|
onChangeSuccessMessage?: string | undefined;
|
|
7335
7350
|
}> | undefined;
|
|
7336
7351
|
}[] | undefined;
|
|
7352
|
+
readOnly?: boolean | undefined;
|
|
7337
7353
|
hidden?: boolean | undefined;
|
|
7338
7354
|
resolvesTo?: {
|
|
7339
7355
|
key?: string | undefined;
|
|
@@ -7488,6 +7504,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
7488
7504
|
onChangeSuccessMessage?: string | undefined;
|
|
7489
7505
|
}> | undefined;
|
|
7490
7506
|
}[] | undefined;
|
|
7507
|
+
readOnly?: boolean | undefined;
|
|
7491
7508
|
hidden?: boolean | undefined;
|
|
7492
7509
|
resolvesTo?: {
|
|
7493
7510
|
key?: string | undefined;
|
|
@@ -7741,6 +7758,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
7741
7758
|
onChangeSuccessMessage?: string | undefined;
|
|
7742
7759
|
}> | undefined;
|
|
7743
7760
|
}[] | undefined;
|
|
7761
|
+
readOnly?: boolean | undefined;
|
|
7744
7762
|
hidden?: boolean | undefined;
|
|
7745
7763
|
resolvesTo?: {
|
|
7746
7764
|
key?: string | undefined;
|
|
@@ -7895,6 +7913,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
7895
7913
|
onChangeSuccessMessage?: string | undefined;
|
|
7896
7914
|
}> | undefined;
|
|
7897
7915
|
}[] | undefined;
|
|
7916
|
+
readOnly?: boolean | undefined;
|
|
7898
7917
|
hidden?: boolean | undefined;
|
|
7899
7918
|
resolvesTo?: {
|
|
7900
7919
|
key?: string | undefined;
|
|
@@ -8666,6 +8685,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
8666
8685
|
defaultValueMetadataKey?: string | undefined;
|
|
8667
8686
|
}[] | undefined;
|
|
8668
8687
|
}>>>;
|
|
8688
|
+
hideSettingsTab: z.ZodOptional<z.ZodBoolean>;
|
|
8669
8689
|
}, "strip", z.ZodTypeAny, {
|
|
8670
8690
|
description?: string | undefined;
|
|
8671
8691
|
oauth?: {
|
|
@@ -8930,6 +8950,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
8930
8950
|
onChangeSuccessMessage?: string | undefined;
|
|
8931
8951
|
}> | undefined;
|
|
8932
8952
|
}[] | undefined;
|
|
8953
|
+
readOnly?: boolean | undefined;
|
|
8933
8954
|
hidden?: boolean | undefined;
|
|
8934
8955
|
resolvesTo?: {
|
|
8935
8956
|
key?: string | undefined;
|
|
@@ -9084,6 +9105,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
9084
9105
|
onChangeSuccessMessage?: string | undefined;
|
|
9085
9106
|
}> | undefined;
|
|
9086
9107
|
}[] | undefined;
|
|
9108
|
+
readOnly?: boolean | undefined;
|
|
9087
9109
|
hidden?: boolean | undefined;
|
|
9088
9110
|
resolvesTo?: {
|
|
9089
9111
|
key?: string | undefined;
|
|
@@ -9238,6 +9260,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
9238
9260
|
featureSectionId?: string | undefined;
|
|
9239
9261
|
showAddIcon?: boolean | undefined;
|
|
9240
9262
|
} | undefined;
|
|
9263
|
+
hideSettingsTab?: boolean | undefined;
|
|
9241
9264
|
}, {
|
|
9242
9265
|
description?: string | undefined;
|
|
9243
9266
|
oauth?: {
|
|
@@ -9502,6 +9525,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
9502
9525
|
onChangeSuccessMessage?: string | undefined;
|
|
9503
9526
|
}> | undefined;
|
|
9504
9527
|
}[] | undefined;
|
|
9528
|
+
readOnly?: boolean | undefined;
|
|
9505
9529
|
hidden?: boolean | undefined;
|
|
9506
9530
|
resolvesTo?: {
|
|
9507
9531
|
key?: string | undefined;
|
|
@@ -9656,6 +9680,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
9656
9680
|
onChangeSuccessMessage?: string | undefined;
|
|
9657
9681
|
}> | undefined;
|
|
9658
9682
|
}[] | undefined;
|
|
9683
|
+
readOnly?: boolean | undefined;
|
|
9659
9684
|
hidden?: boolean | undefined;
|
|
9660
9685
|
resolvesTo?: {
|
|
9661
9686
|
key?: string | undefined;
|
|
@@ -9810,6 +9835,7 @@ export declare const ConfigGetConfigSchemaOutputProtoSchema: z.ZodObject<{
|
|
|
9810
9835
|
featureSectionId?: string | undefined;
|
|
9811
9836
|
showAddIcon?: boolean | undefined;
|
|
9812
9837
|
} | undefined;
|
|
9838
|
+
hideSettingsTab?: boolean | undefined;
|
|
9813
9839
|
}>;
|
|
9814
9840
|
export type ConfigGetConfigSchemaOutputProto = z.infer<typeof ConfigGetConfigSchemaOutputProtoSchema>;
|
|
9815
9841
|
export declare const ConfigValidationErrorProtoSchema: z.ZodObject<{
|
|
@@ -18069,16 +18095,16 @@ export declare const OrderReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
18069
18095
|
trackingNumber?: string | undefined;
|
|
18070
18096
|
trackingCompany?: string | undefined;
|
|
18071
18097
|
orderId?: string | undefined;
|
|
18072
|
-
refundBankAccount?: {
|
|
18073
|
-
bankName?: string | undefined;
|
|
18074
|
-
accountNo?: string | undefined;
|
|
18075
|
-
accountHolder?: string | undefined;
|
|
18076
|
-
} | undefined;
|
|
18077
18098
|
returnItems?: {
|
|
18078
18099
|
id?: string | undefined;
|
|
18079
18100
|
quantity?: number | undefined;
|
|
18080
18101
|
fulfillmentId?: string | undefined;
|
|
18081
18102
|
}[] | undefined;
|
|
18103
|
+
refundBankAccount?: {
|
|
18104
|
+
bankName?: string | undefined;
|
|
18105
|
+
accountNo?: string | undefined;
|
|
18106
|
+
accountHolder?: string | undefined;
|
|
18107
|
+
} | undefined;
|
|
18082
18108
|
requestPickup?: boolean | undefined;
|
|
18083
18109
|
pickupAddress?: {
|
|
18084
18110
|
email?: string | undefined;
|
|
@@ -18108,16 +18134,16 @@ export declare const OrderReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
18108
18134
|
trackingNumber?: string | undefined;
|
|
18109
18135
|
trackingCompany?: string | undefined;
|
|
18110
18136
|
orderId?: string | undefined;
|
|
18111
|
-
refundBankAccount?: {
|
|
18112
|
-
bankName?: string | undefined;
|
|
18113
|
-
accountNo?: string | undefined;
|
|
18114
|
-
accountHolder?: string | undefined;
|
|
18115
|
-
} | undefined;
|
|
18116
18137
|
returnItems?: {
|
|
18117
18138
|
id?: string | undefined;
|
|
18118
18139
|
quantity?: number | undefined;
|
|
18119
18140
|
fulfillmentId?: string | undefined;
|
|
18120
18141
|
}[] | undefined;
|
|
18142
|
+
refundBankAccount?: {
|
|
18143
|
+
bankName?: string | undefined;
|
|
18144
|
+
accountNo?: string | undefined;
|
|
18145
|
+
accountHolder?: string | undefined;
|
|
18146
|
+
} | undefined;
|
|
18121
18147
|
requestPickup?: boolean | undefined;
|
|
18122
18148
|
pickupAddress?: {
|
|
18123
18149
|
email?: string | undefined;
|
|
@@ -22810,16 +22836,16 @@ export declare const CommerceReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
22810
22836
|
type?: string | undefined;
|
|
22811
22837
|
value?: string | undefined;
|
|
22812
22838
|
} | undefined;
|
|
22813
|
-
refundBankAccount?: {
|
|
22814
|
-
bankName?: string | undefined;
|
|
22815
|
-
accountNo?: string | undefined;
|
|
22816
|
-
accountHolder?: string | undefined;
|
|
22817
|
-
} | undefined;
|
|
22818
22839
|
returnItems?: {
|
|
22819
22840
|
id?: string | undefined;
|
|
22820
22841
|
quantity?: number | undefined;
|
|
22821
22842
|
fulfillmentId?: string | undefined;
|
|
22822
22843
|
}[] | undefined;
|
|
22844
|
+
refundBankAccount?: {
|
|
22845
|
+
bankName?: string | undefined;
|
|
22846
|
+
accountNo?: string | undefined;
|
|
22847
|
+
accountHolder?: string | undefined;
|
|
22848
|
+
} | undefined;
|
|
22823
22849
|
requestPickup?: boolean | undefined;
|
|
22824
22850
|
pickupAddress?: {
|
|
22825
22851
|
email?: string | undefined;
|
|
@@ -22852,16 +22878,16 @@ export declare const CommerceReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
22852
22878
|
type?: string | undefined;
|
|
22853
22879
|
value?: string | undefined;
|
|
22854
22880
|
} | undefined;
|
|
22855
|
-
refundBankAccount?: {
|
|
22856
|
-
bankName?: string | undefined;
|
|
22857
|
-
accountNo?: string | undefined;
|
|
22858
|
-
accountHolder?: string | undefined;
|
|
22859
|
-
} | undefined;
|
|
22860
22881
|
returnItems?: {
|
|
22861
22882
|
id?: string | undefined;
|
|
22862
22883
|
quantity?: number | undefined;
|
|
22863
22884
|
fulfillmentId?: string | undefined;
|
|
22864
22885
|
}[] | undefined;
|
|
22886
|
+
refundBankAccount?: {
|
|
22887
|
+
bankName?: string | undefined;
|
|
22888
|
+
accountNo?: string | undefined;
|
|
22889
|
+
accountHolder?: string | undefined;
|
|
22890
|
+
} | undefined;
|
|
22865
22891
|
requestPickup?: boolean | undefined;
|
|
22866
22892
|
pickupAddress?: {
|
|
22867
22893
|
email?: string | undefined;
|
|
@@ -22944,16 +22970,16 @@ export declare const CommerceAcceptReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
22944
22970
|
type?: string | undefined;
|
|
22945
22971
|
value?: string | undefined;
|
|
22946
22972
|
} | undefined;
|
|
22947
|
-
refundBankAccount?: {
|
|
22948
|
-
bankName?: string | undefined;
|
|
22949
|
-
accountNo?: string | undefined;
|
|
22950
|
-
accountHolder?: string | undefined;
|
|
22951
|
-
} | undefined;
|
|
22952
22973
|
returnItems?: {
|
|
22953
22974
|
id?: string | undefined;
|
|
22954
22975
|
quantity?: number | undefined;
|
|
22955
22976
|
fulfillmentId?: string | undefined;
|
|
22956
22977
|
}[] | undefined;
|
|
22978
|
+
refundBankAccount?: {
|
|
22979
|
+
bankName?: string | undefined;
|
|
22980
|
+
accountNo?: string | undefined;
|
|
22981
|
+
accountHolder?: string | undefined;
|
|
22982
|
+
} | undefined;
|
|
22957
22983
|
requestPickup?: boolean | undefined;
|
|
22958
22984
|
pickupCompleted?: boolean | undefined;
|
|
22959
22985
|
}, {
|
|
@@ -22966,16 +22992,16 @@ export declare const CommerceAcceptReturnOrderInputProtoSchema: z.ZodObject<{
|
|
|
22966
22992
|
type?: string | undefined;
|
|
22967
22993
|
value?: string | undefined;
|
|
22968
22994
|
} | undefined;
|
|
22969
|
-
refundBankAccount?: {
|
|
22970
|
-
bankName?: string | undefined;
|
|
22971
|
-
accountNo?: string | undefined;
|
|
22972
|
-
accountHolder?: string | undefined;
|
|
22973
|
-
} | undefined;
|
|
22974
22995
|
returnItems?: {
|
|
22975
22996
|
id?: string | undefined;
|
|
22976
22997
|
quantity?: number | undefined;
|
|
22977
22998
|
fulfillmentId?: string | undefined;
|
|
22978
22999
|
}[] | undefined;
|
|
23000
|
+
refundBankAccount?: {
|
|
23001
|
+
bankName?: string | undefined;
|
|
23002
|
+
accountNo?: string | undefined;
|
|
23003
|
+
accountHolder?: string | undefined;
|
|
23004
|
+
} | undefined;
|
|
22979
23005
|
requestPickup?: boolean | undefined;
|
|
22980
23006
|
pickupCompleted?: boolean | undefined;
|
|
22981
23007
|
}>;
|
|
@@ -25274,6 +25300,167 @@ export declare const WmsOrderActionRequestProtoSchema: z.ZodObject<{
|
|
|
25274
25300
|
} | undefined;
|
|
25275
25301
|
}>;
|
|
25276
25302
|
export type WmsOrderActionRequestProto = z.infer<typeof WmsOrderActionRequestProtoSchema>;
|
|
25303
|
+
export declare const WmsOrderClaimItemProtoSchema: z.ZodObject<{
|
|
25304
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25305
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25306
|
+
}, "strip", z.ZodTypeAny, {
|
|
25307
|
+
id?: string | undefined;
|
|
25308
|
+
quantity?: number | undefined;
|
|
25309
|
+
}, {
|
|
25310
|
+
id?: string | undefined;
|
|
25311
|
+
quantity?: number | undefined;
|
|
25312
|
+
}>;
|
|
25313
|
+
export type WmsOrderClaimItemProto = z.infer<typeof WmsOrderClaimItemProtoSchema>;
|
|
25314
|
+
export declare const WmsOrderCancelRequestProtoSchema: z.ZodObject<{
|
|
25315
|
+
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25316
|
+
type: z.ZodOptional<z.ZodString>;
|
|
25317
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25318
|
+
}, "strip", z.ZodTypeAny, {
|
|
25319
|
+
type?: string | undefined;
|
|
25320
|
+
value?: string | undefined;
|
|
25321
|
+
}, {
|
|
25322
|
+
type?: string | undefined;
|
|
25323
|
+
value?: string | undefined;
|
|
25324
|
+
}>>>;
|
|
25325
|
+
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25326
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
25327
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
25328
|
+
cancelItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25329
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25330
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25331
|
+
}, "strip", z.ZodTypeAny, {
|
|
25332
|
+
id?: string | undefined;
|
|
25333
|
+
quantity?: number | undefined;
|
|
25334
|
+
}, {
|
|
25335
|
+
id?: string | undefined;
|
|
25336
|
+
quantity?: number | undefined;
|
|
25337
|
+
}>>, "many">>;
|
|
25338
|
+
}, "strip", z.ZodTypeAny, {
|
|
25339
|
+
reason?: string | undefined;
|
|
25340
|
+
orderIds?: string[] | undefined;
|
|
25341
|
+
memo?: string | undefined;
|
|
25342
|
+
identifier?: {
|
|
25343
|
+
type?: string | undefined;
|
|
25344
|
+
value?: string | undefined;
|
|
25345
|
+
} | undefined;
|
|
25346
|
+
cancelItems?: {
|
|
25347
|
+
id?: string | undefined;
|
|
25348
|
+
quantity?: number | undefined;
|
|
25349
|
+
}[] | undefined;
|
|
25350
|
+
}, {
|
|
25351
|
+
reason?: string | undefined;
|
|
25352
|
+
orderIds?: string[] | undefined;
|
|
25353
|
+
memo?: string | undefined;
|
|
25354
|
+
identifier?: {
|
|
25355
|
+
type?: string | undefined;
|
|
25356
|
+
value?: string | undefined;
|
|
25357
|
+
} | undefined;
|
|
25358
|
+
cancelItems?: {
|
|
25359
|
+
id?: string | undefined;
|
|
25360
|
+
quantity?: number | undefined;
|
|
25361
|
+
}[] | undefined;
|
|
25362
|
+
}>;
|
|
25363
|
+
export type WmsOrderCancelRequestProto = z.infer<typeof WmsOrderCancelRequestProtoSchema>;
|
|
25364
|
+
export declare const WmsOrderReturnRequestProtoSchema: z.ZodObject<{
|
|
25365
|
+
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25366
|
+
type: z.ZodOptional<z.ZodString>;
|
|
25367
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25368
|
+
}, "strip", z.ZodTypeAny, {
|
|
25369
|
+
type?: string | undefined;
|
|
25370
|
+
value?: string | undefined;
|
|
25371
|
+
}, {
|
|
25372
|
+
type?: string | undefined;
|
|
25373
|
+
value?: string | undefined;
|
|
25374
|
+
}>>>;
|
|
25375
|
+
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25376
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
25377
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
25378
|
+
returnItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25379
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25380
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25381
|
+
}, "strip", z.ZodTypeAny, {
|
|
25382
|
+
id?: string | undefined;
|
|
25383
|
+
quantity?: number | undefined;
|
|
25384
|
+
}, {
|
|
25385
|
+
id?: string | undefined;
|
|
25386
|
+
quantity?: number | undefined;
|
|
25387
|
+
}>>, "many">>;
|
|
25388
|
+
}, "strip", z.ZodTypeAny, {
|
|
25389
|
+
reason?: string | undefined;
|
|
25390
|
+
orderIds?: string[] | undefined;
|
|
25391
|
+
memo?: string | undefined;
|
|
25392
|
+
identifier?: {
|
|
25393
|
+
type?: string | undefined;
|
|
25394
|
+
value?: string | undefined;
|
|
25395
|
+
} | undefined;
|
|
25396
|
+
returnItems?: {
|
|
25397
|
+
id?: string | undefined;
|
|
25398
|
+
quantity?: number | undefined;
|
|
25399
|
+
}[] | undefined;
|
|
25400
|
+
}, {
|
|
25401
|
+
reason?: string | undefined;
|
|
25402
|
+
orderIds?: string[] | undefined;
|
|
25403
|
+
memo?: string | undefined;
|
|
25404
|
+
identifier?: {
|
|
25405
|
+
type?: string | undefined;
|
|
25406
|
+
value?: string | undefined;
|
|
25407
|
+
} | undefined;
|
|
25408
|
+
returnItems?: {
|
|
25409
|
+
id?: string | undefined;
|
|
25410
|
+
quantity?: number | undefined;
|
|
25411
|
+
}[] | undefined;
|
|
25412
|
+
}>;
|
|
25413
|
+
export type WmsOrderReturnRequestProto = z.infer<typeof WmsOrderReturnRequestProtoSchema>;
|
|
25414
|
+
export declare const WmsOrderExchangeRequestProtoSchema: z.ZodObject<{
|
|
25415
|
+
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25416
|
+
type: z.ZodOptional<z.ZodString>;
|
|
25417
|
+
value: z.ZodOptional<z.ZodString>;
|
|
25418
|
+
}, "strip", z.ZodTypeAny, {
|
|
25419
|
+
type?: string | undefined;
|
|
25420
|
+
value?: string | undefined;
|
|
25421
|
+
}, {
|
|
25422
|
+
type?: string | undefined;
|
|
25423
|
+
value?: string | undefined;
|
|
25424
|
+
}>>>;
|
|
25425
|
+
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25426
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
25427
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
25428
|
+
exchangeItems: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
25429
|
+
id: z.ZodOptional<z.ZodString>;
|
|
25430
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
25431
|
+
}, "strip", z.ZodTypeAny, {
|
|
25432
|
+
id?: string | undefined;
|
|
25433
|
+
quantity?: number | undefined;
|
|
25434
|
+
}, {
|
|
25435
|
+
id?: string | undefined;
|
|
25436
|
+
quantity?: number | undefined;
|
|
25437
|
+
}>>, "many">>;
|
|
25438
|
+
}, "strip", z.ZodTypeAny, {
|
|
25439
|
+
reason?: string | undefined;
|
|
25440
|
+
orderIds?: string[] | undefined;
|
|
25441
|
+
memo?: string | undefined;
|
|
25442
|
+
identifier?: {
|
|
25443
|
+
type?: string | undefined;
|
|
25444
|
+
value?: string | undefined;
|
|
25445
|
+
} | undefined;
|
|
25446
|
+
exchangeItems?: {
|
|
25447
|
+
id?: string | undefined;
|
|
25448
|
+
quantity?: number | undefined;
|
|
25449
|
+
}[] | undefined;
|
|
25450
|
+
}, {
|
|
25451
|
+
reason?: string | undefined;
|
|
25452
|
+
orderIds?: string[] | undefined;
|
|
25453
|
+
memo?: string | undefined;
|
|
25454
|
+
identifier?: {
|
|
25455
|
+
type?: string | undefined;
|
|
25456
|
+
value?: string | undefined;
|
|
25457
|
+
} | undefined;
|
|
25458
|
+
exchangeItems?: {
|
|
25459
|
+
id?: string | undefined;
|
|
25460
|
+
quantity?: number | undefined;
|
|
25461
|
+
}[] | undefined;
|
|
25462
|
+
}>;
|
|
25463
|
+
export type WmsOrderExchangeRequestProto = z.infer<typeof WmsOrderExchangeRequestProtoSchema>;
|
|
25277
25464
|
export declare const WmsOrderChangeShippingAddressInputProtoSchema: z.ZodObject<{
|
|
25278
25465
|
identifier: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
25279
25466
|
type: z.ZodOptional<z.ZodString>;
|