@visus-io/notion-sdk-ts 3.0.2 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +7 -6
  2. package/dist/api/asyncTasks.api.d.ts +70 -0
  3. package/dist/api/asyncTasks.api.js +68 -0
  4. package/dist/api/base.api.js +1 -0
  5. package/dist/api/blocks.api.d.ts +433 -73
  6. package/dist/api/blocks.api.js +39 -0
  7. package/dist/api/comments.api.d.ts +40 -5
  8. package/dist/api/comments.api.js +43 -1
  9. package/dist/api/customEmojis.api.d.ts +36 -0
  10. package/dist/api/customEmojis.api.js +36 -0
  11. package/dist/api/dataSources.api.d.ts +62 -11
  12. package/dist/api/dataSources.api.js +22 -0
  13. package/dist/api/databases.api.d.ts +40 -6
  14. package/dist/api/fileUploads.api.d.ts +1 -1
  15. package/dist/api/index.d.ts +3 -0
  16. package/dist/api/index.js +7 -1
  17. package/dist/api/pages.api.d.ts +142 -10
  18. package/dist/api/pages.api.js +64 -0
  19. package/dist/api/search.api.d.ts +10 -2
  20. package/dist/api/users.api.d.ts +1 -0
  21. package/dist/api/views.api.d.ts +284 -0
  22. package/dist/api/views.api.js +169 -0
  23. package/dist/client.js +3 -3
  24. package/dist/errors.d.ts +5 -1
  25. package/dist/errors.js +6 -0
  26. package/dist/helpers/block.helpers.d.ts +38 -1
  27. package/dist/helpers/block.helpers.js +45 -3
  28. package/dist/helpers/file.helpers.d.ts +36 -1
  29. package/dist/helpers/file.helpers.js +26 -4
  30. package/dist/helpers/filter.helpers.d.ts +6 -6
  31. package/dist/helpers/index.d.ts +3 -2
  32. package/dist/helpers/index.js +5 -1
  33. package/dist/helpers/pagination.helpers.d.ts +56 -0
  34. package/dist/helpers/pagination.helpers.js +86 -0
  35. package/dist/helpers/property.helpers.d.ts +29 -0
  36. package/dist/helpers/property.helpers.js +27 -0
  37. package/dist/helpers/webhook.helpers.d.ts +52 -0
  38. package/dist/helpers/webhook.helpers.js +81 -0
  39. package/dist/models/asyncTask.model.d.ts +59 -0
  40. package/dist/models/asyncTask.model.js +89 -0
  41. package/dist/models/block.model.js +4 -1
  42. package/dist/models/customEmoji.model.d.ts +28 -0
  43. package/dist/models/customEmoji.model.js +42 -0
  44. package/dist/models/dataSource.model.d.ts +3 -3
  45. package/dist/models/dataSource.model.js +1 -1
  46. package/dist/models/database.model.d.ts +7 -3
  47. package/dist/models/database.model.js +7 -1
  48. package/dist/models/index.d.ts +3 -0
  49. package/dist/models/index.js +7 -1
  50. package/dist/models/page.model.d.ts +2 -0
  51. package/dist/models/page.model.js +6 -0
  52. package/dist/models/view.model.d.ts +79 -0
  53. package/dist/models/view.model.js +119 -0
  54. package/dist/notion.d.ts +26 -7
  55. package/dist/notion.js +19 -3
  56. package/dist/schemas/asyncTask.schema.d.ts +42 -0
  57. package/dist/schemas/asyncTask.schema.js +83 -0
  58. package/dist/schemas/block.schema.d.ts +378 -72
  59. package/dist/schemas/block.schema.js +33 -7
  60. package/dist/schemas/comment.schema.d.ts +8 -3
  61. package/dist/schemas/customEmoji.schema.d.ts +13 -0
  62. package/dist/schemas/customEmoji.schema.js +48 -0
  63. package/dist/schemas/dataSource.schema.d.ts +68 -10
  64. package/dist/schemas/dataSource.schema.js +22 -4
  65. package/dist/schemas/database.schema.d.ts +38 -6
  66. package/dist/schemas/database.schema.js +3 -2
  67. package/dist/schemas/fileUpload.schema.d.ts +1 -1
  68. package/dist/schemas/icon.schema.d.ts +92 -0
  69. package/dist/schemas/icon.schema.js +88 -0
  70. package/dist/schemas/index.d.ts +6 -0
  71. package/dist/schemas/index.js +6 -0
  72. package/dist/schemas/meetingNotesQuery.schema.d.ts +4187 -0
  73. package/dist/schemas/meetingNotesQuery.schema.js +62 -0
  74. package/dist/schemas/page.schema.d.ts +46 -9
  75. package/dist/schemas/page.schema.js +4 -2
  76. package/dist/schemas/pageMarkdown.schema.d.ts +59 -0
  77. package/dist/schemas/pageMarkdown.schema.js +65 -0
  78. package/dist/schemas/pageProperties.schema.d.ts +30 -18
  79. package/dist/schemas/pageProperties.schema.js +2 -3
  80. package/dist/schemas/pagination.schema.d.ts +30 -3
  81. package/dist/schemas/pagination.schema.js +18 -1
  82. package/dist/schemas/parent.schema.d.ts +10 -1
  83. package/dist/schemas/parent.schema.js +9 -3
  84. package/dist/schemas/propertyObjects.schema.d.ts +12 -12
  85. package/dist/schemas/richText.schema.d.ts +8 -6
  86. package/dist/schemas/richText.schema.js +1 -1
  87. package/dist/schemas/user.schema.d.ts +2 -0
  88. package/dist/schemas/user.schema.js +2 -1
  89. package/dist/schemas/view.schema.d.ts +1077 -0
  90. package/dist/schemas/view.schema.js +115 -0
  91. package/package.json +2 -2
@@ -0,0 +1,4187 @@
1
+ import * as z from 'zod';
2
+ /**
3
+ * `POST /v1/blocks/meeting_notes/query` request/response schemas.
4
+ *
5
+ * Notion API reference:
6
+ * https://developers.notion.com/reference/query-meeting-notes
7
+ */
8
+ export declare const MEETING_NOTES_QUERY_PROPERTIES: readonly ["title", "attendees", "created_time", "created_by", "last_edited_time", "last_edited_by"];
9
+ export type MeetingNotesQueryProperty = (typeof MEETING_NOTES_QUERY_PROPERTIES)[number];
10
+ /**
11
+ * Response shape is genuinely non-standard: no `object` field, no `next_cursor` at
12
+ * all -- pagination is controlled purely by `limit` (max 50 per request, no cursor).
13
+ */
14
+ export declare const meetingNotesQueryResponseSchema: z.ZodObject<{
15
+ results: z.ZodArray<z.ZodObject<{
16
+ object: z.ZodLiteral<"block">;
17
+ id: z.ZodUUID;
18
+ parent: z.ZodDiscriminatedUnion<[z.ZodObject<{
19
+ type: z.ZodLiteral<"database_id">;
20
+ database_id: z.ZodUUID;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ type: z.ZodLiteral<"data_source_id">;
23
+ data_source_id: z.ZodUUID;
24
+ database_id: z.ZodUUID;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ type: z.ZodLiteral<"page_id">;
27
+ page_id: z.ZodUUID;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ type: z.ZodLiteral<"workspace">;
30
+ workspace: z.ZodLiteral<true>;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ type: z.ZodLiteral<"block_id">;
33
+ block_id: z.ZodUUID;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ type: z.ZodLiteral<"agent_id">;
36
+ agent_id: z.ZodUUID;
37
+ }, z.core.$strip>], "type">;
38
+ type: z.ZodEnum<{
39
+ file: "file";
40
+ code: "code";
41
+ link_preview: "link_preview";
42
+ equation: "equation";
43
+ audio: "audio";
44
+ bookmark: "bookmark";
45
+ breadcrumb: "breadcrumb";
46
+ bulleted_list_item: "bulleted_list_item";
47
+ callout: "callout";
48
+ child_database: "child_database";
49
+ child_page: "child_page";
50
+ column: "column";
51
+ column_list: "column_list";
52
+ divider: "divider";
53
+ embed: "embed";
54
+ heading_1: "heading_1";
55
+ heading_2: "heading_2";
56
+ heading_3: "heading_3";
57
+ heading_4: "heading_4";
58
+ image: "image";
59
+ numbered_list_item: "numbered_list_item";
60
+ paragraph: "paragraph";
61
+ pdf: "pdf";
62
+ quote: "quote";
63
+ synced_block: "synced_block";
64
+ tab: "tab";
65
+ table: "table";
66
+ table_of_contents: "table_of_contents";
67
+ table_row: "table_row";
68
+ template: "template";
69
+ to_do: "to_do";
70
+ toggle: "toggle";
71
+ meeting_notes: "meeting_notes";
72
+ unsupported: "unsupported";
73
+ video: "video";
74
+ }>;
75
+ created_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
76
+ created_by: z.ZodUnion<readonly [z.ZodObject<{
77
+ object: z.ZodLiteral<"user">;
78
+ id: z.ZodUUID;
79
+ type: z.ZodLiteral<"person">;
80
+ name: z.ZodOptional<z.ZodString>;
81
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
82
+ person: z.ZodObject<{
83
+ email: z.ZodEmail;
84
+ email_verified: z.ZodOptional<z.ZodBoolean>;
85
+ }, z.core.$strip>;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ object: z.ZodLiteral<"user">;
88
+ id: z.ZodUUID;
89
+ type: z.ZodLiteral<"bot">;
90
+ name: z.ZodOptional<z.ZodString>;
91
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
92
+ bot: z.ZodObject<{
93
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
94
+ type: z.ZodLiteral<"workspace">;
95
+ workspace: z.ZodLiteral<true>;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ type: z.ZodLiteral<"user">;
98
+ }, z.core.$strip>], "type">;
99
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
+ workspace_id: z.ZodOptional<z.ZodString>;
101
+ workspace_limits: z.ZodOptional<z.ZodObject<{
102
+ max_file_upload_size_in_bytes: z.ZodInt;
103
+ }, z.core.$strip>>;
104
+ }, z.core.$strip>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ object: z.ZodLiteral<"user">;
107
+ id: z.ZodUUID;
108
+ }, z.core.$strip>]>;
109
+ last_edited_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
110
+ last_edited_by: z.ZodUnion<readonly [z.ZodObject<{
111
+ object: z.ZodLiteral<"user">;
112
+ id: z.ZodUUID;
113
+ type: z.ZodLiteral<"person">;
114
+ name: z.ZodOptional<z.ZodString>;
115
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
116
+ person: z.ZodObject<{
117
+ email: z.ZodEmail;
118
+ email_verified: z.ZodOptional<z.ZodBoolean>;
119
+ }, z.core.$strip>;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ object: z.ZodLiteral<"user">;
122
+ id: z.ZodUUID;
123
+ type: z.ZodLiteral<"bot">;
124
+ name: z.ZodOptional<z.ZodString>;
125
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
126
+ bot: z.ZodObject<{
127
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
128
+ type: z.ZodLiteral<"workspace">;
129
+ workspace: z.ZodLiteral<true>;
130
+ }, z.core.$strip>, z.ZodObject<{
131
+ type: z.ZodLiteral<"user">;
132
+ }, z.core.$strip>], "type">;
133
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ workspace_id: z.ZodOptional<z.ZodString>;
135
+ workspace_limits: z.ZodOptional<z.ZodObject<{
136
+ max_file_upload_size_in_bytes: z.ZodInt;
137
+ }, z.core.$strip>>;
138
+ }, z.core.$strip>;
139
+ }, z.core.$strip>, z.ZodObject<{
140
+ object: z.ZodLiteral<"user">;
141
+ id: z.ZodUUID;
142
+ }, z.core.$strip>]>;
143
+ in_trash: z.ZodBoolean;
144
+ has_children: z.ZodBoolean;
145
+ audio: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
146
+ type: z.ZodLiteral<"file">;
147
+ file: z.ZodObject<{
148
+ url: z.ZodURL;
149
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
150
+ }, z.core.$strip>;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ type: z.ZodLiteral<"file_upload">;
153
+ file_upload: z.ZodObject<{
154
+ id: z.ZodUUID;
155
+ }, z.core.$strip>;
156
+ }, z.core.$strip>, z.ZodObject<{
157
+ type: z.ZodLiteral<"external">;
158
+ external: z.ZodObject<{
159
+ url: z.ZodURL;
160
+ }, z.core.$strip>;
161
+ }, z.core.$strip>], "type">>;
162
+ bookmark: z.ZodOptional<z.ZodObject<{
163
+ caption: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
164
+ type: z.ZodLiteral<"text">;
165
+ text: z.ZodObject<{
166
+ content: z.ZodString;
167
+ link: z.ZodNullable<z.ZodObject<{
168
+ url: z.ZodURL;
169
+ }, z.core.$strip>>;
170
+ }, z.core.$strip>;
171
+ annotations: z.ZodObject<{
172
+ bold: z.ZodBoolean;
173
+ italic: z.ZodBoolean;
174
+ strikethrough: z.ZodBoolean;
175
+ underline: z.ZodBoolean;
176
+ code: z.ZodBoolean;
177
+ color: z.ZodEnum<{
178
+ default: "default";
179
+ blue: "blue";
180
+ blue_background: "blue_background";
181
+ brown: "brown";
182
+ brown_background: "brown_background";
183
+ gray: "gray";
184
+ gray_background: "gray_background";
185
+ green: "green";
186
+ green_background: "green_background";
187
+ orange: "orange";
188
+ orange_background: "orange_background";
189
+ pink: "pink";
190
+ pink_background: "pink_background";
191
+ purple: "purple";
192
+ purple_background: "purple_background";
193
+ red: "red";
194
+ red_background: "red_background";
195
+ yellow: "yellow";
196
+ yellow_background: "yellow_background";
197
+ }>;
198
+ }, z.core.$strip>;
199
+ plain_text: z.ZodString;
200
+ href: z.ZodNullable<z.ZodURL>;
201
+ }, z.core.$strip>, z.ZodObject<{
202
+ type: z.ZodLiteral<"mention">;
203
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
204
+ type: z.ZodLiteral<"database">;
205
+ database: z.ZodObject<{
206
+ id: z.ZodUUID;
207
+ }, z.core.$strip>;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ type: z.ZodLiteral<"date">;
210
+ date: z.ZodObject<{
211
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
212
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
213
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
+ }, z.core.$strip>;
215
+ }, z.core.$strip>, z.ZodObject<{
216
+ type: z.ZodLiteral<"link_preview">;
217
+ link_preview: z.ZodObject<{
218
+ url: z.ZodURL;
219
+ }, z.core.$strip>;
220
+ }, z.core.$strip>, z.ZodObject<{
221
+ type: z.ZodLiteral<"page">;
222
+ page: z.ZodObject<{
223
+ id: z.ZodUUID;
224
+ }, z.core.$strip>;
225
+ }, z.core.$strip>, z.ZodObject<{
226
+ type: z.ZodLiteral<"template_mention">;
227
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
228
+ type: z.ZodLiteral<"template_mention_date">;
229
+ template_mention_date: z.ZodEnum<{
230
+ today: "today";
231
+ now: "now";
232
+ }>;
233
+ }, z.core.$strip>, z.ZodObject<{
234
+ type: z.ZodLiteral<"template_mention_user">;
235
+ template_mention_user: z.ZodLiteral<"me">;
236
+ }, z.core.$strip>], "type">;
237
+ }, z.core.$strip>, z.ZodObject<{
238
+ type: z.ZodLiteral<"user">;
239
+ user: z.ZodUnion<readonly [z.ZodObject<{
240
+ object: z.ZodLiteral<"user">;
241
+ id: z.ZodUUID;
242
+ type: z.ZodLiteral<"person">;
243
+ name: z.ZodOptional<z.ZodString>;
244
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
245
+ person: z.ZodObject<{
246
+ email: z.ZodEmail;
247
+ email_verified: z.ZodOptional<z.ZodBoolean>;
248
+ }, z.core.$strip>;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ object: z.ZodLiteral<"user">;
251
+ id: z.ZodUUID;
252
+ type: z.ZodLiteral<"bot">;
253
+ name: z.ZodOptional<z.ZodString>;
254
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
255
+ bot: z.ZodObject<{
256
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
257
+ type: z.ZodLiteral<"workspace">;
258
+ workspace: z.ZodLiteral<true>;
259
+ }, z.core.$strip>, z.ZodObject<{
260
+ type: z.ZodLiteral<"user">;
261
+ }, z.core.$strip>], "type">;
262
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
+ workspace_id: z.ZodOptional<z.ZodString>;
264
+ workspace_limits: z.ZodOptional<z.ZodObject<{
265
+ max_file_upload_size_in_bytes: z.ZodInt;
266
+ }, z.core.$strip>>;
267
+ }, z.core.$strip>;
268
+ }, z.core.$strip>, z.ZodObject<{
269
+ object: z.ZodLiteral<"user">;
270
+ id: z.ZodUUID;
271
+ }, z.core.$strip>]>;
272
+ }, z.core.$strip>], "type">;
273
+ annotations: z.ZodObject<{
274
+ bold: z.ZodBoolean;
275
+ italic: z.ZodBoolean;
276
+ strikethrough: z.ZodBoolean;
277
+ underline: z.ZodBoolean;
278
+ code: z.ZodBoolean;
279
+ color: z.ZodEnum<{
280
+ default: "default";
281
+ blue: "blue";
282
+ blue_background: "blue_background";
283
+ brown: "brown";
284
+ brown_background: "brown_background";
285
+ gray: "gray";
286
+ gray_background: "gray_background";
287
+ green: "green";
288
+ green_background: "green_background";
289
+ orange: "orange";
290
+ orange_background: "orange_background";
291
+ pink: "pink";
292
+ pink_background: "pink_background";
293
+ purple: "purple";
294
+ purple_background: "purple_background";
295
+ red: "red";
296
+ red_background: "red_background";
297
+ yellow: "yellow";
298
+ yellow_background: "yellow_background";
299
+ }>;
300
+ }, z.core.$strip>;
301
+ plain_text: z.ZodString;
302
+ href: z.ZodNullable<z.ZodURL>;
303
+ }, z.core.$strip>, z.ZodObject<{
304
+ type: z.ZodLiteral<"equation">;
305
+ equation: z.ZodObject<{
306
+ expression: z.ZodString;
307
+ }, z.core.$strip>;
308
+ annotations: z.ZodObject<{
309
+ bold: z.ZodBoolean;
310
+ italic: z.ZodBoolean;
311
+ strikethrough: z.ZodBoolean;
312
+ underline: z.ZodBoolean;
313
+ code: z.ZodBoolean;
314
+ color: z.ZodEnum<{
315
+ default: "default";
316
+ blue: "blue";
317
+ blue_background: "blue_background";
318
+ brown: "brown";
319
+ brown_background: "brown_background";
320
+ gray: "gray";
321
+ gray_background: "gray_background";
322
+ green: "green";
323
+ green_background: "green_background";
324
+ orange: "orange";
325
+ orange_background: "orange_background";
326
+ pink: "pink";
327
+ pink_background: "pink_background";
328
+ purple: "purple";
329
+ purple_background: "purple_background";
330
+ red: "red";
331
+ red_background: "red_background";
332
+ yellow: "yellow";
333
+ yellow_background: "yellow_background";
334
+ }>;
335
+ }, z.core.$strip>;
336
+ plain_text: z.ZodString;
337
+ href: z.ZodNullable<z.ZodURL>;
338
+ }, z.core.$strip>], "type">>;
339
+ url: z.ZodURL;
340
+ }, z.core.$strip>>;
341
+ breadcrumb: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
342
+ bulleted_list_item: z.ZodOptional<z.ZodObject<{
343
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
344
+ type: z.ZodLiteral<"text">;
345
+ text: z.ZodObject<{
346
+ content: z.ZodString;
347
+ link: z.ZodNullable<z.ZodObject<{
348
+ url: z.ZodURL;
349
+ }, z.core.$strip>>;
350
+ }, z.core.$strip>;
351
+ annotations: z.ZodObject<{
352
+ bold: z.ZodBoolean;
353
+ italic: z.ZodBoolean;
354
+ strikethrough: z.ZodBoolean;
355
+ underline: z.ZodBoolean;
356
+ code: z.ZodBoolean;
357
+ color: z.ZodEnum<{
358
+ default: "default";
359
+ blue: "blue";
360
+ blue_background: "blue_background";
361
+ brown: "brown";
362
+ brown_background: "brown_background";
363
+ gray: "gray";
364
+ gray_background: "gray_background";
365
+ green: "green";
366
+ green_background: "green_background";
367
+ orange: "orange";
368
+ orange_background: "orange_background";
369
+ pink: "pink";
370
+ pink_background: "pink_background";
371
+ purple: "purple";
372
+ purple_background: "purple_background";
373
+ red: "red";
374
+ red_background: "red_background";
375
+ yellow: "yellow";
376
+ yellow_background: "yellow_background";
377
+ }>;
378
+ }, z.core.$strip>;
379
+ plain_text: z.ZodString;
380
+ href: z.ZodNullable<z.ZodURL>;
381
+ }, z.core.$strip>, z.ZodObject<{
382
+ type: z.ZodLiteral<"mention">;
383
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
384
+ type: z.ZodLiteral<"database">;
385
+ database: z.ZodObject<{
386
+ id: z.ZodUUID;
387
+ }, z.core.$strip>;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ type: z.ZodLiteral<"date">;
390
+ date: z.ZodObject<{
391
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
392
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
393
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
394
+ }, z.core.$strip>;
395
+ }, z.core.$strip>, z.ZodObject<{
396
+ type: z.ZodLiteral<"link_preview">;
397
+ link_preview: z.ZodObject<{
398
+ url: z.ZodURL;
399
+ }, z.core.$strip>;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ type: z.ZodLiteral<"page">;
402
+ page: z.ZodObject<{
403
+ id: z.ZodUUID;
404
+ }, z.core.$strip>;
405
+ }, z.core.$strip>, z.ZodObject<{
406
+ type: z.ZodLiteral<"template_mention">;
407
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
408
+ type: z.ZodLiteral<"template_mention_date">;
409
+ template_mention_date: z.ZodEnum<{
410
+ today: "today";
411
+ now: "now";
412
+ }>;
413
+ }, z.core.$strip>, z.ZodObject<{
414
+ type: z.ZodLiteral<"template_mention_user">;
415
+ template_mention_user: z.ZodLiteral<"me">;
416
+ }, z.core.$strip>], "type">;
417
+ }, z.core.$strip>, z.ZodObject<{
418
+ type: z.ZodLiteral<"user">;
419
+ user: z.ZodUnion<readonly [z.ZodObject<{
420
+ object: z.ZodLiteral<"user">;
421
+ id: z.ZodUUID;
422
+ type: z.ZodLiteral<"person">;
423
+ name: z.ZodOptional<z.ZodString>;
424
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
425
+ person: z.ZodObject<{
426
+ email: z.ZodEmail;
427
+ email_verified: z.ZodOptional<z.ZodBoolean>;
428
+ }, z.core.$strip>;
429
+ }, z.core.$strip>, z.ZodObject<{
430
+ object: z.ZodLiteral<"user">;
431
+ id: z.ZodUUID;
432
+ type: z.ZodLiteral<"bot">;
433
+ name: z.ZodOptional<z.ZodString>;
434
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
435
+ bot: z.ZodObject<{
436
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
437
+ type: z.ZodLiteral<"workspace">;
438
+ workspace: z.ZodLiteral<true>;
439
+ }, z.core.$strip>, z.ZodObject<{
440
+ type: z.ZodLiteral<"user">;
441
+ }, z.core.$strip>], "type">;
442
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ workspace_id: z.ZodOptional<z.ZodString>;
444
+ workspace_limits: z.ZodOptional<z.ZodObject<{
445
+ max_file_upload_size_in_bytes: z.ZodInt;
446
+ }, z.core.$strip>>;
447
+ }, z.core.$strip>;
448
+ }, z.core.$strip>, z.ZodObject<{
449
+ object: z.ZodLiteral<"user">;
450
+ id: z.ZodUUID;
451
+ }, z.core.$strip>]>;
452
+ }, z.core.$strip>], "type">;
453
+ annotations: z.ZodObject<{
454
+ bold: z.ZodBoolean;
455
+ italic: z.ZodBoolean;
456
+ strikethrough: z.ZodBoolean;
457
+ underline: z.ZodBoolean;
458
+ code: z.ZodBoolean;
459
+ color: z.ZodEnum<{
460
+ default: "default";
461
+ blue: "blue";
462
+ blue_background: "blue_background";
463
+ brown: "brown";
464
+ brown_background: "brown_background";
465
+ gray: "gray";
466
+ gray_background: "gray_background";
467
+ green: "green";
468
+ green_background: "green_background";
469
+ orange: "orange";
470
+ orange_background: "orange_background";
471
+ pink: "pink";
472
+ pink_background: "pink_background";
473
+ purple: "purple";
474
+ purple_background: "purple_background";
475
+ red: "red";
476
+ red_background: "red_background";
477
+ yellow: "yellow";
478
+ yellow_background: "yellow_background";
479
+ }>;
480
+ }, z.core.$strip>;
481
+ plain_text: z.ZodString;
482
+ href: z.ZodNullable<z.ZodURL>;
483
+ }, z.core.$strip>, z.ZodObject<{
484
+ type: z.ZodLiteral<"equation">;
485
+ equation: z.ZodObject<{
486
+ expression: z.ZodString;
487
+ }, z.core.$strip>;
488
+ annotations: z.ZodObject<{
489
+ bold: z.ZodBoolean;
490
+ italic: z.ZodBoolean;
491
+ strikethrough: z.ZodBoolean;
492
+ underline: z.ZodBoolean;
493
+ code: z.ZodBoolean;
494
+ color: z.ZodEnum<{
495
+ default: "default";
496
+ blue: "blue";
497
+ blue_background: "blue_background";
498
+ brown: "brown";
499
+ brown_background: "brown_background";
500
+ gray: "gray";
501
+ gray_background: "gray_background";
502
+ green: "green";
503
+ green_background: "green_background";
504
+ orange: "orange";
505
+ orange_background: "orange_background";
506
+ pink: "pink";
507
+ pink_background: "pink_background";
508
+ purple: "purple";
509
+ purple_background: "purple_background";
510
+ red: "red";
511
+ red_background: "red_background";
512
+ yellow: "yellow";
513
+ yellow_background: "yellow_background";
514
+ }>;
515
+ }, z.core.$strip>;
516
+ plain_text: z.ZodString;
517
+ href: z.ZodNullable<z.ZodURL>;
518
+ }, z.core.$strip>], "type">>;
519
+ color: z.ZodEnum<{
520
+ default: "default";
521
+ blue: "blue";
522
+ blue_background: "blue_background";
523
+ brown: "brown";
524
+ brown_background: "brown_background";
525
+ gray: "gray";
526
+ gray_background: "gray_background";
527
+ green: "green";
528
+ green_background: "green_background";
529
+ orange: "orange";
530
+ orange_background: "orange_background";
531
+ pink: "pink";
532
+ pink_background: "pink_background";
533
+ purple: "purple";
534
+ purple_background: "purple_background";
535
+ red: "red";
536
+ red_background: "red_background";
537
+ yellow: "yellow";
538
+ yellow_background: "yellow_background";
539
+ }>;
540
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
541
+ }, z.core.$strip>>;
542
+ callout: z.ZodOptional<z.ZodObject<{
543
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
544
+ type: z.ZodLiteral<"text">;
545
+ text: z.ZodObject<{
546
+ content: z.ZodString;
547
+ link: z.ZodNullable<z.ZodObject<{
548
+ url: z.ZodURL;
549
+ }, z.core.$strip>>;
550
+ }, z.core.$strip>;
551
+ annotations: z.ZodObject<{
552
+ bold: z.ZodBoolean;
553
+ italic: z.ZodBoolean;
554
+ strikethrough: z.ZodBoolean;
555
+ underline: z.ZodBoolean;
556
+ code: z.ZodBoolean;
557
+ color: z.ZodEnum<{
558
+ default: "default";
559
+ blue: "blue";
560
+ blue_background: "blue_background";
561
+ brown: "brown";
562
+ brown_background: "brown_background";
563
+ gray: "gray";
564
+ gray_background: "gray_background";
565
+ green: "green";
566
+ green_background: "green_background";
567
+ orange: "orange";
568
+ orange_background: "orange_background";
569
+ pink: "pink";
570
+ pink_background: "pink_background";
571
+ purple: "purple";
572
+ purple_background: "purple_background";
573
+ red: "red";
574
+ red_background: "red_background";
575
+ yellow: "yellow";
576
+ yellow_background: "yellow_background";
577
+ }>;
578
+ }, z.core.$strip>;
579
+ plain_text: z.ZodString;
580
+ href: z.ZodNullable<z.ZodURL>;
581
+ }, z.core.$strip>, z.ZodObject<{
582
+ type: z.ZodLiteral<"mention">;
583
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
584
+ type: z.ZodLiteral<"database">;
585
+ database: z.ZodObject<{
586
+ id: z.ZodUUID;
587
+ }, z.core.$strip>;
588
+ }, z.core.$strip>, z.ZodObject<{
589
+ type: z.ZodLiteral<"date">;
590
+ date: z.ZodObject<{
591
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
592
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
593
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
594
+ }, z.core.$strip>;
595
+ }, z.core.$strip>, z.ZodObject<{
596
+ type: z.ZodLiteral<"link_preview">;
597
+ link_preview: z.ZodObject<{
598
+ url: z.ZodURL;
599
+ }, z.core.$strip>;
600
+ }, z.core.$strip>, z.ZodObject<{
601
+ type: z.ZodLiteral<"page">;
602
+ page: z.ZodObject<{
603
+ id: z.ZodUUID;
604
+ }, z.core.$strip>;
605
+ }, z.core.$strip>, z.ZodObject<{
606
+ type: z.ZodLiteral<"template_mention">;
607
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
608
+ type: z.ZodLiteral<"template_mention_date">;
609
+ template_mention_date: z.ZodEnum<{
610
+ today: "today";
611
+ now: "now";
612
+ }>;
613
+ }, z.core.$strip>, z.ZodObject<{
614
+ type: z.ZodLiteral<"template_mention_user">;
615
+ template_mention_user: z.ZodLiteral<"me">;
616
+ }, z.core.$strip>], "type">;
617
+ }, z.core.$strip>, z.ZodObject<{
618
+ type: z.ZodLiteral<"user">;
619
+ user: z.ZodUnion<readonly [z.ZodObject<{
620
+ object: z.ZodLiteral<"user">;
621
+ id: z.ZodUUID;
622
+ type: z.ZodLiteral<"person">;
623
+ name: z.ZodOptional<z.ZodString>;
624
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
625
+ person: z.ZodObject<{
626
+ email: z.ZodEmail;
627
+ email_verified: z.ZodOptional<z.ZodBoolean>;
628
+ }, z.core.$strip>;
629
+ }, z.core.$strip>, z.ZodObject<{
630
+ object: z.ZodLiteral<"user">;
631
+ id: z.ZodUUID;
632
+ type: z.ZodLiteral<"bot">;
633
+ name: z.ZodOptional<z.ZodString>;
634
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
635
+ bot: z.ZodObject<{
636
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
637
+ type: z.ZodLiteral<"workspace">;
638
+ workspace: z.ZodLiteral<true>;
639
+ }, z.core.$strip>, z.ZodObject<{
640
+ type: z.ZodLiteral<"user">;
641
+ }, z.core.$strip>], "type">;
642
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
643
+ workspace_id: z.ZodOptional<z.ZodString>;
644
+ workspace_limits: z.ZodOptional<z.ZodObject<{
645
+ max_file_upload_size_in_bytes: z.ZodInt;
646
+ }, z.core.$strip>>;
647
+ }, z.core.$strip>;
648
+ }, z.core.$strip>, z.ZodObject<{
649
+ object: z.ZodLiteral<"user">;
650
+ id: z.ZodUUID;
651
+ }, z.core.$strip>]>;
652
+ }, z.core.$strip>], "type">;
653
+ annotations: z.ZodObject<{
654
+ bold: z.ZodBoolean;
655
+ italic: z.ZodBoolean;
656
+ strikethrough: z.ZodBoolean;
657
+ underline: z.ZodBoolean;
658
+ code: z.ZodBoolean;
659
+ color: z.ZodEnum<{
660
+ default: "default";
661
+ blue: "blue";
662
+ blue_background: "blue_background";
663
+ brown: "brown";
664
+ brown_background: "brown_background";
665
+ gray: "gray";
666
+ gray_background: "gray_background";
667
+ green: "green";
668
+ green_background: "green_background";
669
+ orange: "orange";
670
+ orange_background: "orange_background";
671
+ pink: "pink";
672
+ pink_background: "pink_background";
673
+ purple: "purple";
674
+ purple_background: "purple_background";
675
+ red: "red";
676
+ red_background: "red_background";
677
+ yellow: "yellow";
678
+ yellow_background: "yellow_background";
679
+ }>;
680
+ }, z.core.$strip>;
681
+ plain_text: z.ZodString;
682
+ href: z.ZodNullable<z.ZodURL>;
683
+ }, z.core.$strip>, z.ZodObject<{
684
+ type: z.ZodLiteral<"equation">;
685
+ equation: z.ZodObject<{
686
+ expression: z.ZodString;
687
+ }, z.core.$strip>;
688
+ annotations: z.ZodObject<{
689
+ bold: z.ZodBoolean;
690
+ italic: z.ZodBoolean;
691
+ strikethrough: z.ZodBoolean;
692
+ underline: z.ZodBoolean;
693
+ code: z.ZodBoolean;
694
+ color: z.ZodEnum<{
695
+ default: "default";
696
+ blue: "blue";
697
+ blue_background: "blue_background";
698
+ brown: "brown";
699
+ brown_background: "brown_background";
700
+ gray: "gray";
701
+ gray_background: "gray_background";
702
+ green: "green";
703
+ green_background: "green_background";
704
+ orange: "orange";
705
+ orange_background: "orange_background";
706
+ pink: "pink";
707
+ pink_background: "pink_background";
708
+ purple: "purple";
709
+ purple_background: "purple_background";
710
+ red: "red";
711
+ red_background: "red_background";
712
+ yellow: "yellow";
713
+ yellow_background: "yellow_background";
714
+ }>;
715
+ }, z.core.$strip>;
716
+ plain_text: z.ZodString;
717
+ href: z.ZodNullable<z.ZodURL>;
718
+ }, z.core.$strip>], "type">>;
719
+ icon: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
720
+ type: z.ZodLiteral<"file">;
721
+ file: z.ZodObject<{
722
+ url: z.ZodURL;
723
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
724
+ }, z.core.$strip>;
725
+ }, z.core.$strip>, z.ZodObject<{
726
+ type: z.ZodLiteral<"file_upload">;
727
+ file_upload: z.ZodObject<{
728
+ id: z.ZodUUID;
729
+ }, z.core.$strip>;
730
+ }, z.core.$strip>, z.ZodObject<{
731
+ type: z.ZodLiteral<"external">;
732
+ external: z.ZodObject<{
733
+ url: z.ZodURL;
734
+ }, z.core.$strip>;
735
+ }, z.core.$strip>], "type">, z.ZodObject<{
736
+ type: z.ZodLiteral<"emoji">;
737
+ emoji: z.ZodString;
738
+ }, z.core.$strip>, z.ZodObject<{
739
+ type: z.ZodLiteral<"icon">;
740
+ icon: z.ZodObject<{
741
+ name: z.ZodString;
742
+ color: z.ZodOptional<z.ZodEnum<{
743
+ blue: "blue";
744
+ brown: "brown";
745
+ gray: "gray";
746
+ green: "green";
747
+ orange: "orange";
748
+ pink: "pink";
749
+ purple: "purple";
750
+ red: "red";
751
+ yellow: "yellow";
752
+ lightgray: "lightgray";
753
+ }>>;
754
+ }, z.core.$strip>;
755
+ }, z.core.$strip>, z.ZodObject<{
756
+ type: z.ZodLiteral<"custom_emoji">;
757
+ custom_emoji: z.ZodObject<{
758
+ id: z.ZodUUID;
759
+ name: z.ZodOptional<z.ZodString>;
760
+ url: z.ZodOptional<z.ZodURL>;
761
+ }, z.core.$strip>;
762
+ }, z.core.$strip>]>;
763
+ color: z.ZodEnum<{
764
+ default: "default";
765
+ blue: "blue";
766
+ blue_background: "blue_background";
767
+ brown: "brown";
768
+ brown_background: "brown_background";
769
+ gray: "gray";
770
+ gray_background: "gray_background";
771
+ green: "green";
772
+ green_background: "green_background";
773
+ orange: "orange";
774
+ orange_background: "orange_background";
775
+ pink: "pink";
776
+ pink_background: "pink_background";
777
+ purple: "purple";
778
+ purple_background: "purple_background";
779
+ red: "red";
780
+ red_background: "red_background";
781
+ yellow: "yellow";
782
+ yellow_background: "yellow_background";
783
+ }>;
784
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
785
+ }, z.core.$strip>>;
786
+ child_database: z.ZodOptional<z.ZodObject<{
787
+ title: z.ZodString;
788
+ }, z.core.$strip>>;
789
+ child_page: z.ZodOptional<z.ZodObject<{
790
+ title: z.ZodString;
791
+ }, z.core.$strip>>;
792
+ code: z.ZodOptional<z.ZodObject<{
793
+ caption: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
794
+ type: z.ZodLiteral<"text">;
795
+ text: z.ZodObject<{
796
+ content: z.ZodString;
797
+ link: z.ZodNullable<z.ZodObject<{
798
+ url: z.ZodURL;
799
+ }, z.core.$strip>>;
800
+ }, z.core.$strip>;
801
+ annotations: z.ZodObject<{
802
+ bold: z.ZodBoolean;
803
+ italic: z.ZodBoolean;
804
+ strikethrough: z.ZodBoolean;
805
+ underline: z.ZodBoolean;
806
+ code: z.ZodBoolean;
807
+ color: z.ZodEnum<{
808
+ default: "default";
809
+ blue: "blue";
810
+ blue_background: "blue_background";
811
+ brown: "brown";
812
+ brown_background: "brown_background";
813
+ gray: "gray";
814
+ gray_background: "gray_background";
815
+ green: "green";
816
+ green_background: "green_background";
817
+ orange: "orange";
818
+ orange_background: "orange_background";
819
+ pink: "pink";
820
+ pink_background: "pink_background";
821
+ purple: "purple";
822
+ purple_background: "purple_background";
823
+ red: "red";
824
+ red_background: "red_background";
825
+ yellow: "yellow";
826
+ yellow_background: "yellow_background";
827
+ }>;
828
+ }, z.core.$strip>;
829
+ plain_text: z.ZodString;
830
+ href: z.ZodNullable<z.ZodURL>;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ type: z.ZodLiteral<"mention">;
833
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
834
+ type: z.ZodLiteral<"database">;
835
+ database: z.ZodObject<{
836
+ id: z.ZodUUID;
837
+ }, z.core.$strip>;
838
+ }, z.core.$strip>, z.ZodObject<{
839
+ type: z.ZodLiteral<"date">;
840
+ date: z.ZodObject<{
841
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
842
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
843
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
844
+ }, z.core.$strip>;
845
+ }, z.core.$strip>, z.ZodObject<{
846
+ type: z.ZodLiteral<"link_preview">;
847
+ link_preview: z.ZodObject<{
848
+ url: z.ZodURL;
849
+ }, z.core.$strip>;
850
+ }, z.core.$strip>, z.ZodObject<{
851
+ type: z.ZodLiteral<"page">;
852
+ page: z.ZodObject<{
853
+ id: z.ZodUUID;
854
+ }, z.core.$strip>;
855
+ }, z.core.$strip>, z.ZodObject<{
856
+ type: z.ZodLiteral<"template_mention">;
857
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
858
+ type: z.ZodLiteral<"template_mention_date">;
859
+ template_mention_date: z.ZodEnum<{
860
+ today: "today";
861
+ now: "now";
862
+ }>;
863
+ }, z.core.$strip>, z.ZodObject<{
864
+ type: z.ZodLiteral<"template_mention_user">;
865
+ template_mention_user: z.ZodLiteral<"me">;
866
+ }, z.core.$strip>], "type">;
867
+ }, z.core.$strip>, z.ZodObject<{
868
+ type: z.ZodLiteral<"user">;
869
+ user: z.ZodUnion<readonly [z.ZodObject<{
870
+ object: z.ZodLiteral<"user">;
871
+ id: z.ZodUUID;
872
+ type: z.ZodLiteral<"person">;
873
+ name: z.ZodOptional<z.ZodString>;
874
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
875
+ person: z.ZodObject<{
876
+ email: z.ZodEmail;
877
+ email_verified: z.ZodOptional<z.ZodBoolean>;
878
+ }, z.core.$strip>;
879
+ }, z.core.$strip>, z.ZodObject<{
880
+ object: z.ZodLiteral<"user">;
881
+ id: z.ZodUUID;
882
+ type: z.ZodLiteral<"bot">;
883
+ name: z.ZodOptional<z.ZodString>;
884
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
885
+ bot: z.ZodObject<{
886
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
887
+ type: z.ZodLiteral<"workspace">;
888
+ workspace: z.ZodLiteral<true>;
889
+ }, z.core.$strip>, z.ZodObject<{
890
+ type: z.ZodLiteral<"user">;
891
+ }, z.core.$strip>], "type">;
892
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
+ workspace_id: z.ZodOptional<z.ZodString>;
894
+ workspace_limits: z.ZodOptional<z.ZodObject<{
895
+ max_file_upload_size_in_bytes: z.ZodInt;
896
+ }, z.core.$strip>>;
897
+ }, z.core.$strip>;
898
+ }, z.core.$strip>, z.ZodObject<{
899
+ object: z.ZodLiteral<"user">;
900
+ id: z.ZodUUID;
901
+ }, z.core.$strip>]>;
902
+ }, z.core.$strip>], "type">;
903
+ annotations: z.ZodObject<{
904
+ bold: z.ZodBoolean;
905
+ italic: z.ZodBoolean;
906
+ strikethrough: z.ZodBoolean;
907
+ underline: z.ZodBoolean;
908
+ code: z.ZodBoolean;
909
+ color: z.ZodEnum<{
910
+ default: "default";
911
+ blue: "blue";
912
+ blue_background: "blue_background";
913
+ brown: "brown";
914
+ brown_background: "brown_background";
915
+ gray: "gray";
916
+ gray_background: "gray_background";
917
+ green: "green";
918
+ green_background: "green_background";
919
+ orange: "orange";
920
+ orange_background: "orange_background";
921
+ pink: "pink";
922
+ pink_background: "pink_background";
923
+ purple: "purple";
924
+ purple_background: "purple_background";
925
+ red: "red";
926
+ red_background: "red_background";
927
+ yellow: "yellow";
928
+ yellow_background: "yellow_background";
929
+ }>;
930
+ }, z.core.$strip>;
931
+ plain_text: z.ZodString;
932
+ href: z.ZodNullable<z.ZodURL>;
933
+ }, z.core.$strip>, z.ZodObject<{
934
+ type: z.ZodLiteral<"equation">;
935
+ equation: z.ZodObject<{
936
+ expression: z.ZodString;
937
+ }, z.core.$strip>;
938
+ annotations: z.ZodObject<{
939
+ bold: z.ZodBoolean;
940
+ italic: z.ZodBoolean;
941
+ strikethrough: z.ZodBoolean;
942
+ underline: z.ZodBoolean;
943
+ code: z.ZodBoolean;
944
+ color: z.ZodEnum<{
945
+ default: "default";
946
+ blue: "blue";
947
+ blue_background: "blue_background";
948
+ brown: "brown";
949
+ brown_background: "brown_background";
950
+ gray: "gray";
951
+ gray_background: "gray_background";
952
+ green: "green";
953
+ green_background: "green_background";
954
+ orange: "orange";
955
+ orange_background: "orange_background";
956
+ pink: "pink";
957
+ pink_background: "pink_background";
958
+ purple: "purple";
959
+ purple_background: "purple_background";
960
+ red: "red";
961
+ red_background: "red_background";
962
+ yellow: "yellow";
963
+ yellow_background: "yellow_background";
964
+ }>;
965
+ }, z.core.$strip>;
966
+ plain_text: z.ZodString;
967
+ href: z.ZodNullable<z.ZodURL>;
968
+ }, z.core.$strip>], "type">>;
969
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
970
+ type: z.ZodLiteral<"text">;
971
+ text: z.ZodObject<{
972
+ content: z.ZodString;
973
+ link: z.ZodNullable<z.ZodObject<{
974
+ url: z.ZodURL;
975
+ }, z.core.$strip>>;
976
+ }, z.core.$strip>;
977
+ annotations: z.ZodObject<{
978
+ bold: z.ZodBoolean;
979
+ italic: z.ZodBoolean;
980
+ strikethrough: z.ZodBoolean;
981
+ underline: z.ZodBoolean;
982
+ code: z.ZodBoolean;
983
+ color: z.ZodEnum<{
984
+ default: "default";
985
+ blue: "blue";
986
+ blue_background: "blue_background";
987
+ brown: "brown";
988
+ brown_background: "brown_background";
989
+ gray: "gray";
990
+ gray_background: "gray_background";
991
+ green: "green";
992
+ green_background: "green_background";
993
+ orange: "orange";
994
+ orange_background: "orange_background";
995
+ pink: "pink";
996
+ pink_background: "pink_background";
997
+ purple: "purple";
998
+ purple_background: "purple_background";
999
+ red: "red";
1000
+ red_background: "red_background";
1001
+ yellow: "yellow";
1002
+ yellow_background: "yellow_background";
1003
+ }>;
1004
+ }, z.core.$strip>;
1005
+ plain_text: z.ZodString;
1006
+ href: z.ZodNullable<z.ZodURL>;
1007
+ }, z.core.$strip>, z.ZodObject<{
1008
+ type: z.ZodLiteral<"mention">;
1009
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1010
+ type: z.ZodLiteral<"database">;
1011
+ database: z.ZodObject<{
1012
+ id: z.ZodUUID;
1013
+ }, z.core.$strip>;
1014
+ }, z.core.$strip>, z.ZodObject<{
1015
+ type: z.ZodLiteral<"date">;
1016
+ date: z.ZodObject<{
1017
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1018
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
1019
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
+ }, z.core.$strip>;
1021
+ }, z.core.$strip>, z.ZodObject<{
1022
+ type: z.ZodLiteral<"link_preview">;
1023
+ link_preview: z.ZodObject<{
1024
+ url: z.ZodURL;
1025
+ }, z.core.$strip>;
1026
+ }, z.core.$strip>, z.ZodObject<{
1027
+ type: z.ZodLiteral<"page">;
1028
+ page: z.ZodObject<{
1029
+ id: z.ZodUUID;
1030
+ }, z.core.$strip>;
1031
+ }, z.core.$strip>, z.ZodObject<{
1032
+ type: z.ZodLiteral<"template_mention">;
1033
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1034
+ type: z.ZodLiteral<"template_mention_date">;
1035
+ template_mention_date: z.ZodEnum<{
1036
+ today: "today";
1037
+ now: "now";
1038
+ }>;
1039
+ }, z.core.$strip>, z.ZodObject<{
1040
+ type: z.ZodLiteral<"template_mention_user">;
1041
+ template_mention_user: z.ZodLiteral<"me">;
1042
+ }, z.core.$strip>], "type">;
1043
+ }, z.core.$strip>, z.ZodObject<{
1044
+ type: z.ZodLiteral<"user">;
1045
+ user: z.ZodUnion<readonly [z.ZodObject<{
1046
+ object: z.ZodLiteral<"user">;
1047
+ id: z.ZodUUID;
1048
+ type: z.ZodLiteral<"person">;
1049
+ name: z.ZodOptional<z.ZodString>;
1050
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1051
+ person: z.ZodObject<{
1052
+ email: z.ZodEmail;
1053
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1054
+ }, z.core.$strip>;
1055
+ }, z.core.$strip>, z.ZodObject<{
1056
+ object: z.ZodLiteral<"user">;
1057
+ id: z.ZodUUID;
1058
+ type: z.ZodLiteral<"bot">;
1059
+ name: z.ZodOptional<z.ZodString>;
1060
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1061
+ bot: z.ZodObject<{
1062
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
1063
+ type: z.ZodLiteral<"workspace">;
1064
+ workspace: z.ZodLiteral<true>;
1065
+ }, z.core.$strip>, z.ZodObject<{
1066
+ type: z.ZodLiteral<"user">;
1067
+ }, z.core.$strip>], "type">;
1068
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
+ workspace_id: z.ZodOptional<z.ZodString>;
1070
+ workspace_limits: z.ZodOptional<z.ZodObject<{
1071
+ max_file_upload_size_in_bytes: z.ZodInt;
1072
+ }, z.core.$strip>>;
1073
+ }, z.core.$strip>;
1074
+ }, z.core.$strip>, z.ZodObject<{
1075
+ object: z.ZodLiteral<"user">;
1076
+ id: z.ZodUUID;
1077
+ }, z.core.$strip>]>;
1078
+ }, z.core.$strip>], "type">;
1079
+ annotations: z.ZodObject<{
1080
+ bold: z.ZodBoolean;
1081
+ italic: z.ZodBoolean;
1082
+ strikethrough: z.ZodBoolean;
1083
+ underline: z.ZodBoolean;
1084
+ code: z.ZodBoolean;
1085
+ color: z.ZodEnum<{
1086
+ default: "default";
1087
+ blue: "blue";
1088
+ blue_background: "blue_background";
1089
+ brown: "brown";
1090
+ brown_background: "brown_background";
1091
+ gray: "gray";
1092
+ gray_background: "gray_background";
1093
+ green: "green";
1094
+ green_background: "green_background";
1095
+ orange: "orange";
1096
+ orange_background: "orange_background";
1097
+ pink: "pink";
1098
+ pink_background: "pink_background";
1099
+ purple: "purple";
1100
+ purple_background: "purple_background";
1101
+ red: "red";
1102
+ red_background: "red_background";
1103
+ yellow: "yellow";
1104
+ yellow_background: "yellow_background";
1105
+ }>;
1106
+ }, z.core.$strip>;
1107
+ plain_text: z.ZodString;
1108
+ href: z.ZodNullable<z.ZodURL>;
1109
+ }, z.core.$strip>, z.ZodObject<{
1110
+ type: z.ZodLiteral<"equation">;
1111
+ equation: z.ZodObject<{
1112
+ expression: z.ZodString;
1113
+ }, z.core.$strip>;
1114
+ annotations: z.ZodObject<{
1115
+ bold: z.ZodBoolean;
1116
+ italic: z.ZodBoolean;
1117
+ strikethrough: z.ZodBoolean;
1118
+ underline: z.ZodBoolean;
1119
+ code: z.ZodBoolean;
1120
+ color: z.ZodEnum<{
1121
+ default: "default";
1122
+ blue: "blue";
1123
+ blue_background: "blue_background";
1124
+ brown: "brown";
1125
+ brown_background: "brown_background";
1126
+ gray: "gray";
1127
+ gray_background: "gray_background";
1128
+ green: "green";
1129
+ green_background: "green_background";
1130
+ orange: "orange";
1131
+ orange_background: "orange_background";
1132
+ pink: "pink";
1133
+ pink_background: "pink_background";
1134
+ purple: "purple";
1135
+ purple_background: "purple_background";
1136
+ red: "red";
1137
+ red_background: "red_background";
1138
+ yellow: "yellow";
1139
+ yellow_background: "yellow_background";
1140
+ }>;
1141
+ }, z.core.$strip>;
1142
+ plain_text: z.ZodString;
1143
+ href: z.ZodNullable<z.ZodURL>;
1144
+ }, z.core.$strip>], "type">>;
1145
+ language: z.ZodEnum<{
1146
+ abap: "abap";
1147
+ arduino: "arduino";
1148
+ bash: "bash";
1149
+ basic: "basic";
1150
+ c: "c";
1151
+ clojure: "clojure";
1152
+ coffeescript: "coffeescript";
1153
+ "c++": "c++";
1154
+ "c#": "c#";
1155
+ css: "css";
1156
+ dart: "dart";
1157
+ diff: "diff";
1158
+ docker: "docker";
1159
+ elixir: "elixir";
1160
+ elm: "elm";
1161
+ erlang: "erlang";
1162
+ flow: "flow";
1163
+ fortran: "fortran";
1164
+ "f#": "f#";
1165
+ gherkin: "gherkin";
1166
+ glsl: "glsl";
1167
+ go: "go";
1168
+ graphql: "graphql";
1169
+ groovy: "groovy";
1170
+ haskell: "haskell";
1171
+ html: "html";
1172
+ java: "java";
1173
+ javascript: "javascript";
1174
+ json: "json";
1175
+ julia: "julia";
1176
+ kotlin: "kotlin";
1177
+ latex: "latex";
1178
+ less: "less";
1179
+ lisp: "lisp";
1180
+ livescript: "livescript";
1181
+ lua: "lua";
1182
+ makefile: "makefile";
1183
+ markdown: "markdown";
1184
+ markup: "markup";
1185
+ matlab: "matlab";
1186
+ mermaid: "mermaid";
1187
+ nix: "nix";
1188
+ "objective-c": "objective-c";
1189
+ ocaml: "ocaml";
1190
+ pascal: "pascal";
1191
+ perl: "perl";
1192
+ php: "php";
1193
+ "plain text": "plain text";
1194
+ powershell: "powershell";
1195
+ prolog: "prolog";
1196
+ protobuf: "protobuf";
1197
+ python: "python";
1198
+ r: "r";
1199
+ reason: "reason";
1200
+ ruby: "ruby";
1201
+ rust: "rust";
1202
+ sass: "sass";
1203
+ scala: "scala";
1204
+ scheme: "scheme";
1205
+ scss: "scss";
1206
+ shell: "shell";
1207
+ sql: "sql";
1208
+ swift: "swift";
1209
+ typescript: "typescript";
1210
+ "vb.net": "vb.net";
1211
+ verilog: "verilog";
1212
+ vhdl: "vhdl";
1213
+ "visual basic": "visual basic";
1214
+ webassembly: "webassembly";
1215
+ xml: "xml";
1216
+ yaml: "yaml";
1217
+ "java/c/c++/c#": "java/c/c++/c#";
1218
+ }>;
1219
+ }, z.core.$strip>>;
1220
+ column_list: z.ZodOptional<z.ZodObject<{
1221
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
1222
+ }, z.core.$strip>>;
1223
+ column: z.ZodOptional<z.ZodObject<{
1224
+ width_ratio: z.ZodOptional<z.ZodNumber>;
1225
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
1226
+ }, z.core.$strip>>;
1227
+ divider: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
1228
+ embed: z.ZodOptional<z.ZodObject<{
1229
+ url: z.ZodURL;
1230
+ }, z.core.$strip>>;
1231
+ equation: z.ZodOptional<z.ZodObject<{
1232
+ expression: z.ZodString;
1233
+ }, z.core.$strip>>;
1234
+ file: z.ZodOptional<z.ZodObject<{
1235
+ caption: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1236
+ type: z.ZodLiteral<"text">;
1237
+ text: z.ZodObject<{
1238
+ content: z.ZodString;
1239
+ link: z.ZodNullable<z.ZodObject<{
1240
+ url: z.ZodURL;
1241
+ }, z.core.$strip>>;
1242
+ }, z.core.$strip>;
1243
+ annotations: z.ZodObject<{
1244
+ bold: z.ZodBoolean;
1245
+ italic: z.ZodBoolean;
1246
+ strikethrough: z.ZodBoolean;
1247
+ underline: z.ZodBoolean;
1248
+ code: z.ZodBoolean;
1249
+ color: z.ZodEnum<{
1250
+ default: "default";
1251
+ blue: "blue";
1252
+ blue_background: "blue_background";
1253
+ brown: "brown";
1254
+ brown_background: "brown_background";
1255
+ gray: "gray";
1256
+ gray_background: "gray_background";
1257
+ green: "green";
1258
+ green_background: "green_background";
1259
+ orange: "orange";
1260
+ orange_background: "orange_background";
1261
+ pink: "pink";
1262
+ pink_background: "pink_background";
1263
+ purple: "purple";
1264
+ purple_background: "purple_background";
1265
+ red: "red";
1266
+ red_background: "red_background";
1267
+ yellow: "yellow";
1268
+ yellow_background: "yellow_background";
1269
+ }>;
1270
+ }, z.core.$strip>;
1271
+ plain_text: z.ZodString;
1272
+ href: z.ZodNullable<z.ZodURL>;
1273
+ }, z.core.$strip>, z.ZodObject<{
1274
+ type: z.ZodLiteral<"mention">;
1275
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1276
+ type: z.ZodLiteral<"database">;
1277
+ database: z.ZodObject<{
1278
+ id: z.ZodUUID;
1279
+ }, z.core.$strip>;
1280
+ }, z.core.$strip>, z.ZodObject<{
1281
+ type: z.ZodLiteral<"date">;
1282
+ date: z.ZodObject<{
1283
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1284
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
1285
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1286
+ }, z.core.$strip>;
1287
+ }, z.core.$strip>, z.ZodObject<{
1288
+ type: z.ZodLiteral<"link_preview">;
1289
+ link_preview: z.ZodObject<{
1290
+ url: z.ZodURL;
1291
+ }, z.core.$strip>;
1292
+ }, z.core.$strip>, z.ZodObject<{
1293
+ type: z.ZodLiteral<"page">;
1294
+ page: z.ZodObject<{
1295
+ id: z.ZodUUID;
1296
+ }, z.core.$strip>;
1297
+ }, z.core.$strip>, z.ZodObject<{
1298
+ type: z.ZodLiteral<"template_mention">;
1299
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1300
+ type: z.ZodLiteral<"template_mention_date">;
1301
+ template_mention_date: z.ZodEnum<{
1302
+ today: "today";
1303
+ now: "now";
1304
+ }>;
1305
+ }, z.core.$strip>, z.ZodObject<{
1306
+ type: z.ZodLiteral<"template_mention_user">;
1307
+ template_mention_user: z.ZodLiteral<"me">;
1308
+ }, z.core.$strip>], "type">;
1309
+ }, z.core.$strip>, z.ZodObject<{
1310
+ type: z.ZodLiteral<"user">;
1311
+ user: z.ZodUnion<readonly [z.ZodObject<{
1312
+ object: z.ZodLiteral<"user">;
1313
+ id: z.ZodUUID;
1314
+ type: z.ZodLiteral<"person">;
1315
+ name: z.ZodOptional<z.ZodString>;
1316
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1317
+ person: z.ZodObject<{
1318
+ email: z.ZodEmail;
1319
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1320
+ }, z.core.$strip>;
1321
+ }, z.core.$strip>, z.ZodObject<{
1322
+ object: z.ZodLiteral<"user">;
1323
+ id: z.ZodUUID;
1324
+ type: z.ZodLiteral<"bot">;
1325
+ name: z.ZodOptional<z.ZodString>;
1326
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1327
+ bot: z.ZodObject<{
1328
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
1329
+ type: z.ZodLiteral<"workspace">;
1330
+ workspace: z.ZodLiteral<true>;
1331
+ }, z.core.$strip>, z.ZodObject<{
1332
+ type: z.ZodLiteral<"user">;
1333
+ }, z.core.$strip>], "type">;
1334
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1335
+ workspace_id: z.ZodOptional<z.ZodString>;
1336
+ workspace_limits: z.ZodOptional<z.ZodObject<{
1337
+ max_file_upload_size_in_bytes: z.ZodInt;
1338
+ }, z.core.$strip>>;
1339
+ }, z.core.$strip>;
1340
+ }, z.core.$strip>, z.ZodObject<{
1341
+ object: z.ZodLiteral<"user">;
1342
+ id: z.ZodUUID;
1343
+ }, z.core.$strip>]>;
1344
+ }, z.core.$strip>], "type">;
1345
+ annotations: z.ZodObject<{
1346
+ bold: z.ZodBoolean;
1347
+ italic: z.ZodBoolean;
1348
+ strikethrough: z.ZodBoolean;
1349
+ underline: z.ZodBoolean;
1350
+ code: z.ZodBoolean;
1351
+ color: z.ZodEnum<{
1352
+ default: "default";
1353
+ blue: "blue";
1354
+ blue_background: "blue_background";
1355
+ brown: "brown";
1356
+ brown_background: "brown_background";
1357
+ gray: "gray";
1358
+ gray_background: "gray_background";
1359
+ green: "green";
1360
+ green_background: "green_background";
1361
+ orange: "orange";
1362
+ orange_background: "orange_background";
1363
+ pink: "pink";
1364
+ pink_background: "pink_background";
1365
+ purple: "purple";
1366
+ purple_background: "purple_background";
1367
+ red: "red";
1368
+ red_background: "red_background";
1369
+ yellow: "yellow";
1370
+ yellow_background: "yellow_background";
1371
+ }>;
1372
+ }, z.core.$strip>;
1373
+ plain_text: z.ZodString;
1374
+ href: z.ZodNullable<z.ZodURL>;
1375
+ }, z.core.$strip>, z.ZodObject<{
1376
+ type: z.ZodLiteral<"equation">;
1377
+ equation: z.ZodObject<{
1378
+ expression: z.ZodString;
1379
+ }, z.core.$strip>;
1380
+ annotations: z.ZodObject<{
1381
+ bold: z.ZodBoolean;
1382
+ italic: z.ZodBoolean;
1383
+ strikethrough: z.ZodBoolean;
1384
+ underline: z.ZodBoolean;
1385
+ code: z.ZodBoolean;
1386
+ color: z.ZodEnum<{
1387
+ default: "default";
1388
+ blue: "blue";
1389
+ blue_background: "blue_background";
1390
+ brown: "brown";
1391
+ brown_background: "brown_background";
1392
+ gray: "gray";
1393
+ gray_background: "gray_background";
1394
+ green: "green";
1395
+ green_background: "green_background";
1396
+ orange: "orange";
1397
+ orange_background: "orange_background";
1398
+ pink: "pink";
1399
+ pink_background: "pink_background";
1400
+ purple: "purple";
1401
+ purple_background: "purple_background";
1402
+ red: "red";
1403
+ red_background: "red_background";
1404
+ yellow: "yellow";
1405
+ yellow_background: "yellow_background";
1406
+ }>;
1407
+ }, z.core.$strip>;
1408
+ plain_text: z.ZodString;
1409
+ href: z.ZodNullable<z.ZodURL>;
1410
+ }, z.core.$strip>], "type">>;
1411
+ type: z.ZodEnum<{
1412
+ file: "file";
1413
+ file_upload: "file_upload";
1414
+ external: "external";
1415
+ }>;
1416
+ file: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1417
+ type: z.ZodLiteral<"file">;
1418
+ file: z.ZodObject<{
1419
+ url: z.ZodURL;
1420
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1421
+ }, z.core.$strip>;
1422
+ }, z.core.$strip>, z.ZodObject<{
1423
+ type: z.ZodLiteral<"file_upload">;
1424
+ file_upload: z.ZodObject<{
1425
+ id: z.ZodUUID;
1426
+ }, z.core.$strip>;
1427
+ }, z.core.$strip>, z.ZodObject<{
1428
+ type: z.ZodLiteral<"external">;
1429
+ external: z.ZodObject<{
1430
+ url: z.ZodURL;
1431
+ }, z.core.$strip>;
1432
+ }, z.core.$strip>], "type">>;
1433
+ external: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1434
+ type: z.ZodLiteral<"file">;
1435
+ file: z.ZodObject<{
1436
+ url: z.ZodURL;
1437
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1438
+ }, z.core.$strip>;
1439
+ }, z.core.$strip>, z.ZodObject<{
1440
+ type: z.ZodLiteral<"file_upload">;
1441
+ file_upload: z.ZodObject<{
1442
+ id: z.ZodUUID;
1443
+ }, z.core.$strip>;
1444
+ }, z.core.$strip>, z.ZodObject<{
1445
+ type: z.ZodLiteral<"external">;
1446
+ external: z.ZodObject<{
1447
+ url: z.ZodURL;
1448
+ }, z.core.$strip>;
1449
+ }, z.core.$strip>], "type">>;
1450
+ file_upload: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1451
+ type: z.ZodLiteral<"file">;
1452
+ file: z.ZodObject<{
1453
+ url: z.ZodURL;
1454
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1455
+ }, z.core.$strip>;
1456
+ }, z.core.$strip>, z.ZodObject<{
1457
+ type: z.ZodLiteral<"file_upload">;
1458
+ file_upload: z.ZodObject<{
1459
+ id: z.ZodUUID;
1460
+ }, z.core.$strip>;
1461
+ }, z.core.$strip>, z.ZodObject<{
1462
+ type: z.ZodLiteral<"external">;
1463
+ external: z.ZodObject<{
1464
+ url: z.ZodURL;
1465
+ }, z.core.$strip>;
1466
+ }, z.core.$strip>], "type">>;
1467
+ name: z.ZodOptional<z.ZodString>;
1468
+ }, z.core.$strip>>;
1469
+ heading_1: z.ZodOptional<z.ZodObject<{
1470
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1471
+ type: z.ZodLiteral<"text">;
1472
+ text: z.ZodObject<{
1473
+ content: z.ZodString;
1474
+ link: z.ZodNullable<z.ZodObject<{
1475
+ url: z.ZodURL;
1476
+ }, z.core.$strip>>;
1477
+ }, z.core.$strip>;
1478
+ annotations: z.ZodObject<{
1479
+ bold: z.ZodBoolean;
1480
+ italic: z.ZodBoolean;
1481
+ strikethrough: z.ZodBoolean;
1482
+ underline: z.ZodBoolean;
1483
+ code: z.ZodBoolean;
1484
+ color: z.ZodEnum<{
1485
+ default: "default";
1486
+ blue: "blue";
1487
+ blue_background: "blue_background";
1488
+ brown: "brown";
1489
+ brown_background: "brown_background";
1490
+ gray: "gray";
1491
+ gray_background: "gray_background";
1492
+ green: "green";
1493
+ green_background: "green_background";
1494
+ orange: "orange";
1495
+ orange_background: "orange_background";
1496
+ pink: "pink";
1497
+ pink_background: "pink_background";
1498
+ purple: "purple";
1499
+ purple_background: "purple_background";
1500
+ red: "red";
1501
+ red_background: "red_background";
1502
+ yellow: "yellow";
1503
+ yellow_background: "yellow_background";
1504
+ }>;
1505
+ }, z.core.$strip>;
1506
+ plain_text: z.ZodString;
1507
+ href: z.ZodNullable<z.ZodURL>;
1508
+ }, z.core.$strip>, z.ZodObject<{
1509
+ type: z.ZodLiteral<"mention">;
1510
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1511
+ type: z.ZodLiteral<"database">;
1512
+ database: z.ZodObject<{
1513
+ id: z.ZodUUID;
1514
+ }, z.core.$strip>;
1515
+ }, z.core.$strip>, z.ZodObject<{
1516
+ type: z.ZodLiteral<"date">;
1517
+ date: z.ZodObject<{
1518
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1519
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
1520
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1521
+ }, z.core.$strip>;
1522
+ }, z.core.$strip>, z.ZodObject<{
1523
+ type: z.ZodLiteral<"link_preview">;
1524
+ link_preview: z.ZodObject<{
1525
+ url: z.ZodURL;
1526
+ }, z.core.$strip>;
1527
+ }, z.core.$strip>, z.ZodObject<{
1528
+ type: z.ZodLiteral<"page">;
1529
+ page: z.ZodObject<{
1530
+ id: z.ZodUUID;
1531
+ }, z.core.$strip>;
1532
+ }, z.core.$strip>, z.ZodObject<{
1533
+ type: z.ZodLiteral<"template_mention">;
1534
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1535
+ type: z.ZodLiteral<"template_mention_date">;
1536
+ template_mention_date: z.ZodEnum<{
1537
+ today: "today";
1538
+ now: "now";
1539
+ }>;
1540
+ }, z.core.$strip>, z.ZodObject<{
1541
+ type: z.ZodLiteral<"template_mention_user">;
1542
+ template_mention_user: z.ZodLiteral<"me">;
1543
+ }, z.core.$strip>], "type">;
1544
+ }, z.core.$strip>, z.ZodObject<{
1545
+ type: z.ZodLiteral<"user">;
1546
+ user: z.ZodUnion<readonly [z.ZodObject<{
1547
+ object: z.ZodLiteral<"user">;
1548
+ id: z.ZodUUID;
1549
+ type: z.ZodLiteral<"person">;
1550
+ name: z.ZodOptional<z.ZodString>;
1551
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1552
+ person: z.ZodObject<{
1553
+ email: z.ZodEmail;
1554
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1555
+ }, z.core.$strip>;
1556
+ }, z.core.$strip>, z.ZodObject<{
1557
+ object: z.ZodLiteral<"user">;
1558
+ id: z.ZodUUID;
1559
+ type: z.ZodLiteral<"bot">;
1560
+ name: z.ZodOptional<z.ZodString>;
1561
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1562
+ bot: z.ZodObject<{
1563
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
1564
+ type: z.ZodLiteral<"workspace">;
1565
+ workspace: z.ZodLiteral<true>;
1566
+ }, z.core.$strip>, z.ZodObject<{
1567
+ type: z.ZodLiteral<"user">;
1568
+ }, z.core.$strip>], "type">;
1569
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1570
+ workspace_id: z.ZodOptional<z.ZodString>;
1571
+ workspace_limits: z.ZodOptional<z.ZodObject<{
1572
+ max_file_upload_size_in_bytes: z.ZodInt;
1573
+ }, z.core.$strip>>;
1574
+ }, z.core.$strip>;
1575
+ }, z.core.$strip>, z.ZodObject<{
1576
+ object: z.ZodLiteral<"user">;
1577
+ id: z.ZodUUID;
1578
+ }, z.core.$strip>]>;
1579
+ }, z.core.$strip>], "type">;
1580
+ annotations: z.ZodObject<{
1581
+ bold: z.ZodBoolean;
1582
+ italic: z.ZodBoolean;
1583
+ strikethrough: z.ZodBoolean;
1584
+ underline: z.ZodBoolean;
1585
+ code: z.ZodBoolean;
1586
+ color: z.ZodEnum<{
1587
+ default: "default";
1588
+ blue: "blue";
1589
+ blue_background: "blue_background";
1590
+ brown: "brown";
1591
+ brown_background: "brown_background";
1592
+ gray: "gray";
1593
+ gray_background: "gray_background";
1594
+ green: "green";
1595
+ green_background: "green_background";
1596
+ orange: "orange";
1597
+ orange_background: "orange_background";
1598
+ pink: "pink";
1599
+ pink_background: "pink_background";
1600
+ purple: "purple";
1601
+ purple_background: "purple_background";
1602
+ red: "red";
1603
+ red_background: "red_background";
1604
+ yellow: "yellow";
1605
+ yellow_background: "yellow_background";
1606
+ }>;
1607
+ }, z.core.$strip>;
1608
+ plain_text: z.ZodString;
1609
+ href: z.ZodNullable<z.ZodURL>;
1610
+ }, z.core.$strip>, z.ZodObject<{
1611
+ type: z.ZodLiteral<"equation">;
1612
+ equation: z.ZodObject<{
1613
+ expression: z.ZodString;
1614
+ }, z.core.$strip>;
1615
+ annotations: z.ZodObject<{
1616
+ bold: z.ZodBoolean;
1617
+ italic: z.ZodBoolean;
1618
+ strikethrough: z.ZodBoolean;
1619
+ underline: z.ZodBoolean;
1620
+ code: z.ZodBoolean;
1621
+ color: z.ZodEnum<{
1622
+ default: "default";
1623
+ blue: "blue";
1624
+ blue_background: "blue_background";
1625
+ brown: "brown";
1626
+ brown_background: "brown_background";
1627
+ gray: "gray";
1628
+ gray_background: "gray_background";
1629
+ green: "green";
1630
+ green_background: "green_background";
1631
+ orange: "orange";
1632
+ orange_background: "orange_background";
1633
+ pink: "pink";
1634
+ pink_background: "pink_background";
1635
+ purple: "purple";
1636
+ purple_background: "purple_background";
1637
+ red: "red";
1638
+ red_background: "red_background";
1639
+ yellow: "yellow";
1640
+ yellow_background: "yellow_background";
1641
+ }>;
1642
+ }, z.core.$strip>;
1643
+ plain_text: z.ZodString;
1644
+ href: z.ZodNullable<z.ZodURL>;
1645
+ }, z.core.$strip>], "type">>;
1646
+ color: z.ZodEnum<{
1647
+ default: "default";
1648
+ blue: "blue";
1649
+ blue_background: "blue_background";
1650
+ brown: "brown";
1651
+ brown_background: "brown_background";
1652
+ gray: "gray";
1653
+ gray_background: "gray_background";
1654
+ green: "green";
1655
+ green_background: "green_background";
1656
+ orange: "orange";
1657
+ orange_background: "orange_background";
1658
+ pink: "pink";
1659
+ pink_background: "pink_background";
1660
+ purple: "purple";
1661
+ purple_background: "purple_background";
1662
+ red: "red";
1663
+ red_background: "red_background";
1664
+ yellow: "yellow";
1665
+ yellow_background: "yellow_background";
1666
+ }>;
1667
+ is_toggleable: z.ZodBoolean;
1668
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
1669
+ }, z.core.$strip>>;
1670
+ heading_2: z.ZodOptional<z.ZodObject<{
1671
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1672
+ type: z.ZodLiteral<"text">;
1673
+ text: z.ZodObject<{
1674
+ content: z.ZodString;
1675
+ link: z.ZodNullable<z.ZodObject<{
1676
+ url: z.ZodURL;
1677
+ }, z.core.$strip>>;
1678
+ }, z.core.$strip>;
1679
+ annotations: z.ZodObject<{
1680
+ bold: z.ZodBoolean;
1681
+ italic: z.ZodBoolean;
1682
+ strikethrough: z.ZodBoolean;
1683
+ underline: z.ZodBoolean;
1684
+ code: z.ZodBoolean;
1685
+ color: z.ZodEnum<{
1686
+ default: "default";
1687
+ blue: "blue";
1688
+ blue_background: "blue_background";
1689
+ brown: "brown";
1690
+ brown_background: "brown_background";
1691
+ gray: "gray";
1692
+ gray_background: "gray_background";
1693
+ green: "green";
1694
+ green_background: "green_background";
1695
+ orange: "orange";
1696
+ orange_background: "orange_background";
1697
+ pink: "pink";
1698
+ pink_background: "pink_background";
1699
+ purple: "purple";
1700
+ purple_background: "purple_background";
1701
+ red: "red";
1702
+ red_background: "red_background";
1703
+ yellow: "yellow";
1704
+ yellow_background: "yellow_background";
1705
+ }>;
1706
+ }, z.core.$strip>;
1707
+ plain_text: z.ZodString;
1708
+ href: z.ZodNullable<z.ZodURL>;
1709
+ }, z.core.$strip>, z.ZodObject<{
1710
+ type: z.ZodLiteral<"mention">;
1711
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1712
+ type: z.ZodLiteral<"database">;
1713
+ database: z.ZodObject<{
1714
+ id: z.ZodUUID;
1715
+ }, z.core.$strip>;
1716
+ }, z.core.$strip>, z.ZodObject<{
1717
+ type: z.ZodLiteral<"date">;
1718
+ date: z.ZodObject<{
1719
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1720
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
1721
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1722
+ }, z.core.$strip>;
1723
+ }, z.core.$strip>, z.ZodObject<{
1724
+ type: z.ZodLiteral<"link_preview">;
1725
+ link_preview: z.ZodObject<{
1726
+ url: z.ZodURL;
1727
+ }, z.core.$strip>;
1728
+ }, z.core.$strip>, z.ZodObject<{
1729
+ type: z.ZodLiteral<"page">;
1730
+ page: z.ZodObject<{
1731
+ id: z.ZodUUID;
1732
+ }, z.core.$strip>;
1733
+ }, z.core.$strip>, z.ZodObject<{
1734
+ type: z.ZodLiteral<"template_mention">;
1735
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1736
+ type: z.ZodLiteral<"template_mention_date">;
1737
+ template_mention_date: z.ZodEnum<{
1738
+ today: "today";
1739
+ now: "now";
1740
+ }>;
1741
+ }, z.core.$strip>, z.ZodObject<{
1742
+ type: z.ZodLiteral<"template_mention_user">;
1743
+ template_mention_user: z.ZodLiteral<"me">;
1744
+ }, z.core.$strip>], "type">;
1745
+ }, z.core.$strip>, z.ZodObject<{
1746
+ type: z.ZodLiteral<"user">;
1747
+ user: z.ZodUnion<readonly [z.ZodObject<{
1748
+ object: z.ZodLiteral<"user">;
1749
+ id: z.ZodUUID;
1750
+ type: z.ZodLiteral<"person">;
1751
+ name: z.ZodOptional<z.ZodString>;
1752
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1753
+ person: z.ZodObject<{
1754
+ email: z.ZodEmail;
1755
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1756
+ }, z.core.$strip>;
1757
+ }, z.core.$strip>, z.ZodObject<{
1758
+ object: z.ZodLiteral<"user">;
1759
+ id: z.ZodUUID;
1760
+ type: z.ZodLiteral<"bot">;
1761
+ name: z.ZodOptional<z.ZodString>;
1762
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1763
+ bot: z.ZodObject<{
1764
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
1765
+ type: z.ZodLiteral<"workspace">;
1766
+ workspace: z.ZodLiteral<true>;
1767
+ }, z.core.$strip>, z.ZodObject<{
1768
+ type: z.ZodLiteral<"user">;
1769
+ }, z.core.$strip>], "type">;
1770
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1771
+ workspace_id: z.ZodOptional<z.ZodString>;
1772
+ workspace_limits: z.ZodOptional<z.ZodObject<{
1773
+ max_file_upload_size_in_bytes: z.ZodInt;
1774
+ }, z.core.$strip>>;
1775
+ }, z.core.$strip>;
1776
+ }, z.core.$strip>, z.ZodObject<{
1777
+ object: z.ZodLiteral<"user">;
1778
+ id: z.ZodUUID;
1779
+ }, z.core.$strip>]>;
1780
+ }, z.core.$strip>], "type">;
1781
+ annotations: z.ZodObject<{
1782
+ bold: z.ZodBoolean;
1783
+ italic: z.ZodBoolean;
1784
+ strikethrough: z.ZodBoolean;
1785
+ underline: z.ZodBoolean;
1786
+ code: z.ZodBoolean;
1787
+ color: z.ZodEnum<{
1788
+ default: "default";
1789
+ blue: "blue";
1790
+ blue_background: "blue_background";
1791
+ brown: "brown";
1792
+ brown_background: "brown_background";
1793
+ gray: "gray";
1794
+ gray_background: "gray_background";
1795
+ green: "green";
1796
+ green_background: "green_background";
1797
+ orange: "orange";
1798
+ orange_background: "orange_background";
1799
+ pink: "pink";
1800
+ pink_background: "pink_background";
1801
+ purple: "purple";
1802
+ purple_background: "purple_background";
1803
+ red: "red";
1804
+ red_background: "red_background";
1805
+ yellow: "yellow";
1806
+ yellow_background: "yellow_background";
1807
+ }>;
1808
+ }, z.core.$strip>;
1809
+ plain_text: z.ZodString;
1810
+ href: z.ZodNullable<z.ZodURL>;
1811
+ }, z.core.$strip>, z.ZodObject<{
1812
+ type: z.ZodLiteral<"equation">;
1813
+ equation: z.ZodObject<{
1814
+ expression: z.ZodString;
1815
+ }, z.core.$strip>;
1816
+ annotations: z.ZodObject<{
1817
+ bold: z.ZodBoolean;
1818
+ italic: z.ZodBoolean;
1819
+ strikethrough: z.ZodBoolean;
1820
+ underline: z.ZodBoolean;
1821
+ code: z.ZodBoolean;
1822
+ color: z.ZodEnum<{
1823
+ default: "default";
1824
+ blue: "blue";
1825
+ blue_background: "blue_background";
1826
+ brown: "brown";
1827
+ brown_background: "brown_background";
1828
+ gray: "gray";
1829
+ gray_background: "gray_background";
1830
+ green: "green";
1831
+ green_background: "green_background";
1832
+ orange: "orange";
1833
+ orange_background: "orange_background";
1834
+ pink: "pink";
1835
+ pink_background: "pink_background";
1836
+ purple: "purple";
1837
+ purple_background: "purple_background";
1838
+ red: "red";
1839
+ red_background: "red_background";
1840
+ yellow: "yellow";
1841
+ yellow_background: "yellow_background";
1842
+ }>;
1843
+ }, z.core.$strip>;
1844
+ plain_text: z.ZodString;
1845
+ href: z.ZodNullable<z.ZodURL>;
1846
+ }, z.core.$strip>], "type">>;
1847
+ color: z.ZodEnum<{
1848
+ default: "default";
1849
+ blue: "blue";
1850
+ blue_background: "blue_background";
1851
+ brown: "brown";
1852
+ brown_background: "brown_background";
1853
+ gray: "gray";
1854
+ gray_background: "gray_background";
1855
+ green: "green";
1856
+ green_background: "green_background";
1857
+ orange: "orange";
1858
+ orange_background: "orange_background";
1859
+ pink: "pink";
1860
+ pink_background: "pink_background";
1861
+ purple: "purple";
1862
+ purple_background: "purple_background";
1863
+ red: "red";
1864
+ red_background: "red_background";
1865
+ yellow: "yellow";
1866
+ yellow_background: "yellow_background";
1867
+ }>;
1868
+ is_toggleable: z.ZodBoolean;
1869
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
1870
+ }, z.core.$strip>>;
1871
+ heading_3: z.ZodOptional<z.ZodObject<{
1872
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1873
+ type: z.ZodLiteral<"text">;
1874
+ text: z.ZodObject<{
1875
+ content: z.ZodString;
1876
+ link: z.ZodNullable<z.ZodObject<{
1877
+ url: z.ZodURL;
1878
+ }, z.core.$strip>>;
1879
+ }, z.core.$strip>;
1880
+ annotations: z.ZodObject<{
1881
+ bold: z.ZodBoolean;
1882
+ italic: z.ZodBoolean;
1883
+ strikethrough: z.ZodBoolean;
1884
+ underline: z.ZodBoolean;
1885
+ code: z.ZodBoolean;
1886
+ color: z.ZodEnum<{
1887
+ default: "default";
1888
+ blue: "blue";
1889
+ blue_background: "blue_background";
1890
+ brown: "brown";
1891
+ brown_background: "brown_background";
1892
+ gray: "gray";
1893
+ gray_background: "gray_background";
1894
+ green: "green";
1895
+ green_background: "green_background";
1896
+ orange: "orange";
1897
+ orange_background: "orange_background";
1898
+ pink: "pink";
1899
+ pink_background: "pink_background";
1900
+ purple: "purple";
1901
+ purple_background: "purple_background";
1902
+ red: "red";
1903
+ red_background: "red_background";
1904
+ yellow: "yellow";
1905
+ yellow_background: "yellow_background";
1906
+ }>;
1907
+ }, z.core.$strip>;
1908
+ plain_text: z.ZodString;
1909
+ href: z.ZodNullable<z.ZodURL>;
1910
+ }, z.core.$strip>, z.ZodObject<{
1911
+ type: z.ZodLiteral<"mention">;
1912
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1913
+ type: z.ZodLiteral<"database">;
1914
+ database: z.ZodObject<{
1915
+ id: z.ZodUUID;
1916
+ }, z.core.$strip>;
1917
+ }, z.core.$strip>, z.ZodObject<{
1918
+ type: z.ZodLiteral<"date">;
1919
+ date: z.ZodObject<{
1920
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
1921
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
1922
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1923
+ }, z.core.$strip>;
1924
+ }, z.core.$strip>, z.ZodObject<{
1925
+ type: z.ZodLiteral<"link_preview">;
1926
+ link_preview: z.ZodObject<{
1927
+ url: z.ZodURL;
1928
+ }, z.core.$strip>;
1929
+ }, z.core.$strip>, z.ZodObject<{
1930
+ type: z.ZodLiteral<"page">;
1931
+ page: z.ZodObject<{
1932
+ id: z.ZodUUID;
1933
+ }, z.core.$strip>;
1934
+ }, z.core.$strip>, z.ZodObject<{
1935
+ type: z.ZodLiteral<"template_mention">;
1936
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
1937
+ type: z.ZodLiteral<"template_mention_date">;
1938
+ template_mention_date: z.ZodEnum<{
1939
+ today: "today";
1940
+ now: "now";
1941
+ }>;
1942
+ }, z.core.$strip>, z.ZodObject<{
1943
+ type: z.ZodLiteral<"template_mention_user">;
1944
+ template_mention_user: z.ZodLiteral<"me">;
1945
+ }, z.core.$strip>], "type">;
1946
+ }, z.core.$strip>, z.ZodObject<{
1947
+ type: z.ZodLiteral<"user">;
1948
+ user: z.ZodUnion<readonly [z.ZodObject<{
1949
+ object: z.ZodLiteral<"user">;
1950
+ id: z.ZodUUID;
1951
+ type: z.ZodLiteral<"person">;
1952
+ name: z.ZodOptional<z.ZodString>;
1953
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1954
+ person: z.ZodObject<{
1955
+ email: z.ZodEmail;
1956
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1957
+ }, z.core.$strip>;
1958
+ }, z.core.$strip>, z.ZodObject<{
1959
+ object: z.ZodLiteral<"user">;
1960
+ id: z.ZodUUID;
1961
+ type: z.ZodLiteral<"bot">;
1962
+ name: z.ZodOptional<z.ZodString>;
1963
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
1964
+ bot: z.ZodObject<{
1965
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
1966
+ type: z.ZodLiteral<"workspace">;
1967
+ workspace: z.ZodLiteral<true>;
1968
+ }, z.core.$strip>, z.ZodObject<{
1969
+ type: z.ZodLiteral<"user">;
1970
+ }, z.core.$strip>], "type">;
1971
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1972
+ workspace_id: z.ZodOptional<z.ZodString>;
1973
+ workspace_limits: z.ZodOptional<z.ZodObject<{
1974
+ max_file_upload_size_in_bytes: z.ZodInt;
1975
+ }, z.core.$strip>>;
1976
+ }, z.core.$strip>;
1977
+ }, z.core.$strip>, z.ZodObject<{
1978
+ object: z.ZodLiteral<"user">;
1979
+ id: z.ZodUUID;
1980
+ }, z.core.$strip>]>;
1981
+ }, z.core.$strip>], "type">;
1982
+ annotations: z.ZodObject<{
1983
+ bold: z.ZodBoolean;
1984
+ italic: z.ZodBoolean;
1985
+ strikethrough: z.ZodBoolean;
1986
+ underline: z.ZodBoolean;
1987
+ code: z.ZodBoolean;
1988
+ color: z.ZodEnum<{
1989
+ default: "default";
1990
+ blue: "blue";
1991
+ blue_background: "blue_background";
1992
+ brown: "brown";
1993
+ brown_background: "brown_background";
1994
+ gray: "gray";
1995
+ gray_background: "gray_background";
1996
+ green: "green";
1997
+ green_background: "green_background";
1998
+ orange: "orange";
1999
+ orange_background: "orange_background";
2000
+ pink: "pink";
2001
+ pink_background: "pink_background";
2002
+ purple: "purple";
2003
+ purple_background: "purple_background";
2004
+ red: "red";
2005
+ red_background: "red_background";
2006
+ yellow: "yellow";
2007
+ yellow_background: "yellow_background";
2008
+ }>;
2009
+ }, z.core.$strip>;
2010
+ plain_text: z.ZodString;
2011
+ href: z.ZodNullable<z.ZodURL>;
2012
+ }, z.core.$strip>, z.ZodObject<{
2013
+ type: z.ZodLiteral<"equation">;
2014
+ equation: z.ZodObject<{
2015
+ expression: z.ZodString;
2016
+ }, z.core.$strip>;
2017
+ annotations: z.ZodObject<{
2018
+ bold: z.ZodBoolean;
2019
+ italic: z.ZodBoolean;
2020
+ strikethrough: z.ZodBoolean;
2021
+ underline: z.ZodBoolean;
2022
+ code: z.ZodBoolean;
2023
+ color: z.ZodEnum<{
2024
+ default: "default";
2025
+ blue: "blue";
2026
+ blue_background: "blue_background";
2027
+ brown: "brown";
2028
+ brown_background: "brown_background";
2029
+ gray: "gray";
2030
+ gray_background: "gray_background";
2031
+ green: "green";
2032
+ green_background: "green_background";
2033
+ orange: "orange";
2034
+ orange_background: "orange_background";
2035
+ pink: "pink";
2036
+ pink_background: "pink_background";
2037
+ purple: "purple";
2038
+ purple_background: "purple_background";
2039
+ red: "red";
2040
+ red_background: "red_background";
2041
+ yellow: "yellow";
2042
+ yellow_background: "yellow_background";
2043
+ }>;
2044
+ }, z.core.$strip>;
2045
+ plain_text: z.ZodString;
2046
+ href: z.ZodNullable<z.ZodURL>;
2047
+ }, z.core.$strip>], "type">>;
2048
+ color: z.ZodEnum<{
2049
+ default: "default";
2050
+ blue: "blue";
2051
+ blue_background: "blue_background";
2052
+ brown: "brown";
2053
+ brown_background: "brown_background";
2054
+ gray: "gray";
2055
+ gray_background: "gray_background";
2056
+ green: "green";
2057
+ green_background: "green_background";
2058
+ orange: "orange";
2059
+ orange_background: "orange_background";
2060
+ pink: "pink";
2061
+ pink_background: "pink_background";
2062
+ purple: "purple";
2063
+ purple_background: "purple_background";
2064
+ red: "red";
2065
+ red_background: "red_background";
2066
+ yellow: "yellow";
2067
+ yellow_background: "yellow_background";
2068
+ }>;
2069
+ is_toggleable: z.ZodBoolean;
2070
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
2071
+ }, z.core.$strip>>;
2072
+ heading_4: z.ZodOptional<z.ZodObject<{
2073
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2074
+ type: z.ZodLiteral<"text">;
2075
+ text: z.ZodObject<{
2076
+ content: z.ZodString;
2077
+ link: z.ZodNullable<z.ZodObject<{
2078
+ url: z.ZodURL;
2079
+ }, z.core.$strip>>;
2080
+ }, z.core.$strip>;
2081
+ annotations: z.ZodObject<{
2082
+ bold: z.ZodBoolean;
2083
+ italic: z.ZodBoolean;
2084
+ strikethrough: z.ZodBoolean;
2085
+ underline: z.ZodBoolean;
2086
+ code: z.ZodBoolean;
2087
+ color: z.ZodEnum<{
2088
+ default: "default";
2089
+ blue: "blue";
2090
+ blue_background: "blue_background";
2091
+ brown: "brown";
2092
+ brown_background: "brown_background";
2093
+ gray: "gray";
2094
+ gray_background: "gray_background";
2095
+ green: "green";
2096
+ green_background: "green_background";
2097
+ orange: "orange";
2098
+ orange_background: "orange_background";
2099
+ pink: "pink";
2100
+ pink_background: "pink_background";
2101
+ purple: "purple";
2102
+ purple_background: "purple_background";
2103
+ red: "red";
2104
+ red_background: "red_background";
2105
+ yellow: "yellow";
2106
+ yellow_background: "yellow_background";
2107
+ }>;
2108
+ }, z.core.$strip>;
2109
+ plain_text: z.ZodString;
2110
+ href: z.ZodNullable<z.ZodURL>;
2111
+ }, z.core.$strip>, z.ZodObject<{
2112
+ type: z.ZodLiteral<"mention">;
2113
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2114
+ type: z.ZodLiteral<"database">;
2115
+ database: z.ZodObject<{
2116
+ id: z.ZodUUID;
2117
+ }, z.core.$strip>;
2118
+ }, z.core.$strip>, z.ZodObject<{
2119
+ type: z.ZodLiteral<"date">;
2120
+ date: z.ZodObject<{
2121
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2122
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
2123
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2124
+ }, z.core.$strip>;
2125
+ }, z.core.$strip>, z.ZodObject<{
2126
+ type: z.ZodLiteral<"link_preview">;
2127
+ link_preview: z.ZodObject<{
2128
+ url: z.ZodURL;
2129
+ }, z.core.$strip>;
2130
+ }, z.core.$strip>, z.ZodObject<{
2131
+ type: z.ZodLiteral<"page">;
2132
+ page: z.ZodObject<{
2133
+ id: z.ZodUUID;
2134
+ }, z.core.$strip>;
2135
+ }, z.core.$strip>, z.ZodObject<{
2136
+ type: z.ZodLiteral<"template_mention">;
2137
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2138
+ type: z.ZodLiteral<"template_mention_date">;
2139
+ template_mention_date: z.ZodEnum<{
2140
+ today: "today";
2141
+ now: "now";
2142
+ }>;
2143
+ }, z.core.$strip>, z.ZodObject<{
2144
+ type: z.ZodLiteral<"template_mention_user">;
2145
+ template_mention_user: z.ZodLiteral<"me">;
2146
+ }, z.core.$strip>], "type">;
2147
+ }, z.core.$strip>, z.ZodObject<{
2148
+ type: z.ZodLiteral<"user">;
2149
+ user: z.ZodUnion<readonly [z.ZodObject<{
2150
+ object: z.ZodLiteral<"user">;
2151
+ id: z.ZodUUID;
2152
+ type: z.ZodLiteral<"person">;
2153
+ name: z.ZodOptional<z.ZodString>;
2154
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2155
+ person: z.ZodObject<{
2156
+ email: z.ZodEmail;
2157
+ email_verified: z.ZodOptional<z.ZodBoolean>;
2158
+ }, z.core.$strip>;
2159
+ }, z.core.$strip>, z.ZodObject<{
2160
+ object: z.ZodLiteral<"user">;
2161
+ id: z.ZodUUID;
2162
+ type: z.ZodLiteral<"bot">;
2163
+ name: z.ZodOptional<z.ZodString>;
2164
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2165
+ bot: z.ZodObject<{
2166
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
2167
+ type: z.ZodLiteral<"workspace">;
2168
+ workspace: z.ZodLiteral<true>;
2169
+ }, z.core.$strip>, z.ZodObject<{
2170
+ type: z.ZodLiteral<"user">;
2171
+ }, z.core.$strip>], "type">;
2172
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2173
+ workspace_id: z.ZodOptional<z.ZodString>;
2174
+ workspace_limits: z.ZodOptional<z.ZodObject<{
2175
+ max_file_upload_size_in_bytes: z.ZodInt;
2176
+ }, z.core.$strip>>;
2177
+ }, z.core.$strip>;
2178
+ }, z.core.$strip>, z.ZodObject<{
2179
+ object: z.ZodLiteral<"user">;
2180
+ id: z.ZodUUID;
2181
+ }, z.core.$strip>]>;
2182
+ }, z.core.$strip>], "type">;
2183
+ annotations: z.ZodObject<{
2184
+ bold: z.ZodBoolean;
2185
+ italic: z.ZodBoolean;
2186
+ strikethrough: z.ZodBoolean;
2187
+ underline: z.ZodBoolean;
2188
+ code: z.ZodBoolean;
2189
+ color: z.ZodEnum<{
2190
+ default: "default";
2191
+ blue: "blue";
2192
+ blue_background: "blue_background";
2193
+ brown: "brown";
2194
+ brown_background: "brown_background";
2195
+ gray: "gray";
2196
+ gray_background: "gray_background";
2197
+ green: "green";
2198
+ green_background: "green_background";
2199
+ orange: "orange";
2200
+ orange_background: "orange_background";
2201
+ pink: "pink";
2202
+ pink_background: "pink_background";
2203
+ purple: "purple";
2204
+ purple_background: "purple_background";
2205
+ red: "red";
2206
+ red_background: "red_background";
2207
+ yellow: "yellow";
2208
+ yellow_background: "yellow_background";
2209
+ }>;
2210
+ }, z.core.$strip>;
2211
+ plain_text: z.ZodString;
2212
+ href: z.ZodNullable<z.ZodURL>;
2213
+ }, z.core.$strip>, z.ZodObject<{
2214
+ type: z.ZodLiteral<"equation">;
2215
+ equation: z.ZodObject<{
2216
+ expression: z.ZodString;
2217
+ }, z.core.$strip>;
2218
+ annotations: z.ZodObject<{
2219
+ bold: z.ZodBoolean;
2220
+ italic: z.ZodBoolean;
2221
+ strikethrough: z.ZodBoolean;
2222
+ underline: z.ZodBoolean;
2223
+ code: z.ZodBoolean;
2224
+ color: z.ZodEnum<{
2225
+ default: "default";
2226
+ blue: "blue";
2227
+ blue_background: "blue_background";
2228
+ brown: "brown";
2229
+ brown_background: "brown_background";
2230
+ gray: "gray";
2231
+ gray_background: "gray_background";
2232
+ green: "green";
2233
+ green_background: "green_background";
2234
+ orange: "orange";
2235
+ orange_background: "orange_background";
2236
+ pink: "pink";
2237
+ pink_background: "pink_background";
2238
+ purple: "purple";
2239
+ purple_background: "purple_background";
2240
+ red: "red";
2241
+ red_background: "red_background";
2242
+ yellow: "yellow";
2243
+ yellow_background: "yellow_background";
2244
+ }>;
2245
+ }, z.core.$strip>;
2246
+ plain_text: z.ZodString;
2247
+ href: z.ZodNullable<z.ZodURL>;
2248
+ }, z.core.$strip>], "type">>;
2249
+ color: z.ZodEnum<{
2250
+ default: "default";
2251
+ blue: "blue";
2252
+ blue_background: "blue_background";
2253
+ brown: "brown";
2254
+ brown_background: "brown_background";
2255
+ gray: "gray";
2256
+ gray_background: "gray_background";
2257
+ green: "green";
2258
+ green_background: "green_background";
2259
+ orange: "orange";
2260
+ orange_background: "orange_background";
2261
+ pink: "pink";
2262
+ pink_background: "pink_background";
2263
+ purple: "purple";
2264
+ purple_background: "purple_background";
2265
+ red: "red";
2266
+ red_background: "red_background";
2267
+ yellow: "yellow";
2268
+ yellow_background: "yellow_background";
2269
+ }>;
2270
+ is_toggleable: z.ZodBoolean;
2271
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
2272
+ }, z.core.$strip>>;
2273
+ image: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2274
+ type: z.ZodLiteral<"file">;
2275
+ file: z.ZodObject<{
2276
+ url: z.ZodURL;
2277
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2278
+ }, z.core.$strip>;
2279
+ }, z.core.$strip>, z.ZodObject<{
2280
+ type: z.ZodLiteral<"file_upload">;
2281
+ file_upload: z.ZodObject<{
2282
+ id: z.ZodUUID;
2283
+ }, z.core.$strip>;
2284
+ }, z.core.$strip>, z.ZodObject<{
2285
+ type: z.ZodLiteral<"external">;
2286
+ external: z.ZodObject<{
2287
+ url: z.ZodURL;
2288
+ }, z.core.$strip>;
2289
+ }, z.core.$strip>], "type">>;
2290
+ link_preview: z.ZodOptional<z.ZodObject<{
2291
+ url: z.ZodURL;
2292
+ }, z.core.$strip>>;
2293
+ numbered_list_item: z.ZodOptional<z.ZodObject<{
2294
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2295
+ type: z.ZodLiteral<"text">;
2296
+ text: z.ZodObject<{
2297
+ content: z.ZodString;
2298
+ link: z.ZodNullable<z.ZodObject<{
2299
+ url: z.ZodURL;
2300
+ }, z.core.$strip>>;
2301
+ }, z.core.$strip>;
2302
+ annotations: z.ZodObject<{
2303
+ bold: z.ZodBoolean;
2304
+ italic: z.ZodBoolean;
2305
+ strikethrough: z.ZodBoolean;
2306
+ underline: z.ZodBoolean;
2307
+ code: z.ZodBoolean;
2308
+ color: z.ZodEnum<{
2309
+ default: "default";
2310
+ blue: "blue";
2311
+ blue_background: "blue_background";
2312
+ brown: "brown";
2313
+ brown_background: "brown_background";
2314
+ gray: "gray";
2315
+ gray_background: "gray_background";
2316
+ green: "green";
2317
+ green_background: "green_background";
2318
+ orange: "orange";
2319
+ orange_background: "orange_background";
2320
+ pink: "pink";
2321
+ pink_background: "pink_background";
2322
+ purple: "purple";
2323
+ purple_background: "purple_background";
2324
+ red: "red";
2325
+ red_background: "red_background";
2326
+ yellow: "yellow";
2327
+ yellow_background: "yellow_background";
2328
+ }>;
2329
+ }, z.core.$strip>;
2330
+ plain_text: z.ZodString;
2331
+ href: z.ZodNullable<z.ZodURL>;
2332
+ }, z.core.$strip>, z.ZodObject<{
2333
+ type: z.ZodLiteral<"mention">;
2334
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2335
+ type: z.ZodLiteral<"database">;
2336
+ database: z.ZodObject<{
2337
+ id: z.ZodUUID;
2338
+ }, z.core.$strip>;
2339
+ }, z.core.$strip>, z.ZodObject<{
2340
+ type: z.ZodLiteral<"date">;
2341
+ date: z.ZodObject<{
2342
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2343
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
2344
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2345
+ }, z.core.$strip>;
2346
+ }, z.core.$strip>, z.ZodObject<{
2347
+ type: z.ZodLiteral<"link_preview">;
2348
+ link_preview: z.ZodObject<{
2349
+ url: z.ZodURL;
2350
+ }, z.core.$strip>;
2351
+ }, z.core.$strip>, z.ZodObject<{
2352
+ type: z.ZodLiteral<"page">;
2353
+ page: z.ZodObject<{
2354
+ id: z.ZodUUID;
2355
+ }, z.core.$strip>;
2356
+ }, z.core.$strip>, z.ZodObject<{
2357
+ type: z.ZodLiteral<"template_mention">;
2358
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2359
+ type: z.ZodLiteral<"template_mention_date">;
2360
+ template_mention_date: z.ZodEnum<{
2361
+ today: "today";
2362
+ now: "now";
2363
+ }>;
2364
+ }, z.core.$strip>, z.ZodObject<{
2365
+ type: z.ZodLiteral<"template_mention_user">;
2366
+ template_mention_user: z.ZodLiteral<"me">;
2367
+ }, z.core.$strip>], "type">;
2368
+ }, z.core.$strip>, z.ZodObject<{
2369
+ type: z.ZodLiteral<"user">;
2370
+ user: z.ZodUnion<readonly [z.ZodObject<{
2371
+ object: z.ZodLiteral<"user">;
2372
+ id: z.ZodUUID;
2373
+ type: z.ZodLiteral<"person">;
2374
+ name: z.ZodOptional<z.ZodString>;
2375
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2376
+ person: z.ZodObject<{
2377
+ email: z.ZodEmail;
2378
+ email_verified: z.ZodOptional<z.ZodBoolean>;
2379
+ }, z.core.$strip>;
2380
+ }, z.core.$strip>, z.ZodObject<{
2381
+ object: z.ZodLiteral<"user">;
2382
+ id: z.ZodUUID;
2383
+ type: z.ZodLiteral<"bot">;
2384
+ name: z.ZodOptional<z.ZodString>;
2385
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2386
+ bot: z.ZodObject<{
2387
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
2388
+ type: z.ZodLiteral<"workspace">;
2389
+ workspace: z.ZodLiteral<true>;
2390
+ }, z.core.$strip>, z.ZodObject<{
2391
+ type: z.ZodLiteral<"user">;
2392
+ }, z.core.$strip>], "type">;
2393
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2394
+ workspace_id: z.ZodOptional<z.ZodString>;
2395
+ workspace_limits: z.ZodOptional<z.ZodObject<{
2396
+ max_file_upload_size_in_bytes: z.ZodInt;
2397
+ }, z.core.$strip>>;
2398
+ }, z.core.$strip>;
2399
+ }, z.core.$strip>, z.ZodObject<{
2400
+ object: z.ZodLiteral<"user">;
2401
+ id: z.ZodUUID;
2402
+ }, z.core.$strip>]>;
2403
+ }, z.core.$strip>], "type">;
2404
+ annotations: z.ZodObject<{
2405
+ bold: z.ZodBoolean;
2406
+ italic: z.ZodBoolean;
2407
+ strikethrough: z.ZodBoolean;
2408
+ underline: z.ZodBoolean;
2409
+ code: z.ZodBoolean;
2410
+ color: z.ZodEnum<{
2411
+ default: "default";
2412
+ blue: "blue";
2413
+ blue_background: "blue_background";
2414
+ brown: "brown";
2415
+ brown_background: "brown_background";
2416
+ gray: "gray";
2417
+ gray_background: "gray_background";
2418
+ green: "green";
2419
+ green_background: "green_background";
2420
+ orange: "orange";
2421
+ orange_background: "orange_background";
2422
+ pink: "pink";
2423
+ pink_background: "pink_background";
2424
+ purple: "purple";
2425
+ purple_background: "purple_background";
2426
+ red: "red";
2427
+ red_background: "red_background";
2428
+ yellow: "yellow";
2429
+ yellow_background: "yellow_background";
2430
+ }>;
2431
+ }, z.core.$strip>;
2432
+ plain_text: z.ZodString;
2433
+ href: z.ZodNullable<z.ZodURL>;
2434
+ }, z.core.$strip>, z.ZodObject<{
2435
+ type: z.ZodLiteral<"equation">;
2436
+ equation: z.ZodObject<{
2437
+ expression: z.ZodString;
2438
+ }, z.core.$strip>;
2439
+ annotations: z.ZodObject<{
2440
+ bold: z.ZodBoolean;
2441
+ italic: z.ZodBoolean;
2442
+ strikethrough: z.ZodBoolean;
2443
+ underline: z.ZodBoolean;
2444
+ code: z.ZodBoolean;
2445
+ color: z.ZodEnum<{
2446
+ default: "default";
2447
+ blue: "blue";
2448
+ blue_background: "blue_background";
2449
+ brown: "brown";
2450
+ brown_background: "brown_background";
2451
+ gray: "gray";
2452
+ gray_background: "gray_background";
2453
+ green: "green";
2454
+ green_background: "green_background";
2455
+ orange: "orange";
2456
+ orange_background: "orange_background";
2457
+ pink: "pink";
2458
+ pink_background: "pink_background";
2459
+ purple: "purple";
2460
+ purple_background: "purple_background";
2461
+ red: "red";
2462
+ red_background: "red_background";
2463
+ yellow: "yellow";
2464
+ yellow_background: "yellow_background";
2465
+ }>;
2466
+ }, z.core.$strip>;
2467
+ plain_text: z.ZodString;
2468
+ href: z.ZodNullable<z.ZodURL>;
2469
+ }, z.core.$strip>], "type">>;
2470
+ color: z.ZodEnum<{
2471
+ default: "default";
2472
+ blue: "blue";
2473
+ blue_background: "blue_background";
2474
+ brown: "brown";
2475
+ brown_background: "brown_background";
2476
+ gray: "gray";
2477
+ gray_background: "gray_background";
2478
+ green: "green";
2479
+ green_background: "green_background";
2480
+ orange: "orange";
2481
+ orange_background: "orange_background";
2482
+ pink: "pink";
2483
+ pink_background: "pink_background";
2484
+ purple: "purple";
2485
+ purple_background: "purple_background";
2486
+ red: "red";
2487
+ red_background: "red_background";
2488
+ yellow: "yellow";
2489
+ yellow_background: "yellow_background";
2490
+ }>;
2491
+ list_start_index: z.ZodOptional<z.ZodInt>;
2492
+ list_format: z.ZodOptional<z.ZodEnum<{
2493
+ numbers: "numbers";
2494
+ letters: "letters";
2495
+ roman: "roman";
2496
+ }>>;
2497
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
2498
+ }, z.core.$strip>>;
2499
+ paragraph: z.ZodOptional<z.ZodObject<{
2500
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2501
+ type: z.ZodLiteral<"text">;
2502
+ text: z.ZodObject<{
2503
+ content: z.ZodString;
2504
+ link: z.ZodNullable<z.ZodObject<{
2505
+ url: z.ZodURL;
2506
+ }, z.core.$strip>>;
2507
+ }, z.core.$strip>;
2508
+ annotations: z.ZodObject<{
2509
+ bold: z.ZodBoolean;
2510
+ italic: z.ZodBoolean;
2511
+ strikethrough: z.ZodBoolean;
2512
+ underline: z.ZodBoolean;
2513
+ code: z.ZodBoolean;
2514
+ color: z.ZodEnum<{
2515
+ default: "default";
2516
+ blue: "blue";
2517
+ blue_background: "blue_background";
2518
+ brown: "brown";
2519
+ brown_background: "brown_background";
2520
+ gray: "gray";
2521
+ gray_background: "gray_background";
2522
+ green: "green";
2523
+ green_background: "green_background";
2524
+ orange: "orange";
2525
+ orange_background: "orange_background";
2526
+ pink: "pink";
2527
+ pink_background: "pink_background";
2528
+ purple: "purple";
2529
+ purple_background: "purple_background";
2530
+ red: "red";
2531
+ red_background: "red_background";
2532
+ yellow: "yellow";
2533
+ yellow_background: "yellow_background";
2534
+ }>;
2535
+ }, z.core.$strip>;
2536
+ plain_text: z.ZodString;
2537
+ href: z.ZodNullable<z.ZodURL>;
2538
+ }, z.core.$strip>, z.ZodObject<{
2539
+ type: z.ZodLiteral<"mention">;
2540
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2541
+ type: z.ZodLiteral<"database">;
2542
+ database: z.ZodObject<{
2543
+ id: z.ZodUUID;
2544
+ }, z.core.$strip>;
2545
+ }, z.core.$strip>, z.ZodObject<{
2546
+ type: z.ZodLiteral<"date">;
2547
+ date: z.ZodObject<{
2548
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2549
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
2550
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2551
+ }, z.core.$strip>;
2552
+ }, z.core.$strip>, z.ZodObject<{
2553
+ type: z.ZodLiteral<"link_preview">;
2554
+ link_preview: z.ZodObject<{
2555
+ url: z.ZodURL;
2556
+ }, z.core.$strip>;
2557
+ }, z.core.$strip>, z.ZodObject<{
2558
+ type: z.ZodLiteral<"page">;
2559
+ page: z.ZodObject<{
2560
+ id: z.ZodUUID;
2561
+ }, z.core.$strip>;
2562
+ }, z.core.$strip>, z.ZodObject<{
2563
+ type: z.ZodLiteral<"template_mention">;
2564
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2565
+ type: z.ZodLiteral<"template_mention_date">;
2566
+ template_mention_date: z.ZodEnum<{
2567
+ today: "today";
2568
+ now: "now";
2569
+ }>;
2570
+ }, z.core.$strip>, z.ZodObject<{
2571
+ type: z.ZodLiteral<"template_mention_user">;
2572
+ template_mention_user: z.ZodLiteral<"me">;
2573
+ }, z.core.$strip>], "type">;
2574
+ }, z.core.$strip>, z.ZodObject<{
2575
+ type: z.ZodLiteral<"user">;
2576
+ user: z.ZodUnion<readonly [z.ZodObject<{
2577
+ object: z.ZodLiteral<"user">;
2578
+ id: z.ZodUUID;
2579
+ type: z.ZodLiteral<"person">;
2580
+ name: z.ZodOptional<z.ZodString>;
2581
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2582
+ person: z.ZodObject<{
2583
+ email: z.ZodEmail;
2584
+ email_verified: z.ZodOptional<z.ZodBoolean>;
2585
+ }, z.core.$strip>;
2586
+ }, z.core.$strip>, z.ZodObject<{
2587
+ object: z.ZodLiteral<"user">;
2588
+ id: z.ZodUUID;
2589
+ type: z.ZodLiteral<"bot">;
2590
+ name: z.ZodOptional<z.ZodString>;
2591
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2592
+ bot: z.ZodObject<{
2593
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
2594
+ type: z.ZodLiteral<"workspace">;
2595
+ workspace: z.ZodLiteral<true>;
2596
+ }, z.core.$strip>, z.ZodObject<{
2597
+ type: z.ZodLiteral<"user">;
2598
+ }, z.core.$strip>], "type">;
2599
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
+ workspace_id: z.ZodOptional<z.ZodString>;
2601
+ workspace_limits: z.ZodOptional<z.ZodObject<{
2602
+ max_file_upload_size_in_bytes: z.ZodInt;
2603
+ }, z.core.$strip>>;
2604
+ }, z.core.$strip>;
2605
+ }, z.core.$strip>, z.ZodObject<{
2606
+ object: z.ZodLiteral<"user">;
2607
+ id: z.ZodUUID;
2608
+ }, z.core.$strip>]>;
2609
+ }, z.core.$strip>], "type">;
2610
+ annotations: z.ZodObject<{
2611
+ bold: z.ZodBoolean;
2612
+ italic: z.ZodBoolean;
2613
+ strikethrough: z.ZodBoolean;
2614
+ underline: z.ZodBoolean;
2615
+ code: z.ZodBoolean;
2616
+ color: z.ZodEnum<{
2617
+ default: "default";
2618
+ blue: "blue";
2619
+ blue_background: "blue_background";
2620
+ brown: "brown";
2621
+ brown_background: "brown_background";
2622
+ gray: "gray";
2623
+ gray_background: "gray_background";
2624
+ green: "green";
2625
+ green_background: "green_background";
2626
+ orange: "orange";
2627
+ orange_background: "orange_background";
2628
+ pink: "pink";
2629
+ pink_background: "pink_background";
2630
+ purple: "purple";
2631
+ purple_background: "purple_background";
2632
+ red: "red";
2633
+ red_background: "red_background";
2634
+ yellow: "yellow";
2635
+ yellow_background: "yellow_background";
2636
+ }>;
2637
+ }, z.core.$strip>;
2638
+ plain_text: z.ZodString;
2639
+ href: z.ZodNullable<z.ZodURL>;
2640
+ }, z.core.$strip>, z.ZodObject<{
2641
+ type: z.ZodLiteral<"equation">;
2642
+ equation: z.ZodObject<{
2643
+ expression: z.ZodString;
2644
+ }, z.core.$strip>;
2645
+ annotations: z.ZodObject<{
2646
+ bold: z.ZodBoolean;
2647
+ italic: z.ZodBoolean;
2648
+ strikethrough: z.ZodBoolean;
2649
+ underline: z.ZodBoolean;
2650
+ code: z.ZodBoolean;
2651
+ color: z.ZodEnum<{
2652
+ default: "default";
2653
+ blue: "blue";
2654
+ blue_background: "blue_background";
2655
+ brown: "brown";
2656
+ brown_background: "brown_background";
2657
+ gray: "gray";
2658
+ gray_background: "gray_background";
2659
+ green: "green";
2660
+ green_background: "green_background";
2661
+ orange: "orange";
2662
+ orange_background: "orange_background";
2663
+ pink: "pink";
2664
+ pink_background: "pink_background";
2665
+ purple: "purple";
2666
+ purple_background: "purple_background";
2667
+ red: "red";
2668
+ red_background: "red_background";
2669
+ yellow: "yellow";
2670
+ yellow_background: "yellow_background";
2671
+ }>;
2672
+ }, z.core.$strip>;
2673
+ plain_text: z.ZodString;
2674
+ href: z.ZodNullable<z.ZodURL>;
2675
+ }, z.core.$strip>], "type">>;
2676
+ color: z.ZodEnum<{
2677
+ default: "default";
2678
+ blue: "blue";
2679
+ blue_background: "blue_background";
2680
+ brown: "brown";
2681
+ brown_background: "brown_background";
2682
+ gray: "gray";
2683
+ gray_background: "gray_background";
2684
+ green: "green";
2685
+ green_background: "green_background";
2686
+ orange: "orange";
2687
+ orange_background: "orange_background";
2688
+ pink: "pink";
2689
+ pink_background: "pink_background";
2690
+ purple: "purple";
2691
+ purple_background: "purple_background";
2692
+ red: "red";
2693
+ red_background: "red_background";
2694
+ yellow: "yellow";
2695
+ yellow_background: "yellow_background";
2696
+ }>;
2697
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
2698
+ type: z.ZodLiteral<"file">;
2699
+ file: z.ZodObject<{
2700
+ url: z.ZodURL;
2701
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2702
+ }, z.core.$strip>;
2703
+ }, z.core.$strip>, z.ZodObject<{
2704
+ type: z.ZodLiteral<"file_upload">;
2705
+ file_upload: z.ZodObject<{
2706
+ id: z.ZodUUID;
2707
+ }, z.core.$strip>;
2708
+ }, z.core.$strip>, z.ZodObject<{
2709
+ type: z.ZodLiteral<"external">;
2710
+ external: z.ZodObject<{
2711
+ url: z.ZodURL;
2712
+ }, z.core.$strip>;
2713
+ }, z.core.$strip>], "type">, z.ZodObject<{
2714
+ type: z.ZodLiteral<"emoji">;
2715
+ emoji: z.ZodString;
2716
+ }, z.core.$strip>, z.ZodObject<{
2717
+ type: z.ZodLiteral<"icon">;
2718
+ icon: z.ZodObject<{
2719
+ name: z.ZodString;
2720
+ color: z.ZodOptional<z.ZodEnum<{
2721
+ blue: "blue";
2722
+ brown: "brown";
2723
+ gray: "gray";
2724
+ green: "green";
2725
+ orange: "orange";
2726
+ pink: "pink";
2727
+ purple: "purple";
2728
+ red: "red";
2729
+ yellow: "yellow";
2730
+ lightgray: "lightgray";
2731
+ }>>;
2732
+ }, z.core.$strip>;
2733
+ }, z.core.$strip>, z.ZodObject<{
2734
+ type: z.ZodLiteral<"custom_emoji">;
2735
+ custom_emoji: z.ZodObject<{
2736
+ id: z.ZodUUID;
2737
+ name: z.ZodOptional<z.ZodString>;
2738
+ url: z.ZodOptional<z.ZodURL>;
2739
+ }, z.core.$strip>;
2740
+ }, z.core.$strip>]>>;
2741
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
2742
+ }, z.core.$strip>>;
2743
+ pdf: z.ZodOptional<z.ZodObject<{
2744
+ caption: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2745
+ type: z.ZodLiteral<"text">;
2746
+ text: z.ZodObject<{
2747
+ content: z.ZodString;
2748
+ link: z.ZodNullable<z.ZodObject<{
2749
+ url: z.ZodURL;
2750
+ }, z.core.$strip>>;
2751
+ }, z.core.$strip>;
2752
+ annotations: z.ZodObject<{
2753
+ bold: z.ZodBoolean;
2754
+ italic: z.ZodBoolean;
2755
+ strikethrough: z.ZodBoolean;
2756
+ underline: z.ZodBoolean;
2757
+ code: z.ZodBoolean;
2758
+ color: z.ZodEnum<{
2759
+ default: "default";
2760
+ blue: "blue";
2761
+ blue_background: "blue_background";
2762
+ brown: "brown";
2763
+ brown_background: "brown_background";
2764
+ gray: "gray";
2765
+ gray_background: "gray_background";
2766
+ green: "green";
2767
+ green_background: "green_background";
2768
+ orange: "orange";
2769
+ orange_background: "orange_background";
2770
+ pink: "pink";
2771
+ pink_background: "pink_background";
2772
+ purple: "purple";
2773
+ purple_background: "purple_background";
2774
+ red: "red";
2775
+ red_background: "red_background";
2776
+ yellow: "yellow";
2777
+ yellow_background: "yellow_background";
2778
+ }>;
2779
+ }, z.core.$strip>;
2780
+ plain_text: z.ZodString;
2781
+ href: z.ZodNullable<z.ZodURL>;
2782
+ }, z.core.$strip>, z.ZodObject<{
2783
+ type: z.ZodLiteral<"mention">;
2784
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2785
+ type: z.ZodLiteral<"database">;
2786
+ database: z.ZodObject<{
2787
+ id: z.ZodUUID;
2788
+ }, z.core.$strip>;
2789
+ }, z.core.$strip>, z.ZodObject<{
2790
+ type: z.ZodLiteral<"date">;
2791
+ date: z.ZodObject<{
2792
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2793
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
2794
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2795
+ }, z.core.$strip>;
2796
+ }, z.core.$strip>, z.ZodObject<{
2797
+ type: z.ZodLiteral<"link_preview">;
2798
+ link_preview: z.ZodObject<{
2799
+ url: z.ZodURL;
2800
+ }, z.core.$strip>;
2801
+ }, z.core.$strip>, z.ZodObject<{
2802
+ type: z.ZodLiteral<"page">;
2803
+ page: z.ZodObject<{
2804
+ id: z.ZodUUID;
2805
+ }, z.core.$strip>;
2806
+ }, z.core.$strip>, z.ZodObject<{
2807
+ type: z.ZodLiteral<"template_mention">;
2808
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
2809
+ type: z.ZodLiteral<"template_mention_date">;
2810
+ template_mention_date: z.ZodEnum<{
2811
+ today: "today";
2812
+ now: "now";
2813
+ }>;
2814
+ }, z.core.$strip>, z.ZodObject<{
2815
+ type: z.ZodLiteral<"template_mention_user">;
2816
+ template_mention_user: z.ZodLiteral<"me">;
2817
+ }, z.core.$strip>], "type">;
2818
+ }, z.core.$strip>, z.ZodObject<{
2819
+ type: z.ZodLiteral<"user">;
2820
+ user: z.ZodUnion<readonly [z.ZodObject<{
2821
+ object: z.ZodLiteral<"user">;
2822
+ id: z.ZodUUID;
2823
+ type: z.ZodLiteral<"person">;
2824
+ name: z.ZodOptional<z.ZodString>;
2825
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2826
+ person: z.ZodObject<{
2827
+ email: z.ZodEmail;
2828
+ email_verified: z.ZodOptional<z.ZodBoolean>;
2829
+ }, z.core.$strip>;
2830
+ }, z.core.$strip>, z.ZodObject<{
2831
+ object: z.ZodLiteral<"user">;
2832
+ id: z.ZodUUID;
2833
+ type: z.ZodLiteral<"bot">;
2834
+ name: z.ZodOptional<z.ZodString>;
2835
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
2836
+ bot: z.ZodObject<{
2837
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
2838
+ type: z.ZodLiteral<"workspace">;
2839
+ workspace: z.ZodLiteral<true>;
2840
+ }, z.core.$strip>, z.ZodObject<{
2841
+ type: z.ZodLiteral<"user">;
2842
+ }, z.core.$strip>], "type">;
2843
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2844
+ workspace_id: z.ZodOptional<z.ZodString>;
2845
+ workspace_limits: z.ZodOptional<z.ZodObject<{
2846
+ max_file_upload_size_in_bytes: z.ZodInt;
2847
+ }, z.core.$strip>>;
2848
+ }, z.core.$strip>;
2849
+ }, z.core.$strip>, z.ZodObject<{
2850
+ object: z.ZodLiteral<"user">;
2851
+ id: z.ZodUUID;
2852
+ }, z.core.$strip>]>;
2853
+ }, z.core.$strip>], "type">;
2854
+ annotations: z.ZodObject<{
2855
+ bold: z.ZodBoolean;
2856
+ italic: z.ZodBoolean;
2857
+ strikethrough: z.ZodBoolean;
2858
+ underline: z.ZodBoolean;
2859
+ code: z.ZodBoolean;
2860
+ color: z.ZodEnum<{
2861
+ default: "default";
2862
+ blue: "blue";
2863
+ blue_background: "blue_background";
2864
+ brown: "brown";
2865
+ brown_background: "brown_background";
2866
+ gray: "gray";
2867
+ gray_background: "gray_background";
2868
+ green: "green";
2869
+ green_background: "green_background";
2870
+ orange: "orange";
2871
+ orange_background: "orange_background";
2872
+ pink: "pink";
2873
+ pink_background: "pink_background";
2874
+ purple: "purple";
2875
+ purple_background: "purple_background";
2876
+ red: "red";
2877
+ red_background: "red_background";
2878
+ yellow: "yellow";
2879
+ yellow_background: "yellow_background";
2880
+ }>;
2881
+ }, z.core.$strip>;
2882
+ plain_text: z.ZodString;
2883
+ href: z.ZodNullable<z.ZodURL>;
2884
+ }, z.core.$strip>, z.ZodObject<{
2885
+ type: z.ZodLiteral<"equation">;
2886
+ equation: z.ZodObject<{
2887
+ expression: z.ZodString;
2888
+ }, z.core.$strip>;
2889
+ annotations: z.ZodObject<{
2890
+ bold: z.ZodBoolean;
2891
+ italic: z.ZodBoolean;
2892
+ strikethrough: z.ZodBoolean;
2893
+ underline: z.ZodBoolean;
2894
+ code: z.ZodBoolean;
2895
+ color: z.ZodEnum<{
2896
+ default: "default";
2897
+ blue: "blue";
2898
+ blue_background: "blue_background";
2899
+ brown: "brown";
2900
+ brown_background: "brown_background";
2901
+ gray: "gray";
2902
+ gray_background: "gray_background";
2903
+ green: "green";
2904
+ green_background: "green_background";
2905
+ orange: "orange";
2906
+ orange_background: "orange_background";
2907
+ pink: "pink";
2908
+ pink_background: "pink_background";
2909
+ purple: "purple";
2910
+ purple_background: "purple_background";
2911
+ red: "red";
2912
+ red_background: "red_background";
2913
+ yellow: "yellow";
2914
+ yellow_background: "yellow_background";
2915
+ }>;
2916
+ }, z.core.$strip>;
2917
+ plain_text: z.ZodString;
2918
+ href: z.ZodNullable<z.ZodURL>;
2919
+ }, z.core.$strip>], "type">>;
2920
+ type: z.ZodEnum<{
2921
+ file: "file";
2922
+ file_upload: "file_upload";
2923
+ external: "external";
2924
+ }>;
2925
+ file: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2926
+ type: z.ZodLiteral<"file">;
2927
+ file: z.ZodObject<{
2928
+ url: z.ZodURL;
2929
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2930
+ }, z.core.$strip>;
2931
+ }, z.core.$strip>, z.ZodObject<{
2932
+ type: z.ZodLiteral<"file_upload">;
2933
+ file_upload: z.ZodObject<{
2934
+ id: z.ZodUUID;
2935
+ }, z.core.$strip>;
2936
+ }, z.core.$strip>, z.ZodObject<{
2937
+ type: z.ZodLiteral<"external">;
2938
+ external: z.ZodObject<{
2939
+ url: z.ZodURL;
2940
+ }, z.core.$strip>;
2941
+ }, z.core.$strip>], "type">>;
2942
+ external: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2943
+ type: z.ZodLiteral<"file">;
2944
+ file: z.ZodObject<{
2945
+ url: z.ZodURL;
2946
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2947
+ }, z.core.$strip>;
2948
+ }, z.core.$strip>, z.ZodObject<{
2949
+ type: z.ZodLiteral<"file_upload">;
2950
+ file_upload: z.ZodObject<{
2951
+ id: z.ZodUUID;
2952
+ }, z.core.$strip>;
2953
+ }, z.core.$strip>, z.ZodObject<{
2954
+ type: z.ZodLiteral<"external">;
2955
+ external: z.ZodObject<{
2956
+ url: z.ZodURL;
2957
+ }, z.core.$strip>;
2958
+ }, z.core.$strip>], "type">>;
2959
+ file_upload: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2960
+ type: z.ZodLiteral<"file">;
2961
+ file: z.ZodObject<{
2962
+ url: z.ZodURL;
2963
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
2964
+ }, z.core.$strip>;
2965
+ }, z.core.$strip>, z.ZodObject<{
2966
+ type: z.ZodLiteral<"file_upload">;
2967
+ file_upload: z.ZodObject<{
2968
+ id: z.ZodUUID;
2969
+ }, z.core.$strip>;
2970
+ }, z.core.$strip>, z.ZodObject<{
2971
+ type: z.ZodLiteral<"external">;
2972
+ external: z.ZodObject<{
2973
+ url: z.ZodURL;
2974
+ }, z.core.$strip>;
2975
+ }, z.core.$strip>], "type">>;
2976
+ name: z.ZodOptional<z.ZodString>;
2977
+ }, z.core.$strip>>;
2978
+ quote: z.ZodOptional<z.ZodObject<{
2979
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2980
+ type: z.ZodLiteral<"text">;
2981
+ text: z.ZodObject<{
2982
+ content: z.ZodString;
2983
+ link: z.ZodNullable<z.ZodObject<{
2984
+ url: z.ZodURL;
2985
+ }, z.core.$strip>>;
2986
+ }, z.core.$strip>;
2987
+ annotations: z.ZodObject<{
2988
+ bold: z.ZodBoolean;
2989
+ italic: z.ZodBoolean;
2990
+ strikethrough: z.ZodBoolean;
2991
+ underline: z.ZodBoolean;
2992
+ code: z.ZodBoolean;
2993
+ color: z.ZodEnum<{
2994
+ default: "default";
2995
+ blue: "blue";
2996
+ blue_background: "blue_background";
2997
+ brown: "brown";
2998
+ brown_background: "brown_background";
2999
+ gray: "gray";
3000
+ gray_background: "gray_background";
3001
+ green: "green";
3002
+ green_background: "green_background";
3003
+ orange: "orange";
3004
+ orange_background: "orange_background";
3005
+ pink: "pink";
3006
+ pink_background: "pink_background";
3007
+ purple: "purple";
3008
+ purple_background: "purple_background";
3009
+ red: "red";
3010
+ red_background: "red_background";
3011
+ yellow: "yellow";
3012
+ yellow_background: "yellow_background";
3013
+ }>;
3014
+ }, z.core.$strip>;
3015
+ plain_text: z.ZodString;
3016
+ href: z.ZodNullable<z.ZodURL>;
3017
+ }, z.core.$strip>, z.ZodObject<{
3018
+ type: z.ZodLiteral<"mention">;
3019
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3020
+ type: z.ZodLiteral<"database">;
3021
+ database: z.ZodObject<{
3022
+ id: z.ZodUUID;
3023
+ }, z.core.$strip>;
3024
+ }, z.core.$strip>, z.ZodObject<{
3025
+ type: z.ZodLiteral<"date">;
3026
+ date: z.ZodObject<{
3027
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
3028
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
3029
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3030
+ }, z.core.$strip>;
3031
+ }, z.core.$strip>, z.ZodObject<{
3032
+ type: z.ZodLiteral<"link_preview">;
3033
+ link_preview: z.ZodObject<{
3034
+ url: z.ZodURL;
3035
+ }, z.core.$strip>;
3036
+ }, z.core.$strip>, z.ZodObject<{
3037
+ type: z.ZodLiteral<"page">;
3038
+ page: z.ZodObject<{
3039
+ id: z.ZodUUID;
3040
+ }, z.core.$strip>;
3041
+ }, z.core.$strip>, z.ZodObject<{
3042
+ type: z.ZodLiteral<"template_mention">;
3043
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3044
+ type: z.ZodLiteral<"template_mention_date">;
3045
+ template_mention_date: z.ZodEnum<{
3046
+ today: "today";
3047
+ now: "now";
3048
+ }>;
3049
+ }, z.core.$strip>, z.ZodObject<{
3050
+ type: z.ZodLiteral<"template_mention_user">;
3051
+ template_mention_user: z.ZodLiteral<"me">;
3052
+ }, z.core.$strip>], "type">;
3053
+ }, z.core.$strip>, z.ZodObject<{
3054
+ type: z.ZodLiteral<"user">;
3055
+ user: z.ZodUnion<readonly [z.ZodObject<{
3056
+ object: z.ZodLiteral<"user">;
3057
+ id: z.ZodUUID;
3058
+ type: z.ZodLiteral<"person">;
3059
+ name: z.ZodOptional<z.ZodString>;
3060
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3061
+ person: z.ZodObject<{
3062
+ email: z.ZodEmail;
3063
+ email_verified: z.ZodOptional<z.ZodBoolean>;
3064
+ }, z.core.$strip>;
3065
+ }, z.core.$strip>, z.ZodObject<{
3066
+ object: z.ZodLiteral<"user">;
3067
+ id: z.ZodUUID;
3068
+ type: z.ZodLiteral<"bot">;
3069
+ name: z.ZodOptional<z.ZodString>;
3070
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3071
+ bot: z.ZodObject<{
3072
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
3073
+ type: z.ZodLiteral<"workspace">;
3074
+ workspace: z.ZodLiteral<true>;
3075
+ }, z.core.$strip>, z.ZodObject<{
3076
+ type: z.ZodLiteral<"user">;
3077
+ }, z.core.$strip>], "type">;
3078
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3079
+ workspace_id: z.ZodOptional<z.ZodString>;
3080
+ workspace_limits: z.ZodOptional<z.ZodObject<{
3081
+ max_file_upload_size_in_bytes: z.ZodInt;
3082
+ }, z.core.$strip>>;
3083
+ }, z.core.$strip>;
3084
+ }, z.core.$strip>, z.ZodObject<{
3085
+ object: z.ZodLiteral<"user">;
3086
+ id: z.ZodUUID;
3087
+ }, z.core.$strip>]>;
3088
+ }, z.core.$strip>], "type">;
3089
+ annotations: z.ZodObject<{
3090
+ bold: z.ZodBoolean;
3091
+ italic: z.ZodBoolean;
3092
+ strikethrough: z.ZodBoolean;
3093
+ underline: z.ZodBoolean;
3094
+ code: z.ZodBoolean;
3095
+ color: z.ZodEnum<{
3096
+ default: "default";
3097
+ blue: "blue";
3098
+ blue_background: "blue_background";
3099
+ brown: "brown";
3100
+ brown_background: "brown_background";
3101
+ gray: "gray";
3102
+ gray_background: "gray_background";
3103
+ green: "green";
3104
+ green_background: "green_background";
3105
+ orange: "orange";
3106
+ orange_background: "orange_background";
3107
+ pink: "pink";
3108
+ pink_background: "pink_background";
3109
+ purple: "purple";
3110
+ purple_background: "purple_background";
3111
+ red: "red";
3112
+ red_background: "red_background";
3113
+ yellow: "yellow";
3114
+ yellow_background: "yellow_background";
3115
+ }>;
3116
+ }, z.core.$strip>;
3117
+ plain_text: z.ZodString;
3118
+ href: z.ZodNullable<z.ZodURL>;
3119
+ }, z.core.$strip>, z.ZodObject<{
3120
+ type: z.ZodLiteral<"equation">;
3121
+ equation: z.ZodObject<{
3122
+ expression: z.ZodString;
3123
+ }, z.core.$strip>;
3124
+ annotations: z.ZodObject<{
3125
+ bold: z.ZodBoolean;
3126
+ italic: z.ZodBoolean;
3127
+ strikethrough: z.ZodBoolean;
3128
+ underline: z.ZodBoolean;
3129
+ code: z.ZodBoolean;
3130
+ color: z.ZodEnum<{
3131
+ default: "default";
3132
+ blue: "blue";
3133
+ blue_background: "blue_background";
3134
+ brown: "brown";
3135
+ brown_background: "brown_background";
3136
+ gray: "gray";
3137
+ gray_background: "gray_background";
3138
+ green: "green";
3139
+ green_background: "green_background";
3140
+ orange: "orange";
3141
+ orange_background: "orange_background";
3142
+ pink: "pink";
3143
+ pink_background: "pink_background";
3144
+ purple: "purple";
3145
+ purple_background: "purple_background";
3146
+ red: "red";
3147
+ red_background: "red_background";
3148
+ yellow: "yellow";
3149
+ yellow_background: "yellow_background";
3150
+ }>;
3151
+ }, z.core.$strip>;
3152
+ plain_text: z.ZodString;
3153
+ href: z.ZodNullable<z.ZodURL>;
3154
+ }, z.core.$strip>], "type">>;
3155
+ color: z.ZodEnum<{
3156
+ default: "default";
3157
+ blue: "blue";
3158
+ blue_background: "blue_background";
3159
+ brown: "brown";
3160
+ brown_background: "brown_background";
3161
+ gray: "gray";
3162
+ gray_background: "gray_background";
3163
+ green: "green";
3164
+ green_background: "green_background";
3165
+ orange: "orange";
3166
+ orange_background: "orange_background";
3167
+ pink: "pink";
3168
+ pink_background: "pink_background";
3169
+ purple: "purple";
3170
+ purple_background: "purple_background";
3171
+ red: "red";
3172
+ red_background: "red_background";
3173
+ yellow: "yellow";
3174
+ yellow_background: "yellow_background";
3175
+ }>;
3176
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
3177
+ }, z.core.$strip>>;
3178
+ synced_block: z.ZodOptional<z.ZodObject<{
3179
+ synced_from: z.ZodNullable<z.ZodObject<{
3180
+ type: z.ZodLiteral<"block_id">;
3181
+ block_id: z.ZodUUID;
3182
+ }, z.core.$strip>>;
3183
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
3184
+ }, z.core.$strip>>;
3185
+ tab: z.ZodOptional<z.ZodObject<{
3186
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
3187
+ }, z.core.$strip>>;
3188
+ table: z.ZodOptional<z.ZodObject<{
3189
+ table_width: z.ZodInt;
3190
+ has_column_header: z.ZodBoolean;
3191
+ has_row_header: z.ZodBoolean;
3192
+ }, z.core.$strip>>;
3193
+ table_of_contents: z.ZodOptional<z.ZodObject<{
3194
+ color: z.ZodEnum<{
3195
+ default: "default";
3196
+ blue: "blue";
3197
+ blue_background: "blue_background";
3198
+ brown: "brown";
3199
+ brown_background: "brown_background";
3200
+ gray: "gray";
3201
+ gray_background: "gray_background";
3202
+ green: "green";
3203
+ green_background: "green_background";
3204
+ orange: "orange";
3205
+ orange_background: "orange_background";
3206
+ pink: "pink";
3207
+ pink_background: "pink_background";
3208
+ purple: "purple";
3209
+ purple_background: "purple_background";
3210
+ red: "red";
3211
+ red_background: "red_background";
3212
+ yellow: "yellow";
3213
+ yellow_background: "yellow_background";
3214
+ }>;
3215
+ }, z.core.$strip>>;
3216
+ table_row: z.ZodOptional<z.ZodObject<{
3217
+ cells: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3218
+ type: z.ZodLiteral<"text">;
3219
+ text: z.ZodObject<{
3220
+ content: z.ZodString;
3221
+ link: z.ZodNullable<z.ZodObject<{
3222
+ url: z.ZodURL;
3223
+ }, z.core.$strip>>;
3224
+ }, z.core.$strip>;
3225
+ annotations: z.ZodObject<{
3226
+ bold: z.ZodBoolean;
3227
+ italic: z.ZodBoolean;
3228
+ strikethrough: z.ZodBoolean;
3229
+ underline: z.ZodBoolean;
3230
+ code: z.ZodBoolean;
3231
+ color: z.ZodEnum<{
3232
+ default: "default";
3233
+ blue: "blue";
3234
+ blue_background: "blue_background";
3235
+ brown: "brown";
3236
+ brown_background: "brown_background";
3237
+ gray: "gray";
3238
+ gray_background: "gray_background";
3239
+ green: "green";
3240
+ green_background: "green_background";
3241
+ orange: "orange";
3242
+ orange_background: "orange_background";
3243
+ pink: "pink";
3244
+ pink_background: "pink_background";
3245
+ purple: "purple";
3246
+ purple_background: "purple_background";
3247
+ red: "red";
3248
+ red_background: "red_background";
3249
+ yellow: "yellow";
3250
+ yellow_background: "yellow_background";
3251
+ }>;
3252
+ }, z.core.$strip>;
3253
+ plain_text: z.ZodString;
3254
+ href: z.ZodNullable<z.ZodURL>;
3255
+ }, z.core.$strip>, z.ZodObject<{
3256
+ type: z.ZodLiteral<"mention">;
3257
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3258
+ type: z.ZodLiteral<"database">;
3259
+ database: z.ZodObject<{
3260
+ id: z.ZodUUID;
3261
+ }, z.core.$strip>;
3262
+ }, z.core.$strip>, z.ZodObject<{
3263
+ type: z.ZodLiteral<"date">;
3264
+ date: z.ZodObject<{
3265
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
3266
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
3267
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3268
+ }, z.core.$strip>;
3269
+ }, z.core.$strip>, z.ZodObject<{
3270
+ type: z.ZodLiteral<"link_preview">;
3271
+ link_preview: z.ZodObject<{
3272
+ url: z.ZodURL;
3273
+ }, z.core.$strip>;
3274
+ }, z.core.$strip>, z.ZodObject<{
3275
+ type: z.ZodLiteral<"page">;
3276
+ page: z.ZodObject<{
3277
+ id: z.ZodUUID;
3278
+ }, z.core.$strip>;
3279
+ }, z.core.$strip>, z.ZodObject<{
3280
+ type: z.ZodLiteral<"template_mention">;
3281
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3282
+ type: z.ZodLiteral<"template_mention_date">;
3283
+ template_mention_date: z.ZodEnum<{
3284
+ today: "today";
3285
+ now: "now";
3286
+ }>;
3287
+ }, z.core.$strip>, z.ZodObject<{
3288
+ type: z.ZodLiteral<"template_mention_user">;
3289
+ template_mention_user: z.ZodLiteral<"me">;
3290
+ }, z.core.$strip>], "type">;
3291
+ }, z.core.$strip>, z.ZodObject<{
3292
+ type: z.ZodLiteral<"user">;
3293
+ user: z.ZodUnion<readonly [z.ZodObject<{
3294
+ object: z.ZodLiteral<"user">;
3295
+ id: z.ZodUUID;
3296
+ type: z.ZodLiteral<"person">;
3297
+ name: z.ZodOptional<z.ZodString>;
3298
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3299
+ person: z.ZodObject<{
3300
+ email: z.ZodEmail;
3301
+ email_verified: z.ZodOptional<z.ZodBoolean>;
3302
+ }, z.core.$strip>;
3303
+ }, z.core.$strip>, z.ZodObject<{
3304
+ object: z.ZodLiteral<"user">;
3305
+ id: z.ZodUUID;
3306
+ type: z.ZodLiteral<"bot">;
3307
+ name: z.ZodOptional<z.ZodString>;
3308
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3309
+ bot: z.ZodObject<{
3310
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
3311
+ type: z.ZodLiteral<"workspace">;
3312
+ workspace: z.ZodLiteral<true>;
3313
+ }, z.core.$strip>, z.ZodObject<{
3314
+ type: z.ZodLiteral<"user">;
3315
+ }, z.core.$strip>], "type">;
3316
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3317
+ workspace_id: z.ZodOptional<z.ZodString>;
3318
+ workspace_limits: z.ZodOptional<z.ZodObject<{
3319
+ max_file_upload_size_in_bytes: z.ZodInt;
3320
+ }, z.core.$strip>>;
3321
+ }, z.core.$strip>;
3322
+ }, z.core.$strip>, z.ZodObject<{
3323
+ object: z.ZodLiteral<"user">;
3324
+ id: z.ZodUUID;
3325
+ }, z.core.$strip>]>;
3326
+ }, z.core.$strip>], "type">;
3327
+ annotations: z.ZodObject<{
3328
+ bold: z.ZodBoolean;
3329
+ italic: z.ZodBoolean;
3330
+ strikethrough: z.ZodBoolean;
3331
+ underline: z.ZodBoolean;
3332
+ code: z.ZodBoolean;
3333
+ color: z.ZodEnum<{
3334
+ default: "default";
3335
+ blue: "blue";
3336
+ blue_background: "blue_background";
3337
+ brown: "brown";
3338
+ brown_background: "brown_background";
3339
+ gray: "gray";
3340
+ gray_background: "gray_background";
3341
+ green: "green";
3342
+ green_background: "green_background";
3343
+ orange: "orange";
3344
+ orange_background: "orange_background";
3345
+ pink: "pink";
3346
+ pink_background: "pink_background";
3347
+ purple: "purple";
3348
+ purple_background: "purple_background";
3349
+ red: "red";
3350
+ red_background: "red_background";
3351
+ yellow: "yellow";
3352
+ yellow_background: "yellow_background";
3353
+ }>;
3354
+ }, z.core.$strip>;
3355
+ plain_text: z.ZodString;
3356
+ href: z.ZodNullable<z.ZodURL>;
3357
+ }, z.core.$strip>, z.ZodObject<{
3358
+ type: z.ZodLiteral<"equation">;
3359
+ equation: z.ZodObject<{
3360
+ expression: z.ZodString;
3361
+ }, z.core.$strip>;
3362
+ annotations: z.ZodObject<{
3363
+ bold: z.ZodBoolean;
3364
+ italic: z.ZodBoolean;
3365
+ strikethrough: z.ZodBoolean;
3366
+ underline: z.ZodBoolean;
3367
+ code: z.ZodBoolean;
3368
+ color: z.ZodEnum<{
3369
+ default: "default";
3370
+ blue: "blue";
3371
+ blue_background: "blue_background";
3372
+ brown: "brown";
3373
+ brown_background: "brown_background";
3374
+ gray: "gray";
3375
+ gray_background: "gray_background";
3376
+ green: "green";
3377
+ green_background: "green_background";
3378
+ orange: "orange";
3379
+ orange_background: "orange_background";
3380
+ pink: "pink";
3381
+ pink_background: "pink_background";
3382
+ purple: "purple";
3383
+ purple_background: "purple_background";
3384
+ red: "red";
3385
+ red_background: "red_background";
3386
+ yellow: "yellow";
3387
+ yellow_background: "yellow_background";
3388
+ }>;
3389
+ }, z.core.$strip>;
3390
+ plain_text: z.ZodString;
3391
+ href: z.ZodNullable<z.ZodURL>;
3392
+ }, z.core.$strip>], "type">>>;
3393
+ }, z.core.$strip>>;
3394
+ template: z.ZodOptional<z.ZodObject<{
3395
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3396
+ type: z.ZodLiteral<"text">;
3397
+ text: z.ZodObject<{
3398
+ content: z.ZodString;
3399
+ link: z.ZodNullable<z.ZodObject<{
3400
+ url: z.ZodURL;
3401
+ }, z.core.$strip>>;
3402
+ }, z.core.$strip>;
3403
+ annotations: z.ZodObject<{
3404
+ bold: z.ZodBoolean;
3405
+ italic: z.ZodBoolean;
3406
+ strikethrough: z.ZodBoolean;
3407
+ underline: z.ZodBoolean;
3408
+ code: z.ZodBoolean;
3409
+ color: z.ZodEnum<{
3410
+ default: "default";
3411
+ blue: "blue";
3412
+ blue_background: "blue_background";
3413
+ brown: "brown";
3414
+ brown_background: "brown_background";
3415
+ gray: "gray";
3416
+ gray_background: "gray_background";
3417
+ green: "green";
3418
+ green_background: "green_background";
3419
+ orange: "orange";
3420
+ orange_background: "orange_background";
3421
+ pink: "pink";
3422
+ pink_background: "pink_background";
3423
+ purple: "purple";
3424
+ purple_background: "purple_background";
3425
+ red: "red";
3426
+ red_background: "red_background";
3427
+ yellow: "yellow";
3428
+ yellow_background: "yellow_background";
3429
+ }>;
3430
+ }, z.core.$strip>;
3431
+ plain_text: z.ZodString;
3432
+ href: z.ZodNullable<z.ZodURL>;
3433
+ }, z.core.$strip>, z.ZodObject<{
3434
+ type: z.ZodLiteral<"mention">;
3435
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3436
+ type: z.ZodLiteral<"database">;
3437
+ database: z.ZodObject<{
3438
+ id: z.ZodUUID;
3439
+ }, z.core.$strip>;
3440
+ }, z.core.$strip>, z.ZodObject<{
3441
+ type: z.ZodLiteral<"date">;
3442
+ date: z.ZodObject<{
3443
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
3444
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
3445
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3446
+ }, z.core.$strip>;
3447
+ }, z.core.$strip>, z.ZodObject<{
3448
+ type: z.ZodLiteral<"link_preview">;
3449
+ link_preview: z.ZodObject<{
3450
+ url: z.ZodURL;
3451
+ }, z.core.$strip>;
3452
+ }, z.core.$strip>, z.ZodObject<{
3453
+ type: z.ZodLiteral<"page">;
3454
+ page: z.ZodObject<{
3455
+ id: z.ZodUUID;
3456
+ }, z.core.$strip>;
3457
+ }, z.core.$strip>, z.ZodObject<{
3458
+ type: z.ZodLiteral<"template_mention">;
3459
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3460
+ type: z.ZodLiteral<"template_mention_date">;
3461
+ template_mention_date: z.ZodEnum<{
3462
+ today: "today";
3463
+ now: "now";
3464
+ }>;
3465
+ }, z.core.$strip>, z.ZodObject<{
3466
+ type: z.ZodLiteral<"template_mention_user">;
3467
+ template_mention_user: z.ZodLiteral<"me">;
3468
+ }, z.core.$strip>], "type">;
3469
+ }, z.core.$strip>, z.ZodObject<{
3470
+ type: z.ZodLiteral<"user">;
3471
+ user: z.ZodUnion<readonly [z.ZodObject<{
3472
+ object: z.ZodLiteral<"user">;
3473
+ id: z.ZodUUID;
3474
+ type: z.ZodLiteral<"person">;
3475
+ name: z.ZodOptional<z.ZodString>;
3476
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3477
+ person: z.ZodObject<{
3478
+ email: z.ZodEmail;
3479
+ email_verified: z.ZodOptional<z.ZodBoolean>;
3480
+ }, z.core.$strip>;
3481
+ }, z.core.$strip>, z.ZodObject<{
3482
+ object: z.ZodLiteral<"user">;
3483
+ id: z.ZodUUID;
3484
+ type: z.ZodLiteral<"bot">;
3485
+ name: z.ZodOptional<z.ZodString>;
3486
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3487
+ bot: z.ZodObject<{
3488
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
3489
+ type: z.ZodLiteral<"workspace">;
3490
+ workspace: z.ZodLiteral<true>;
3491
+ }, z.core.$strip>, z.ZodObject<{
3492
+ type: z.ZodLiteral<"user">;
3493
+ }, z.core.$strip>], "type">;
3494
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
+ workspace_id: z.ZodOptional<z.ZodString>;
3496
+ workspace_limits: z.ZodOptional<z.ZodObject<{
3497
+ max_file_upload_size_in_bytes: z.ZodInt;
3498
+ }, z.core.$strip>>;
3499
+ }, z.core.$strip>;
3500
+ }, z.core.$strip>, z.ZodObject<{
3501
+ object: z.ZodLiteral<"user">;
3502
+ id: z.ZodUUID;
3503
+ }, z.core.$strip>]>;
3504
+ }, z.core.$strip>], "type">;
3505
+ annotations: z.ZodObject<{
3506
+ bold: z.ZodBoolean;
3507
+ italic: z.ZodBoolean;
3508
+ strikethrough: z.ZodBoolean;
3509
+ underline: z.ZodBoolean;
3510
+ code: z.ZodBoolean;
3511
+ color: z.ZodEnum<{
3512
+ default: "default";
3513
+ blue: "blue";
3514
+ blue_background: "blue_background";
3515
+ brown: "brown";
3516
+ brown_background: "brown_background";
3517
+ gray: "gray";
3518
+ gray_background: "gray_background";
3519
+ green: "green";
3520
+ green_background: "green_background";
3521
+ orange: "orange";
3522
+ orange_background: "orange_background";
3523
+ pink: "pink";
3524
+ pink_background: "pink_background";
3525
+ purple: "purple";
3526
+ purple_background: "purple_background";
3527
+ red: "red";
3528
+ red_background: "red_background";
3529
+ yellow: "yellow";
3530
+ yellow_background: "yellow_background";
3531
+ }>;
3532
+ }, z.core.$strip>;
3533
+ plain_text: z.ZodString;
3534
+ href: z.ZodNullable<z.ZodURL>;
3535
+ }, z.core.$strip>, z.ZodObject<{
3536
+ type: z.ZodLiteral<"equation">;
3537
+ equation: z.ZodObject<{
3538
+ expression: z.ZodString;
3539
+ }, z.core.$strip>;
3540
+ annotations: z.ZodObject<{
3541
+ bold: z.ZodBoolean;
3542
+ italic: z.ZodBoolean;
3543
+ strikethrough: z.ZodBoolean;
3544
+ underline: z.ZodBoolean;
3545
+ code: z.ZodBoolean;
3546
+ color: z.ZodEnum<{
3547
+ default: "default";
3548
+ blue: "blue";
3549
+ blue_background: "blue_background";
3550
+ brown: "brown";
3551
+ brown_background: "brown_background";
3552
+ gray: "gray";
3553
+ gray_background: "gray_background";
3554
+ green: "green";
3555
+ green_background: "green_background";
3556
+ orange: "orange";
3557
+ orange_background: "orange_background";
3558
+ pink: "pink";
3559
+ pink_background: "pink_background";
3560
+ purple: "purple";
3561
+ purple_background: "purple_background";
3562
+ red: "red";
3563
+ red_background: "red_background";
3564
+ yellow: "yellow";
3565
+ yellow_background: "yellow_background";
3566
+ }>;
3567
+ }, z.core.$strip>;
3568
+ plain_text: z.ZodString;
3569
+ href: z.ZodNullable<z.ZodURL>;
3570
+ }, z.core.$strip>], "type">>;
3571
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
3572
+ }, z.core.$strip>>;
3573
+ to_do: z.ZodOptional<z.ZodObject<{
3574
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3575
+ type: z.ZodLiteral<"text">;
3576
+ text: z.ZodObject<{
3577
+ content: z.ZodString;
3578
+ link: z.ZodNullable<z.ZodObject<{
3579
+ url: z.ZodURL;
3580
+ }, z.core.$strip>>;
3581
+ }, z.core.$strip>;
3582
+ annotations: z.ZodObject<{
3583
+ bold: z.ZodBoolean;
3584
+ italic: z.ZodBoolean;
3585
+ strikethrough: z.ZodBoolean;
3586
+ underline: z.ZodBoolean;
3587
+ code: z.ZodBoolean;
3588
+ color: z.ZodEnum<{
3589
+ default: "default";
3590
+ blue: "blue";
3591
+ blue_background: "blue_background";
3592
+ brown: "brown";
3593
+ brown_background: "brown_background";
3594
+ gray: "gray";
3595
+ gray_background: "gray_background";
3596
+ green: "green";
3597
+ green_background: "green_background";
3598
+ orange: "orange";
3599
+ orange_background: "orange_background";
3600
+ pink: "pink";
3601
+ pink_background: "pink_background";
3602
+ purple: "purple";
3603
+ purple_background: "purple_background";
3604
+ red: "red";
3605
+ red_background: "red_background";
3606
+ yellow: "yellow";
3607
+ yellow_background: "yellow_background";
3608
+ }>;
3609
+ }, z.core.$strip>;
3610
+ plain_text: z.ZodString;
3611
+ href: z.ZodNullable<z.ZodURL>;
3612
+ }, z.core.$strip>, z.ZodObject<{
3613
+ type: z.ZodLiteral<"mention">;
3614
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3615
+ type: z.ZodLiteral<"database">;
3616
+ database: z.ZodObject<{
3617
+ id: z.ZodUUID;
3618
+ }, z.core.$strip>;
3619
+ }, z.core.$strip>, z.ZodObject<{
3620
+ type: z.ZodLiteral<"date">;
3621
+ date: z.ZodObject<{
3622
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
3623
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
3624
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3625
+ }, z.core.$strip>;
3626
+ }, z.core.$strip>, z.ZodObject<{
3627
+ type: z.ZodLiteral<"link_preview">;
3628
+ link_preview: z.ZodObject<{
3629
+ url: z.ZodURL;
3630
+ }, z.core.$strip>;
3631
+ }, z.core.$strip>, z.ZodObject<{
3632
+ type: z.ZodLiteral<"page">;
3633
+ page: z.ZodObject<{
3634
+ id: z.ZodUUID;
3635
+ }, z.core.$strip>;
3636
+ }, z.core.$strip>, z.ZodObject<{
3637
+ type: z.ZodLiteral<"template_mention">;
3638
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3639
+ type: z.ZodLiteral<"template_mention_date">;
3640
+ template_mention_date: z.ZodEnum<{
3641
+ today: "today";
3642
+ now: "now";
3643
+ }>;
3644
+ }, z.core.$strip>, z.ZodObject<{
3645
+ type: z.ZodLiteral<"template_mention_user">;
3646
+ template_mention_user: z.ZodLiteral<"me">;
3647
+ }, z.core.$strip>], "type">;
3648
+ }, z.core.$strip>, z.ZodObject<{
3649
+ type: z.ZodLiteral<"user">;
3650
+ user: z.ZodUnion<readonly [z.ZodObject<{
3651
+ object: z.ZodLiteral<"user">;
3652
+ id: z.ZodUUID;
3653
+ type: z.ZodLiteral<"person">;
3654
+ name: z.ZodOptional<z.ZodString>;
3655
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3656
+ person: z.ZodObject<{
3657
+ email: z.ZodEmail;
3658
+ email_verified: z.ZodOptional<z.ZodBoolean>;
3659
+ }, z.core.$strip>;
3660
+ }, z.core.$strip>, z.ZodObject<{
3661
+ object: z.ZodLiteral<"user">;
3662
+ id: z.ZodUUID;
3663
+ type: z.ZodLiteral<"bot">;
3664
+ name: z.ZodOptional<z.ZodString>;
3665
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3666
+ bot: z.ZodObject<{
3667
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
3668
+ type: z.ZodLiteral<"workspace">;
3669
+ workspace: z.ZodLiteral<true>;
3670
+ }, z.core.$strip>, z.ZodObject<{
3671
+ type: z.ZodLiteral<"user">;
3672
+ }, z.core.$strip>], "type">;
3673
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3674
+ workspace_id: z.ZodOptional<z.ZodString>;
3675
+ workspace_limits: z.ZodOptional<z.ZodObject<{
3676
+ max_file_upload_size_in_bytes: z.ZodInt;
3677
+ }, z.core.$strip>>;
3678
+ }, z.core.$strip>;
3679
+ }, z.core.$strip>, z.ZodObject<{
3680
+ object: z.ZodLiteral<"user">;
3681
+ id: z.ZodUUID;
3682
+ }, z.core.$strip>]>;
3683
+ }, z.core.$strip>], "type">;
3684
+ annotations: z.ZodObject<{
3685
+ bold: z.ZodBoolean;
3686
+ italic: z.ZodBoolean;
3687
+ strikethrough: z.ZodBoolean;
3688
+ underline: z.ZodBoolean;
3689
+ code: z.ZodBoolean;
3690
+ color: z.ZodEnum<{
3691
+ default: "default";
3692
+ blue: "blue";
3693
+ blue_background: "blue_background";
3694
+ brown: "brown";
3695
+ brown_background: "brown_background";
3696
+ gray: "gray";
3697
+ gray_background: "gray_background";
3698
+ green: "green";
3699
+ green_background: "green_background";
3700
+ orange: "orange";
3701
+ orange_background: "orange_background";
3702
+ pink: "pink";
3703
+ pink_background: "pink_background";
3704
+ purple: "purple";
3705
+ purple_background: "purple_background";
3706
+ red: "red";
3707
+ red_background: "red_background";
3708
+ yellow: "yellow";
3709
+ yellow_background: "yellow_background";
3710
+ }>;
3711
+ }, z.core.$strip>;
3712
+ plain_text: z.ZodString;
3713
+ href: z.ZodNullable<z.ZodURL>;
3714
+ }, z.core.$strip>, z.ZodObject<{
3715
+ type: z.ZodLiteral<"equation">;
3716
+ equation: z.ZodObject<{
3717
+ expression: z.ZodString;
3718
+ }, z.core.$strip>;
3719
+ annotations: z.ZodObject<{
3720
+ bold: z.ZodBoolean;
3721
+ italic: z.ZodBoolean;
3722
+ strikethrough: z.ZodBoolean;
3723
+ underline: z.ZodBoolean;
3724
+ code: z.ZodBoolean;
3725
+ color: z.ZodEnum<{
3726
+ default: "default";
3727
+ blue: "blue";
3728
+ blue_background: "blue_background";
3729
+ brown: "brown";
3730
+ brown_background: "brown_background";
3731
+ gray: "gray";
3732
+ gray_background: "gray_background";
3733
+ green: "green";
3734
+ green_background: "green_background";
3735
+ orange: "orange";
3736
+ orange_background: "orange_background";
3737
+ pink: "pink";
3738
+ pink_background: "pink_background";
3739
+ purple: "purple";
3740
+ purple_background: "purple_background";
3741
+ red: "red";
3742
+ red_background: "red_background";
3743
+ yellow: "yellow";
3744
+ yellow_background: "yellow_background";
3745
+ }>;
3746
+ }, z.core.$strip>;
3747
+ plain_text: z.ZodString;
3748
+ href: z.ZodNullable<z.ZodURL>;
3749
+ }, z.core.$strip>], "type">>;
3750
+ checked: z.ZodOptional<z.ZodBoolean>;
3751
+ color: z.ZodEnum<{
3752
+ default: "default";
3753
+ blue: "blue";
3754
+ blue_background: "blue_background";
3755
+ brown: "brown";
3756
+ brown_background: "brown_background";
3757
+ gray: "gray";
3758
+ gray_background: "gray_background";
3759
+ green: "green";
3760
+ green_background: "green_background";
3761
+ orange: "orange";
3762
+ orange_background: "orange_background";
3763
+ pink: "pink";
3764
+ pink_background: "pink_background";
3765
+ purple: "purple";
3766
+ purple_background: "purple_background";
3767
+ red: "red";
3768
+ red_background: "red_background";
3769
+ yellow: "yellow";
3770
+ yellow_background: "yellow_background";
3771
+ }>;
3772
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
3773
+ }, z.core.$strip>>;
3774
+ toggle: z.ZodOptional<z.ZodObject<{
3775
+ rich_text: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3776
+ type: z.ZodLiteral<"text">;
3777
+ text: z.ZodObject<{
3778
+ content: z.ZodString;
3779
+ link: z.ZodNullable<z.ZodObject<{
3780
+ url: z.ZodURL;
3781
+ }, z.core.$strip>>;
3782
+ }, z.core.$strip>;
3783
+ annotations: z.ZodObject<{
3784
+ bold: z.ZodBoolean;
3785
+ italic: z.ZodBoolean;
3786
+ strikethrough: z.ZodBoolean;
3787
+ underline: z.ZodBoolean;
3788
+ code: z.ZodBoolean;
3789
+ color: z.ZodEnum<{
3790
+ default: "default";
3791
+ blue: "blue";
3792
+ blue_background: "blue_background";
3793
+ brown: "brown";
3794
+ brown_background: "brown_background";
3795
+ gray: "gray";
3796
+ gray_background: "gray_background";
3797
+ green: "green";
3798
+ green_background: "green_background";
3799
+ orange: "orange";
3800
+ orange_background: "orange_background";
3801
+ pink: "pink";
3802
+ pink_background: "pink_background";
3803
+ purple: "purple";
3804
+ purple_background: "purple_background";
3805
+ red: "red";
3806
+ red_background: "red_background";
3807
+ yellow: "yellow";
3808
+ yellow_background: "yellow_background";
3809
+ }>;
3810
+ }, z.core.$strip>;
3811
+ plain_text: z.ZodString;
3812
+ href: z.ZodNullable<z.ZodURL>;
3813
+ }, z.core.$strip>, z.ZodObject<{
3814
+ type: z.ZodLiteral<"mention">;
3815
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3816
+ type: z.ZodLiteral<"database">;
3817
+ database: z.ZodObject<{
3818
+ id: z.ZodUUID;
3819
+ }, z.core.$strip>;
3820
+ }, z.core.$strip>, z.ZodObject<{
3821
+ type: z.ZodLiteral<"date">;
3822
+ date: z.ZodObject<{
3823
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
3824
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
3825
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
+ }, z.core.$strip>;
3827
+ }, z.core.$strip>, z.ZodObject<{
3828
+ type: z.ZodLiteral<"link_preview">;
3829
+ link_preview: z.ZodObject<{
3830
+ url: z.ZodURL;
3831
+ }, z.core.$strip>;
3832
+ }, z.core.$strip>, z.ZodObject<{
3833
+ type: z.ZodLiteral<"page">;
3834
+ page: z.ZodObject<{
3835
+ id: z.ZodUUID;
3836
+ }, z.core.$strip>;
3837
+ }, z.core.$strip>, z.ZodObject<{
3838
+ type: z.ZodLiteral<"template_mention">;
3839
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
3840
+ type: z.ZodLiteral<"template_mention_date">;
3841
+ template_mention_date: z.ZodEnum<{
3842
+ today: "today";
3843
+ now: "now";
3844
+ }>;
3845
+ }, z.core.$strip>, z.ZodObject<{
3846
+ type: z.ZodLiteral<"template_mention_user">;
3847
+ template_mention_user: z.ZodLiteral<"me">;
3848
+ }, z.core.$strip>], "type">;
3849
+ }, z.core.$strip>, z.ZodObject<{
3850
+ type: z.ZodLiteral<"user">;
3851
+ user: z.ZodUnion<readonly [z.ZodObject<{
3852
+ object: z.ZodLiteral<"user">;
3853
+ id: z.ZodUUID;
3854
+ type: z.ZodLiteral<"person">;
3855
+ name: z.ZodOptional<z.ZodString>;
3856
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3857
+ person: z.ZodObject<{
3858
+ email: z.ZodEmail;
3859
+ email_verified: z.ZodOptional<z.ZodBoolean>;
3860
+ }, z.core.$strip>;
3861
+ }, z.core.$strip>, z.ZodObject<{
3862
+ object: z.ZodLiteral<"user">;
3863
+ id: z.ZodUUID;
3864
+ type: z.ZodLiteral<"bot">;
3865
+ name: z.ZodOptional<z.ZodString>;
3866
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
3867
+ bot: z.ZodObject<{
3868
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
3869
+ type: z.ZodLiteral<"workspace">;
3870
+ workspace: z.ZodLiteral<true>;
3871
+ }, z.core.$strip>, z.ZodObject<{
3872
+ type: z.ZodLiteral<"user">;
3873
+ }, z.core.$strip>], "type">;
3874
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3875
+ workspace_id: z.ZodOptional<z.ZodString>;
3876
+ workspace_limits: z.ZodOptional<z.ZodObject<{
3877
+ max_file_upload_size_in_bytes: z.ZodInt;
3878
+ }, z.core.$strip>>;
3879
+ }, z.core.$strip>;
3880
+ }, z.core.$strip>, z.ZodObject<{
3881
+ object: z.ZodLiteral<"user">;
3882
+ id: z.ZodUUID;
3883
+ }, z.core.$strip>]>;
3884
+ }, z.core.$strip>], "type">;
3885
+ annotations: z.ZodObject<{
3886
+ bold: z.ZodBoolean;
3887
+ italic: z.ZodBoolean;
3888
+ strikethrough: z.ZodBoolean;
3889
+ underline: z.ZodBoolean;
3890
+ code: z.ZodBoolean;
3891
+ color: z.ZodEnum<{
3892
+ default: "default";
3893
+ blue: "blue";
3894
+ blue_background: "blue_background";
3895
+ brown: "brown";
3896
+ brown_background: "brown_background";
3897
+ gray: "gray";
3898
+ gray_background: "gray_background";
3899
+ green: "green";
3900
+ green_background: "green_background";
3901
+ orange: "orange";
3902
+ orange_background: "orange_background";
3903
+ pink: "pink";
3904
+ pink_background: "pink_background";
3905
+ purple: "purple";
3906
+ purple_background: "purple_background";
3907
+ red: "red";
3908
+ red_background: "red_background";
3909
+ yellow: "yellow";
3910
+ yellow_background: "yellow_background";
3911
+ }>;
3912
+ }, z.core.$strip>;
3913
+ plain_text: z.ZodString;
3914
+ href: z.ZodNullable<z.ZodURL>;
3915
+ }, z.core.$strip>, z.ZodObject<{
3916
+ type: z.ZodLiteral<"equation">;
3917
+ equation: z.ZodObject<{
3918
+ expression: z.ZodString;
3919
+ }, z.core.$strip>;
3920
+ annotations: z.ZodObject<{
3921
+ bold: z.ZodBoolean;
3922
+ italic: z.ZodBoolean;
3923
+ strikethrough: z.ZodBoolean;
3924
+ underline: z.ZodBoolean;
3925
+ code: z.ZodBoolean;
3926
+ color: z.ZodEnum<{
3927
+ default: "default";
3928
+ blue: "blue";
3929
+ blue_background: "blue_background";
3930
+ brown: "brown";
3931
+ brown_background: "brown_background";
3932
+ gray: "gray";
3933
+ gray_background: "gray_background";
3934
+ green: "green";
3935
+ green_background: "green_background";
3936
+ orange: "orange";
3937
+ orange_background: "orange_background";
3938
+ pink: "pink";
3939
+ pink_background: "pink_background";
3940
+ purple: "purple";
3941
+ purple_background: "purple_background";
3942
+ red: "red";
3943
+ red_background: "red_background";
3944
+ yellow: "yellow";
3945
+ yellow_background: "yellow_background";
3946
+ }>;
3947
+ }, z.core.$strip>;
3948
+ plain_text: z.ZodString;
3949
+ href: z.ZodNullable<z.ZodURL>;
3950
+ }, z.core.$strip>], "type">>;
3951
+ color: z.ZodEnum<{
3952
+ default: "default";
3953
+ blue: "blue";
3954
+ blue_background: "blue_background";
3955
+ brown: "brown";
3956
+ brown_background: "brown_background";
3957
+ gray: "gray";
3958
+ gray_background: "gray_background";
3959
+ green: "green";
3960
+ green_background: "green_background";
3961
+ orange: "orange";
3962
+ orange_background: "orange_background";
3963
+ pink: "pink";
3964
+ pink_background: "pink_background";
3965
+ purple: "purple";
3966
+ purple_background: "purple_background";
3967
+ red: "red";
3968
+ red_background: "red_background";
3969
+ yellow: "yellow";
3970
+ yellow_background: "yellow_background";
3971
+ }>;
3972
+ children: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
3973
+ }, z.core.$strip>>;
3974
+ meeting_notes: z.ZodOptional<z.ZodObject<{
3975
+ title: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3976
+ type: z.ZodLiteral<"text">;
3977
+ text: z.ZodObject<{
3978
+ content: z.ZodString;
3979
+ link: z.ZodNullable<z.ZodObject<{
3980
+ url: z.ZodURL;
3981
+ }, z.core.$strip>>;
3982
+ }, z.core.$strip>;
3983
+ annotations: z.ZodObject<{
3984
+ bold: z.ZodBoolean;
3985
+ italic: z.ZodBoolean;
3986
+ strikethrough: z.ZodBoolean;
3987
+ underline: z.ZodBoolean;
3988
+ code: z.ZodBoolean;
3989
+ color: z.ZodEnum<{
3990
+ default: "default";
3991
+ blue: "blue";
3992
+ blue_background: "blue_background";
3993
+ brown: "brown";
3994
+ brown_background: "brown_background";
3995
+ gray: "gray";
3996
+ gray_background: "gray_background";
3997
+ green: "green";
3998
+ green_background: "green_background";
3999
+ orange: "orange";
4000
+ orange_background: "orange_background";
4001
+ pink: "pink";
4002
+ pink_background: "pink_background";
4003
+ purple: "purple";
4004
+ purple_background: "purple_background";
4005
+ red: "red";
4006
+ red_background: "red_background";
4007
+ yellow: "yellow";
4008
+ yellow_background: "yellow_background";
4009
+ }>;
4010
+ }, z.core.$strip>;
4011
+ plain_text: z.ZodString;
4012
+ href: z.ZodNullable<z.ZodURL>;
4013
+ }, z.core.$strip>, z.ZodObject<{
4014
+ type: z.ZodLiteral<"mention">;
4015
+ mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
4016
+ type: z.ZodLiteral<"database">;
4017
+ database: z.ZodObject<{
4018
+ id: z.ZodUUID;
4019
+ }, z.core.$strip>;
4020
+ }, z.core.$strip>, z.ZodObject<{
4021
+ type: z.ZodLiteral<"date">;
4022
+ date: z.ZodObject<{
4023
+ start: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
4024
+ end: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>>;
4025
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4026
+ }, z.core.$strip>;
4027
+ }, z.core.$strip>, z.ZodObject<{
4028
+ type: z.ZodLiteral<"link_preview">;
4029
+ link_preview: z.ZodObject<{
4030
+ url: z.ZodURL;
4031
+ }, z.core.$strip>;
4032
+ }, z.core.$strip>, z.ZodObject<{
4033
+ type: z.ZodLiteral<"page">;
4034
+ page: z.ZodObject<{
4035
+ id: z.ZodUUID;
4036
+ }, z.core.$strip>;
4037
+ }, z.core.$strip>, z.ZodObject<{
4038
+ type: z.ZodLiteral<"template_mention">;
4039
+ template_mention: z.ZodDiscriminatedUnion<[z.ZodObject<{
4040
+ type: z.ZodLiteral<"template_mention_date">;
4041
+ template_mention_date: z.ZodEnum<{
4042
+ today: "today";
4043
+ now: "now";
4044
+ }>;
4045
+ }, z.core.$strip>, z.ZodObject<{
4046
+ type: z.ZodLiteral<"template_mention_user">;
4047
+ template_mention_user: z.ZodLiteral<"me">;
4048
+ }, z.core.$strip>], "type">;
4049
+ }, z.core.$strip>, z.ZodObject<{
4050
+ type: z.ZodLiteral<"user">;
4051
+ user: z.ZodUnion<readonly [z.ZodObject<{
4052
+ object: z.ZodLiteral<"user">;
4053
+ id: z.ZodUUID;
4054
+ type: z.ZodLiteral<"person">;
4055
+ name: z.ZodOptional<z.ZodString>;
4056
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
4057
+ person: z.ZodObject<{
4058
+ email: z.ZodEmail;
4059
+ email_verified: z.ZodOptional<z.ZodBoolean>;
4060
+ }, z.core.$strip>;
4061
+ }, z.core.$strip>, z.ZodObject<{
4062
+ object: z.ZodLiteral<"user">;
4063
+ id: z.ZodUUID;
4064
+ type: z.ZodLiteral<"bot">;
4065
+ name: z.ZodOptional<z.ZodString>;
4066
+ avatar_url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodNull]>>;
4067
+ bot: z.ZodObject<{
4068
+ owner: z.ZodDiscriminatedUnion<[z.ZodObject<{
4069
+ type: z.ZodLiteral<"workspace">;
4070
+ workspace: z.ZodLiteral<true>;
4071
+ }, z.core.$strip>, z.ZodObject<{
4072
+ type: z.ZodLiteral<"user">;
4073
+ }, z.core.$strip>], "type">;
4074
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4075
+ workspace_id: z.ZodOptional<z.ZodString>;
4076
+ workspace_limits: z.ZodOptional<z.ZodObject<{
4077
+ max_file_upload_size_in_bytes: z.ZodInt;
4078
+ }, z.core.$strip>>;
4079
+ }, z.core.$strip>;
4080
+ }, z.core.$strip>, z.ZodObject<{
4081
+ object: z.ZodLiteral<"user">;
4082
+ id: z.ZodUUID;
4083
+ }, z.core.$strip>]>;
4084
+ }, z.core.$strip>], "type">;
4085
+ annotations: z.ZodObject<{
4086
+ bold: z.ZodBoolean;
4087
+ italic: z.ZodBoolean;
4088
+ strikethrough: z.ZodBoolean;
4089
+ underline: z.ZodBoolean;
4090
+ code: z.ZodBoolean;
4091
+ color: z.ZodEnum<{
4092
+ default: "default";
4093
+ blue: "blue";
4094
+ blue_background: "blue_background";
4095
+ brown: "brown";
4096
+ brown_background: "brown_background";
4097
+ gray: "gray";
4098
+ gray_background: "gray_background";
4099
+ green: "green";
4100
+ green_background: "green_background";
4101
+ orange: "orange";
4102
+ orange_background: "orange_background";
4103
+ pink: "pink";
4104
+ pink_background: "pink_background";
4105
+ purple: "purple";
4106
+ purple_background: "purple_background";
4107
+ red: "red";
4108
+ red_background: "red_background";
4109
+ yellow: "yellow";
4110
+ yellow_background: "yellow_background";
4111
+ }>;
4112
+ }, z.core.$strip>;
4113
+ plain_text: z.ZodString;
4114
+ href: z.ZodNullable<z.ZodURL>;
4115
+ }, z.core.$strip>, z.ZodObject<{
4116
+ type: z.ZodLiteral<"equation">;
4117
+ equation: z.ZodObject<{
4118
+ expression: z.ZodString;
4119
+ }, z.core.$strip>;
4120
+ annotations: z.ZodObject<{
4121
+ bold: z.ZodBoolean;
4122
+ italic: z.ZodBoolean;
4123
+ strikethrough: z.ZodBoolean;
4124
+ underline: z.ZodBoolean;
4125
+ code: z.ZodBoolean;
4126
+ color: z.ZodEnum<{
4127
+ default: "default";
4128
+ blue: "blue";
4129
+ blue_background: "blue_background";
4130
+ brown: "brown";
4131
+ brown_background: "brown_background";
4132
+ gray: "gray";
4133
+ gray_background: "gray_background";
4134
+ green: "green";
4135
+ green_background: "green_background";
4136
+ orange: "orange";
4137
+ orange_background: "orange_background";
4138
+ pink: "pink";
4139
+ pink_background: "pink_background";
4140
+ purple: "purple";
4141
+ purple_background: "purple_background";
4142
+ red: "red";
4143
+ red_background: "red_background";
4144
+ yellow: "yellow";
4145
+ yellow_background: "yellow_background";
4146
+ }>;
4147
+ }, z.core.$strip>;
4148
+ plain_text: z.ZodString;
4149
+ href: z.ZodNullable<z.ZodURL>;
4150
+ }, z.core.$strip>], "type">>;
4151
+ status: z.ZodString;
4152
+ children: z.ZodObject<{
4153
+ summary_block_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
4154
+ notes_block_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
4155
+ transcript_block_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
4156
+ }, z.core.$strip>;
4157
+ calendar_event: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
4158
+ recording: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
4159
+ }, z.core.$strip>>;
4160
+ unsupported: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
4161
+ video: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4162
+ type: z.ZodLiteral<"file">;
4163
+ file: z.ZodObject<{
4164
+ url: z.ZodURL;
4165
+ expiry_time: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodISODate]>;
4166
+ }, z.core.$strip>;
4167
+ }, z.core.$strip>, z.ZodObject<{
4168
+ type: z.ZodLiteral<"file_upload">;
4169
+ file_upload: z.ZodObject<{
4170
+ id: z.ZodUUID;
4171
+ }, z.core.$strip>;
4172
+ }, z.core.$strip>, z.ZodObject<{
4173
+ type: z.ZodLiteral<"external">;
4174
+ external: z.ZodObject<{
4175
+ url: z.ZodURL;
4176
+ }, z.core.$strip>;
4177
+ }, z.core.$strip>], "type">>;
4178
+ }, z.core.$strip>>;
4179
+ has_more: z.ZodBoolean;
4180
+ request_status: z.ZodOptional<z.ZodObject<{
4181
+ type: z.ZodLiteral<"incomplete">;
4182
+ incomplete_reason: z.ZodEnum<{
4183
+ query_result_limit_reached: "query_result_limit_reached";
4184
+ }>;
4185
+ }, z.core.$strip>>;
4186
+ }, z.core.$strip>;
4187
+ export type MeetingNotesQueryResponse = z.infer<typeof meetingNotesQueryResponseSchema>;