@visus-io/notion-sdk-ts 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/blocks.api.d.ts +1083 -224
- package/dist/api/blocks.api.js +4 -0
- package/dist/api/comments.api.d.ts +19 -1
- package/dist/api/comments.api.js +1 -1
- package/dist/api/dataSources.api.d.ts +36 -0
- package/dist/api/databases.api.d.ts +36 -0
- package/dist/api/databases.api.js +1 -0
- package/dist/api/fileUploads.api.d.ts +17 -7
- package/dist/api/fileUploads.api.js +30 -16
- package/dist/api/pages.api.d.ts +46 -0
- package/dist/client.d.ts +33 -2
- package/dist/client.js +88 -21
- package/dist/helpers/filter.helpers.d.ts +11 -4
- package/dist/helpers/filter.helpers.js +73 -30
- package/dist/helpers/pagination.helpers.d.ts +7 -2
- package/dist/helpers/pagination.helpers.js +26 -5
- package/dist/models/page.model.d.ts +20 -1
- package/dist/models/page.model.js +33 -2
- package/dist/schemas/block.schema.d.ts +1082 -224
- package/dist/schemas/block.schema.js +40 -25
- package/dist/schemas/comment.schema.d.ts +18 -0
- package/dist/schemas/dataSource.schema.d.ts +36 -0
- package/dist/schemas/database.schema.d.ts +36 -0
- package/dist/schemas/meetingNotesQuery.schema.d.ts +1082 -224
- package/dist/schemas/page.schema.d.ts +46 -0
- package/dist/schemas/page.schema.js +2 -1
- package/dist/schemas/pageMarkdown.schema.js +1 -1
- package/dist/schemas/pageProperties.schema.d.ts +99 -1
- package/dist/schemas/pageProperties.schema.js +16 -1
- package/dist/schemas/pagination.schema.d.ts +1 -1
- package/dist/schemas/propertyObjects.schema.js +2 -1
- package/dist/schemas/richText.schema.d.ts +36 -0
- package/dist/schemas/richText.schema.js +21 -0
- package/dist/schemas/shared.schema.d.ts +3 -7
- package/dist/schemas/shared.schema.js +5 -9
- package/dist/schemas/view.schema.d.ts +46 -0
- package/dist/validation.d.ts +8 -0
- package/dist/validation.js +16 -0
- package/package.json +1 -1
package/dist/api/blocks.api.d.ts
CHANGED
|
@@ -130,6 +130,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
130
130
|
heading_3: "heading_3";
|
|
131
131
|
heading_4: "heading_4";
|
|
132
132
|
image: "image";
|
|
133
|
+
link_to_page: "link_to_page";
|
|
133
134
|
numbered_list_item: "numbered_list_item";
|
|
134
135
|
paragraph: "paragraph";
|
|
135
136
|
pdf: "pdf";
|
|
@@ -216,23 +217,218 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
216
217
|
}, import("zod/v4/core").$strip>]>;
|
|
217
218
|
in_trash: import("zod").ZodBoolean;
|
|
218
219
|
has_children: import("zod").ZodBoolean;
|
|
219
|
-
audio: import("zod").ZodOptional<import("zod").
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
audio: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
221
|
+
caption: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
222
|
+
type: import("zod").ZodLiteral<"text">;
|
|
223
|
+
text: import("zod").ZodObject<{
|
|
224
|
+
content: import("zod").ZodString;
|
|
225
|
+
link: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
226
|
+
url: import("zod").ZodURL;
|
|
227
|
+
}, import("zod/v4/core").$strip>>;
|
|
228
|
+
}, import("zod/v4/core").$strip>;
|
|
229
|
+
annotations: import("zod").ZodObject<{
|
|
230
|
+
bold: import("zod").ZodBoolean;
|
|
231
|
+
italic: import("zod").ZodBoolean;
|
|
232
|
+
strikethrough: import("zod").ZodBoolean;
|
|
233
|
+
underline: import("zod").ZodBoolean;
|
|
234
|
+
code: import("zod").ZodBoolean;
|
|
235
|
+
color: import("zod").ZodEnum<{
|
|
236
|
+
default: "default";
|
|
237
|
+
blue: "blue";
|
|
238
|
+
blue_background: "blue_background";
|
|
239
|
+
brown: "brown";
|
|
240
|
+
brown_background: "brown_background";
|
|
241
|
+
gray: "gray";
|
|
242
|
+
gray_background: "gray_background";
|
|
243
|
+
green: "green";
|
|
244
|
+
green_background: "green_background";
|
|
245
|
+
orange: "orange";
|
|
246
|
+
orange_background: "orange_background";
|
|
247
|
+
pink: "pink";
|
|
248
|
+
pink_background: "pink_background";
|
|
249
|
+
purple: "purple";
|
|
250
|
+
purple_background: "purple_background";
|
|
251
|
+
red: "red";
|
|
252
|
+
red_background: "red_background";
|
|
253
|
+
yellow: "yellow";
|
|
254
|
+
yellow_background: "yellow_background";
|
|
255
|
+
}>;
|
|
256
|
+
}, import("zod/v4/core").$strip>;
|
|
257
|
+
plain_text: import("zod").ZodString;
|
|
258
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
259
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
260
|
+
type: import("zod").ZodLiteral<"mention">;
|
|
261
|
+
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
262
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
263
|
+
custom_emoji: import("zod").ZodObject<{
|
|
264
|
+
id: import("zod").ZodUUID;
|
|
265
|
+
name: import("zod").ZodString;
|
|
266
|
+
url: import("zod").ZodURL;
|
|
267
|
+
}, import("zod/v4/core").$strip>;
|
|
268
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
269
|
+
type: import("zod").ZodLiteral<"database">;
|
|
270
|
+
database: import("zod").ZodObject<{
|
|
271
|
+
id: import("zod").ZodUUID;
|
|
272
|
+
}, import("zod/v4/core").$strip>;
|
|
273
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
274
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
275
|
+
data_source: import("zod").ZodObject<{
|
|
276
|
+
id: import("zod").ZodUUID;
|
|
277
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
278
|
+
}, import("zod/v4/core").$strip>;
|
|
279
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
280
|
+
type: import("zod").ZodLiteral<"date">;
|
|
281
|
+
date: import("zod").ZodObject<{
|
|
282
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
283
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
284
|
+
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
285
|
+
}, import("zod/v4/core").$strip>;
|
|
286
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
287
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
288
|
+
link_mention: import("zod").ZodObject<{
|
|
289
|
+
href: import("zod").ZodString;
|
|
290
|
+
}, import("zod/v4/core").$loose>;
|
|
291
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
292
|
+
type: import("zod").ZodLiteral<"link_preview">;
|
|
293
|
+
link_preview: import("zod").ZodObject<{
|
|
294
|
+
url: import("zod").ZodURL;
|
|
295
|
+
}, import("zod/v4/core").$strip>;
|
|
296
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
297
|
+
type: import("zod").ZodLiteral<"page">;
|
|
298
|
+
page: import("zod").ZodObject<{
|
|
299
|
+
id: import("zod").ZodUUID;
|
|
300
|
+
}, import("zod/v4/core").$strip>;
|
|
301
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
302
|
+
type: import("zod").ZodLiteral<"template_mention">;
|
|
303
|
+
template_mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
304
|
+
type: import("zod").ZodLiteral<"template_mention_date">;
|
|
305
|
+
template_mention_date: import("zod").ZodEnum<{
|
|
306
|
+
today: "today";
|
|
307
|
+
now: "now";
|
|
308
|
+
}>;
|
|
309
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
310
|
+
type: import("zod").ZodLiteral<"template_mention_user">;
|
|
311
|
+
template_mention_user: import("zod").ZodLiteral<"me">;
|
|
312
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
313
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
314
|
+
type: import("zod").ZodLiteral<"user">;
|
|
315
|
+
user: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
316
|
+
object: import("zod").ZodLiteral<"user">;
|
|
317
|
+
id: import("zod").ZodUUID;
|
|
318
|
+
type: import("zod").ZodLiteral<"person">;
|
|
319
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
320
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
321
|
+
person: import("zod").ZodObject<{
|
|
322
|
+
email: import("zod").ZodEmail;
|
|
323
|
+
email_verified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
324
|
+
}, import("zod/v4/core").$strip>;
|
|
325
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
326
|
+
object: import("zod").ZodLiteral<"user">;
|
|
327
|
+
id: import("zod").ZodUUID;
|
|
328
|
+
type: import("zod").ZodLiteral<"bot">;
|
|
329
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
330
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
331
|
+
bot: import("zod").ZodObject<{
|
|
332
|
+
owner: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
333
|
+
type: import("zod").ZodLiteral<"workspace">;
|
|
334
|
+
workspace: import("zod").ZodLiteral<true>;
|
|
335
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
336
|
+
type: import("zod").ZodLiteral<"user">;
|
|
337
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
338
|
+
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
339
|
+
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
340
|
+
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
341
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
342
|
+
}, import("zod/v4/core").$strip>>;
|
|
343
|
+
}, import("zod/v4/core").$strip>;
|
|
344
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
345
|
+
object: import("zod").ZodLiteral<"user">;
|
|
346
|
+
id: import("zod").ZodUUID;
|
|
347
|
+
}, import("zod/v4/core").$strip>]>;
|
|
348
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
349
|
+
annotations: import("zod").ZodObject<{
|
|
350
|
+
bold: import("zod").ZodBoolean;
|
|
351
|
+
italic: import("zod").ZodBoolean;
|
|
352
|
+
strikethrough: import("zod").ZodBoolean;
|
|
353
|
+
underline: import("zod").ZodBoolean;
|
|
354
|
+
code: import("zod").ZodBoolean;
|
|
355
|
+
color: import("zod").ZodEnum<{
|
|
356
|
+
default: "default";
|
|
357
|
+
blue: "blue";
|
|
358
|
+
blue_background: "blue_background";
|
|
359
|
+
brown: "brown";
|
|
360
|
+
brown_background: "brown_background";
|
|
361
|
+
gray: "gray";
|
|
362
|
+
gray_background: "gray_background";
|
|
363
|
+
green: "green";
|
|
364
|
+
green_background: "green_background";
|
|
365
|
+
orange: "orange";
|
|
366
|
+
orange_background: "orange_background";
|
|
367
|
+
pink: "pink";
|
|
368
|
+
pink_background: "pink_background";
|
|
369
|
+
purple: "purple";
|
|
370
|
+
purple_background: "purple_background";
|
|
371
|
+
red: "red";
|
|
372
|
+
red_background: "red_background";
|
|
373
|
+
yellow: "yellow";
|
|
374
|
+
yellow_background: "yellow_background";
|
|
375
|
+
}>;
|
|
376
|
+
}, import("zod/v4/core").$strip>;
|
|
377
|
+
plain_text: import("zod").ZodString;
|
|
378
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
379
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
380
|
+
type: import("zod").ZodLiteral<"equation">;
|
|
381
|
+
equation: import("zod").ZodObject<{
|
|
382
|
+
expression: import("zod").ZodString;
|
|
383
|
+
}, import("zod/v4/core").$strip>;
|
|
384
|
+
annotations: import("zod").ZodObject<{
|
|
385
|
+
bold: import("zod").ZodBoolean;
|
|
386
|
+
italic: import("zod").ZodBoolean;
|
|
387
|
+
strikethrough: import("zod").ZodBoolean;
|
|
388
|
+
underline: import("zod").ZodBoolean;
|
|
389
|
+
code: import("zod").ZodBoolean;
|
|
390
|
+
color: import("zod").ZodEnum<{
|
|
391
|
+
default: "default";
|
|
392
|
+
blue: "blue";
|
|
393
|
+
blue_background: "blue_background";
|
|
394
|
+
brown: "brown";
|
|
395
|
+
brown_background: "brown_background";
|
|
396
|
+
gray: "gray";
|
|
397
|
+
gray_background: "gray_background";
|
|
398
|
+
green: "green";
|
|
399
|
+
green_background: "green_background";
|
|
400
|
+
orange: "orange";
|
|
401
|
+
orange_background: "orange_background";
|
|
402
|
+
pink: "pink";
|
|
403
|
+
pink_background: "pink_background";
|
|
404
|
+
purple: "purple";
|
|
405
|
+
purple_background: "purple_background";
|
|
406
|
+
red: "red";
|
|
407
|
+
red_background: "red_background";
|
|
408
|
+
yellow: "yellow";
|
|
409
|
+
yellow_background: "yellow_background";
|
|
410
|
+
}>;
|
|
411
|
+
}, import("zod/v4/core").$strip>;
|
|
412
|
+
plain_text: import("zod").ZodString;
|
|
413
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
414
|
+
}, import("zod/v4/core").$strip>], "type">>>;
|
|
415
|
+
type: import("zod").ZodEnum<{
|
|
416
|
+
file: "file";
|
|
417
|
+
file_upload: "file_upload";
|
|
418
|
+
external: "external";
|
|
419
|
+
}>;
|
|
420
|
+
file: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
222
421
|
url: import("zod").ZodURL;
|
|
223
422
|
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
224
|
-
}, import("zod/v4/core").$strip
|
|
225
|
-
|
|
226
|
-
type: import("zod").ZodLiteral<"file_upload">;
|
|
227
|
-
file_upload: import("zod").ZodObject<{
|
|
228
|
-
id: import("zod").ZodUUID;
|
|
229
|
-
}, import("zod/v4/core").$strip>;
|
|
230
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
231
|
-
type: import("zod").ZodLiteral<"external">;
|
|
232
|
-
external: import("zod").ZodObject<{
|
|
423
|
+
}, import("zod/v4/core").$strip>>;
|
|
424
|
+
external: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
233
425
|
url: import("zod").ZodURL;
|
|
234
|
-
}, import("zod/v4/core").$strip
|
|
235
|
-
|
|
426
|
+
}, import("zod/v4/core").$strip>>;
|
|
427
|
+
file_upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
428
|
+
id: import("zod").ZodUUID;
|
|
429
|
+
}, import("zod/v4/core").$strip>>;
|
|
430
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
431
|
+
}, import("zod/v4/core").$strip>>;
|
|
236
432
|
bookmark: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
237
433
|
caption: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
238
434
|
type: import("zod").ZodLiteral<"text">;
|
|
@@ -275,10 +471,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
275
471
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
276
472
|
type: import("zod").ZodLiteral<"mention">;
|
|
277
473
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
474
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
475
|
+
custom_emoji: import("zod").ZodObject<{
|
|
476
|
+
id: import("zod").ZodUUID;
|
|
477
|
+
name: import("zod").ZodString;
|
|
478
|
+
url: import("zod").ZodURL;
|
|
479
|
+
}, import("zod/v4/core").$strip>;
|
|
480
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
278
481
|
type: import("zod").ZodLiteral<"database">;
|
|
279
482
|
database: import("zod").ZodObject<{
|
|
280
483
|
id: import("zod").ZodUUID;
|
|
281
484
|
}, import("zod/v4/core").$strip>;
|
|
485
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
486
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
487
|
+
data_source: import("zod").ZodObject<{
|
|
488
|
+
id: import("zod").ZodUUID;
|
|
489
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
490
|
+
}, import("zod/v4/core").$strip>;
|
|
282
491
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
283
492
|
type: import("zod").ZodLiteral<"date">;
|
|
284
493
|
date: import("zod").ZodObject<{
|
|
@@ -286,6 +495,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
286
495
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
287
496
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
288
497
|
}, import("zod/v4/core").$strip>;
|
|
498
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
499
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
500
|
+
link_mention: import("zod").ZodObject<{
|
|
501
|
+
href: import("zod").ZodString;
|
|
502
|
+
}, import("zod/v4/core").$loose>;
|
|
289
503
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
290
504
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
291
505
|
link_preview: import("zod").ZodObject<{
|
|
@@ -455,10 +669,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
455
669
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
456
670
|
type: import("zod").ZodLiteral<"mention">;
|
|
457
671
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
672
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
673
|
+
custom_emoji: import("zod").ZodObject<{
|
|
674
|
+
id: import("zod").ZodUUID;
|
|
675
|
+
name: import("zod").ZodString;
|
|
676
|
+
url: import("zod").ZodURL;
|
|
677
|
+
}, import("zod/v4/core").$strip>;
|
|
678
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
458
679
|
type: import("zod").ZodLiteral<"database">;
|
|
459
680
|
database: import("zod").ZodObject<{
|
|
460
681
|
id: import("zod").ZodUUID;
|
|
461
682
|
}, import("zod/v4/core").$strip>;
|
|
683
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
684
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
685
|
+
data_source: import("zod").ZodObject<{
|
|
686
|
+
id: import("zod").ZodUUID;
|
|
687
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
688
|
+
}, import("zod/v4/core").$strip>;
|
|
462
689
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
463
690
|
type: import("zod").ZodLiteral<"date">;
|
|
464
691
|
date: import("zod").ZodObject<{
|
|
@@ -466,6 +693,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
466
693
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
467
694
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
468
695
|
}, import("zod/v4/core").$strip>;
|
|
696
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
697
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
698
|
+
link_mention: import("zod").ZodObject<{
|
|
699
|
+
href: import("zod").ZodString;
|
|
700
|
+
}, import("zod/v4/core").$loose>;
|
|
469
701
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
470
702
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
471
703
|
link_preview: import("zod").ZodObject<{
|
|
@@ -611,7 +843,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
611
843
|
yellow: "yellow";
|
|
612
844
|
yellow_background: "yellow_background";
|
|
613
845
|
}>;
|
|
614
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
846
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
615
847
|
}, import("zod/v4/core").$strip>>;
|
|
616
848
|
callout: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
617
849
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -655,10 +887,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
655
887
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
656
888
|
type: import("zod").ZodLiteral<"mention">;
|
|
657
889
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
890
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
891
|
+
custom_emoji: import("zod").ZodObject<{
|
|
892
|
+
id: import("zod").ZodUUID;
|
|
893
|
+
name: import("zod").ZodString;
|
|
894
|
+
url: import("zod").ZodURL;
|
|
895
|
+
}, import("zod/v4/core").$strip>;
|
|
896
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
658
897
|
type: import("zod").ZodLiteral<"database">;
|
|
659
898
|
database: import("zod").ZodObject<{
|
|
660
899
|
id: import("zod").ZodUUID;
|
|
661
900
|
}, import("zod/v4/core").$strip>;
|
|
901
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
902
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
903
|
+
data_source: import("zod").ZodObject<{
|
|
904
|
+
id: import("zod").ZodUUID;
|
|
905
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
906
|
+
}, import("zod/v4/core").$strip>;
|
|
662
907
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
663
908
|
type: import("zod").ZodLiteral<"date">;
|
|
664
909
|
date: import("zod").ZodObject<{
|
|
@@ -666,6 +911,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
666
911
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
667
912
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
668
913
|
}, import("zod/v4/core").$strip>;
|
|
914
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
915
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
916
|
+
link_mention: import("zod").ZodObject<{
|
|
917
|
+
href: import("zod").ZodString;
|
|
918
|
+
}, import("zod/v4/core").$loose>;
|
|
669
919
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
670
920
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
671
921
|
link_preview: import("zod").ZodObject<{
|
|
@@ -855,7 +1105,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
855
1105
|
yellow: "yellow";
|
|
856
1106
|
yellow_background: "yellow_background";
|
|
857
1107
|
}>;
|
|
858
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
1108
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
859
1109
|
}, import("zod/v4/core").$strip>>;
|
|
860
1110
|
child_database: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
861
1111
|
title: import("zod").ZodString;
|
|
@@ -905,10 +1155,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
905
1155
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
906
1156
|
type: import("zod").ZodLiteral<"mention">;
|
|
907
1157
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1158
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
1159
|
+
custom_emoji: import("zod").ZodObject<{
|
|
1160
|
+
id: import("zod").ZodUUID;
|
|
1161
|
+
name: import("zod").ZodString;
|
|
1162
|
+
url: import("zod").ZodURL;
|
|
1163
|
+
}, import("zod/v4/core").$strip>;
|
|
1164
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
908
1165
|
type: import("zod").ZodLiteral<"database">;
|
|
909
1166
|
database: import("zod").ZodObject<{
|
|
910
1167
|
id: import("zod").ZodUUID;
|
|
911
1168
|
}, import("zod/v4/core").$strip>;
|
|
1169
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1170
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
1171
|
+
data_source: import("zod").ZodObject<{
|
|
1172
|
+
id: import("zod").ZodUUID;
|
|
1173
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1174
|
+
}, import("zod/v4/core").$strip>;
|
|
912
1175
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
913
1176
|
type: import("zod").ZodLiteral<"date">;
|
|
914
1177
|
date: import("zod").ZodObject<{
|
|
@@ -916,6 +1179,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
916
1179
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
917
1180
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
918
1181
|
}, import("zod/v4/core").$strip>;
|
|
1182
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1183
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
1184
|
+
link_mention: import("zod").ZodObject<{
|
|
1185
|
+
href: import("zod").ZodString;
|
|
1186
|
+
}, import("zod/v4/core").$loose>;
|
|
919
1187
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
920
1188
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
921
1189
|
link_preview: import("zod").ZodObject<{
|
|
@@ -1081,10 +1349,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1081
1349
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1082
1350
|
type: import("zod").ZodLiteral<"mention">;
|
|
1083
1351
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1352
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
1353
|
+
custom_emoji: import("zod").ZodObject<{
|
|
1354
|
+
id: import("zod").ZodUUID;
|
|
1355
|
+
name: import("zod").ZodString;
|
|
1356
|
+
url: import("zod").ZodURL;
|
|
1357
|
+
}, import("zod/v4/core").$strip>;
|
|
1358
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1084
1359
|
type: import("zod").ZodLiteral<"database">;
|
|
1085
1360
|
database: import("zod").ZodObject<{
|
|
1086
1361
|
id: import("zod").ZodUUID;
|
|
1087
1362
|
}, import("zod/v4/core").$strip>;
|
|
1363
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1364
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
1365
|
+
data_source: import("zod").ZodObject<{
|
|
1366
|
+
id: import("zod").ZodUUID;
|
|
1367
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1368
|
+
}, import("zod/v4/core").$strip>;
|
|
1088
1369
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1089
1370
|
type: import("zod").ZodLiteral<"date">;
|
|
1090
1371
|
date: import("zod").ZodObject<{
|
|
@@ -1092,6 +1373,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1092
1373
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1093
1374
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1094
1375
|
}, import("zod/v4/core").$strip>;
|
|
1376
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1377
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
1378
|
+
link_mention: import("zod").ZodObject<{
|
|
1379
|
+
href: import("zod").ZodString;
|
|
1380
|
+
}, import("zod/v4/core").$loose>;
|
|
1095
1381
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1096
1382
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
1097
1383
|
link_preview: import("zod").ZodObject<{
|
|
@@ -1292,11 +1578,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1292
1578
|
}>;
|
|
1293
1579
|
}, import("zod/v4/core").$strip>>;
|
|
1294
1580
|
column_list: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1295
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
1581
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1296
1582
|
}, import("zod/v4/core").$strip>>;
|
|
1297
1583
|
column: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1298
1584
|
width_ratio: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1299
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
1585
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1300
1586
|
}, import("zod/v4/core").$strip>>;
|
|
1301
1587
|
divider: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
|
|
1302
1588
|
embed: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1306,7 +1592,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1306
1592
|
expression: import("zod").ZodString;
|
|
1307
1593
|
}, import("zod/v4/core").$strip>>;
|
|
1308
1594
|
file: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1309
|
-
caption: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1595
|
+
caption: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1310
1596
|
type: import("zod").ZodLiteral<"text">;
|
|
1311
1597
|
text: import("zod").ZodObject<{
|
|
1312
1598
|
content: import("zod").ZodString;
|
|
@@ -1347,10 +1633,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1347
1633
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1348
1634
|
type: import("zod").ZodLiteral<"mention">;
|
|
1349
1635
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1636
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
1637
|
+
custom_emoji: import("zod").ZodObject<{
|
|
1638
|
+
id: import("zod").ZodUUID;
|
|
1639
|
+
name: import("zod").ZodString;
|
|
1640
|
+
url: import("zod").ZodURL;
|
|
1641
|
+
}, import("zod/v4/core").$strip>;
|
|
1642
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1350
1643
|
type: import("zod").ZodLiteral<"database">;
|
|
1351
1644
|
database: import("zod").ZodObject<{
|
|
1352
1645
|
id: import("zod").ZodUUID;
|
|
1353
1646
|
}, import("zod/v4/core").$strip>;
|
|
1647
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1648
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
1649
|
+
data_source: import("zod").ZodObject<{
|
|
1650
|
+
id: import("zod").ZodUUID;
|
|
1651
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1652
|
+
}, import("zod/v4/core").$strip>;
|
|
1354
1653
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1355
1654
|
type: import("zod").ZodLiteral<"date">;
|
|
1356
1655
|
date: import("zod").ZodObject<{
|
|
@@ -1358,6 +1657,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1358
1657
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1359
1658
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1360
1659
|
}, import("zod/v4/core").$strip>;
|
|
1660
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1661
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
1662
|
+
link_mention: import("zod").ZodObject<{
|
|
1663
|
+
href: import("zod").ZodString;
|
|
1664
|
+
}, import("zod/v4/core").$loose>;
|
|
1361
1665
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1362
1666
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
1363
1667
|
link_preview: import("zod").ZodObject<{
|
|
@@ -1481,63 +1785,22 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1481
1785
|
}, import("zod/v4/core").$strip>;
|
|
1482
1786
|
plain_text: import("zod").ZodString;
|
|
1483
1787
|
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
1484
|
-
}, import("zod/v4/core").$strip>], "type"
|
|
1788
|
+
}, import("zod/v4/core").$strip>], "type">>>;
|
|
1485
1789
|
type: import("zod").ZodEnum<{
|
|
1486
1790
|
file: "file";
|
|
1487
1791
|
file_upload: "file_upload";
|
|
1488
1792
|
external: "external";
|
|
1489
1793
|
}>;
|
|
1490
|
-
file: import("zod").ZodOptional<import("zod").
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
}, import("zod/v4/core").$strip
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
}, import("zod/v4/core").$strip>;
|
|
1501
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1502
|
-
type: import("zod").ZodLiteral<"external">;
|
|
1503
|
-
external: import("zod").ZodObject<{
|
|
1504
|
-
url: import("zod").ZodURL;
|
|
1505
|
-
}, import("zod/v4/core").$strip>;
|
|
1506
|
-
}, import("zod/v4/core").$strip>], "type">>;
|
|
1507
|
-
external: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1508
|
-
type: import("zod").ZodLiteral<"file">;
|
|
1509
|
-
file: import("zod").ZodObject<{
|
|
1510
|
-
url: import("zod").ZodURL;
|
|
1511
|
-
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1512
|
-
}, import("zod/v4/core").$strip>;
|
|
1513
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1514
|
-
type: import("zod").ZodLiteral<"file_upload">;
|
|
1515
|
-
file_upload: import("zod").ZodObject<{
|
|
1516
|
-
id: import("zod").ZodUUID;
|
|
1517
|
-
}, import("zod/v4/core").$strip>;
|
|
1518
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1519
|
-
type: import("zod").ZodLiteral<"external">;
|
|
1520
|
-
external: import("zod").ZodObject<{
|
|
1521
|
-
url: import("zod").ZodURL;
|
|
1522
|
-
}, import("zod/v4/core").$strip>;
|
|
1523
|
-
}, import("zod/v4/core").$strip>], "type">>;
|
|
1524
|
-
file_upload: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1525
|
-
type: import("zod").ZodLiteral<"file">;
|
|
1526
|
-
file: import("zod").ZodObject<{
|
|
1527
|
-
url: import("zod").ZodURL;
|
|
1528
|
-
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1529
|
-
}, import("zod/v4/core").$strip>;
|
|
1530
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1531
|
-
type: import("zod").ZodLiteral<"file_upload">;
|
|
1532
|
-
file_upload: import("zod").ZodObject<{
|
|
1533
|
-
id: import("zod").ZodUUID;
|
|
1534
|
-
}, import("zod/v4/core").$strip>;
|
|
1535
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1536
|
-
type: import("zod").ZodLiteral<"external">;
|
|
1537
|
-
external: import("zod").ZodObject<{
|
|
1538
|
-
url: import("zod").ZodURL;
|
|
1539
|
-
}, import("zod/v4/core").$strip>;
|
|
1540
|
-
}, import("zod/v4/core").$strip>], "type">>;
|
|
1794
|
+
file: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1795
|
+
url: import("zod").ZodURL;
|
|
1796
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1797
|
+
}, import("zod/v4/core").$strip>>;
|
|
1798
|
+
external: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1799
|
+
url: import("zod").ZodURL;
|
|
1800
|
+
}, import("zod/v4/core").$strip>>;
|
|
1801
|
+
file_upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1802
|
+
id: import("zod").ZodUUID;
|
|
1803
|
+
}, import("zod/v4/core").$strip>>;
|
|
1541
1804
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1542
1805
|
}, import("zod/v4/core").$strip>>;
|
|
1543
1806
|
heading_1: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1582,10 +1845,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1582
1845
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1583
1846
|
type: import("zod").ZodLiteral<"mention">;
|
|
1584
1847
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1848
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
1849
|
+
custom_emoji: import("zod").ZodObject<{
|
|
1850
|
+
id: import("zod").ZodUUID;
|
|
1851
|
+
name: import("zod").ZodString;
|
|
1852
|
+
url: import("zod").ZodURL;
|
|
1853
|
+
}, import("zod/v4/core").$strip>;
|
|
1854
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1585
1855
|
type: import("zod").ZodLiteral<"database">;
|
|
1586
1856
|
database: import("zod").ZodObject<{
|
|
1587
1857
|
id: import("zod").ZodUUID;
|
|
1588
1858
|
}, import("zod/v4/core").$strip>;
|
|
1859
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1860
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
1861
|
+
data_source: import("zod").ZodObject<{
|
|
1862
|
+
id: import("zod").ZodUUID;
|
|
1863
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
1864
|
+
}, import("zod/v4/core").$strip>;
|
|
1589
1865
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1590
1866
|
type: import("zod").ZodLiteral<"date">;
|
|
1591
1867
|
date: import("zod").ZodObject<{
|
|
@@ -1593,6 +1869,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1593
1869
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1594
1870
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1595
1871
|
}, import("zod/v4/core").$strip>;
|
|
1872
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1873
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
1874
|
+
link_mention: import("zod").ZodObject<{
|
|
1875
|
+
href: import("zod").ZodString;
|
|
1876
|
+
}, import("zod/v4/core").$loose>;
|
|
1596
1877
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1597
1878
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
1598
1879
|
link_preview: import("zod").ZodObject<{
|
|
@@ -1739,7 +2020,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1739
2020
|
yellow_background: "yellow_background";
|
|
1740
2021
|
}>;
|
|
1741
2022
|
is_toggleable: import("zod").ZodBoolean;
|
|
1742
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2023
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1743
2024
|
}, import("zod/v4/core").$strip>>;
|
|
1744
2025
|
heading_2: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1745
2026
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -1783,10 +2064,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1783
2064
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1784
2065
|
type: import("zod").ZodLiteral<"mention">;
|
|
1785
2066
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2067
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
2068
|
+
custom_emoji: import("zod").ZodObject<{
|
|
2069
|
+
id: import("zod").ZodUUID;
|
|
2070
|
+
name: import("zod").ZodString;
|
|
2071
|
+
url: import("zod").ZodURL;
|
|
2072
|
+
}, import("zod/v4/core").$strip>;
|
|
2073
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1786
2074
|
type: import("zod").ZodLiteral<"database">;
|
|
1787
2075
|
database: import("zod").ZodObject<{
|
|
1788
2076
|
id: import("zod").ZodUUID;
|
|
1789
2077
|
}, import("zod/v4/core").$strip>;
|
|
2078
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2079
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
2080
|
+
data_source: import("zod").ZodObject<{
|
|
2081
|
+
id: import("zod").ZodUUID;
|
|
2082
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2083
|
+
}, import("zod/v4/core").$strip>;
|
|
1790
2084
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1791
2085
|
type: import("zod").ZodLiteral<"date">;
|
|
1792
2086
|
date: import("zod").ZodObject<{
|
|
@@ -1794,6 +2088,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1794
2088
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1795
2089
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1796
2090
|
}, import("zod/v4/core").$strip>;
|
|
2091
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2092
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
2093
|
+
link_mention: import("zod").ZodObject<{
|
|
2094
|
+
href: import("zod").ZodString;
|
|
2095
|
+
}, import("zod/v4/core").$loose>;
|
|
1797
2096
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1798
2097
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
1799
2098
|
link_preview: import("zod").ZodObject<{
|
|
@@ -1940,7 +2239,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1940
2239
|
yellow_background: "yellow_background";
|
|
1941
2240
|
}>;
|
|
1942
2241
|
is_toggleable: import("zod").ZodBoolean;
|
|
1943
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2242
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1944
2243
|
}, import("zod/v4/core").$strip>>;
|
|
1945
2244
|
heading_3: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1946
2245
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -1984,10 +2283,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1984
2283
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1985
2284
|
type: import("zod").ZodLiteral<"mention">;
|
|
1986
2285
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2286
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
2287
|
+
custom_emoji: import("zod").ZodObject<{
|
|
2288
|
+
id: import("zod").ZodUUID;
|
|
2289
|
+
name: import("zod").ZodString;
|
|
2290
|
+
url: import("zod").ZodURL;
|
|
2291
|
+
}, import("zod/v4/core").$strip>;
|
|
2292
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1987
2293
|
type: import("zod").ZodLiteral<"database">;
|
|
1988
2294
|
database: import("zod").ZodObject<{
|
|
1989
2295
|
id: import("zod").ZodUUID;
|
|
1990
2296
|
}, import("zod/v4/core").$strip>;
|
|
2297
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2298
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
2299
|
+
data_source: import("zod").ZodObject<{
|
|
2300
|
+
id: import("zod").ZodUUID;
|
|
2301
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2302
|
+
}, import("zod/v4/core").$strip>;
|
|
1991
2303
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1992
2304
|
type: import("zod").ZodLiteral<"date">;
|
|
1993
2305
|
date: import("zod").ZodObject<{
|
|
@@ -1995,6 +2307,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1995
2307
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1996
2308
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1997
2309
|
}, import("zod/v4/core").$strip>;
|
|
2310
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2311
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
2312
|
+
link_mention: import("zod").ZodObject<{
|
|
2313
|
+
href: import("zod").ZodString;
|
|
2314
|
+
}, import("zod/v4/core").$loose>;
|
|
1998
2315
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1999
2316
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
2000
2317
|
link_preview: import("zod").ZodObject<{
|
|
@@ -2141,7 +2458,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2141
2458
|
yellow_background: "yellow_background";
|
|
2142
2459
|
}>;
|
|
2143
2460
|
is_toggleable: import("zod").ZodBoolean;
|
|
2144
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2461
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2145
2462
|
}, import("zod/v4/core").$strip>>;
|
|
2146
2463
|
heading_4: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2147
2464
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -2185,10 +2502,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2185
2502
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2186
2503
|
type: import("zod").ZodLiteral<"mention">;
|
|
2187
2504
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2505
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
2506
|
+
custom_emoji: import("zod").ZodObject<{
|
|
2507
|
+
id: import("zod").ZodUUID;
|
|
2508
|
+
name: import("zod").ZodString;
|
|
2509
|
+
url: import("zod").ZodURL;
|
|
2510
|
+
}, import("zod/v4/core").$strip>;
|
|
2511
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2188
2512
|
type: import("zod").ZodLiteral<"database">;
|
|
2189
2513
|
database: import("zod").ZodObject<{
|
|
2190
2514
|
id: import("zod").ZodUUID;
|
|
2191
2515
|
}, import("zod/v4/core").$strip>;
|
|
2516
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2517
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
2518
|
+
data_source: import("zod").ZodObject<{
|
|
2519
|
+
id: import("zod").ZodUUID;
|
|
2520
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2521
|
+
}, import("zod/v4/core").$strip>;
|
|
2192
2522
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2193
2523
|
type: import("zod").ZodLiteral<"date">;
|
|
2194
2524
|
date: import("zod").ZodObject<{
|
|
@@ -2196,6 +2526,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2196
2526
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2197
2527
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2198
2528
|
}, import("zod/v4/core").$strip>;
|
|
2529
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2530
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
2531
|
+
link_mention: import("zod").ZodObject<{
|
|
2532
|
+
href: import("zod").ZodString;
|
|
2533
|
+
}, import("zod/v4/core").$loose>;
|
|
2199
2534
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2200
2535
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
2201
2536
|
link_preview: import("zod").ZodObject<{
|
|
@@ -2342,30 +2677,10 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2342
2677
|
yellow_background: "yellow_background";
|
|
2343
2678
|
}>;
|
|
2344
2679
|
is_toggleable: import("zod").ZodBoolean;
|
|
2345
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2346
|
-
}, import("zod/v4/core").$strip>>;
|
|
2347
|
-
image: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2348
|
-
type: import("zod").ZodLiteral<"file">;
|
|
2349
|
-
file: import("zod").ZodObject<{
|
|
2350
|
-
url: import("zod").ZodURL;
|
|
2351
|
-
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2352
|
-
}, import("zod/v4/core").$strip>;
|
|
2353
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2354
|
-
type: import("zod").ZodLiteral<"file_upload">;
|
|
2355
|
-
file_upload: import("zod").ZodObject<{
|
|
2356
|
-
id: import("zod").ZodUUID;
|
|
2357
|
-
}, import("zod/v4/core").$strip>;
|
|
2358
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2359
|
-
type: import("zod").ZodLiteral<"external">;
|
|
2360
|
-
external: import("zod").ZodObject<{
|
|
2361
|
-
url: import("zod").ZodURL;
|
|
2362
|
-
}, import("zod/v4/core").$strip>;
|
|
2363
|
-
}, import("zod/v4/core").$strip>], "type">>;
|
|
2364
|
-
link_preview: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2365
|
-
url: import("zod").ZodURL;
|
|
2680
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2366
2681
|
}, import("zod/v4/core").$strip>>;
|
|
2367
|
-
|
|
2368
|
-
|
|
2682
|
+
image: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2683
|
+
caption: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2369
2684
|
type: import("zod").ZodLiteral<"text">;
|
|
2370
2685
|
text: import("zod").ZodObject<{
|
|
2371
2686
|
content: import("zod").ZodString;
|
|
@@ -2406,10 +2721,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2406
2721
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2407
2722
|
type: import("zod").ZodLiteral<"mention">;
|
|
2408
2723
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2724
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
2725
|
+
custom_emoji: import("zod").ZodObject<{
|
|
2726
|
+
id: import("zod").ZodUUID;
|
|
2727
|
+
name: import("zod").ZodString;
|
|
2728
|
+
url: import("zod").ZodURL;
|
|
2729
|
+
}, import("zod/v4/core").$strip>;
|
|
2730
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2409
2731
|
type: import("zod").ZodLiteral<"database">;
|
|
2410
2732
|
database: import("zod").ZodObject<{
|
|
2411
2733
|
id: import("zod").ZodUUID;
|
|
2412
2734
|
}, import("zod/v4/core").$strip>;
|
|
2735
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2736
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
2737
|
+
data_source: import("zod").ZodObject<{
|
|
2738
|
+
id: import("zod").ZodUUID;
|
|
2739
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2740
|
+
}, import("zod/v4/core").$strip>;
|
|
2413
2741
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2414
2742
|
type: import("zod").ZodLiteral<"date">;
|
|
2415
2743
|
date: import("zod").ZodObject<{
|
|
@@ -2417,6 +2745,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2417
2745
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2418
2746
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2419
2747
|
}, import("zod/v4/core").$strip>;
|
|
2748
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2749
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
2750
|
+
link_mention: import("zod").ZodObject<{
|
|
2751
|
+
href: import("zod").ZodString;
|
|
2752
|
+
}, import("zod/v4/core").$loose>;
|
|
2420
2753
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2421
2754
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
2422
2755
|
link_preview: import("zod").ZodObject<{
|
|
@@ -2540,37 +2873,40 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2540
2873
|
}, import("zod/v4/core").$strip>;
|
|
2541
2874
|
plain_text: import("zod").ZodString;
|
|
2542
2875
|
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
2543
|
-
}, import("zod/v4/core").$strip>], "type"
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
brown: "brown";
|
|
2549
|
-
brown_background: "brown_background";
|
|
2550
|
-
gray: "gray";
|
|
2551
|
-
gray_background: "gray_background";
|
|
2552
|
-
green: "green";
|
|
2553
|
-
green_background: "green_background";
|
|
2554
|
-
orange: "orange";
|
|
2555
|
-
orange_background: "orange_background";
|
|
2556
|
-
pink: "pink";
|
|
2557
|
-
pink_background: "pink_background";
|
|
2558
|
-
purple: "purple";
|
|
2559
|
-
purple_background: "purple_background";
|
|
2560
|
-
red: "red";
|
|
2561
|
-
red_background: "red_background";
|
|
2562
|
-
yellow: "yellow";
|
|
2563
|
-
yellow_background: "yellow_background";
|
|
2876
|
+
}, import("zod/v4/core").$strip>], "type">>>;
|
|
2877
|
+
type: import("zod").ZodEnum<{
|
|
2878
|
+
file: "file";
|
|
2879
|
+
file_upload: "file_upload";
|
|
2880
|
+
external: "external";
|
|
2564
2881
|
}>;
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2882
|
+
file: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2883
|
+
url: import("zod").ZodURL;
|
|
2884
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2885
|
+
}, import("zod/v4/core").$strip>>;
|
|
2886
|
+
external: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2887
|
+
url: import("zod").ZodURL;
|
|
2888
|
+
}, import("zod/v4/core").$strip>>;
|
|
2889
|
+
file_upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2890
|
+
id: import("zod").ZodUUID;
|
|
2891
|
+
}, import("zod/v4/core").$strip>>;
|
|
2892
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2572
2893
|
}, import("zod/v4/core").$strip>>;
|
|
2573
|
-
|
|
2894
|
+
link_preview: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2895
|
+
url: import("zod").ZodURL;
|
|
2896
|
+
}, import("zod/v4/core").$strip>>;
|
|
2897
|
+
link_to_page: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2898
|
+
type: import("zod").ZodEnum<{
|
|
2899
|
+
database_id: "database_id";
|
|
2900
|
+
data_source_id: "data_source_id";
|
|
2901
|
+
page_id: "page_id";
|
|
2902
|
+
comment_id: "comment_id";
|
|
2903
|
+
}>;
|
|
2904
|
+
page_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2905
|
+
data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2906
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2907
|
+
comment_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2908
|
+
}, import("zod/v4/core").$strip>>;
|
|
2909
|
+
numbered_list_item: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2574
2910
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2575
2911
|
type: import("zod").ZodLiteral<"text">;
|
|
2576
2912
|
text: import("zod").ZodObject<{
|
|
@@ -2612,10 +2948,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2612
2948
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2613
2949
|
type: import("zod").ZodLiteral<"mention">;
|
|
2614
2950
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2951
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
2952
|
+
custom_emoji: import("zod").ZodObject<{
|
|
2953
|
+
id: import("zod").ZodUUID;
|
|
2954
|
+
name: import("zod").ZodString;
|
|
2955
|
+
url: import("zod").ZodURL;
|
|
2956
|
+
}, import("zod/v4/core").$strip>;
|
|
2957
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2615
2958
|
type: import("zod").ZodLiteral<"database">;
|
|
2616
2959
|
database: import("zod").ZodObject<{
|
|
2617
2960
|
id: import("zod").ZodUUID;
|
|
2618
2961
|
}, import("zod/v4/core").$strip>;
|
|
2962
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2963
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
2964
|
+
data_source: import("zod").ZodObject<{
|
|
2965
|
+
id: import("zod").ZodUUID;
|
|
2966
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
2967
|
+
}, import("zod/v4/core").$strip>;
|
|
2619
2968
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2620
2969
|
type: import("zod").ZodLiteral<"date">;
|
|
2621
2970
|
date: import("zod").ZodObject<{
|
|
@@ -2623,6 +2972,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2623
2972
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2624
2973
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2625
2974
|
}, import("zod/v4/core").$strip>;
|
|
2975
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2976
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
2977
|
+
link_mention: import("zod").ZodObject<{
|
|
2978
|
+
href: import("zod").ZodString;
|
|
2979
|
+
}, import("zod/v4/core").$loose>;
|
|
2626
2980
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2627
2981
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
2628
2982
|
link_preview: import("zod").ZodObject<{
|
|
@@ -2768,54 +3122,16 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2768
3122
|
yellow: "yellow";
|
|
2769
3123
|
yellow_background: "yellow_background";
|
|
2770
3124
|
}>;
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
type: import("zod").ZodLiteral<"file_upload">;
|
|
2779
|
-
file_upload: import("zod").ZodObject<{
|
|
2780
|
-
id: import("zod").ZodUUID;
|
|
2781
|
-
}, import("zod/v4/core").$strip>;
|
|
2782
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2783
|
-
type: import("zod").ZodLiteral<"external">;
|
|
2784
|
-
external: import("zod").ZodObject<{
|
|
2785
|
-
url: import("zod").ZodURL;
|
|
2786
|
-
}, import("zod/v4/core").$strip>;
|
|
2787
|
-
}, import("zod/v4/core").$strip>], "type">, import("zod").ZodObject<{
|
|
2788
|
-
type: import("zod").ZodLiteral<"emoji">;
|
|
2789
|
-
emoji: import("zod").ZodString;
|
|
2790
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2791
|
-
type: import("zod").ZodLiteral<"icon">;
|
|
2792
|
-
icon: import("zod").ZodObject<{
|
|
2793
|
-
name: import("zod").ZodString;
|
|
2794
|
-
color: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2795
|
-
blue: "blue";
|
|
2796
|
-
brown: "brown";
|
|
2797
|
-
gray: "gray";
|
|
2798
|
-
green: "green";
|
|
2799
|
-
orange: "orange";
|
|
2800
|
-
pink: "pink";
|
|
2801
|
-
purple: "purple";
|
|
2802
|
-
red: "red";
|
|
2803
|
-
yellow: "yellow";
|
|
2804
|
-
lightgray: "lightgray";
|
|
2805
|
-
}>>;
|
|
2806
|
-
}, import("zod/v4/core").$strip>;
|
|
2807
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2808
|
-
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
2809
|
-
custom_emoji: import("zod").ZodObject<{
|
|
2810
|
-
id: import("zod").ZodUUID;
|
|
2811
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2812
|
-
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
2813
|
-
}, import("zod/v4/core").$strip>;
|
|
2814
|
-
}, import("zod/v4/core").$strip>]>>;
|
|
2815
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3125
|
+
list_start_index: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
3126
|
+
list_format: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3127
|
+
numbers: "numbers";
|
|
3128
|
+
letters: "letters";
|
|
3129
|
+
roman: "roman";
|
|
3130
|
+
}>>;
|
|
3131
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2816
3132
|
}, import("zod/v4/core").$strip>>;
|
|
2817
|
-
|
|
2818
|
-
|
|
3133
|
+
paragraph: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3134
|
+
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2819
3135
|
type: import("zod").ZodLiteral<"text">;
|
|
2820
3136
|
text: import("zod").ZodObject<{
|
|
2821
3137
|
content: import("zod").ZodString;
|
|
@@ -2856,10 +3172,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2856
3172
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2857
3173
|
type: import("zod").ZodLiteral<"mention">;
|
|
2858
3174
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3175
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
3176
|
+
custom_emoji: import("zod").ZodObject<{
|
|
3177
|
+
id: import("zod").ZodUUID;
|
|
3178
|
+
name: import("zod").ZodString;
|
|
3179
|
+
url: import("zod").ZodURL;
|
|
3180
|
+
}, import("zod/v4/core").$strip>;
|
|
3181
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2859
3182
|
type: import("zod").ZodLiteral<"database">;
|
|
2860
3183
|
database: import("zod").ZodObject<{
|
|
2861
3184
|
id: import("zod").ZodUUID;
|
|
2862
3185
|
}, import("zod/v4/core").$strip>;
|
|
3186
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3187
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
3188
|
+
data_source: import("zod").ZodObject<{
|
|
3189
|
+
id: import("zod").ZodUUID;
|
|
3190
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3191
|
+
}, import("zod/v4/core").$strip>;
|
|
2863
3192
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2864
3193
|
type: import("zod").ZodLiteral<"date">;
|
|
2865
3194
|
date: import("zod").ZodObject<{
|
|
@@ -2867,6 +3196,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2867
3196
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2868
3197
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2869
3198
|
}, import("zod/v4/core").$strip>;
|
|
3199
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3200
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
3201
|
+
link_mention: import("zod").ZodObject<{
|
|
3202
|
+
href: import("zod").ZodString;
|
|
3203
|
+
}, import("zod/v4/core").$loose>;
|
|
2870
3204
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2871
3205
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
2872
3206
|
link_preview: import("zod").ZodObject<{
|
|
@@ -2991,12 +3325,28 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2991
3325
|
plain_text: import("zod").ZodString;
|
|
2992
3326
|
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
2993
3327
|
}, import("zod/v4/core").$strip>], "type">>;
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
3328
|
+
color: import("zod").ZodEnum<{
|
|
3329
|
+
default: "default";
|
|
3330
|
+
blue: "blue";
|
|
3331
|
+
blue_background: "blue_background";
|
|
3332
|
+
brown: "brown";
|
|
3333
|
+
brown_background: "brown_background";
|
|
3334
|
+
gray: "gray";
|
|
3335
|
+
gray_background: "gray_background";
|
|
3336
|
+
green: "green";
|
|
3337
|
+
green_background: "green_background";
|
|
3338
|
+
orange: "orange";
|
|
3339
|
+
orange_background: "orange_background";
|
|
3340
|
+
pink: "pink";
|
|
3341
|
+
pink_background: "pink_background";
|
|
3342
|
+
purple: "purple";
|
|
3343
|
+
purple_background: "purple_background";
|
|
3344
|
+
red: "red";
|
|
3345
|
+
red_background: "red_background";
|
|
3346
|
+
yellow: "yellow";
|
|
3347
|
+
yellow_background: "yellow_background";
|
|
2998
3348
|
}>;
|
|
2999
|
-
|
|
3349
|
+
icon: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3000
3350
|
type: import("zod").ZodLiteral<"file">;
|
|
3001
3351
|
file: import("zod").ZodObject<{
|
|
3002
3352
|
url: import("zod").ZodURL;
|
|
@@ -3012,41 +3362,246 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3012
3362
|
external: import("zod").ZodObject<{
|
|
3013
3363
|
url: import("zod").ZodURL;
|
|
3014
3364
|
}, import("zod/v4/core").$strip>;
|
|
3015
|
-
}, import("zod/v4/core").$strip>], "type"
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
file: import("zod").ZodObject<{
|
|
3019
|
-
url: import("zod").ZodURL;
|
|
3020
|
-
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3021
|
-
}, import("zod/v4/core").$strip>;
|
|
3365
|
+
}, import("zod/v4/core").$strip>], "type">, import("zod").ZodObject<{
|
|
3366
|
+
type: import("zod").ZodLiteral<"emoji">;
|
|
3367
|
+
emoji: import("zod").ZodString;
|
|
3022
3368
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3023
|
-
type: import("zod").ZodLiteral<"
|
|
3024
|
-
|
|
3025
|
-
|
|
3369
|
+
type: import("zod").ZodLiteral<"icon">;
|
|
3370
|
+
icon: import("zod").ZodObject<{
|
|
3371
|
+
name: import("zod").ZodString;
|
|
3372
|
+
color: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3373
|
+
blue: "blue";
|
|
3374
|
+
brown: "brown";
|
|
3375
|
+
gray: "gray";
|
|
3376
|
+
green: "green";
|
|
3377
|
+
orange: "orange";
|
|
3378
|
+
pink: "pink";
|
|
3379
|
+
purple: "purple";
|
|
3380
|
+
red: "red";
|
|
3381
|
+
yellow: "yellow";
|
|
3382
|
+
lightgray: "lightgray";
|
|
3383
|
+
}>>;
|
|
3026
3384
|
}, import("zod/v4/core").$strip>;
|
|
3027
3385
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3028
|
-
type: import("zod").ZodLiteral<"
|
|
3029
|
-
|
|
3030
|
-
|
|
3386
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
3387
|
+
custom_emoji: import("zod").ZodObject<{
|
|
3388
|
+
id: import("zod").ZodUUID;
|
|
3389
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3390
|
+
url: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
3031
3391
|
}, import("zod/v4/core").$strip>;
|
|
3032
|
-
}, import("zod/v4/core").$strip>]
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3392
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
3393
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3394
|
+
}, import("zod/v4/core").$strip>>;
|
|
3395
|
+
pdf: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3396
|
+
caption: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3397
|
+
type: import("zod").ZodLiteral<"text">;
|
|
3398
|
+
text: import("zod").ZodObject<{
|
|
3399
|
+
content: import("zod").ZodString;
|
|
3400
|
+
link: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3401
|
+
url: import("zod").ZodURL;
|
|
3402
|
+
}, import("zod/v4/core").$strip>>;
|
|
3403
|
+
}, import("zod/v4/core").$strip>;
|
|
3404
|
+
annotations: import("zod").ZodObject<{
|
|
3405
|
+
bold: import("zod").ZodBoolean;
|
|
3406
|
+
italic: import("zod").ZodBoolean;
|
|
3407
|
+
strikethrough: import("zod").ZodBoolean;
|
|
3408
|
+
underline: import("zod").ZodBoolean;
|
|
3409
|
+
code: import("zod").ZodBoolean;
|
|
3410
|
+
color: import("zod").ZodEnum<{
|
|
3411
|
+
default: "default";
|
|
3412
|
+
blue: "blue";
|
|
3413
|
+
blue_background: "blue_background";
|
|
3414
|
+
brown: "brown";
|
|
3415
|
+
brown_background: "brown_background";
|
|
3416
|
+
gray: "gray";
|
|
3417
|
+
gray_background: "gray_background";
|
|
3418
|
+
green: "green";
|
|
3419
|
+
green_background: "green_background";
|
|
3420
|
+
orange: "orange";
|
|
3421
|
+
orange_background: "orange_background";
|
|
3422
|
+
pink: "pink";
|
|
3423
|
+
pink_background: "pink_background";
|
|
3424
|
+
purple: "purple";
|
|
3425
|
+
purple_background: "purple_background";
|
|
3426
|
+
red: "red";
|
|
3427
|
+
red_background: "red_background";
|
|
3428
|
+
yellow: "yellow";
|
|
3429
|
+
yellow_background: "yellow_background";
|
|
3430
|
+
}>;
|
|
3038
3431
|
}, import("zod/v4/core").$strip>;
|
|
3432
|
+
plain_text: import("zod").ZodString;
|
|
3433
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3039
3434
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3040
|
-
type: import("zod").ZodLiteral<"
|
|
3041
|
-
|
|
3042
|
-
|
|
3435
|
+
type: import("zod").ZodLiteral<"mention">;
|
|
3436
|
+
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3437
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
3438
|
+
custom_emoji: import("zod").ZodObject<{
|
|
3439
|
+
id: import("zod").ZodUUID;
|
|
3440
|
+
name: import("zod").ZodString;
|
|
3441
|
+
url: import("zod").ZodURL;
|
|
3442
|
+
}, import("zod/v4/core").$strip>;
|
|
3443
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3444
|
+
type: import("zod").ZodLiteral<"database">;
|
|
3445
|
+
database: import("zod").ZodObject<{
|
|
3446
|
+
id: import("zod").ZodUUID;
|
|
3447
|
+
}, import("zod/v4/core").$strip>;
|
|
3448
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3449
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
3450
|
+
data_source: import("zod").ZodObject<{
|
|
3451
|
+
id: import("zod").ZodUUID;
|
|
3452
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3453
|
+
}, import("zod/v4/core").$strip>;
|
|
3454
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3455
|
+
type: import("zod").ZodLiteral<"date">;
|
|
3456
|
+
date: import("zod").ZodObject<{
|
|
3457
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3458
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3459
|
+
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3460
|
+
}, import("zod/v4/core").$strip>;
|
|
3461
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3462
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
3463
|
+
link_mention: import("zod").ZodObject<{
|
|
3464
|
+
href: import("zod").ZodString;
|
|
3465
|
+
}, import("zod/v4/core").$loose>;
|
|
3466
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3467
|
+
type: import("zod").ZodLiteral<"link_preview">;
|
|
3468
|
+
link_preview: import("zod").ZodObject<{
|
|
3469
|
+
url: import("zod").ZodURL;
|
|
3470
|
+
}, import("zod/v4/core").$strip>;
|
|
3471
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3472
|
+
type: import("zod").ZodLiteral<"page">;
|
|
3473
|
+
page: import("zod").ZodObject<{
|
|
3474
|
+
id: import("zod").ZodUUID;
|
|
3475
|
+
}, import("zod/v4/core").$strip>;
|
|
3476
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3477
|
+
type: import("zod").ZodLiteral<"template_mention">;
|
|
3478
|
+
template_mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3479
|
+
type: import("zod").ZodLiteral<"template_mention_date">;
|
|
3480
|
+
template_mention_date: import("zod").ZodEnum<{
|
|
3481
|
+
today: "today";
|
|
3482
|
+
now: "now";
|
|
3483
|
+
}>;
|
|
3484
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3485
|
+
type: import("zod").ZodLiteral<"template_mention_user">;
|
|
3486
|
+
template_mention_user: import("zod").ZodLiteral<"me">;
|
|
3487
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
3488
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3489
|
+
type: import("zod").ZodLiteral<"user">;
|
|
3490
|
+
user: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3491
|
+
object: import("zod").ZodLiteral<"user">;
|
|
3492
|
+
id: import("zod").ZodUUID;
|
|
3493
|
+
type: import("zod").ZodLiteral<"person">;
|
|
3494
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3495
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
3496
|
+
person: import("zod").ZodObject<{
|
|
3497
|
+
email: import("zod").ZodEmail;
|
|
3498
|
+
email_verified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3499
|
+
}, import("zod/v4/core").$strip>;
|
|
3500
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3501
|
+
object: import("zod").ZodLiteral<"user">;
|
|
3502
|
+
id: import("zod").ZodUUID;
|
|
3503
|
+
type: import("zod").ZodLiteral<"bot">;
|
|
3504
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3505
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
3506
|
+
bot: import("zod").ZodObject<{
|
|
3507
|
+
owner: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3508
|
+
type: import("zod").ZodLiteral<"workspace">;
|
|
3509
|
+
workspace: import("zod").ZodLiteral<true>;
|
|
3510
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3511
|
+
type: import("zod").ZodLiteral<"user">;
|
|
3512
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
3513
|
+
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3514
|
+
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3515
|
+
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3516
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
3517
|
+
}, import("zod/v4/core").$strip>>;
|
|
3518
|
+
}, import("zod/v4/core").$strip>;
|
|
3519
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3520
|
+
object: import("zod").ZodLiteral<"user">;
|
|
3521
|
+
id: import("zod").ZodUUID;
|
|
3522
|
+
}, import("zod/v4/core").$strip>]>;
|
|
3523
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
3524
|
+
annotations: import("zod").ZodObject<{
|
|
3525
|
+
bold: import("zod").ZodBoolean;
|
|
3526
|
+
italic: import("zod").ZodBoolean;
|
|
3527
|
+
strikethrough: import("zod").ZodBoolean;
|
|
3528
|
+
underline: import("zod").ZodBoolean;
|
|
3529
|
+
code: import("zod").ZodBoolean;
|
|
3530
|
+
color: import("zod").ZodEnum<{
|
|
3531
|
+
default: "default";
|
|
3532
|
+
blue: "blue";
|
|
3533
|
+
blue_background: "blue_background";
|
|
3534
|
+
brown: "brown";
|
|
3535
|
+
brown_background: "brown_background";
|
|
3536
|
+
gray: "gray";
|
|
3537
|
+
gray_background: "gray_background";
|
|
3538
|
+
green: "green";
|
|
3539
|
+
green_background: "green_background";
|
|
3540
|
+
orange: "orange";
|
|
3541
|
+
orange_background: "orange_background";
|
|
3542
|
+
pink: "pink";
|
|
3543
|
+
pink_background: "pink_background";
|
|
3544
|
+
purple: "purple";
|
|
3545
|
+
purple_background: "purple_background";
|
|
3546
|
+
red: "red";
|
|
3547
|
+
red_background: "red_background";
|
|
3548
|
+
yellow: "yellow";
|
|
3549
|
+
yellow_background: "yellow_background";
|
|
3550
|
+
}>;
|
|
3043
3551
|
}, import("zod/v4/core").$strip>;
|
|
3552
|
+
plain_text: import("zod").ZodString;
|
|
3553
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3044
3554
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3045
|
-
type: import("zod").ZodLiteral<"
|
|
3046
|
-
|
|
3047
|
-
|
|
3555
|
+
type: import("zod").ZodLiteral<"equation">;
|
|
3556
|
+
equation: import("zod").ZodObject<{
|
|
3557
|
+
expression: import("zod").ZodString;
|
|
3048
3558
|
}, import("zod/v4/core").$strip>;
|
|
3049
|
-
|
|
3559
|
+
annotations: import("zod").ZodObject<{
|
|
3560
|
+
bold: import("zod").ZodBoolean;
|
|
3561
|
+
italic: import("zod").ZodBoolean;
|
|
3562
|
+
strikethrough: import("zod").ZodBoolean;
|
|
3563
|
+
underline: import("zod").ZodBoolean;
|
|
3564
|
+
code: import("zod").ZodBoolean;
|
|
3565
|
+
color: import("zod").ZodEnum<{
|
|
3566
|
+
default: "default";
|
|
3567
|
+
blue: "blue";
|
|
3568
|
+
blue_background: "blue_background";
|
|
3569
|
+
brown: "brown";
|
|
3570
|
+
brown_background: "brown_background";
|
|
3571
|
+
gray: "gray";
|
|
3572
|
+
gray_background: "gray_background";
|
|
3573
|
+
green: "green";
|
|
3574
|
+
green_background: "green_background";
|
|
3575
|
+
orange: "orange";
|
|
3576
|
+
orange_background: "orange_background";
|
|
3577
|
+
pink: "pink";
|
|
3578
|
+
pink_background: "pink_background";
|
|
3579
|
+
purple: "purple";
|
|
3580
|
+
purple_background: "purple_background";
|
|
3581
|
+
red: "red";
|
|
3582
|
+
red_background: "red_background";
|
|
3583
|
+
yellow: "yellow";
|
|
3584
|
+
yellow_background: "yellow_background";
|
|
3585
|
+
}>;
|
|
3586
|
+
}, import("zod/v4/core").$strip>;
|
|
3587
|
+
plain_text: import("zod").ZodString;
|
|
3588
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3589
|
+
}, import("zod/v4/core").$strip>], "type">>>;
|
|
3590
|
+
type: import("zod").ZodEnum<{
|
|
3591
|
+
file: "file";
|
|
3592
|
+
file_upload: "file_upload";
|
|
3593
|
+
external: "external";
|
|
3594
|
+
}>;
|
|
3595
|
+
file: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3596
|
+
url: import("zod").ZodURL;
|
|
3597
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3598
|
+
}, import("zod/v4/core").$strip>>;
|
|
3599
|
+
external: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3600
|
+
url: import("zod").ZodURL;
|
|
3601
|
+
}, import("zod/v4/core").$strip>>;
|
|
3602
|
+
file_upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3603
|
+
id: import("zod").ZodUUID;
|
|
3604
|
+
}, import("zod/v4/core").$strip>>;
|
|
3050
3605
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3051
3606
|
}, import("zod/v4/core").$strip>>;
|
|
3052
3607
|
quote: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -3091,10 +3646,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3091
3646
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3092
3647
|
type: import("zod").ZodLiteral<"mention">;
|
|
3093
3648
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3649
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
3650
|
+
custom_emoji: import("zod").ZodObject<{
|
|
3651
|
+
id: import("zod").ZodUUID;
|
|
3652
|
+
name: import("zod").ZodString;
|
|
3653
|
+
url: import("zod").ZodURL;
|
|
3654
|
+
}, import("zod/v4/core").$strip>;
|
|
3655
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3094
3656
|
type: import("zod").ZodLiteral<"database">;
|
|
3095
3657
|
database: import("zod").ZodObject<{
|
|
3096
3658
|
id: import("zod").ZodUUID;
|
|
3097
3659
|
}, import("zod/v4/core").$strip>;
|
|
3660
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3661
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
3662
|
+
data_source: import("zod").ZodObject<{
|
|
3663
|
+
id: import("zod").ZodUUID;
|
|
3664
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3665
|
+
}, import("zod/v4/core").$strip>;
|
|
3098
3666
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3099
3667
|
type: import("zod").ZodLiteral<"date">;
|
|
3100
3668
|
date: import("zod").ZodObject<{
|
|
@@ -3102,6 +3670,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3102
3670
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3103
3671
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3104
3672
|
}, import("zod/v4/core").$strip>;
|
|
3673
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3674
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
3675
|
+
link_mention: import("zod").ZodObject<{
|
|
3676
|
+
href: import("zod").ZodString;
|
|
3677
|
+
}, import("zod/v4/core").$loose>;
|
|
3105
3678
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3106
3679
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
3107
3680
|
link_preview: import("zod").ZodObject<{
|
|
@@ -3247,17 +3820,17 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3247
3820
|
yellow: "yellow";
|
|
3248
3821
|
yellow_background: "yellow_background";
|
|
3249
3822
|
}>;
|
|
3250
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
3823
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3251
3824
|
}, import("zod/v4/core").$strip>>;
|
|
3252
3825
|
synced_block: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3253
3826
|
synced_from: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3254
3827
|
type: import("zod").ZodLiteral<"block_id">;
|
|
3255
3828
|
block_id: import("zod").ZodUUID;
|
|
3256
3829
|
}, import("zod/v4/core").$strip>>;
|
|
3257
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
3830
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3258
3831
|
}, import("zod/v4/core").$strip>>;
|
|
3259
3832
|
tab: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3260
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
3833
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3261
3834
|
}, import("zod/v4/core").$strip>>;
|
|
3262
3835
|
table: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3263
3836
|
table_width: import("zod").ZodInt;
|
|
@@ -3329,10 +3902,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3329
3902
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3330
3903
|
type: import("zod").ZodLiteral<"mention">;
|
|
3331
3904
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3905
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
3906
|
+
custom_emoji: import("zod").ZodObject<{
|
|
3907
|
+
id: import("zod").ZodUUID;
|
|
3908
|
+
name: import("zod").ZodString;
|
|
3909
|
+
url: import("zod").ZodURL;
|
|
3910
|
+
}, import("zod/v4/core").$strip>;
|
|
3911
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3332
3912
|
type: import("zod").ZodLiteral<"database">;
|
|
3333
3913
|
database: import("zod").ZodObject<{
|
|
3334
3914
|
id: import("zod").ZodUUID;
|
|
3335
3915
|
}, import("zod/v4/core").$strip>;
|
|
3916
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3917
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
3918
|
+
data_source: import("zod").ZodObject<{
|
|
3919
|
+
id: import("zod").ZodUUID;
|
|
3920
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
3921
|
+
}, import("zod/v4/core").$strip>;
|
|
3336
3922
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3337
3923
|
type: import("zod").ZodLiteral<"date">;
|
|
3338
3924
|
date: import("zod").ZodObject<{
|
|
@@ -3340,6 +3926,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3340
3926
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3341
3927
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3342
3928
|
}, import("zod/v4/core").$strip>;
|
|
3929
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3930
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
3931
|
+
link_mention: import("zod").ZodObject<{
|
|
3932
|
+
href: import("zod").ZodString;
|
|
3933
|
+
}, import("zod/v4/core").$loose>;
|
|
3343
3934
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3344
3935
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
3345
3936
|
link_preview: import("zod").ZodObject<{
|
|
@@ -3507,10 +4098,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3507
4098
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3508
4099
|
type: import("zod").ZodLiteral<"mention">;
|
|
3509
4100
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4101
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
4102
|
+
custom_emoji: import("zod").ZodObject<{
|
|
4103
|
+
id: import("zod").ZodUUID;
|
|
4104
|
+
name: import("zod").ZodString;
|
|
4105
|
+
url: import("zod").ZodURL;
|
|
4106
|
+
}, import("zod/v4/core").$strip>;
|
|
4107
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3510
4108
|
type: import("zod").ZodLiteral<"database">;
|
|
3511
4109
|
database: import("zod").ZodObject<{
|
|
3512
4110
|
id: import("zod").ZodUUID;
|
|
3513
4111
|
}, import("zod/v4/core").$strip>;
|
|
4112
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4113
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
4114
|
+
data_source: import("zod").ZodObject<{
|
|
4115
|
+
id: import("zod").ZodUUID;
|
|
4116
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4117
|
+
}, import("zod/v4/core").$strip>;
|
|
3514
4118
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3515
4119
|
type: import("zod").ZodLiteral<"date">;
|
|
3516
4120
|
date: import("zod").ZodObject<{
|
|
@@ -3518,6 +4122,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3518
4122
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3519
4123
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3520
4124
|
}, import("zod/v4/core").$strip>;
|
|
4125
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4126
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
4127
|
+
link_mention: import("zod").ZodObject<{
|
|
4128
|
+
href: import("zod").ZodString;
|
|
4129
|
+
}, import("zod/v4/core").$loose>;
|
|
3521
4130
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3522
4131
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
3523
4132
|
link_preview: import("zod").ZodObject<{
|
|
@@ -3642,7 +4251,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3642
4251
|
plain_text: import("zod").ZodString;
|
|
3643
4252
|
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3644
4253
|
}, import("zod/v4/core").$strip>], "type">>;
|
|
3645
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
4254
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3646
4255
|
}, import("zod/v4/core").$strip>>;
|
|
3647
4256
|
to_do: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3648
4257
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -3686,10 +4295,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3686
4295
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3687
4296
|
type: import("zod").ZodLiteral<"mention">;
|
|
3688
4297
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4298
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
4299
|
+
custom_emoji: import("zod").ZodObject<{
|
|
4300
|
+
id: import("zod").ZodUUID;
|
|
4301
|
+
name: import("zod").ZodString;
|
|
4302
|
+
url: import("zod").ZodURL;
|
|
4303
|
+
}, import("zod/v4/core").$strip>;
|
|
4304
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3689
4305
|
type: import("zod").ZodLiteral<"database">;
|
|
3690
4306
|
database: import("zod").ZodObject<{
|
|
3691
4307
|
id: import("zod").ZodUUID;
|
|
3692
4308
|
}, import("zod/v4/core").$strip>;
|
|
4309
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4310
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
4311
|
+
data_source: import("zod").ZodObject<{
|
|
4312
|
+
id: import("zod").ZodUUID;
|
|
4313
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4314
|
+
}, import("zod/v4/core").$strip>;
|
|
3693
4315
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3694
4316
|
type: import("zod").ZodLiteral<"date">;
|
|
3695
4317
|
date: import("zod").ZodObject<{
|
|
@@ -3697,6 +4319,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3697
4319
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3698
4320
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3699
4321
|
}, import("zod/v4/core").$strip>;
|
|
4322
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4323
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
4324
|
+
link_mention: import("zod").ZodObject<{
|
|
4325
|
+
href: import("zod").ZodString;
|
|
4326
|
+
}, import("zod/v4/core").$loose>;
|
|
3700
4327
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3701
4328
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
3702
4329
|
link_preview: import("zod").ZodObject<{
|
|
@@ -3843,7 +4470,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3843
4470
|
yellow: "yellow";
|
|
3844
4471
|
yellow_background: "yellow_background";
|
|
3845
4472
|
}>;
|
|
3846
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
4473
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3847
4474
|
}, import("zod/v4/core").$strip>>;
|
|
3848
4475
|
toggle: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3849
4476
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -3887,10 +4514,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3887
4514
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3888
4515
|
type: import("zod").ZodLiteral<"mention">;
|
|
3889
4516
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4517
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
4518
|
+
custom_emoji: import("zod").ZodObject<{
|
|
4519
|
+
id: import("zod").ZodUUID;
|
|
4520
|
+
name: import("zod").ZodString;
|
|
4521
|
+
url: import("zod").ZodURL;
|
|
4522
|
+
}, import("zod/v4/core").$strip>;
|
|
4523
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3890
4524
|
type: import("zod").ZodLiteral<"database">;
|
|
3891
4525
|
database: import("zod").ZodObject<{
|
|
3892
4526
|
id: import("zod").ZodUUID;
|
|
3893
4527
|
}, import("zod/v4/core").$strip>;
|
|
4528
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4529
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
4530
|
+
data_source: import("zod").ZodObject<{
|
|
4531
|
+
id: import("zod").ZodUUID;
|
|
4532
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4533
|
+
}, import("zod/v4/core").$strip>;
|
|
3894
4534
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3895
4535
|
type: import("zod").ZodLiteral<"date">;
|
|
3896
4536
|
date: import("zod").ZodObject<{
|
|
@@ -3898,6 +4538,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3898
4538
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3899
4539
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3900
4540
|
}, import("zod/v4/core").$strip>;
|
|
4541
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4542
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
4543
|
+
link_mention: import("zod").ZodObject<{
|
|
4544
|
+
href: import("zod").ZodString;
|
|
4545
|
+
}, import("zod/v4/core").$loose>;
|
|
3901
4546
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3902
4547
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
3903
4548
|
link_preview: import("zod").ZodObject<{
|
|
@@ -4043,7 +4688,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
4043
4688
|
yellow: "yellow";
|
|
4044
4689
|
yellow_background: "yellow_background";
|
|
4045
4690
|
}>;
|
|
4046
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
4691
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodTypeAny<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
4047
4692
|
}, import("zod/v4/core").$strip>>;
|
|
4048
4693
|
meeting_notes: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4049
4694
|
title: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -4087,10 +4732,23 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
4087
4732
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4088
4733
|
type: import("zod").ZodLiteral<"mention">;
|
|
4089
4734
|
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4735
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
4736
|
+
custom_emoji: import("zod").ZodObject<{
|
|
4737
|
+
id: import("zod").ZodUUID;
|
|
4738
|
+
name: import("zod").ZodString;
|
|
4739
|
+
url: import("zod").ZodURL;
|
|
4740
|
+
}, import("zod/v4/core").$strip>;
|
|
4741
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4090
4742
|
type: import("zod").ZodLiteral<"database">;
|
|
4091
4743
|
database: import("zod").ZodObject<{
|
|
4092
4744
|
id: import("zod").ZodUUID;
|
|
4093
4745
|
}, import("zod/v4/core").$strip>;
|
|
4746
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4747
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
4748
|
+
data_source: import("zod").ZodObject<{
|
|
4749
|
+
id: import("zod").ZodUUID;
|
|
4750
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4751
|
+
}, import("zod/v4/core").$strip>;
|
|
4094
4752
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4095
4753
|
type: import("zod").ZodLiteral<"date">;
|
|
4096
4754
|
date: import("zod").ZodObject<{
|
|
@@ -4098,6 +4756,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
4098
4756
|
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
4099
4757
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4100
4758
|
}, import("zod/v4/core").$strip>;
|
|
4759
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4760
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
4761
|
+
link_mention: import("zod").ZodObject<{
|
|
4762
|
+
href: import("zod").ZodString;
|
|
4763
|
+
}, import("zod/v4/core").$loose>;
|
|
4101
4764
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4102
4765
|
type: import("zod").ZodLiteral<"link_preview">;
|
|
4103
4766
|
link_preview: import("zod").ZodObject<{
|
|
@@ -4232,23 +4895,218 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
4232
4895
|
recording: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
|
|
4233
4896
|
}, import("zod/v4/core").$strip>>;
|
|
4234
4897
|
unsupported: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
|
|
4235
|
-
video: import("zod").ZodOptional<import("zod").
|
|
4236
|
-
|
|
4237
|
-
|
|
4898
|
+
video: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4899
|
+
caption: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4900
|
+
type: import("zod").ZodLiteral<"text">;
|
|
4901
|
+
text: import("zod").ZodObject<{
|
|
4902
|
+
content: import("zod").ZodString;
|
|
4903
|
+
link: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4904
|
+
url: import("zod").ZodURL;
|
|
4905
|
+
}, import("zod/v4/core").$strip>>;
|
|
4906
|
+
}, import("zod/v4/core").$strip>;
|
|
4907
|
+
annotations: import("zod").ZodObject<{
|
|
4908
|
+
bold: import("zod").ZodBoolean;
|
|
4909
|
+
italic: import("zod").ZodBoolean;
|
|
4910
|
+
strikethrough: import("zod").ZodBoolean;
|
|
4911
|
+
underline: import("zod").ZodBoolean;
|
|
4912
|
+
code: import("zod").ZodBoolean;
|
|
4913
|
+
color: import("zod").ZodEnum<{
|
|
4914
|
+
default: "default";
|
|
4915
|
+
blue: "blue";
|
|
4916
|
+
blue_background: "blue_background";
|
|
4917
|
+
brown: "brown";
|
|
4918
|
+
brown_background: "brown_background";
|
|
4919
|
+
gray: "gray";
|
|
4920
|
+
gray_background: "gray_background";
|
|
4921
|
+
green: "green";
|
|
4922
|
+
green_background: "green_background";
|
|
4923
|
+
orange: "orange";
|
|
4924
|
+
orange_background: "orange_background";
|
|
4925
|
+
pink: "pink";
|
|
4926
|
+
pink_background: "pink_background";
|
|
4927
|
+
purple: "purple";
|
|
4928
|
+
purple_background: "purple_background";
|
|
4929
|
+
red: "red";
|
|
4930
|
+
red_background: "red_background";
|
|
4931
|
+
yellow: "yellow";
|
|
4932
|
+
yellow_background: "yellow_background";
|
|
4933
|
+
}>;
|
|
4934
|
+
}, import("zod/v4/core").$strip>;
|
|
4935
|
+
plain_text: import("zod").ZodString;
|
|
4936
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
4937
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4938
|
+
type: import("zod").ZodLiteral<"mention">;
|
|
4939
|
+
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4940
|
+
type: import("zod").ZodLiteral<"custom_emoji">;
|
|
4941
|
+
custom_emoji: import("zod").ZodObject<{
|
|
4942
|
+
id: import("zod").ZodUUID;
|
|
4943
|
+
name: import("zod").ZodString;
|
|
4944
|
+
url: import("zod").ZodURL;
|
|
4945
|
+
}, import("zod/v4/core").$strip>;
|
|
4946
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4947
|
+
type: import("zod").ZodLiteral<"database">;
|
|
4948
|
+
database: import("zod").ZodObject<{
|
|
4949
|
+
id: import("zod").ZodUUID;
|
|
4950
|
+
}, import("zod/v4/core").$strip>;
|
|
4951
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4952
|
+
type: import("zod").ZodLiteral<"data_source">;
|
|
4953
|
+
data_source: import("zod").ZodObject<{
|
|
4954
|
+
id: import("zod").ZodUUID;
|
|
4955
|
+
database_id: import("zod").ZodOptional<import("zod").ZodUUID>;
|
|
4956
|
+
}, import("zod/v4/core").$strip>;
|
|
4957
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4958
|
+
type: import("zod").ZodLiteral<"date">;
|
|
4959
|
+
date: import("zod").ZodObject<{
|
|
4960
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
4961
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
4962
|
+
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4963
|
+
}, import("zod/v4/core").$strip>;
|
|
4964
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4965
|
+
type: import("zod").ZodLiteral<"link_mention">;
|
|
4966
|
+
link_mention: import("zod").ZodObject<{
|
|
4967
|
+
href: import("zod").ZodString;
|
|
4968
|
+
}, import("zod/v4/core").$loose>;
|
|
4969
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4970
|
+
type: import("zod").ZodLiteral<"link_preview">;
|
|
4971
|
+
link_preview: import("zod").ZodObject<{
|
|
4972
|
+
url: import("zod").ZodURL;
|
|
4973
|
+
}, import("zod/v4/core").$strip>;
|
|
4974
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4975
|
+
type: import("zod").ZodLiteral<"page">;
|
|
4976
|
+
page: import("zod").ZodObject<{
|
|
4977
|
+
id: import("zod").ZodUUID;
|
|
4978
|
+
}, import("zod/v4/core").$strip>;
|
|
4979
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4980
|
+
type: import("zod").ZodLiteral<"template_mention">;
|
|
4981
|
+
template_mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
4982
|
+
type: import("zod").ZodLiteral<"template_mention_date">;
|
|
4983
|
+
template_mention_date: import("zod").ZodEnum<{
|
|
4984
|
+
today: "today";
|
|
4985
|
+
now: "now";
|
|
4986
|
+
}>;
|
|
4987
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4988
|
+
type: import("zod").ZodLiteral<"template_mention_user">;
|
|
4989
|
+
template_mention_user: import("zod").ZodLiteral<"me">;
|
|
4990
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
4991
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4992
|
+
type: import("zod").ZodLiteral<"user">;
|
|
4993
|
+
user: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
4994
|
+
object: import("zod").ZodLiteral<"user">;
|
|
4995
|
+
id: import("zod").ZodUUID;
|
|
4996
|
+
type: import("zod").ZodLiteral<"person">;
|
|
4997
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4998
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
4999
|
+
person: import("zod").ZodObject<{
|
|
5000
|
+
email: import("zod").ZodEmail;
|
|
5001
|
+
email_verified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5002
|
+
}, import("zod/v4/core").$strip>;
|
|
5003
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5004
|
+
object: import("zod").ZodLiteral<"user">;
|
|
5005
|
+
id: import("zod").ZodUUID;
|
|
5006
|
+
type: import("zod").ZodLiteral<"bot">;
|
|
5007
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5008
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
5009
|
+
bot: import("zod").ZodObject<{
|
|
5010
|
+
owner: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
5011
|
+
type: import("zod").ZodLiteral<"workspace">;
|
|
5012
|
+
workspace: import("zod").ZodLiteral<true>;
|
|
5013
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5014
|
+
type: import("zod").ZodLiteral<"user">;
|
|
5015
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
5016
|
+
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5017
|
+
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5018
|
+
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5019
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
5020
|
+
}, import("zod/v4/core").$strip>>;
|
|
5021
|
+
}, import("zod/v4/core").$strip>;
|
|
5022
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5023
|
+
object: import("zod").ZodLiteral<"user">;
|
|
5024
|
+
id: import("zod").ZodUUID;
|
|
5025
|
+
}, import("zod/v4/core").$strip>]>;
|
|
5026
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
5027
|
+
annotations: import("zod").ZodObject<{
|
|
5028
|
+
bold: import("zod").ZodBoolean;
|
|
5029
|
+
italic: import("zod").ZodBoolean;
|
|
5030
|
+
strikethrough: import("zod").ZodBoolean;
|
|
5031
|
+
underline: import("zod").ZodBoolean;
|
|
5032
|
+
code: import("zod").ZodBoolean;
|
|
5033
|
+
color: import("zod").ZodEnum<{
|
|
5034
|
+
default: "default";
|
|
5035
|
+
blue: "blue";
|
|
5036
|
+
blue_background: "blue_background";
|
|
5037
|
+
brown: "brown";
|
|
5038
|
+
brown_background: "brown_background";
|
|
5039
|
+
gray: "gray";
|
|
5040
|
+
gray_background: "gray_background";
|
|
5041
|
+
green: "green";
|
|
5042
|
+
green_background: "green_background";
|
|
5043
|
+
orange: "orange";
|
|
5044
|
+
orange_background: "orange_background";
|
|
5045
|
+
pink: "pink";
|
|
5046
|
+
pink_background: "pink_background";
|
|
5047
|
+
purple: "purple";
|
|
5048
|
+
purple_background: "purple_background";
|
|
5049
|
+
red: "red";
|
|
5050
|
+
red_background: "red_background";
|
|
5051
|
+
yellow: "yellow";
|
|
5052
|
+
yellow_background: "yellow_background";
|
|
5053
|
+
}>;
|
|
5054
|
+
}, import("zod/v4/core").$strip>;
|
|
5055
|
+
plain_text: import("zod").ZodString;
|
|
5056
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
5057
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
5058
|
+
type: import("zod").ZodLiteral<"equation">;
|
|
5059
|
+
equation: import("zod").ZodObject<{
|
|
5060
|
+
expression: import("zod").ZodString;
|
|
5061
|
+
}, import("zod/v4/core").$strip>;
|
|
5062
|
+
annotations: import("zod").ZodObject<{
|
|
5063
|
+
bold: import("zod").ZodBoolean;
|
|
5064
|
+
italic: import("zod").ZodBoolean;
|
|
5065
|
+
strikethrough: import("zod").ZodBoolean;
|
|
5066
|
+
underline: import("zod").ZodBoolean;
|
|
5067
|
+
code: import("zod").ZodBoolean;
|
|
5068
|
+
color: import("zod").ZodEnum<{
|
|
5069
|
+
default: "default";
|
|
5070
|
+
blue: "blue";
|
|
5071
|
+
blue_background: "blue_background";
|
|
5072
|
+
brown: "brown";
|
|
5073
|
+
brown_background: "brown_background";
|
|
5074
|
+
gray: "gray";
|
|
5075
|
+
gray_background: "gray_background";
|
|
5076
|
+
green: "green";
|
|
5077
|
+
green_background: "green_background";
|
|
5078
|
+
orange: "orange";
|
|
5079
|
+
orange_background: "orange_background";
|
|
5080
|
+
pink: "pink";
|
|
5081
|
+
pink_background: "pink_background";
|
|
5082
|
+
purple: "purple";
|
|
5083
|
+
purple_background: "purple_background";
|
|
5084
|
+
red: "red";
|
|
5085
|
+
red_background: "red_background";
|
|
5086
|
+
yellow: "yellow";
|
|
5087
|
+
yellow_background: "yellow_background";
|
|
5088
|
+
}>;
|
|
5089
|
+
}, import("zod/v4/core").$strip>;
|
|
5090
|
+
plain_text: import("zod").ZodString;
|
|
5091
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
5092
|
+
}, import("zod/v4/core").$strip>], "type">>>;
|
|
5093
|
+
type: import("zod").ZodEnum<{
|
|
5094
|
+
file: "file";
|
|
5095
|
+
file_upload: "file_upload";
|
|
5096
|
+
external: "external";
|
|
5097
|
+
}>;
|
|
5098
|
+
file: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4238
5099
|
url: import("zod").ZodURL;
|
|
4239
5100
|
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
4240
|
-
}, import("zod/v4/core").$strip
|
|
4241
|
-
|
|
4242
|
-
type: import("zod").ZodLiteral<"file_upload">;
|
|
4243
|
-
file_upload: import("zod").ZodObject<{
|
|
4244
|
-
id: import("zod").ZodUUID;
|
|
4245
|
-
}, import("zod/v4/core").$strip>;
|
|
4246
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
4247
|
-
type: import("zod").ZodLiteral<"external">;
|
|
4248
|
-
external: import("zod").ZodObject<{
|
|
5101
|
+
}, import("zod/v4/core").$strip>>;
|
|
5102
|
+
external: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4249
5103
|
url: import("zod").ZodURL;
|
|
4250
|
-
}, import("zod/v4/core").$strip
|
|
4251
|
-
|
|
5104
|
+
}, import("zod/v4/core").$strip>>;
|
|
5105
|
+
file_upload: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5106
|
+
id: import("zod").ZodUUID;
|
|
5107
|
+
}, import("zod/v4/core").$strip>>;
|
|
5108
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5109
|
+
}, import("zod/v4/core").$strip>>;
|
|
4252
5110
|
}, import("zod/v4/core").$strip>;
|
|
4253
5111
|
ModelClass: typeof Block;
|
|
4254
5112
|
listType: "block";
|
|
@@ -4317,6 +5175,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
4317
5175
|
*
|
|
4318
5176
|
* @param options - Filter, sort, and limit options
|
|
4319
5177
|
* @returns Matching meeting-notes blocks
|
|
5178
|
+
* @throws {NotionValidationError} If `limit` is outside the range 1 to 50.
|
|
4320
5179
|
*
|
|
4321
5180
|
* @see https://developers.notion.com/reference/query-meeting-notes
|
|
4322
5181
|
*/
|