@keystrokehq/notion 0.1.3 → 0.1.4
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/actions/add-multiple-page-content.d.cts +17 -5
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
- package/dist/actions/add-multiple-page-content.d.mts +17 -5
- package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
- package/dist/actions/append-code-blocks.d.cts +15 -3
- package/dist/actions/append-code-blocks.d.mts +15 -3
- package/dist/actions/append-layout-blocks.d.cts +15 -3
- package/dist/actions/append-layout-blocks.d.mts +15 -3
- package/dist/actions/append-media-blocks.d.cts +15 -3
- package/dist/actions/append-media-blocks.d.mts +15 -3
- package/dist/actions/append-table-blocks.d.cts +15 -3
- package/dist/actions/append-table-blocks.d.mts +15 -3
- package/dist/actions/append-task-blocks.d.cts +15 -3
- package/dist/actions/append-task-blocks.d.mts +15 -3
- package/dist/actions/append-text-blocks.d.cts +15 -3
- package/dist/actions/append-text-blocks.d.mts +15 -3
- package/dist/actions/archive-notion-page.d.cts +13 -1
- package/dist/actions/archive-notion-page.d.mts +13 -1
- package/dist/actions/create-comment.d.cts +17 -5
- package/dist/actions/create-comment.d.mts +17 -5
- package/dist/actions/create-database.d.cts +17 -5
- package/dist/actions/create-database.d.mts +17 -5
- package/dist/actions/create-file-upload.d.cts +13 -1
- package/dist/actions/create-file-upload.d.mts +13 -1
- package/dist/actions/create-notion-page.d.cts +13 -1
- package/dist/actions/create-notion-page.d.mts +13 -1
- package/dist/actions/delete-block.d.cts +30 -18
- package/dist/actions/delete-block.d.mts +30 -18
- package/dist/actions/duplicate-page.d.cts +13 -1
- package/dist/actions/duplicate-page.d.mts +13 -1
- package/dist/actions/fetch-all-block-contents.d.cts +13 -1
- package/dist/actions/fetch-all-block-contents.d.mts +13 -1
- package/dist/actions/fetch-block-contents.d.cts +13 -1
- package/dist/actions/fetch-block-contents.d.mts +13 -1
- package/dist/actions/fetch-block-metadata.d.cts +29 -17
- package/dist/actions/fetch-block-metadata.d.mts +29 -17
- package/dist/actions/fetch-comments.d.cts +17 -5
- package/dist/actions/fetch-comments.d.mts +17 -5
- package/dist/actions/fetch-data.d.cts +35 -23
- package/dist/actions/fetch-data.d.mts +35 -23
- package/dist/actions/fetch-database.d.cts +13 -1
- package/dist/actions/fetch-database.d.mts +13 -1
- package/dist/actions/fetch-row.d.cts +15 -3
- package/dist/actions/fetch-row.d.mts +15 -3
- package/dist/actions/get-about-user.d.cts +14 -2
- package/dist/actions/get-about-user.d.mts +14 -2
- package/dist/actions/get-page-markdown.d.cts +13 -1
- package/dist/actions/get-page-markdown.d.mts +13 -1
- package/dist/actions/get-page-property-action.d.cts +13 -1
- package/dist/actions/get-page-property-action.d.mts +13 -1
- package/dist/actions/insert-row-database.d.cts +21 -9
- package/dist/actions/insert-row-database.d.mts +21 -9
- package/dist/actions/insert-row-from-nl.d.cts +13 -1
- package/dist/actions/insert-row-from-nl.d.mts +13 -1
- package/dist/actions/list-data-source-templates.d.cts +13 -1
- package/dist/actions/list-data-source-templates.d.mts +13 -1
- package/dist/actions/list-file-uploads.d.cts +13 -1
- package/dist/actions/list-file-uploads.d.mts +13 -1
- package/dist/actions/list-users.d.cts +15 -3
- package/dist/actions/list-users.d.mts +15 -3
- package/dist/actions/move-page.d.cts +13 -1
- package/dist/actions/move-page.d.mts +13 -1
- package/dist/actions/query-data-source.d.cts +18 -6
- package/dist/actions/query-data-source.d.cts.map +1 -1
- package/dist/actions/query-data-source.d.mts +18 -6
- package/dist/actions/query-data-source.d.mts.map +1 -1
- package/dist/actions/query-database-with-filter.d.cts +13 -1
- package/dist/actions/query-database-with-filter.d.cts.map +1 -1
- package/dist/actions/query-database-with-filter.d.mts +13 -1
- package/dist/actions/query-database-with-filter.d.mts.map +1 -1
- package/dist/actions/query-database.d.cts +13 -1
- package/dist/actions/query-database.d.mts +13 -1
- package/dist/actions/replace-page-content.d.cts +13 -1
- package/dist/actions/replace-page-content.d.mts +13 -1
- package/dist/actions/retrieve-comment.d.cts +13 -1
- package/dist/actions/retrieve-comment.d.mts +13 -1
- package/dist/actions/retrieve-database-property.d.cts +13 -1
- package/dist/actions/retrieve-database-property.d.mts +13 -1
- package/dist/actions/retrieve-file-upload.d.cts +13 -1
- package/dist/actions/retrieve-file-upload.d.mts +13 -1
- package/dist/actions/retrieve-page.d.cts +15 -3
- package/dist/actions/retrieve-page.d.mts +15 -3
- package/dist/actions/search-notion-page.d.cts +31 -19
- package/dist/actions/search-notion-page.d.mts +31 -19
- package/dist/actions/send-file-upload.d.cts +13 -1
- package/dist/actions/send-file-upload.d.mts +13 -1
- package/dist/actions/update-block.d.cts +13 -1
- package/dist/actions/update-block.d.cts.map +1 -1
- package/dist/actions/update-block.d.mts +13 -1
- package/dist/actions/update-block.d.mts.map +1 -1
- package/dist/actions/update-page.d.cts +13 -1
- package/dist/actions/update-page.d.mts +13 -1
- package/dist/actions/update-row-database.d.cts +17 -5
- package/dist/actions/update-row-database.d.mts +17 -5
- package/dist/actions/update-schema-database.d.cts +17 -5
- package/dist/actions/update-schema-database.d.mts +17 -5
- package/dist/actions/upsert-row-database.d.cts +13 -1
- package/dist/actions/upsert-row-database.d.mts +13 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -9,19 +9,19 @@ declare const NotionCreateDatabaseInput: z.ZodObject<{
|
|
|
9
9
|
type: z.ZodEnum<{
|
|
10
10
|
number: "number";
|
|
11
11
|
date: "date";
|
|
12
|
-
url: "url";
|
|
13
12
|
title: "title";
|
|
13
|
+
url: "url";
|
|
14
|
+
rich_text: "rich_text";
|
|
14
15
|
created_by: "created_by";
|
|
15
16
|
created_time: "created_time";
|
|
16
17
|
last_edited_by: "last_edited_by";
|
|
17
18
|
last_edited_time: "last_edited_time";
|
|
18
|
-
|
|
19
|
+
email: "email";
|
|
19
20
|
select: "select";
|
|
20
21
|
multi_select: "multi_select";
|
|
21
22
|
people: "people";
|
|
22
23
|
files: "files";
|
|
23
24
|
checkbox: "checkbox";
|
|
24
|
-
email: "email";
|
|
25
25
|
phone_number: "phone_number";
|
|
26
26
|
formula: "formula";
|
|
27
27
|
relation: "relation";
|
|
@@ -136,11 +136,23 @@ declare const notionCreateDatabase: import("@keystrokehq/action").WorkflowAction
|
|
|
136
136
|
properties?: {
|
|
137
137
|
[x: string]: unknown;
|
|
138
138
|
name: string;
|
|
139
|
-
type: "number" | "date" | "url" | "
|
|
139
|
+
type: "number" | "date" | "title" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "email" | "select" | "multi_select" | "people" | "files" | "checkbox" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
|
|
140
140
|
database_id?: string | undefined;
|
|
141
141
|
relation_type?: string | undefined;
|
|
142
142
|
}[] | undefined;
|
|
143
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
143
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
144
|
+
connectionId: z.ZodString;
|
|
145
|
+
entityId: z.ZodString;
|
|
146
|
+
instanceId: z.ZodString;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
accessToken: z.ZodString;
|
|
149
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
150
|
+
connectionId: z.ZodString;
|
|
151
|
+
entityId: z.ZodString;
|
|
152
|
+
instanceId: z.ZodString;
|
|
153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
154
|
+
accessToken: z.ZodString;
|
|
155
|
+
}, z.core.$strip>>]>;
|
|
144
156
|
//#endregion
|
|
145
157
|
export { notionCreateDatabase };
|
|
146
158
|
//# sourceMappingURL=create-database.d.cts.map
|
|
@@ -9,19 +9,19 @@ declare const NotionCreateDatabaseInput: z.ZodObject<{
|
|
|
9
9
|
type: z.ZodEnum<{
|
|
10
10
|
number: "number";
|
|
11
11
|
date: "date";
|
|
12
|
-
url: "url";
|
|
13
12
|
title: "title";
|
|
13
|
+
url: "url";
|
|
14
|
+
rich_text: "rich_text";
|
|
14
15
|
created_by: "created_by";
|
|
15
16
|
created_time: "created_time";
|
|
16
17
|
last_edited_by: "last_edited_by";
|
|
17
18
|
last_edited_time: "last_edited_time";
|
|
18
|
-
|
|
19
|
+
email: "email";
|
|
19
20
|
select: "select";
|
|
20
21
|
multi_select: "multi_select";
|
|
21
22
|
people: "people";
|
|
22
23
|
files: "files";
|
|
23
24
|
checkbox: "checkbox";
|
|
24
|
-
email: "email";
|
|
25
25
|
phone_number: "phone_number";
|
|
26
26
|
formula: "formula";
|
|
27
27
|
relation: "relation";
|
|
@@ -136,11 +136,23 @@ declare const notionCreateDatabase: import("@keystrokehq/action").WorkflowAction
|
|
|
136
136
|
properties?: {
|
|
137
137
|
[x: string]: unknown;
|
|
138
138
|
name: string;
|
|
139
|
-
type: "number" | "date" | "url" | "
|
|
139
|
+
type: "number" | "date" | "title" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "email" | "select" | "multi_select" | "people" | "files" | "checkbox" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
|
|
140
140
|
database_id?: string | undefined;
|
|
141
141
|
relation_type?: string | undefined;
|
|
142
142
|
}[] | undefined;
|
|
143
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
143
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
144
|
+
connectionId: z.ZodString;
|
|
145
|
+
entityId: z.ZodString;
|
|
146
|
+
instanceId: z.ZodString;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
+
accessToken: z.ZodString;
|
|
149
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
150
|
+
connectionId: z.ZodString;
|
|
151
|
+
entityId: z.ZodString;
|
|
152
|
+
instanceId: z.ZodString;
|
|
153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
154
|
+
accessToken: z.ZodString;
|
|
155
|
+
}, z.core.$strip>>]>;
|
|
144
156
|
//#endregion
|
|
145
157
|
export { notionCreateDatabase };
|
|
146
158
|
//# sourceMappingURL=create-database.d.mts.map
|
|
@@ -38,7 +38,19 @@ declare const notionCreateFileUpload: import("@keystrokehq/action").WorkflowActi
|
|
|
38
38
|
content_type?: string | undefined;
|
|
39
39
|
external_url?: string | undefined;
|
|
40
40
|
number_of_parts?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
42
54
|
//#endregion
|
|
43
55
|
export { notionCreateFileUpload };
|
|
44
56
|
//# sourceMappingURL=create-file-upload.d.cts.map
|
|
@@ -38,7 +38,19 @@ declare const notionCreateFileUpload: import("@keystrokehq/action").WorkflowActi
|
|
|
38
38
|
content_type?: string | undefined;
|
|
39
39
|
external_url?: string | undefined;
|
|
40
40
|
number_of_parts?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
42
54
|
//#endregion
|
|
43
55
|
export { notionCreateFileUpload };
|
|
44
56
|
//# sourceMappingURL=create-file-upload.d.mts.map
|
|
@@ -83,7 +83,19 @@ declare const notionCreateNotionPage: import("@keystrokehq/action").WorkflowActi
|
|
|
83
83
|
icon?: string | undefined;
|
|
84
84
|
cover?: string | undefined;
|
|
85
85
|
markdown?: string | undefined;
|
|
86
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
86
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
87
|
+
connectionId: z.ZodString;
|
|
88
|
+
entityId: z.ZodString;
|
|
89
|
+
instanceId: z.ZodString;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
accessToken: z.ZodString;
|
|
92
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
93
|
+
connectionId: z.ZodString;
|
|
94
|
+
entityId: z.ZodString;
|
|
95
|
+
instanceId: z.ZodString;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
accessToken: z.ZodString;
|
|
98
|
+
}, z.core.$strip>>]>;
|
|
87
99
|
//#endregion
|
|
88
100
|
export { notionCreateNotionPage };
|
|
89
101
|
//# sourceMappingURL=create-notion-page.d.cts.map
|
|
@@ -83,7 +83,19 @@ declare const notionCreateNotionPage: import("@keystrokehq/action").WorkflowActi
|
|
|
83
83
|
icon?: string | undefined;
|
|
84
84
|
cover?: string | undefined;
|
|
85
85
|
markdown?: string | undefined;
|
|
86
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
86
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
87
|
+
connectionId: z.ZodString;
|
|
88
|
+
entityId: z.ZodString;
|
|
89
|
+
instanceId: z.ZodString;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
accessToken: z.ZodString;
|
|
92
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
93
|
+
connectionId: z.ZodString;
|
|
94
|
+
entityId: z.ZodString;
|
|
95
|
+
instanceId: z.ZodString;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
accessToken: z.ZodString;
|
|
98
|
+
}, z.core.$strip>>]>;
|
|
87
99
|
//#endregion
|
|
88
100
|
export { notionCreateNotionPage };
|
|
89
101
|
//# sourceMappingURL=create-notion-page.d.mts.map
|
|
@@ -402,38 +402,38 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
402
402
|
}, z.core.$loose>>>;
|
|
403
403
|
type: z.ZodNullable<z.ZodEnum<{
|
|
404
404
|
file: "file";
|
|
405
|
+
code: "code";
|
|
405
406
|
paragraph: "paragraph";
|
|
406
407
|
heading_1: "heading_1";
|
|
407
408
|
heading_2: "heading_2";
|
|
408
409
|
heading_3: "heading_3";
|
|
409
410
|
bulleted_list_item: "bulleted_list_item";
|
|
410
411
|
numbered_list_item: "numbered_list_item";
|
|
411
|
-
to_do: "to_do";
|
|
412
|
-
toggle: "toggle";
|
|
413
|
-
code: "code";
|
|
414
|
-
quote: "quote";
|
|
415
|
-
callout: "callout";
|
|
416
|
-
divider: "divider";
|
|
417
|
-
image: "image";
|
|
418
|
-
video: "video";
|
|
419
|
-
equation: "equation";
|
|
420
412
|
pdf: "pdf";
|
|
421
413
|
audio: "audio";
|
|
422
414
|
embed: "embed";
|
|
415
|
+
image: "image";
|
|
416
|
+
quote: "quote";
|
|
423
417
|
table: "table";
|
|
418
|
+
to_do: "to_do";
|
|
419
|
+
video: "video";
|
|
424
420
|
column: "column";
|
|
421
|
+
toggle: "toggle";
|
|
422
|
+
callout: "callout";
|
|
423
|
+
divider: "divider";
|
|
425
424
|
bookmark: "bookmark";
|
|
425
|
+
equation: "equation";
|
|
426
426
|
table_row: "table_row";
|
|
427
427
|
breadcrumb: "breadcrumb";
|
|
428
428
|
column_list: "column_list";
|
|
429
429
|
table_of_contents: "table_of_contents";
|
|
430
430
|
link_preview: "link_preview";
|
|
431
|
+
template: "template";
|
|
431
432
|
child_page: "child_page";
|
|
432
|
-
|
|
433
|
+
unsupported: "unsupported";
|
|
433
434
|
synced_block: "synced_block";
|
|
434
|
-
|
|
435
|
+
child_database: "child_database";
|
|
435
436
|
link_to_page: "link_to_page";
|
|
436
|
-
unsupported: "unsupported";
|
|
437
437
|
}>>;
|
|
438
438
|
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
439
439
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -905,11 +905,11 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
905
905
|
object: z.ZodNullable<z.ZodString>;
|
|
906
906
|
parent: z.ZodNullable<z.ZodObject<{
|
|
907
907
|
type: z.ZodNullable<z.ZodEnum<{
|
|
908
|
-
database_id: "database_id";
|
|
909
|
-
data_source_id: "data_source_id";
|
|
910
|
-
page_id: "page_id";
|
|
911
908
|
block_id: "block_id";
|
|
909
|
+
page_id: "page_id";
|
|
910
|
+
data_source_id: "data_source_id";
|
|
912
911
|
workspace: "workspace";
|
|
912
|
+
database_id: "database_id";
|
|
913
913
|
}>>;
|
|
914
914
|
page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
915
915
|
block_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1038,8 +1038,8 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
1038
1038
|
}, z.core.$loose>>>;
|
|
1039
1039
|
type: z.ZodNullable<z.ZodEnum<{
|
|
1040
1040
|
file: "file";
|
|
1041
|
-
emoji: "emoji";
|
|
1042
1041
|
external: "external";
|
|
1042
|
+
emoji: "emoji";
|
|
1043
1043
|
}>>;
|
|
1044
1044
|
emoji: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1045
1045
|
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1908,8 +1908,8 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
1908
1908
|
}, z.core.$loose>>>;
|
|
1909
1909
|
link_to_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1910
1910
|
type: z.ZodNullable<z.ZodEnum<{
|
|
1911
|
-
database_id: "database_id";
|
|
1912
1911
|
page_id: "page_id";
|
|
1912
|
+
database_id: "database_id";
|
|
1913
1913
|
}>>;
|
|
1914
1914
|
page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1915
1915
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2181,7 +2181,19 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
2181
2181
|
}, z.core.$loose>;
|
|
2182
2182
|
declare const notionDeleteBlock: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
2183
2183
|
block_id: string;
|
|
2184
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
2184
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
2185
|
+
connectionId: z.ZodString;
|
|
2186
|
+
entityId: z.ZodString;
|
|
2187
|
+
instanceId: z.ZodString;
|
|
2188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2189
|
+
accessToken: z.ZodString;
|
|
2190
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
2191
|
+
connectionId: z.ZodString;
|
|
2192
|
+
entityId: z.ZodString;
|
|
2193
|
+
instanceId: z.ZodString;
|
|
2194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2195
|
+
accessToken: z.ZodString;
|
|
2196
|
+
}, z.core.$strip>>]>;
|
|
2185
2197
|
//#endregion
|
|
2186
2198
|
export { notionDeleteBlock };
|
|
2187
2199
|
//# sourceMappingURL=delete-block.d.cts.map
|
|
@@ -402,38 +402,38 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
402
402
|
}, z.core.$loose>>>;
|
|
403
403
|
type: z.ZodNullable<z.ZodEnum<{
|
|
404
404
|
file: "file";
|
|
405
|
+
code: "code";
|
|
405
406
|
paragraph: "paragraph";
|
|
406
407
|
heading_1: "heading_1";
|
|
407
408
|
heading_2: "heading_2";
|
|
408
409
|
heading_3: "heading_3";
|
|
409
410
|
bulleted_list_item: "bulleted_list_item";
|
|
410
411
|
numbered_list_item: "numbered_list_item";
|
|
411
|
-
to_do: "to_do";
|
|
412
|
-
toggle: "toggle";
|
|
413
|
-
code: "code";
|
|
414
|
-
quote: "quote";
|
|
415
|
-
callout: "callout";
|
|
416
|
-
divider: "divider";
|
|
417
|
-
image: "image";
|
|
418
|
-
video: "video";
|
|
419
|
-
equation: "equation";
|
|
420
412
|
pdf: "pdf";
|
|
421
413
|
audio: "audio";
|
|
422
414
|
embed: "embed";
|
|
415
|
+
image: "image";
|
|
416
|
+
quote: "quote";
|
|
423
417
|
table: "table";
|
|
418
|
+
to_do: "to_do";
|
|
419
|
+
video: "video";
|
|
424
420
|
column: "column";
|
|
421
|
+
toggle: "toggle";
|
|
422
|
+
callout: "callout";
|
|
423
|
+
divider: "divider";
|
|
425
424
|
bookmark: "bookmark";
|
|
425
|
+
equation: "equation";
|
|
426
426
|
table_row: "table_row";
|
|
427
427
|
breadcrumb: "breadcrumb";
|
|
428
428
|
column_list: "column_list";
|
|
429
429
|
table_of_contents: "table_of_contents";
|
|
430
430
|
link_preview: "link_preview";
|
|
431
|
+
template: "template";
|
|
431
432
|
child_page: "child_page";
|
|
432
|
-
|
|
433
|
+
unsupported: "unsupported";
|
|
433
434
|
synced_block: "synced_block";
|
|
434
|
-
|
|
435
|
+
child_database: "child_database";
|
|
435
436
|
link_to_page: "link_to_page";
|
|
436
|
-
unsupported: "unsupported";
|
|
437
437
|
}>>;
|
|
438
438
|
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
439
439
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -905,11 +905,11 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
905
905
|
object: z.ZodNullable<z.ZodString>;
|
|
906
906
|
parent: z.ZodNullable<z.ZodObject<{
|
|
907
907
|
type: z.ZodNullable<z.ZodEnum<{
|
|
908
|
-
database_id: "database_id";
|
|
909
|
-
data_source_id: "data_source_id";
|
|
910
|
-
page_id: "page_id";
|
|
911
908
|
block_id: "block_id";
|
|
909
|
+
page_id: "page_id";
|
|
910
|
+
data_source_id: "data_source_id";
|
|
912
911
|
workspace: "workspace";
|
|
912
|
+
database_id: "database_id";
|
|
913
913
|
}>>;
|
|
914
914
|
page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
915
915
|
block_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1038,8 +1038,8 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
1038
1038
|
}, z.core.$loose>>>;
|
|
1039
1039
|
type: z.ZodNullable<z.ZodEnum<{
|
|
1040
1040
|
file: "file";
|
|
1041
|
-
emoji: "emoji";
|
|
1042
1041
|
external: "external";
|
|
1042
|
+
emoji: "emoji";
|
|
1043
1043
|
}>>;
|
|
1044
1044
|
emoji: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1045
1045
|
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1908,8 +1908,8 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
1908
1908
|
}, z.core.$loose>>>;
|
|
1909
1909
|
link_to_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1910
1910
|
type: z.ZodNullable<z.ZodEnum<{
|
|
1911
|
-
database_id: "database_id";
|
|
1912
1911
|
page_id: "page_id";
|
|
1912
|
+
database_id: "database_id";
|
|
1913
1913
|
}>>;
|
|
1914
1914
|
page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1915
1915
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2181,7 +2181,19 @@ declare const NotionDeleteBlockOutput: z.ZodObject<{
|
|
|
2181
2181
|
}, z.core.$loose>;
|
|
2182
2182
|
declare const notionDeleteBlock: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
2183
2183
|
block_id: string;
|
|
2184
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
2184
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
2185
|
+
connectionId: z.ZodString;
|
|
2186
|
+
entityId: z.ZodString;
|
|
2187
|
+
instanceId: z.ZodString;
|
|
2188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2189
|
+
accessToken: z.ZodString;
|
|
2190
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
2191
|
+
connectionId: z.ZodString;
|
|
2192
|
+
entityId: z.ZodString;
|
|
2193
|
+
instanceId: z.ZodString;
|
|
2194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2195
|
+
accessToken: z.ZodString;
|
|
2196
|
+
}, z.core.$strip>>]>;
|
|
2185
2197
|
//#endregion
|
|
2186
2198
|
export { notionDeleteBlock };
|
|
2187
2199
|
//# sourceMappingURL=delete-block.d.mts.map
|
|
@@ -90,7 +90,19 @@ declare const notionDuplicatePage: import("@keystrokehq/action").WorkflowActionD
|
|
|
90
90
|
page_id: string;
|
|
91
91
|
parent_id: string;
|
|
92
92
|
title?: string | undefined;
|
|
93
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
93
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
94
|
+
connectionId: z.ZodString;
|
|
95
|
+
entityId: z.ZodString;
|
|
96
|
+
instanceId: z.ZodString;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
accessToken: z.ZodString;
|
|
99
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
100
|
+
connectionId: z.ZodString;
|
|
101
|
+
entityId: z.ZodString;
|
|
102
|
+
instanceId: z.ZodString;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
accessToken: z.ZodString;
|
|
105
|
+
}, z.core.$strip>>]>;
|
|
94
106
|
//#endregion
|
|
95
107
|
export { notionDuplicatePage };
|
|
96
108
|
//# sourceMappingURL=duplicate-page.d.cts.map
|
|
@@ -90,7 +90,19 @@ declare const notionDuplicatePage: import("@keystrokehq/action").WorkflowActionD
|
|
|
90
90
|
page_id: string;
|
|
91
91
|
parent_id: string;
|
|
92
92
|
title?: string | undefined;
|
|
93
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
93
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
94
|
+
connectionId: z.ZodString;
|
|
95
|
+
entityId: z.ZodString;
|
|
96
|
+
instanceId: z.ZodString;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
accessToken: z.ZodString;
|
|
99
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
100
|
+
connectionId: z.ZodString;
|
|
101
|
+
entityId: z.ZodString;
|
|
102
|
+
instanceId: z.ZodString;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
accessToken: z.ZodString;
|
|
105
|
+
}, z.core.$strip>>]>;
|
|
94
106
|
//#endregion
|
|
95
107
|
export { notionDuplicatePage };
|
|
96
108
|
//# sourceMappingURL=duplicate-page.d.mts.map
|
|
@@ -38,7 +38,19 @@ declare const notionFetchAllBlockContents: import("@keystrokehq/action").Workflo
|
|
|
38
38
|
page_size?: number | undefined;
|
|
39
39
|
recursive?: boolean | undefined;
|
|
40
40
|
max_blocks?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
42
54
|
//#endregion
|
|
43
55
|
export { notionFetchAllBlockContents };
|
|
44
56
|
//# sourceMappingURL=fetch-all-block-contents.d.cts.map
|
|
@@ -38,7 +38,19 @@ declare const notionFetchAllBlockContents: import("@keystrokehq/action").Workflo
|
|
|
38
38
|
page_size?: number | undefined;
|
|
39
39
|
recursive?: boolean | undefined;
|
|
40
40
|
max_blocks?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
42
54
|
//#endregion
|
|
43
55
|
export { notionFetchAllBlockContents };
|
|
44
56
|
//# sourceMappingURL=fetch-all-block-contents.d.mts.map
|
|
@@ -687,7 +687,19 @@ declare const notionFetchBlockContents: import("@keystrokehq/action").WorkflowAc
|
|
|
687
687
|
block_id: string;
|
|
688
688
|
page_size?: number | undefined;
|
|
689
689
|
start_cursor?: string | undefined;
|
|
690
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
690
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
691
|
+
connectionId: z.ZodString;
|
|
692
|
+
entityId: z.ZodString;
|
|
693
|
+
instanceId: z.ZodString;
|
|
694
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
695
|
+
accessToken: z.ZodString;
|
|
696
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
697
|
+
connectionId: z.ZodString;
|
|
698
|
+
entityId: z.ZodString;
|
|
699
|
+
instanceId: z.ZodString;
|
|
700
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
701
|
+
accessToken: z.ZodString;
|
|
702
|
+
}, z.core.$strip>>]>;
|
|
691
703
|
//#endregion
|
|
692
704
|
export { notionFetchBlockContents };
|
|
693
705
|
//# sourceMappingURL=fetch-block-contents.d.cts.map
|
|
@@ -687,7 +687,19 @@ declare const notionFetchBlockContents: import("@keystrokehq/action").WorkflowAc
|
|
|
687
687
|
block_id: string;
|
|
688
688
|
page_size?: number | undefined;
|
|
689
689
|
start_cursor?: string | undefined;
|
|
690
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
690
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
691
|
+
connectionId: z.ZodString;
|
|
692
|
+
entityId: z.ZodString;
|
|
693
|
+
instanceId: z.ZodString;
|
|
694
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
695
|
+
accessToken: z.ZodString;
|
|
696
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
697
|
+
connectionId: z.ZodString;
|
|
698
|
+
entityId: z.ZodString;
|
|
699
|
+
instanceId: z.ZodString;
|
|
700
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
701
|
+
accessToken: z.ZodString;
|
|
702
|
+
}, z.core.$strip>>]>;
|
|
691
703
|
//#endregion
|
|
692
704
|
export { notionFetchBlockContents };
|
|
693
705
|
//# sourceMappingURL=fetch-block-contents.d.mts.map
|
|
@@ -386,38 +386,38 @@ declare const NotionFetchBlockMetadataOutput: z.ZodObject<{
|
|
|
386
386
|
}, z.core.$loose>>>;
|
|
387
387
|
type: z.ZodNullable<z.ZodEnum<{
|
|
388
388
|
file: "file";
|
|
389
|
+
code: "code";
|
|
389
390
|
paragraph: "paragraph";
|
|
390
391
|
heading_1: "heading_1";
|
|
391
392
|
heading_2: "heading_2";
|
|
392
393
|
heading_3: "heading_3";
|
|
393
394
|
bulleted_list_item: "bulleted_list_item";
|
|
394
395
|
numbered_list_item: "numbered_list_item";
|
|
395
|
-
to_do: "to_do";
|
|
396
|
-
toggle: "toggle";
|
|
397
|
-
code: "code";
|
|
398
|
-
quote: "quote";
|
|
399
|
-
callout: "callout";
|
|
400
|
-
divider: "divider";
|
|
401
|
-
image: "image";
|
|
402
|
-
video: "video";
|
|
403
|
-
equation: "equation";
|
|
404
396
|
pdf: "pdf";
|
|
405
397
|
audio: "audio";
|
|
406
398
|
embed: "embed";
|
|
399
|
+
image: "image";
|
|
400
|
+
quote: "quote";
|
|
407
401
|
table: "table";
|
|
402
|
+
to_do: "to_do";
|
|
403
|
+
video: "video";
|
|
408
404
|
column: "column";
|
|
405
|
+
toggle: "toggle";
|
|
406
|
+
callout: "callout";
|
|
407
|
+
divider: "divider";
|
|
409
408
|
bookmark: "bookmark";
|
|
409
|
+
equation: "equation";
|
|
410
410
|
table_row: "table_row";
|
|
411
411
|
breadcrumb: "breadcrumb";
|
|
412
412
|
column_list: "column_list";
|
|
413
413
|
table_of_contents: "table_of_contents";
|
|
414
414
|
link_preview: "link_preview";
|
|
415
|
+
template: "template";
|
|
415
416
|
child_page: "child_page";
|
|
416
|
-
|
|
417
|
+
unsupported: "unsupported";
|
|
417
418
|
synced_block: "synced_block";
|
|
418
|
-
|
|
419
|
+
child_database: "child_database";
|
|
419
420
|
link_to_page: "link_to_page";
|
|
420
|
-
unsupported: "unsupported";
|
|
421
421
|
}>>;
|
|
422
422
|
audio: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
423
423
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -873,10 +873,10 @@ declare const NotionFetchBlockMetadataOutput: z.ZodObject<{
|
|
|
873
873
|
object: z.ZodNullable<z.ZodString>;
|
|
874
874
|
parent: z.ZodNullable<z.ZodObject<{
|
|
875
875
|
type: z.ZodNullable<z.ZodEnum<{
|
|
876
|
-
database_id: "database_id";
|
|
877
|
-
page_id: "page_id";
|
|
878
876
|
block_id: "block_id";
|
|
877
|
+
page_id: "page_id";
|
|
879
878
|
workspace: "workspace";
|
|
879
|
+
database_id: "database_id";
|
|
880
880
|
}>>;
|
|
881
881
|
page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
882
882
|
block_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1000,8 +1000,8 @@ declare const NotionFetchBlockMetadataOutput: z.ZodObject<{
|
|
|
1000
1000
|
}, z.core.$loose>>>;
|
|
1001
1001
|
type: z.ZodNullable<z.ZodEnum<{
|
|
1002
1002
|
file: "file";
|
|
1003
|
-
emoji: "emoji";
|
|
1004
1003
|
external: "external";
|
|
1004
|
+
emoji: "emoji";
|
|
1005
1005
|
}>>;
|
|
1006
1006
|
emoji: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1007
1007
|
external: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1838,8 +1838,8 @@ declare const NotionFetchBlockMetadataOutput: z.ZodObject<{
|
|
|
1838
1838
|
}, z.core.$loose>>>;
|
|
1839
1839
|
link_to_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1840
1840
|
type: z.ZodNullable<z.ZodEnum<{
|
|
1841
|
-
database_id: "database_id";
|
|
1842
1841
|
page_id: "page_id";
|
|
1842
|
+
database_id: "database_id";
|
|
1843
1843
|
}>>;
|
|
1844
1844
|
page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1845
1845
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2103,7 +2103,19 @@ declare const NotionFetchBlockMetadataOutput: z.ZodObject<{
|
|
|
2103
2103
|
}, z.core.$loose>;
|
|
2104
2104
|
declare const notionFetchBlockMetadata: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
2105
2105
|
block_id: string;
|
|
2106
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
2106
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
2107
|
+
connectionId: z.ZodString;
|
|
2108
|
+
entityId: z.ZodString;
|
|
2109
|
+
instanceId: z.ZodString;
|
|
2110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2111
|
+
accessToken: z.ZodString;
|
|
2112
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
2113
|
+
connectionId: z.ZodString;
|
|
2114
|
+
entityId: z.ZodString;
|
|
2115
|
+
instanceId: z.ZodString;
|
|
2116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2117
|
+
accessToken: z.ZodString;
|
|
2118
|
+
}, z.core.$strip>>]>;
|
|
2107
2119
|
//#endregion
|
|
2108
2120
|
export { notionFetchBlockMetadata };
|
|
2109
2121
|
//# sourceMappingURL=fetch-block-metadata.d.cts.map
|