@channel.io/app-sdk-core 0.14.0 → 0.15.1
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/alftask.d.ts +7 -4
- package/dist/extensions/alftask.d.ts.map +1 -1
- package/dist/extensions/alftask.js.map +1 -1
- package/dist/extensions/apikey.d.ts +6 -3
- package/dist/extensions/apikey.d.ts.map +1 -1
- package/dist/extensions/apikey.js.map +1 -1
- package/dist/extensions/calendar.d.ts +8 -5
- package/dist/extensions/calendar.d.ts.map +1 -1
- package/dist/extensions/calendar.js.map +1 -1
- package/dist/extensions/command.d.ts +11 -28
- package/dist/extensions/command.d.ts.map +1 -1
- package/dist/extensions/command.js +0 -9
- package/dist/extensions/command.js.map +1 -1
- package/dist/extensions/config.d.ts +19 -17
- package/dist/extensions/config.d.ts.map +1 -1
- package/dist/extensions/config.js.map +1 -1
- package/dist/extensions/customtab.d.ts +7 -4
- package/dist/extensions/customtab.d.ts.map +1 -1
- package/dist/extensions/customtab.js.map +1 -1
- package/dist/extensions/function-schemas.d.ts +17712 -0
- package/dist/extensions/function-schemas.d.ts.map +1 -0
- package/dist/extensions/function-schemas.js +459 -0
- package/dist/extensions/function-schemas.js.map +1 -0
- package/dist/extensions/hook.d.ts +5 -2
- package/dist/extensions/hook.d.ts.map +1 -1
- package/dist/extensions/hook.js.map +1 -1
- package/dist/extensions/index.d.ts +4 -3
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +5 -3
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/interfaces/alftask.d.ts +2 -4
- package/dist/extensions/interfaces/alftask.d.ts.map +1 -1
- package/dist/extensions/interfaces/alftask.js.map +1 -1
- package/dist/extensions/interfaces/calendar.d.ts +11 -58
- package/dist/extensions/interfaces/calendar.d.ts.map +1 -1
- package/dist/extensions/interfaces/calendar.js.map +1 -1
- package/dist/extensions/interfaces/command.d.ts +9 -48
- package/dist/extensions/interfaces/command.d.ts.map +1 -1
- package/dist/extensions/interfaces/command.js.map +1 -1
- package/dist/extensions/interfaces/customtab.d.ts +3 -7
- package/dist/extensions/interfaces/customtab.d.ts.map +1 -1
- package/dist/extensions/interfaces/customtab.js.map +1 -1
- package/dist/extensions/interfaces/hook.d.ts +2 -1
- package/dist/extensions/interfaces/hook.d.ts.map +1 -1
- package/dist/extensions/interfaces/hook.js.map +1 -1
- package/dist/extensions/interfaces/order.d.ts +15 -65
- package/dist/extensions/interfaces/order.d.ts.map +1 -1
- package/dist/extensions/interfaces/order.js.map +1 -1
- package/dist/extensions/interfaces/polling.d.ts +2 -1
- package/dist/extensions/interfaces/polling.d.ts.map +1 -1
- package/dist/extensions/interfaces/polling.js.map +1 -1
- package/dist/extensions/interfaces/widget.d.ts +3 -10
- package/dist/extensions/interfaces/widget.d.ts.map +1 -1
- package/dist/extensions/interfaces/widget.js.map +1 -1
- package/dist/extensions/messaging.d.ts.map +1 -1
- package/dist/extensions/messaging.js +1 -7
- package/dist/extensions/messaging.js.map +1 -1
- package/dist/extensions/oauth.d.ts +7 -4
- package/dist/extensions/oauth.d.ts.map +1 -1
- package/dist/extensions/oauth.js.map +1 -1
- package/dist/extensions/order.d.ts +16 -13
- package/dist/extensions/order.d.ts.map +1 -1
- package/dist/extensions/order.js.map +1 -1
- package/dist/extensions/polling.d.ts +7 -4
- package/dist/extensions/polling.d.ts.map +1 -1
- package/dist/extensions/polling.js.map +1 -1
- package/dist/extensions/proto-contracts.d.ts +186 -0
- package/dist/extensions/proto-contracts.d.ts.map +1 -0
- package/dist/extensions/proto-contracts.js +2 -0
- package/dist/extensions/proto-contracts.js.map +1 -0
- package/dist/extensions/store.d.ts +598 -378
- package/dist/extensions/store.d.ts.map +1 -1
- package/dist/extensions/store.js +8 -3
- package/dist/extensions/store.js.map +1 -1
- package/dist/extensions/widget.d.ts +7 -4
- package/dist/extensions/widget.d.ts.map +1 -1
- package/dist/extensions/widget.js.map +1 -1
- package/dist/extensions/wms.d.ts +251 -180
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/extensions/wms.js +3 -1
- package/dist/extensions/wms.js.map +1 -1
- package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +970 -0
- package/dist/gen/channel/app/sdk/v1/common.zod.d.ts.map +1 -0
- package/dist/gen/channel/app/sdk/v1/common.zod.js +230 -0
- package/dist/gen/channel/app/sdk/v1/common.zod.js.map +1 -0
- package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +190 -0
- package/dist/gen/channel/app/sdk/v1/context.zod.d.ts.map +1 -0
- package/dist/gen/channel/app/sdk/v1/context.zod.js +41 -0
- package/dist/gen/channel/app/sdk/v1/context.zod.js.map +1 -0
- package/dist/gen/channel/app/sdk/v1/error.zod.d.ts +19 -0
- package/dist/gen/channel/app/sdk/v1/error.zod.d.ts.map +1 -0
- package/dist/gen/channel/app/sdk/v1/error.zod.js +9 -0
- package/dist/gen/channel/app/sdk/v1/error.zod.js.map +1 -0
- package/dist/gen/channel/app/sdk/v1/extension.d.ts +42 -9
- package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +14581 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js +1018 -0
- package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -0
- package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +288 -0
- package/dist/gen/channel/app/sdk/v1/function.zod.d.ts.map +1 -0
- package/dist/gen/channel/app/sdk/v1/function.zod.js +26 -0
- package/dist/gen/channel/app/sdk/v1/function.zod.js.map +1 -0
- package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +356 -0
- package/dist/gen/channel/app/sdk/v1/native.zod.d.ts.map +1 -0
- package/dist/gen/channel/app/sdk/v1/native.zod.js +52 -0
- package/dist/gen/channel/app/sdk/v1/native.zod.js.map +1 -0
- package/dist/gen/io/channel/datasource/v1/datasource.zod.d.ts +598 -0
- package/dist/gen/io/channel/datasource/v1/datasource.zod.d.ts.map +1 -0
- package/dist/gen/io/channel/datasource/v1/datasource.zod.js +88 -0
- package/dist/gen/io/channel/datasource/v1/datasource.zod.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1018 @@
|
|
|
1
|
+
// Code generated by scripts/generate-proto-zod.mjs. DO NOT EDIT.
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { ChannelMessageProtoSchema, ChannelUserChatProtoSchema, ChannelUserProtoSchema, MediumProfileProtoSchema, PrebuiltMessageProtoSchema, UnavailableReasonProtoSchema, WritingTypeMapProtoSchema } from "./common.zod.js";
|
|
4
|
+
export const ExtensionEmptyInputProtoSchema = z.object({});
|
|
5
|
+
export const ExtensionChatProtoSchema = z.object({
|
|
6
|
+
type: z.string().optional(),
|
|
7
|
+
id: z.string().optional(),
|
|
8
|
+
});
|
|
9
|
+
export const ExtensionActionResultProtoSchema = z.object({
|
|
10
|
+
type: z.string().optional(),
|
|
11
|
+
attributes: z.record(z.string(), z.any()).optional(),
|
|
12
|
+
});
|
|
13
|
+
export const ApiKeyFieldProtoSchema = z.object({
|
|
14
|
+
name: z.string().optional(),
|
|
15
|
+
displayName: z.string().optional(),
|
|
16
|
+
description: z.string().optional(),
|
|
17
|
+
required: z.boolean().optional(),
|
|
18
|
+
sensitive: z.boolean().optional(),
|
|
19
|
+
maskType: z.string().optional(),
|
|
20
|
+
placeholder: z.string().optional(),
|
|
21
|
+
validationRegex: z.string().optional(),
|
|
22
|
+
});
|
|
23
|
+
export const ApiKeyGetAuthConfigInputProtoSchema = z.object({});
|
|
24
|
+
export const ApiKeyGetAuthConfigOutputProtoSchema = z.object({
|
|
25
|
+
authType: z.string().optional(),
|
|
26
|
+
authScope: z.string().optional(),
|
|
27
|
+
fields: z.array(z.lazy(() => ApiKeyFieldProtoSchema)).optional(),
|
|
28
|
+
providerName: z.string().optional(),
|
|
29
|
+
});
|
|
30
|
+
export const ApiKeyValidateCredentialsInputProtoSchema = z.object({});
|
|
31
|
+
export const ApiKeyUserInfoProtoSchema = z.object({
|
|
32
|
+
email: z.string().optional(),
|
|
33
|
+
name: z.string().optional(),
|
|
34
|
+
user_id: z.string().optional(),
|
|
35
|
+
});
|
|
36
|
+
export const ApiKeyValidateCredentialsOutputProtoSchema = z.object({
|
|
37
|
+
valid: z.boolean().optional(),
|
|
38
|
+
error_message: z.string().optional(),
|
|
39
|
+
user_info: z.lazy(() => ApiKeyUserInfoProtoSchema).optional(),
|
|
40
|
+
});
|
|
41
|
+
export const ConfigConditionProtoSchema = z.object({
|
|
42
|
+
fieldKey: z.string().optional(),
|
|
43
|
+
operator: z.string().optional(),
|
|
44
|
+
value: z.any().optional(),
|
|
45
|
+
});
|
|
46
|
+
export const ConfigChoiceProtoSchema = z.object({
|
|
47
|
+
label: z.string().optional(),
|
|
48
|
+
value: z.any().optional(),
|
|
49
|
+
description: z.string().optional(),
|
|
50
|
+
imageUrl: z.string().optional(),
|
|
51
|
+
});
|
|
52
|
+
export const ConfigInlineLinkProtoSchema = z.object({
|
|
53
|
+
key: z.string().optional(),
|
|
54
|
+
label: z.string().optional(),
|
|
55
|
+
url: z.string().optional(),
|
|
56
|
+
});
|
|
57
|
+
export const ConfigValidationNoticeProtoSchema = z.object({
|
|
58
|
+
tone: z.string().optional(),
|
|
59
|
+
title: z.string().optional(),
|
|
60
|
+
message: z.string().optional(),
|
|
61
|
+
placement: z.string().optional(),
|
|
62
|
+
blockId: z.string().optional(),
|
|
63
|
+
});
|
|
64
|
+
export const ConfigHooksProtoSchema = z.object({
|
|
65
|
+
draftResolverFunctionName: z.string().optional(),
|
|
66
|
+
validateFunctionName: z.string().optional(),
|
|
67
|
+
});
|
|
68
|
+
export const ConfigOAuthAdditionalParamProtoSchema = z.object({
|
|
69
|
+
name: z.string().optional(),
|
|
70
|
+
fieldKey: z.string().optional(),
|
|
71
|
+
});
|
|
72
|
+
export const ConfigOAuthProtoSchema = z.object({
|
|
73
|
+
additionalParams: z.array(z.lazy(() => ConfigOAuthAdditionalParamProtoSchema)).optional(),
|
|
74
|
+
});
|
|
75
|
+
export const ConfigChoicesSourceProtoSchema = z.object({
|
|
76
|
+
type: z.string().optional(),
|
|
77
|
+
functionName: z.string().optional(),
|
|
78
|
+
params: z.record(z.string(), z.any()).optional(),
|
|
79
|
+
triggerOnLoad: z.boolean().optional(),
|
|
80
|
+
triggerFieldKeys: z.array(z.string()).optional(),
|
|
81
|
+
appId: z.string().optional(),
|
|
82
|
+
});
|
|
83
|
+
export const ConfigDraftResolutionParamsProtoSchema = z.object({
|
|
84
|
+
scope: z.string().optional(),
|
|
85
|
+
channelId: z.string().optional(),
|
|
86
|
+
managerId: z.string().optional(),
|
|
87
|
+
changedFieldKey: z.string().optional(),
|
|
88
|
+
changedValue: z.any().optional(),
|
|
89
|
+
values: z.record(z.string(), z.any()).optional(),
|
|
90
|
+
});
|
|
91
|
+
export const ConfigMediaOptionsProtoSchema = z.object({
|
|
92
|
+
visibility: z.string().optional(),
|
|
93
|
+
});
|
|
94
|
+
export const ConfigResolvedValueTargetProtoSchema = z.object({
|
|
95
|
+
key: z.string().optional(),
|
|
96
|
+
storageClass: z.string().optional(),
|
|
97
|
+
sensitive: z.boolean().optional(),
|
|
98
|
+
maskType: z.string().optional(),
|
|
99
|
+
});
|
|
100
|
+
export const ConfigPhoneFieldLabelsProtoSchema = z.object({
|
|
101
|
+
countryCode: z.string().optional(),
|
|
102
|
+
number: z.string().optional(),
|
|
103
|
+
});
|
|
104
|
+
export const ConfigAddressFieldLabelsProtoSchema = z.object({
|
|
105
|
+
recipient: z.string().optional(),
|
|
106
|
+
countryCode: z.string().optional(),
|
|
107
|
+
phone: z.string().optional(),
|
|
108
|
+
postcode: z.string().optional(),
|
|
109
|
+
address1: z.string().optional(),
|
|
110
|
+
address2: z.string().optional(),
|
|
111
|
+
});
|
|
112
|
+
export const ConfigFieldProtoSchema = z.object({
|
|
113
|
+
type: z.string().optional(),
|
|
114
|
+
key: z.string().optional(),
|
|
115
|
+
label: z.string().optional(),
|
|
116
|
+
description: z.string().optional(),
|
|
117
|
+
helperText: z.string().optional(),
|
|
118
|
+
helperLinks: z.array(z.lazy(() => ConfigInlineLinkProtoSchema)).optional(),
|
|
119
|
+
required: z.boolean().optional(),
|
|
120
|
+
placeholder: z.string().optional(),
|
|
121
|
+
validationRegex: z.string().optional(),
|
|
122
|
+
storageClass: z.string().optional(),
|
|
123
|
+
media: z.lazy(() => ConfigMediaOptionsProtoSchema).optional(),
|
|
124
|
+
resolvesTo: z.lazy(() => ConfigResolvedValueTargetProtoSchema).optional(),
|
|
125
|
+
visibleWhen: z.array(z.lazy(() => ConfigConditionProtoSchema)).optional(),
|
|
126
|
+
enabledWhen: z.array(z.lazy(() => ConfigConditionProtoSchema)).optional(),
|
|
127
|
+
defaultValue: z.any().optional(),
|
|
128
|
+
choicesSource: z.lazy(() => ConfigChoicesSourceProtoSchema).optional(),
|
|
129
|
+
rows: z.number().int().optional(),
|
|
130
|
+
maskType: z.string().optional(),
|
|
131
|
+
min: z.number().optional(),
|
|
132
|
+
max: z.number().optional(),
|
|
133
|
+
step: z.number().optional(),
|
|
134
|
+
choices: z.array(z.lazy(() => ConfigChoiceProtoSchema)).optional(),
|
|
135
|
+
minSelections: z.number().int().optional(),
|
|
136
|
+
maxSelections: z.number().int().optional(),
|
|
137
|
+
format: z.string().optional(),
|
|
138
|
+
countryCodeChoices: z.array(z.lazy(() => ConfigChoiceProtoSchema)).optional(),
|
|
139
|
+
countryCodePlaceholder: z.string().optional(),
|
|
140
|
+
numberPlaceholder: z.string().optional(),
|
|
141
|
+
searchEnabled: z.boolean().optional(),
|
|
142
|
+
postcodeLookupUrl: z.string().optional(),
|
|
143
|
+
recipientPlaceholder: z.string().optional(),
|
|
144
|
+
phonePlaceholder: z.string().optional(),
|
|
145
|
+
postcodePlaceholder: z.string().optional(),
|
|
146
|
+
address1Placeholder: z.string().optional(),
|
|
147
|
+
address2Placeholder: z.string().optional(),
|
|
148
|
+
accept: z.array(z.string()).optional(),
|
|
149
|
+
maxFileSizeMb: z.number().optional(),
|
|
150
|
+
multiple: z.boolean().optional(),
|
|
151
|
+
fieldLabels: z.record(z.string(), z.any()).optional(),
|
|
152
|
+
});
|
|
153
|
+
export const ConfigBlockProtoSchema = z.object({
|
|
154
|
+
type: z.string().optional(),
|
|
155
|
+
id: z.string().optional(),
|
|
156
|
+
title: z.string().optional(),
|
|
157
|
+
description: z.string().optional(),
|
|
158
|
+
visibleWhen: z.array(z.lazy(() => ConfigConditionProtoSchema)).optional(),
|
|
159
|
+
text: z.string().optional(),
|
|
160
|
+
helperLinks: z.array(z.lazy(() => ConfigInlineLinkProtoSchema)).optional(),
|
|
161
|
+
tone: z.string().optional(),
|
|
162
|
+
layout: z.string().optional(),
|
|
163
|
+
fields: z.array(z.lazy(() => ConfigFieldProtoSchema)).optional(),
|
|
164
|
+
renderer: z.string().optional(),
|
|
165
|
+
props: z.record(z.string(), z.any()).optional(),
|
|
166
|
+
key: z.string().optional(),
|
|
167
|
+
label: z.string().optional(),
|
|
168
|
+
helperText: z.string().optional(),
|
|
169
|
+
required: z.boolean().optional(),
|
|
170
|
+
placeholder: z.string().optional(),
|
|
171
|
+
validationRegex: z.string().optional(),
|
|
172
|
+
storageClass: z.string().optional(),
|
|
173
|
+
media: z.lazy(() => ConfigMediaOptionsProtoSchema).optional(),
|
|
174
|
+
resolvesTo: z.lazy(() => ConfigResolvedValueTargetProtoSchema).optional(),
|
|
175
|
+
enabledWhen: z.array(z.lazy(() => ConfigConditionProtoSchema)).optional(),
|
|
176
|
+
defaultValue: z.any().optional(),
|
|
177
|
+
choicesSource: z.lazy(() => ConfigChoicesSourceProtoSchema).optional(),
|
|
178
|
+
rows: z.number().int().optional(),
|
|
179
|
+
maskType: z.string().optional(),
|
|
180
|
+
min: z.number().optional(),
|
|
181
|
+
max: z.number().optional(),
|
|
182
|
+
step: z.number().optional(),
|
|
183
|
+
choices: z.array(z.lazy(() => ConfigChoiceProtoSchema)).optional(),
|
|
184
|
+
minSelections: z.number().int().optional(),
|
|
185
|
+
maxSelections: z.number().int().optional(),
|
|
186
|
+
format: z.string().optional(),
|
|
187
|
+
countryCodeChoices: z.array(z.lazy(() => ConfigChoiceProtoSchema)).optional(),
|
|
188
|
+
fieldLabels: z.record(z.string(), z.any()).optional(),
|
|
189
|
+
countryCodePlaceholder: z.string().optional(),
|
|
190
|
+
numberPlaceholder: z.string().optional(),
|
|
191
|
+
searchEnabled: z.boolean().optional(),
|
|
192
|
+
postcodeLookupUrl: z.string().optional(),
|
|
193
|
+
recipientPlaceholder: z.string().optional(),
|
|
194
|
+
phonePlaceholder: z.string().optional(),
|
|
195
|
+
postcodePlaceholder: z.string().optional(),
|
|
196
|
+
address1Placeholder: z.string().optional(),
|
|
197
|
+
address2Placeholder: z.string().optional(),
|
|
198
|
+
accept: z.array(z.string()).optional(),
|
|
199
|
+
maxFileSizeMb: z.number().optional(),
|
|
200
|
+
multiple: z.boolean().optional(),
|
|
201
|
+
});
|
|
202
|
+
export const ConfigGetConfigSchemaInputProtoSchema = z.object({});
|
|
203
|
+
export const ConfigGetConfigSchemaOutputProtoSchema = z.object({
|
|
204
|
+
schemaVersion: z.string().optional(),
|
|
205
|
+
configScope: z.string().optional(),
|
|
206
|
+
providerName: z.string().optional(),
|
|
207
|
+
title: z.string().optional(),
|
|
208
|
+
description: z.string().optional(),
|
|
209
|
+
legacyCredentialFallback: z.string().optional(),
|
|
210
|
+
oauth: z.lazy(() => ConfigOAuthProtoSchema).optional(),
|
|
211
|
+
hooks: z.lazy(() => ConfigHooksProtoSchema).optional(),
|
|
212
|
+
blocks: z.array(z.lazy(() => ConfigBlockProtoSchema)).optional(),
|
|
213
|
+
});
|
|
214
|
+
export const ConfigValidationErrorProtoSchema = z.object({
|
|
215
|
+
fieldKey: z.string().optional(),
|
|
216
|
+
reasonCode: z.string().optional(),
|
|
217
|
+
message: z.string().optional(),
|
|
218
|
+
});
|
|
219
|
+
export const ConfigValidateStoredConfigInputProtoSchema = z.object({});
|
|
220
|
+
export const ConfigValidateStoredConfigOutputProtoSchema = z.object({
|
|
221
|
+
valid: z.boolean().optional(),
|
|
222
|
+
reasonCode: z.string().optional(),
|
|
223
|
+
message: z.string().optional(),
|
|
224
|
+
missingFields: z.array(z.string()).optional(),
|
|
225
|
+
errors: z.array(z.lazy(() => ConfigValidationErrorProtoSchema)).optional(),
|
|
226
|
+
notices: z.array(z.lazy(() => ConfigValidationNoticeProtoSchema)).optional(),
|
|
227
|
+
});
|
|
228
|
+
export const ConfigChoiceListProtoSchema = z.object({
|
|
229
|
+
choices: z.array(z.lazy(() => ConfigChoiceProtoSchema)).optional(),
|
|
230
|
+
});
|
|
231
|
+
export const ConfigDraftResolutionOutputProtoSchema = z.object({
|
|
232
|
+
valuesPatch: z.record(z.string(), z.any()).optional(),
|
|
233
|
+
choicesPatch: z.record(z.string(), z.any()).optional(),
|
|
234
|
+
});
|
|
235
|
+
export const OAuthProviderProtoSchema = z.object({
|
|
236
|
+
provider: z.string().optional(),
|
|
237
|
+
authorizationUrl: z.string().optional(),
|
|
238
|
+
tokenUrl: z.string().optional(),
|
|
239
|
+
refreshTokenUrl: z.string().optional(),
|
|
240
|
+
scopes: z.array(z.string()).optional(),
|
|
241
|
+
providerName: z.string().optional(),
|
|
242
|
+
providerDescription: z.string().optional(),
|
|
243
|
+
providerIconUrl: z.string().optional(),
|
|
244
|
+
pkceRequired: z.boolean().optional(),
|
|
245
|
+
additionalParams: z.record(z.string(), z.string()).optional(),
|
|
246
|
+
parameterCase: z.string().optional(),
|
|
247
|
+
tokenRequestContentType: z.string().optional(),
|
|
248
|
+
});
|
|
249
|
+
export const OAuthGetAuthConfigInputProtoSchema = z.object({});
|
|
250
|
+
export const OAuthConfigProtoSchema = z.object({
|
|
251
|
+
authType: z.string().optional(),
|
|
252
|
+
authScope: z.string().optional(),
|
|
253
|
+
oauthProvider: z.lazy(() => OAuthProviderProtoSchema).optional(),
|
|
254
|
+
});
|
|
255
|
+
export const OAuthCredentialValidationInputProtoSchema = z.object({
|
|
256
|
+
accessToken: z.string().optional(),
|
|
257
|
+
});
|
|
258
|
+
export const OAuthCredentialValidationResultProtoSchema = z.object({
|
|
259
|
+
valid: z.boolean().optional(),
|
|
260
|
+
expiresAt: z.string().optional(),
|
|
261
|
+
error: z.string().optional(),
|
|
262
|
+
});
|
|
263
|
+
export const CalendarProtoSchema = z.object({
|
|
264
|
+
id: z.string().optional(),
|
|
265
|
+
name: z.string().optional(),
|
|
266
|
+
description: z.string().optional(),
|
|
267
|
+
timezone: z.string().optional(),
|
|
268
|
+
isPrimary: z.boolean().optional(),
|
|
269
|
+
});
|
|
270
|
+
export const CalendarEventTypeProtoSchema = z.object({
|
|
271
|
+
id: z.string().optional(),
|
|
272
|
+
name: z.string().optional(),
|
|
273
|
+
duration: z.number().optional(),
|
|
274
|
+
description: z.string().optional(),
|
|
275
|
+
color: z.string().optional(),
|
|
276
|
+
});
|
|
277
|
+
export const CalendarTimeSlotProtoSchema = z.object({
|
|
278
|
+
startTime: z.string().optional(),
|
|
279
|
+
endTime: z.string().optional(),
|
|
280
|
+
});
|
|
281
|
+
export const CalendarAttendeeProtoSchema = z.object({
|
|
282
|
+
name: z.string().optional(),
|
|
283
|
+
email: z.string().optional(),
|
|
284
|
+
phone: z.string().optional(),
|
|
285
|
+
});
|
|
286
|
+
export const CalendarBookingProtoSchema = z.object({
|
|
287
|
+
id: z.string().optional(),
|
|
288
|
+
eventTypeId: z.string().optional(),
|
|
289
|
+
startTime: z.string().optional(),
|
|
290
|
+
endTime: z.string().optional(),
|
|
291
|
+
attendee: z.lazy(() => CalendarAttendeeProtoSchema).optional(),
|
|
292
|
+
status: z.string().optional(),
|
|
293
|
+
notes: z.string().optional(),
|
|
294
|
+
meetingUrl: z.string().optional(),
|
|
295
|
+
calendarEventId: z.string().optional(),
|
|
296
|
+
});
|
|
297
|
+
export const CalendarListCalendarsInputProtoSchema = z.object({
|
|
298
|
+
pageToken: z.string().optional(),
|
|
299
|
+
});
|
|
300
|
+
export const CalendarListCalendarsOutputProtoSchema = z.object({
|
|
301
|
+
calendars: z.array(z.lazy(() => CalendarProtoSchema)).optional(),
|
|
302
|
+
nextPageToken: z.string().optional(),
|
|
303
|
+
});
|
|
304
|
+
export const CalendarListEventTypesInputProtoSchema = z.object({
|
|
305
|
+
calendarId: z.string().optional(),
|
|
306
|
+
});
|
|
307
|
+
export const CalendarListEventTypesOutputProtoSchema = z.object({
|
|
308
|
+
eventTypes: z.array(z.lazy(() => CalendarEventTypeProtoSchema)).optional(),
|
|
309
|
+
});
|
|
310
|
+
export const CalendarGetAvailabilityInputProtoSchema = z.object({
|
|
311
|
+
eventTypeId: z.string().optional(),
|
|
312
|
+
startDate: z.string().optional(),
|
|
313
|
+
endDate: z.string().optional(),
|
|
314
|
+
timezone: z.string().optional(),
|
|
315
|
+
});
|
|
316
|
+
export const CalendarGetAvailabilityOutputProtoSchema = z.object({
|
|
317
|
+
slots: z.array(z.lazy(() => CalendarTimeSlotProtoSchema)).optional(),
|
|
318
|
+
});
|
|
319
|
+
export const CalendarCreateBookingInputProtoSchema = z.object({
|
|
320
|
+
eventTypeId: z.string().optional(),
|
|
321
|
+
startTime: z.string().optional(),
|
|
322
|
+
attendee: z.lazy(() => CalendarAttendeeProtoSchema).optional(),
|
|
323
|
+
notes: z.string().optional(),
|
|
324
|
+
timezone: z.string().optional(),
|
|
325
|
+
});
|
|
326
|
+
export const CalendarCancelBookingInputProtoSchema = z.object({
|
|
327
|
+
bookingId: z.string().optional(),
|
|
328
|
+
reason: z.string().optional(),
|
|
329
|
+
});
|
|
330
|
+
export const CalendarCancelBookingOutputProtoSchema = z.object({
|
|
331
|
+
success: z.boolean().optional(),
|
|
332
|
+
booking: z.lazy(() => CalendarBookingProtoSchema).optional(),
|
|
333
|
+
});
|
|
334
|
+
export const CalendarGetBookingInputProtoSchema = z.object({
|
|
335
|
+
bookingId: z.string().optional(),
|
|
336
|
+
});
|
|
337
|
+
export const CommandNameI18nProtoSchema = z.object({
|
|
338
|
+
name: z.string().optional(),
|
|
339
|
+
});
|
|
340
|
+
export const CommandNameDescI18nProtoSchema = z.object({
|
|
341
|
+
name: z.string().optional(),
|
|
342
|
+
description: z.string().optional(),
|
|
343
|
+
});
|
|
344
|
+
export const CommandParamDefI18nProtoSchema = z.object({
|
|
345
|
+
name: z.string().optional(),
|
|
346
|
+
description: z.string().optional(),
|
|
347
|
+
});
|
|
348
|
+
export const CommandChoiceProtoSchema = z.object({
|
|
349
|
+
name: z.string().optional(),
|
|
350
|
+
value: z.any().optional(),
|
|
351
|
+
nameDescI18nMap: z.record(z.string(), z.lazy(() => CommandNameDescI18nProtoSchema)).optional(),
|
|
352
|
+
});
|
|
353
|
+
export const CommandParamDefinitionProtoSchema = z.object({
|
|
354
|
+
name: z.string().optional(),
|
|
355
|
+
type: z.string().optional(),
|
|
356
|
+
required: z.boolean().optional(),
|
|
357
|
+
description: z.string().optional(),
|
|
358
|
+
choices: z.array(z.lazy(() => CommandChoiceProtoSchema)).optional(),
|
|
359
|
+
nameDescI18nMap: z.record(z.string(), z.lazy(() => CommandParamDefI18nProtoSchema)).optional(),
|
|
360
|
+
autoComplete: z.boolean().optional(),
|
|
361
|
+
alfDescription: z.string().optional(),
|
|
362
|
+
});
|
|
363
|
+
export const CommandConfigProtoSchema = z.object({
|
|
364
|
+
name: z.string().optional(),
|
|
365
|
+
scope: z.string().optional(),
|
|
366
|
+
buttonName: z.string().optional(),
|
|
367
|
+
buttonNameI18nMap: z.record(z.string(), z.lazy(() => CommandNameI18nProtoSchema)).optional(),
|
|
368
|
+
description: z.string().optional(),
|
|
369
|
+
nameDescI18nMap: z.record(z.string(), z.lazy(() => CommandNameDescI18nProtoSchema)).optional(),
|
|
370
|
+
actionFunctionName: z.string().optional(),
|
|
371
|
+
autoCompleteFunctionName: z.string().optional(),
|
|
372
|
+
systemVersion: z.string().optional(),
|
|
373
|
+
alfMode: z.string().optional(),
|
|
374
|
+
alfDescription: z.string().optional(),
|
|
375
|
+
paramDefinitions: z.array(z.lazy(() => CommandParamDefinitionProtoSchema)).optional(),
|
|
376
|
+
enabledByDefault: z.boolean().optional(),
|
|
377
|
+
});
|
|
378
|
+
export const CommandGetCommandsInputProtoSchema = z.object({});
|
|
379
|
+
export const CommandGetCommandsOutputProtoSchema = z.object({
|
|
380
|
+
commands: z.array(z.lazy(() => CommandConfigProtoSchema)).optional(),
|
|
381
|
+
});
|
|
382
|
+
export const CommandTriggerProtoSchema = z.object({
|
|
383
|
+
type: z.string().optional(),
|
|
384
|
+
attributes: z.record(z.string(), z.string()).optional(),
|
|
385
|
+
});
|
|
386
|
+
export const CommandAutoCompleteArgumentProtoSchema = z.object({
|
|
387
|
+
focused: z.boolean().optional(),
|
|
388
|
+
name: z.string().optional(),
|
|
389
|
+
value: z.any().optional(),
|
|
390
|
+
});
|
|
391
|
+
export const CommandGetSuggestionsInputProtoSchema = z.object({
|
|
392
|
+
chat: z.lazy(() => ExtensionChatProtoSchema).optional(),
|
|
393
|
+
input: z.array(z.lazy(() => CommandAutoCompleteArgumentProtoSchema)).optional(),
|
|
394
|
+
language: z.string().optional(),
|
|
395
|
+
});
|
|
396
|
+
export const CommandGetSuggestionsOutputProtoSchema = z.object({
|
|
397
|
+
choices: z.array(z.lazy(() => CommandChoiceProtoSchema)).optional(),
|
|
398
|
+
});
|
|
399
|
+
export const CommandExecuteInputProtoSchema = z.object({
|
|
400
|
+
chat: z.lazy(() => ExtensionChatProtoSchema).optional(),
|
|
401
|
+
trigger: z.lazy(() => CommandTriggerProtoSchema).optional(),
|
|
402
|
+
input: z.record(z.string(), z.any()).optional(),
|
|
403
|
+
language: z.string().optional(),
|
|
404
|
+
});
|
|
405
|
+
export const CommandResultProtoSchema = z.object({
|
|
406
|
+
type: z.string().optional(),
|
|
407
|
+
attributes: z.record(z.string(), z.any()).optional(),
|
|
408
|
+
});
|
|
409
|
+
export const WidgetNameDescI18nProtoSchema = z.object({
|
|
410
|
+
name: z.string().optional(),
|
|
411
|
+
description: z.string().optional(),
|
|
412
|
+
});
|
|
413
|
+
export const WidgetConfigProtoSchema = z.object({
|
|
414
|
+
name: z.string().optional(),
|
|
415
|
+
actionFunctionName: z.string().optional(),
|
|
416
|
+
systemVersion: z.string().optional(),
|
|
417
|
+
defaultName: z.string().optional(),
|
|
418
|
+
defaultDescription: z.string().optional(),
|
|
419
|
+
defaultNameDescI18nMap: z.record(z.string(), z.lazy(() => WidgetNameDescI18nProtoSchema)).optional(),
|
|
420
|
+
scope: z.string().optional(),
|
|
421
|
+
widgetType: z.string().optional(),
|
|
422
|
+
});
|
|
423
|
+
export const WidgetGetWidgetsInputProtoSchema = z.object({});
|
|
424
|
+
export const WidgetGetWidgetsOutputProtoSchema = z.object({
|
|
425
|
+
widgets: z.array(z.lazy(() => WidgetConfigProtoSchema)).optional(),
|
|
426
|
+
});
|
|
427
|
+
export const WidgetActionInputProtoSchema = z.object({
|
|
428
|
+
chat: z.lazy(() => ExtensionChatProtoSchema).optional(),
|
|
429
|
+
language: z.string().optional(),
|
|
430
|
+
});
|
|
431
|
+
export const WidgetActionResultProtoSchema = z.object({
|
|
432
|
+
type: z.string().optional(),
|
|
433
|
+
attributes: z.record(z.string(), z.any()).optional(),
|
|
434
|
+
});
|
|
435
|
+
export const CustomTabNameI18nProtoSchema = z.object({
|
|
436
|
+
name: z.string().optional(),
|
|
437
|
+
});
|
|
438
|
+
export const CustomTabConfigProtoSchema = z.object({
|
|
439
|
+
name: z.string().optional(),
|
|
440
|
+
actionFunctionName: z.string().optional(),
|
|
441
|
+
systemVersion: z.string().optional(),
|
|
442
|
+
nameI18nMap: z.record(z.string(), z.lazy(() => CustomTabNameI18nProtoSchema)).optional(),
|
|
443
|
+
});
|
|
444
|
+
export const CustomTabGetCustomTabsInputProtoSchema = z.object({});
|
|
445
|
+
export const CustomTabGetCustomTabsOutputProtoSchema = z.object({
|
|
446
|
+
customTabs: z.array(z.lazy(() => CustomTabConfigProtoSchema)).optional(),
|
|
447
|
+
});
|
|
448
|
+
export const CustomTabActionInputProtoSchema = z.object({
|
|
449
|
+
language: z.string().optional(),
|
|
450
|
+
wamArgs: z.any().optional(),
|
|
451
|
+
});
|
|
452
|
+
export const CustomTabActionResultProtoSchema = z.object({
|
|
453
|
+
type: z.string().optional(),
|
|
454
|
+
attributes: z.record(z.string(), z.any()).optional(),
|
|
455
|
+
});
|
|
456
|
+
export const HookConfigProtoSchema = z.object({
|
|
457
|
+
type: z.string().optional(),
|
|
458
|
+
actionFunctionName: z.string().optional(),
|
|
459
|
+
systemVersion: z.string().optional(),
|
|
460
|
+
targetId: z.string().optional(),
|
|
461
|
+
});
|
|
462
|
+
export const HookGetHooksInputProtoSchema = z.object({});
|
|
463
|
+
export const HookGetHooksOutputProtoSchema = z.object({
|
|
464
|
+
hooks: z.array(z.lazy(() => HookConfigProtoSchema)).optional(),
|
|
465
|
+
});
|
|
466
|
+
export const PollingPollerProtoSchema = z.object({
|
|
467
|
+
functionName: z.string().optional(),
|
|
468
|
+
intervalSeconds: z.number().int().optional(),
|
|
469
|
+
timeoutSeconds: z.number().int().optional(),
|
|
470
|
+
maxConcurrency: z.number().int().optional(),
|
|
471
|
+
rps: z.number().int().optional(),
|
|
472
|
+
});
|
|
473
|
+
export const PollingGetPollersInputProtoSchema = z.object({});
|
|
474
|
+
export const PollingGetPollersOutputProtoSchema = z.object({
|
|
475
|
+
pollers: z.array(z.lazy(() => PollingPollerProtoSchema)).optional(),
|
|
476
|
+
});
|
|
477
|
+
export const PollingGetTargetChannelsInputProtoSchema = z.object({
|
|
478
|
+
functionName: z.string().optional(),
|
|
479
|
+
cursor: z.string().optional(),
|
|
480
|
+
limit: z.number().int().optional(),
|
|
481
|
+
});
|
|
482
|
+
export const PollingGetTargetChannelsOutputProtoSchema = z.object({
|
|
483
|
+
channelIds: z.array(z.string()).optional(),
|
|
484
|
+
nextCursor: z.string().optional(),
|
|
485
|
+
hasNextPage: z.boolean().optional(),
|
|
486
|
+
});
|
|
487
|
+
export const StoreMediaProtoSchema = z.object({
|
|
488
|
+
type: z.string().optional(),
|
|
489
|
+
url: z.string().optional(),
|
|
490
|
+
thumbnailUrl: z.string().optional(),
|
|
491
|
+
alt: z.string().optional(),
|
|
492
|
+
});
|
|
493
|
+
export const StoreTargetUserProtoSchema = z.object({
|
|
494
|
+
key: z.string().optional(),
|
|
495
|
+
label: z.string().optional(),
|
|
496
|
+
description: z.string().optional(),
|
|
497
|
+
});
|
|
498
|
+
export const StoreUseCaseProtoSchema = z.object({
|
|
499
|
+
id: z.string().optional(),
|
|
500
|
+
title: z.string().optional(),
|
|
501
|
+
description: z.string().optional(),
|
|
502
|
+
surfaceKeys: z.array(z.string()).optional(),
|
|
503
|
+
requiredAppIds: z.array(z.string()).optional(),
|
|
504
|
+
});
|
|
505
|
+
export const StoreCapabilityProtoSchema = z.object({
|
|
506
|
+
key: z.string().optional(),
|
|
507
|
+
label: z.string().optional(),
|
|
508
|
+
description: z.string().optional(),
|
|
509
|
+
});
|
|
510
|
+
export const StoreSurfaceProtoSchema = z.object({
|
|
511
|
+
key: z.string().optional(),
|
|
512
|
+
label: z.string().optional(),
|
|
513
|
+
description: z.string().optional(),
|
|
514
|
+
});
|
|
515
|
+
export const StoreRelationshipProtoSchema = z.object({
|
|
516
|
+
type: z.string().optional(),
|
|
517
|
+
appId: z.string().optional(),
|
|
518
|
+
label: z.string().optional(),
|
|
519
|
+
description: z.string().optional(),
|
|
520
|
+
});
|
|
521
|
+
export const StoreSetupStepProtoSchema = z.object({
|
|
522
|
+
id: z.string().optional(),
|
|
523
|
+
title: z.string().optional(),
|
|
524
|
+
description: z.string().optional(),
|
|
525
|
+
externalUrl: z.string().optional(),
|
|
526
|
+
});
|
|
527
|
+
export const StoreSetupFieldProtoSchema = z.object({
|
|
528
|
+
key: z.string().optional(),
|
|
529
|
+
label: z.string().optional(),
|
|
530
|
+
description: z.string().optional(),
|
|
531
|
+
example: z.string().optional(),
|
|
532
|
+
helpUrl: z.string().optional(),
|
|
533
|
+
});
|
|
534
|
+
export const StoreSetupOverviewProtoSchema = z.object({
|
|
535
|
+
steps: z.array(z.lazy(() => StoreSetupStepProtoSchema)).optional(),
|
|
536
|
+
fields: z.array(z.lazy(() => StoreSetupFieldProtoSchema)).optional(),
|
|
537
|
+
estimatedTimeText: z.string().optional(),
|
|
538
|
+
});
|
|
539
|
+
export const StoreGuideSectionProtoSchema = z.object({
|
|
540
|
+
id: z.string().optional(),
|
|
541
|
+
title: z.string().optional(),
|
|
542
|
+
blocks: z.array(z.record(z.string(), z.any())).optional(),
|
|
543
|
+
});
|
|
544
|
+
export const StoreFaqProtoSchema = z.object({
|
|
545
|
+
question: z.string().optional(),
|
|
546
|
+
answer: z.string().optional(),
|
|
547
|
+
});
|
|
548
|
+
export const StoreCaseStudyProtoSchema = z.object({
|
|
549
|
+
title: z.string().optional(),
|
|
550
|
+
summary: z.string().optional(),
|
|
551
|
+
url: z.string().optional(),
|
|
552
|
+
metrics: z.array(z.string()).optional(),
|
|
553
|
+
});
|
|
554
|
+
export const StoreProfileI18nProtoSchema = z.object({
|
|
555
|
+
headline: z.string().optional(),
|
|
556
|
+
summary: z.string().optional(),
|
|
557
|
+
targetUsers: z.array(z.lazy(() => StoreTargetUserProtoSchema)).optional(),
|
|
558
|
+
primaryUseCases: z.array(z.lazy(() => StoreUseCaseProtoSchema)).optional(),
|
|
559
|
+
guideSections: z.array(z.lazy(() => StoreGuideSectionProtoSchema)).optional(),
|
|
560
|
+
faqs: z.array(z.lazy(() => StoreFaqProtoSchema)).optional(),
|
|
561
|
+
caseStudy: z.lazy(() => StoreCaseStudyProtoSchema).optional(),
|
|
562
|
+
pricingNote: z.string().optional(),
|
|
563
|
+
});
|
|
564
|
+
export const StoreProfileProtoSchema = z.object({
|
|
565
|
+
providerName: z.string().optional(),
|
|
566
|
+
categories: z.array(z.string()).optional(),
|
|
567
|
+
headline: z.string().optional(),
|
|
568
|
+
summary: z.string().optional(),
|
|
569
|
+
primaryScreenshotUrl: z.string().optional(),
|
|
570
|
+
targetUsers: z.array(z.lazy(() => StoreTargetUserProtoSchema)).optional(),
|
|
571
|
+
primaryUseCases: z.array(z.lazy(() => StoreUseCaseProtoSchema)).optional(),
|
|
572
|
+
media: z.array(z.lazy(() => StoreMediaProtoSchema)).optional(),
|
|
573
|
+
capabilities: z.array(z.lazy(() => StoreCapabilityProtoSchema)).optional(),
|
|
574
|
+
surfaces: z.array(z.lazy(() => StoreSurfaceProtoSchema)).optional(),
|
|
575
|
+
relationships: z.array(z.lazy(() => StoreRelationshipProtoSchema)).optional(),
|
|
576
|
+
setupOverview: z.lazy(() => StoreSetupOverviewProtoSchema).optional(),
|
|
577
|
+
guideSections: z.array(z.lazy(() => StoreGuideSectionProtoSchema)).optional(),
|
|
578
|
+
faqs: z.array(z.lazy(() => StoreFaqProtoSchema)).optional(),
|
|
579
|
+
externalGuideUrl: z.string().optional(),
|
|
580
|
+
caseStudy: z.lazy(() => StoreCaseStudyProtoSchema).optional(),
|
|
581
|
+
pricingNote: z.string().optional(),
|
|
582
|
+
i18nMap: z.record(z.string(), z.lazy(() => StoreProfileI18nProtoSchema)).optional(),
|
|
583
|
+
});
|
|
584
|
+
export const StoreGetProfileInputProtoSchema = z.object({});
|
|
585
|
+
export const StoreGetProfileOutputProtoSchema = z.object({
|
|
586
|
+
profile: z.lazy(() => StoreProfileProtoSchema).optional(),
|
|
587
|
+
});
|
|
588
|
+
export const DataSourceCatalogProtoSchema = z.object({
|
|
589
|
+
alias: z.string().optional(),
|
|
590
|
+
displayName: z.string().optional(),
|
|
591
|
+
dialect: z.string().optional(),
|
|
592
|
+
active: z.boolean().optional(),
|
|
593
|
+
});
|
|
594
|
+
export const DataSourceTableProtoSchema = z.object({
|
|
595
|
+
name: z.string().optional(),
|
|
596
|
+
localCatalogAlias: z.string().optional(),
|
|
597
|
+
description: z.string().optional(),
|
|
598
|
+
estimatedRowCount: z.number().optional(),
|
|
599
|
+
updatedAt: z.number().optional(),
|
|
600
|
+
tableType: z.string().optional(),
|
|
601
|
+
});
|
|
602
|
+
export const DataSourceColumnProtoSchema = z.object({
|
|
603
|
+
name: z.string().optional(),
|
|
604
|
+
type: z.string().optional(),
|
|
605
|
+
nullable: z.boolean().optional(),
|
|
606
|
+
description: z.string().optional(),
|
|
607
|
+
partitionKey: z.boolean().optional(),
|
|
608
|
+
precision: z.number().int().optional(),
|
|
609
|
+
scale: z.number().int().optional(),
|
|
610
|
+
});
|
|
611
|
+
export const DataSourceTableDefinitionProtoSchema = z.object({
|
|
612
|
+
table: z.lazy(() => DataSourceTableProtoSchema).optional(),
|
|
613
|
+
columns: z.array(z.lazy(() => DataSourceColumnProtoSchema)).optional(),
|
|
614
|
+
primaryKey: z.array(z.string()).optional(),
|
|
615
|
+
});
|
|
616
|
+
export const DataSourceTableListingProtoSchema = z.object({
|
|
617
|
+
table: z.lazy(() => DataSourceTableProtoSchema).optional(),
|
|
618
|
+
searchText: z.string().optional(),
|
|
619
|
+
tags: z.array(z.string()).optional(),
|
|
620
|
+
});
|
|
621
|
+
export const DataSourceListCatalogsInputProtoSchema = z.object({});
|
|
622
|
+
export const DataSourceListCatalogsOutputProtoSchema = z.object({
|
|
623
|
+
catalogs: z.array(z.lazy(() => DataSourceCatalogProtoSchema)).optional(),
|
|
624
|
+
});
|
|
625
|
+
export const DataSourceListTablesInputProtoSchema = z.object({
|
|
626
|
+
localCatalogAlias: z.string().optional(),
|
|
627
|
+
updatedAfter: z.string().optional(),
|
|
628
|
+
limit: z.number().int().optional(),
|
|
629
|
+
pageToken: z.string().optional(),
|
|
630
|
+
});
|
|
631
|
+
export const DataSourceListTablesOutputProtoSchema = z.object({
|
|
632
|
+
tables: z.array(z.lazy(() => DataSourceTableListingProtoSchema)).optional(),
|
|
633
|
+
nextPageToken: z.string().optional(),
|
|
634
|
+
metadataVersion: z.string().optional(),
|
|
635
|
+
});
|
|
636
|
+
export const DataSourceDescribeTableInputProtoSchema = z.object({
|
|
637
|
+
localCatalogAlias: z.string().optional(),
|
|
638
|
+
tableName: z.string().optional(),
|
|
639
|
+
includeSample: z.boolean().optional(),
|
|
640
|
+
});
|
|
641
|
+
export const DataSourceDescribeTableOutputProtoSchema = z.object({
|
|
642
|
+
definition: z.lazy(() => DataSourceTableDefinitionProtoSchema).optional(),
|
|
643
|
+
sample: z.array(z.record(z.string(), z.any())).optional(),
|
|
644
|
+
metadataVersion: z.string().optional(),
|
|
645
|
+
});
|
|
646
|
+
export const OrderAddressProtoSchema = z.object({
|
|
647
|
+
name: z.string().optional(),
|
|
648
|
+
phoneNumber: z.string().optional(),
|
|
649
|
+
email: z.string().optional(),
|
|
650
|
+
cellPhoneNumber: z.string().optional(),
|
|
651
|
+
zipcode: z.string().optional(),
|
|
652
|
+
address1: z.string().optional(),
|
|
653
|
+
address2: z.string().optional(),
|
|
654
|
+
shippingMessage: z.string().optional(),
|
|
655
|
+
country: z.string().optional(),
|
|
656
|
+
city: z.string().optional(),
|
|
657
|
+
province: z.string().optional(),
|
|
658
|
+
});
|
|
659
|
+
export const OrderBankAccountProtoSchema = z.object({
|
|
660
|
+
bankName: z.string().optional(),
|
|
661
|
+
accountNo: z.string().optional(),
|
|
662
|
+
accountHolder: z.string().optional(),
|
|
663
|
+
});
|
|
664
|
+
export const OrderDefectInfoProtoSchema = z.object({
|
|
665
|
+
description: z.string().optional(),
|
|
666
|
+
imageUrls: z.array(z.string()).optional(),
|
|
667
|
+
});
|
|
668
|
+
export const OrderClaimReasonProtoSchema = z.object({
|
|
669
|
+
type: z.string().optional(),
|
|
670
|
+
description: z.string().optional(),
|
|
671
|
+
});
|
|
672
|
+
export const OrderClaimabilityProtoSchema = z.object({
|
|
673
|
+
cancelable: z.boolean().optional(),
|
|
674
|
+
returnable: z.boolean().optional(),
|
|
675
|
+
exchangeable: z.boolean().optional(),
|
|
676
|
+
shippingAddressChangeable: z.boolean().optional(),
|
|
677
|
+
});
|
|
678
|
+
export const OrderClaimProtoSchema = z.object({
|
|
679
|
+
id: z.string().optional(),
|
|
680
|
+
extClaimId: z.string().optional(),
|
|
681
|
+
type: z.string().optional(),
|
|
682
|
+
state: z.string().optional(),
|
|
683
|
+
itemIds: z.array(z.string()).optional(),
|
|
684
|
+
createdAt: z.number().optional(),
|
|
685
|
+
});
|
|
686
|
+
export const OrderItemProtoSchema = z.object({
|
|
687
|
+
id: z.string().optional(),
|
|
688
|
+
name: z.string().optional(),
|
|
689
|
+
imageUrl: z.string().optional(),
|
|
690
|
+
amount: z.number().optional(),
|
|
691
|
+
quantity: z.number().optional(),
|
|
692
|
+
option: z.string().optional(),
|
|
693
|
+
productId: z.string().optional(),
|
|
694
|
+
variantId: z.string().optional(),
|
|
695
|
+
state: z.string().optional(),
|
|
696
|
+
shippedAt: z.number().optional(),
|
|
697
|
+
deliveredAt: z.number().optional(),
|
|
698
|
+
estimatedShipDate: z.number().optional(),
|
|
699
|
+
claimability: z.lazy(() => OrderClaimabilityProtoSchema).optional(),
|
|
700
|
+
});
|
|
701
|
+
export const OrderPaymentProtoSchema = z.object({
|
|
702
|
+
state: z.string().optional(),
|
|
703
|
+
currency: z.string().optional(),
|
|
704
|
+
totalAmount: z.number().optional(),
|
|
705
|
+
itemsAmount: z.number().optional(),
|
|
706
|
+
shippingAmount: z.number().optional(),
|
|
707
|
+
discountAmount: z.number().optional(),
|
|
708
|
+
methods: z.array(z.string()).optional(),
|
|
709
|
+
requireRefundBankAccount: z.boolean().optional(),
|
|
710
|
+
});
|
|
711
|
+
export const OrderFulfillmentProtoSchema = z.object({
|
|
712
|
+
id: z.string().optional(),
|
|
713
|
+
state: z.string().optional(),
|
|
714
|
+
itemIds: z.array(z.string()).optional(),
|
|
715
|
+
trackingNumber: z.string().optional(),
|
|
716
|
+
trackingCompany: z.string().optional(),
|
|
717
|
+
trackingUrl: z.string().optional(),
|
|
718
|
+
estimatedDeliveryDate: z.number().optional(),
|
|
719
|
+
});
|
|
720
|
+
export const OrderProtoSchema = z.object({
|
|
721
|
+
id: z.string().optional(),
|
|
722
|
+
title: z.string().optional(),
|
|
723
|
+
createdAt: z.number().optional(),
|
|
724
|
+
items: z.array(z.lazy(() => OrderItemProtoSchema)).optional(),
|
|
725
|
+
payment: z.lazy(() => OrderPaymentProtoSchema).optional(),
|
|
726
|
+
fulfillments: z.array(z.lazy(() => OrderFulfillmentProtoSchema)).optional(),
|
|
727
|
+
shippingAddress: z.lazy(() => OrderAddressProtoSchema).optional(),
|
|
728
|
+
claims: z.array(z.lazy(() => OrderClaimProtoSchema)).optional(),
|
|
729
|
+
});
|
|
730
|
+
export const OrderAllowedValueProtoSchema = z.object({
|
|
731
|
+
value: z.string().optional(),
|
|
732
|
+
label: z.string().optional(),
|
|
733
|
+
});
|
|
734
|
+
export const OrderFieldConfigProtoSchema = z.object({
|
|
735
|
+
type: z.string().optional(),
|
|
736
|
+
allowedValues: z.array(z.lazy(() => OrderAllowedValueProtoSchema)).optional(),
|
|
737
|
+
description: z.string().optional(),
|
|
738
|
+
});
|
|
739
|
+
export const OrderOperationOptionsProtoSchema = z.object({
|
|
740
|
+
required: z.array(z.string()).optional(),
|
|
741
|
+
optional: z.array(z.string()).optional(),
|
|
742
|
+
fieldConfigs: z.record(z.string(), z.lazy(() => OrderFieldConfigProtoSchema)).optional(),
|
|
743
|
+
});
|
|
744
|
+
export const OrderAppCapabilitiesProtoSchema = z.object({
|
|
745
|
+
getOrdersOptions: z.lazy(() => OrderOperationOptionsProtoSchema).optional(),
|
|
746
|
+
cancelOrderOptions: z.lazy(() => OrderOperationOptionsProtoSchema).optional(),
|
|
747
|
+
returnOrderOptions: z.lazy(() => OrderOperationOptionsProtoSchema).optional(),
|
|
748
|
+
exchangeOrderOptions: z.lazy(() => OrderOperationOptionsProtoSchema).optional(),
|
|
749
|
+
changeAddressOptions: z.lazy(() => OrderOperationOptionsProtoSchema).optional(),
|
|
750
|
+
});
|
|
751
|
+
export const OrderGetOrdersInputProtoSchema = z.object({
|
|
752
|
+
identifierType: z.string().optional(),
|
|
753
|
+
identifierValue: z.string().optional(),
|
|
754
|
+
});
|
|
755
|
+
export const OrderGetOrdersOutputProtoSchema = z.object({
|
|
756
|
+
orders: z.array(z.lazy(() => OrderProtoSchema)).optional(),
|
|
757
|
+
});
|
|
758
|
+
export const OrderGetAppConfigsInputProtoSchema = z.object({});
|
|
759
|
+
export const OrderGetAppConfigsOutputProtoSchema = z.object({
|
|
760
|
+
appCapabilities: z.lazy(() => OrderAppCapabilitiesProtoSchema).optional(),
|
|
761
|
+
});
|
|
762
|
+
export const OrderClaimItemProtoSchema = z.object({
|
|
763
|
+
id: z.string().optional(),
|
|
764
|
+
quantity: z.number().int().optional(),
|
|
765
|
+
});
|
|
766
|
+
export const OrderCancelOrderInputProtoSchema = z.object({
|
|
767
|
+
orderId: z.string().optional(),
|
|
768
|
+
cancelItems: z.array(z.lazy(() => OrderClaimItemProtoSchema)).optional(),
|
|
769
|
+
reason: z.lazy(() => OrderClaimReasonProtoSchema).optional(),
|
|
770
|
+
refundBankAccount: z.lazy(() => OrderBankAccountProtoSchema).optional(),
|
|
771
|
+
});
|
|
772
|
+
export const OrderReturnOrderInputProtoSchema = z.object({
|
|
773
|
+
orderId: z.string().optional(),
|
|
774
|
+
returnItems: z.array(z.lazy(() => OrderClaimItemProtoSchema)).optional(),
|
|
775
|
+
reason: z.lazy(() => OrderClaimReasonProtoSchema).optional(),
|
|
776
|
+
requestPickup: z.boolean().optional(),
|
|
777
|
+
pickupAddress: z.lazy(() => OrderAddressProtoSchema).optional(),
|
|
778
|
+
refundBankAccount: z.lazy(() => OrderBankAccountProtoSchema).optional(),
|
|
779
|
+
trackingNumber: z.string().optional(),
|
|
780
|
+
trackingCompany: z.string().optional(),
|
|
781
|
+
defectInfo: z.lazy(() => OrderDefectInfoProtoSchema).optional(),
|
|
782
|
+
shippingFeePaymentType: z.string().optional(),
|
|
783
|
+
});
|
|
784
|
+
export const OrderExchangeItemProtoSchema = z.object({
|
|
785
|
+
productId: z.string().optional(),
|
|
786
|
+
variantId: z.string().optional(),
|
|
787
|
+
quantity: z.number().int().optional(),
|
|
788
|
+
});
|
|
789
|
+
export const OrderExchangeOrderInputProtoSchema = z.object({
|
|
790
|
+
orderId: z.string().optional(),
|
|
791
|
+
beforeExchangeItems: z.array(z.lazy(() => OrderClaimItemProtoSchema)).optional(),
|
|
792
|
+
afterExchangeItems: z.array(z.lazy(() => OrderExchangeItemProtoSchema)).optional(),
|
|
793
|
+
reason: z.lazy(() => OrderClaimReasonProtoSchema).optional(),
|
|
794
|
+
requestPickup: z.boolean().optional(),
|
|
795
|
+
pickupAddress: z.lazy(() => OrderAddressProtoSchema).optional(),
|
|
796
|
+
refundBankAccount: z.lazy(() => OrderBankAccountProtoSchema).optional(),
|
|
797
|
+
defectInfo: z.lazy(() => OrderDefectInfoProtoSchema).optional(),
|
|
798
|
+
shippingFeePaymentType: z.string().optional(),
|
|
799
|
+
});
|
|
800
|
+
export const OrderGetExchangeableItemsInputProtoSchema = z.object({
|
|
801
|
+
orderId: z.string().optional(),
|
|
802
|
+
items: z.array(z.lazy(() => OrderClaimItemProtoSchema)).optional(),
|
|
803
|
+
});
|
|
804
|
+
export const OrderGetExchangeableItemsOutputProtoSchema = z.object({
|
|
805
|
+
items: z.array(z.lazy(() => OrderItemProtoSchema)).optional(),
|
|
806
|
+
});
|
|
807
|
+
export const OrderChangeShippingAddressInputProtoSchema = z.object({
|
|
808
|
+
orderId: z.string().optional(),
|
|
809
|
+
newAddress: z.lazy(() => OrderAddressProtoSchema).optional(),
|
|
810
|
+
});
|
|
811
|
+
export const OrderSuccessOutputProtoSchema = z.object({
|
|
812
|
+
success: z.boolean().optional(),
|
|
813
|
+
});
|
|
814
|
+
export const WmsShippingInfoProtoSchema = z.object({
|
|
815
|
+
name: z.string().optional(),
|
|
816
|
+
firstName: z.string().optional(),
|
|
817
|
+
lastName: z.string().optional(),
|
|
818
|
+
mobileNumber: z.string().optional(),
|
|
819
|
+
landlineNumber: z.string().optional(),
|
|
820
|
+
zipcode: z.string().optional(),
|
|
821
|
+
address1: z.string().optional(),
|
|
822
|
+
address2: z.string().optional(),
|
|
823
|
+
country: z.string().optional(),
|
|
824
|
+
province: z.string().optional(),
|
|
825
|
+
message: z.string().optional(),
|
|
826
|
+
});
|
|
827
|
+
export const WmsDeliveryProtoSchema = z.object({
|
|
828
|
+
extId: z.string().optional(),
|
|
829
|
+
itemIds: z.array(z.string()).optional(),
|
|
830
|
+
});
|
|
831
|
+
export const WmsOrderItemProtoSchema = z.object({
|
|
832
|
+
extId: z.string().optional(),
|
|
833
|
+
extCommerceOrderItemId: z.string().optional(),
|
|
834
|
+
productName: z.string().optional(),
|
|
835
|
+
quantity: z.number().optional(),
|
|
836
|
+
state: z.string().optional(),
|
|
837
|
+
packageId: z.string().optional(),
|
|
838
|
+
estimatedShipDate: z.string().optional(),
|
|
839
|
+
invoiceNumber: z.string().optional(),
|
|
840
|
+
deliveryCompany: z.string().optional(),
|
|
841
|
+
shippingInfo: z.lazy(() => WmsShippingInfoProtoSchema).optional(),
|
|
842
|
+
});
|
|
843
|
+
export const WmsOrderProtoSchema = z.object({
|
|
844
|
+
extId: z.string().optional(),
|
|
845
|
+
extCommerceOrderId: z.string().optional(),
|
|
846
|
+
items: z.array(z.lazy(() => WmsOrderItemProtoSchema)).optional(),
|
|
847
|
+
deliveries: z.array(z.lazy(() => WmsDeliveryProtoSchema)).optional(),
|
|
848
|
+
});
|
|
849
|
+
export const WmsGetOrdersRequestProtoSchema = z.object({
|
|
850
|
+
commerceOrderIds: z.string().optional(),
|
|
851
|
+
orderIds: z.string().optional(),
|
|
852
|
+
packageIds: z.string().optional(),
|
|
853
|
+
shopId: z.string().optional(),
|
|
854
|
+
});
|
|
855
|
+
export const WmsGetOrdersResultProtoSchema = z.object({
|
|
856
|
+
orders: z.array(z.lazy(() => WmsOrderProtoSchema)).optional(),
|
|
857
|
+
});
|
|
858
|
+
export const WmsGetOrderRequestProtoSchema = z.object({
|
|
859
|
+
commerceOrderId: z.string().optional(),
|
|
860
|
+
orderId: z.string().optional(),
|
|
861
|
+
packageId: z.string().optional(),
|
|
862
|
+
shopId: z.string().optional(),
|
|
863
|
+
});
|
|
864
|
+
export const WmsGetOrderResultProtoSchema = z.object({
|
|
865
|
+
order: z.lazy(() => WmsOrderProtoSchema).optional(),
|
|
866
|
+
});
|
|
867
|
+
export const WmsGetShopIDRequestProtoSchema = z.object({
|
|
868
|
+
commerceType: z.string().optional(),
|
|
869
|
+
commerceKey: z.string().optional(),
|
|
870
|
+
});
|
|
871
|
+
export const WmsGetShopIDResultProtoSchema = z.object({
|
|
872
|
+
message: z.string().optional(),
|
|
873
|
+
shopId: z.any().optional(),
|
|
874
|
+
});
|
|
875
|
+
export const WmsGetSupportedCommercesRequestProtoSchema = z.object({});
|
|
876
|
+
export const WmsGetSupportedCommercesResultProtoSchema = z.object({
|
|
877
|
+
commerceTypes: z.array(z.string()).optional(),
|
|
878
|
+
});
|
|
879
|
+
export const WmsOrderStateRequestProtoSchema = z.object({
|
|
880
|
+
orderId: z.string().optional(),
|
|
881
|
+
orderIds: z.string().optional(),
|
|
882
|
+
reason: z.string().optional(),
|
|
883
|
+
memo: z.string().optional(),
|
|
884
|
+
});
|
|
885
|
+
export const WmsChangeShippingAddressRequestProtoSchema = z.object({
|
|
886
|
+
orderId: z.string().optional(),
|
|
887
|
+
recipient: z.string().optional(),
|
|
888
|
+
phone: z.string().optional(),
|
|
889
|
+
address1: z.string().optional(),
|
|
890
|
+
postalCode: z.string().optional(),
|
|
891
|
+
address2: z.string().optional(),
|
|
892
|
+
message: z.string().optional(),
|
|
893
|
+
});
|
|
894
|
+
export const WmsRestoreOrderRequestProtoSchema = z.object({
|
|
895
|
+
orderId: z.string().optional(),
|
|
896
|
+
memo: z.string().optional(),
|
|
897
|
+
prdSeq: z.string().optional(),
|
|
898
|
+
restorePack: z.boolean().optional(),
|
|
899
|
+
restockNormal: z.boolean().optional(),
|
|
900
|
+
restockBad: z.boolean().optional(),
|
|
901
|
+
});
|
|
902
|
+
export const WmsSuccessResultProtoSchema = z.object({
|
|
903
|
+
success: z.boolean().optional(),
|
|
904
|
+
message: z.string().optional(),
|
|
905
|
+
});
|
|
906
|
+
export const MessagingOnMediumMessageCreatedInputProtoSchema = z.object({
|
|
907
|
+
userChat: ChannelUserChatProtoSchema.optional(),
|
|
908
|
+
message: ChannelMessageProtoSchema.optional(),
|
|
909
|
+
});
|
|
910
|
+
export const MessagingSendResultProtoSchema = z.object({
|
|
911
|
+
sendState: z.string().optional(),
|
|
912
|
+
message: z.string().optional(),
|
|
913
|
+
});
|
|
914
|
+
export const MessagingOnMediumMessageCreatedOutputProtoSchema = z.object({
|
|
915
|
+
sendResult: z.lazy(() => MessagingSendResultProtoSchema).optional(),
|
|
916
|
+
});
|
|
917
|
+
export const MessagingInboxOnMediumUserChatClosedInputProtoSchema = z.object({
|
|
918
|
+
userChat: ChannelUserChatProtoSchema.optional(),
|
|
919
|
+
});
|
|
920
|
+
export const MessagingInboxOnMediumUserChatClosedOutputProtoSchema = z.object({});
|
|
921
|
+
export const MessagingInboxGetWritingTypesInputProtoSchema = z.object({
|
|
922
|
+
userChat: ChannelUserChatProtoSchema.optional(),
|
|
923
|
+
});
|
|
924
|
+
export const MessagingInboxGetWritingTypesOutputProtoSchema = z.object({
|
|
925
|
+
writingTypeMap: WritingTypeMapProtoSchema.optional(),
|
|
926
|
+
});
|
|
927
|
+
export const MessagingInboxGetCustomEditorWamInputProtoSchema = z.object({
|
|
928
|
+
user: ChannelUserProtoSchema.optional(),
|
|
929
|
+
userChat: ChannelUserChatProtoSchema.optional(),
|
|
930
|
+
entityType: z.string().optional(),
|
|
931
|
+
mediumTopicKey: z.string().optional(),
|
|
932
|
+
mediumTopicLabels: z.array(z.string()).optional(),
|
|
933
|
+
message: ChannelMessageProtoSchema.optional(),
|
|
934
|
+
});
|
|
935
|
+
export const MessagingInboxGetMediumTopicSelectorWamInputProtoSchema = z.object({
|
|
936
|
+
user: ChannelUserProtoSchema.optional(),
|
|
937
|
+
});
|
|
938
|
+
export const MessagingInboxGetMediumMessageErrorReasonInputProtoSchema = z.object({
|
|
939
|
+
userChat: ChannelUserChatProtoSchema.optional(),
|
|
940
|
+
message: ChannelMessageProtoSchema.optional(),
|
|
941
|
+
});
|
|
942
|
+
export const MessagingInboxGetMediumMessageErrorReasonOutputProtoSchema = z.object({
|
|
943
|
+
errorMessage: z.string().optional(),
|
|
944
|
+
});
|
|
945
|
+
export const MessagingPrebuiltGetWritingTypesInputProtoSchema = z.object({});
|
|
946
|
+
export const MessagingPrebuiltGetWritingTypesOutputProtoSchema = z.object({
|
|
947
|
+
writingTypeMap: WritingTypeMapProtoSchema.optional(),
|
|
948
|
+
});
|
|
949
|
+
export const MessagingPrebuiltValidateEntityInputProtoSchema = z.object({
|
|
950
|
+
message: PrebuiltMessageProtoSchema.optional(),
|
|
951
|
+
entityType: z.string().optional(),
|
|
952
|
+
entityId: z.string().optional(),
|
|
953
|
+
mediumTopicBuildKey: z.string().optional(),
|
|
954
|
+
mediumTopicBuildLabels: z.array(z.string()).optional(),
|
|
955
|
+
});
|
|
956
|
+
export const MessagingPrebuiltValidateEntityOutputProtoSchema = z.object({
|
|
957
|
+
entityType: z.string().optional(),
|
|
958
|
+
entityId: z.string().optional(),
|
|
959
|
+
reasons: z.array(UnavailableReasonProtoSchema).optional(),
|
|
960
|
+
});
|
|
961
|
+
export const MessagingPrebuiltGetCustomEditorWamInputProtoSchema = z.object({
|
|
962
|
+
entityType: z.string().optional(),
|
|
963
|
+
entityId: z.string().optional(),
|
|
964
|
+
mediumTopicBuildKey: z.string().optional(),
|
|
965
|
+
mediumTopicBuildLabels: z.array(z.string()).optional(),
|
|
966
|
+
message: PrebuiltMessageProtoSchema.optional(),
|
|
967
|
+
triggerEventName: z.string().optional(),
|
|
968
|
+
triggerEventNameI18nMap: z.record(z.string(), z.any()).optional(),
|
|
969
|
+
});
|
|
970
|
+
export const MessagingPrebuiltGetMediumTopicBuilderSelectorWamInputProtoSchema = z.object({
|
|
971
|
+
entityType: z.string().optional(),
|
|
972
|
+
});
|
|
973
|
+
export const MessagingPrebuiltBuildMediumTopicsInputProtoSchema = z.object({
|
|
974
|
+
user: ChannelUserProtoSchema.optional(),
|
|
975
|
+
entityType: z.string().optional(),
|
|
976
|
+
mediumTopicBuilderKey: z.string().optional(),
|
|
977
|
+
});
|
|
978
|
+
export const MessagingPrebuiltBuildMediumTopicsOutputProtoSchema = z.object({
|
|
979
|
+
mediumTopicKey: z.string().optional(),
|
|
980
|
+
mediumTopicLabels: z.array(z.string()).optional(),
|
|
981
|
+
mediumProfile: MediumProfileProtoSchema.optional(),
|
|
982
|
+
});
|
|
983
|
+
export const MessagingPrebuiltGetDefaultOptionsInputProtoSchema = z.object({});
|
|
984
|
+
export const MessagingDefaultOptionsProtoSchema = z.object({
|
|
985
|
+
"campaign.userQuery": z.record(z.string(), z.any()).optional(),
|
|
986
|
+
"oneTimeMsg.userQuery": z.record(z.string(), z.any()).optional(),
|
|
987
|
+
"campaign.selectableAdvertising": z.boolean().optional(),
|
|
988
|
+
"oneTimeMsg.selectableAdvertising": z.boolean().optional(),
|
|
989
|
+
});
|
|
990
|
+
export const MessagingPrebuiltGetDefaultOptionsOutputProtoSchema = z.object({
|
|
991
|
+
defaultOptions: z.lazy(() => MessagingDefaultOptionsProtoSchema).optional(),
|
|
992
|
+
});
|
|
993
|
+
export const AlfTaskMemoryDefinitionProtoSchema = z.object({
|
|
994
|
+
name: z.string().optional(),
|
|
995
|
+
type: z.string().optional(),
|
|
996
|
+
description: z.string().optional(),
|
|
997
|
+
});
|
|
998
|
+
export const AlfTaskWorkflowNodeProtoSchema = z.object({
|
|
999
|
+
id: z.string().optional(),
|
|
1000
|
+
type: z.string().optional(),
|
|
1001
|
+
config: z.record(z.string(), z.any()).optional(),
|
|
1002
|
+
next: z.string().optional(),
|
|
1003
|
+
});
|
|
1004
|
+
export const AlfTaskPredefinedTaskProtoSchema = z.object({
|
|
1005
|
+
version: z.string().optional(),
|
|
1006
|
+
name: z.string().optional(),
|
|
1007
|
+
trigger: z.string().optional(),
|
|
1008
|
+
memorySchema: z.array(z.lazy(() => AlfTaskMemoryDefinitionProtoSchema)).optional(),
|
|
1009
|
+
nodes: z.array(z.lazy(() => AlfTaskWorkflowNodeProtoSchema)).optional(),
|
|
1010
|
+
startNodeId: z.string().optional(),
|
|
1011
|
+
});
|
|
1012
|
+
export const AlfTaskGetTasksInputProtoSchema = z.object({
|
|
1013
|
+
version: z.string().optional(),
|
|
1014
|
+
});
|
|
1015
|
+
export const AlfTaskGetTasksOutputProtoSchema = z.object({
|
|
1016
|
+
predefinedTasks: z.array(z.lazy(() => AlfTaskPredefinedTaskProtoSchema)).optional(),
|
|
1017
|
+
});
|
|
1018
|
+
//# sourceMappingURL=extension.zod.js.map
|