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

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