@channel.io/app-sdk-core 0.24.2 → 0.25.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 +758 -196
- package/dist/extensions/commerce.d.ts.map +1 -1
- package/dist/extensions/commerce.js +76 -3
- package/dist/extensions/commerce.js.map +1 -1
- package/dist/extensions/function-schemas.d.ts.map +1 -1
- package/dist/extensions/function-schemas.js +12 -1
- package/dist/extensions/function-schemas.js.map +1 -1
- package/dist/extensions/index.d.ts +2 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +3 -1
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/interfaces/index.d.ts +1 -0
- package/dist/extensions/interfaces/index.d.ts.map +1 -1
- package/dist/extensions/interfaces/index.js +1 -0
- package/dist/extensions/interfaces/index.js.map +1 -1
- package/dist/extensions/interfaces/suggestion.d.ts +12 -0
- package/dist/extensions/interfaces/suggestion.d.ts.map +1 -0
- package/dist/extensions/interfaces/suggestion.js +4 -0
- package/dist/extensions/interfaces/suggestion.js.map +1 -0
- package/dist/extensions/order.d.ts +96 -96
- package/dist/extensions/order.d.ts.map +1 -1
- package/dist/extensions/order.js +18 -6
- package/dist/extensions/order.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/suggestion.d.ts +48 -0
- package/dist/extensions/suggestion.d.ts.map +1 -0
- package/dist/extensions/suggestion.js +61 -0
- package/dist/extensions/suggestion.js.map +1 -0
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +119 -2
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +566 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +47 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
- package/package.json +1 -1
|
@@ -12933,6 +12933,42 @@ export declare const PollingGetTargetChannelsOutputProtoSchema: z.ZodObject<{
|
|
|
12933
12933
|
hasNextPage?: boolean | undefined;
|
|
12934
12934
|
}>;
|
|
12935
12935
|
export type PollingGetTargetChannelsOutputProto = z.infer<typeof PollingGetTargetChannelsOutputProtoSchema>;
|
|
12936
|
+
export declare const SuggestionTriggersProtoSchema: z.ZodObject<{
|
|
12937
|
+
urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12938
|
+
keywords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12939
|
+
}, "strip", z.ZodTypeAny, {
|
|
12940
|
+
urls?: string[] | undefined;
|
|
12941
|
+
keywords?: Record<string, any> | undefined;
|
|
12942
|
+
}, {
|
|
12943
|
+
urls?: string[] | undefined;
|
|
12944
|
+
keywords?: Record<string, any> | undefined;
|
|
12945
|
+
}>;
|
|
12946
|
+
export type SuggestionTriggersProto = z.infer<typeof SuggestionTriggersProtoSchema>;
|
|
12947
|
+
export declare const SuggestionGetTriggersInputProtoSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
12948
|
+
export type SuggestionGetTriggersInputProto = z.infer<typeof SuggestionGetTriggersInputProtoSchema>;
|
|
12949
|
+
export declare const SuggestionGetTriggersOutputProtoSchema: z.ZodObject<{
|
|
12950
|
+
triggers: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
12951
|
+
urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12952
|
+
keywords: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12953
|
+
}, "strip", z.ZodTypeAny, {
|
|
12954
|
+
urls?: string[] | undefined;
|
|
12955
|
+
keywords?: Record<string, any> | undefined;
|
|
12956
|
+
}, {
|
|
12957
|
+
urls?: string[] | undefined;
|
|
12958
|
+
keywords?: Record<string, any> | undefined;
|
|
12959
|
+
}>>>;
|
|
12960
|
+
}, "strip", z.ZodTypeAny, {
|
|
12961
|
+
triggers?: {
|
|
12962
|
+
urls?: string[] | undefined;
|
|
12963
|
+
keywords?: Record<string, any> | undefined;
|
|
12964
|
+
} | undefined;
|
|
12965
|
+
}, {
|
|
12966
|
+
triggers?: {
|
|
12967
|
+
urls?: string[] | undefined;
|
|
12968
|
+
keywords?: Record<string, any> | undefined;
|
|
12969
|
+
} | undefined;
|
|
12970
|
+
}>;
|
|
12971
|
+
export type SuggestionGetTriggersOutputProto = z.infer<typeof SuggestionGetTriggersOutputProtoSchema>;
|
|
12936
12972
|
export declare const MailRelayHeaderProtoSchema: z.ZodObject<{
|
|
12937
12973
|
name: z.ZodOptional<z.ZodString>;
|
|
12938
12974
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -18900,6 +18936,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
18900
18936
|
}>>, "many">>;
|
|
18901
18937
|
marketId: z.ZodOptional<z.ZodString>;
|
|
18902
18938
|
marketOrderNo: z.ZodOptional<z.ZodString>;
|
|
18939
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18903
18940
|
}, "strip", z.ZodTypeAny, {
|
|
18904
18941
|
id?: string | undefined;
|
|
18905
18942
|
title?: string | undefined;
|
|
@@ -18972,6 +19009,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
18972
19009
|
shippingCode?: string | undefined;
|
|
18973
19010
|
}[] | undefined;
|
|
18974
19011
|
confirmed?: boolean | undefined;
|
|
19012
|
+
tags?: string[] | undefined;
|
|
18975
19013
|
payment?: {
|
|
18976
19014
|
state?: string | undefined;
|
|
18977
19015
|
currency?: string | undefined;
|
|
@@ -19163,6 +19201,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
|
|
|
19163
19201
|
shippingCode?: string | undefined;
|
|
19164
19202
|
}[] | undefined;
|
|
19165
19203
|
confirmed?: boolean | undefined;
|
|
19204
|
+
tags?: string[] | undefined;
|
|
19166
19205
|
payment?: {
|
|
19167
19206
|
state?: string | undefined;
|
|
19168
19207
|
currency?: string | undefined;
|
|
@@ -19906,6 +19945,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
19906
19945
|
}>>, "many">>;
|
|
19907
19946
|
marketId: z.ZodOptional<z.ZodString>;
|
|
19908
19947
|
marketOrderNo: z.ZodOptional<z.ZodString>;
|
|
19948
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19909
19949
|
}, "strip", z.ZodTypeAny, {
|
|
19910
19950
|
id?: string | undefined;
|
|
19911
19951
|
title?: string | undefined;
|
|
@@ -19978,6 +20018,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
19978
20018
|
shippingCode?: string | undefined;
|
|
19979
20019
|
}[] | undefined;
|
|
19980
20020
|
confirmed?: boolean | undefined;
|
|
20021
|
+
tags?: string[] | undefined;
|
|
19981
20022
|
payment?: {
|
|
19982
20023
|
state?: string | undefined;
|
|
19983
20024
|
currency?: string | undefined;
|
|
@@ -20169,6 +20210,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
20169
20210
|
shippingCode?: string | undefined;
|
|
20170
20211
|
}[] | undefined;
|
|
20171
20212
|
confirmed?: boolean | undefined;
|
|
20213
|
+
tags?: string[] | undefined;
|
|
20172
20214
|
payment?: {
|
|
20173
20215
|
state?: string | undefined;
|
|
20174
20216
|
currency?: string | undefined;
|
|
@@ -20364,6 +20406,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
20364
20406
|
shippingCode?: string | undefined;
|
|
20365
20407
|
}[] | undefined;
|
|
20366
20408
|
confirmed?: boolean | undefined;
|
|
20409
|
+
tags?: string[] | undefined;
|
|
20367
20410
|
payment?: {
|
|
20368
20411
|
state?: string | undefined;
|
|
20369
20412
|
currency?: string | undefined;
|
|
@@ -20558,6 +20601,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
|
|
|
20558
20601
|
shippingCode?: string | undefined;
|
|
20559
20602
|
}[] | undefined;
|
|
20560
20603
|
confirmed?: boolean | undefined;
|
|
20604
|
+
tags?: string[] | undefined;
|
|
20561
20605
|
payment?: {
|
|
20562
20606
|
state?: string | undefined;
|
|
20563
20607
|
currency?: string | undefined;
|
|
@@ -21005,6 +21049,60 @@ export declare const CommerceAppCapabilitiesProtoSchema: z.ZodObject<{
|
|
|
21005
21049
|
}[] | undefined;
|
|
21006
21050
|
}> | undefined;
|
|
21007
21051
|
}>>>;
|
|
21052
|
+
getProductsOptions: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
21053
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21054
|
+
optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21055
|
+
fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
21056
|
+
type: z.ZodOptional<z.ZodString>;
|
|
21057
|
+
allowedValues: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
21058
|
+
value: z.ZodOptional<z.ZodString>;
|
|
21059
|
+
label: z.ZodOptional<z.ZodString>;
|
|
21060
|
+
}, "strip", z.ZodTypeAny, {
|
|
21061
|
+
value?: string | undefined;
|
|
21062
|
+
label?: string | undefined;
|
|
21063
|
+
}, {
|
|
21064
|
+
value?: string | undefined;
|
|
21065
|
+
label?: string | undefined;
|
|
21066
|
+
}>>, "many">>;
|
|
21067
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21068
|
+
}, "strip", z.ZodTypeAny, {
|
|
21069
|
+
type?: string | undefined;
|
|
21070
|
+
description?: string | undefined;
|
|
21071
|
+
allowedValues?: {
|
|
21072
|
+
value?: string | undefined;
|
|
21073
|
+
label?: string | undefined;
|
|
21074
|
+
}[] | undefined;
|
|
21075
|
+
}, {
|
|
21076
|
+
type?: string | undefined;
|
|
21077
|
+
description?: string | undefined;
|
|
21078
|
+
allowedValues?: {
|
|
21079
|
+
value?: string | undefined;
|
|
21080
|
+
label?: string | undefined;
|
|
21081
|
+
}[] | undefined;
|
|
21082
|
+
}>>>>;
|
|
21083
|
+
}, "strip", z.ZodTypeAny, {
|
|
21084
|
+
required?: string[] | undefined;
|
|
21085
|
+
optional?: string[] | undefined;
|
|
21086
|
+
fieldConfigs?: Record<string, {
|
|
21087
|
+
type?: string | undefined;
|
|
21088
|
+
description?: string | undefined;
|
|
21089
|
+
allowedValues?: {
|
|
21090
|
+
value?: string | undefined;
|
|
21091
|
+
label?: string | undefined;
|
|
21092
|
+
}[] | undefined;
|
|
21093
|
+
}> | undefined;
|
|
21094
|
+
}, {
|
|
21095
|
+
required?: string[] | undefined;
|
|
21096
|
+
optional?: string[] | undefined;
|
|
21097
|
+
fieldConfigs?: Record<string, {
|
|
21098
|
+
type?: string | undefined;
|
|
21099
|
+
description?: string | undefined;
|
|
21100
|
+
allowedValues?: {
|
|
21101
|
+
value?: string | undefined;
|
|
21102
|
+
label?: string | undefined;
|
|
21103
|
+
}[] | undefined;
|
|
21104
|
+
}> | undefined;
|
|
21105
|
+
}>>>;
|
|
21008
21106
|
}, "strip", z.ZodTypeAny, {
|
|
21009
21107
|
getOrdersOptions?: {
|
|
21010
21108
|
required?: string[] | undefined;
|
|
@@ -21078,6 +21176,18 @@ export declare const CommerceAppCapabilitiesProtoSchema: z.ZodObject<{
|
|
|
21078
21176
|
}[] | undefined;
|
|
21079
21177
|
}> | undefined;
|
|
21080
21178
|
} | undefined;
|
|
21179
|
+
getProductsOptions?: {
|
|
21180
|
+
required?: string[] | undefined;
|
|
21181
|
+
optional?: string[] | undefined;
|
|
21182
|
+
fieldConfigs?: Record<string, {
|
|
21183
|
+
type?: string | undefined;
|
|
21184
|
+
description?: string | undefined;
|
|
21185
|
+
allowedValues?: {
|
|
21186
|
+
value?: string | undefined;
|
|
21187
|
+
label?: string | undefined;
|
|
21188
|
+
}[] | undefined;
|
|
21189
|
+
}> | undefined;
|
|
21190
|
+
} | undefined;
|
|
21081
21191
|
}, {
|
|
21082
21192
|
getOrdersOptions?: {
|
|
21083
21193
|
required?: string[] | undefined;
|
|
@@ -21151,6 +21261,18 @@ export declare const CommerceAppCapabilitiesProtoSchema: z.ZodObject<{
|
|
|
21151
21261
|
}[] | undefined;
|
|
21152
21262
|
}> | undefined;
|
|
21153
21263
|
} | undefined;
|
|
21264
|
+
getProductsOptions?: {
|
|
21265
|
+
required?: string[] | undefined;
|
|
21266
|
+
optional?: string[] | undefined;
|
|
21267
|
+
fieldConfigs?: Record<string, {
|
|
21268
|
+
type?: string | undefined;
|
|
21269
|
+
description?: string | undefined;
|
|
21270
|
+
allowedValues?: {
|
|
21271
|
+
value?: string | undefined;
|
|
21272
|
+
label?: string | undefined;
|
|
21273
|
+
}[] | undefined;
|
|
21274
|
+
}> | undefined;
|
|
21275
|
+
} | undefined;
|
|
21154
21276
|
}>;
|
|
21155
21277
|
export type CommerceAppCapabilitiesProto = z.infer<typeof CommerceAppCapabilitiesProtoSchema>;
|
|
21156
21278
|
export declare const CommerceGetAppConfigsInputProtoSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -21481,6 +21603,60 @@ export declare const CommerceGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
21481
21603
|
}[] | undefined;
|
|
21482
21604
|
}> | undefined;
|
|
21483
21605
|
}>>>;
|
|
21606
|
+
getProductsOptions: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
21607
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21608
|
+
optional: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21609
|
+
fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodObject<{
|
|
21610
|
+
type: z.ZodOptional<z.ZodString>;
|
|
21611
|
+
allowedValues: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
21612
|
+
value: z.ZodOptional<z.ZodString>;
|
|
21613
|
+
label: z.ZodOptional<z.ZodString>;
|
|
21614
|
+
}, "strip", z.ZodTypeAny, {
|
|
21615
|
+
value?: string | undefined;
|
|
21616
|
+
label?: string | undefined;
|
|
21617
|
+
}, {
|
|
21618
|
+
value?: string | undefined;
|
|
21619
|
+
label?: string | undefined;
|
|
21620
|
+
}>>, "many">>;
|
|
21621
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21622
|
+
}, "strip", z.ZodTypeAny, {
|
|
21623
|
+
type?: string | undefined;
|
|
21624
|
+
description?: string | undefined;
|
|
21625
|
+
allowedValues?: {
|
|
21626
|
+
value?: string | undefined;
|
|
21627
|
+
label?: string | undefined;
|
|
21628
|
+
}[] | undefined;
|
|
21629
|
+
}, {
|
|
21630
|
+
type?: string | undefined;
|
|
21631
|
+
description?: string | undefined;
|
|
21632
|
+
allowedValues?: {
|
|
21633
|
+
value?: string | undefined;
|
|
21634
|
+
label?: string | undefined;
|
|
21635
|
+
}[] | undefined;
|
|
21636
|
+
}>>>>;
|
|
21637
|
+
}, "strip", z.ZodTypeAny, {
|
|
21638
|
+
required?: string[] | undefined;
|
|
21639
|
+
optional?: string[] | undefined;
|
|
21640
|
+
fieldConfigs?: Record<string, {
|
|
21641
|
+
type?: string | undefined;
|
|
21642
|
+
description?: string | undefined;
|
|
21643
|
+
allowedValues?: {
|
|
21644
|
+
value?: string | undefined;
|
|
21645
|
+
label?: string | undefined;
|
|
21646
|
+
}[] | undefined;
|
|
21647
|
+
}> | undefined;
|
|
21648
|
+
}, {
|
|
21649
|
+
required?: string[] | undefined;
|
|
21650
|
+
optional?: string[] | undefined;
|
|
21651
|
+
fieldConfigs?: Record<string, {
|
|
21652
|
+
type?: string | undefined;
|
|
21653
|
+
description?: string | undefined;
|
|
21654
|
+
allowedValues?: {
|
|
21655
|
+
value?: string | undefined;
|
|
21656
|
+
label?: string | undefined;
|
|
21657
|
+
}[] | undefined;
|
|
21658
|
+
}> | undefined;
|
|
21659
|
+
}>>>;
|
|
21484
21660
|
}, "strip", z.ZodTypeAny, {
|
|
21485
21661
|
getOrdersOptions?: {
|
|
21486
21662
|
required?: string[] | undefined;
|
|
@@ -21554,6 +21730,18 @@ export declare const CommerceGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
21554
21730
|
}[] | undefined;
|
|
21555
21731
|
}> | undefined;
|
|
21556
21732
|
} | undefined;
|
|
21733
|
+
getProductsOptions?: {
|
|
21734
|
+
required?: string[] | undefined;
|
|
21735
|
+
optional?: string[] | undefined;
|
|
21736
|
+
fieldConfigs?: Record<string, {
|
|
21737
|
+
type?: string | undefined;
|
|
21738
|
+
description?: string | undefined;
|
|
21739
|
+
allowedValues?: {
|
|
21740
|
+
value?: string | undefined;
|
|
21741
|
+
label?: string | undefined;
|
|
21742
|
+
}[] | undefined;
|
|
21743
|
+
}> | undefined;
|
|
21744
|
+
} | undefined;
|
|
21557
21745
|
}, {
|
|
21558
21746
|
getOrdersOptions?: {
|
|
21559
21747
|
required?: string[] | undefined;
|
|
@@ -21627,6 +21815,18 @@ export declare const CommerceGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
21627
21815
|
}[] | undefined;
|
|
21628
21816
|
}> | undefined;
|
|
21629
21817
|
} | undefined;
|
|
21818
|
+
getProductsOptions?: {
|
|
21819
|
+
required?: string[] | undefined;
|
|
21820
|
+
optional?: string[] | undefined;
|
|
21821
|
+
fieldConfigs?: Record<string, {
|
|
21822
|
+
type?: string | undefined;
|
|
21823
|
+
description?: string | undefined;
|
|
21824
|
+
allowedValues?: {
|
|
21825
|
+
value?: string | undefined;
|
|
21826
|
+
label?: string | undefined;
|
|
21827
|
+
}[] | undefined;
|
|
21828
|
+
}> | undefined;
|
|
21829
|
+
} | undefined;
|
|
21630
21830
|
}>>>;
|
|
21631
21831
|
}, "strip", z.ZodTypeAny, {
|
|
21632
21832
|
appCapabilities?: {
|
|
@@ -21702,6 +21902,18 @@ export declare const CommerceGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
21702
21902
|
}[] | undefined;
|
|
21703
21903
|
}> | undefined;
|
|
21704
21904
|
} | undefined;
|
|
21905
|
+
getProductsOptions?: {
|
|
21906
|
+
required?: string[] | undefined;
|
|
21907
|
+
optional?: string[] | undefined;
|
|
21908
|
+
fieldConfigs?: Record<string, {
|
|
21909
|
+
type?: string | undefined;
|
|
21910
|
+
description?: string | undefined;
|
|
21911
|
+
allowedValues?: {
|
|
21912
|
+
value?: string | undefined;
|
|
21913
|
+
label?: string | undefined;
|
|
21914
|
+
}[] | undefined;
|
|
21915
|
+
}> | undefined;
|
|
21916
|
+
} | undefined;
|
|
21705
21917
|
} | undefined;
|
|
21706
21918
|
}, {
|
|
21707
21919
|
appCapabilities?: {
|
|
@@ -21777,6 +21989,18 @@ export declare const CommerceGetAppConfigsOutputProtoSchema: z.ZodObject<{
|
|
|
21777
21989
|
}[] | undefined;
|
|
21778
21990
|
}> | undefined;
|
|
21779
21991
|
} | undefined;
|
|
21992
|
+
getProductsOptions?: {
|
|
21993
|
+
required?: string[] | undefined;
|
|
21994
|
+
optional?: string[] | undefined;
|
|
21995
|
+
fieldConfigs?: Record<string, {
|
|
21996
|
+
type?: string | undefined;
|
|
21997
|
+
description?: string | undefined;
|
|
21998
|
+
allowedValues?: {
|
|
21999
|
+
value?: string | undefined;
|
|
22000
|
+
label?: string | undefined;
|
|
22001
|
+
}[] | undefined;
|
|
22002
|
+
}> | undefined;
|
|
22003
|
+
} | undefined;
|
|
21780
22004
|
} | undefined;
|
|
21781
22005
|
}>;
|
|
21782
22006
|
export type CommerceGetAppConfigsOutputProto = z.infer<typeof CommerceGetAppConfigsOutputProtoSchema>;
|
|
@@ -22783,6 +23007,348 @@ export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
22783
23007
|
} | undefined;
|
|
22784
23008
|
}>;
|
|
22785
23009
|
export type CommerceChangeShippingAddressInputProto = z.infer<typeof CommerceChangeShippingAddressInputProtoSchema>;
|
|
23010
|
+
export declare const CommerceGetProductsInputProtoSchema: z.ZodObject<{
|
|
23011
|
+
searchFilter: z.ZodOptional<z.ZodAny>;
|
|
23012
|
+
since: z.ZodOptional<z.ZodString>;
|
|
23013
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
23014
|
+
}, "strip", z.ZodTypeAny, {
|
|
23015
|
+
limit?: number | undefined;
|
|
23016
|
+
searchFilter?: any;
|
|
23017
|
+
since?: string | undefined;
|
|
23018
|
+
}, {
|
|
23019
|
+
limit?: number | undefined;
|
|
23020
|
+
searchFilter?: any;
|
|
23021
|
+
since?: string | undefined;
|
|
23022
|
+
}>;
|
|
23023
|
+
export type CommerceGetProductsInputProto = z.infer<typeof CommerceGetProductsInputProtoSchema>;
|
|
23024
|
+
export declare const CommerceGetProductsOutputProtoSchema: z.ZodObject<{
|
|
23025
|
+
products: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23026
|
+
id: z.ZodOptional<z.ZodString>;
|
|
23027
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23028
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
23029
|
+
originalPrice: z.ZodOptional<z.ZodNumber>;
|
|
23030
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
23031
|
+
state: z.ZodOptional<z.ZodString>;
|
|
23032
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
23033
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23034
|
+
productUrl: z.ZodOptional<z.ZodString>;
|
|
23035
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23036
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
23037
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
23038
|
+
productType: z.ZodOptional<z.ZodString>;
|
|
23039
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23040
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23041
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
23042
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
23043
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23044
|
+
id: z.ZodOptional<z.ZodString>;
|
|
23045
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
23046
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
23047
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23048
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23049
|
+
value: z.ZodOptional<z.ZodString>;
|
|
23050
|
+
}, "strip", z.ZodTypeAny, {
|
|
23051
|
+
value?: string | undefined;
|
|
23052
|
+
name?: string | undefined;
|
|
23053
|
+
}, {
|
|
23054
|
+
value?: string | undefined;
|
|
23055
|
+
name?: string | undefined;
|
|
23056
|
+
}>>, "many">>;
|
|
23057
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
23058
|
+
}, "strip", z.ZodTypeAny, {
|
|
23059
|
+
options?: {
|
|
23060
|
+
value?: string | undefined;
|
|
23061
|
+
name?: string | undefined;
|
|
23062
|
+
}[] | undefined;
|
|
23063
|
+
id?: string | undefined;
|
|
23064
|
+
sku?: string | undefined;
|
|
23065
|
+
stockQuantity?: number | undefined;
|
|
23066
|
+
price?: number | undefined;
|
|
23067
|
+
}, {
|
|
23068
|
+
options?: {
|
|
23069
|
+
value?: string | undefined;
|
|
23070
|
+
name?: string | undefined;
|
|
23071
|
+
}[] | undefined;
|
|
23072
|
+
id?: string | undefined;
|
|
23073
|
+
sku?: string | undefined;
|
|
23074
|
+
stockQuantity?: number | undefined;
|
|
23075
|
+
price?: number | undefined;
|
|
23076
|
+
}>>, "many">>;
|
|
23077
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
23078
|
+
}, "strip", z.ZodTypeAny, {
|
|
23079
|
+
name?: string | undefined;
|
|
23080
|
+
description?: string | undefined;
|
|
23081
|
+
id?: string | undefined;
|
|
23082
|
+
updatedAt?: number | undefined;
|
|
23083
|
+
imageUrl?: string | undefined;
|
|
23084
|
+
state?: string | undefined;
|
|
23085
|
+
images?: string[] | undefined;
|
|
23086
|
+
tags?: string[] | undefined;
|
|
23087
|
+
createdAt?: number | undefined;
|
|
23088
|
+
currency?: string | undefined;
|
|
23089
|
+
productCode?: string | undefined;
|
|
23090
|
+
variants?: {
|
|
23091
|
+
options?: {
|
|
23092
|
+
value?: string | undefined;
|
|
23093
|
+
name?: string | undefined;
|
|
23094
|
+
}[] | undefined;
|
|
23095
|
+
id?: string | undefined;
|
|
23096
|
+
sku?: string | undefined;
|
|
23097
|
+
stockQuantity?: number | undefined;
|
|
23098
|
+
price?: number | undefined;
|
|
23099
|
+
}[] | undefined;
|
|
23100
|
+
price?: number | undefined;
|
|
23101
|
+
originalPrice?: number | undefined;
|
|
23102
|
+
productUrl?: string | undefined;
|
|
23103
|
+
summary?: string | undefined;
|
|
23104
|
+
vendor?: string | undefined;
|
|
23105
|
+
productType?: string | undefined;
|
|
23106
|
+
categories?: string[] | undefined;
|
|
23107
|
+
}, {
|
|
23108
|
+
name?: string | undefined;
|
|
23109
|
+
description?: string | undefined;
|
|
23110
|
+
id?: string | undefined;
|
|
23111
|
+
updatedAt?: number | undefined;
|
|
23112
|
+
imageUrl?: string | undefined;
|
|
23113
|
+
state?: string | undefined;
|
|
23114
|
+
images?: string[] | undefined;
|
|
23115
|
+
tags?: string[] | undefined;
|
|
23116
|
+
createdAt?: number | undefined;
|
|
23117
|
+
currency?: string | undefined;
|
|
23118
|
+
productCode?: string | undefined;
|
|
23119
|
+
variants?: {
|
|
23120
|
+
options?: {
|
|
23121
|
+
value?: string | undefined;
|
|
23122
|
+
name?: string | undefined;
|
|
23123
|
+
}[] | undefined;
|
|
23124
|
+
id?: string | undefined;
|
|
23125
|
+
sku?: string | undefined;
|
|
23126
|
+
stockQuantity?: number | undefined;
|
|
23127
|
+
price?: number | undefined;
|
|
23128
|
+
}[] | undefined;
|
|
23129
|
+
price?: number | undefined;
|
|
23130
|
+
originalPrice?: number | undefined;
|
|
23131
|
+
productUrl?: string | undefined;
|
|
23132
|
+
summary?: string | undefined;
|
|
23133
|
+
vendor?: string | undefined;
|
|
23134
|
+
productType?: string | undefined;
|
|
23135
|
+
categories?: string[] | undefined;
|
|
23136
|
+
}>>, "many">>;
|
|
23137
|
+
next: z.ZodOptional<z.ZodString>;
|
|
23138
|
+
}, "strip", z.ZodTypeAny, {
|
|
23139
|
+
next?: string | undefined;
|
|
23140
|
+
products?: {
|
|
23141
|
+
name?: string | undefined;
|
|
23142
|
+
description?: string | undefined;
|
|
23143
|
+
id?: string | undefined;
|
|
23144
|
+
updatedAt?: number | undefined;
|
|
23145
|
+
imageUrl?: string | undefined;
|
|
23146
|
+
state?: string | undefined;
|
|
23147
|
+
images?: string[] | undefined;
|
|
23148
|
+
tags?: string[] | undefined;
|
|
23149
|
+
createdAt?: number | undefined;
|
|
23150
|
+
currency?: string | undefined;
|
|
23151
|
+
productCode?: string | undefined;
|
|
23152
|
+
variants?: {
|
|
23153
|
+
options?: {
|
|
23154
|
+
value?: string | undefined;
|
|
23155
|
+
name?: string | undefined;
|
|
23156
|
+
}[] | undefined;
|
|
23157
|
+
id?: string | undefined;
|
|
23158
|
+
sku?: string | undefined;
|
|
23159
|
+
stockQuantity?: number | undefined;
|
|
23160
|
+
price?: number | undefined;
|
|
23161
|
+
}[] | undefined;
|
|
23162
|
+
price?: number | undefined;
|
|
23163
|
+
originalPrice?: number | undefined;
|
|
23164
|
+
productUrl?: string | undefined;
|
|
23165
|
+
summary?: string | undefined;
|
|
23166
|
+
vendor?: string | undefined;
|
|
23167
|
+
productType?: string | undefined;
|
|
23168
|
+
categories?: string[] | undefined;
|
|
23169
|
+
}[] | undefined;
|
|
23170
|
+
}, {
|
|
23171
|
+
next?: string | undefined;
|
|
23172
|
+
products?: {
|
|
23173
|
+
name?: string | undefined;
|
|
23174
|
+
description?: string | undefined;
|
|
23175
|
+
id?: string | undefined;
|
|
23176
|
+
updatedAt?: number | undefined;
|
|
23177
|
+
imageUrl?: string | undefined;
|
|
23178
|
+
state?: string | undefined;
|
|
23179
|
+
images?: string[] | undefined;
|
|
23180
|
+
tags?: string[] | undefined;
|
|
23181
|
+
createdAt?: number | undefined;
|
|
23182
|
+
currency?: string | undefined;
|
|
23183
|
+
productCode?: string | undefined;
|
|
23184
|
+
variants?: {
|
|
23185
|
+
options?: {
|
|
23186
|
+
value?: string | undefined;
|
|
23187
|
+
name?: string | undefined;
|
|
23188
|
+
}[] | undefined;
|
|
23189
|
+
id?: string | undefined;
|
|
23190
|
+
sku?: string | undefined;
|
|
23191
|
+
stockQuantity?: number | undefined;
|
|
23192
|
+
price?: number | undefined;
|
|
23193
|
+
}[] | undefined;
|
|
23194
|
+
price?: number | undefined;
|
|
23195
|
+
originalPrice?: number | undefined;
|
|
23196
|
+
productUrl?: string | undefined;
|
|
23197
|
+
summary?: string | undefined;
|
|
23198
|
+
vendor?: string | undefined;
|
|
23199
|
+
productType?: string | undefined;
|
|
23200
|
+
categories?: string[] | undefined;
|
|
23201
|
+
}[] | undefined;
|
|
23202
|
+
}>;
|
|
23203
|
+
export type CommerceGetProductsOutputProto = z.infer<typeof CommerceGetProductsOutputProtoSchema>;
|
|
23204
|
+
export declare const CommerceProductProtoSchema: z.ZodObject<{
|
|
23205
|
+
id: z.ZodOptional<z.ZodString>;
|
|
23206
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23207
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
23208
|
+
originalPrice: z.ZodOptional<z.ZodNumber>;
|
|
23209
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
23210
|
+
state: z.ZodOptional<z.ZodString>;
|
|
23211
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
23212
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23213
|
+
productUrl: z.ZodOptional<z.ZodString>;
|
|
23214
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23215
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
23216
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
23217
|
+
productType: z.ZodOptional<z.ZodString>;
|
|
23218
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23219
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23220
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
23221
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
23222
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23223
|
+
id: z.ZodOptional<z.ZodString>;
|
|
23224
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
23225
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
23226
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23227
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23228
|
+
value: z.ZodOptional<z.ZodString>;
|
|
23229
|
+
}, "strip", z.ZodTypeAny, {
|
|
23230
|
+
value?: string | undefined;
|
|
23231
|
+
name?: string | undefined;
|
|
23232
|
+
}, {
|
|
23233
|
+
value?: string | undefined;
|
|
23234
|
+
name?: string | undefined;
|
|
23235
|
+
}>>, "many">>;
|
|
23236
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
23237
|
+
}, "strip", z.ZodTypeAny, {
|
|
23238
|
+
options?: {
|
|
23239
|
+
value?: string | undefined;
|
|
23240
|
+
name?: string | undefined;
|
|
23241
|
+
}[] | undefined;
|
|
23242
|
+
id?: string | undefined;
|
|
23243
|
+
sku?: string | undefined;
|
|
23244
|
+
stockQuantity?: number | undefined;
|
|
23245
|
+
price?: number | undefined;
|
|
23246
|
+
}, {
|
|
23247
|
+
options?: {
|
|
23248
|
+
value?: string | undefined;
|
|
23249
|
+
name?: string | undefined;
|
|
23250
|
+
}[] | undefined;
|
|
23251
|
+
id?: string | undefined;
|
|
23252
|
+
sku?: string | undefined;
|
|
23253
|
+
stockQuantity?: number | undefined;
|
|
23254
|
+
price?: number | undefined;
|
|
23255
|
+
}>>, "many">>;
|
|
23256
|
+
productCode: z.ZodOptional<z.ZodString>;
|
|
23257
|
+
}, "strip", z.ZodTypeAny, {
|
|
23258
|
+
name?: string | undefined;
|
|
23259
|
+
description?: string | undefined;
|
|
23260
|
+
id?: string | undefined;
|
|
23261
|
+
updatedAt?: number | undefined;
|
|
23262
|
+
imageUrl?: string | undefined;
|
|
23263
|
+
state?: string | undefined;
|
|
23264
|
+
images?: string[] | undefined;
|
|
23265
|
+
tags?: string[] | undefined;
|
|
23266
|
+
createdAt?: number | undefined;
|
|
23267
|
+
currency?: string | undefined;
|
|
23268
|
+
productCode?: string | undefined;
|
|
23269
|
+
variants?: {
|
|
23270
|
+
options?: {
|
|
23271
|
+
value?: string | undefined;
|
|
23272
|
+
name?: string | undefined;
|
|
23273
|
+
}[] | undefined;
|
|
23274
|
+
id?: string | undefined;
|
|
23275
|
+
sku?: string | undefined;
|
|
23276
|
+
stockQuantity?: number | undefined;
|
|
23277
|
+
price?: number | undefined;
|
|
23278
|
+
}[] | undefined;
|
|
23279
|
+
price?: number | undefined;
|
|
23280
|
+
originalPrice?: number | undefined;
|
|
23281
|
+
productUrl?: string | undefined;
|
|
23282
|
+
summary?: string | undefined;
|
|
23283
|
+
vendor?: string | undefined;
|
|
23284
|
+
productType?: string | undefined;
|
|
23285
|
+
categories?: string[] | undefined;
|
|
23286
|
+
}, {
|
|
23287
|
+
name?: string | undefined;
|
|
23288
|
+
description?: string | undefined;
|
|
23289
|
+
id?: string | undefined;
|
|
23290
|
+
updatedAt?: number | undefined;
|
|
23291
|
+
imageUrl?: string | undefined;
|
|
23292
|
+
state?: string | undefined;
|
|
23293
|
+
images?: string[] | undefined;
|
|
23294
|
+
tags?: string[] | undefined;
|
|
23295
|
+
createdAt?: number | undefined;
|
|
23296
|
+
currency?: string | undefined;
|
|
23297
|
+
productCode?: string | undefined;
|
|
23298
|
+
variants?: {
|
|
23299
|
+
options?: {
|
|
23300
|
+
value?: string | undefined;
|
|
23301
|
+
name?: string | undefined;
|
|
23302
|
+
}[] | undefined;
|
|
23303
|
+
id?: string | undefined;
|
|
23304
|
+
sku?: string | undefined;
|
|
23305
|
+
stockQuantity?: number | undefined;
|
|
23306
|
+
price?: number | undefined;
|
|
23307
|
+
}[] | undefined;
|
|
23308
|
+
price?: number | undefined;
|
|
23309
|
+
originalPrice?: number | undefined;
|
|
23310
|
+
productUrl?: string | undefined;
|
|
23311
|
+
summary?: string | undefined;
|
|
23312
|
+
vendor?: string | undefined;
|
|
23313
|
+
productType?: string | undefined;
|
|
23314
|
+
categories?: string[] | undefined;
|
|
23315
|
+
}>;
|
|
23316
|
+
export type CommerceProductProto = z.infer<typeof CommerceProductProtoSchema>;
|
|
23317
|
+
export declare const CommerceProductVariantProtoSchema: z.ZodObject<{
|
|
23318
|
+
id: z.ZodOptional<z.ZodString>;
|
|
23319
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
23320
|
+
stockQuantity: z.ZodOptional<z.ZodNumber>;
|
|
23321
|
+
options: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
23322
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23323
|
+
value: z.ZodOptional<z.ZodString>;
|
|
23324
|
+
}, "strip", z.ZodTypeAny, {
|
|
23325
|
+
value?: string | undefined;
|
|
23326
|
+
name?: string | undefined;
|
|
23327
|
+
}, {
|
|
23328
|
+
value?: string | undefined;
|
|
23329
|
+
name?: string | undefined;
|
|
23330
|
+
}>>, "many">>;
|
|
23331
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
23332
|
+
}, "strip", z.ZodTypeAny, {
|
|
23333
|
+
options?: {
|
|
23334
|
+
value?: string | undefined;
|
|
23335
|
+
name?: string | undefined;
|
|
23336
|
+
}[] | undefined;
|
|
23337
|
+
id?: string | undefined;
|
|
23338
|
+
sku?: string | undefined;
|
|
23339
|
+
stockQuantity?: number | undefined;
|
|
23340
|
+
price?: number | undefined;
|
|
23341
|
+
}, {
|
|
23342
|
+
options?: {
|
|
23343
|
+
value?: string | undefined;
|
|
23344
|
+
name?: string | undefined;
|
|
23345
|
+
}[] | undefined;
|
|
23346
|
+
id?: string | undefined;
|
|
23347
|
+
sku?: string | undefined;
|
|
23348
|
+
stockQuantity?: number | undefined;
|
|
23349
|
+
price?: number | undefined;
|
|
23350
|
+
}>;
|
|
23351
|
+
export type CommerceProductVariantProto = z.infer<typeof CommerceProductVariantProtoSchema>;
|
|
22786
23352
|
export declare const WmsShippingInfoProtoSchema: z.ZodObject<{
|
|
22787
23353
|
name: z.ZodOptional<z.ZodString>;
|
|
22788
23354
|
firstName: z.ZodOptional<z.ZodString>;
|