@channel.io/app-sdk-core 0.24.1 → 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/hook.d.ts +4 -65
- package/dist/extensions/hook.d.ts.map +1 -1
- package/dist/extensions/hook.js +2 -16
- package/dist/extensions/hook.js.map +1 -1
- package/dist/extensions/index.d.ts +3 -2
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +4 -2
- 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/common.zod.d.ts +4 -4
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +122 -14
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +645 -140
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +48 -12
- 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,65 +23007,407 @@ export declare const CommerceChangeShippingAddressInputProtoSchema: z.ZodObject<
|
|
|
22783
23007
|
} | undefined;
|
|
22784
23008
|
}>;
|
|
22785
23009
|
export type CommerceChangeShippingAddressInputProto = z.infer<typeof CommerceChangeShippingAddressInputProtoSchema>;
|
|
22786
|
-
export declare const
|
|
22787
|
-
|
|
22788
|
-
|
|
22789
|
-
|
|
22790
|
-
mobileNumber: z.ZodOptional<z.ZodString>;
|
|
22791
|
-
landlineNumber: z.ZodOptional<z.ZodString>;
|
|
22792
|
-
zipcode: z.ZodOptional<z.ZodString>;
|
|
22793
|
-
address1: z.ZodOptional<z.ZodString>;
|
|
22794
|
-
address2: z.ZodOptional<z.ZodString>;
|
|
22795
|
-
country: z.ZodOptional<z.ZodString>;
|
|
22796
|
-
province: z.ZodOptional<z.ZodString>;
|
|
22797
|
-
message: z.ZodOptional<z.ZodString>;
|
|
22798
|
-
}, "strip", z.ZodTypeAny, {
|
|
22799
|
-
message?: string | undefined;
|
|
22800
|
-
name?: string | undefined;
|
|
22801
|
-
address1?: string | undefined;
|
|
22802
|
-
address2?: string | undefined;
|
|
22803
|
-
firstName?: string | undefined;
|
|
22804
|
-
lastName?: string | undefined;
|
|
22805
|
-
zipcode?: string | undefined;
|
|
22806
|
-
country?: string | undefined;
|
|
22807
|
-
province?: string | undefined;
|
|
22808
|
-
mobileNumber?: string | undefined;
|
|
22809
|
-
landlineNumber?: string | undefined;
|
|
22810
|
-
}, {
|
|
22811
|
-
message?: string | undefined;
|
|
22812
|
-
name?: string | undefined;
|
|
22813
|
-
address1?: string | undefined;
|
|
22814
|
-
address2?: string | undefined;
|
|
22815
|
-
firstName?: string | undefined;
|
|
22816
|
-
lastName?: string | undefined;
|
|
22817
|
-
zipcode?: string | undefined;
|
|
22818
|
-
country?: string | undefined;
|
|
22819
|
-
province?: string | undefined;
|
|
22820
|
-
mobileNumber?: string | undefined;
|
|
22821
|
-
landlineNumber?: string | undefined;
|
|
22822
|
-
}>;
|
|
22823
|
-
export type WmsShippingInfoProto = z.infer<typeof WmsShippingInfoProtoSchema>;
|
|
22824
|
-
export declare const WmsDeliveryProtoSchema: z.ZodObject<{
|
|
22825
|
-
extId: z.ZodOptional<z.ZodString>;
|
|
22826
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
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>;
|
|
22827
23014
|
}, "strip", z.ZodTypeAny, {
|
|
22828
|
-
|
|
22829
|
-
|
|
23015
|
+
limit?: number | undefined;
|
|
23016
|
+
searchFilter?: any;
|
|
23017
|
+
since?: string | undefined;
|
|
22830
23018
|
}, {
|
|
22831
|
-
|
|
22832
|
-
|
|
23019
|
+
limit?: number | undefined;
|
|
23020
|
+
searchFilter?: any;
|
|
23021
|
+
since?: string | undefined;
|
|
22833
23022
|
}>;
|
|
22834
|
-
export type
|
|
22835
|
-
export declare const
|
|
22836
|
-
|
|
22837
|
-
|
|
22838
|
-
|
|
22839
|
-
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
|
|
22843
|
-
|
|
22844
|
-
|
|
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>;
|
|
23352
|
+
export declare const WmsShippingInfoProtoSchema: z.ZodObject<{
|
|
23353
|
+
name: z.ZodOptional<z.ZodString>;
|
|
23354
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
23355
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
23356
|
+
mobileNumber: z.ZodOptional<z.ZodString>;
|
|
23357
|
+
landlineNumber: z.ZodOptional<z.ZodString>;
|
|
23358
|
+
zipcode: z.ZodOptional<z.ZodString>;
|
|
23359
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
23360
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
23361
|
+
country: z.ZodOptional<z.ZodString>;
|
|
23362
|
+
province: z.ZodOptional<z.ZodString>;
|
|
23363
|
+
message: z.ZodOptional<z.ZodString>;
|
|
23364
|
+
}, "strip", z.ZodTypeAny, {
|
|
23365
|
+
message?: string | undefined;
|
|
23366
|
+
name?: string | undefined;
|
|
23367
|
+
address1?: string | undefined;
|
|
23368
|
+
address2?: string | undefined;
|
|
23369
|
+
firstName?: string | undefined;
|
|
23370
|
+
lastName?: string | undefined;
|
|
23371
|
+
zipcode?: string | undefined;
|
|
23372
|
+
country?: string | undefined;
|
|
23373
|
+
province?: string | undefined;
|
|
23374
|
+
mobileNumber?: string | undefined;
|
|
23375
|
+
landlineNumber?: string | undefined;
|
|
23376
|
+
}, {
|
|
23377
|
+
message?: string | undefined;
|
|
23378
|
+
name?: string | undefined;
|
|
23379
|
+
address1?: string | undefined;
|
|
23380
|
+
address2?: string | undefined;
|
|
23381
|
+
firstName?: string | undefined;
|
|
23382
|
+
lastName?: string | undefined;
|
|
23383
|
+
zipcode?: string | undefined;
|
|
23384
|
+
country?: string | undefined;
|
|
23385
|
+
province?: string | undefined;
|
|
23386
|
+
mobileNumber?: string | undefined;
|
|
23387
|
+
landlineNumber?: string | undefined;
|
|
23388
|
+
}>;
|
|
23389
|
+
export type WmsShippingInfoProto = z.infer<typeof WmsShippingInfoProtoSchema>;
|
|
23390
|
+
export declare const WmsDeliveryProtoSchema: z.ZodObject<{
|
|
23391
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
23392
|
+
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23393
|
+
}, "strip", z.ZodTypeAny, {
|
|
23394
|
+
itemIds?: string[] | undefined;
|
|
23395
|
+
extId?: string | undefined;
|
|
23396
|
+
}, {
|
|
23397
|
+
itemIds?: string[] | undefined;
|
|
23398
|
+
extId?: string | undefined;
|
|
23399
|
+
}>;
|
|
23400
|
+
export type WmsDeliveryProto = z.infer<typeof WmsDeliveryProtoSchema>;
|
|
23401
|
+
export declare const WmsOrderItemProtoSchema: z.ZodObject<{
|
|
23402
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
23403
|
+
extCommerceOrderItemId: z.ZodOptional<z.ZodString>;
|
|
23404
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
23405
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
23406
|
+
state: z.ZodOptional<z.ZodString>;
|
|
23407
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
23408
|
+
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
23409
|
+
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
23410
|
+
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
22845
23411
|
shippingInfo: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
22846
23412
|
name: z.ZodOptional<z.ZodString>;
|
|
22847
23413
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -26138,7 +26704,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26138
26704
|
form?: Record<string, any> | undefined;
|
|
26139
26705
|
blocks?: Record<string, any>[] | undefined;
|
|
26140
26706
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26141
|
-
plainText?: string | undefined;
|
|
26142
26707
|
createdAt?: string | undefined;
|
|
26143
26708
|
alf?: {
|
|
26144
26709
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26179,6 +26744,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26179
26744
|
chatType?: string | undefined;
|
|
26180
26745
|
personId?: string | undefined;
|
|
26181
26746
|
marketing?: Record<string, any> | undefined;
|
|
26747
|
+
plainText?: string | undefined;
|
|
26182
26748
|
reactions?: Record<string, any>[] | undefined;
|
|
26183
26749
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26184
26750
|
personType?: string | undefined;
|
|
@@ -26201,7 +26767,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26201
26767
|
form?: Record<string, any> | undefined;
|
|
26202
26768
|
blocks?: Record<string, any>[] | undefined;
|
|
26203
26769
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26204
|
-
plainText?: string | undefined;
|
|
26205
26770
|
createdAt?: string | undefined;
|
|
26206
26771
|
alf?: {
|
|
26207
26772
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26242,6 +26807,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26242
26807
|
chatType?: string | undefined;
|
|
26243
26808
|
personId?: string | undefined;
|
|
26244
26809
|
marketing?: Record<string, any> | undefined;
|
|
26810
|
+
plainText?: string | undefined;
|
|
26245
26811
|
reactions?: Record<string, any>[] | undefined;
|
|
26246
26812
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26247
26813
|
personType?: string | undefined;
|
|
@@ -26328,7 +26894,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26328
26894
|
form?: Record<string, any> | undefined;
|
|
26329
26895
|
blocks?: Record<string, any>[] | undefined;
|
|
26330
26896
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26331
|
-
plainText?: string | undefined;
|
|
26332
26897
|
createdAt?: string | undefined;
|
|
26333
26898
|
alf?: {
|
|
26334
26899
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26369,6 +26934,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26369
26934
|
chatType?: string | undefined;
|
|
26370
26935
|
personId?: string | undefined;
|
|
26371
26936
|
marketing?: Record<string, any> | undefined;
|
|
26937
|
+
plainText?: string | undefined;
|
|
26372
26938
|
reactions?: Record<string, any>[] | undefined;
|
|
26373
26939
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26374
26940
|
personType?: string | undefined;
|
|
@@ -26455,7 +27021,6 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26455
27021
|
form?: Record<string, any> | undefined;
|
|
26456
27022
|
blocks?: Record<string, any>[] | undefined;
|
|
26457
27023
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
26458
|
-
plainText?: string | undefined;
|
|
26459
27024
|
createdAt?: string | undefined;
|
|
26460
27025
|
alf?: {
|
|
26461
27026
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -26496,6 +27061,7 @@ export declare const MessagingOnMediumMessageCreatedInputProtoSchema: z.ZodObjec
|
|
|
26496
27061
|
chatType?: string | undefined;
|
|
26497
27062
|
personId?: string | undefined;
|
|
26498
27063
|
marketing?: Record<string, any> | undefined;
|
|
27064
|
+
plainText?: string | undefined;
|
|
26499
27065
|
reactions?: Record<string, any>[] | undefined;
|
|
26500
27066
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
26501
27067
|
personType?: string | undefined;
|
|
@@ -27747,7 +28313,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
27747
28313
|
form?: Record<string, any> | undefined;
|
|
27748
28314
|
blocks?: Record<string, any>[] | undefined;
|
|
27749
28315
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
27750
|
-
plainText?: string | undefined;
|
|
27751
28316
|
createdAt?: string | undefined;
|
|
27752
28317
|
alf?: {
|
|
27753
28318
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -27788,6 +28353,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
27788
28353
|
chatType?: string | undefined;
|
|
27789
28354
|
personId?: string | undefined;
|
|
27790
28355
|
marketing?: Record<string, any> | undefined;
|
|
28356
|
+
plainText?: string | undefined;
|
|
27791
28357
|
reactions?: Record<string, any>[] | undefined;
|
|
27792
28358
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
27793
28359
|
personType?: string | undefined;
|
|
@@ -27810,7 +28376,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
27810
28376
|
form?: Record<string, any> | undefined;
|
|
27811
28377
|
blocks?: Record<string, any>[] | undefined;
|
|
27812
28378
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
27813
|
-
plainText?: string | undefined;
|
|
27814
28379
|
createdAt?: string | undefined;
|
|
27815
28380
|
alf?: {
|
|
27816
28381
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -27851,6 +28416,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
27851
28416
|
chatType?: string | undefined;
|
|
27852
28417
|
personId?: string | undefined;
|
|
27853
28418
|
marketing?: Record<string, any> | undefined;
|
|
28419
|
+
plainText?: string | undefined;
|
|
27854
28420
|
reactions?: Record<string, any>[] | undefined;
|
|
27855
28421
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
27856
28422
|
personType?: string | undefined;
|
|
@@ -27973,7 +28539,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
27973
28539
|
form?: Record<string, any> | undefined;
|
|
27974
28540
|
blocks?: Record<string, any>[] | undefined;
|
|
27975
28541
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
27976
|
-
plainText?: string | undefined;
|
|
27977
28542
|
createdAt?: string | undefined;
|
|
27978
28543
|
alf?: {
|
|
27979
28544
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -28014,6 +28579,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
28014
28579
|
chatType?: string | undefined;
|
|
28015
28580
|
personId?: string | undefined;
|
|
28016
28581
|
marketing?: Record<string, any> | undefined;
|
|
28582
|
+
plainText?: string | undefined;
|
|
28017
28583
|
reactions?: Record<string, any>[] | undefined;
|
|
28018
28584
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
28019
28585
|
personType?: string | undefined;
|
|
@@ -28139,7 +28705,6 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
28139
28705
|
form?: Record<string, any> | undefined;
|
|
28140
28706
|
blocks?: Record<string, any>[] | undefined;
|
|
28141
28707
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28142
|
-
plainText?: string | undefined;
|
|
28143
28708
|
createdAt?: string | undefined;
|
|
28144
28709
|
alf?: {
|
|
28145
28710
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -28180,6 +28745,7 @@ export declare const MessagingInboxGetCustomEditorWamInputProtoSchema: z.ZodObje
|
|
|
28180
28745
|
chatType?: string | undefined;
|
|
28181
28746
|
personId?: string | undefined;
|
|
28182
28747
|
marketing?: Record<string, any> | undefined;
|
|
28748
|
+
plainText?: string | undefined;
|
|
28183
28749
|
reactions?: Record<string, any>[] | undefined;
|
|
28184
28750
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
28185
28751
|
personType?: string | undefined;
|
|
@@ -28701,7 +29267,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
28701
29267
|
form?: Record<string, any> | undefined;
|
|
28702
29268
|
blocks?: Record<string, any>[] | undefined;
|
|
28703
29269
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28704
|
-
plainText?: string | undefined;
|
|
28705
29270
|
createdAt?: string | undefined;
|
|
28706
29271
|
alf?: {
|
|
28707
29272
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -28742,6 +29307,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
28742
29307
|
chatType?: string | undefined;
|
|
28743
29308
|
personId?: string | undefined;
|
|
28744
29309
|
marketing?: Record<string, any> | undefined;
|
|
29310
|
+
plainText?: string | undefined;
|
|
28745
29311
|
reactions?: Record<string, any>[] | undefined;
|
|
28746
29312
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
28747
29313
|
personType?: string | undefined;
|
|
@@ -28764,7 +29330,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
28764
29330
|
form?: Record<string, any> | undefined;
|
|
28765
29331
|
blocks?: Record<string, any>[] | undefined;
|
|
28766
29332
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28767
|
-
plainText?: string | undefined;
|
|
28768
29333
|
createdAt?: string | undefined;
|
|
28769
29334
|
alf?: {
|
|
28770
29335
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -28805,6 +29370,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
28805
29370
|
chatType?: string | undefined;
|
|
28806
29371
|
personId?: string | undefined;
|
|
28807
29372
|
marketing?: Record<string, any> | undefined;
|
|
29373
|
+
plainText?: string | undefined;
|
|
28808
29374
|
reactions?: Record<string, any>[] | undefined;
|
|
28809
29375
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
28810
29376
|
personType?: string | undefined;
|
|
@@ -28891,7 +29457,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
28891
29457
|
form?: Record<string, any> | undefined;
|
|
28892
29458
|
blocks?: Record<string, any>[] | undefined;
|
|
28893
29459
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
28894
|
-
plainText?: string | undefined;
|
|
28895
29460
|
createdAt?: string | undefined;
|
|
28896
29461
|
alf?: {
|
|
28897
29462
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -28932,6 +29497,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
28932
29497
|
chatType?: string | undefined;
|
|
28933
29498
|
personId?: string | undefined;
|
|
28934
29499
|
marketing?: Record<string, any> | undefined;
|
|
29500
|
+
plainText?: string | undefined;
|
|
28935
29501
|
reactions?: Record<string, any>[] | undefined;
|
|
28936
29502
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
28937
29503
|
personType?: string | undefined;
|
|
@@ -29018,7 +29584,6 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
29018
29584
|
form?: Record<string, any> | undefined;
|
|
29019
29585
|
blocks?: Record<string, any>[] | undefined;
|
|
29020
29586
|
state?: "MESSAGE_STATE_UNSPECIFIED" | "MESSAGE_STATE_SENDING" | "MESSAGE_STATE_SENT" | "MESSAGE_STATE_FAILED" | "MESSAGE_STATE_REMOVED" | undefined;
|
|
29021
|
-
plainText?: string | undefined;
|
|
29022
29587
|
createdAt?: string | undefined;
|
|
29023
29588
|
alf?: {
|
|
29024
29589
|
type?: "ALF_MESSAGE_TYPE_UNSPECIFIED" | "ALF_MESSAGE_TYPE_COMPLETE" | "ALF_MESSAGE_TYPE_RAG" | "ALF_MESSAGE_TYPE_INCOMPLETE" | "ALF_MESSAGE_TYPE_IMPOSSIBLE" | "ALF_MESSAGE_TYPE_COMMAND" | "ALF_MESSAGE_TYPE_FAQ" | "ALF_MESSAGE_TYPE_FAILED" | "ALF_MESSAGE_TYPE_RATE_LIMITED" | "ALF_MESSAGE_TYPE_OPEN_USER_CHAT" | "ALF_MESSAGE_TYPE_SYSTEM" | undefined;
|
|
@@ -29059,6 +29624,7 @@ export declare const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema:
|
|
|
29059
29624
|
chatType?: string | undefined;
|
|
29060
29625
|
personId?: string | undefined;
|
|
29061
29626
|
marketing?: Record<string, any> | undefined;
|
|
29627
|
+
plainText?: string | undefined;
|
|
29062
29628
|
reactions?: Record<string, any>[] | undefined;
|
|
29063
29629
|
alertLevel?: "MESSAGE_ALERT_LEVEL_UNSPECIFIED" | "MESSAGE_ALERT_LEVEL_ALERT" | "MESSAGE_ALERT_LEVEL_UNREAD" | "MESSAGE_ALERT_LEVEL_NONE" | undefined;
|
|
29064
29630
|
personType?: string | undefined;
|
|
@@ -29268,7 +29834,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29268
29834
|
version?: string | undefined;
|
|
29269
29835
|
updatedAt?: string | undefined;
|
|
29270
29836
|
blocks?: Record<string, any>[] | undefined;
|
|
29271
|
-
plainText?: string | undefined;
|
|
29272
29837
|
createdAt?: string | undefined;
|
|
29273
29838
|
files?: {
|
|
29274
29839
|
url?: string | undefined;
|
|
@@ -29279,6 +29844,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29279
29844
|
buttons?: Record<string, any>[] | undefined;
|
|
29280
29845
|
chatType?: string | undefined;
|
|
29281
29846
|
personId?: string | undefined;
|
|
29847
|
+
plainText?: string | undefined;
|
|
29282
29848
|
personType?: string | undefined;
|
|
29283
29849
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29284
29850
|
customPayload?: {
|
|
@@ -29293,7 +29859,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29293
29859
|
version?: string | undefined;
|
|
29294
29860
|
updatedAt?: string | undefined;
|
|
29295
29861
|
blocks?: Record<string, any>[] | undefined;
|
|
29296
|
-
plainText?: string | undefined;
|
|
29297
29862
|
createdAt?: string | undefined;
|
|
29298
29863
|
files?: {
|
|
29299
29864
|
url?: string | undefined;
|
|
@@ -29304,6 +29869,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29304
29869
|
buttons?: Record<string, any>[] | undefined;
|
|
29305
29870
|
chatType?: string | undefined;
|
|
29306
29871
|
personId?: string | undefined;
|
|
29872
|
+
plainText?: string | undefined;
|
|
29307
29873
|
personType?: string | undefined;
|
|
29308
29874
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29309
29875
|
customPayload?: {
|
|
@@ -29324,7 +29890,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29324
29890
|
version?: string | undefined;
|
|
29325
29891
|
updatedAt?: string | undefined;
|
|
29326
29892
|
blocks?: Record<string, any>[] | undefined;
|
|
29327
|
-
plainText?: string | undefined;
|
|
29328
29893
|
createdAt?: string | undefined;
|
|
29329
29894
|
files?: {
|
|
29330
29895
|
url?: string | undefined;
|
|
@@ -29335,6 +29900,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29335
29900
|
buttons?: Record<string, any>[] | undefined;
|
|
29336
29901
|
chatType?: string | undefined;
|
|
29337
29902
|
personId?: string | undefined;
|
|
29903
|
+
plainText?: string | undefined;
|
|
29338
29904
|
personType?: string | undefined;
|
|
29339
29905
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29340
29906
|
customPayload?: {
|
|
@@ -29355,7 +29921,6 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29355
29921
|
version?: string | undefined;
|
|
29356
29922
|
updatedAt?: string | undefined;
|
|
29357
29923
|
blocks?: Record<string, any>[] | undefined;
|
|
29358
|
-
plainText?: string | undefined;
|
|
29359
29924
|
createdAt?: string | undefined;
|
|
29360
29925
|
files?: {
|
|
29361
29926
|
url?: string | undefined;
|
|
@@ -29366,6 +29931,7 @@ export declare const MessagingPrebuiltValidateEntityInputProtoSchema: z.ZodObjec
|
|
|
29366
29931
|
buttons?: Record<string, any>[] | undefined;
|
|
29367
29932
|
chatType?: string | undefined;
|
|
29368
29933
|
personId?: string | undefined;
|
|
29934
|
+
plainText?: string | undefined;
|
|
29369
29935
|
personType?: string | undefined;
|
|
29370
29936
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29371
29937
|
customPayload?: {
|
|
@@ -29465,7 +30031,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29465
30031
|
version?: string | undefined;
|
|
29466
30032
|
updatedAt?: string | undefined;
|
|
29467
30033
|
blocks?: Record<string, any>[] | undefined;
|
|
29468
|
-
plainText?: string | undefined;
|
|
29469
30034
|
createdAt?: string | undefined;
|
|
29470
30035
|
files?: {
|
|
29471
30036
|
url?: string | undefined;
|
|
@@ -29476,6 +30041,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29476
30041
|
buttons?: Record<string, any>[] | undefined;
|
|
29477
30042
|
chatType?: string | undefined;
|
|
29478
30043
|
personId?: string | undefined;
|
|
30044
|
+
plainText?: string | undefined;
|
|
29479
30045
|
personType?: string | undefined;
|
|
29480
30046
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29481
30047
|
customPayload?: {
|
|
@@ -29490,7 +30056,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29490
30056
|
version?: string | undefined;
|
|
29491
30057
|
updatedAt?: string | undefined;
|
|
29492
30058
|
blocks?: Record<string, any>[] | undefined;
|
|
29493
|
-
plainText?: string | undefined;
|
|
29494
30059
|
createdAt?: string | undefined;
|
|
29495
30060
|
files?: {
|
|
29496
30061
|
url?: string | undefined;
|
|
@@ -29501,6 +30066,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29501
30066
|
buttons?: Record<string, any>[] | undefined;
|
|
29502
30067
|
chatType?: string | undefined;
|
|
29503
30068
|
personId?: string | undefined;
|
|
30069
|
+
plainText?: string | undefined;
|
|
29504
30070
|
personType?: string | undefined;
|
|
29505
30071
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29506
30072
|
customPayload?: {
|
|
@@ -29519,7 +30085,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29519
30085
|
version?: string | undefined;
|
|
29520
30086
|
updatedAt?: string | undefined;
|
|
29521
30087
|
blocks?: Record<string, any>[] | undefined;
|
|
29522
|
-
plainText?: string | undefined;
|
|
29523
30088
|
createdAt?: string | undefined;
|
|
29524
30089
|
files?: {
|
|
29525
30090
|
url?: string | undefined;
|
|
@@ -29530,6 +30095,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29530
30095
|
buttons?: Record<string, any>[] | undefined;
|
|
29531
30096
|
chatType?: string | undefined;
|
|
29532
30097
|
personId?: string | undefined;
|
|
30098
|
+
plainText?: string | undefined;
|
|
29533
30099
|
personType?: string | undefined;
|
|
29534
30100
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29535
30101
|
customPayload?: {
|
|
@@ -29552,7 +30118,6 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29552
30118
|
version?: string | undefined;
|
|
29553
30119
|
updatedAt?: string | undefined;
|
|
29554
30120
|
blocks?: Record<string, any>[] | undefined;
|
|
29555
|
-
plainText?: string | undefined;
|
|
29556
30121
|
createdAt?: string | undefined;
|
|
29557
30122
|
files?: {
|
|
29558
30123
|
url?: string | undefined;
|
|
@@ -29563,6 +30128,7 @@ export declare const MessagingPrebuiltGetCustomEditorWamInputProtoSchema: z.ZodO
|
|
|
29563
30128
|
buttons?: Record<string, any>[] | undefined;
|
|
29564
30129
|
chatType?: string | undefined;
|
|
29565
30130
|
personId?: string | undefined;
|
|
30131
|
+
plainText?: string | undefined;
|
|
29566
30132
|
personType?: string | undefined;
|
|
29567
30133
|
writingType?: "WRITING_TYPE_UNSPECIFIED" | "WRITING_TYPE_STANDARD" | "WRITING_TYPE_CUSTOM" | "WRITING_TYPE_EMAIL" | undefined;
|
|
29568
30134
|
customPayload?: {
|
|
@@ -30295,91 +30861,30 @@ export declare const HookUserChatOpenedResultProtoSchema: z.ZodObject<{
|
|
|
30295
30861
|
terminal?: boolean | undefined;
|
|
30296
30862
|
}>;
|
|
30297
30863
|
export type HookUserChatOpenedResultProto = z.infer<typeof HookUserChatOpenedResultProtoSchema>;
|
|
30298
|
-
export declare const HookTeamChatMessageCreatedWriterProtoSchema: z.ZodObject<{
|
|
30299
|
-
type: z.ZodOptional<z.ZodString>;
|
|
30300
|
-
id: z.ZodOptional<z.ZodString>;
|
|
30301
|
-
}, "strip", z.ZodTypeAny, {
|
|
30302
|
-
type?: string | undefined;
|
|
30303
|
-
id?: string | undefined;
|
|
30304
|
-
}, {
|
|
30305
|
-
type?: string | undefined;
|
|
30306
|
-
id?: string | undefined;
|
|
30307
|
-
}>;
|
|
30308
|
-
export type HookTeamChatMessageCreatedWriterProto = z.infer<typeof HookTeamChatMessageCreatedWriterProtoSchema>;
|
|
30309
|
-
export declare const HookTeamChatMessageCreatedLinkProtoSchema: z.ZodObject<{
|
|
30310
|
-
url: z.ZodOptional<z.ZodString>;
|
|
30311
|
-
title: z.ZodOptional<z.ZodString>;
|
|
30312
|
-
}, "strip", z.ZodTypeAny, {
|
|
30313
|
-
title?: string | undefined;
|
|
30314
|
-
url?: string | undefined;
|
|
30315
|
-
}, {
|
|
30316
|
-
title?: string | undefined;
|
|
30317
|
-
url?: string | undefined;
|
|
30318
|
-
}>;
|
|
30319
|
-
export type HookTeamChatMessageCreatedLinkProto = z.infer<typeof HookTeamChatMessageCreatedLinkProtoSchema>;
|
|
30320
30864
|
export declare const HookTeamChatMessageCreatedInputProtoSchema: z.ZodObject<{
|
|
30321
30865
|
eventId: z.ZodOptional<z.ZodString>;
|
|
30322
30866
|
channelId: z.ZodOptional<z.ZodString>;
|
|
30323
30867
|
groupId: z.ZodOptional<z.ZodString>;
|
|
30324
|
-
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
30325
30868
|
messageId: z.ZodOptional<z.ZodString>;
|
|
30326
30869
|
occurredAt: z.ZodOptional<z.ZodString>;
|
|
30327
30870
|
sourceAppId: z.ZodOptional<z.ZodString>;
|
|
30328
|
-
|
|
30329
|
-
type: z.ZodOptional<z.ZodString>;
|
|
30330
|
-
id: z.ZodOptional<z.ZodString>;
|
|
30331
|
-
}, "strip", z.ZodTypeAny, {
|
|
30332
|
-
type?: string | undefined;
|
|
30333
|
-
id?: string | undefined;
|
|
30334
|
-
}, {
|
|
30335
|
-
type?: string | undefined;
|
|
30336
|
-
id?: string | undefined;
|
|
30337
|
-
}>>>;
|
|
30338
|
-
plainText: z.ZodOptional<z.ZodString>;
|
|
30339
|
-
links: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
30340
|
-
url: z.ZodOptional<z.ZodString>;
|
|
30341
|
-
title: z.ZodOptional<z.ZodString>;
|
|
30342
|
-
}, "strip", z.ZodTypeAny, {
|
|
30343
|
-
title?: string | undefined;
|
|
30344
|
-
url?: string | undefined;
|
|
30345
|
-
}, {
|
|
30346
|
-
title?: string | undefined;
|
|
30347
|
-
url?: string | undefined;
|
|
30348
|
-
}>>, "many">>;
|
|
30871
|
+
snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30349
30872
|
}, "strip", z.ZodTypeAny, {
|
|
30350
30873
|
channelId?: string | undefined;
|
|
30351
30874
|
messageId?: string | undefined;
|
|
30352
|
-
links?: {
|
|
30353
|
-
title?: string | undefined;
|
|
30354
|
-
url?: string | undefined;
|
|
30355
|
-
}[] | undefined;
|
|
30356
30875
|
eventId?: string | undefined;
|
|
30357
30876
|
occurredAt?: string | undefined;
|
|
30358
30877
|
groupId?: string | undefined;
|
|
30359
|
-
rootMessageId?: string | undefined;
|
|
30360
30878
|
sourceAppId?: string | undefined;
|
|
30361
|
-
|
|
30362
|
-
type?: string | undefined;
|
|
30363
|
-
id?: string | undefined;
|
|
30364
|
-
} | undefined;
|
|
30365
|
-
plainText?: string | undefined;
|
|
30879
|
+
snapshot?: Record<string, any> | undefined;
|
|
30366
30880
|
}, {
|
|
30367
30881
|
channelId?: string | undefined;
|
|
30368
30882
|
messageId?: string | undefined;
|
|
30369
|
-
links?: {
|
|
30370
|
-
title?: string | undefined;
|
|
30371
|
-
url?: string | undefined;
|
|
30372
|
-
}[] | undefined;
|
|
30373
30883
|
eventId?: string | undefined;
|
|
30374
30884
|
occurredAt?: string | undefined;
|
|
30375
30885
|
groupId?: string | undefined;
|
|
30376
|
-
rootMessageId?: string | undefined;
|
|
30377
30886
|
sourceAppId?: string | undefined;
|
|
30378
|
-
|
|
30379
|
-
type?: string | undefined;
|
|
30380
|
-
id?: string | undefined;
|
|
30381
|
-
} | undefined;
|
|
30382
|
-
plainText?: string | undefined;
|
|
30887
|
+
snapshot?: Record<string, any> | undefined;
|
|
30383
30888
|
}>;
|
|
30384
30889
|
export type HookTeamChatMessageCreatedInputProto = z.infer<typeof HookTeamChatMessageCreatedInputProtoSchema>;
|
|
30385
30890
|
export declare const HookTeamChatMessageCreatedResultProtoSchema: z.ZodObject<{
|