@wise/dynamic-flow-types 3.6.3 → 3.7.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/build/main.js +78 -28
- package/build/main.mjs +78 -28
- package/build/next/feature/SuggestionsValue.d.ts +4 -0
- package/build/next/layout/AlertLayout.d.ts +4 -0
- package/build/next/layout/BoxLayout.d.ts +4 -0
- package/build/next/layout/ButtonLayout.d.ts +4 -0
- package/build/next/layout/ColumnsLayout.d.ts +4 -0
- package/build/next/layout/DecisionLayout.d.ts +4 -0
- package/build/next/layout/DecisionLayoutOption.d.ts +4 -0
- package/build/next/layout/DividerLayout.d.ts +4 -0
- package/build/next/layout/FormLayout.d.ts +4 -0
- package/build/next/layout/HeadingLayout.d.ts +4 -0
- package/build/next/layout/ImageLayout.d.ts +4 -0
- package/build/next/layout/InfoLayout.d.ts +4 -0
- package/build/next/layout/InstructionsLayout.d.ts +4 -0
- package/build/next/layout/InstructionsLayoutItem.d.ts +4 -0
- package/build/next/layout/ListLayout.d.ts +4 -0
- package/build/next/layout/ListLayoutItem.d.ts +4 -0
- package/build/next/layout/LoadingIndicatorLayout.d.ts +4 -0
- package/build/next/layout/MarkdownLayout.d.ts +4 -0
- package/build/next/layout/ModalLayout.d.ts +4 -0
- package/build/next/layout/ParagraphLayout.d.ts +4 -0
- package/build/next/layout/ReviewLayout.d.ts +4 -0
- package/build/next/layout/ReviewLayoutField.d.ts +4 -0
- package/build/next/layout/SearchLayout.d.ts +4 -0
- package/build/next/layout/SectionLayout.d.ts +4 -0
- package/build/next/layout/StatusListLayout.d.ts +4 -0
- package/build/next/layout/StatusListLayoutItem.d.ts +4 -0
- package/build/next/layout/TabsLayout.d.ts +4 -0
- package/build/next/layout/TabsLayoutTab.d.ts +4 -0
- package/build/next/misc/media/AvatarContent.d.ts +6 -0
- package/build/next/misc/media/AvatarTextContent.d.ts +17 -0
- package/build/next/misc/media/AvatarUriContent.d.ts +17 -0
- package/build/next/misc/media/Media.d.ts +6 -0
- package/build/next/misc/media/MediaAvatar.d.ts +18 -0
- package/build/next/misc/media/MediaImage.d.ts +17 -0
- package/build/renderers/DecisionRendererProps.d.ts +1 -0
- package/build/renderers/ListRendererProps.d.ts +1 -0
- package/build/renderers/RendererProps.d.ts +1 -0
- package/build/renderers/ReviewRendererProps.d.ts +1 -0
- package/build/zod/schemas.d.ts +228 -0
- package/build/zod/schemas.ts +56 -0
- package/package.json +1 -1
package/build/zod/schemas.d.ts
CHANGED
|
@@ -68,19 +68,61 @@ export declare const iconSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
68
68
|
}, {
|
|
69
69
|
text: string;
|
|
70
70
|
}>]>;
|
|
71
|
+
export declare const mediaImageSchema: z.ZodObject<{
|
|
72
|
+
type: z.ZodLiteral<"image">;
|
|
73
|
+
uri: z.ZodString;
|
|
74
|
+
accessibilityDescription: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
type: "image";
|
|
77
|
+
uri: string;
|
|
78
|
+
accessibilityDescription?: string | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
type: "image";
|
|
81
|
+
uri: string;
|
|
82
|
+
accessibilityDescription?: string | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
export declare const avatarUriContentSchema: z.ZodObject<{
|
|
85
|
+
type: z.ZodLiteral<"uri">;
|
|
86
|
+
uri: z.ZodString;
|
|
87
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
type: "uri";
|
|
90
|
+
uri: string;
|
|
91
|
+
badgeUri?: string | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
type: "uri";
|
|
94
|
+
uri: string;
|
|
95
|
+
badgeUri?: string | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const avatarTextContentSchema: z.ZodObject<{
|
|
98
|
+
type: z.ZodLiteral<"text">;
|
|
99
|
+
text: z.ZodString;
|
|
100
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
type: "text";
|
|
103
|
+
text: string;
|
|
104
|
+
badgeUri?: string | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
type: "text";
|
|
107
|
+
text: string;
|
|
108
|
+
badgeUri?: string | undefined;
|
|
109
|
+
}>;
|
|
71
110
|
export declare const autocompleteTokenSchema: z.ZodUnion<[z.ZodLiteral<"on">, z.ZodLiteral<"name">, z.ZodLiteral<"name-prefix">, z.ZodLiteral<"given-name">, z.ZodLiteral<"additional-name">, z.ZodLiteral<"family-name">, z.ZodLiteral<"name-suffix">, z.ZodLiteral<"nickname">, z.ZodLiteral<"email">, z.ZodLiteral<"username">, z.ZodLiteral<"new-username">, z.ZodLiteral<"new-password">, z.ZodLiteral<"password">, z.ZodLiteral<"one-time-code">, z.ZodLiteral<"job-title">, z.ZodLiteral<"organization-name">, z.ZodLiteral<"full-street-address">, z.ZodLiteral<"street-address-line-1">, z.ZodLiteral<"street-address-line-2">, z.ZodLiteral<"street-address-line-3">, z.ZodLiteral<"address-level-1">, z.ZodLiteral<"address-level-2">, z.ZodLiteral<"address-level-3">, z.ZodLiteral<"address-level-4">, z.ZodLiteral<"country-code">, z.ZodLiteral<"country-name">, z.ZodLiteral<"postal-code">, z.ZodLiteral<"credit-card-name">, z.ZodLiteral<"credit-card-given-name">, z.ZodLiteral<"credit-card-middle-name">, z.ZodLiteral<"credit-card-family-name">, z.ZodLiteral<"credit-card-number">, z.ZodLiteral<"credit-card-expiration">, z.ZodLiteral<"credit-card-expiration-month">, z.ZodLiteral<"credit-card-expiration-year">, z.ZodLiteral<"credit-card-security-code">, z.ZodLiteral<"credit-card-type">, z.ZodLiteral<"transaction-currency">, z.ZodLiteral<"transaction-amount">, z.ZodLiteral<"language">, z.ZodLiteral<"birthdate">, z.ZodLiteral<"birthdate-day">, z.ZodLiteral<"birthdate-month">, z.ZodLiteral<"birthdate-year">, z.ZodLiteral<"gender">, z.ZodLiteral<"phone-number">, z.ZodLiteral<"phone-country-code">, z.ZodLiteral<"phone-national">, z.ZodLiteral<"phone-area-code">, z.ZodLiteral<"phone-local">, z.ZodLiteral<"phone-local-prefix">, z.ZodLiteral<"phone-local-suffix">, z.ZodLiteral<"phone-extension">, z.ZodLiteral<"url">, z.ZodLiteral<"photo">, z.ZodLiteral<"impp">, z.ZodLiteral<"shipping">, z.ZodLiteral<"billing">, z.ZodLiteral<"home">, z.ZodLiteral<"work">, z.ZodLiteral<"mobile">, z.ZodLiteral<"fax">, z.ZodLiteral<"pager">]>;
|
|
72
111
|
export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
|
|
73
112
|
type: z.ZodLiteral<"loading-indicator">;
|
|
74
113
|
size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
75
114
|
control: z.ZodOptional<z.ZodString>;
|
|
76
115
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
116
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
77
117
|
}, "strip", z.ZodTypeAny, {
|
|
78
118
|
type: "loading-indicator";
|
|
119
|
+
analyticsId?: string | undefined;
|
|
79
120
|
control?: string | undefined;
|
|
80
121
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
81
122
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
82
123
|
}, {
|
|
83
124
|
type: "loading-indicator";
|
|
125
|
+
analyticsId?: string | undefined;
|
|
84
126
|
control?: string | undefined;
|
|
85
127
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
86
128
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
@@ -91,15 +133,18 @@ export declare const paragraphLayoutSchema: z.ZodObject<{
|
|
|
91
133
|
align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
|
|
92
134
|
control: z.ZodOptional<z.ZodString>;
|
|
93
135
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
136
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
94
137
|
}, "strip", z.ZodTypeAny, {
|
|
95
138
|
type: "paragraph";
|
|
96
139
|
text: string;
|
|
140
|
+
analyticsId?: string | undefined;
|
|
97
141
|
control?: string | undefined;
|
|
98
142
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
99
143
|
align?: "left" | "right" | "center" | undefined;
|
|
100
144
|
}, {
|
|
101
145
|
type: "paragraph";
|
|
102
146
|
text: string;
|
|
147
|
+
analyticsId?: string | undefined;
|
|
103
148
|
control?: string | undefined;
|
|
104
149
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
105
150
|
align?: "left" | "right" | "center" | undefined;
|
|
@@ -108,12 +153,15 @@ export declare const dividerLayoutSchema: z.ZodObject<{
|
|
|
108
153
|
type: z.ZodLiteral<"divider">;
|
|
109
154
|
control: z.ZodOptional<z.ZodString>;
|
|
110
155
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
156
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
111
157
|
}, "strip", z.ZodTypeAny, {
|
|
112
158
|
type: "divider";
|
|
159
|
+
analyticsId?: string | undefined;
|
|
113
160
|
control?: string | undefined;
|
|
114
161
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
115
162
|
}, {
|
|
116
163
|
type: "divider";
|
|
164
|
+
analyticsId?: string | undefined;
|
|
117
165
|
control?: string | undefined;
|
|
118
166
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
119
167
|
}>;
|
|
@@ -150,9 +198,11 @@ export declare const imageLayoutSchema: z.ZodObject<{
|
|
|
150
198
|
control: z.ZodOptional<z.ZodString>;
|
|
151
199
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
152
200
|
align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
|
|
201
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
153
202
|
}, "strip", z.ZodTypeAny, {
|
|
154
203
|
type: "image";
|
|
155
204
|
url?: string | undefined;
|
|
205
|
+
analyticsId?: string | undefined;
|
|
156
206
|
control?: string | undefined;
|
|
157
207
|
text?: string | undefined;
|
|
158
208
|
accessibilityDescription?: string | undefined;
|
|
@@ -168,6 +218,7 @@ export declare const imageLayoutSchema: z.ZodObject<{
|
|
|
168
218
|
}, {
|
|
169
219
|
type: "image";
|
|
170
220
|
url?: string | undefined;
|
|
221
|
+
analyticsId?: string | undefined;
|
|
171
222
|
control?: string | undefined;
|
|
172
223
|
text?: string | undefined;
|
|
173
224
|
accessibilityDescription?: string | undefined;
|
|
@@ -186,13 +237,16 @@ export declare const instructionsLayoutItemSchema: z.ZodObject<{
|
|
|
186
237
|
text: z.ZodString;
|
|
187
238
|
context: z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>;
|
|
188
239
|
tag: z.ZodOptional<z.ZodString>;
|
|
240
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
189
241
|
}, "strip", z.ZodTypeAny, {
|
|
190
242
|
text: string;
|
|
191
243
|
context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
|
|
244
|
+
analyticsId?: string | undefined;
|
|
192
245
|
tag?: string | undefined;
|
|
193
246
|
}, {
|
|
194
247
|
text: string;
|
|
195
248
|
context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
|
|
249
|
+
analyticsId?: string | undefined;
|
|
196
250
|
tag?: string | undefined;
|
|
197
251
|
}>;
|
|
198
252
|
export declare const modalLayoutTriggerSchema: z.ZodObject<{
|
|
@@ -211,12 +265,14 @@ export declare const searchLayoutSchema: z.ZodObject<{
|
|
|
211
265
|
emptyMessage: z.ZodOptional<z.ZodString>;
|
|
212
266
|
control: z.ZodOptional<z.ZodString>;
|
|
213
267
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
268
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
214
269
|
}, "strip", z.ZodTypeAny, {
|
|
215
270
|
url: string;
|
|
216
271
|
type: "search";
|
|
217
272
|
title: string;
|
|
218
273
|
method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
|
|
219
274
|
param: string;
|
|
275
|
+
analyticsId?: string | undefined;
|
|
220
276
|
control?: string | undefined;
|
|
221
277
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
222
278
|
emptyMessage?: string | undefined;
|
|
@@ -226,6 +282,7 @@ export declare const searchLayoutSchema: z.ZodObject<{
|
|
|
226
282
|
title: string;
|
|
227
283
|
method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
|
|
228
284
|
param: string;
|
|
285
|
+
analyticsId?: string | undefined;
|
|
229
286
|
control?: string | undefined;
|
|
230
287
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
231
288
|
emptyMessage?: string | undefined;
|
|
@@ -236,15 +293,18 @@ export declare const infoLayoutSchema: z.ZodObject<{
|
|
|
236
293
|
align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
|
|
237
294
|
control: z.ZodOptional<z.ZodString>;
|
|
238
295
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
296
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
239
297
|
}, "strip", z.ZodTypeAny, {
|
|
240
298
|
type: "info";
|
|
241
299
|
markdown: string;
|
|
300
|
+
analyticsId?: string | undefined;
|
|
242
301
|
control?: string | undefined;
|
|
243
302
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
244
303
|
align?: "left" | "right" | "center" | undefined;
|
|
245
304
|
}, {
|
|
246
305
|
type: "info";
|
|
247
306
|
markdown: string;
|
|
307
|
+
analyticsId?: string | undefined;
|
|
248
308
|
control?: string | undefined;
|
|
249
309
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
250
310
|
align?: "left" | "right" | "center" | undefined;
|
|
@@ -261,9 +321,11 @@ export declare const formLayoutSchema: z.ZodObject<{
|
|
|
261
321
|
schemaId: z.ZodString;
|
|
262
322
|
control: z.ZodOptional<z.ZodString>;
|
|
263
323
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
324
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
264
325
|
}, "strip", z.ZodTypeAny, {
|
|
265
326
|
type: "form";
|
|
266
327
|
schemaId: string;
|
|
328
|
+
analyticsId?: string | undefined;
|
|
267
329
|
control?: string | undefined;
|
|
268
330
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
269
331
|
schema?: {
|
|
@@ -272,6 +334,7 @@ export declare const formLayoutSchema: z.ZodObject<{
|
|
|
272
334
|
}, {
|
|
273
335
|
type: "form";
|
|
274
336
|
schemaId: string;
|
|
337
|
+
analyticsId?: string | undefined;
|
|
275
338
|
control?: string | undefined;
|
|
276
339
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
277
340
|
schema?: {
|
|
@@ -285,9 +348,11 @@ export declare const headingLayoutSchema: z.ZodObject<{
|
|
|
285
348
|
align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
|
|
286
349
|
control: z.ZodOptional<z.ZodString>;
|
|
287
350
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
351
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
288
352
|
}, "strip", z.ZodTypeAny, {
|
|
289
353
|
type: "heading";
|
|
290
354
|
text: string;
|
|
355
|
+
analyticsId?: string | undefined;
|
|
291
356
|
control?: string | undefined;
|
|
292
357
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
293
358
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
@@ -295,6 +360,7 @@ export declare const headingLayoutSchema: z.ZodObject<{
|
|
|
295
360
|
}, {
|
|
296
361
|
type: "heading";
|
|
297
362
|
text: string;
|
|
363
|
+
analyticsId?: string | undefined;
|
|
298
364
|
control?: string | undefined;
|
|
299
365
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
300
366
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
@@ -306,15 +372,18 @@ export declare const markdownLayoutSchema: z.ZodObject<{
|
|
|
306
372
|
align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
|
|
307
373
|
control: z.ZodOptional<z.ZodString>;
|
|
308
374
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
375
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
309
376
|
}, "strip", z.ZodTypeAny, {
|
|
310
377
|
type: "markdown";
|
|
311
378
|
content: string;
|
|
379
|
+
analyticsId?: string | undefined;
|
|
312
380
|
control?: string | undefined;
|
|
313
381
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
314
382
|
align?: "left" | "right" | "center" | undefined;
|
|
315
383
|
}, {
|
|
316
384
|
type: "markdown";
|
|
317
385
|
content: string;
|
|
386
|
+
analyticsId?: string | undefined;
|
|
318
387
|
control?: string | undefined;
|
|
319
388
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
320
389
|
align?: "left" | "right" | "center" | undefined;
|
|
@@ -498,6 +567,7 @@ export declare const suggestionsValueSchema: z.ZodObject<{
|
|
|
498
567
|
accessibilityDescription?: string | undefined;
|
|
499
568
|
}>>;
|
|
500
569
|
tag: z.ZodOptional<z.ZodString>;
|
|
570
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
501
571
|
}, "strip", z.ZodTypeAny, {
|
|
502
572
|
value: JsonElement;
|
|
503
573
|
label: string;
|
|
@@ -507,6 +577,7 @@ export declare const suggestionsValueSchema: z.ZodObject<{
|
|
|
507
577
|
uri?: string | undefined;
|
|
508
578
|
accessibilityDescription?: string | undefined;
|
|
509
579
|
} | undefined;
|
|
580
|
+
analyticsId?: string | undefined;
|
|
510
581
|
icon?: {
|
|
511
582
|
name: string;
|
|
512
583
|
} | {
|
|
@@ -522,6 +593,7 @@ export declare const suggestionsValueSchema: z.ZodObject<{
|
|
|
522
593
|
uri?: string | undefined;
|
|
523
594
|
accessibilityDescription?: string | undefined;
|
|
524
595
|
} | undefined;
|
|
596
|
+
analyticsId?: string | undefined;
|
|
525
597
|
icon?: {
|
|
526
598
|
name: string;
|
|
527
599
|
} | {
|
|
@@ -650,6 +722,31 @@ export declare const linkSchema: z.ZodObject<{
|
|
|
650
722
|
}, {
|
|
651
723
|
url: string;
|
|
652
724
|
}>;
|
|
725
|
+
export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
|
|
726
|
+
type: z.ZodLiteral<"text">;
|
|
727
|
+
text: z.ZodString;
|
|
728
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
729
|
+
}, "strip", z.ZodTypeAny, {
|
|
730
|
+
type: "text";
|
|
731
|
+
text: string;
|
|
732
|
+
badgeUri?: string | undefined;
|
|
733
|
+
}, {
|
|
734
|
+
type: "text";
|
|
735
|
+
text: string;
|
|
736
|
+
badgeUri?: string | undefined;
|
|
737
|
+
}>, z.ZodObject<{
|
|
738
|
+
type: z.ZodLiteral<"uri">;
|
|
739
|
+
uri: z.ZodString;
|
|
740
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
741
|
+
}, "strip", z.ZodTypeAny, {
|
|
742
|
+
type: "uri";
|
|
743
|
+
uri: string;
|
|
744
|
+
badgeUri?: string | undefined;
|
|
745
|
+
}, {
|
|
746
|
+
type: "uri";
|
|
747
|
+
uri: string;
|
|
748
|
+
badgeUri?: string | undefined;
|
|
749
|
+
}>]>;
|
|
653
750
|
export declare const actionSchema: z.ZodObject<{
|
|
654
751
|
title: z.ZodOptional<z.ZodString>;
|
|
655
752
|
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
|
|
@@ -700,24 +797,30 @@ export declare const instructionsLayoutSchema: z.ZodObject<{
|
|
|
700
797
|
text: z.ZodString;
|
|
701
798
|
context: z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>;
|
|
702
799
|
tag: z.ZodOptional<z.ZodString>;
|
|
800
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
703
801
|
}, "strip", z.ZodTypeAny, {
|
|
704
802
|
text: string;
|
|
705
803
|
context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
|
|
804
|
+
analyticsId?: string | undefined;
|
|
706
805
|
tag?: string | undefined;
|
|
707
806
|
}, {
|
|
708
807
|
text: string;
|
|
709
808
|
context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
|
|
809
|
+
analyticsId?: string | undefined;
|
|
710
810
|
tag?: string | undefined;
|
|
711
811
|
}>, "many">;
|
|
712
812
|
control: z.ZodOptional<z.ZodString>;
|
|
713
813
|
margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
|
|
814
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
714
815
|
}, "strip", z.ZodTypeAny, {
|
|
715
816
|
type: "instructions";
|
|
716
817
|
items: {
|
|
717
818
|
text: string;
|
|
718
819
|
context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
|
|
820
|
+
analyticsId?: string | undefined;
|
|
719
821
|
tag?: string | undefined;
|
|
720
822
|
}[];
|
|
823
|
+
analyticsId?: string | undefined;
|
|
721
824
|
title?: string | undefined;
|
|
722
825
|
control?: string | undefined;
|
|
723
826
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
@@ -726,8 +829,10 @@ export declare const instructionsLayoutSchema: z.ZodObject<{
|
|
|
726
829
|
items: {
|
|
727
830
|
text: string;
|
|
728
831
|
context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
|
|
832
|
+
analyticsId?: string | undefined;
|
|
729
833
|
tag?: string | undefined;
|
|
730
834
|
}[];
|
|
835
|
+
analyticsId?: string | undefined;
|
|
731
836
|
title?: string | undefined;
|
|
732
837
|
control?: string | undefined;
|
|
733
838
|
margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
@@ -1091,6 +1196,7 @@ export declare const suggestionsSchema: z.ZodObject<{
|
|
|
1091
1196
|
accessibilityDescription?: string | undefined;
|
|
1092
1197
|
}>>;
|
|
1093
1198
|
tag: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
analyticsId: z.ZodOptional<z.ZodString>;
|
|
1094
1200
|
}, "strip", z.ZodTypeAny, {
|
|
1095
1201
|
value: JsonElement;
|
|
1096
1202
|
label: string;
|
|
@@ -1100,6 +1206,7 @@ export declare const suggestionsSchema: z.ZodObject<{
|
|
|
1100
1206
|
uri?: string | undefined;
|
|
1101
1207
|
accessibilityDescription?: string | undefined;
|
|
1102
1208
|
} | undefined;
|
|
1209
|
+
analyticsId?: string | undefined;
|
|
1103
1210
|
icon?: {
|
|
1104
1211
|
name: string;
|
|
1105
1212
|
} | {
|
|
@@ -1115,6 +1222,7 @@ export declare const suggestionsSchema: z.ZodObject<{
|
|
|
1115
1222
|
uri?: string | undefined;
|
|
1116
1223
|
accessibilityDescription?: string | undefined;
|
|
1117
1224
|
} | undefined;
|
|
1225
|
+
analyticsId?: string | undefined;
|
|
1118
1226
|
icon?: {
|
|
1119
1227
|
name: string;
|
|
1120
1228
|
} | {
|
|
@@ -1132,6 +1240,7 @@ export declare const suggestionsSchema: z.ZodObject<{
|
|
|
1132
1240
|
uri?: string | undefined;
|
|
1133
1241
|
accessibilityDescription?: string | undefined;
|
|
1134
1242
|
} | undefined;
|
|
1243
|
+
analyticsId?: string | undefined;
|
|
1135
1244
|
icon?: {
|
|
1136
1245
|
name: string;
|
|
1137
1246
|
} | {
|
|
@@ -1149,6 +1258,7 @@ export declare const suggestionsSchema: z.ZodObject<{
|
|
|
1149
1258
|
uri?: string | undefined;
|
|
1150
1259
|
accessibilityDescription?: string | undefined;
|
|
1151
1260
|
} | undefined;
|
|
1261
|
+
analyticsId?: string | undefined;
|
|
1152
1262
|
icon?: {
|
|
1153
1263
|
name: string;
|
|
1154
1264
|
} | {
|
|
@@ -1407,6 +1517,124 @@ export declare const containerBehaviorSchema: z.ZodObject<{
|
|
|
1407
1517
|
url: string;
|
|
1408
1518
|
} | undefined;
|
|
1409
1519
|
}>;
|
|
1520
|
+
export declare const mediaAvatarSchema: z.ZodObject<{
|
|
1521
|
+
type: z.ZodLiteral<"avatar">;
|
|
1522
|
+
content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1523
|
+
type: z.ZodLiteral<"text">;
|
|
1524
|
+
text: z.ZodString;
|
|
1525
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
}, "strip", z.ZodTypeAny, {
|
|
1527
|
+
type: "text";
|
|
1528
|
+
text: string;
|
|
1529
|
+
badgeUri?: string | undefined;
|
|
1530
|
+
}, {
|
|
1531
|
+
type: "text";
|
|
1532
|
+
text: string;
|
|
1533
|
+
badgeUri?: string | undefined;
|
|
1534
|
+
}>, z.ZodObject<{
|
|
1535
|
+
type: z.ZodLiteral<"uri">;
|
|
1536
|
+
uri: z.ZodString;
|
|
1537
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
}, "strip", z.ZodTypeAny, {
|
|
1539
|
+
type: "uri";
|
|
1540
|
+
uri: string;
|
|
1541
|
+
badgeUri?: string | undefined;
|
|
1542
|
+
}, {
|
|
1543
|
+
type: "uri";
|
|
1544
|
+
uri: string;
|
|
1545
|
+
badgeUri?: string | undefined;
|
|
1546
|
+
}>]>, "many">;
|
|
1547
|
+
accessibilityDescription: z.ZodOptional<z.ZodString>;
|
|
1548
|
+
}, "strip", z.ZodTypeAny, {
|
|
1549
|
+
type: "avatar";
|
|
1550
|
+
content: ({
|
|
1551
|
+
type: "uri";
|
|
1552
|
+
uri: string;
|
|
1553
|
+
badgeUri?: string | undefined;
|
|
1554
|
+
} | {
|
|
1555
|
+
type: "text";
|
|
1556
|
+
text: string;
|
|
1557
|
+
badgeUri?: string | undefined;
|
|
1558
|
+
})[];
|
|
1559
|
+
accessibilityDescription?: string | undefined;
|
|
1560
|
+
}, {
|
|
1561
|
+
type: "avatar";
|
|
1562
|
+
content: ({
|
|
1563
|
+
type: "uri";
|
|
1564
|
+
uri: string;
|
|
1565
|
+
badgeUri?: string | undefined;
|
|
1566
|
+
} | {
|
|
1567
|
+
type: "text";
|
|
1568
|
+
text: string;
|
|
1569
|
+
badgeUri?: string | undefined;
|
|
1570
|
+
})[];
|
|
1571
|
+
accessibilityDescription?: string | undefined;
|
|
1572
|
+
}>;
|
|
1573
|
+
export declare const mediaSchema: z.ZodUnion<[z.ZodObject<{
|
|
1574
|
+
type: z.ZodLiteral<"avatar">;
|
|
1575
|
+
content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1576
|
+
type: z.ZodLiteral<"text">;
|
|
1577
|
+
text: z.ZodString;
|
|
1578
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
}, "strip", z.ZodTypeAny, {
|
|
1580
|
+
type: "text";
|
|
1581
|
+
text: string;
|
|
1582
|
+
badgeUri?: string | undefined;
|
|
1583
|
+
}, {
|
|
1584
|
+
type: "text";
|
|
1585
|
+
text: string;
|
|
1586
|
+
badgeUri?: string | undefined;
|
|
1587
|
+
}>, z.ZodObject<{
|
|
1588
|
+
type: z.ZodLiteral<"uri">;
|
|
1589
|
+
uri: z.ZodString;
|
|
1590
|
+
badgeUri: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
}, "strip", z.ZodTypeAny, {
|
|
1592
|
+
type: "uri";
|
|
1593
|
+
uri: string;
|
|
1594
|
+
badgeUri?: string | undefined;
|
|
1595
|
+
}, {
|
|
1596
|
+
type: "uri";
|
|
1597
|
+
uri: string;
|
|
1598
|
+
badgeUri?: string | undefined;
|
|
1599
|
+
}>]>, "many">;
|
|
1600
|
+
accessibilityDescription: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
|
+
type: "avatar";
|
|
1603
|
+
content: ({
|
|
1604
|
+
type: "uri";
|
|
1605
|
+
uri: string;
|
|
1606
|
+
badgeUri?: string | undefined;
|
|
1607
|
+
} | {
|
|
1608
|
+
type: "text";
|
|
1609
|
+
text: string;
|
|
1610
|
+
badgeUri?: string | undefined;
|
|
1611
|
+
})[];
|
|
1612
|
+
accessibilityDescription?: string | undefined;
|
|
1613
|
+
}, {
|
|
1614
|
+
type: "avatar";
|
|
1615
|
+
content: ({
|
|
1616
|
+
type: "uri";
|
|
1617
|
+
uri: string;
|
|
1618
|
+
badgeUri?: string | undefined;
|
|
1619
|
+
} | {
|
|
1620
|
+
type: "text";
|
|
1621
|
+
text: string;
|
|
1622
|
+
badgeUri?: string | undefined;
|
|
1623
|
+
})[];
|
|
1624
|
+
accessibilityDescription?: string | undefined;
|
|
1625
|
+
}>, z.ZodObject<{
|
|
1626
|
+
type: z.ZodLiteral<"image">;
|
|
1627
|
+
uri: z.ZodString;
|
|
1628
|
+
accessibilityDescription: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
|
+
type: "image";
|
|
1631
|
+
uri: string;
|
|
1632
|
+
accessibilityDescription?: string | undefined;
|
|
1633
|
+
}, {
|
|
1634
|
+
type: "image";
|
|
1635
|
+
uri: string;
|
|
1636
|
+
accessibilityDescription?: string | undefined;
|
|
1637
|
+
}>]>;
|
|
1410
1638
|
export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
1411
1639
|
type: z.ZodLiteral<"action">;
|
|
1412
1640
|
title: z.ZodString;
|