@visus-io/notion-sdk-ts 2.0.1 → 3.0.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/README.md +66 -23
- package/dist/api/base.api.d.ts +1 -1
- package/dist/api/blocks.api.d.ts +266 -87
- package/dist/api/comments.api.d.ts +7 -7
- package/dist/api/dataSources.api.d.ts +28 -31
- package/dist/api/dataSources.api.js +18 -19
- package/dist/api/databases.api.d.ts +27 -22
- package/dist/api/databases.api.js +18 -8
- package/dist/api/fileUploads.api.d.ts +2 -2
- package/dist/api/pages.api.d.ts +43 -38
- package/dist/api/pages.api.js +18 -8
- package/dist/api/users.api.d.ts +1 -1
- package/dist/client.d.ts +5 -3
- package/dist/client.js +7 -3
- package/dist/helpers/block.helpers.d.ts +4 -0
- package/dist/helpers/block.helpers.js +11 -0
- package/dist/helpers/parent.helpers.d.ts +2 -2
- package/dist/helpers/parent.helpers.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/models/base.model.d.ts +2 -2
- package/dist/models/block.model.d.ts +0 -1
- package/dist/models/block.model.js +0 -3
- package/dist/models/dataSource.model.d.ts +0 -4
- package/dist/models/dataSource.model.js +0 -6
- package/dist/models/database.model.d.ts +0 -4
- package/dist/models/database.model.js +0 -6
- package/dist/models/page.model.d.ts +0 -1
- package/dist/models/page.model.js +0 -3
- package/dist/schemas/block.schema.d.ts +275 -82
- package/dist/schemas/block.schema.js +165 -82
- package/dist/schemas/comment.schema.d.ts +9 -9
- package/dist/schemas/comment.schema.js +54 -20
- package/dist/schemas/dataSource.schema.d.ts +13 -14
- package/dist/schemas/dataSource.schema.js +46 -14
- package/dist/schemas/database.schema.d.ts +13 -14
- package/dist/schemas/database.schema.js +50 -17
- package/dist/schemas/emoji.schema.d.ts +1 -1
- package/dist/schemas/emoji.schema.js +37 -4
- package/dist/schemas/file.schema.d.ts +3 -3
- package/dist/schemas/file.schema.js +49 -15
- package/dist/schemas/fileUpload.schema.d.ts +3 -3
- package/dist/schemas/fileUpload.schema.js +47 -13
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/page.schema.d.ts +30 -31
- package/dist/schemas/page.schema.js +46 -13
- package/dist/schemas/pageProperties.schema.d.ts +47 -47
- package/dist/schemas/pageProperties.schema.js +162 -128
- package/dist/schemas/pagination.schema.d.ts +1 -1
- package/dist/schemas/pagination.schema.js +40 -7
- package/dist/schemas/parent.schema.d.ts +1 -1
- package/dist/schemas/parent.schema.js +51 -18
- package/dist/schemas/propertyObjects.schema.d.ts +1 -1
- package/dist/schemas/propertyObjects.schema.js +194 -161
- package/dist/schemas/richText.schema.d.ts +7 -7
- package/dist/schemas/richText.schema.js +95 -56
- package/dist/schemas/shared.schema.d.ts +15 -0
- package/dist/schemas/shared.schema.js +54 -0
- package/dist/schemas/user.schema.d.ts +3 -3
- package/dist/schemas/user.schema.js +63 -30
- package/package.json +7 -5
package/dist/api/blocks.api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NotionClient } from '../client';
|
|
2
|
-
import { type NotionBlock, type PaginatedList, type PaginationParameters } from '../schemas';
|
|
2
|
+
import { type BlockPosition, type NotionBlock, type PaginatedList, type PaginationParameters } from '../schemas';
|
|
3
3
|
import { Block } from '../models';
|
|
4
4
|
import { BaseAPI } from './base.api';
|
|
5
5
|
/**
|
|
@@ -12,11 +12,11 @@ export interface RetrieveBlockOptions {
|
|
|
12
12
|
/**
|
|
13
13
|
* Options for appending children to a block.
|
|
14
14
|
*/
|
|
15
|
-
export interface AppendBlockChildrenOptions
|
|
15
|
+
export interface AppendBlockChildrenOptions {
|
|
16
16
|
/** Array of block objects to append (max 100) */
|
|
17
17
|
children: unknown[];
|
|
18
|
-
/** Position to insert the children */
|
|
19
|
-
|
|
18
|
+
/** Position to insert the children (default: end) */
|
|
19
|
+
position?: BlockPosition;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Response from appending children to a block.
|
|
@@ -35,8 +35,8 @@ export interface AppendBlockChildrenResponse {
|
|
|
35
35
|
export interface UpdateBlockOptions {
|
|
36
36
|
/** Block type-specific properties to update (depends on block type) */
|
|
37
37
|
[blockType: string]: unknown;
|
|
38
|
-
/**
|
|
39
|
-
|
|
38
|
+
/** Move to trash or restore from trash */
|
|
39
|
+
in_trash?: boolean;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Blocks API client for working with Notion blocks.
|
|
@@ -95,10 +95,11 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
95
95
|
template: "template";
|
|
96
96
|
to_do: "to_do";
|
|
97
97
|
toggle: "toggle";
|
|
98
|
+
meeting_notes: "meeting_notes";
|
|
98
99
|
unsupported: "unsupported";
|
|
99
100
|
video: "video";
|
|
100
101
|
}>;
|
|
101
|
-
created_time: import("zod").ZodISODateTime
|
|
102
|
+
created_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
102
103
|
created_by: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
103
104
|
object: import("zod").ZodLiteral<"user">;
|
|
104
105
|
id: import("zod").ZodUUID;
|
|
@@ -124,14 +125,14 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
124
125
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
125
126
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
126
127
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
127
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
128
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
128
129
|
}, import("zod/v4/core").$strip>>;
|
|
129
130
|
}, import("zod/v4/core").$strip>;
|
|
130
131
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
131
132
|
object: import("zod").ZodLiteral<"user">;
|
|
132
133
|
id: import("zod").ZodUUID;
|
|
133
134
|
}, import("zod/v4/core").$strip>]>;
|
|
134
|
-
last_edited_time: import("zod").ZodISODateTime
|
|
135
|
+
last_edited_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
135
136
|
last_edited_by: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
136
137
|
object: import("zod").ZodLiteral<"user">;
|
|
137
138
|
id: import("zod").ZodUUID;
|
|
@@ -157,21 +158,20 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
157
158
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
158
159
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
159
160
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
160
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
161
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
161
162
|
}, import("zod/v4/core").$strip>>;
|
|
162
163
|
}, import("zod/v4/core").$strip>;
|
|
163
164
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
164
165
|
object: import("zod").ZodLiteral<"user">;
|
|
165
166
|
id: import("zod").ZodUUID;
|
|
166
167
|
}, import("zod/v4/core").$strip>]>;
|
|
167
|
-
archived: import("zod").ZodBoolean;
|
|
168
168
|
in_trash: import("zod").ZodBoolean;
|
|
169
169
|
has_children: import("zod").ZodBoolean;
|
|
170
170
|
audio: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
171
171
|
type: import("zod").ZodLiteral<"file">;
|
|
172
172
|
file: import("zod").ZodObject<{
|
|
173
173
|
url: import("zod").ZodURL;
|
|
174
|
-
expiry_time: import("zod").ZodISODateTime
|
|
174
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
175
175
|
}, import("zod/v4/core").$strip>;
|
|
176
176
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
177
177
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -233,8 +233,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
233
233
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
234
234
|
type: import("zod").ZodLiteral<"date">;
|
|
235
235
|
date: import("zod").ZodObject<{
|
|
236
|
-
start: import("zod").
|
|
237
|
-
end: import("zod").ZodNullable<import("zod").
|
|
236
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
237
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
238
238
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
239
239
|
}, import("zod/v4/core").$strip>;
|
|
240
240
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -286,7 +286,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
286
286
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
287
287
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
288
288
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
289
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
289
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
290
290
|
}, import("zod/v4/core").$strip>>;
|
|
291
291
|
}, import("zod/v4/core").$strip>;
|
|
292
292
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -412,8 +412,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
412
412
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
413
413
|
type: import("zod").ZodLiteral<"date">;
|
|
414
414
|
date: import("zod").ZodObject<{
|
|
415
|
-
start: import("zod").
|
|
416
|
-
end: import("zod").ZodNullable<import("zod").
|
|
415
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
416
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
417
417
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
418
418
|
}, import("zod/v4/core").$strip>;
|
|
419
419
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -465,7 +465,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
465
465
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
466
466
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
467
467
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
468
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
468
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
469
469
|
}, import("zod/v4/core").$strip>>;
|
|
470
470
|
}, import("zod/v4/core").$strip>;
|
|
471
471
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -560,7 +560,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
560
560
|
yellow: "yellow";
|
|
561
561
|
yellow_background: "yellow_background";
|
|
562
562
|
}>;
|
|
563
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
563
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
564
564
|
}, import("zod/v4/core").$strip>>;
|
|
565
565
|
callout: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
566
566
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -611,8 +611,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
611
611
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
612
612
|
type: import("zod").ZodLiteral<"date">;
|
|
613
613
|
date: import("zod").ZodObject<{
|
|
614
|
-
start: import("zod").
|
|
615
|
-
end: import("zod").ZodNullable<import("zod").
|
|
614
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
615
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
616
616
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
617
617
|
}, import("zod/v4/core").$strip>;
|
|
618
618
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -664,7 +664,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
664
664
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
665
665
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
666
666
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
667
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
667
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
668
668
|
}, import("zod/v4/core").$strip>>;
|
|
669
669
|
}, import("zod/v4/core").$strip>;
|
|
670
670
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -745,7 +745,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
745
745
|
type: import("zod").ZodLiteral<"file">;
|
|
746
746
|
file: import("zod").ZodObject<{
|
|
747
747
|
url: import("zod").ZodURL;
|
|
748
|
-
expiry_time: import("zod").ZodISODateTime
|
|
748
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
749
749
|
}, import("zod/v4/core").$strip>;
|
|
750
750
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
751
751
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -779,7 +779,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
779
779
|
yellow: "yellow";
|
|
780
780
|
yellow_background: "yellow_background";
|
|
781
781
|
}>;
|
|
782
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
782
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
783
783
|
}, import("zod/v4/core").$strip>>;
|
|
784
784
|
child_database: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
785
785
|
title: import("zod").ZodString;
|
|
@@ -836,8 +836,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
836
836
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
837
837
|
type: import("zod").ZodLiteral<"date">;
|
|
838
838
|
date: import("zod").ZodObject<{
|
|
839
|
-
start: import("zod").
|
|
840
|
-
end: import("zod").ZodNullable<import("zod").
|
|
839
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
840
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
841
841
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
842
842
|
}, import("zod/v4/core").$strip>;
|
|
843
843
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -889,7 +889,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
889
889
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
890
890
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
891
891
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
892
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
892
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
893
893
|
}, import("zod/v4/core").$strip>>;
|
|
894
894
|
}, import("zod/v4/core").$strip>;
|
|
895
895
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1011,8 +1011,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1011
1011
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1012
1012
|
type: import("zod").ZodLiteral<"date">;
|
|
1013
1013
|
date: import("zod").ZodObject<{
|
|
1014
|
-
start: import("zod").
|
|
1015
|
-
end: import("zod").ZodNullable<import("zod").
|
|
1014
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1015
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1016
1016
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1017
1017
|
}, import("zod/v4/core").$strip>;
|
|
1018
1018
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1064,7 +1064,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1064
1064
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1065
1065
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1066
1066
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1067
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
1067
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
1068
1068
|
}, import("zod/v4/core").$strip>>;
|
|
1069
1069
|
}, import("zod/v4/core").$strip>;
|
|
1070
1070
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1216,7 +1216,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1216
1216
|
column_list: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
|
|
1217
1217
|
column: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1218
1218
|
width_ratio: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1219
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
1219
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1220
1220
|
}, import("zod/v4/core").$strip>>;
|
|
1221
1221
|
divider: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
|
|
1222
1222
|
embed: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1274,8 +1274,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1274
1274
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1275
1275
|
type: import("zod").ZodLiteral<"date">;
|
|
1276
1276
|
date: import("zod").ZodObject<{
|
|
1277
|
-
start: import("zod").
|
|
1278
|
-
end: import("zod").ZodNullable<import("zod").
|
|
1277
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1278
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1279
1279
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1280
1280
|
}, import("zod/v4/core").$strip>;
|
|
1281
1281
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1327,7 +1327,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1327
1327
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1328
1328
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1329
1329
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1330
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
1330
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
1331
1331
|
}, import("zod/v4/core").$strip>>;
|
|
1332
1332
|
}, import("zod/v4/core").$strip>;
|
|
1333
1333
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1410,7 +1410,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1410
1410
|
type: import("zod").ZodLiteral<"file">;
|
|
1411
1411
|
file: import("zod").ZodObject<{
|
|
1412
1412
|
url: import("zod").ZodURL;
|
|
1413
|
-
expiry_time: import("zod").ZodISODateTime
|
|
1413
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1414
1414
|
}, import("zod/v4/core").$strip>;
|
|
1415
1415
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1416
1416
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -1427,7 +1427,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1427
1427
|
type: import("zod").ZodLiteral<"file">;
|
|
1428
1428
|
file: import("zod").ZodObject<{
|
|
1429
1429
|
url: import("zod").ZodURL;
|
|
1430
|
-
expiry_time: import("zod").ZodISODateTime
|
|
1430
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1431
1431
|
}, import("zod/v4/core").$strip>;
|
|
1432
1432
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1433
1433
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -1444,7 +1444,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1444
1444
|
type: import("zod").ZodLiteral<"file">;
|
|
1445
1445
|
file: import("zod").ZodObject<{
|
|
1446
1446
|
url: import("zod").ZodURL;
|
|
1447
|
-
expiry_time: import("zod").ZodISODateTime
|
|
1447
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1448
1448
|
}, import("zod/v4/core").$strip>;
|
|
1449
1449
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1450
1450
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -1508,8 +1508,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1508
1508
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1509
1509
|
type: import("zod").ZodLiteral<"date">;
|
|
1510
1510
|
date: import("zod").ZodObject<{
|
|
1511
|
-
start: import("zod").
|
|
1512
|
-
end: import("zod").ZodNullable<import("zod").
|
|
1511
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1512
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1513
1513
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1514
1514
|
}, import("zod/v4/core").$strip>;
|
|
1515
1515
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1561,7 +1561,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1561
1561
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1562
1562
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1563
1563
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1564
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
1564
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
1565
1565
|
}, import("zod/v4/core").$strip>>;
|
|
1566
1566
|
}, import("zod/v4/core").$strip>;
|
|
1567
1567
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1657,7 +1657,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1657
1657
|
yellow_background: "yellow_background";
|
|
1658
1658
|
}>;
|
|
1659
1659
|
is_toggleable: import("zod").ZodBoolean;
|
|
1660
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
1660
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1661
1661
|
}, import("zod/v4/core").$strip>>;
|
|
1662
1662
|
heading_2: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1663
1663
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -1708,8 +1708,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1708
1708
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1709
1709
|
type: import("zod").ZodLiteral<"date">;
|
|
1710
1710
|
date: import("zod").ZodObject<{
|
|
1711
|
-
start: import("zod").
|
|
1712
|
-
end: import("zod").ZodNullable<import("zod").
|
|
1711
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1712
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1713
1713
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1714
1714
|
}, import("zod/v4/core").$strip>;
|
|
1715
1715
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1761,7 +1761,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1761
1761
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1762
1762
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1763
1763
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1764
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
1764
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
1765
1765
|
}, import("zod/v4/core").$strip>>;
|
|
1766
1766
|
}, import("zod/v4/core").$strip>;
|
|
1767
1767
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1857,7 +1857,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1857
1857
|
yellow_background: "yellow_background";
|
|
1858
1858
|
}>;
|
|
1859
1859
|
is_toggleable: import("zod").ZodBoolean;
|
|
1860
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
1860
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
1861
1861
|
}, import("zod/v4/core").$strip>>;
|
|
1862
1862
|
heading_3: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1863
1863
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -1908,8 +1908,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1908
1908
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1909
1909
|
type: import("zod").ZodLiteral<"date">;
|
|
1910
1910
|
date: import("zod").ZodObject<{
|
|
1911
|
-
start: import("zod").
|
|
1912
|
-
end: import("zod").ZodNullable<import("zod").
|
|
1911
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
1912
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
1913
1913
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1914
1914
|
}, import("zod/v4/core").$strip>;
|
|
1915
1915
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1961,7 +1961,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
1961
1961
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1962
1962
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1963
1963
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1964
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
1964
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
1965
1965
|
}, import("zod/v4/core").$strip>>;
|
|
1966
1966
|
}, import("zod/v4/core").$strip>;
|
|
1967
1967
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2057,13 +2057,13 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2057
2057
|
yellow_background: "yellow_background";
|
|
2058
2058
|
}>;
|
|
2059
2059
|
is_toggleable: import("zod").ZodBoolean;
|
|
2060
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2060
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2061
2061
|
}, import("zod/v4/core").$strip>>;
|
|
2062
2062
|
image: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
2063
2063
|
type: import("zod").ZodLiteral<"file">;
|
|
2064
2064
|
file: import("zod").ZodObject<{
|
|
2065
2065
|
url: import("zod").ZodURL;
|
|
2066
|
-
expiry_time: import("zod").ZodISODateTime
|
|
2066
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2067
2067
|
}, import("zod/v4/core").$strip>;
|
|
2068
2068
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2069
2069
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -2128,8 +2128,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2128
2128
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2129
2129
|
type: import("zod").ZodLiteral<"date">;
|
|
2130
2130
|
date: import("zod").ZodObject<{
|
|
2131
|
-
start: import("zod").
|
|
2132
|
-
end: import("zod").ZodNullable<import("zod").
|
|
2131
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2132
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2133
2133
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2134
2134
|
}, import("zod/v4/core").$strip>;
|
|
2135
2135
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2181,7 +2181,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2181
2181
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2182
2182
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2183
2183
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2184
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
2184
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
2185
2185
|
}, import("zod/v4/core").$strip>>;
|
|
2186
2186
|
}, import("zod/v4/core").$strip>;
|
|
2187
2187
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2276,13 +2276,13 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2276
2276
|
yellow: "yellow";
|
|
2277
2277
|
yellow_background: "yellow_background";
|
|
2278
2278
|
}>;
|
|
2279
|
-
list_start_index: import("zod").ZodOptional<import("zod").
|
|
2279
|
+
list_start_index: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
2280
2280
|
list_format: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2281
2281
|
numbers: "numbers";
|
|
2282
2282
|
letters: "letters";
|
|
2283
2283
|
roman: "roman";
|
|
2284
2284
|
}>>;
|
|
2285
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2285
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2286
2286
|
}, import("zod/v4/core").$strip>>;
|
|
2287
2287
|
paragraph: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2288
2288
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -2333,8 +2333,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2333
2333
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2334
2334
|
type: import("zod").ZodLiteral<"date">;
|
|
2335
2335
|
date: import("zod").ZodObject<{
|
|
2336
|
-
start: import("zod").
|
|
2337
|
-
end: import("zod").ZodNullable<import("zod").
|
|
2336
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2337
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2338
2338
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2339
2339
|
}, import("zod/v4/core").$strip>;
|
|
2340
2340
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2386,7 +2386,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2386
2386
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2387
2387
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2388
2388
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2389
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
2389
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
2390
2390
|
}, import("zod/v4/core").$strip>>;
|
|
2391
2391
|
}, import("zod/v4/core").$strip>;
|
|
2392
2392
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2481,7 +2481,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2481
2481
|
yellow: "yellow";
|
|
2482
2482
|
yellow_background: "yellow_background";
|
|
2483
2483
|
}>;
|
|
2484
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2484
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2485
2485
|
}, import("zod/v4/core").$strip>>;
|
|
2486
2486
|
pdf: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2487
2487
|
caption: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -2532,8 +2532,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2532
2532
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2533
2533
|
type: import("zod").ZodLiteral<"date">;
|
|
2534
2534
|
date: import("zod").ZodObject<{
|
|
2535
|
-
start: import("zod").
|
|
2536
|
-
end: import("zod").ZodNullable<import("zod").
|
|
2535
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2536
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2537
2537
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2538
2538
|
}, import("zod/v4/core").$strip>;
|
|
2539
2539
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2585,7 +2585,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2585
2585
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2586
2586
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2587
2587
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2588
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
2588
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
2589
2589
|
}, import("zod/v4/core").$strip>>;
|
|
2590
2590
|
}, import("zod/v4/core").$strip>;
|
|
2591
2591
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2668,7 +2668,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2668
2668
|
type: import("zod").ZodLiteral<"file">;
|
|
2669
2669
|
file: import("zod").ZodObject<{
|
|
2670
2670
|
url: import("zod").ZodURL;
|
|
2671
|
-
expiry_time: import("zod").ZodISODateTime
|
|
2671
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2672
2672
|
}, import("zod/v4/core").$strip>;
|
|
2673
2673
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2674
2674
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -2685,7 +2685,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2685
2685
|
type: import("zod").ZodLiteral<"file">;
|
|
2686
2686
|
file: import("zod").ZodObject<{
|
|
2687
2687
|
url: import("zod").ZodURL;
|
|
2688
|
-
expiry_time: import("zod").ZodISODateTime
|
|
2688
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2689
2689
|
}, import("zod/v4/core").$strip>;
|
|
2690
2690
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2691
2691
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -2702,7 +2702,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2702
2702
|
type: import("zod").ZodLiteral<"file">;
|
|
2703
2703
|
file: import("zod").ZodObject<{
|
|
2704
2704
|
url: import("zod").ZodURL;
|
|
2705
|
-
expiry_time: import("zod").ZodISODateTime
|
|
2705
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2706
2706
|
}, import("zod/v4/core").$strip>;
|
|
2707
2707
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2708
2708
|
type: import("zod").ZodLiteral<"file_upload">;
|
|
@@ -2766,8 +2766,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2766
2766
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2767
2767
|
type: import("zod").ZodLiteral<"date">;
|
|
2768
2768
|
date: import("zod").ZodObject<{
|
|
2769
|
-
start: import("zod").
|
|
2770
|
-
end: import("zod").ZodNullable<import("zod").
|
|
2769
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
2770
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
2771
2771
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2772
2772
|
}, import("zod/v4/core").$strip>;
|
|
2773
2773
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2819,7 +2819,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2819
2819
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2820
2820
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2821
2821
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2822
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
2822
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
2823
2823
|
}, import("zod/v4/core").$strip>>;
|
|
2824
2824
|
}, import("zod/v4/core").$strip>;
|
|
2825
2825
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2914,17 +2914,17 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
2914
2914
|
yellow: "yellow";
|
|
2915
2915
|
yellow_background: "yellow_background";
|
|
2916
2916
|
}>;
|
|
2917
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2917
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2918
2918
|
}, import("zod/v4/core").$strip>>;
|
|
2919
2919
|
synced_block: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2920
2920
|
synced_from: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2921
2921
|
type: import("zod").ZodLiteral<"block_id">;
|
|
2922
2922
|
block_id: import("zod").ZodUUID;
|
|
2923
2923
|
}, import("zod/v4/core").$strip>>;
|
|
2924
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
2924
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
2925
2925
|
}, import("zod/v4/core").$strip>>;
|
|
2926
2926
|
table: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2927
|
-
table_width: import("zod").
|
|
2927
|
+
table_width: import("zod").ZodInt;
|
|
2928
2928
|
has_column_header: import("zod").ZodBoolean;
|
|
2929
2929
|
has_row_header: import("zod").ZodBoolean;
|
|
2930
2930
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -3000,8 +3000,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3000
3000
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3001
3001
|
type: import("zod").ZodLiteral<"date">;
|
|
3002
3002
|
date: import("zod").ZodObject<{
|
|
3003
|
-
start: import("zod").
|
|
3004
|
-
end: import("zod").ZodNullable<import("zod").
|
|
3003
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3004
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3005
3005
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3006
3006
|
}, import("zod/v4/core").$strip>;
|
|
3007
3007
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3053,7 +3053,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3053
3053
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3054
3054
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3055
3055
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3056
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
3056
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
3057
3057
|
}, import("zod/v4/core").$strip>>;
|
|
3058
3058
|
}, import("zod/v4/core").$strip>;
|
|
3059
3059
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3177,8 +3177,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3177
3177
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3178
3178
|
type: import("zod").ZodLiteral<"date">;
|
|
3179
3179
|
date: import("zod").ZodObject<{
|
|
3180
|
-
start: import("zod").
|
|
3181
|
-
end: import("zod").ZodNullable<import("zod").
|
|
3180
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3181
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3182
3182
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3183
3183
|
}, import("zod/v4/core").$strip>;
|
|
3184
3184
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3230,7 +3230,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3230
3230
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3231
3231
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3232
3232
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3233
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
3233
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
3234
3234
|
}, import("zod/v4/core").$strip>>;
|
|
3235
3235
|
}, import("zod/v4/core").$strip>;
|
|
3236
3236
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3304,7 +3304,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3304
3304
|
plain_text: import("zod").ZodString;
|
|
3305
3305
|
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3306
3306
|
}, import("zod/v4/core").$strip>], "type">>;
|
|
3307
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
3307
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3308
3308
|
}, import("zod/v4/core").$strip>>;
|
|
3309
3309
|
to_do: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3310
3310
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -3355,8 +3355,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3355
3355
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3356
3356
|
type: import("zod").ZodLiteral<"date">;
|
|
3357
3357
|
date: import("zod").ZodObject<{
|
|
3358
|
-
start: import("zod").
|
|
3359
|
-
end: import("zod").ZodNullable<import("zod").
|
|
3358
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3359
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3360
3360
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3361
3361
|
}, import("zod/v4/core").$strip>;
|
|
3362
3362
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3408,7 +3408,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3408
3408
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3409
3409
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3410
3410
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3411
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
3411
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
3412
3412
|
}, import("zod/v4/core").$strip>>;
|
|
3413
3413
|
}, import("zod/v4/core").$strip>;
|
|
3414
3414
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3504,7 +3504,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3504
3504
|
yellow: "yellow";
|
|
3505
3505
|
yellow_background: "yellow_background";
|
|
3506
3506
|
}>;
|
|
3507
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
3507
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3508
3508
|
}, import("zod/v4/core").$strip>>;
|
|
3509
3509
|
toggle: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3510
3510
|
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -3555,8 +3555,8 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3555
3555
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3556
3556
|
type: import("zod").ZodLiteral<"date">;
|
|
3557
3557
|
date: import("zod").ZodObject<{
|
|
3558
|
-
start: import("zod").
|
|
3559
|
-
end: import("zod").ZodNullable<import("zod").
|
|
3558
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3559
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3560
3560
|
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3561
3561
|
}, import("zod/v4/core").$strip>;
|
|
3562
3562
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3608,7 +3608,7 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3608
3608
|
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3609
3609
|
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3610
3610
|
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3611
|
-
max_file_upload_size_in_bytes: import("zod").
|
|
3611
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
3612
3612
|
}, import("zod/v4/core").$strip>>;
|
|
3613
3613
|
}, import("zod/v4/core").$strip>;
|
|
3614
3614
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3703,13 +3703,192 @@ export declare class BlocksAPI extends BaseAPI<NotionBlock, Block> {
|
|
|
3703
3703
|
yellow: "yellow";
|
|
3704
3704
|
yellow_background: "yellow_background";
|
|
3705
3705
|
}>;
|
|
3706
|
-
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").
|
|
3706
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3707
3707
|
}, import("zod/v4/core").$strip>>;
|
|
3708
|
+
meeting_notes: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3709
|
+
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3710
|
+
type: import("zod").ZodLiteral<"text">;
|
|
3711
|
+
text: import("zod").ZodObject<{
|
|
3712
|
+
content: import("zod").ZodString;
|
|
3713
|
+
link: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3714
|
+
url: import("zod").ZodURL;
|
|
3715
|
+
}, import("zod/v4/core").$strip>>;
|
|
3716
|
+
}, import("zod/v4/core").$strip>;
|
|
3717
|
+
annotations: import("zod").ZodObject<{
|
|
3718
|
+
bold: import("zod").ZodBoolean;
|
|
3719
|
+
italic: import("zod").ZodBoolean;
|
|
3720
|
+
strikethrough: import("zod").ZodBoolean;
|
|
3721
|
+
underline: import("zod").ZodBoolean;
|
|
3722
|
+
code: import("zod").ZodBoolean;
|
|
3723
|
+
color: import("zod").ZodEnum<{
|
|
3724
|
+
blue: "blue";
|
|
3725
|
+
blue_background: "blue_background";
|
|
3726
|
+
brown: "brown";
|
|
3727
|
+
brown_background: "brown_background";
|
|
3728
|
+
default: "default";
|
|
3729
|
+
gray: "gray";
|
|
3730
|
+
gray_background: "gray_background";
|
|
3731
|
+
green: "green";
|
|
3732
|
+
green_background: "green_background";
|
|
3733
|
+
orange: "orange";
|
|
3734
|
+
orange_background: "orange_background";
|
|
3735
|
+
pink: "pink";
|
|
3736
|
+
pink_background: "pink_background";
|
|
3737
|
+
purple: "purple";
|
|
3738
|
+
purple_background: "purple_background";
|
|
3739
|
+
red: "red";
|
|
3740
|
+
red_background: "red_background";
|
|
3741
|
+
yellow: "yellow";
|
|
3742
|
+
yellow_background: "yellow_background";
|
|
3743
|
+
}>;
|
|
3744
|
+
}, import("zod/v4/core").$strip>;
|
|
3745
|
+
plain_text: import("zod").ZodString;
|
|
3746
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3747
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3748
|
+
type: import("zod").ZodLiteral<"mention">;
|
|
3749
|
+
mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3750
|
+
type: import("zod").ZodLiteral<"database">;
|
|
3751
|
+
database: import("zod").ZodObject<{
|
|
3752
|
+
id: import("zod").ZodUUID;
|
|
3753
|
+
}, import("zod/v4/core").$strip>;
|
|
3754
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3755
|
+
type: import("zod").ZodLiteral<"date">;
|
|
3756
|
+
date: import("zod").ZodObject<{
|
|
3757
|
+
start: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3758
|
+
end: import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>>;
|
|
3759
|
+
time_zone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3760
|
+
}, import("zod/v4/core").$strip>;
|
|
3761
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3762
|
+
type: import("zod").ZodLiteral<"link_preview">;
|
|
3763
|
+
link_preview: import("zod").ZodObject<{
|
|
3764
|
+
url: import("zod").ZodURL;
|
|
3765
|
+
}, import("zod/v4/core").$strip>;
|
|
3766
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3767
|
+
type: import("zod").ZodLiteral<"page">;
|
|
3768
|
+
page: import("zod").ZodObject<{
|
|
3769
|
+
id: import("zod").ZodUUID;
|
|
3770
|
+
}, import("zod/v4/core").$strip>;
|
|
3771
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3772
|
+
type: import("zod").ZodLiteral<"template_mention">;
|
|
3773
|
+
template_mention: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3774
|
+
type: import("zod").ZodLiteral<"template_mention_date">;
|
|
3775
|
+
template_mention_date: import("zod").ZodEnum<{
|
|
3776
|
+
today: "today";
|
|
3777
|
+
now: "now";
|
|
3778
|
+
}>;
|
|
3779
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3780
|
+
type: import("zod").ZodLiteral<"template_mention_user">;
|
|
3781
|
+
template_mention_user: import("zod").ZodLiteral<"me">;
|
|
3782
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
3783
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3784
|
+
type: import("zod").ZodLiteral<"user">;
|
|
3785
|
+
user: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3786
|
+
object: import("zod").ZodLiteral<"user">;
|
|
3787
|
+
id: import("zod").ZodUUID;
|
|
3788
|
+
type: import("zod").ZodLiteral<"person">;
|
|
3789
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3790
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
3791
|
+
person: import("zod").ZodObject<{
|
|
3792
|
+
email: import("zod").ZodEmail;
|
|
3793
|
+
}, import("zod/v4/core").$strip>;
|
|
3794
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3795
|
+
object: import("zod").ZodLiteral<"user">;
|
|
3796
|
+
id: import("zod").ZodUUID;
|
|
3797
|
+
type: import("zod").ZodLiteral<"bot">;
|
|
3798
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3799
|
+
avatar_url: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodURL, import("zod").ZodNull]>>;
|
|
3800
|
+
bot: import("zod").ZodObject<{
|
|
3801
|
+
owner: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3802
|
+
type: import("zod").ZodLiteral<"workspace">;
|
|
3803
|
+
workspace: import("zod").ZodLiteral<true>;
|
|
3804
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3805
|
+
type: import("zod").ZodLiteral<"user">;
|
|
3806
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
3807
|
+
workspace_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3808
|
+
workspace_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3809
|
+
workspace_limits: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3810
|
+
max_file_upload_size_in_bytes: import("zod").ZodInt;
|
|
3811
|
+
}, import("zod/v4/core").$strip>>;
|
|
3812
|
+
}, import("zod/v4/core").$strip>;
|
|
3813
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3814
|
+
object: import("zod").ZodLiteral<"user">;
|
|
3815
|
+
id: import("zod").ZodUUID;
|
|
3816
|
+
}, import("zod/v4/core").$strip>]>;
|
|
3817
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
3818
|
+
annotations: import("zod").ZodObject<{
|
|
3819
|
+
bold: import("zod").ZodBoolean;
|
|
3820
|
+
italic: import("zod").ZodBoolean;
|
|
3821
|
+
strikethrough: import("zod").ZodBoolean;
|
|
3822
|
+
underline: import("zod").ZodBoolean;
|
|
3823
|
+
code: import("zod").ZodBoolean;
|
|
3824
|
+
color: import("zod").ZodEnum<{
|
|
3825
|
+
blue: "blue";
|
|
3826
|
+
blue_background: "blue_background";
|
|
3827
|
+
brown: "brown";
|
|
3828
|
+
brown_background: "brown_background";
|
|
3829
|
+
default: "default";
|
|
3830
|
+
gray: "gray";
|
|
3831
|
+
gray_background: "gray_background";
|
|
3832
|
+
green: "green";
|
|
3833
|
+
green_background: "green_background";
|
|
3834
|
+
orange: "orange";
|
|
3835
|
+
orange_background: "orange_background";
|
|
3836
|
+
pink: "pink";
|
|
3837
|
+
pink_background: "pink_background";
|
|
3838
|
+
purple: "purple";
|
|
3839
|
+
purple_background: "purple_background";
|
|
3840
|
+
red: "red";
|
|
3841
|
+
red_background: "red_background";
|
|
3842
|
+
yellow: "yellow";
|
|
3843
|
+
yellow_background: "yellow_background";
|
|
3844
|
+
}>;
|
|
3845
|
+
}, import("zod/v4/core").$strip>;
|
|
3846
|
+
plain_text: import("zod").ZodString;
|
|
3847
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3848
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3849
|
+
type: import("zod").ZodLiteral<"equation">;
|
|
3850
|
+
equation: import("zod").ZodObject<{
|
|
3851
|
+
expression: import("zod").ZodString;
|
|
3852
|
+
}, import("zod/v4/core").$strip>;
|
|
3853
|
+
annotations: import("zod").ZodObject<{
|
|
3854
|
+
bold: import("zod").ZodBoolean;
|
|
3855
|
+
italic: import("zod").ZodBoolean;
|
|
3856
|
+
strikethrough: import("zod").ZodBoolean;
|
|
3857
|
+
underline: import("zod").ZodBoolean;
|
|
3858
|
+
code: import("zod").ZodBoolean;
|
|
3859
|
+
color: import("zod").ZodEnum<{
|
|
3860
|
+
blue: "blue";
|
|
3861
|
+
blue_background: "blue_background";
|
|
3862
|
+
brown: "brown";
|
|
3863
|
+
brown_background: "brown_background";
|
|
3864
|
+
default: "default";
|
|
3865
|
+
gray: "gray";
|
|
3866
|
+
gray_background: "gray_background";
|
|
3867
|
+
green: "green";
|
|
3868
|
+
green_background: "green_background";
|
|
3869
|
+
orange: "orange";
|
|
3870
|
+
orange_background: "orange_background";
|
|
3871
|
+
pink: "pink";
|
|
3872
|
+
pink_background: "pink_background";
|
|
3873
|
+
purple: "purple";
|
|
3874
|
+
purple_background: "purple_background";
|
|
3875
|
+
red: "red";
|
|
3876
|
+
red_background: "red_background";
|
|
3877
|
+
yellow: "yellow";
|
|
3878
|
+
yellow_background: "yellow_background";
|
|
3879
|
+
}>;
|
|
3880
|
+
}, import("zod/v4/core").$strip>;
|
|
3881
|
+
plain_text: import("zod").ZodString;
|
|
3882
|
+
href: import("zod").ZodNullable<import("zod").ZodURL>;
|
|
3883
|
+
}, import("zod/v4/core").$strip>], "type">>;
|
|
3884
|
+
children: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>>;
|
|
3885
|
+
}, import("zod/v4/core").$strip>>;
|
|
3886
|
+
unsupported: import("zod").ZodOptional<import("zod").ZodObject<{}, import("zod/v4/core").$strip>>;
|
|
3708
3887
|
video: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3709
3888
|
type: import("zod").ZodLiteral<"file">;
|
|
3710
3889
|
file: import("zod").ZodObject<{
|
|
3711
3890
|
url: import("zod").ZodURL;
|
|
3712
|
-
expiry_time: import("zod").ZodISODateTime
|
|
3891
|
+
expiry_time: import("zod").ZodUnion<readonly [import("zod").ZodISODateTime, import("zod").ZodISODate]>;
|
|
3713
3892
|
}, import("zod/v4/core").$strip>;
|
|
3714
3893
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
3715
3894
|
type: import("zod").ZodLiteral<"file_upload">;
|