@wise/dynamic-flow-types 3.9.0-experimental-189acbd → 3.10.0-experimental-5de9758

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.
Files changed (40) hide show
  1. package/build/main.js +704 -663
  2. package/build/main.mjs +704 -663
  3. package/build/next/feature/SuggestionsValue.d.ts +5 -0
  4. package/build/next/feature/SummaryProvider.d.ts +4 -0
  5. package/build/next/feature/SummarySummariser.d.ts +9 -0
  6. package/build/next/feature/toolbar/Toolbar.d.ts +14 -0
  7. package/build/next/feature/toolbar/ToolbarButton.d.ts +41 -0
  8. package/build/next/feature/toolbar/ToolbarItem.d.ts +2 -0
  9. package/build/next/index.d.ts +4 -0
  10. package/build/next/layout/DecisionLayoutOption.d.ts +5 -0
  11. package/build/next/layout/ListLayoutItem.d.ts +5 -0
  12. package/build/next/layout/ReviewLayoutField.d.ts +7 -2
  13. package/build/next/responses/search/SearchResultAction.d.ts +5 -0
  14. package/build/next/responses/search/SearchResultSearch.d.ts +5 -0
  15. package/build/next/schema/AllOfSchema.d.ts +7 -2
  16. package/build/next/schema/ArraySchemaList.d.ts +7 -2
  17. package/build/next/schema/ArraySchemaTuple.d.ts +7 -2
  18. package/build/next/schema/BlobSchema.d.ts +7 -2
  19. package/build/next/schema/BooleanSchema.d.ts +7 -2
  20. package/build/next/schema/ConstSchema.d.ts +7 -2
  21. package/build/next/schema/IntegerSchema.d.ts +7 -2
  22. package/build/next/schema/NumberSchema.d.ts +7 -2
  23. package/build/next/schema/ObjectSchema.d.ts +7 -2
  24. package/build/next/schema/OneOfSchema.d.ts +7 -2
  25. package/build/next/schema/StringSchema.d.ts +6 -0
  26. package/build/next/step/Step.d.ts +6 -0
  27. package/build/renderers/BaseInputRendererProps.d.ts +2 -0
  28. package/build/renderers/DecisionRendererProps.d.ts +2 -0
  29. package/build/renderers/FormSectionRendererProps.d.ts +2 -0
  30. package/build/renderers/ListRendererProps.d.ts +2 -0
  31. package/build/renderers/Media.d.ts +28 -0
  32. package/build/renderers/RepeatableRendererProps.d.ts +3 -0
  33. package/build/renderers/ReviewRendererProps.d.ts +2 -0
  34. package/build/renderers/SearchRendererProps.d.ts +2 -0
  35. package/build/renderers/SelectInputRendererProps.d.ts +2 -0
  36. package/build/renderers/Suggestions.d.ts +2 -0
  37. package/build/renderers/index.d.ts +2 -0
  38. package/build/zod/schemas.d.ts +2044 -937
  39. package/build/zod/schemas.ts +780 -733
  40. package/package.json +2 -2
@@ -1,24 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { JsonElement, Step, Schema, Layout, Polling, LinkHandler, ModalResponseBody, ModalBehavior, PersistAsync, Behavior, PollingOnError, AdditionalInfo, StatusListLayout, StatusListLayoutItem, DecisionLayout, DecisionLayoutOption, ReviewLayoutField, ReviewLayoutCallToAction, ColumnsLayout, ButtonLayout, SectionLayout, SectionLayoutCallToAction, ListLayoutCallToAction, TabsLayoutTab, ModalLayout, ModalLayoutContent, TabsLayout, ListLayoutItem, ItemCallToAction, ListLayout, AlertLayout, BoxLayout, ReviewLayout, AlertLayoutCallToAction, ObjectSchema, BlobSchema, AllOfSchema, ArraySchema, BooleanSchema, ConstSchema, IntegerSchema, NumberSchema, OneOfSchema, StringSchema, ArraySchemaList, ArraySchemaTuple } from '../next';
3
- export declare const jsonElementSchema: z.ZodSchema<JsonElement>;
4
- export declare const externalSchema: z.ZodObject<{
5
- url: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- url: string;
8
- }, {
9
- url: string;
10
- }>;
11
- export declare const stepErrorSchema: z.ZodObject<{
12
- error: z.ZodOptional<z.ZodString>;
13
- validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
14
- }, "strip", z.ZodTypeAny, {
15
- validation?: JsonElement | undefined;
16
- error?: string | undefined;
17
- }, {
18
- validation?: JsonElement | undefined;
19
- error?: string | undefined;
20
- }>;
21
- export declare const httpMethodSchema: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
2
+ import type { JsonElement, AllOfSchema, Schema, AlertLayout, StringSchema, PersistAsync, Behavior, IntegerSchema, ArraySchemaTuple, OneOfSchema, ConstSchema, ArraySchema, BlobSchema, BooleanSchema, NumberSchema, ObjectSchema, ArraySchemaList, ModalResponseBody, Layout, ToolbarItem, ToolbarButton, Toolbar, ModalBehavior, Polling, PollingOnError, LinkHandler, Step, StatusListLayout, StatusListLayoutItem, TabsLayoutTab, ListLayoutItem, AdditionalInfo, ColumnsLayout, DecisionLayout, DecisionLayoutOption, AlertLayoutCallToAction, ReviewLayoutCallToAction, SectionLayoutCallToAction, ReviewLayout, ReviewLayoutField, BoxLayout, ButtonLayout, ListLayout, ModalLayout, SectionLayout, TabsLayout, ModalLayoutContent, ItemCallToAction, ListLayoutCallToAction } from '../next';
22
3
  export declare const imageSchema: z.ZodObject<{
23
4
  text: z.ZodOptional<z.ZodString>;
24
5
  url: z.ZodOptional<z.ZodString>;
@@ -35,6 +16,38 @@ export declare const imageSchema: z.ZodObject<{
35
16
  uri?: string | undefined;
36
17
  accessibilityDescription?: string | undefined;
37
18
  }>;
19
+ export declare const summaryProviderSchema: z.ZodObject<{
20
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
21
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
22
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
23
+ providesImage: z.ZodOptional<z.ZodBoolean>;
24
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ providesTitle?: boolean | undefined;
27
+ providesDescription?: boolean | undefined;
28
+ providesIcon?: boolean | undefined;
29
+ providesImage?: boolean | undefined;
30
+ providesMedia?: boolean | undefined;
31
+ }, {
32
+ providesTitle?: boolean | undefined;
33
+ providesDescription?: boolean | undefined;
34
+ providesIcon?: boolean | undefined;
35
+ providesImage?: boolean | undefined;
36
+ providesMedia?: boolean | undefined;
37
+ }>;
38
+ export declare const stringSchemaFormatSchema: z.ZodUnion<[z.ZodLiteral<"date">, z.ZodLiteral<"email">, z.ZodLiteral<"numeric">, z.ZodLiteral<"password">, z.ZodLiteral<"phone-number">, z.ZodLiteral<"base64url">]>;
39
+ export declare const autocapitalizationTypeSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"characters">, z.ZodLiteral<"sentences">, z.ZodLiteral<"words">]>;
40
+ export declare const jsonElementSchema: z.ZodSchema<JsonElement>;
41
+ export declare const uploadSourceSchema: z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>;
42
+ 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">]>;
43
+ export declare const helpSchema: z.ZodObject<{
44
+ markdown: z.ZodString;
45
+ }, "strip", z.ZodTypeAny, {
46
+ markdown: string;
47
+ }, {
48
+ markdown: string;
49
+ }>;
50
+ export declare const httpMethodSchema: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
38
51
  export declare const errorResponseBodySchema: z.ZodObject<{
39
52
  refreshFormUrl: z.ZodOptional<z.ZodString>;
40
53
  analytics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -68,21 +81,24 @@ export declare const refreshBehaviorSchema: z.ZodObject<{
68
81
  }, {
69
82
  type: "refresh";
70
83
  }>;
71
- export declare const summaryProviderSchema: z.ZodObject<{
72
- providesTitle: z.ZodOptional<z.ZodBoolean>;
73
- providesDescription: z.ZodOptional<z.ZodBoolean>;
74
- providesIcon: z.ZodOptional<z.ZodBoolean>;
75
- providesImage: z.ZodOptional<z.ZodBoolean>;
84
+ export declare const contextSchema: 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">]>;
85
+ export declare const dismissBehaviorSchema: z.ZodObject<{
86
+ type: z.ZodLiteral<"dismiss">;
76
87
  }, "strip", z.ZodTypeAny, {
77
- providesTitle?: boolean | undefined;
78
- providesDescription?: boolean | undefined;
79
- providesIcon?: boolean | undefined;
80
- providesImage?: boolean | undefined;
88
+ type: "dismiss";
81
89
  }, {
82
- providesTitle?: boolean | undefined;
83
- providesDescription?: boolean | undefined;
84
- providesIcon?: boolean | undefined;
85
- providesImage?: boolean | undefined;
90
+ type: "dismiss";
91
+ }>;
92
+ export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
93
+ export declare const stepErrorSchema: z.ZodObject<{
94
+ error: z.ZodOptional<z.ZodString>;
95
+ validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ validation?: JsonElement | undefined;
98
+ error?: string | undefined;
99
+ }, {
100
+ validation?: JsonElement | undefined;
101
+ error?: string | undefined;
86
102
  }>;
87
103
  export declare const copyBehaviorSchema: z.ZodObject<{
88
104
  type: z.ZodLiteral<"copy">;
@@ -94,13 +110,6 @@ export declare const copyBehaviorSchema: z.ZodObject<{
94
110
  type: "copy";
95
111
  content: string;
96
112
  }>;
97
- export declare const dismissBehaviorSchema: z.ZodObject<{
98
- type: z.ZodLiteral<"dismiss">;
99
- }, "strip", z.ZodTypeAny, {
100
- type: "dismiss";
101
- }, {
102
- type: "dismiss";
103
- }>;
104
113
  export declare const linkBehaviorSchema: z.ZodObject<{
105
114
  type: z.ZodLiteral<"link">;
106
115
  url: z.ZodString;
@@ -111,30 +120,17 @@ export declare const linkBehaviorSchema: z.ZodObject<{
111
120
  url: string;
112
121
  type: "link";
113
122
  }>;
114
- export declare const uploadSourceSchema: z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>;
115
- export declare const helpSchema: z.ZodObject<{
116
- markdown: z.ZodString;
117
- }, "strip", z.ZodTypeAny, {
118
- markdown: string;
119
- }, {
120
- markdown: string;
121
- }>;
122
- export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
123
- export declare const validateAsyncSchema: z.ZodObject<{
124
- param: z.ZodString;
125
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
123
+ export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
124
+ export declare const externalSchema: z.ZodObject<{
126
125
  url: z.ZodString;
127
126
  }, "strip", z.ZodTypeAny, {
128
127
  url: string;
129
- param: string;
130
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
131
128
  }, {
132
129
  url: string;
133
- param: string;
134
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
135
130
  }>;
136
- export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
137
- export declare const contextSchema: 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">]>;
131
+ export declare const sizeSchema: z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>;
132
+ export declare const alignSchema: z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>;
133
+ export declare const listLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"warning">, z.ZodLiteral<"neutral">, z.ZodLiteral<"positive">]>;
138
134
  export declare const supportingValuesSchema: z.ZodObject<{
139
135
  value: z.ZodOptional<z.ZodString>;
140
136
  subvalue: z.ZodOptional<z.ZodString>;
@@ -145,7 +141,6 @@ export declare const supportingValuesSchema: z.ZodObject<{
145
141
  value?: string | undefined;
146
142
  subvalue?: string | undefined;
147
143
  }>;
148
- export declare const alignSchema: z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>;
149
144
  export declare const inlineAlertSchema: z.ZodObject<{
150
145
  content: z.ZodString;
151
146
  context: z.ZodOptional<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">]>>;
@@ -156,114 +151,65 @@ export declare const inlineAlertSchema: z.ZodObject<{
156
151
  content: string;
157
152
  context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
158
153
  }>;
159
- export declare const mediaImageSchema: z.ZodObject<{
154
+ export declare const columnsLayoutBiasSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>;
155
+ export declare const imageLayoutSchema: z.ZodObject<{
160
156
  type: z.ZodLiteral<"image">;
161
- uri: z.ZodString;
157
+ text: z.ZodOptional<z.ZodString>;
158
+ url: z.ZodOptional<z.ZodString>;
162
159
  accessibilityDescription: z.ZodOptional<z.ZodString>;
163
- }, "strip", z.ZodTypeAny, {
164
- type: "image";
165
- uri: string;
166
- accessibilityDescription?: string | undefined;
167
- }, {
168
- type: "image";
169
- uri: string;
170
- accessibilityDescription?: string | undefined;
171
- }>;
172
- export declare const avatarTextContentSchema: z.ZodObject<{
173
- type: z.ZodLiteral<"text">;
174
- text: z.ZodString;
175
- badgeUri: z.ZodOptional<z.ZodString>;
176
- }, "strip", z.ZodTypeAny, {
177
- type: "text";
178
- text: string;
179
- badgeUri?: string | undefined;
180
- }, {
181
- type: "text";
182
- text: string;
183
- badgeUri?: string | undefined;
184
- }>;
185
- export declare const avatarUriContentSchema: z.ZodObject<{
186
- type: z.ZodLiteral<"uri">;
187
- uri: z.ZodString;
188
- badgeUri: z.ZodOptional<z.ZodString>;
189
- }, "strip", z.ZodTypeAny, {
190
- type: "uri";
191
- uri: string;
192
- badgeUri?: string | undefined;
193
- }, {
194
- type: "uri";
195
- uri: string;
196
- badgeUri?: string | undefined;
197
- }>;
198
- export declare const iconTextSchema: z.ZodObject<{
199
- text: z.ZodString;
200
- }, "strip", z.ZodTypeAny, {
201
- text: string;
202
- }, {
203
- text: string;
204
- }>;
205
- 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">]>;
206
- export declare const iconNamedSchema: z.ZodObject<{
207
- name: z.ZodString;
208
- }, "strip", z.ZodTypeAny, {
209
- name: string;
210
- }, {
211
- name: string;
212
- }>;
213
- export declare const autocapitalizationTypeSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"characters">, z.ZodLiteral<"sentences">, z.ZodLiteral<"words">]>;
214
- export declare const sizeSchema: z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>;
215
- export declare const columnsLayoutBiasSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>;
216
- export declare const formLayoutSchemaReferenceSchema: z.ZodObject<{
217
- $ref: z.ZodString;
218
- }, "strip", z.ZodTypeAny, {
219
- $ref: string;
220
- }, {
221
- $ref: string;
222
- }>;
223
- export declare const markdownLayoutSchema: z.ZodObject<{
224
- type: z.ZodLiteral<"markdown">;
225
- content: z.ZodString;
226
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
160
+ content: z.ZodOptional<z.ZodObject<{
161
+ text: z.ZodOptional<z.ZodString>;
162
+ url: z.ZodOptional<z.ZodString>;
163
+ uri: z.ZodOptional<z.ZodString>;
164
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ url?: string | undefined;
167
+ text?: string | undefined;
168
+ uri?: string | undefined;
169
+ accessibilityDescription?: string | undefined;
170
+ }, {
171
+ url?: string | undefined;
172
+ text?: string | undefined;
173
+ uri?: string | undefined;
174
+ accessibilityDescription?: string | undefined;
175
+ }>>;
176
+ size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
227
177
  control: z.ZodOptional<z.ZodString>;
228
178
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
179
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
229
180
  analyticsId: z.ZodOptional<z.ZodString>;
230
181
  }, "strip", z.ZodTypeAny, {
231
- type: "markdown";
232
- content: string;
182
+ type: "image";
183
+ url?: string | undefined;
233
184
  analyticsId?: string | undefined;
234
185
  control?: string | undefined;
235
- align?: "left" | "right" | "center" | undefined;
186
+ text?: string | undefined;
187
+ accessibilityDescription?: string | undefined;
188
+ content?: {
189
+ url?: string | undefined;
190
+ text?: string | undefined;
191
+ uri?: string | undefined;
192
+ accessibilityDescription?: string | undefined;
193
+ } | undefined;
194
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
236
195
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
196
+ align?: "left" | "right" | "center" | undefined;
237
197
  }, {
238
- type: "markdown";
239
- content: string;
198
+ type: "image";
199
+ url?: string | undefined;
240
200
  analyticsId?: string | undefined;
241
201
  control?: string | undefined;
242
- align?: "left" | "right" | "center" | undefined;
202
+ text?: string | undefined;
203
+ accessibilityDescription?: string | undefined;
204
+ content?: {
205
+ url?: string | undefined;
206
+ text?: string | undefined;
207
+ uri?: string | undefined;
208
+ accessibilityDescription?: string | undefined;
209
+ } | undefined;
210
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
243
211
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
244
- }>;
245
- export declare const instructionsLayoutItemSchema: z.ZodObject<{
246
- text: z.ZodString;
247
- 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">]>;
248
- tag: z.ZodOptional<z.ZodString>;
249
- analyticsId: z.ZodOptional<z.ZodString>;
250
- }, "strip", z.ZodTypeAny, {
251
- text: string;
252
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
253
- analyticsId?: string | undefined;
254
- tag?: string | undefined;
255
- }, {
256
- text: string;
257
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
258
- analyticsId?: string | undefined;
259
- tag?: string | undefined;
260
- }>;
261
- export declare const modalLayoutTriggerSchema: z.ZodObject<{
262
- title: z.ZodString;
263
- }, "strip", z.ZodTypeAny, {
264
- title: string;
265
- }, {
266
- title: string;
212
+ align?: "left" | "right" | "center" | undefined;
267
213
  }>;
268
214
  export declare const infoLayoutSchema: z.ZodObject<{
269
215
  type: z.ZodLiteral<"info">;
@@ -277,99 +223,57 @@ export declare const infoLayoutSchema: z.ZodObject<{
277
223
  markdown: string;
278
224
  analyticsId?: string | undefined;
279
225
  control?: string | undefined;
280
- align?: "left" | "right" | "center" | undefined;
281
226
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
227
+ align?: "left" | "right" | "center" | undefined;
282
228
  }, {
283
229
  type: "info";
284
230
  markdown: string;
285
231
  analyticsId?: string | undefined;
286
232
  control?: string | undefined;
287
- align?: "left" | "right" | "center" | undefined;
288
233
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
234
+ align?: "left" | "right" | "center" | undefined;
289
235
  }>;
290
- export declare const paragraphLayoutSchema: z.ZodObject<{
291
- type: z.ZodLiteral<"paragraph">;
292
- text: z.ZodString;
236
+ export declare const headingLayoutSchema: z.ZodObject<{
237
+ type: z.ZodLiteral<"heading">;
238
+ text: z.ZodString;
239
+ size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
293
240
  align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
294
241
  control: z.ZodOptional<z.ZodString>;
295
242
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
296
243
  analyticsId: z.ZodOptional<z.ZodString>;
297
244
  }, "strip", z.ZodTypeAny, {
298
- type: "paragraph";
245
+ type: "heading";
299
246
  text: string;
300
247
  analyticsId?: string | undefined;
301
248
  control?: string | undefined;
302
- align?: "left" | "right" | "center" | undefined;
249
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
303
250
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
251
+ align?: "left" | "right" | "center" | undefined;
304
252
  }, {
305
- type: "paragraph";
253
+ type: "heading";
306
254
  text: string;
307
255
  analyticsId?: string | undefined;
308
256
  control?: string | undefined;
309
- align?: "left" | "right" | "center" | undefined;
257
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
310
258
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
259
+ align?: "left" | "right" | "center" | undefined;
311
260
  }>;
312
- export declare const statusListLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"not-done">, z.ZodLiteral<"pending">, z.ZodLiteral<"done">]>;
313
- export declare const imageLayoutSchema: z.ZodObject<{
314
- type: z.ZodLiteral<"image">;
315
- text: z.ZodOptional<z.ZodString>;
316
- url: z.ZodOptional<z.ZodString>;
317
- accessibilityDescription: z.ZodOptional<z.ZodString>;
318
- content: z.ZodOptional<z.ZodObject<{
319
- text: z.ZodOptional<z.ZodString>;
320
- url: z.ZodOptional<z.ZodString>;
321
- uri: z.ZodOptional<z.ZodString>;
322
- accessibilityDescription: z.ZodOptional<z.ZodString>;
323
- }, "strip", z.ZodTypeAny, {
324
- url?: string | undefined;
325
- text?: string | undefined;
326
- uri?: string | undefined;
327
- accessibilityDescription?: string | undefined;
328
- }, {
329
- url?: string | undefined;
330
- text?: string | undefined;
331
- uri?: string | undefined;
332
- accessibilityDescription?: string | undefined;
333
- }>>;
334
- size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
261
+ export declare const dividerLayoutSchema: z.ZodObject<{
262
+ type: z.ZodLiteral<"divider">;
335
263
  control: z.ZodOptional<z.ZodString>;
336
264
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
337
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
338
265
  analyticsId: z.ZodOptional<z.ZodString>;
339
266
  }, "strip", z.ZodTypeAny, {
340
- type: "image";
341
- url?: string | undefined;
267
+ type: "divider";
342
268
  analyticsId?: string | undefined;
343
269
  control?: string | undefined;
344
- text?: string | undefined;
345
- accessibilityDescription?: string | undefined;
346
- content?: {
347
- url?: string | undefined;
348
- text?: string | undefined;
349
- uri?: string | undefined;
350
- accessibilityDescription?: string | undefined;
351
- } | undefined;
352
- align?: "left" | "right" | "center" | undefined;
353
270
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
354
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
355
271
  }, {
356
- type: "image";
357
- url?: string | undefined;
272
+ type: "divider";
358
273
  analyticsId?: string | undefined;
359
274
  control?: string | undefined;
360
- text?: string | undefined;
361
- accessibilityDescription?: string | undefined;
362
- content?: {
363
- url?: string | undefined;
364
- text?: string | undefined;
365
- uri?: string | undefined;
366
- accessibilityDescription?: string | undefined;
367
- } | undefined;
368
- align?: "left" | "right" | "center" | undefined;
369
275
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
370
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
371
276
  }>;
372
- export declare const listLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"warning">, z.ZodLiteral<"neutral">, z.ZodLiteral<"positive">]>;
373
277
  export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
374
278
  type: z.ZodLiteral<"loading-indicator">;
375
279
  size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
@@ -380,55 +284,36 @@ export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
380
284
  type: "loading-indicator";
381
285
  analyticsId?: string | undefined;
382
286
  control?: string | undefined;
383
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
384
287
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
288
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
385
289
  }, {
386
290
  type: "loading-indicator";
387
291
  analyticsId?: string | undefined;
388
292
  control?: string | undefined;
389
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
390
293
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
391
- }>;
392
- export declare const dividerLayoutSchema: z.ZodObject<{
393
- type: z.ZodLiteral<"divider">;
394
- control: z.ZodOptional<z.ZodString>;
395
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
396
- analyticsId: z.ZodOptional<z.ZodString>;
397
- }, "strip", z.ZodTypeAny, {
398
- type: "divider";
399
- analyticsId?: string | undefined;
400
- control?: string | undefined;
401
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
402
- }, {
403
- type: "divider";
404
- analyticsId?: string | undefined;
405
- control?: string | undefined;
406
294
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
407
295
  }>;
408
- export declare const headingLayoutSchema: z.ZodObject<{
409
- type: z.ZodLiteral<"heading">;
410
- text: z.ZodString;
411
- size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
296
+ export declare const markdownLayoutSchema: z.ZodObject<{
297
+ type: z.ZodLiteral<"markdown">;
298
+ content: z.ZodString;
412
299
  align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
413
300
  control: z.ZodOptional<z.ZodString>;
414
301
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
415
302
  analyticsId: z.ZodOptional<z.ZodString>;
416
303
  }, "strip", z.ZodTypeAny, {
417
- type: "heading";
418
- text: string;
304
+ type: "markdown";
305
+ content: string;
419
306
  analyticsId?: string | undefined;
420
307
  control?: string | undefined;
421
- align?: "left" | "right" | "center" | undefined;
422
308
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
423
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
309
+ align?: "left" | "right" | "center" | undefined;
424
310
  }, {
425
- type: "heading";
426
- text: string;
311
+ type: "markdown";
312
+ content: string;
427
313
  analyticsId?: string | undefined;
428
314
  control?: string | undefined;
429
- align?: "left" | "right" | "center" | undefined;
430
315
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
431
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
316
+ align?: "left" | "right" | "center" | undefined;
432
317
  }>;
433
318
  export declare const searchLayoutSchema: z.ZodObject<{
434
319
  type: z.ZodLiteral<"search">;
@@ -444,8 +329,8 @@ export declare const searchLayoutSchema: z.ZodObject<{
444
329
  url: string;
445
330
  type: "search";
446
331
  title: string;
447
- param: string;
448
332
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
333
+ param: string;
449
334
  analyticsId?: string | undefined;
450
335
  control?: string | undefined;
451
336
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
@@ -454,14 +339,123 @@ export declare const searchLayoutSchema: z.ZodObject<{
454
339
  url: string;
455
340
  type: "search";
456
341
  title: string;
457
- param: string;
458
342
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
343
+ param: string;
459
344
  analyticsId?: string | undefined;
460
345
  control?: string | undefined;
461
346
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
462
347
  emptyMessage?: string | undefined;
463
348
  }>;
464
- export declare const stringSchemaFormatSchema: z.ZodUnion<[z.ZodLiteral<"date">, z.ZodLiteral<"email">, z.ZodLiteral<"numeric">, z.ZodLiteral<"password">, z.ZodLiteral<"phone-number">, z.ZodLiteral<"base64url">]>;
349
+ export declare const formLayoutSchemaReferenceSchema: z.ZodObject<{
350
+ $ref: z.ZodString;
351
+ }, "strip", z.ZodTypeAny, {
352
+ $ref: string;
353
+ }, {
354
+ $ref: string;
355
+ }>;
356
+ export declare const modalLayoutTriggerSchema: z.ZodObject<{
357
+ title: z.ZodString;
358
+ }, "strip", z.ZodTypeAny, {
359
+ title: string;
360
+ }, {
361
+ title: string;
362
+ }>;
363
+ export declare const statusListLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"not-done">, z.ZodLiteral<"pending">, z.ZodLiteral<"done">]>;
364
+ export declare const instructionsLayoutItemSchema: z.ZodObject<{
365
+ text: z.ZodString;
366
+ 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">]>;
367
+ tag: z.ZodOptional<z.ZodString>;
368
+ analyticsId: z.ZodOptional<z.ZodString>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ text: string;
371
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
372
+ analyticsId?: string | undefined;
373
+ tag?: string | undefined;
374
+ }, {
375
+ text: string;
376
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
377
+ analyticsId?: string | undefined;
378
+ tag?: string | undefined;
379
+ }>;
380
+ export declare const avatarTextContentSchema: z.ZodObject<{
381
+ type: z.ZodLiteral<"text">;
382
+ text: z.ZodString;
383
+ badgeUri: z.ZodOptional<z.ZodString>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ type: "text";
386
+ text: string;
387
+ badgeUri?: string | undefined;
388
+ }, {
389
+ type: "text";
390
+ text: string;
391
+ badgeUri?: string | undefined;
392
+ }>;
393
+ export declare const avatarUriContentSchema: z.ZodObject<{
394
+ type: z.ZodLiteral<"uri">;
395
+ uri: z.ZodString;
396
+ badgeUri: z.ZodOptional<z.ZodString>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ type: "uri";
399
+ uri: string;
400
+ badgeUri?: string | undefined;
401
+ }, {
402
+ type: "uri";
403
+ uri: string;
404
+ badgeUri?: string | undefined;
405
+ }>;
406
+ export declare const mediaImageSchema: z.ZodObject<{
407
+ type: z.ZodLiteral<"image">;
408
+ uri: z.ZodString;
409
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ type: "image";
412
+ uri: string;
413
+ accessibilityDescription?: string | undefined;
414
+ }, {
415
+ type: "image";
416
+ uri: string;
417
+ accessibilityDescription?: string | undefined;
418
+ }>;
419
+ export declare const iconNamedSchema: z.ZodObject<{
420
+ name: z.ZodString;
421
+ }, "strip", z.ZodTypeAny, {
422
+ name: string;
423
+ }, {
424
+ name: string;
425
+ }>;
426
+ export declare const iconTextSchema: z.ZodObject<{
427
+ text: z.ZodString;
428
+ }, "strip", z.ZodTypeAny, {
429
+ text: string;
430
+ }, {
431
+ text: string;
432
+ }>;
433
+ export declare const iconSchema: z.ZodUnion<[z.ZodObject<{
434
+ name: z.ZodString;
435
+ }, "strip", z.ZodTypeAny, {
436
+ name: string;
437
+ }, {
438
+ name: string;
439
+ }>, z.ZodObject<{
440
+ text: z.ZodString;
441
+ }, "strip", z.ZodTypeAny, {
442
+ text: string;
443
+ }, {
444
+ text: string;
445
+ }>]>;
446
+ export declare const validateAsyncSchema: z.ZodObject<{
447
+ param: z.ZodString;
448
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
449
+ url: z.ZodString;
450
+ }, "strip", z.ZodTypeAny, {
451
+ url: string;
452
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
453
+ param: string;
454
+ }, {
455
+ url: string;
456
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
457
+ param: string;
458
+ }>;
465
459
  export declare const actionSchema: z.ZodObject<{
466
460
  title: z.ZodOptional<z.ZodString>;
467
461
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -505,8 +499,24 @@ export declare const actionSchema: z.ZodObject<{
505
499
  data?: JsonElement | undefined;
506
500
  skipValidation?: boolean | undefined;
507
501
  }>;
508
- export declare const actionResponseBodySchema: z.ZodObject<{
509
- action: z.ZodObject<{
502
+ export declare const searchSearchRequestSchema: z.ZodObject<{
503
+ url: z.ZodString;
504
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
505
+ param: z.ZodString;
506
+ query: z.ZodString;
507
+ }, "strip", z.ZodTypeAny, {
508
+ url: string;
509
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
510
+ param: string;
511
+ query: string;
512
+ }, {
513
+ url: string;
514
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
515
+ param: string;
516
+ query: string;
517
+ }>;
518
+ export declare const containerBehaviorSchema: z.ZodObject<{
519
+ action: z.ZodOptional<z.ZodObject<{
510
520
  title: z.ZodOptional<z.ZodString>;
511
521
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
512
522
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -548,9 +558,16 @@ export declare const actionResponseBodySchema: z.ZodObject<{
548
558
  result?: JsonElement | undefined;
549
559
  data?: JsonElement | undefined;
550
560
  skipValidation?: boolean | undefined;
551
- }>;
561
+ }>>;
562
+ link: z.ZodOptional<z.ZodObject<{
563
+ url: z.ZodString;
564
+ }, "strip", z.ZodTypeAny, {
565
+ url: string;
566
+ }, {
567
+ url: string;
568
+ }>>;
552
569
  }, "strip", z.ZodTypeAny, {
553
- action: {
570
+ action?: {
554
571
  url?: string | undefined;
555
572
  $id?: string | undefined;
556
573
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -564,10 +581,13 @@ export declare const actionResponseBodySchema: z.ZodObject<{
564
581
  result?: JsonElement | undefined;
565
582
  data?: JsonElement | undefined;
566
583
  skipValidation?: boolean | undefined;
567
- };
568
- }, {
569
- action: {
570
- url?: string | undefined;
584
+ } | undefined;
585
+ link?: {
586
+ url: string;
587
+ } | undefined;
588
+ }, {
589
+ action?: {
590
+ url?: string | undefined;
571
591
  $id?: string | undefined;
572
592
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
573
593
  disabled?: boolean | undefined;
@@ -580,106 +600,14 @@ export declare const actionResponseBodySchema: z.ZodObject<{
580
600
  result?: JsonElement | undefined;
581
601
  data?: JsonElement | undefined;
582
602
  skipValidation?: boolean | undefined;
583
- };
584
- }>;
585
- export declare const searchSearchRequestSchema: z.ZodObject<{
586
- url: z.ZodString;
587
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
588
- param: z.ZodString;
589
- query: z.ZodString;
590
- }, "strip", z.ZodTypeAny, {
591
- url: string;
592
- param: string;
593
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
594
- query: string;
595
- }, {
596
- url: string;
597
- param: string;
598
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
599
- query: string;
600
- }>;
601
- export declare const iconSchema: z.ZodUnion<[z.ZodObject<{
602
- name: z.ZodString;
603
- }, "strip", z.ZodTypeAny, {
604
- name: string;
605
- }, {
606
- name: string;
607
- }>, z.ZodObject<{
608
- text: z.ZodString;
609
- }, "strip", z.ZodTypeAny, {
610
- text: string;
611
- }, {
612
- text: string;
613
- }>]>;
614
- export declare const suggestionsValueSchema: z.ZodObject<{
615
- label: z.ZodString;
616
- value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
617
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
618
- name: z.ZodString;
619
- }, "strip", z.ZodTypeAny, {
620
- name: string;
621
- }, {
622
- name: string;
623
- }>, z.ZodObject<{
624
- text: z.ZodString;
625
- }, "strip", z.ZodTypeAny, {
626
- text: string;
627
- }, {
628
- text: string;
629
- }>]>>;
630
- image: z.ZodOptional<z.ZodObject<{
631
- text: z.ZodOptional<z.ZodString>;
632
- url: z.ZodOptional<z.ZodString>;
633
- uri: z.ZodOptional<z.ZodString>;
634
- accessibilityDescription: z.ZodOptional<z.ZodString>;
635
- }, "strip", z.ZodTypeAny, {
636
- url?: string | undefined;
637
- text?: string | undefined;
638
- uri?: string | undefined;
639
- accessibilityDescription?: string | undefined;
640
- }, {
641
- url?: string | undefined;
642
- text?: string | undefined;
643
- uri?: string | undefined;
644
- accessibilityDescription?: string | undefined;
645
- }>>;
646
- tag: z.ZodOptional<z.ZodString>;
647
- analyticsId: z.ZodOptional<z.ZodString>;
648
- }, "strip", z.ZodTypeAny, {
649
- value: JsonElement;
650
- label: string;
651
- image?: {
652
- url?: string | undefined;
653
- text?: string | undefined;
654
- uri?: string | undefined;
655
- accessibilityDescription?: string | undefined;
656
- } | undefined;
657
- analyticsId?: string | undefined;
658
- icon?: {
659
- text: string;
660
- } | {
661
- name: string;
662
- } | undefined;
663
- tag?: string | undefined;
664
- }, {
665
- value: JsonElement;
666
- label: string;
667
- image?: {
668
- url?: string | undefined;
669
- text?: string | undefined;
670
- uri?: string | undefined;
671
- accessibilityDescription?: string | undefined;
672
603
  } | undefined;
673
- analyticsId?: string | undefined;
674
- icon?: {
675
- text: string;
676
- } | {
677
- name: string;
604
+ link?: {
605
+ url: string;
678
606
  } | undefined;
679
- tag?: string | undefined;
680
607
  }>;
681
- export declare const containerBehaviorSchema: z.ZodObject<{
682
- action: z.ZodOptional<z.ZodObject<{
608
+ export declare const actionBehaviorSchema: z.ZodObject<{
609
+ type: z.ZodLiteral<"action">;
610
+ action: z.ZodObject<{
683
611
  title: z.ZodOptional<z.ZodString>;
684
612
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
685
613
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -721,16 +649,9 @@ export declare const containerBehaviorSchema: z.ZodObject<{
721
649
  result?: JsonElement | undefined;
722
650
  data?: JsonElement | undefined;
723
651
  skipValidation?: boolean | undefined;
724
- }>>;
725
- link: z.ZodOptional<z.ZodObject<{
726
- url: z.ZodString;
727
- }, "strip", z.ZodTypeAny, {
728
- url: string;
729
- }, {
730
- url: string;
731
- }>>;
652
+ }>;
732
653
  }, "strip", z.ZodTypeAny, {
733
- action?: {
654
+ action: {
734
655
  url?: string | undefined;
735
656
  $id?: string | undefined;
736
657
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -744,12 +665,10 @@ export declare const containerBehaviorSchema: z.ZodObject<{
744
665
  result?: JsonElement | undefined;
745
666
  data?: JsonElement | undefined;
746
667
  skipValidation?: boolean | undefined;
747
- } | undefined;
748
- link?: {
749
- url: string;
750
- } | undefined;
668
+ };
669
+ type: "action";
751
670
  }, {
752
- action?: {
671
+ action: {
753
672
  url?: string | undefined;
754
673
  $id?: string | undefined;
755
674
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -763,13 +682,11 @@ export declare const containerBehaviorSchema: z.ZodObject<{
763
682
  result?: JsonElement | undefined;
764
683
  data?: JsonElement | undefined;
765
684
  skipValidation?: boolean | undefined;
766
- } | undefined;
767
- link?: {
768
- url: string;
769
- } | undefined;
685
+ };
686
+ type: "action";
770
687
  }>;
771
- export declare const actionBehaviorSchema: z.ZodObject<{
772
- type: z.ZodLiteral<"action">;
688
+ export declare const navigationBackBehaviorSchema: z.ZodObject<{
689
+ title: z.ZodOptional<z.ZodString>;
773
690
  action: z.ZodObject<{
774
691
  title: z.ZodOptional<z.ZodString>;
775
692
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -829,7 +746,7 @@ export declare const actionBehaviorSchema: z.ZodObject<{
829
746
  data?: JsonElement | undefined;
830
747
  skipValidation?: boolean | undefined;
831
748
  };
832
- type: "action";
749
+ title?: string | undefined;
833
750
  }, {
834
751
  action: {
835
752
  url?: string | undefined;
@@ -846,97 +763,253 @@ export declare const actionBehaviorSchema: z.ZodObject<{
846
763
  data?: JsonElement | undefined;
847
764
  skipValidation?: boolean | undefined;
848
765
  };
849
- type: "action";
766
+ title?: string | undefined;
850
767
  }>;
851
- export declare const summarySummariserSchema: z.ZodObject<{
852
- defaultTitle: z.ZodOptional<z.ZodString>;
853
- defaultDescription: z.ZodOptional<z.ZodString>;
854
- defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
855
- name: z.ZodString;
768
+ export declare const paragraphLayoutSchema: z.ZodObject<{
769
+ type: z.ZodLiteral<"paragraph">;
770
+ text: z.ZodString;
771
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
772
+ control: z.ZodOptional<z.ZodString>;
773
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
774
+ analyticsId: z.ZodOptional<z.ZodString>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ type: "paragraph";
777
+ text: string;
778
+ analyticsId?: string | undefined;
779
+ control?: string | undefined;
780
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
781
+ align?: "left" | "right" | "center" | undefined;
782
+ }, {
783
+ type: "paragraph";
784
+ text: string;
785
+ analyticsId?: string | undefined;
786
+ control?: string | undefined;
787
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
788
+ align?: "left" | "right" | "center" | undefined;
789
+ }>;
790
+ export declare const formLayoutSchema: z.ZodObject<{
791
+ type: z.ZodLiteral<"form">;
792
+ schema: z.ZodOptional<z.ZodObject<{
793
+ $ref: z.ZodString;
856
794
  }, "strip", z.ZodTypeAny, {
857
- name: string;
795
+ $ref: string;
858
796
  }, {
859
- name: string;
860
- }>, z.ZodObject<{
797
+ $ref: string;
798
+ }>>;
799
+ schemaId: z.ZodString;
800
+ control: z.ZodOptional<z.ZodString>;
801
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
802
+ analyticsId: z.ZodOptional<z.ZodString>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ type: "form";
805
+ schemaId: string;
806
+ analyticsId?: string | undefined;
807
+ control?: string | undefined;
808
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
809
+ schema?: {
810
+ $ref: string;
811
+ } | undefined;
812
+ }, {
813
+ type: "form";
814
+ schemaId: string;
815
+ analyticsId?: string | undefined;
816
+ control?: string | undefined;
817
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
818
+ schema?: {
819
+ $ref: string;
820
+ } | undefined;
821
+ }>;
822
+ export declare const instructionsLayoutSchema: z.ZodObject<{
823
+ type: z.ZodLiteral<"instructions">;
824
+ title: z.ZodOptional<z.ZodString>;
825
+ items: z.ZodArray<z.ZodObject<{
861
826
  text: z.ZodString;
827
+ 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">]>;
828
+ tag: z.ZodOptional<z.ZodString>;
829
+ analyticsId: z.ZodOptional<z.ZodString>;
862
830
  }, "strip", z.ZodTypeAny, {
863
831
  text: string;
832
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
833
+ analyticsId?: string | undefined;
834
+ tag?: string | undefined;
864
835
  }, {
865
836
  text: string;
866
- }>]>>;
867
- defaultImage: z.ZodOptional<z.ZodObject<{
868
- text: z.ZodOptional<z.ZodString>;
869
- url: z.ZodOptional<z.ZodString>;
870
- uri: z.ZodOptional<z.ZodString>;
871
- accessibilityDescription: z.ZodOptional<z.ZodString>;
872
- }, "strip", z.ZodTypeAny, {
873
- url?: string | undefined;
874
- text?: string | undefined;
875
- uri?: string | undefined;
876
- accessibilityDescription?: string | undefined;
877
- }, {
878
- url?: string | undefined;
879
- text?: string | undefined;
880
- uri?: string | undefined;
881
- accessibilityDescription?: string | undefined;
882
- }>>;
883
- providesTitle: z.ZodOptional<z.ZodBoolean>;
884
- providesDescription: z.ZodOptional<z.ZodBoolean>;
885
- providesIcon: z.ZodOptional<z.ZodBoolean>;
886
- providesImage: z.ZodOptional<z.ZodBoolean>;
837
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
838
+ analyticsId?: string | undefined;
839
+ tag?: string | undefined;
840
+ }>, "many">;
841
+ control: z.ZodOptional<z.ZodString>;
842
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
843
+ analyticsId: z.ZodOptional<z.ZodString>;
887
844
  }, "strip", z.ZodTypeAny, {
888
- providesTitle?: boolean | undefined;
889
- providesDescription?: boolean | undefined;
890
- providesIcon?: boolean | undefined;
891
- providesImage?: boolean | undefined;
892
- defaultTitle?: string | undefined;
893
- defaultDescription?: string | undefined;
894
- defaultIcon?: {
845
+ type: "instructions";
846
+ items: {
895
847
  text: string;
896
- } | {
897
- name: string;
898
- } | undefined;
899
- defaultImage?: {
900
- url?: string | undefined;
901
- text?: string | undefined;
902
- uri?: string | undefined;
903
- accessibilityDescription?: string | undefined;
904
- } | undefined;
848
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
849
+ analyticsId?: string | undefined;
850
+ tag?: string | undefined;
851
+ }[];
852
+ analyticsId?: string | undefined;
853
+ title?: string | undefined;
854
+ control?: string | undefined;
855
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
905
856
  }, {
906
- providesTitle?: boolean | undefined;
907
- providesDescription?: boolean | undefined;
908
- providesIcon?: boolean | undefined;
909
- providesImage?: boolean | undefined;
910
- defaultTitle?: string | undefined;
911
- defaultDescription?: string | undefined;
912
- defaultIcon?: {
857
+ type: "instructions";
858
+ items: {
859
+ text: string;
860
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
861
+ analyticsId?: string | undefined;
862
+ tag?: string | undefined;
863
+ }[];
864
+ analyticsId?: string | undefined;
865
+ title?: string | undefined;
866
+ control?: string | undefined;
867
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
868
+ }>;
869
+ export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
870
+ type: z.ZodLiteral<"text">;
871
+ text: z.ZodString;
872
+ badgeUri: z.ZodOptional<z.ZodString>;
873
+ }, "strip", z.ZodTypeAny, {
874
+ type: "text";
875
+ text: string;
876
+ badgeUri?: string | undefined;
877
+ }, {
878
+ type: "text";
879
+ text: string;
880
+ badgeUri?: string | undefined;
881
+ }>, z.ZodObject<{
882
+ type: z.ZodLiteral<"uri">;
883
+ uri: z.ZodString;
884
+ badgeUri: z.ZodOptional<z.ZodString>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ type: "uri";
887
+ uri: string;
888
+ badgeUri?: string | undefined;
889
+ }, {
890
+ type: "uri";
891
+ uri: string;
892
+ badgeUri?: string | undefined;
893
+ }>]>;
894
+ export declare const mediaAvatarSchema: z.ZodObject<{
895
+ type: z.ZodLiteral<"avatar">;
896
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
897
+ type: z.ZodLiteral<"text">;
898
+ text: z.ZodString;
899
+ badgeUri: z.ZodOptional<z.ZodString>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ type: "text";
902
+ text: string;
903
+ badgeUri?: string | undefined;
904
+ }, {
905
+ type: "text";
906
+ text: string;
907
+ badgeUri?: string | undefined;
908
+ }>, z.ZodObject<{
909
+ type: z.ZodLiteral<"uri">;
910
+ uri: z.ZodString;
911
+ badgeUri: z.ZodOptional<z.ZodString>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ type: "uri";
914
+ uri: string;
915
+ badgeUri?: string | undefined;
916
+ }, {
917
+ type: "uri";
918
+ uri: string;
919
+ badgeUri?: string | undefined;
920
+ }>]>, "many">;
921
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ type: "avatar";
924
+ content: ({
925
+ type: "text";
913
926
  text: string;
927
+ badgeUri?: string | undefined;
914
928
  } | {
915
- name: string;
916
- } | undefined;
917
- defaultImage?: {
918
- url?: string | undefined;
919
- text?: string | undefined;
920
- uri?: string | undefined;
921
- accessibilityDescription?: string | undefined;
922
- } | undefined;
929
+ type: "uri";
930
+ uri: string;
931
+ badgeUri?: string | undefined;
932
+ })[];
933
+ accessibilityDescription?: string | undefined;
934
+ }, {
935
+ type: "avatar";
936
+ content: ({
937
+ type: "text";
938
+ text: string;
939
+ badgeUri?: string | undefined;
940
+ } | {
941
+ type: "uri";
942
+ uri: string;
943
+ badgeUri?: string | undefined;
944
+ })[];
945
+ accessibilityDescription?: string | undefined;
923
946
  }>;
924
- export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
925
- providesTitle: z.ZodOptional<z.ZodBoolean>;
926
- providesDescription: z.ZodOptional<z.ZodBoolean>;
927
- providesIcon: z.ZodOptional<z.ZodBoolean>;
928
- providesImage: z.ZodOptional<z.ZodBoolean>;
947
+ export declare const mediaSchema: z.ZodUnion<[z.ZodObject<{
948
+ type: z.ZodLiteral<"avatar">;
949
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
950
+ type: z.ZodLiteral<"text">;
951
+ text: z.ZodString;
952
+ badgeUri: z.ZodOptional<z.ZodString>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ type: "text";
955
+ text: string;
956
+ badgeUri?: string | undefined;
957
+ }, {
958
+ type: "text";
959
+ text: string;
960
+ badgeUri?: string | undefined;
961
+ }>, z.ZodObject<{
962
+ type: z.ZodLiteral<"uri">;
963
+ uri: z.ZodString;
964
+ badgeUri: z.ZodOptional<z.ZodString>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ type: "uri";
967
+ uri: string;
968
+ badgeUri?: string | undefined;
969
+ }, {
970
+ type: "uri";
971
+ uri: string;
972
+ badgeUri?: string | undefined;
973
+ }>]>, "many">;
974
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
929
975
  }, "strip", z.ZodTypeAny, {
930
- providesTitle?: boolean | undefined;
931
- providesDescription?: boolean | undefined;
932
- providesIcon?: boolean | undefined;
933
- providesImage?: boolean | undefined;
976
+ type: "avatar";
977
+ content: ({
978
+ type: "text";
979
+ text: string;
980
+ badgeUri?: string | undefined;
981
+ } | {
982
+ type: "uri";
983
+ uri: string;
984
+ badgeUri?: string | undefined;
985
+ })[];
986
+ accessibilityDescription?: string | undefined;
934
987
  }, {
935
- providesTitle?: boolean | undefined;
936
- providesDescription?: boolean | undefined;
937
- providesIcon?: boolean | undefined;
938
- providesImage?: boolean | undefined;
988
+ type: "avatar";
989
+ content: ({
990
+ type: "text";
991
+ text: string;
992
+ badgeUri?: string | undefined;
993
+ } | {
994
+ type: "uri";
995
+ uri: string;
996
+ badgeUri?: string | undefined;
997
+ })[];
998
+ accessibilityDescription?: string | undefined;
939
999
  }>, z.ZodObject<{
1000
+ type: z.ZodLiteral<"image">;
1001
+ uri: z.ZodString;
1002
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ type: "image";
1005
+ uri: string;
1006
+ accessibilityDescription?: string | undefined;
1007
+ }, {
1008
+ type: "image";
1009
+ uri: string;
1010
+ accessibilityDescription?: string | undefined;
1011
+ }>]>;
1012
+ export declare const summarySummariserSchema: z.ZodObject<{
940
1013
  defaultTitle: z.ZodOptional<z.ZodString>;
941
1014
  defaultDescription: z.ZodOptional<z.ZodString>;
942
1015
  defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
@@ -972,17 +1045,84 @@ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
972
1045
  providesDescription: z.ZodOptional<z.ZodBoolean>;
973
1046
  providesIcon: z.ZodOptional<z.ZodBoolean>;
974
1047
  providesImage: z.ZodOptional<z.ZodBoolean>;
1048
+ defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1049
+ type: z.ZodLiteral<"avatar">;
1050
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1051
+ type: z.ZodLiteral<"text">;
1052
+ text: z.ZodString;
1053
+ badgeUri: z.ZodOptional<z.ZodString>;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ type: "text";
1056
+ text: string;
1057
+ badgeUri?: string | undefined;
1058
+ }, {
1059
+ type: "text";
1060
+ text: string;
1061
+ badgeUri?: string | undefined;
1062
+ }>, z.ZodObject<{
1063
+ type: z.ZodLiteral<"uri">;
1064
+ uri: z.ZodString;
1065
+ badgeUri: z.ZodOptional<z.ZodString>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ type: "uri";
1068
+ uri: string;
1069
+ badgeUri?: string | undefined;
1070
+ }, {
1071
+ type: "uri";
1072
+ uri: string;
1073
+ badgeUri?: string | undefined;
1074
+ }>]>, "many">;
1075
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ type: "avatar";
1078
+ content: ({
1079
+ type: "text";
1080
+ text: string;
1081
+ badgeUri?: string | undefined;
1082
+ } | {
1083
+ type: "uri";
1084
+ uri: string;
1085
+ badgeUri?: string | undefined;
1086
+ })[];
1087
+ accessibilityDescription?: string | undefined;
1088
+ }, {
1089
+ type: "avatar";
1090
+ content: ({
1091
+ type: "text";
1092
+ text: string;
1093
+ badgeUri?: string | undefined;
1094
+ } | {
1095
+ type: "uri";
1096
+ uri: string;
1097
+ badgeUri?: string | undefined;
1098
+ })[];
1099
+ accessibilityDescription?: string | undefined;
1100
+ }>, z.ZodObject<{
1101
+ type: z.ZodLiteral<"image">;
1102
+ uri: z.ZodString;
1103
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ type: "image";
1106
+ uri: string;
1107
+ accessibilityDescription?: string | undefined;
1108
+ }, {
1109
+ type: "image";
1110
+ uri: string;
1111
+ accessibilityDescription?: string | undefined;
1112
+ }>]>>;
1113
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
975
1114
  }, "strip", z.ZodTypeAny, {
976
1115
  providesTitle?: boolean | undefined;
977
1116
  providesDescription?: boolean | undefined;
978
1117
  providesIcon?: boolean | undefined;
979
1118
  providesImage?: boolean | undefined;
1119
+ providesMedia?: boolean | undefined;
980
1120
  defaultTitle?: string | undefined;
981
1121
  defaultDescription?: string | undefined;
982
1122
  defaultIcon?: {
983
- text: string;
984
- } | {
985
1123
  name: string;
1124
+ } | {
1125
+ text: string;
986
1126
  } | undefined;
987
1127
  defaultImage?: {
988
1128
  url?: string | undefined;
@@ -990,17 +1130,35 @@ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
990
1130
  uri?: string | undefined;
991
1131
  accessibilityDescription?: string | undefined;
992
1132
  } | undefined;
1133
+ defaultMedia?: {
1134
+ type: "image";
1135
+ uri: string;
1136
+ accessibilityDescription?: string | undefined;
1137
+ } | {
1138
+ type: "avatar";
1139
+ content: ({
1140
+ type: "text";
1141
+ text: string;
1142
+ badgeUri?: string | undefined;
1143
+ } | {
1144
+ type: "uri";
1145
+ uri: string;
1146
+ badgeUri?: string | undefined;
1147
+ })[];
1148
+ accessibilityDescription?: string | undefined;
1149
+ } | undefined;
993
1150
  }, {
994
1151
  providesTitle?: boolean | undefined;
995
1152
  providesDescription?: boolean | undefined;
996
1153
  providesIcon?: boolean | undefined;
997
1154
  providesImage?: boolean | undefined;
1155
+ providesMedia?: boolean | undefined;
998
1156
  defaultTitle?: string | undefined;
999
1157
  defaultDescription?: string | undefined;
1000
1158
  defaultIcon?: {
1001
- text: string;
1002
- } | {
1003
1159
  name: string;
1160
+ } | {
1161
+ text: string;
1004
1162
  } | undefined;
1005
1163
  defaultImage?: {
1006
1164
  url?: string | undefined;
@@ -1008,9 +1166,25 @@ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
1008
1166
  uri?: string | undefined;
1009
1167
  accessibilityDescription?: string | undefined;
1010
1168
  } | undefined;
1011
- }>]>;
1012
- export declare const navigationBackBehaviorSchema: z.ZodObject<{
1013
- title: z.ZodOptional<z.ZodString>;
1169
+ defaultMedia?: {
1170
+ type: "image";
1171
+ uri: string;
1172
+ accessibilityDescription?: string | undefined;
1173
+ } | {
1174
+ type: "avatar";
1175
+ content: ({
1176
+ type: "text";
1177
+ text: string;
1178
+ badgeUri?: string | undefined;
1179
+ } | {
1180
+ type: "uri";
1181
+ uri: string;
1182
+ badgeUri?: string | undefined;
1183
+ })[];
1184
+ accessibilityDescription?: string | undefined;
1185
+ } | undefined;
1186
+ }>;
1187
+ export declare const actionResponseBodySchema: z.ZodObject<{
1014
1188
  action: z.ZodObject<{
1015
1189
  title: z.ZodOptional<z.ZodString>;
1016
1190
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -1070,7 +1244,6 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1070
1244
  data?: JsonElement | undefined;
1071
1245
  skipValidation?: boolean | undefined;
1072
1246
  };
1073
- title?: string | undefined;
1074
1247
  }, {
1075
1248
  action: {
1076
1249
  url?: string | undefined;
@@ -1087,111 +1260,599 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1087
1260
  data?: JsonElement | undefined;
1088
1261
  skipValidation?: boolean | undefined;
1089
1262
  };
1090
- title?: string | undefined;
1091
1263
  }>;
1092
- export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
1093
- type: z.ZodLiteral<"text">;
1094
- text: z.ZodString;
1095
- badgeUri: z.ZodOptional<z.ZodString>;
1096
- }, "strip", z.ZodTypeAny, {
1097
- type: "text";
1098
- text: string;
1099
- badgeUri?: string | undefined;
1100
- }, {
1101
- type: "text";
1102
- text: string;
1103
- badgeUri?: string | undefined;
1104
- }>, z.ZodObject<{
1105
- type: z.ZodLiteral<"uri">;
1106
- uri: z.ZodString;
1107
- badgeUri: z.ZodOptional<z.ZodString>;
1264
+ export declare const searchResultSearchSchema: z.ZodObject<{
1265
+ type: z.ZodLiteral<"search">;
1266
+ title: z.ZodString;
1267
+ description: z.ZodOptional<z.ZodString>;
1268
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1269
+ name: z.ZodString;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ name: string;
1272
+ }, {
1273
+ name: string;
1274
+ }>, z.ZodObject<{
1275
+ text: z.ZodString;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ text: string;
1278
+ }, {
1279
+ text: string;
1280
+ }>]>>;
1281
+ image: z.ZodOptional<z.ZodObject<{
1282
+ text: z.ZodOptional<z.ZodString>;
1283
+ url: z.ZodOptional<z.ZodString>;
1284
+ uri: z.ZodOptional<z.ZodString>;
1285
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ url?: string | undefined;
1288
+ text?: string | undefined;
1289
+ uri?: string | undefined;
1290
+ accessibilityDescription?: string | undefined;
1291
+ }, {
1292
+ url?: string | undefined;
1293
+ text?: string | undefined;
1294
+ uri?: string | undefined;
1295
+ accessibilityDescription?: string | undefined;
1296
+ }>>;
1297
+ value: z.ZodObject<{
1298
+ url: z.ZodString;
1299
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
1300
+ param: z.ZodString;
1301
+ query: z.ZodString;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ url: string;
1304
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1305
+ param: string;
1306
+ query: string;
1307
+ }, {
1308
+ url: string;
1309
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1310
+ param: string;
1311
+ query: string;
1312
+ }>;
1313
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1314
+ type: z.ZodLiteral<"avatar">;
1315
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1316
+ type: z.ZodLiteral<"text">;
1317
+ text: z.ZodString;
1318
+ badgeUri: z.ZodOptional<z.ZodString>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ type: "text";
1321
+ text: string;
1322
+ badgeUri?: string | undefined;
1323
+ }, {
1324
+ type: "text";
1325
+ text: string;
1326
+ badgeUri?: string | undefined;
1327
+ }>, z.ZodObject<{
1328
+ type: z.ZodLiteral<"uri">;
1329
+ uri: z.ZodString;
1330
+ badgeUri: z.ZodOptional<z.ZodString>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ type: "uri";
1333
+ uri: string;
1334
+ badgeUri?: string | undefined;
1335
+ }, {
1336
+ type: "uri";
1337
+ uri: string;
1338
+ badgeUri?: string | undefined;
1339
+ }>]>, "many">;
1340
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ type: "avatar";
1343
+ content: ({
1344
+ type: "text";
1345
+ text: string;
1346
+ badgeUri?: string | undefined;
1347
+ } | {
1348
+ type: "uri";
1349
+ uri: string;
1350
+ badgeUri?: string | undefined;
1351
+ })[];
1352
+ accessibilityDescription?: string | undefined;
1353
+ }, {
1354
+ type: "avatar";
1355
+ content: ({
1356
+ type: "text";
1357
+ text: string;
1358
+ badgeUri?: string | undefined;
1359
+ } | {
1360
+ type: "uri";
1361
+ uri: string;
1362
+ badgeUri?: string | undefined;
1363
+ })[];
1364
+ accessibilityDescription?: string | undefined;
1365
+ }>, z.ZodObject<{
1366
+ type: z.ZodLiteral<"image">;
1367
+ uri: z.ZodString;
1368
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1369
+ }, "strip", z.ZodTypeAny, {
1370
+ type: "image";
1371
+ uri: string;
1372
+ accessibilityDescription?: string | undefined;
1373
+ }, {
1374
+ type: "image";
1375
+ uri: string;
1376
+ accessibilityDescription?: string | undefined;
1377
+ }>]>>;
1108
1378
  }, "strip", z.ZodTypeAny, {
1109
- type: "uri";
1110
- uri: string;
1111
- badgeUri?: string | undefined;
1379
+ type: "search";
1380
+ title: string;
1381
+ value: {
1382
+ url: string;
1383
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1384
+ param: string;
1385
+ query: string;
1386
+ };
1387
+ image?: {
1388
+ url?: string | undefined;
1389
+ text?: string | undefined;
1390
+ uri?: string | undefined;
1391
+ accessibilityDescription?: string | undefined;
1392
+ } | undefined;
1393
+ description?: string | undefined;
1394
+ icon?: {
1395
+ name: string;
1396
+ } | {
1397
+ text: string;
1398
+ } | undefined;
1399
+ media?: {
1400
+ type: "image";
1401
+ uri: string;
1402
+ accessibilityDescription?: string | undefined;
1403
+ } | {
1404
+ type: "avatar";
1405
+ content: ({
1406
+ type: "text";
1407
+ text: string;
1408
+ badgeUri?: string | undefined;
1409
+ } | {
1410
+ type: "uri";
1411
+ uri: string;
1412
+ badgeUri?: string | undefined;
1413
+ })[];
1414
+ accessibilityDescription?: string | undefined;
1415
+ } | undefined;
1112
1416
  }, {
1113
- type: "uri";
1114
- uri: string;
1115
- badgeUri?: string | undefined;
1116
- }>]>;
1117
- export declare const formLayoutSchema: z.ZodObject<{
1118
- type: z.ZodLiteral<"form">;
1119
- schema: z.ZodOptional<z.ZodObject<{
1120
- $ref: z.ZodString;
1417
+ type: "search";
1418
+ title: string;
1419
+ value: {
1420
+ url: string;
1421
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1422
+ param: string;
1423
+ query: string;
1424
+ };
1425
+ image?: {
1426
+ url?: string | undefined;
1427
+ text?: string | undefined;
1428
+ uri?: string | undefined;
1429
+ accessibilityDescription?: string | undefined;
1430
+ } | undefined;
1431
+ description?: string | undefined;
1432
+ icon?: {
1433
+ name: string;
1434
+ } | {
1435
+ text: string;
1436
+ } | undefined;
1437
+ media?: {
1438
+ type: "image";
1439
+ uri: string;
1440
+ accessibilityDescription?: string | undefined;
1441
+ } | {
1442
+ type: "avatar";
1443
+ content: ({
1444
+ type: "text";
1445
+ text: string;
1446
+ badgeUri?: string | undefined;
1447
+ } | {
1448
+ type: "uri";
1449
+ uri: string;
1450
+ badgeUri?: string | undefined;
1451
+ })[];
1452
+ accessibilityDescription?: string | undefined;
1453
+ } | undefined;
1454
+ }>;
1455
+ export declare const searchResultActionSchema: z.ZodObject<{
1456
+ type: z.ZodLiteral<"action">;
1457
+ title: z.ZodString;
1458
+ description: z.ZodOptional<z.ZodString>;
1459
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1460
+ name: z.ZodString;
1121
1461
  }, "strip", z.ZodTypeAny, {
1122
- $ref: string;
1462
+ name: string;
1123
1463
  }, {
1124
- $ref: string;
1464
+ name: string;
1465
+ }>, z.ZodObject<{
1466
+ text: z.ZodString;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ text: string;
1469
+ }, {
1470
+ text: string;
1471
+ }>]>>;
1472
+ image: z.ZodOptional<z.ZodObject<{
1473
+ text: z.ZodOptional<z.ZodString>;
1474
+ url: z.ZodOptional<z.ZodString>;
1475
+ uri: z.ZodOptional<z.ZodString>;
1476
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ url?: string | undefined;
1479
+ text?: string | undefined;
1480
+ uri?: string | undefined;
1481
+ accessibilityDescription?: string | undefined;
1482
+ }, {
1483
+ url?: string | undefined;
1484
+ text?: string | undefined;
1485
+ uri?: string | undefined;
1486
+ accessibilityDescription?: string | undefined;
1125
1487
  }>>;
1126
- schemaId: z.ZodString;
1127
- control: z.ZodOptional<z.ZodString>;
1128
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
1129
- analyticsId: z.ZodOptional<z.ZodString>;
1488
+ value: z.ZodObject<{
1489
+ title: z.ZodOptional<z.ZodString>;
1490
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1491
+ disabled: z.ZodOptional<z.ZodBoolean>;
1492
+ $id: z.ZodOptional<z.ZodString>;
1493
+ $ref: z.ZodOptional<z.ZodString>;
1494
+ id: z.ZodOptional<z.ZodString>;
1495
+ url: z.ZodOptional<z.ZodString>;
1496
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1497
+ exit: z.ZodOptional<z.ZodBoolean>;
1498
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1499
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1500
+ timeout: z.ZodOptional<z.ZodNumber>;
1501
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ url?: string | undefined;
1504
+ $id?: string | undefined;
1505
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1506
+ disabled?: boolean | undefined;
1507
+ title?: string | undefined;
1508
+ timeout?: number | undefined;
1509
+ id?: string | undefined;
1510
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1511
+ $ref?: string | undefined;
1512
+ exit?: boolean | undefined;
1513
+ result?: JsonElement | undefined;
1514
+ data?: JsonElement | undefined;
1515
+ skipValidation?: boolean | undefined;
1516
+ }, {
1517
+ url?: string | undefined;
1518
+ $id?: string | undefined;
1519
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1520
+ disabled?: boolean | undefined;
1521
+ title?: string | undefined;
1522
+ timeout?: number | undefined;
1523
+ id?: string | undefined;
1524
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1525
+ $ref?: string | undefined;
1526
+ exit?: boolean | undefined;
1527
+ result?: JsonElement | undefined;
1528
+ data?: JsonElement | undefined;
1529
+ skipValidation?: boolean | undefined;
1530
+ }>;
1531
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1532
+ type: z.ZodLiteral<"avatar">;
1533
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1534
+ type: z.ZodLiteral<"text">;
1535
+ text: z.ZodString;
1536
+ badgeUri: z.ZodOptional<z.ZodString>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ type: "text";
1539
+ text: string;
1540
+ badgeUri?: string | undefined;
1541
+ }, {
1542
+ type: "text";
1543
+ text: string;
1544
+ badgeUri?: string | undefined;
1545
+ }>, z.ZodObject<{
1546
+ type: z.ZodLiteral<"uri">;
1547
+ uri: z.ZodString;
1548
+ badgeUri: z.ZodOptional<z.ZodString>;
1549
+ }, "strip", z.ZodTypeAny, {
1550
+ type: "uri";
1551
+ uri: string;
1552
+ badgeUri?: string | undefined;
1553
+ }, {
1554
+ type: "uri";
1555
+ uri: string;
1556
+ badgeUri?: string | undefined;
1557
+ }>]>, "many">;
1558
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ type: "avatar";
1561
+ content: ({
1562
+ type: "text";
1563
+ text: string;
1564
+ badgeUri?: string | undefined;
1565
+ } | {
1566
+ type: "uri";
1567
+ uri: string;
1568
+ badgeUri?: string | undefined;
1569
+ })[];
1570
+ accessibilityDescription?: string | undefined;
1571
+ }, {
1572
+ type: "avatar";
1573
+ content: ({
1574
+ type: "text";
1575
+ text: string;
1576
+ badgeUri?: string | undefined;
1577
+ } | {
1578
+ type: "uri";
1579
+ uri: string;
1580
+ badgeUri?: string | undefined;
1581
+ })[];
1582
+ accessibilityDescription?: string | undefined;
1583
+ }>, z.ZodObject<{
1584
+ type: z.ZodLiteral<"image">;
1585
+ uri: z.ZodString;
1586
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ type: "image";
1589
+ uri: string;
1590
+ accessibilityDescription?: string | undefined;
1591
+ }, {
1592
+ type: "image";
1593
+ uri: string;
1594
+ accessibilityDescription?: string | undefined;
1595
+ }>]>>;
1130
1596
  }, "strip", z.ZodTypeAny, {
1131
- type: "form";
1132
- schemaId: string;
1133
- analyticsId?: string | undefined;
1134
- control?: string | undefined;
1135
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1136
- schema?: {
1137
- $ref: string;
1597
+ type: "action";
1598
+ title: string;
1599
+ value: {
1600
+ url?: string | undefined;
1601
+ $id?: string | undefined;
1602
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1603
+ disabled?: boolean | undefined;
1604
+ title?: string | undefined;
1605
+ timeout?: number | undefined;
1606
+ id?: string | undefined;
1607
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1608
+ $ref?: string | undefined;
1609
+ exit?: boolean | undefined;
1610
+ result?: JsonElement | undefined;
1611
+ data?: JsonElement | undefined;
1612
+ skipValidation?: boolean | undefined;
1613
+ };
1614
+ image?: {
1615
+ url?: string | undefined;
1616
+ text?: string | undefined;
1617
+ uri?: string | undefined;
1618
+ accessibilityDescription?: string | undefined;
1619
+ } | undefined;
1620
+ description?: string | undefined;
1621
+ icon?: {
1622
+ name: string;
1623
+ } | {
1624
+ text: string;
1625
+ } | undefined;
1626
+ media?: {
1627
+ type: "image";
1628
+ uri: string;
1629
+ accessibilityDescription?: string | undefined;
1630
+ } | {
1631
+ type: "avatar";
1632
+ content: ({
1633
+ type: "text";
1634
+ text: string;
1635
+ badgeUri?: string | undefined;
1636
+ } | {
1637
+ type: "uri";
1638
+ uri: string;
1639
+ badgeUri?: string | undefined;
1640
+ })[];
1641
+ accessibilityDescription?: string | undefined;
1138
1642
  } | undefined;
1139
1643
  }, {
1140
- type: "form";
1141
- schemaId: string;
1142
- analyticsId?: string | undefined;
1143
- control?: string | undefined;
1144
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1145
- schema?: {
1146
- $ref: string;
1644
+ type: "action";
1645
+ title: string;
1646
+ value: {
1647
+ url?: string | undefined;
1648
+ $id?: string | undefined;
1649
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1650
+ disabled?: boolean | undefined;
1651
+ title?: string | undefined;
1652
+ timeout?: number | undefined;
1653
+ id?: string | undefined;
1654
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1655
+ $ref?: string | undefined;
1656
+ exit?: boolean | undefined;
1657
+ result?: JsonElement | undefined;
1658
+ data?: JsonElement | undefined;
1659
+ skipValidation?: boolean | undefined;
1660
+ };
1661
+ image?: {
1662
+ url?: string | undefined;
1663
+ text?: string | undefined;
1664
+ uri?: string | undefined;
1665
+ accessibilityDescription?: string | undefined;
1666
+ } | undefined;
1667
+ description?: string | undefined;
1668
+ icon?: {
1669
+ name: string;
1670
+ } | {
1671
+ text: string;
1672
+ } | undefined;
1673
+ media?: {
1674
+ type: "image";
1675
+ uri: string;
1676
+ accessibilityDescription?: string | undefined;
1677
+ } | {
1678
+ type: "avatar";
1679
+ content: ({
1680
+ type: "text";
1681
+ text: string;
1682
+ badgeUri?: string | undefined;
1683
+ } | {
1684
+ type: "uri";
1685
+ uri: string;
1686
+ badgeUri?: string | undefined;
1687
+ })[];
1688
+ accessibilityDescription?: string | undefined;
1147
1689
  } | undefined;
1148
1690
  }>;
1149
- export declare const instructionsLayoutSchema: z.ZodObject<{
1150
- type: z.ZodLiteral<"instructions">;
1151
- title: z.ZodOptional<z.ZodString>;
1152
- items: z.ZodArray<z.ZodObject<{
1691
+ export declare const suggestionsValueSchema: z.ZodObject<{
1692
+ label: z.ZodString;
1693
+ value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
1694
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1695
+ name: z.ZodString;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ name: string;
1698
+ }, {
1699
+ name: string;
1700
+ }>, z.ZodObject<{
1153
1701
  text: z.ZodString;
1154
- 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">]>;
1155
- tag: z.ZodOptional<z.ZodString>;
1156
- analyticsId: z.ZodOptional<z.ZodString>;
1157
1702
  }, "strip", z.ZodTypeAny, {
1158
1703
  text: string;
1159
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
1160
- analyticsId?: string | undefined;
1161
- tag?: string | undefined;
1162
1704
  }, {
1163
1705
  text: string;
1164
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
1165
- analyticsId?: string | undefined;
1166
- tag?: string | undefined;
1167
- }>, "many">;
1168
- control: z.ZodOptional<z.ZodString>;
1169
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
1706
+ }>]>>;
1707
+ image: z.ZodOptional<z.ZodObject<{
1708
+ text: z.ZodOptional<z.ZodString>;
1709
+ url: z.ZodOptional<z.ZodString>;
1710
+ uri: z.ZodOptional<z.ZodString>;
1711
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ url?: string | undefined;
1714
+ text?: string | undefined;
1715
+ uri?: string | undefined;
1716
+ accessibilityDescription?: string | undefined;
1717
+ }, {
1718
+ url?: string | undefined;
1719
+ text?: string | undefined;
1720
+ uri?: string | undefined;
1721
+ accessibilityDescription?: string | undefined;
1722
+ }>>;
1723
+ tag: z.ZodOptional<z.ZodString>;
1724
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1725
+ type: z.ZodLiteral<"avatar">;
1726
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1727
+ type: z.ZodLiteral<"text">;
1728
+ text: z.ZodString;
1729
+ badgeUri: z.ZodOptional<z.ZodString>;
1730
+ }, "strip", z.ZodTypeAny, {
1731
+ type: "text";
1732
+ text: string;
1733
+ badgeUri?: string | undefined;
1734
+ }, {
1735
+ type: "text";
1736
+ text: string;
1737
+ badgeUri?: string | undefined;
1738
+ }>, z.ZodObject<{
1739
+ type: z.ZodLiteral<"uri">;
1740
+ uri: z.ZodString;
1741
+ badgeUri: z.ZodOptional<z.ZodString>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ type: "uri";
1744
+ uri: string;
1745
+ badgeUri?: string | undefined;
1746
+ }, {
1747
+ type: "uri";
1748
+ uri: string;
1749
+ badgeUri?: string | undefined;
1750
+ }>]>, "many">;
1751
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ type: "avatar";
1754
+ content: ({
1755
+ type: "text";
1756
+ text: string;
1757
+ badgeUri?: string | undefined;
1758
+ } | {
1759
+ type: "uri";
1760
+ uri: string;
1761
+ badgeUri?: string | undefined;
1762
+ })[];
1763
+ accessibilityDescription?: string | undefined;
1764
+ }, {
1765
+ type: "avatar";
1766
+ content: ({
1767
+ type: "text";
1768
+ text: string;
1769
+ badgeUri?: string | undefined;
1770
+ } | {
1771
+ type: "uri";
1772
+ uri: string;
1773
+ badgeUri?: string | undefined;
1774
+ })[];
1775
+ accessibilityDescription?: string | undefined;
1776
+ }>, z.ZodObject<{
1777
+ type: z.ZodLiteral<"image">;
1778
+ uri: z.ZodString;
1779
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ type: "image";
1782
+ uri: string;
1783
+ accessibilityDescription?: string | undefined;
1784
+ }, {
1785
+ type: "image";
1786
+ uri: string;
1787
+ accessibilityDescription?: string | undefined;
1788
+ }>]>>;
1170
1789
  analyticsId: z.ZodOptional<z.ZodString>;
1171
1790
  }, "strip", z.ZodTypeAny, {
1172
- type: "instructions";
1173
- items: {
1174
- text: string;
1175
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
1176
- analyticsId?: string | undefined;
1177
- tag?: string | undefined;
1178
- }[];
1791
+ value: JsonElement;
1792
+ label: string;
1793
+ image?: {
1794
+ url?: string | undefined;
1795
+ text?: string | undefined;
1796
+ uri?: string | undefined;
1797
+ accessibilityDescription?: string | undefined;
1798
+ } | undefined;
1179
1799
  analyticsId?: string | undefined;
1180
- title?: string | undefined;
1181
- control?: string | undefined;
1182
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1183
- }, {
1184
- type: "instructions";
1185
- items: {
1800
+ icon?: {
1801
+ name: string;
1802
+ } | {
1186
1803
  text: string;
1187
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
1188
- analyticsId?: string | undefined;
1189
- tag?: string | undefined;
1190
- }[];
1804
+ } | undefined;
1805
+ tag?: string | undefined;
1806
+ media?: {
1807
+ type: "image";
1808
+ uri: string;
1809
+ accessibilityDescription?: string | undefined;
1810
+ } | {
1811
+ type: "avatar";
1812
+ content: ({
1813
+ type: "text";
1814
+ text: string;
1815
+ badgeUri?: string | undefined;
1816
+ } | {
1817
+ type: "uri";
1818
+ uri: string;
1819
+ badgeUri?: string | undefined;
1820
+ })[];
1821
+ accessibilityDescription?: string | undefined;
1822
+ } | undefined;
1823
+ }, {
1824
+ value: JsonElement;
1825
+ label: string;
1826
+ image?: {
1827
+ url?: string | undefined;
1828
+ text?: string | undefined;
1829
+ uri?: string | undefined;
1830
+ accessibilityDescription?: string | undefined;
1831
+ } | undefined;
1191
1832
  analyticsId?: string | undefined;
1192
- title?: string | undefined;
1193
- control?: string | undefined;
1194
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
1833
+ icon?: {
1834
+ name: string;
1835
+ } | {
1836
+ text: string;
1837
+ } | undefined;
1838
+ tag?: string | undefined;
1839
+ media?: {
1840
+ type: "image";
1841
+ uri: string;
1842
+ accessibilityDescription?: string | undefined;
1843
+ } | {
1844
+ type: "avatar";
1845
+ content: ({
1846
+ type: "text";
1847
+ text: string;
1848
+ badgeUri?: string | undefined;
1849
+ } | {
1850
+ type: "uri";
1851
+ uri: string;
1852
+ badgeUri?: string | undefined;
1853
+ })[];
1854
+ accessibilityDescription?: string | undefined;
1855
+ } | undefined;
1195
1856
  }>;
1196
1857
  export declare const navigationSchema: z.ZodObject<{
1197
1858
  backButton: z.ZodOptional<z.ZodObject<{
@@ -1432,11 +2093,28 @@ export declare const navigationSchema: z.ZodObject<{
1432
2093
  } | undefined;
1433
2094
  stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
1434
2095
  }>;
1435
- export declare const searchResultActionSchema: z.ZodObject<{
1436
- type: z.ZodLiteral<"action">;
1437
- title: z.ZodString;
1438
- description: z.ZodOptional<z.ZodString>;
1439
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2096
+ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
2097
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
2098
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
2099
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
2100
+ providesImage: z.ZodOptional<z.ZodBoolean>;
2101
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
2102
+ }, "strip", z.ZodTypeAny, {
2103
+ providesTitle?: boolean | undefined;
2104
+ providesDescription?: boolean | undefined;
2105
+ providesIcon?: boolean | undefined;
2106
+ providesImage?: boolean | undefined;
2107
+ providesMedia?: boolean | undefined;
2108
+ }, {
2109
+ providesTitle?: boolean | undefined;
2110
+ providesDescription?: boolean | undefined;
2111
+ providesIcon?: boolean | undefined;
2112
+ providesImage?: boolean | undefined;
2113
+ providesMedia?: boolean | undefined;
2114
+ }>, z.ZodObject<{
2115
+ defaultTitle: z.ZodOptional<z.ZodString>;
2116
+ defaultDescription: z.ZodOptional<z.ZodString>;
2117
+ defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1440
2118
  name: z.ZodString;
1441
2119
  }, "strip", z.ZodTypeAny, {
1442
2120
  name: string;
@@ -1449,7 +2127,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
1449
2127
  }, {
1450
2128
  text: string;
1451
2129
  }>]>>;
1452
- image: z.ZodOptional<z.ZodObject<{
2130
+ defaultImage: z.ZodOptional<z.ZodObject<{
1453
2131
  text: z.ZodOptional<z.ZodString>;
1454
2132
  url: z.ZodOptional<z.ZodString>;
1455
2133
  uri: z.ZodOptional<z.ZodString>;
@@ -1465,202 +2143,149 @@ export declare const searchResultActionSchema: z.ZodObject<{
1465
2143
  uri?: string | undefined;
1466
2144
  accessibilityDescription?: string | undefined;
1467
2145
  }>>;
1468
- value: z.ZodObject<{
1469
- title: z.ZodOptional<z.ZodString>;
1470
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1471
- disabled: z.ZodOptional<z.ZodBoolean>;
1472
- $id: z.ZodOptional<z.ZodString>;
1473
- $ref: z.ZodOptional<z.ZodString>;
1474
- id: z.ZodOptional<z.ZodString>;
1475
- url: z.ZodOptional<z.ZodString>;
1476
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1477
- exit: z.ZodOptional<z.ZodBoolean>;
1478
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1479
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1480
- timeout: z.ZodOptional<z.ZodNumber>;
1481
- skipValidation: z.ZodOptional<z.ZodBoolean>;
2146
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
2147
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
2148
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
2149
+ providesImage: z.ZodOptional<z.ZodBoolean>;
2150
+ defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2151
+ type: z.ZodLiteral<"avatar">;
2152
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2153
+ type: z.ZodLiteral<"text">;
2154
+ text: z.ZodString;
2155
+ badgeUri: z.ZodOptional<z.ZodString>;
2156
+ }, "strip", z.ZodTypeAny, {
2157
+ type: "text";
2158
+ text: string;
2159
+ badgeUri?: string | undefined;
2160
+ }, {
2161
+ type: "text";
2162
+ text: string;
2163
+ badgeUri?: string | undefined;
2164
+ }>, z.ZodObject<{
2165
+ type: z.ZodLiteral<"uri">;
2166
+ uri: z.ZodString;
2167
+ badgeUri: z.ZodOptional<z.ZodString>;
2168
+ }, "strip", z.ZodTypeAny, {
2169
+ type: "uri";
2170
+ uri: string;
2171
+ badgeUri?: string | undefined;
2172
+ }, {
2173
+ type: "uri";
2174
+ uri: string;
2175
+ badgeUri?: string | undefined;
2176
+ }>]>, "many">;
2177
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1482
2178
  }, "strip", z.ZodTypeAny, {
1483
- url?: string | undefined;
1484
- $id?: string | undefined;
1485
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1486
- disabled?: boolean | undefined;
1487
- title?: string | undefined;
1488
- timeout?: number | undefined;
1489
- id?: string | undefined;
1490
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1491
- $ref?: string | undefined;
1492
- exit?: boolean | undefined;
1493
- result?: JsonElement | undefined;
1494
- data?: JsonElement | undefined;
1495
- skipValidation?: boolean | undefined;
1496
- }, {
1497
- url?: string | undefined;
1498
- $id?: string | undefined;
1499
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1500
- disabled?: boolean | undefined;
1501
- title?: string | undefined;
1502
- timeout?: number | undefined;
1503
- id?: string | undefined;
1504
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1505
- $ref?: string | undefined;
1506
- exit?: boolean | undefined;
1507
- result?: JsonElement | undefined;
1508
- data?: JsonElement | undefined;
1509
- skipValidation?: boolean | undefined;
1510
- }>;
1511
- }, "strip", z.ZodTypeAny, {
1512
- type: "action";
1513
- title: string;
1514
- value: {
1515
- url?: string | undefined;
1516
- $id?: string | undefined;
1517
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1518
- disabled?: boolean | undefined;
1519
- title?: string | undefined;
1520
- timeout?: number | undefined;
1521
- id?: string | undefined;
1522
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1523
- $ref?: string | undefined;
1524
- exit?: boolean | undefined;
1525
- result?: JsonElement | undefined;
1526
- data?: JsonElement | undefined;
1527
- skipValidation?: boolean | undefined;
1528
- };
1529
- image?: {
1530
- url?: string | undefined;
1531
- text?: string | undefined;
1532
- uri?: string | undefined;
1533
- accessibilityDescription?: string | undefined;
1534
- } | undefined;
1535
- description?: string | undefined;
1536
- icon?: {
1537
- text: string;
1538
- } | {
1539
- name: string;
1540
- } | undefined;
1541
- }, {
1542
- type: "action";
1543
- title: string;
1544
- value: {
1545
- url?: string | undefined;
1546
- $id?: string | undefined;
1547
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1548
- disabled?: boolean | undefined;
1549
- title?: string | undefined;
1550
- timeout?: number | undefined;
1551
- id?: string | undefined;
1552
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1553
- $ref?: string | undefined;
1554
- exit?: boolean | undefined;
1555
- result?: JsonElement | undefined;
1556
- data?: JsonElement | undefined;
1557
- skipValidation?: boolean | undefined;
1558
- };
1559
- image?: {
1560
- url?: string | undefined;
1561
- text?: string | undefined;
1562
- uri?: string | undefined;
2179
+ type: "avatar";
2180
+ content: ({
2181
+ type: "text";
2182
+ text: string;
2183
+ badgeUri?: string | undefined;
2184
+ } | {
2185
+ type: "uri";
2186
+ uri: string;
2187
+ badgeUri?: string | undefined;
2188
+ })[];
1563
2189
  accessibilityDescription?: string | undefined;
1564
- } | undefined;
1565
- description?: string | undefined;
1566
- icon?: {
1567
- text: string;
1568
- } | {
1569
- name: string;
1570
- } | undefined;
1571
- }>;
1572
- export declare const searchResultSearchSchema: z.ZodObject<{
1573
- type: z.ZodLiteral<"search">;
1574
- title: z.ZodString;
1575
- description: z.ZodOptional<z.ZodString>;
1576
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1577
- name: z.ZodString;
1578
- }, "strip", z.ZodTypeAny, {
1579
- name: string;
1580
2190
  }, {
1581
- name: string;
2191
+ type: "avatar";
2192
+ content: ({
2193
+ type: "text";
2194
+ text: string;
2195
+ badgeUri?: string | undefined;
2196
+ } | {
2197
+ type: "uri";
2198
+ uri: string;
2199
+ badgeUri?: string | undefined;
2200
+ })[];
2201
+ accessibilityDescription?: string | undefined;
1582
2202
  }>, z.ZodObject<{
1583
- text: z.ZodString;
1584
- }, "strip", z.ZodTypeAny, {
1585
- text: string;
1586
- }, {
1587
- text: string;
1588
- }>]>>;
1589
- image: z.ZodOptional<z.ZodObject<{
1590
- text: z.ZodOptional<z.ZodString>;
1591
- url: z.ZodOptional<z.ZodString>;
1592
- uri: z.ZodOptional<z.ZodString>;
2203
+ type: z.ZodLiteral<"image">;
2204
+ uri: z.ZodString;
1593
2205
  accessibilityDescription: z.ZodOptional<z.ZodString>;
1594
2206
  }, "strip", z.ZodTypeAny, {
1595
- url?: string | undefined;
1596
- text?: string | undefined;
1597
- uri?: string | undefined;
2207
+ type: "image";
2208
+ uri: string;
1598
2209
  accessibilityDescription?: string | undefined;
1599
2210
  }, {
1600
- url?: string | undefined;
1601
- text?: string | undefined;
1602
- uri?: string | undefined;
2211
+ type: "image";
2212
+ uri: string;
1603
2213
  accessibilityDescription?: string | undefined;
1604
- }>>;
1605
- value: z.ZodObject<{
1606
- url: z.ZodString;
1607
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
1608
- param: z.ZodString;
1609
- query: z.ZodString;
1610
- }, "strip", z.ZodTypeAny, {
1611
- url: string;
1612
- param: string;
1613
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1614
- query: string;
1615
- }, {
1616
- url: string;
1617
- param: string;
1618
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1619
- query: string;
1620
- }>;
2214
+ }>]>>;
2215
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
1621
2216
  }, "strip", z.ZodTypeAny, {
1622
- type: "search";
1623
- title: string;
1624
- value: {
1625
- url: string;
1626
- param: string;
1627
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1628
- query: string;
1629
- };
1630
- image?: {
2217
+ providesTitle?: boolean | undefined;
2218
+ providesDescription?: boolean | undefined;
2219
+ providesIcon?: boolean | undefined;
2220
+ providesImage?: boolean | undefined;
2221
+ providesMedia?: boolean | undefined;
2222
+ defaultTitle?: string | undefined;
2223
+ defaultDescription?: string | undefined;
2224
+ defaultIcon?: {
2225
+ name: string;
2226
+ } | {
2227
+ text: string;
2228
+ } | undefined;
2229
+ defaultImage?: {
1631
2230
  url?: string | undefined;
1632
2231
  text?: string | undefined;
1633
2232
  uri?: string | undefined;
1634
2233
  accessibilityDescription?: string | undefined;
1635
2234
  } | undefined;
1636
- description?: string | undefined;
1637
- icon?: {
1638
- text: string;
2235
+ defaultMedia?: {
2236
+ type: "image";
2237
+ uri: string;
2238
+ accessibilityDescription?: string | undefined;
1639
2239
  } | {
1640
- name: string;
2240
+ type: "avatar";
2241
+ content: ({
2242
+ type: "text";
2243
+ text: string;
2244
+ badgeUri?: string | undefined;
2245
+ } | {
2246
+ type: "uri";
2247
+ uri: string;
2248
+ badgeUri?: string | undefined;
2249
+ })[];
2250
+ accessibilityDescription?: string | undefined;
1641
2251
  } | undefined;
1642
2252
  }, {
1643
- type: "search";
1644
- title: string;
1645
- value: {
1646
- url: string;
1647
- param: string;
1648
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1649
- query: string;
1650
- };
1651
- image?: {
2253
+ providesTitle?: boolean | undefined;
2254
+ providesDescription?: boolean | undefined;
2255
+ providesIcon?: boolean | undefined;
2256
+ providesImage?: boolean | undefined;
2257
+ providesMedia?: boolean | undefined;
2258
+ defaultTitle?: string | undefined;
2259
+ defaultDescription?: string | undefined;
2260
+ defaultIcon?: {
2261
+ name: string;
2262
+ } | {
2263
+ text: string;
2264
+ } | undefined;
2265
+ defaultImage?: {
1652
2266
  url?: string | undefined;
1653
2267
  text?: string | undefined;
1654
2268
  uri?: string | undefined;
1655
2269
  accessibilityDescription?: string | undefined;
1656
2270
  } | undefined;
1657
- description?: string | undefined;
1658
- icon?: {
1659
- text: string;
2271
+ defaultMedia?: {
2272
+ type: "image";
2273
+ uri: string;
2274
+ accessibilityDescription?: string | undefined;
1660
2275
  } | {
1661
- name: string;
2276
+ type: "avatar";
2277
+ content: ({
2278
+ type: "text";
2279
+ text: string;
2280
+ badgeUri?: string | undefined;
2281
+ } | {
2282
+ type: "uri";
2283
+ uri: string;
2284
+ badgeUri?: string | undefined;
2285
+ })[];
2286
+ accessibilityDescription?: string | undefined;
1662
2287
  } | undefined;
1663
- }>;
2288
+ }>]>;
1664
2289
  export declare const suggestionsSchema: z.ZodObject<{
1665
2290
  values: z.ZodArray<z.ZodObject<{
1666
2291
  label: z.ZodString;
@@ -1695,6 +2320,71 @@ export declare const suggestionsSchema: z.ZodObject<{
1695
2320
  accessibilityDescription?: string | undefined;
1696
2321
  }>>;
1697
2322
  tag: z.ZodOptional<z.ZodString>;
2323
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2324
+ type: z.ZodLiteral<"avatar">;
2325
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2326
+ type: z.ZodLiteral<"text">;
2327
+ text: z.ZodString;
2328
+ badgeUri: z.ZodOptional<z.ZodString>;
2329
+ }, "strip", z.ZodTypeAny, {
2330
+ type: "text";
2331
+ text: string;
2332
+ badgeUri?: string | undefined;
2333
+ }, {
2334
+ type: "text";
2335
+ text: string;
2336
+ badgeUri?: string | undefined;
2337
+ }>, z.ZodObject<{
2338
+ type: z.ZodLiteral<"uri">;
2339
+ uri: z.ZodString;
2340
+ badgeUri: z.ZodOptional<z.ZodString>;
2341
+ }, "strip", z.ZodTypeAny, {
2342
+ type: "uri";
2343
+ uri: string;
2344
+ badgeUri?: string | undefined;
2345
+ }, {
2346
+ type: "uri";
2347
+ uri: string;
2348
+ badgeUri?: string | undefined;
2349
+ }>]>, "many">;
2350
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ type: "avatar";
2353
+ content: ({
2354
+ type: "text";
2355
+ text: string;
2356
+ badgeUri?: string | undefined;
2357
+ } | {
2358
+ type: "uri";
2359
+ uri: string;
2360
+ badgeUri?: string | undefined;
2361
+ })[];
2362
+ accessibilityDescription?: string | undefined;
2363
+ }, {
2364
+ type: "avatar";
2365
+ content: ({
2366
+ type: "text";
2367
+ text: string;
2368
+ badgeUri?: string | undefined;
2369
+ } | {
2370
+ type: "uri";
2371
+ uri: string;
2372
+ badgeUri?: string | undefined;
2373
+ })[];
2374
+ accessibilityDescription?: string | undefined;
2375
+ }>, z.ZodObject<{
2376
+ type: z.ZodLiteral<"image">;
2377
+ uri: z.ZodString;
2378
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2379
+ }, "strip", z.ZodTypeAny, {
2380
+ type: "image";
2381
+ uri: string;
2382
+ accessibilityDescription?: string | undefined;
2383
+ }, {
2384
+ type: "image";
2385
+ uri: string;
2386
+ accessibilityDescription?: string | undefined;
2387
+ }>]>>;
1698
2388
  analyticsId: z.ZodOptional<z.ZodString>;
1699
2389
  }, "strip", z.ZodTypeAny, {
1700
2390
  value: JsonElement;
@@ -1707,11 +2397,28 @@ export declare const suggestionsSchema: z.ZodObject<{
1707
2397
  } | undefined;
1708
2398
  analyticsId?: string | undefined;
1709
2399
  icon?: {
1710
- text: string;
1711
- } | {
1712
2400
  name: string;
2401
+ } | {
2402
+ text: string;
1713
2403
  } | undefined;
1714
2404
  tag?: string | undefined;
2405
+ media?: {
2406
+ type: "image";
2407
+ uri: string;
2408
+ accessibilityDescription?: string | undefined;
2409
+ } | {
2410
+ type: "avatar";
2411
+ content: ({
2412
+ type: "text";
2413
+ text: string;
2414
+ badgeUri?: string | undefined;
2415
+ } | {
2416
+ type: "uri";
2417
+ uri: string;
2418
+ badgeUri?: string | undefined;
2419
+ })[];
2420
+ accessibilityDescription?: string | undefined;
2421
+ } | undefined;
1715
2422
  }, {
1716
2423
  value: JsonElement;
1717
2424
  label: string;
@@ -1723,11 +2430,28 @@ export declare const suggestionsSchema: z.ZodObject<{
1723
2430
  } | undefined;
1724
2431
  analyticsId?: string | undefined;
1725
2432
  icon?: {
1726
- text: string;
1727
- } | {
1728
2433
  name: string;
2434
+ } | {
2435
+ text: string;
1729
2436
  } | undefined;
1730
2437
  tag?: string | undefined;
2438
+ media?: {
2439
+ type: "image";
2440
+ uri: string;
2441
+ accessibilityDescription?: string | undefined;
2442
+ } | {
2443
+ type: "avatar";
2444
+ content: ({
2445
+ type: "text";
2446
+ text: string;
2447
+ badgeUri?: string | undefined;
2448
+ } | {
2449
+ type: "uri";
2450
+ uri: string;
2451
+ badgeUri?: string | undefined;
2452
+ })[];
2453
+ accessibilityDescription?: string | undefined;
2454
+ } | undefined;
1731
2455
  }>, "many">;
1732
2456
  }, "strip", z.ZodTypeAny, {
1733
2457
  values: {
@@ -1741,11 +2465,28 @@ export declare const suggestionsSchema: z.ZodObject<{
1741
2465
  } | undefined;
1742
2466
  analyticsId?: string | undefined;
1743
2467
  icon?: {
1744
- text: string;
1745
- } | {
1746
2468
  name: string;
2469
+ } | {
2470
+ text: string;
1747
2471
  } | undefined;
1748
2472
  tag?: string | undefined;
2473
+ media?: {
2474
+ type: "image";
2475
+ uri: string;
2476
+ accessibilityDescription?: string | undefined;
2477
+ } | {
2478
+ type: "avatar";
2479
+ content: ({
2480
+ type: "text";
2481
+ text: string;
2482
+ badgeUri?: string | undefined;
2483
+ } | {
2484
+ type: "uri";
2485
+ uri: string;
2486
+ badgeUri?: string | undefined;
2487
+ })[];
2488
+ accessibilityDescription?: string | undefined;
2489
+ } | undefined;
1749
2490
  }[];
1750
2491
  }, {
1751
2492
  values: {
@@ -1759,66 +2500,30 @@ export declare const suggestionsSchema: z.ZodObject<{
1759
2500
  } | undefined;
1760
2501
  analyticsId?: string | undefined;
1761
2502
  icon?: {
1762
- text: string;
1763
- } | {
1764
2503
  name: string;
2504
+ } | {
2505
+ text: string;
1765
2506
  } | undefined;
1766
2507
  tag?: string | undefined;
2508
+ media?: {
2509
+ type: "image";
2510
+ uri: string;
2511
+ accessibilityDescription?: string | undefined;
2512
+ } | {
2513
+ type: "avatar";
2514
+ content: ({
2515
+ type: "text";
2516
+ text: string;
2517
+ badgeUri?: string | undefined;
2518
+ } | {
2519
+ type: "uri";
2520
+ uri: string;
2521
+ badgeUri?: string | undefined;
2522
+ })[];
2523
+ accessibilityDescription?: string | undefined;
2524
+ } | undefined;
1767
2525
  }[];
1768
2526
  }>;
1769
- export declare const mediaAvatarSchema: z.ZodObject<{
1770
- type: z.ZodLiteral<"avatar">;
1771
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1772
- type: z.ZodLiteral<"text">;
1773
- text: z.ZodString;
1774
- badgeUri: z.ZodOptional<z.ZodString>;
1775
- }, "strip", z.ZodTypeAny, {
1776
- type: "text";
1777
- text: string;
1778
- badgeUri?: string | undefined;
1779
- }, {
1780
- type: "text";
1781
- text: string;
1782
- badgeUri?: string | undefined;
1783
- }>, z.ZodObject<{
1784
- type: z.ZodLiteral<"uri">;
1785
- uri: z.ZodString;
1786
- badgeUri: z.ZodOptional<z.ZodString>;
1787
- }, "strip", z.ZodTypeAny, {
1788
- type: "uri";
1789
- uri: string;
1790
- badgeUri?: string | undefined;
1791
- }, {
1792
- type: "uri";
1793
- uri: string;
1794
- badgeUri?: string | undefined;
1795
- }>]>, "many">;
1796
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1797
- }, "strip", z.ZodTypeAny, {
1798
- type: "avatar";
1799
- content: ({
1800
- type: "text";
1801
- text: string;
1802
- badgeUri?: string | undefined;
1803
- } | {
1804
- type: "uri";
1805
- uri: string;
1806
- badgeUri?: string | undefined;
1807
- })[];
1808
- accessibilityDescription?: string | undefined;
1809
- }, {
1810
- type: "avatar";
1811
- content: ({
1812
- type: "text";
1813
- text: string;
1814
- badgeUri?: string | undefined;
1815
- } | {
1816
- type: "uri";
1817
- uri: string;
1818
- badgeUri?: string | undefined;
1819
- })[];
1820
- accessibilityDescription?: string | undefined;
1821
- }>;
1822
2527
  export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1823
2528
  type: z.ZodLiteral<"action">;
1824
2529
  title: z.ZodString;
@@ -1895,6 +2600,71 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1895
2600
  data?: JsonElement | undefined;
1896
2601
  skipValidation?: boolean | undefined;
1897
2602
  }>;
2603
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2604
+ type: z.ZodLiteral<"avatar">;
2605
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2606
+ type: z.ZodLiteral<"text">;
2607
+ text: z.ZodString;
2608
+ badgeUri: z.ZodOptional<z.ZodString>;
2609
+ }, "strip", z.ZodTypeAny, {
2610
+ type: "text";
2611
+ text: string;
2612
+ badgeUri?: string | undefined;
2613
+ }, {
2614
+ type: "text";
2615
+ text: string;
2616
+ badgeUri?: string | undefined;
2617
+ }>, z.ZodObject<{
2618
+ type: z.ZodLiteral<"uri">;
2619
+ uri: z.ZodString;
2620
+ badgeUri: z.ZodOptional<z.ZodString>;
2621
+ }, "strip", z.ZodTypeAny, {
2622
+ type: "uri";
2623
+ uri: string;
2624
+ badgeUri?: string | undefined;
2625
+ }, {
2626
+ type: "uri";
2627
+ uri: string;
2628
+ badgeUri?: string | undefined;
2629
+ }>]>, "many">;
2630
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2631
+ }, "strip", z.ZodTypeAny, {
2632
+ type: "avatar";
2633
+ content: ({
2634
+ type: "text";
2635
+ text: string;
2636
+ badgeUri?: string | undefined;
2637
+ } | {
2638
+ type: "uri";
2639
+ uri: string;
2640
+ badgeUri?: string | undefined;
2641
+ })[];
2642
+ accessibilityDescription?: string | undefined;
2643
+ }, {
2644
+ type: "avatar";
2645
+ content: ({
2646
+ type: "text";
2647
+ text: string;
2648
+ badgeUri?: string | undefined;
2649
+ } | {
2650
+ type: "uri";
2651
+ uri: string;
2652
+ badgeUri?: string | undefined;
2653
+ })[];
2654
+ accessibilityDescription?: string | undefined;
2655
+ }>, z.ZodObject<{
2656
+ type: z.ZodLiteral<"image">;
2657
+ uri: z.ZodString;
2658
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2659
+ }, "strip", z.ZodTypeAny, {
2660
+ type: "image";
2661
+ uri: string;
2662
+ accessibilityDescription?: string | undefined;
2663
+ }, {
2664
+ type: "image";
2665
+ uri: string;
2666
+ accessibilityDescription?: string | undefined;
2667
+ }>]>>;
1898
2668
  }, "strip", z.ZodTypeAny, {
1899
2669
  type: "action";
1900
2670
  title: string;
@@ -1921,9 +2691,26 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1921
2691
  } | undefined;
1922
2692
  description?: string | undefined;
1923
2693
  icon?: {
2694
+ name: string;
2695
+ } | {
1924
2696
  text: string;
2697
+ } | undefined;
2698
+ media?: {
2699
+ type: "image";
2700
+ uri: string;
2701
+ accessibilityDescription?: string | undefined;
1925
2702
  } | {
1926
- name: string;
2703
+ type: "avatar";
2704
+ content: ({
2705
+ type: "text";
2706
+ text: string;
2707
+ badgeUri?: string | undefined;
2708
+ } | {
2709
+ type: "uri";
2710
+ uri: string;
2711
+ badgeUri?: string | undefined;
2712
+ })[];
2713
+ accessibilityDescription?: string | undefined;
1927
2714
  } | undefined;
1928
2715
  }, {
1929
2716
  type: "action";
@@ -1951,9 +2738,26 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1951
2738
  } | undefined;
1952
2739
  description?: string | undefined;
1953
2740
  icon?: {
2741
+ name: string;
2742
+ } | {
1954
2743
  text: string;
2744
+ } | undefined;
2745
+ media?: {
2746
+ type: "image";
2747
+ uri: string;
2748
+ accessibilityDescription?: string | undefined;
1955
2749
  } | {
1956
- name: string;
2750
+ type: "avatar";
2751
+ content: ({
2752
+ type: "text";
2753
+ text: string;
2754
+ badgeUri?: string | undefined;
2755
+ } | {
2756
+ type: "uri";
2757
+ uri: string;
2758
+ badgeUri?: string | undefined;
2759
+ })[];
2760
+ accessibilityDescription?: string | undefined;
1957
2761
  } | undefined;
1958
2762
  }>, z.ZodObject<{
1959
2763
  type: z.ZodLiteral<"search">;
@@ -1995,122 +2799,156 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1995
2799
  query: z.ZodString;
1996
2800
  }, "strip", z.ZodTypeAny, {
1997
2801
  url: string;
1998
- param: string;
1999
2802
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2803
+ param: string;
2000
2804
  query: string;
2001
2805
  }, {
2002
2806
  url: string;
2003
- param: string;
2004
2807
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2808
+ param: string;
2005
2809
  query: string;
2006
2810
  }>;
2811
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2812
+ type: z.ZodLiteral<"avatar">;
2813
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2814
+ type: z.ZodLiteral<"text">;
2815
+ text: z.ZodString;
2816
+ badgeUri: z.ZodOptional<z.ZodString>;
2817
+ }, "strip", z.ZodTypeAny, {
2818
+ type: "text";
2819
+ text: string;
2820
+ badgeUri?: string | undefined;
2821
+ }, {
2822
+ type: "text";
2823
+ text: string;
2824
+ badgeUri?: string | undefined;
2825
+ }>, z.ZodObject<{
2826
+ type: z.ZodLiteral<"uri">;
2827
+ uri: z.ZodString;
2828
+ badgeUri: z.ZodOptional<z.ZodString>;
2829
+ }, "strip", z.ZodTypeAny, {
2830
+ type: "uri";
2831
+ uri: string;
2832
+ badgeUri?: string | undefined;
2833
+ }, {
2834
+ type: "uri";
2835
+ uri: string;
2836
+ badgeUri?: string | undefined;
2837
+ }>]>, "many">;
2838
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2839
+ }, "strip", z.ZodTypeAny, {
2840
+ type: "avatar";
2841
+ content: ({
2842
+ type: "text";
2843
+ text: string;
2844
+ badgeUri?: string | undefined;
2845
+ } | {
2846
+ type: "uri";
2847
+ uri: string;
2848
+ badgeUri?: string | undefined;
2849
+ })[];
2850
+ accessibilityDescription?: string | undefined;
2851
+ }, {
2852
+ type: "avatar";
2853
+ content: ({
2854
+ type: "text";
2855
+ text: string;
2856
+ badgeUri?: string | undefined;
2857
+ } | {
2858
+ type: "uri";
2859
+ uri: string;
2860
+ badgeUri?: string | undefined;
2861
+ })[];
2862
+ accessibilityDescription?: string | undefined;
2863
+ }>, z.ZodObject<{
2864
+ type: z.ZodLiteral<"image">;
2865
+ uri: z.ZodString;
2866
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2867
+ }, "strip", z.ZodTypeAny, {
2868
+ type: "image";
2869
+ uri: string;
2870
+ accessibilityDescription?: string | undefined;
2871
+ }, {
2872
+ type: "image";
2873
+ uri: string;
2874
+ accessibilityDescription?: string | undefined;
2875
+ }>]>>;
2007
2876
  }, "strip", z.ZodTypeAny, {
2008
2877
  type: "search";
2009
2878
  title: string;
2010
2879
  value: {
2011
2880
  url: string;
2012
- param: string;
2013
2881
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2014
- query: string;
2015
- };
2016
- image?: {
2017
- url?: string | undefined;
2018
- text?: string | undefined;
2019
- uri?: string | undefined;
2020
- accessibilityDescription?: string | undefined;
2021
- } | undefined;
2022
- description?: string | undefined;
2023
- icon?: {
2024
- text: string;
2025
- } | {
2026
- name: string;
2027
- } | undefined;
2028
- }, {
2029
- type: "search";
2030
- title: string;
2031
- value: {
2032
- url: string;
2033
2882
  param: string;
2034
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2035
2883
  query: string;
2036
2884
  };
2037
2885
  image?: {
2038
- url?: string | undefined;
2039
- text?: string | undefined;
2040
- uri?: string | undefined;
2041
- accessibilityDescription?: string | undefined;
2042
- } | undefined;
2043
- description?: string | undefined;
2044
- icon?: {
2045
- text: string;
2046
- } | {
2047
- name: string;
2048
- } | undefined;
2049
- }>]>;
2050
- export declare const mediaSchema: z.ZodUnion<[z.ZodObject<{
2051
- type: z.ZodLiteral<"avatar">;
2052
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2053
- type: z.ZodLiteral<"text">;
2054
- text: z.ZodString;
2055
- badgeUri: z.ZodOptional<z.ZodString>;
2056
- }, "strip", z.ZodTypeAny, {
2057
- type: "text";
2058
- text: string;
2059
- badgeUri?: string | undefined;
2060
- }, {
2061
- type: "text";
2062
- text: string;
2063
- badgeUri?: string | undefined;
2064
- }>, z.ZodObject<{
2065
- type: z.ZodLiteral<"uri">;
2066
- uri: z.ZodString;
2067
- badgeUri: z.ZodOptional<z.ZodString>;
2068
- }, "strip", z.ZodTypeAny, {
2069
- type: "uri";
2070
- uri: string;
2071
- badgeUri?: string | undefined;
2072
- }, {
2073
- type: "uri";
2074
- uri: string;
2075
- badgeUri?: string | undefined;
2076
- }>]>, "many">;
2077
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2078
- }, "strip", z.ZodTypeAny, {
2079
- type: "avatar";
2080
- content: ({
2081
- type: "text";
2082
- text: string;
2083
- badgeUri?: string | undefined;
2886
+ url?: string | undefined;
2887
+ text?: string | undefined;
2888
+ uri?: string | undefined;
2889
+ accessibilityDescription?: string | undefined;
2890
+ } | undefined;
2891
+ description?: string | undefined;
2892
+ icon?: {
2893
+ name: string;
2084
2894
  } | {
2085
- type: "uri";
2895
+ text: string;
2896
+ } | undefined;
2897
+ media?: {
2898
+ type: "image";
2086
2899
  uri: string;
2087
- badgeUri?: string | undefined;
2088
- })[];
2089
- accessibilityDescription?: string | undefined;
2900
+ accessibilityDescription?: string | undefined;
2901
+ } | {
2902
+ type: "avatar";
2903
+ content: ({
2904
+ type: "text";
2905
+ text: string;
2906
+ badgeUri?: string | undefined;
2907
+ } | {
2908
+ type: "uri";
2909
+ uri: string;
2910
+ badgeUri?: string | undefined;
2911
+ })[];
2912
+ accessibilityDescription?: string | undefined;
2913
+ } | undefined;
2090
2914
  }, {
2091
- type: "avatar";
2092
- content: ({
2093
- type: "text";
2094
- text: string;
2095
- badgeUri?: string | undefined;
2915
+ type: "search";
2916
+ title: string;
2917
+ value: {
2918
+ url: string;
2919
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2920
+ param: string;
2921
+ query: string;
2922
+ };
2923
+ image?: {
2924
+ url?: string | undefined;
2925
+ text?: string | undefined;
2926
+ uri?: string | undefined;
2927
+ accessibilityDescription?: string | undefined;
2928
+ } | undefined;
2929
+ description?: string | undefined;
2930
+ icon?: {
2931
+ name: string;
2096
2932
  } | {
2097
- type: "uri";
2933
+ text: string;
2934
+ } | undefined;
2935
+ media?: {
2936
+ type: "image";
2098
2937
  uri: string;
2099
- badgeUri?: string | undefined;
2100
- })[];
2101
- accessibilityDescription?: string | undefined;
2102
- }>, z.ZodObject<{
2103
- type: z.ZodLiteral<"image">;
2104
- uri: z.ZodString;
2105
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2106
- }, "strip", z.ZodTypeAny, {
2107
- type: "image";
2108
- uri: string;
2109
- accessibilityDescription?: string | undefined;
2110
- }, {
2111
- type: "image";
2112
- uri: string;
2113
- accessibilityDescription?: string | undefined;
2938
+ accessibilityDescription?: string | undefined;
2939
+ } | {
2940
+ type: "avatar";
2941
+ content: ({
2942
+ type: "text";
2943
+ text: string;
2944
+ badgeUri?: string | undefined;
2945
+ } | {
2946
+ type: "uri";
2947
+ uri: string;
2948
+ badgeUri?: string | undefined;
2949
+ })[];
2950
+ accessibilityDescription?: string | undefined;
2951
+ } | undefined;
2114
2952
  }>]>;
2115
2953
  export declare const searchResponseBodySchema: z.ZodObject<{
2116
2954
  results: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -2189,6 +3027,71 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2189
3027
  data?: JsonElement | undefined;
2190
3028
  skipValidation?: boolean | undefined;
2191
3029
  }>;
3030
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3031
+ type: z.ZodLiteral<"avatar">;
3032
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3033
+ type: z.ZodLiteral<"text">;
3034
+ text: z.ZodString;
3035
+ badgeUri: z.ZodOptional<z.ZodString>;
3036
+ }, "strip", z.ZodTypeAny, {
3037
+ type: "text";
3038
+ text: string;
3039
+ badgeUri?: string | undefined;
3040
+ }, {
3041
+ type: "text";
3042
+ text: string;
3043
+ badgeUri?: string | undefined;
3044
+ }>, z.ZodObject<{
3045
+ type: z.ZodLiteral<"uri">;
3046
+ uri: z.ZodString;
3047
+ badgeUri: z.ZodOptional<z.ZodString>;
3048
+ }, "strip", z.ZodTypeAny, {
3049
+ type: "uri";
3050
+ uri: string;
3051
+ badgeUri?: string | undefined;
3052
+ }, {
3053
+ type: "uri";
3054
+ uri: string;
3055
+ badgeUri?: string | undefined;
3056
+ }>]>, "many">;
3057
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3058
+ }, "strip", z.ZodTypeAny, {
3059
+ type: "avatar";
3060
+ content: ({
3061
+ type: "text";
3062
+ text: string;
3063
+ badgeUri?: string | undefined;
3064
+ } | {
3065
+ type: "uri";
3066
+ uri: string;
3067
+ badgeUri?: string | undefined;
3068
+ })[];
3069
+ accessibilityDescription?: string | undefined;
3070
+ }, {
3071
+ type: "avatar";
3072
+ content: ({
3073
+ type: "text";
3074
+ text: string;
3075
+ badgeUri?: string | undefined;
3076
+ } | {
3077
+ type: "uri";
3078
+ uri: string;
3079
+ badgeUri?: string | undefined;
3080
+ })[];
3081
+ accessibilityDescription?: string | undefined;
3082
+ }>, z.ZodObject<{
3083
+ type: z.ZodLiteral<"image">;
3084
+ uri: z.ZodString;
3085
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3086
+ }, "strip", z.ZodTypeAny, {
3087
+ type: "image";
3088
+ uri: string;
3089
+ accessibilityDescription?: string | undefined;
3090
+ }, {
3091
+ type: "image";
3092
+ uri: string;
3093
+ accessibilityDescription?: string | undefined;
3094
+ }>]>>;
2192
3095
  }, "strip", z.ZodTypeAny, {
2193
3096
  type: "action";
2194
3097
  title: string;
@@ -2215,9 +3118,26 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2215
3118
  } | undefined;
2216
3119
  description?: string | undefined;
2217
3120
  icon?: {
3121
+ name: string;
3122
+ } | {
2218
3123
  text: string;
3124
+ } | undefined;
3125
+ media?: {
3126
+ type: "image";
3127
+ uri: string;
3128
+ accessibilityDescription?: string | undefined;
2219
3129
  } | {
2220
- name: string;
3130
+ type: "avatar";
3131
+ content: ({
3132
+ type: "text";
3133
+ text: string;
3134
+ badgeUri?: string | undefined;
3135
+ } | {
3136
+ type: "uri";
3137
+ uri: string;
3138
+ badgeUri?: string | undefined;
3139
+ })[];
3140
+ accessibilityDescription?: string | undefined;
2221
3141
  } | undefined;
2222
3142
  }, {
2223
3143
  type: "action";
@@ -2245,9 +3165,26 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2245
3165
  } | undefined;
2246
3166
  description?: string | undefined;
2247
3167
  icon?: {
3168
+ name: string;
3169
+ } | {
2248
3170
  text: string;
3171
+ } | undefined;
3172
+ media?: {
3173
+ type: "image";
3174
+ uri: string;
3175
+ accessibilityDescription?: string | undefined;
2249
3176
  } | {
2250
- name: string;
3177
+ type: "avatar";
3178
+ content: ({
3179
+ type: "text";
3180
+ text: string;
3181
+ badgeUri?: string | undefined;
3182
+ } | {
3183
+ type: "uri";
3184
+ uri: string;
3185
+ badgeUri?: string | undefined;
3186
+ })[];
3187
+ accessibilityDescription?: string | undefined;
2251
3188
  } | undefined;
2252
3189
  }>, z.ZodObject<{
2253
3190
  type: z.ZodLiteral<"search">;
@@ -2289,22 +3226,87 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2289
3226
  query: z.ZodString;
2290
3227
  }, "strip", z.ZodTypeAny, {
2291
3228
  url: string;
2292
- param: string;
2293
3229
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3230
+ param: string;
2294
3231
  query: string;
2295
3232
  }, {
2296
3233
  url: string;
2297
- param: string;
2298
3234
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3235
+ param: string;
2299
3236
  query: string;
2300
3237
  }>;
3238
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3239
+ type: z.ZodLiteral<"avatar">;
3240
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3241
+ type: z.ZodLiteral<"text">;
3242
+ text: z.ZodString;
3243
+ badgeUri: z.ZodOptional<z.ZodString>;
3244
+ }, "strip", z.ZodTypeAny, {
3245
+ type: "text";
3246
+ text: string;
3247
+ badgeUri?: string | undefined;
3248
+ }, {
3249
+ type: "text";
3250
+ text: string;
3251
+ badgeUri?: string | undefined;
3252
+ }>, z.ZodObject<{
3253
+ type: z.ZodLiteral<"uri">;
3254
+ uri: z.ZodString;
3255
+ badgeUri: z.ZodOptional<z.ZodString>;
3256
+ }, "strip", z.ZodTypeAny, {
3257
+ type: "uri";
3258
+ uri: string;
3259
+ badgeUri?: string | undefined;
3260
+ }, {
3261
+ type: "uri";
3262
+ uri: string;
3263
+ badgeUri?: string | undefined;
3264
+ }>]>, "many">;
3265
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ type: "avatar";
3268
+ content: ({
3269
+ type: "text";
3270
+ text: string;
3271
+ badgeUri?: string | undefined;
3272
+ } | {
3273
+ type: "uri";
3274
+ uri: string;
3275
+ badgeUri?: string | undefined;
3276
+ })[];
3277
+ accessibilityDescription?: string | undefined;
3278
+ }, {
3279
+ type: "avatar";
3280
+ content: ({
3281
+ type: "text";
3282
+ text: string;
3283
+ badgeUri?: string | undefined;
3284
+ } | {
3285
+ type: "uri";
3286
+ uri: string;
3287
+ badgeUri?: string | undefined;
3288
+ })[];
3289
+ accessibilityDescription?: string | undefined;
3290
+ }>, z.ZodObject<{
3291
+ type: z.ZodLiteral<"image">;
3292
+ uri: z.ZodString;
3293
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3294
+ }, "strip", z.ZodTypeAny, {
3295
+ type: "image";
3296
+ uri: string;
3297
+ accessibilityDescription?: string | undefined;
3298
+ }, {
3299
+ type: "image";
3300
+ uri: string;
3301
+ accessibilityDescription?: string | undefined;
3302
+ }>]>>;
2301
3303
  }, "strip", z.ZodTypeAny, {
2302
3304
  type: "search";
2303
3305
  title: string;
2304
3306
  value: {
2305
3307
  url: string;
2306
- param: string;
2307
3308
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3309
+ param: string;
2308
3310
  query: string;
2309
3311
  };
2310
3312
  image?: {
@@ -2315,17 +3317,34 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2315
3317
  } | undefined;
2316
3318
  description?: string | undefined;
2317
3319
  icon?: {
3320
+ name: string;
3321
+ } | {
2318
3322
  text: string;
3323
+ } | undefined;
3324
+ media?: {
3325
+ type: "image";
3326
+ uri: string;
3327
+ accessibilityDescription?: string | undefined;
2319
3328
  } | {
2320
- name: string;
3329
+ type: "avatar";
3330
+ content: ({
3331
+ type: "text";
3332
+ text: string;
3333
+ badgeUri?: string | undefined;
3334
+ } | {
3335
+ type: "uri";
3336
+ uri: string;
3337
+ badgeUri?: string | undefined;
3338
+ })[];
3339
+ accessibilityDescription?: string | undefined;
2321
3340
  } | undefined;
2322
3341
  }, {
2323
3342
  type: "search";
2324
3343
  title: string;
2325
3344
  value: {
2326
3345
  url: string;
2327
- param: string;
2328
3346
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3347
+ param: string;
2329
3348
  query: string;
2330
3349
  };
2331
3350
  image?: {
@@ -2336,13 +3355,68 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2336
3355
  } | undefined;
2337
3356
  description?: string | undefined;
2338
3357
  icon?: {
3358
+ name: string;
3359
+ } | {
2339
3360
  text: string;
3361
+ } | undefined;
3362
+ media?: {
3363
+ type: "image";
3364
+ uri: string;
3365
+ accessibilityDescription?: string | undefined;
2340
3366
  } | {
2341
- name: string;
3367
+ type: "avatar";
3368
+ content: ({
3369
+ type: "text";
3370
+ text: string;
3371
+ badgeUri?: string | undefined;
3372
+ } | {
3373
+ type: "uri";
3374
+ uri: string;
3375
+ badgeUri?: string | undefined;
3376
+ })[];
3377
+ accessibilityDescription?: string | undefined;
2342
3378
  } | undefined;
2343
3379
  }>]>, "many">;
2344
3380
  }, "strip", z.ZodTypeAny, {
2345
3381
  results: ({
3382
+ type: "search";
3383
+ title: string;
3384
+ value: {
3385
+ url: string;
3386
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3387
+ param: string;
3388
+ query: string;
3389
+ };
3390
+ image?: {
3391
+ url?: string | undefined;
3392
+ text?: string | undefined;
3393
+ uri?: string | undefined;
3394
+ accessibilityDescription?: string | undefined;
3395
+ } | undefined;
3396
+ description?: string | undefined;
3397
+ icon?: {
3398
+ name: string;
3399
+ } | {
3400
+ text: string;
3401
+ } | undefined;
3402
+ media?: {
3403
+ type: "image";
3404
+ uri: string;
3405
+ accessibilityDescription?: string | undefined;
3406
+ } | {
3407
+ type: "avatar";
3408
+ content: ({
3409
+ type: "text";
3410
+ text: string;
3411
+ badgeUri?: string | undefined;
3412
+ } | {
3413
+ type: "uri";
3414
+ uri: string;
3415
+ badgeUri?: string | undefined;
3416
+ })[];
3417
+ accessibilityDescription?: string | undefined;
3418
+ } | undefined;
3419
+ } | {
2346
3420
  type: "action";
2347
3421
  title: string;
2348
3422
  value: {
@@ -2368,17 +3442,36 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2368
3442
  } | undefined;
2369
3443
  description?: string | undefined;
2370
3444
  icon?: {
3445
+ name: string;
3446
+ } | {
2371
3447
  text: string;
3448
+ } | undefined;
3449
+ media?: {
3450
+ type: "image";
3451
+ uri: string;
3452
+ accessibilityDescription?: string | undefined;
2372
3453
  } | {
2373
- name: string;
3454
+ type: "avatar";
3455
+ content: ({
3456
+ type: "text";
3457
+ text: string;
3458
+ badgeUri?: string | undefined;
3459
+ } | {
3460
+ type: "uri";
3461
+ uri: string;
3462
+ badgeUri?: string | undefined;
3463
+ })[];
3464
+ accessibilityDescription?: string | undefined;
2374
3465
  } | undefined;
2375
- } | {
3466
+ })[];
3467
+ }, {
3468
+ results: ({
2376
3469
  type: "search";
2377
3470
  title: string;
2378
3471
  value: {
2379
3472
  url: string;
2380
- param: string;
2381
3473
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
3474
+ param: string;
2382
3475
  query: string;
2383
3476
  };
2384
3477
  image?: {
@@ -2389,13 +3482,28 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2389
3482
  } | undefined;
2390
3483
  description?: string | undefined;
2391
3484
  icon?: {
3485
+ name: string;
3486
+ } | {
2392
3487
  text: string;
3488
+ } | undefined;
3489
+ media?: {
3490
+ type: "image";
3491
+ uri: string;
3492
+ accessibilityDescription?: string | undefined;
2393
3493
  } | {
2394
- name: string;
3494
+ type: "avatar";
3495
+ content: ({
3496
+ type: "text";
3497
+ text: string;
3498
+ badgeUri?: string | undefined;
3499
+ } | {
3500
+ type: "uri";
3501
+ uri: string;
3502
+ badgeUri?: string | undefined;
3503
+ })[];
3504
+ accessibilityDescription?: string | undefined;
2395
3505
  } | undefined;
2396
- })[];
2397
- }, {
2398
- results: ({
3506
+ } | {
2399
3507
  type: "action";
2400
3508
  title: string;
2401
3509
  value: {
@@ -2421,75 +3529,74 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2421
3529
  } | undefined;
2422
3530
  description?: string | undefined;
2423
3531
  icon?: {
2424
- text: string;
2425
- } | {
2426
3532
  name: string;
3533
+ } | {
3534
+ text: string;
2427
3535
  } | undefined;
2428
- } | {
2429
- type: "search";
2430
- title: string;
2431
- value: {
2432
- url: string;
2433
- param: string;
2434
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2435
- query: string;
2436
- };
2437
- image?: {
2438
- url?: string | undefined;
2439
- text?: string | undefined;
2440
- uri?: string | undefined;
3536
+ media?: {
3537
+ type: "image";
3538
+ uri: string;
2441
3539
  accessibilityDescription?: string | undefined;
2442
- } | undefined;
2443
- description?: string | undefined;
2444
- icon?: {
2445
- text: string;
2446
3540
  } | {
2447
- name: string;
3541
+ type: "avatar";
3542
+ content: ({
3543
+ type: "text";
3544
+ text: string;
3545
+ badgeUri?: string | undefined;
3546
+ } | {
3547
+ type: "uri";
3548
+ uri: string;
3549
+ badgeUri?: string | undefined;
3550
+ })[];
3551
+ accessibilityDescription?: string | undefined;
2448
3552
  } | undefined;
2449
3553
  })[];
2450
3554
  }>;
2451
- export declare const stepSchema: z.ZodSchema<Step>;
3555
+ export declare const allOfSchemaSchema: z.ZodSchema<AllOfSchema>;
2452
3556
  export declare const schemaSchema: z.ZodSchema<Schema>;
2453
- export declare const layoutSchema: z.ZodSchema<Layout>;
2454
- export declare const pollingSchema: z.ZodSchema<Polling>;
2455
- export declare const linkHandlerSchema: z.ZodSchema<LinkHandler>;
2456
- export declare const modalResponseBodySchema: z.ZodSchema<ModalResponseBody>;
2457
- export declare const modalBehaviorSchema: z.ZodSchema<ModalBehavior>;
3557
+ export declare const alertLayoutSchema: z.ZodSchema<AlertLayout>;
3558
+ export declare const stringSchemaSchema: z.ZodSchema<StringSchema>;
2458
3559
  export declare const persistAsyncSchema: z.ZodSchema<PersistAsync>;
2459
3560
  export declare const behaviorSchema: z.ZodSchema<Behavior>;
3561
+ export declare const integerSchemaSchema: z.ZodSchema<IntegerSchema>;
3562
+ export declare const arraySchemaTupleSchema: z.ZodSchema<ArraySchemaTuple>;
3563
+ export declare const oneOfSchemaSchema: z.ZodSchema<OneOfSchema>;
3564
+ export declare const constSchemaSchema: z.ZodSchema<ConstSchema>;
3565
+ export declare const arraySchemaSchema: z.ZodSchema<ArraySchema>;
3566
+ export declare const blobSchemaSchema: z.ZodSchema<BlobSchema>;
3567
+ export declare const booleanSchemaSchema: z.ZodSchema<BooleanSchema>;
3568
+ export declare const numberSchemaSchema: z.ZodSchema<NumberSchema>;
3569
+ export declare const objectSchemaSchema: z.ZodSchema<ObjectSchema>;
3570
+ export declare const arraySchemaListSchema: z.ZodSchema<ArraySchemaList>;
3571
+ export declare const modalResponseBodySchema: z.ZodSchema<ModalResponseBody>;
3572
+ export declare const layoutSchema: z.ZodSchema<Layout>;
3573
+ export declare const toolbarItemSchema: z.ZodSchema<ToolbarItem>;
3574
+ export declare const toolbarButtonSchema: z.ZodSchema<ToolbarButton>;
3575
+ export declare const toolbarSchema: z.ZodSchema<Toolbar>;
3576
+ export declare const modalBehaviorSchema: z.ZodSchema<ModalBehavior>;
3577
+ export declare const pollingSchema: z.ZodSchema<Polling>;
2460
3578
  export declare const pollingOnErrorSchema: z.ZodSchema<PollingOnError>;
2461
- export declare const additionalInfoSchema: z.ZodSchema<AdditionalInfo>;
3579
+ export declare const linkHandlerSchema: z.ZodSchema<LinkHandler>;
3580
+ export declare const stepSchema: z.ZodSchema<Step>;
2462
3581
  export declare const statusListLayoutSchema: z.ZodSchema<StatusListLayout>;
2463
3582
  export declare const statusListLayoutItemSchema: z.ZodSchema<StatusListLayoutItem>;
3583
+ export declare const tabsLayoutTabSchema: z.ZodSchema<TabsLayoutTab>;
3584
+ export declare const listLayoutItemSchema: z.ZodSchema<ListLayoutItem>;
3585
+ export declare const additionalInfoSchema: z.ZodSchema<AdditionalInfo>;
3586
+ export declare const columnsLayoutSchema: z.ZodSchema<ColumnsLayout>;
2464
3587
  export declare const decisionLayoutSchema: z.ZodSchema<DecisionLayout>;
2465
3588
  export declare const decisionLayoutOptionSchema: z.ZodSchema<DecisionLayoutOption>;
2466
- export declare const reviewLayoutFieldSchema: z.ZodSchema<ReviewLayoutField>;
3589
+ export declare const alertLayoutCallToActionSchema: z.ZodSchema<AlertLayoutCallToAction>;
2467
3590
  export declare const reviewLayoutCallToActionSchema: z.ZodSchema<ReviewLayoutCallToAction>;
2468
- export declare const columnsLayoutSchema: z.ZodSchema<ColumnsLayout>;
2469
- export declare const buttonLayoutSchema: z.ZodSchema<ButtonLayout>;
2470
- export declare const sectionLayoutSchema: z.ZodSchema<SectionLayout>;
2471
3591
  export declare const sectionLayoutCallToActionSchema: z.ZodSchema<SectionLayoutCallToAction>;
2472
- export declare const listLayoutCallToActionSchema: z.ZodSchema<ListLayoutCallToAction>;
2473
- export declare const tabsLayoutTabSchema: z.ZodSchema<TabsLayoutTab>;
3592
+ export declare const reviewLayoutSchema: z.ZodSchema<ReviewLayout>;
3593
+ export declare const reviewLayoutFieldSchema: z.ZodSchema<ReviewLayoutField>;
3594
+ export declare const boxLayoutSchema: z.ZodSchema<BoxLayout>;
3595
+ export declare const buttonLayoutSchema: z.ZodSchema<ButtonLayout>;
3596
+ export declare const listLayoutSchema: z.ZodSchema<ListLayout>;
2474
3597
  export declare const modalLayoutSchema: z.ZodSchema<ModalLayout>;
2475
- export declare const modalLayoutContentSchema: z.ZodSchema<ModalLayoutContent>;
3598
+ export declare const sectionLayoutSchema: z.ZodSchema<SectionLayout>;
2476
3599
  export declare const tabsLayoutSchema: z.ZodSchema<TabsLayout>;
2477
- export declare const listLayoutItemSchema: z.ZodSchema<ListLayoutItem>;
3600
+ export declare const modalLayoutContentSchema: z.ZodSchema<ModalLayoutContent>;
2478
3601
  export declare const itemCallToActionSchema: z.ZodSchema<ItemCallToAction>;
2479
- export declare const listLayoutSchema: z.ZodSchema<ListLayout>;
2480
- export declare const alertLayoutSchema: z.ZodSchema<AlertLayout>;
2481
- export declare const boxLayoutSchema: z.ZodSchema<BoxLayout>;
2482
- export declare const reviewLayoutSchema: z.ZodSchema<ReviewLayout>;
2483
- export declare const alertLayoutCallToActionSchema: z.ZodSchema<AlertLayoutCallToAction>;
2484
- export declare const objectSchemaSchema: z.ZodSchema<ObjectSchema>;
2485
- export declare const blobSchemaSchema: z.ZodSchema<BlobSchema>;
2486
- export declare const allOfSchemaSchema: z.ZodSchema<AllOfSchema>;
2487
- export declare const arraySchemaSchema: z.ZodSchema<ArraySchema>;
2488
- export declare const booleanSchemaSchema: z.ZodSchema<BooleanSchema>;
2489
- export declare const constSchemaSchema: z.ZodSchema<ConstSchema>;
2490
- export declare const integerSchemaSchema: z.ZodSchema<IntegerSchema>;
2491
- export declare const numberSchemaSchema: z.ZodSchema<NumberSchema>;
2492
- export declare const oneOfSchemaSchema: z.ZodSchema<OneOfSchema>;
2493
- export declare const stringSchemaSchema: z.ZodSchema<StringSchema>;
2494
- export declare const arraySchemaListSchema: z.ZodSchema<ArraySchemaList>;
2495
- export declare const arraySchemaTupleSchema: z.ZodSchema<ArraySchemaTuple>;
3602
+ export declare const listLayoutCallToActionSchema: z.ZodSchema<ListLayoutCallToAction>;