@keystrokehq/notion 0.1.2 → 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/README.md +1 -1
- package/dist/actions/add-multiple-page-content.cjs +5 -5
- package/dist/actions/add-multiple-page-content.cjs.map +1 -1
- package/dist/actions/add-multiple-page-content.d.cts +30 -16
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
- package/dist/actions/add-multiple-page-content.d.mts +30 -16
- package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
- package/dist/actions/add-multiple-page-content.mjs +5 -5
- package/dist/actions/add-multiple-page-content.mjs.map +1 -1
- package/dist/actions/append-code-blocks.cjs +60 -60
- package/dist/actions/append-code-blocks.cjs.map +1 -1
- package/dist/actions/append-code-blocks.d.cts +178 -148
- package/dist/actions/append-code-blocks.d.mts +178 -148
- package/dist/actions/append-code-blocks.mjs +60 -60
- package/dist/actions/append-code-blocks.mjs.map +1 -1
- package/dist/actions/append-layout-blocks.cjs +51 -51
- package/dist/actions/append-layout-blocks.cjs.map +1 -1
- package/dist/actions/append-layout-blocks.d.cts +162 -140
- package/dist/actions/append-layout-blocks.d.mts +162 -140
- package/dist/actions/append-layout-blocks.mjs +51 -51
- package/dist/actions/append-layout-blocks.mjs.map +1 -1
- package/dist/actions/append-media-blocks.cjs +85 -85
- package/dist/actions/append-media-blocks.cjs.map +1 -1
- package/dist/actions/append-media-blocks.d.cts +228 -173
- package/dist/actions/append-media-blocks.d.mts +228 -173
- package/dist/actions/append-media-blocks.mjs +85 -85
- package/dist/actions/append-media-blocks.mjs.map +1 -1
- package/dist/actions/append-table-blocks.cjs +47 -47
- package/dist/actions/append-table-blocks.cjs.map +1 -1
- package/dist/actions/append-table-blocks.d.cts +154 -136
- package/dist/actions/append-table-blocks.d.mts +154 -136
- package/dist/actions/append-table-blocks.mjs +47 -47
- package/dist/actions/append-table-blocks.mjs.map +1 -1
- package/dist/actions/append-task-blocks.cjs +61 -61
- package/dist/actions/append-task-blocks.cjs.map +1 -1
- package/dist/actions/append-task-blocks.d.cts +180 -149
- package/dist/actions/append-task-blocks.d.mts +180 -149
- package/dist/actions/append-task-blocks.mjs +61 -61
- package/dist/actions/append-task-blocks.mjs.map +1 -1
- package/dist/actions/append-text-blocks.cjs +78 -78
- package/dist/actions/append-text-blocks.cjs.map +1 -1
- package/dist/actions/append-text-blocks.d.cts +214 -166
- package/dist/actions/append-text-blocks.d.mts +214 -166
- package/dist/actions/append-text-blocks.mjs +78 -78
- package/dist/actions/append-text-blocks.mjs.map +1 -1
- package/dist/actions/archive-notion-page.cjs +17 -17
- package/dist/actions/archive-notion-page.cjs.map +1 -1
- package/dist/actions/archive-notion-page.d.cts +33 -21
- package/dist/actions/archive-notion-page.d.mts +33 -21
- package/dist/actions/archive-notion-page.mjs +17 -17
- package/dist/actions/archive-notion-page.mjs.map +1 -1
- package/dist/actions/create-comment.d.cts +21 -9
- package/dist/actions/create-comment.d.mts +21 -9
- package/dist/actions/create-database.cjs +15 -15
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +39 -26
- package/dist/actions/create-database.d.mts +39 -26
- package/dist/actions/create-database.mjs +15 -15
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-file-upload.cjs +1 -1
- package/dist/actions/create-file-upload.cjs.map +1 -1
- package/dist/actions/create-file-upload.d.cts +14 -2
- package/dist/actions/create-file-upload.d.mts +14 -2
- package/dist/actions/create-file-upload.mjs +1 -1
- package/dist/actions/create-file-upload.mjs.map +1 -1
- package/dist/actions/create-notion-page.cjs +14 -14
- package/dist/actions/create-notion-page.cjs.map +1 -1
- package/dist/actions/create-notion-page.d.cts +31 -19
- package/dist/actions/create-notion-page.d.mts +31 -19
- package/dist/actions/create-notion-page.mjs +14 -14
- package/dist/actions/create-notion-page.mjs.map +1 -1
- package/dist/actions/delete-block.cjs +46 -46
- package/dist/actions/delete-block.cjs.map +1 -1
- package/dist/actions/delete-block.d.cts +345 -333
- package/dist/actions/delete-block.d.mts +345 -333
- package/dist/actions/delete-block.mjs +46 -46
- package/dist/actions/delete-block.mjs.map +1 -1
- package/dist/actions/duplicate-page.cjs +20 -20
- package/dist/actions/duplicate-page.cjs.map +1 -1
- package/dist/actions/duplicate-page.d.cts +37 -25
- package/dist/actions/duplicate-page.d.mts +37 -25
- package/dist/actions/duplicate-page.mjs +20 -20
- package/dist/actions/duplicate-page.mjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.cjs +58 -58
- package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.d.cts +17 -5
- package/dist/actions/fetch-all-block-contents.d.mts +17 -5
- package/dist/actions/fetch-all-block-contents.mjs +58 -58
- package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-contents.cjs +49 -49
- package/dist/actions/fetch-block-contents.cjs.map +1 -1
- package/dist/actions/fetch-block-contents.d.cts +185 -173
- package/dist/actions/fetch-block-contents.d.mts +185 -173
- package/dist/actions/fetch-block-contents.mjs +49 -49
- package/dist/actions/fetch-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-metadata.cjs +43 -43
- package/dist/actions/fetch-block-metadata.cjs.map +1 -1
- package/dist/actions/fetch-block-metadata.d.cts +304 -292
- package/dist/actions/fetch-block-metadata.d.mts +304 -292
- package/dist/actions/fetch-block-metadata.mjs +43 -43
- package/dist/actions/fetch-block-metadata.mjs.map +1 -1
- package/dist/actions/fetch-comments.cjs +24 -24
- package/dist/actions/fetch-comments.cjs.map +1 -1
- package/dist/actions/fetch-comments.d.cts +42 -30
- package/dist/actions/fetch-comments.d.mts +42 -30
- package/dist/actions/fetch-comments.mjs +24 -24
- package/dist/actions/fetch-comments.mjs.map +1 -1
- package/dist/actions/fetch-data.cjs +33 -33
- package/dist/actions/fetch-data.cjs.map +1 -1
- package/dist/actions/fetch-data.d.cts +122 -110
- package/dist/actions/fetch-data.d.mts +122 -110
- package/dist/actions/fetch-data.mjs +33 -33
- package/dist/actions/fetch-data.mjs.map +1 -1
- package/dist/actions/fetch-database.cjs +13 -13
- package/dist/actions/fetch-database.cjs.map +1 -1
- package/dist/actions/fetch-database.d.cts +31 -19
- package/dist/actions/fetch-database.d.mts +31 -19
- package/dist/actions/fetch-database.mjs +13 -13
- package/dist/actions/fetch-database.mjs.map +1 -1
- package/dist/actions/fetch-row.cjs +23 -23
- package/dist/actions/fetch-row.cjs.map +1 -1
- package/dist/actions/fetch-row.d.cts +51 -39
- package/dist/actions/fetch-row.d.mts +51 -39
- package/dist/actions/fetch-row.mjs +23 -23
- package/dist/actions/fetch-row.mjs.map +1 -1
- package/dist/actions/get-about-user.cjs +6 -6
- package/dist/actions/get-about-user.cjs.map +1 -1
- package/dist/actions/get-about-user.d.cts +20 -8
- package/dist/actions/get-about-user.d.mts +20 -8
- package/dist/actions/get-about-user.mjs +6 -6
- package/dist/actions/get-about-user.mjs.map +1 -1
- package/dist/actions/get-page-markdown.cjs +1 -1
- package/dist/actions/get-page-markdown.cjs.map +1 -1
- package/dist/actions/get-page-markdown.d.cts +14 -2
- package/dist/actions/get-page-markdown.d.mts +14 -2
- package/dist/actions/get-page-markdown.mjs +1 -1
- package/dist/actions/get-page-markdown.mjs.map +1 -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.cjs +22 -22
- package/dist/actions/insert-row-database.cjs.map +1 -1
- package/dist/actions/insert-row-database.d.cts +52 -38
- package/dist/actions/insert-row-database.d.mts +52 -38
- package/dist/actions/insert-row-database.mjs +22 -22
- package/dist/actions/insert-row-database.mjs.map +1 -1
- package/dist/actions/insert-row-from-nl.cjs +1 -1
- package/dist/actions/insert-row-from-nl.cjs.map +1 -1
- package/dist/actions/insert-row-from-nl.d.cts +14 -2
- package/dist/actions/insert-row-from-nl.d.mts +14 -2
- package/dist/actions/insert-row-from-nl.mjs +1 -1
- package/dist/actions/insert-row-from-nl.mjs.map +1 -1
- package/dist/actions/list-data-source-templates.cjs +2 -2
- package/dist/actions/list-data-source-templates.cjs.map +1 -1
- package/dist/actions/list-data-source-templates.d.cts +15 -3
- package/dist/actions/list-data-source-templates.d.mts +15 -3
- package/dist/actions/list-data-source-templates.mjs +2 -2
- package/dist/actions/list-data-source-templates.mjs.map +1 -1
- package/dist/actions/list-file-uploads.cjs +2 -2
- package/dist/actions/list-file-uploads.cjs.map +1 -1
- package/dist/actions/list-file-uploads.d.cts +15 -3
- package/dist/actions/list-file-uploads.d.mts +15 -3
- package/dist/actions/list-file-uploads.mjs +2 -2
- package/dist/actions/list-file-uploads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +8 -8
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +22 -10
- package/dist/actions/list-users.d.mts +22 -10
- package/dist/actions/list-users.mjs +8 -8
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/move-page.cjs +18 -18
- package/dist/actions/move-page.cjs.map +1 -1
- package/dist/actions/move-page.d.cts +36 -22
- package/dist/actions/move-page.d.mts +36 -22
- package/dist/actions/move-page.mjs +18 -18
- package/dist/actions/move-page.mjs.map +1 -1
- package/dist/actions/query-data-source.cjs +18 -18
- package/dist/actions/query-data-source.cjs.map +1 -1
- package/dist/actions/query-data-source.d.cts +42 -28
- package/dist/actions/query-data-source.d.cts.map +1 -1
- package/dist/actions/query-data-source.d.mts +42 -28
- package/dist/actions/query-data-source.d.mts.map +1 -1
- package/dist/actions/query-data-source.mjs +18 -18
- package/dist/actions/query-data-source.mjs.map +1 -1
- package/dist/actions/query-database-with-filter.cjs +25 -25
- package/dist/actions/query-database-with-filter.cjs.map +1 -1
- package/dist/actions/query-database-with-filter.d.cts +63 -49
- package/dist/actions/query-database-with-filter.d.cts.map +1 -1
- package/dist/actions/query-database-with-filter.d.mts +63 -49
- package/dist/actions/query-database-with-filter.d.mts.map +1 -1
- package/dist/actions/query-database-with-filter.mjs +25 -25
- package/dist/actions/query-database-with-filter.mjs.map +1 -1
- package/dist/actions/query-database.cjs +24 -24
- package/dist/actions/query-database.cjs.map +1 -1
- package/dist/actions/query-database.d.cts +62 -49
- package/dist/actions/query-database.d.mts +62 -49
- package/dist/actions/query-database.mjs +24 -24
- package/dist/actions/query-database.mjs.map +1 -1
- package/dist/actions/replace-page-content.cjs +130 -130
- package/dist/actions/replace-page-content.cjs.map +1 -1
- package/dist/actions/replace-page-content.d.cts +274 -132
- package/dist/actions/replace-page-content.d.mts +274 -132
- package/dist/actions/replace-page-content.mjs +130 -130
- package/dist/actions/replace-page-content.mjs.map +1 -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.cjs +25 -25
- package/dist/actions/retrieve-database-property.cjs.map +1 -1
- package/dist/actions/retrieve-database-property.d.cts +41 -29
- package/dist/actions/retrieve-database-property.d.mts +41 -29
- package/dist/actions/retrieve-database-property.mjs +25 -25
- package/dist/actions/retrieve-database-property.mjs.map +1 -1
- package/dist/actions/retrieve-file-upload.cjs +1 -1
- package/dist/actions/retrieve-file-upload.cjs.map +1 -1
- package/dist/actions/retrieve-file-upload.d.cts +14 -2
- package/dist/actions/retrieve-file-upload.d.mts +14 -2
- package/dist/actions/retrieve-file-upload.mjs +1 -1
- package/dist/actions/retrieve-file-upload.mjs.map +1 -1
- package/dist/actions/retrieve-page.cjs +23 -23
- package/dist/actions/retrieve-page.cjs.map +1 -1
- package/dist/actions/retrieve-page.d.cts +49 -37
- package/dist/actions/retrieve-page.d.mts +49 -37
- package/dist/actions/retrieve-page.mjs +23 -23
- package/dist/actions/retrieve-page.mjs.map +1 -1
- package/dist/actions/search-notion-page.cjs +34 -34
- package/dist/actions/search-notion-page.cjs.map +1 -1
- package/dist/actions/search-notion-page.d.cts +152 -140
- package/dist/actions/search-notion-page.d.mts +152 -140
- package/dist/actions/search-notion-page.mjs +34 -34
- package/dist/actions/search-notion-page.mjs.map +1 -1
- package/dist/actions/send-file-upload.cjs +1 -1
- package/dist/actions/send-file-upload.cjs.map +1 -1
- package/dist/actions/send-file-upload.d.cts +14 -2
- package/dist/actions/send-file-upload.d.mts +14 -2
- package/dist/actions/send-file-upload.mjs +1 -1
- package/dist/actions/send-file-upload.mjs.map +1 -1
- package/dist/actions/update-block.cjs +47 -47
- package/dist/actions/update-block.cjs.map +1 -1
- package/dist/actions/update-block.d.cts +154 -142
- package/dist/actions/update-block.d.cts.map +1 -1
- package/dist/actions/update-block.d.mts +154 -142
- package/dist/actions/update-block.d.mts.map +1 -1
- package/dist/actions/update-block.mjs +47 -47
- package/dist/actions/update-block.mjs.map +1 -1
- package/dist/actions/update-page.cjs +16 -16
- package/dist/actions/update-page.cjs.map +1 -1
- package/dist/actions/update-page.d.cts +36 -24
- package/dist/actions/update-page.d.mts +36 -24
- package/dist/actions/update-page.mjs +16 -16
- package/dist/actions/update-page.mjs.map +1 -1
- package/dist/actions/update-row-database.cjs +21 -21
- package/dist/actions/update-row-database.cjs.map +1 -1
- package/dist/actions/update-row-database.d.cts +42 -29
- package/dist/actions/update-row-database.d.mts +42 -29
- package/dist/actions/update-row-database.mjs +21 -21
- package/dist/actions/update-row-database.mjs.map +1 -1
- package/dist/actions/update-schema-database.cjs +8 -8
- package/dist/actions/update-schema-database.cjs.map +1 -1
- package/dist/actions/update-schema-database.d.cts +25 -12
- package/dist/actions/update-schema-database.d.mts +25 -12
- package/dist/actions/update-schema-database.mjs +8 -8
- package/dist/actions/update-schema-database.mjs.map +1 -1
- package/dist/actions/upsert-row-database.cjs +28 -28
- package/dist/actions/upsert-row-database.cjs.map +1 -1
- package/dist/actions/upsert-row-database.d.cts +67 -31
- package/dist/actions/upsert-row-database.d.mts +67 -31
- package/dist/actions/upsert-row-database.mjs +28 -28
- package/dist/actions/upsert-row-database.mjs.map +1 -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/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,74 +11,86 @@ declare const NotionArchiveNotionPageOutput: z.ZodObject<{
|
|
|
11
11
|
icon: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
emoji: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
15
15
|
type: z.ZodNullable<z.ZodString>;
|
|
16
16
|
custom_emoji: z.ZodNullable<z.ZodObject<{
|
|
17
17
|
id: z.ZodNullable<z.ZodString>;
|
|
18
18
|
url: z.ZodNullable<z.ZodString>;
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
22
22
|
type: z.ZodNullable<z.ZodString>;
|
|
23
23
|
external: z.ZodNullable<z.ZodObject<{
|
|
24
24
|
url: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
26
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
27
27
|
file: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
url: z.ZodNullable<z.ZodString>;
|
|
29
29
|
expiry_time: z.ZodNullable<z.ZodString>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
type: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>]>>>;
|
|
33
33
|
cover: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
34
34
|
type: z.ZodNullable<z.ZodString>;
|
|
35
35
|
external: z.ZodNullable<z.ZodObject<{
|
|
36
36
|
url: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
38
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
39
39
|
file: z.ZodNullable<z.ZodObject<{
|
|
40
40
|
url: z.ZodNullable<z.ZodString>;
|
|
41
41
|
expiry_time: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
type: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>]>>>;
|
|
45
45
|
object: z.ZodNullable<z.ZodString>;
|
|
46
46
|
parent: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
47
47
|
type: z.ZodNullable<z.ZodString>;
|
|
48
48
|
database_id: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
50
50
|
type: z.ZodNullable<z.ZodString>;
|
|
51
51
|
database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
data_source_id: z.ZodNullable<z.ZodString>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
54
54
|
type: z.ZodNullable<z.ZodString>;
|
|
55
55
|
page_id: z.ZodNullable<z.ZodString>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
57
57
|
type: z.ZodNullable<z.ZodString>;
|
|
58
58
|
workspace: z.ZodNullable<z.ZodBoolean>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
60
60
|
type: z.ZodNullable<z.ZodString>;
|
|
61
61
|
block_id: z.ZodNullable<z.ZodString>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>]>>>;
|
|
63
63
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
64
64
|
in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
65
65
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
66
66
|
id: z.ZodNullable<z.ZodString>;
|
|
67
67
|
object: z.ZodNullable<z.ZodString>;
|
|
68
|
-
}, z.core.$
|
|
69
|
-
properties: z.ZodOptional<z.ZodNullable<z.
|
|
68
|
+
}, z.core.$loose>>>;
|
|
69
|
+
properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
70
70
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
71
|
created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
73
73
|
id: z.ZodNullable<z.ZodString>;
|
|
74
74
|
object: z.ZodNullable<z.ZodString>;
|
|
75
|
-
}, z.core.$
|
|
75
|
+
}, z.core.$loose>>>;
|
|
76
76
|
last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const notionArchiveNotionPage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
page_id: string;
|
|
80
80
|
archive?: boolean | undefined;
|
|
81
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
81
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
82
|
+
connectionId: z.ZodString;
|
|
83
|
+
entityId: z.ZodString;
|
|
84
|
+
instanceId: z.ZodString;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
+
accessToken: z.ZodString;
|
|
87
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
88
|
+
connectionId: z.ZodString;
|
|
89
|
+
entityId: z.ZodString;
|
|
90
|
+
instanceId: z.ZodString;
|
|
91
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
+
accessToken: z.ZodString;
|
|
93
|
+
}, z.core.$strip>>]>;
|
|
82
94
|
//#endregion
|
|
83
95
|
export { notionArchiveNotionPage };
|
|
84
96
|
//# sourceMappingURL=archive-notion-page.d.mts.map
|
|
@@ -8,62 +8,62 @@ const NotionArchiveNotionPageInput = z.object({
|
|
|
8
8
|
const NotionArchiveNotionPage_EmojiIconSchema = z.object({
|
|
9
9
|
type: z.string().describe("The constant string 'emoji'.").nullable(),
|
|
10
10
|
emoji: z.string().describe("The emoji character itself.").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const NotionArchiveNotionPage_CustomEmojiDataSchema = z.object({
|
|
13
13
|
id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
|
|
14
14
|
url: z.string().describe("HTTPS URL pointing to the emoji image.").nullable(),
|
|
15
15
|
name: z.string().describe("Display name of the custom emoji.").nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const NotionArchiveNotionPage_CustomEmojiIconSchema = z.object({
|
|
18
18
|
type: z.string().describe("The constant value 'custom_emoji'.").nullable(),
|
|
19
19
|
custom_emoji: NotionArchiveNotionPage_CustomEmojiDataSchema.nullable()
|
|
20
|
-
});
|
|
21
|
-
const NotionArchiveNotionPage_ExternalFileSchema = z.object({ url: z.string().describe("Publicly accessible HTTPS link to remote content.").nullable() });
|
|
20
|
+
}).passthrough();
|
|
21
|
+
const NotionArchiveNotionPage_ExternalFileSchema = z.object({ url: z.string().describe("Publicly accessible HTTPS link to remote content.").nullable() }).passthrough();
|
|
22
22
|
const NotionArchiveNotionPage_ExternalIconSchema = z.object({
|
|
23
23
|
type: z.string().describe("The constant string 'external'.").nullable(),
|
|
24
24
|
external: NotionArchiveNotionPage_ExternalFileSchema.nullable()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const NotionArchiveNotionPage_NotionHostedFileSchema = z.object({
|
|
27
27
|
url: z.string().describe("An authenticated HTTP GET URL to the file. The URL is valid for one hour.").nullable(),
|
|
28
28
|
expiry_time: z.string().describe("Timestamp in ISO 8601 format indicating when access expires.").nullable()
|
|
29
|
-
});
|
|
29
|
+
}).passthrough();
|
|
30
30
|
const NotionArchiveNotionPage_FileIconSchema = z.object({
|
|
31
31
|
file: NotionArchiveNotionPage_NotionHostedFileSchema.nullable(),
|
|
32
32
|
type: z.string().describe("The constant string 'file'.").nullable()
|
|
33
|
-
});
|
|
33
|
+
}).passthrough();
|
|
34
34
|
const NotionArchiveNotionPage_ExternalCoverSchema = z.object({
|
|
35
35
|
type: z.string().describe("The constant string 'external'.").nullable(),
|
|
36
36
|
external: NotionArchiveNotionPage_ExternalFileSchema.nullable()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const NotionArchiveNotionPage_FileCoverSchema = z.object({
|
|
39
39
|
file: NotionArchiveNotionPage_NotionHostedFileSchema.nullable(),
|
|
40
40
|
type: z.string().describe("The constant string 'file'.").nullable()
|
|
41
|
-
});
|
|
41
|
+
}).passthrough();
|
|
42
42
|
const NotionArchiveNotionPage_DatabaseParentSchema = z.object({
|
|
43
43
|
type: z.string().describe("The constant string 'database_id'.").nullable(),
|
|
44
44
|
database_id: z.string().describe("UUIDv4 string identifying the parent database.").nullable()
|
|
45
|
-
});
|
|
45
|
+
}).passthrough();
|
|
46
46
|
const NotionArchiveNotionPage_DataSourceParentSchema = z.object({
|
|
47
47
|
type: z.string().describe("The constant string 'data_source_id'.").nullable(),
|
|
48
48
|
database_id: z.string().describe("UUIDv4 string for the grandparent database (convenience field).").nullable().optional(),
|
|
49
49
|
data_source_id: z.string().describe("UUIDv4 string identifying the parent data source.").nullable()
|
|
50
|
-
});
|
|
50
|
+
}).passthrough();
|
|
51
51
|
const NotionArchiveNotionPage_PageParentSchema = z.object({
|
|
52
52
|
type: z.string().describe("The constant string 'page_id'.").nullable(),
|
|
53
53
|
page_id: z.string().describe("UUIDv4 string identifying the parent page.").nullable()
|
|
54
|
-
});
|
|
54
|
+
}).passthrough();
|
|
55
55
|
const NotionArchiveNotionPage_WorkspaceParentSchema = z.object({
|
|
56
56
|
type: z.string().describe("The constant string 'workspace'.").nullable(),
|
|
57
57
|
workspace: z.boolean().describe("Always true, indicating the page is at workspace level.").nullable()
|
|
58
|
-
});
|
|
58
|
+
}).passthrough();
|
|
59
59
|
const NotionArchiveNotionPage_BlockParentSchema = z.object({
|
|
60
60
|
type: z.string().describe("The constant string 'block_id'.").nullable(),
|
|
61
61
|
block_id: z.string().describe("UUIDv4 string identifying the parent block.").nullable()
|
|
62
|
-
});
|
|
62
|
+
}).passthrough();
|
|
63
63
|
const NotionArchiveNotionPage_UserPartialSchema = z.object({
|
|
64
64
|
id: z.string().describe("UUID string identifying the user uniquely.").nullable(),
|
|
65
65
|
object: z.string().describe("Always \"user\".").nullable()
|
|
66
|
-
});
|
|
66
|
+
}).passthrough();
|
|
67
67
|
const notionArchiveNotionPage = action("NOTION_ARCHIVE_NOTION_PAGE", {
|
|
68
68
|
slug: "notion-archive-notion-page",
|
|
69
69
|
name: "Archive Notion Page",
|
|
@@ -90,12 +90,12 @@ const notionArchiveNotionPage = action("NOTION_ARCHIVE_NOTION_PAGE", {
|
|
|
90
90
|
archived: z.boolean().describe("Indicates whether the page is archived. Set to true when the page is archived.").nullable().optional(),
|
|
91
91
|
in_trash: z.boolean().describe("Indicates whether the page is in trash. Set to true when the page is archived.").nullable().optional(),
|
|
92
92
|
created_by: NotionArchiveNotionPage_UserPartialSchema.nullable().optional(),
|
|
93
|
-
properties: z.
|
|
93
|
+
properties: z.record(z.string(), z.unknown()).describe("Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.").nullable().optional(),
|
|
94
94
|
public_url: z.string().describe("Public web URL if the page is published; otherwise null.").nullable().optional(),
|
|
95
95
|
created_time: z.string().describe("Creation timestamp in ISO 8601 format.").nullable().optional(),
|
|
96
96
|
last_edited_by: NotionArchiveNotionPage_UserPartialSchema.nullable().optional(),
|
|
97
97
|
last_edited_time: z.string().describe("Most recent modification timestamp in ISO 8601 format.").nullable().optional()
|
|
98
|
-
})
|
|
98
|
+
}).passthrough()
|
|
99
99
|
});
|
|
100
100
|
//#endregion
|
|
101
101
|
export { notionArchiveNotionPage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive-notion-page.mjs","names":[],"sources":["../../src/actions/archive-notion-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionArchiveNotionPageInput = z.object({\n archive: z.boolean().default(true).describe(\"Set to `true` to move the page to trash (archive), or `false` to restore it from trash (unarchive). Defaults to `true`.\").optional(),\n page_id: z.string().describe(\"The unique identifier (UUID) of the Notion page to be archived or unarchived. Must be a page ID, not a database ID. Note: Workspace-level pages (pages that sit at the root of your workspace with no parent page or database) cannot be archived via the API - only pages nested under other pages or databases can be archived programmatically. Page IDs can be obtained using NOTION_SEARCH_NOTION_PAGE with filter_value='page' or from the 'id' field of page objects returned by other Notion actions.\"),\n});\nconst NotionArchiveNotionPage_EmojiIconSchema = z.object({\n type: z.string().describe(\"The constant string 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character itself.\").nullable(),\n});\nconst NotionArchiveNotionPage_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL pointing to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n});\nconst NotionArchiveNotionPage_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"The constant value 'custom_emoji'.\").nullable(),\n custom_emoji: NotionArchiveNotionPage_CustomEmojiDataSchema.nullable(),\n});\nconst NotionArchiveNotionPage_ExternalFileSchema = z.object({\n url: z.string().describe(\"Publicly accessible HTTPS link to remote content.\").nullable(),\n});\nconst NotionArchiveNotionPage_ExternalIconSchema = z.object({\n type: z.string().describe(\"The constant string 'external'.\").nullable(),\n external: NotionArchiveNotionPage_ExternalFileSchema.nullable(),\n});\nconst NotionArchiveNotionPage_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"An authenticated HTTP GET URL to the file. The URL is valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Timestamp in ISO 8601 format indicating when access expires.\").nullable(),\n});\nconst NotionArchiveNotionPage_FileIconSchema = z.object({\n file: NotionArchiveNotionPage_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"The constant string 'file'.\").nullable(),\n});\nconst NotionArchiveNotionPage_ExternalCoverSchema = z.object({\n type: z.string().describe(\"The constant string 'external'.\").nullable(),\n external: NotionArchiveNotionPage_ExternalFileSchema.nullable(),\n});\nconst NotionArchiveNotionPage_FileCoverSchema = z.object({\n file: NotionArchiveNotionPage_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"The constant string 'file'.\").nullable(),\n});\nconst NotionArchiveNotionPage_DatabaseParentSchema = z.object({\n type: z.string().describe(\"The constant string 'database_id'.\").nullable(),\n database_id: z.string().describe(\"UUIDv4 string identifying the parent database.\").nullable(),\n});\nconst NotionArchiveNotionPage_DataSourceParentSchema = z.object({\n type: z.string().describe(\"The constant string 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUIDv4 string for the grandparent database (convenience field).\").nullable().optional(),\n data_source_id: z.string().describe(\"UUIDv4 string identifying the parent data source.\").nullable(),\n});\nconst NotionArchiveNotionPage_PageParentSchema = z.object({\n type: z.string().describe(\"The constant string 'page_id'.\").nullable(),\n page_id: z.string().describe(\"UUIDv4 string identifying the parent page.\").nullable(),\n});\nconst NotionArchiveNotionPage_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"The constant string 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true, indicating the page is at workspace level.\").nullable(),\n});\nconst NotionArchiveNotionPage_BlockParentSchema = z.object({\n type: z.string().describe(\"The constant string 'block_id'.\").nullable(),\n block_id: z.string().describe(\"UUIDv4 string identifying the parent block.\").nullable(),\n});\nconst NotionArchiveNotionPage_UserPartialSchema = z.object({\n id: z.string().describe(\"UUID string identifying the user uniquely.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n});\nexport const NotionArchiveNotionPageOutput = z.object({\n id: z.string().describe(\"Unique page identifier in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"Standard Notion page URL.\").nullable().optional(),\n icon: z.union([NotionArchiveNotionPage_EmojiIconSchema, NotionArchiveNotionPage_CustomEmojiIconSchema, NotionArchiveNotionPage_ExternalIconSchema, NotionArchiveNotionPage_FileIconSchema]).nullable().optional(),\n cover: z.union([NotionArchiveNotionPage_ExternalCoverSchema, NotionArchiveNotionPage_FileCoverSchema]).nullable().optional(),\n object: z.string().describe(\"Always the literal value 'page'.\").nullable(),\n parent: z.union([NotionArchiveNotionPage_DatabaseParentSchema, NotionArchiveNotionPage_DataSourceParentSchema, NotionArchiveNotionPage_PageParentSchema, NotionArchiveNotionPage_WorkspaceParentSchema, NotionArchiveNotionPage_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Indicates whether the page is archived. Set to true when the page is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Indicates whether the page is in trash. Set to true when the page is archived.\").nullable().optional(),\n created_by: NotionArchiveNotionPage_UserPartialSchema.nullable().optional(),\n properties: z.object({}).describe(\"Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.\").nullable().optional(),\n public_url: z.string().describe(\"Public web URL if the page is published; otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n last_edited_by: NotionArchiveNotionPage_UserPartialSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Most recent modification timestamp in ISO 8601 format.\").nullable().optional(),\n});\n\nexport const notionArchiveNotionPage = action(\"NOTION_ARCHIVE_NOTION_PAGE\", {\n slug: \"notion-archive-notion-page\",\n name: \"Archive Notion Page\",\n description: \"Archives (moves to trash) or unarchives (restores from trash) a specified Notion page. Limitation: Workspace-level pages (top-level pages with no parent page or database) cannot be archived via the API and must be archived manually in the Notion UI.\",\n input: NotionArchiveNotionPageInput,\n output: NotionArchiveNotionPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+eAA+e;AAC9gB,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACrE,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,cAAc,8CAA8C,SAAS;AACvE,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EACzF,CAA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,EAAE,MAAM;GAAC;GAA8C;GAAgD;GAA0C;GAA+C;EAAyC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxQ,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAOU;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"archive-notion-page.mjs","names":[],"sources":["../../src/actions/archive-notion-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionArchiveNotionPageInput = z.object({\n archive: z.boolean().default(true).describe(\"Set to `true` to move the page to trash (archive), or `false` to restore it from trash (unarchive). Defaults to `true`.\").optional(),\n page_id: z.string().describe(\"The unique identifier (UUID) of the Notion page to be archived or unarchived. Must be a page ID, not a database ID. Note: Workspace-level pages (pages that sit at the root of your workspace with no parent page or database) cannot be archived via the API - only pages nested under other pages or databases can be archived programmatically. Page IDs can be obtained using NOTION_SEARCH_NOTION_PAGE with filter_value='page' or from the 'id' field of page objects returned by other Notion actions.\"),\n});\nconst NotionArchiveNotionPage_EmojiIconSchema = z.object({\n type: z.string().describe(\"The constant string 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character itself.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL pointing to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"The constant value 'custom_emoji'.\").nullable(),\n custom_emoji: NotionArchiveNotionPage_CustomEmojiDataSchema.nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_ExternalFileSchema = z.object({\n url: z.string().describe(\"Publicly accessible HTTPS link to remote content.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_ExternalIconSchema = z.object({\n type: z.string().describe(\"The constant string 'external'.\").nullable(),\n external: NotionArchiveNotionPage_ExternalFileSchema.nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"An authenticated HTTP GET URL to the file. The URL is valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Timestamp in ISO 8601 format indicating when access expires.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_FileIconSchema = z.object({\n file: NotionArchiveNotionPage_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"The constant string 'file'.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_ExternalCoverSchema = z.object({\n type: z.string().describe(\"The constant string 'external'.\").nullable(),\n external: NotionArchiveNotionPage_ExternalFileSchema.nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_FileCoverSchema = z.object({\n file: NotionArchiveNotionPage_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"The constant string 'file'.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_DatabaseParentSchema = z.object({\n type: z.string().describe(\"The constant string 'database_id'.\").nullable(),\n database_id: z.string().describe(\"UUIDv4 string identifying the parent database.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_DataSourceParentSchema = z.object({\n type: z.string().describe(\"The constant string 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUIDv4 string for the grandparent database (convenience field).\").nullable().optional(),\n data_source_id: z.string().describe(\"UUIDv4 string identifying the parent data source.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_PageParentSchema = z.object({\n type: z.string().describe(\"The constant string 'page_id'.\").nullable(),\n page_id: z.string().describe(\"UUIDv4 string identifying the parent page.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"The constant string 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true, indicating the page is at workspace level.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_BlockParentSchema = z.object({\n type: z.string().describe(\"The constant string 'block_id'.\").nullable(),\n block_id: z.string().describe(\"UUIDv4 string identifying the parent block.\").nullable(),\n}).passthrough();\nconst NotionArchiveNotionPage_UserPartialSchema = z.object({\n id: z.string().describe(\"UUID string identifying the user uniquely.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough();\nexport const NotionArchiveNotionPageOutput = z.object({\n id: z.string().describe(\"Unique page identifier in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"Standard Notion page URL.\").nullable().optional(),\n icon: z.union([NotionArchiveNotionPage_EmojiIconSchema, NotionArchiveNotionPage_CustomEmojiIconSchema, NotionArchiveNotionPage_ExternalIconSchema, NotionArchiveNotionPage_FileIconSchema]).nullable().optional(),\n cover: z.union([NotionArchiveNotionPage_ExternalCoverSchema, NotionArchiveNotionPage_FileCoverSchema]).nullable().optional(),\n object: z.string().describe(\"Always the literal value 'page'.\").nullable(),\n parent: z.union([NotionArchiveNotionPage_DatabaseParentSchema, NotionArchiveNotionPage_DataSourceParentSchema, NotionArchiveNotionPage_PageParentSchema, NotionArchiveNotionPage_WorkspaceParentSchema, NotionArchiveNotionPage_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Indicates whether the page is archived. Set to true when the page is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Indicates whether the page is in trash. Set to true when the page is archived.\").nullable().optional(),\n created_by: NotionArchiveNotionPage_UserPartialSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.\").nullable().optional(),\n public_url: z.string().describe(\"Public web URL if the page is published; otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n last_edited_by: NotionArchiveNotionPage_UserPartialSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Most recent modification timestamp in ISO 8601 format.\").nullable().optional(),\n}).passthrough();\n\nexport const notionArchiveNotionPage = action(\"NOTION_ARCHIVE_NOTION_PAGE\", {\n slug: \"notion-archive-notion-page\",\n name: \"Archive Notion Page\",\n description: \"Archives (moves to trash) or unarchives (restores from trash) a specified Notion page. Limitation: Workspace-level pages (top-level pages with no parent page or database) cannot be archived via the API and must be archived manually in the Notion UI.\",\n input: NotionArchiveNotionPageInput,\n output: NotionArchiveNotionPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+eAA+e;AAC9gB,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO;CAC7D,I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CAAC,CAAC,SAAS;EAChH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -13,19 +13,19 @@ declare const NotionCreateCommentInput: z.ZodObject<{
|
|
|
13
13
|
strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
14
14
|
block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
15
15
|
file: "file";
|
|
16
|
-
|
|
16
|
+
paragraph: "paragraph";
|
|
17
|
+
heading_1: "heading_1";
|
|
18
|
+
heading_2: "heading_2";
|
|
19
|
+
heading_3: "heading_3";
|
|
20
|
+
bulleted_list_item: "bulleted_list_item";
|
|
21
|
+
numbered_list_item: "numbered_list_item";
|
|
17
22
|
image: "image";
|
|
23
|
+
quote: "quote";
|
|
18
24
|
to_do: "to_do";
|
|
19
25
|
video: "video";
|
|
20
26
|
toggle: "toggle";
|
|
21
27
|
callout: "callout";
|
|
22
28
|
divider: "divider";
|
|
23
|
-
heading_1: "heading_1";
|
|
24
|
-
heading_2: "heading_2";
|
|
25
|
-
heading_3: "heading_3";
|
|
26
|
-
paragraph: "paragraph";
|
|
27
|
-
bulleted_list_item: "bulleted_list_item";
|
|
28
|
-
numbered_list_item: "numbered_list_item";
|
|
29
29
|
}>>>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
discussion_id: z.ZodOptional<z.ZodString>;
|
|
@@ -42,11 +42,23 @@ declare const notionCreateComment: import("@keystrokehq/action").WorkflowActionD
|
|
|
42
42
|
content?: string | undefined;
|
|
43
43
|
underline?: boolean | undefined;
|
|
44
44
|
strikethrough?: boolean | undefined;
|
|
45
|
-
block_property?: "file" | "
|
|
45
|
+
block_property?: "file" | "paragraph" | "heading_1" | "heading_2" | "heading_3" | "bulleted_list_item" | "numbered_list_item" | "image" | "quote" | "to_do" | "video" | "toggle" | "callout" | "divider" | undefined;
|
|
46
46
|
};
|
|
47
47
|
discussion_id?: string | undefined;
|
|
48
48
|
parent_page_id?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
50
|
+
connectionId: z.ZodString;
|
|
51
|
+
entityId: z.ZodString;
|
|
52
|
+
instanceId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
accessToken: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
entityId: z.ZodString;
|
|
58
|
+
instanceId: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
accessToken: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>;
|
|
50
62
|
//#endregion
|
|
51
63
|
export { notionCreateComment };
|
|
52
64
|
//# sourceMappingURL=create-comment.d.cts.map
|
|
@@ -13,19 +13,19 @@ declare const NotionCreateCommentInput: z.ZodObject<{
|
|
|
13
13
|
strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
14
14
|
block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
15
15
|
file: "file";
|
|
16
|
-
|
|
16
|
+
paragraph: "paragraph";
|
|
17
|
+
heading_1: "heading_1";
|
|
18
|
+
heading_2: "heading_2";
|
|
19
|
+
heading_3: "heading_3";
|
|
20
|
+
bulleted_list_item: "bulleted_list_item";
|
|
21
|
+
numbered_list_item: "numbered_list_item";
|
|
17
22
|
image: "image";
|
|
23
|
+
quote: "quote";
|
|
18
24
|
to_do: "to_do";
|
|
19
25
|
video: "video";
|
|
20
26
|
toggle: "toggle";
|
|
21
27
|
callout: "callout";
|
|
22
28
|
divider: "divider";
|
|
23
|
-
heading_1: "heading_1";
|
|
24
|
-
heading_2: "heading_2";
|
|
25
|
-
heading_3: "heading_3";
|
|
26
|
-
paragraph: "paragraph";
|
|
27
|
-
bulleted_list_item: "bulleted_list_item";
|
|
28
|
-
numbered_list_item: "numbered_list_item";
|
|
29
29
|
}>>>;
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
discussion_id: z.ZodOptional<z.ZodString>;
|
|
@@ -42,11 +42,23 @@ declare const notionCreateComment: import("@keystrokehq/action").WorkflowActionD
|
|
|
42
42
|
content?: string | undefined;
|
|
43
43
|
underline?: boolean | undefined;
|
|
44
44
|
strikethrough?: boolean | undefined;
|
|
45
|
-
block_property?: "file" | "
|
|
45
|
+
block_property?: "file" | "paragraph" | "heading_1" | "heading_2" | "heading_3" | "bulleted_list_item" | "numbered_list_item" | "image" | "quote" | "to_do" | "video" | "toggle" | "callout" | "divider" | undefined;
|
|
46
46
|
};
|
|
47
47
|
discussion_id?: string | undefined;
|
|
48
48
|
parent_page_id?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
50
|
+
connectionId: z.ZodString;
|
|
51
|
+
entityId: z.ZodString;
|
|
52
|
+
instanceId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
accessToken: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
entityId: z.ZodString;
|
|
58
|
+
instanceId: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
accessToken: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>;
|
|
50
62
|
//#endregion
|
|
51
63
|
export { notionCreateComment };
|
|
52
64
|
//# sourceMappingURL=create-comment.d.mts.map
|
|
@@ -32,35 +32,35 @@ const NotionCreateDatabaseInput = zod.z.object({
|
|
|
32
32
|
]).describe("The type of the property, which determines the kind of data it will store. Valid types are defined by the PropertyType enum."),
|
|
33
33
|
database_id: zod.z.string().describe("UUID of the database to relate to. Required when type is 'relation'. Must be a valid UUID format (32 hex characters, with or without hyphens). Placeholder values like 'PLACEHOLDER_PROJECT' are not allowed.").optional(),
|
|
34
34
|
relation_type: zod.z.string().default("single_property").describe("Relationship type, either 'single_property' or 'dual_property'.").optional()
|
|
35
|
-
})).describe("Optional list defining the schema (columns) for the new database. Each item is an object with 'name' and 'type'. If not provided, Notion creates a default database with a single 'Name' column of type 'title'. When provided, the list must include at least one property of type 'title'. Common supported property types include: 'title', 'rich_text', 'number', 'select', 'multi_select', 'status', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number'. Other types like 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by' might also be supported. IMPORTANT: For 'relation' type properties, you MUST also provide the 'database_id' field with the UUID of the related database. The related database must be shared with your integration.").optional()
|
|
35
|
+
}).passthrough()).describe("Optional list defining the schema (columns) for the new database. Each item is an object with 'name' and 'type'. If not provided, Notion creates a default database with a single 'Name' column of type 'title'. When provided, the list must include at least one property of type 'title'. Common supported property types include: 'title', 'rich_text', 'number', 'select', 'multi_select', 'status', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number'. Other types like 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by' might also be supported. IMPORTANT: For 'relation' type properties, you MUST also provide the 'database_id' field with the UUID of the related database. The related database must be shared with your integration.").optional()
|
|
36
36
|
});
|
|
37
37
|
const NotionCreateDatabase__NotionFileSchema = zod.z.object({
|
|
38
38
|
url: zod.z.string().describe("Authenticated URL to the file (valid for one hour).").nullable(),
|
|
39
39
|
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
|
|
40
|
-
}).describe("Notion-hosted file.");
|
|
41
|
-
const NotionCreateDatabase__ExternalFileSchema = zod.z.object({ url: zod.z.string().describe("URL of the externally hosted file.").nullable() }).describe("External file URL.");
|
|
40
|
+
}).passthrough().describe("Notion-hosted file.");
|
|
41
|
+
const NotionCreateDatabase__ExternalFileSchema = zod.z.object({ url: zod.z.string().describe("URL of the externally hosted file.").nullable() }).passthrough().describe("External file URL.");
|
|
42
42
|
const NotionCreateDatabase__CustomEmojiSchema = zod.z.object({
|
|
43
43
|
id: zod.z.string().describe("Unique identifier for the custom emoji.").nullable(),
|
|
44
44
|
url: zod.z.string().describe("HTTPS URL to the custom emoji image.").nullable(),
|
|
45
45
|
name: zod.z.string().describe("Display name of the custom emoji.").nullable()
|
|
46
|
-
}).describe("Custom emoji details.");
|
|
46
|
+
}).passthrough().describe("Custom emoji details.");
|
|
47
47
|
const NotionCreateDatabase__IconSchema = zod.z.object({
|
|
48
48
|
file: NotionCreateDatabase__NotionFileSchema.nullable().optional(),
|
|
49
49
|
type: zod.z.string().describe("Icon type: 'emoji', 'custom_emoji', 'external', or 'file'.").nullable(),
|
|
50
50
|
emoji: zod.z.string().describe("Emoji character (present when type is 'emoji').").nullable().optional(),
|
|
51
51
|
external: NotionCreateDatabase__ExternalFileSchema.nullable().optional(),
|
|
52
52
|
custom_emoji: NotionCreateDatabase__CustomEmojiSchema.nullable().optional()
|
|
53
|
-
}).describe("Database icon (emoji or file object).");
|
|
53
|
+
}).passthrough().describe("Database icon (emoji or file object).");
|
|
54
54
|
const NotionCreateDatabase__CoverSchema = zod.z.object({
|
|
55
55
|
file: NotionCreateDatabase__NotionFileSchema.nullable().optional(),
|
|
56
56
|
type: zod.z.string().describe("Cover type: 'external' or 'file'.").nullable(),
|
|
57
57
|
external: NotionCreateDatabase__ExternalFileSchema.nullable().optional()
|
|
58
|
-
}).describe("Database cover image (file object).");
|
|
59
|
-
const NotionCreateDatabase__LinkSchema = zod.z.object({ url: zod.z.string().describe("URL of the link.").nullable() }).describe("Link object for rich text.");
|
|
58
|
+
}).passthrough().describe("Database cover image (file object).");
|
|
59
|
+
const NotionCreateDatabase__LinkSchema = zod.z.object({ url: zod.z.string().describe("URL of the link.").nullable() }).passthrough().describe("Link object for rich text.");
|
|
60
60
|
const NotionCreateDatabase__TextContentSchema = zod.z.object({
|
|
61
61
|
link: NotionCreateDatabase__LinkSchema.nullable().optional(),
|
|
62
62
|
content: zod.z.string().describe("The text content.").nullable()
|
|
63
|
-
}).describe("Text content object for rich text.");
|
|
63
|
+
}).passthrough().describe("Text content object for rich text.");
|
|
64
64
|
const NotionCreateDatabase__AnnotationsSchema = zod.z.object({
|
|
65
65
|
bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
|
|
66
66
|
code: zod.z.boolean().describe("Whether the text is formatted as code.").nullable(),
|
|
@@ -68,28 +68,28 @@ const NotionCreateDatabase__AnnotationsSchema = zod.z.object({
|
|
|
68
68
|
italic: zod.z.boolean().describe("Whether the text is italic.").nullable(),
|
|
69
69
|
underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
70
70
|
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
71
|
-
}).describe("Styling information for rich text.");
|
|
71
|
+
}).passthrough().describe("Styling information for rich text.");
|
|
72
72
|
const NotionCreateDatabase__RichTextSchema = zod.z.object({
|
|
73
73
|
href: zod.z.string().describe("URL for links or null if no link.").nullable().optional(),
|
|
74
74
|
text: NotionCreateDatabase__TextContentSchema.nullable().optional(),
|
|
75
75
|
type: zod.z.string().describe("Type of rich text object: 'text', 'mention', or 'equation'.").nullable(),
|
|
76
76
|
plain_text: zod.z.string().describe("Plain text representation without formatting.").nullable(),
|
|
77
77
|
annotations: NotionCreateDatabase__AnnotationsSchema.nullable()
|
|
78
|
-
}).describe("Rich text object representing formatted text.");
|
|
78
|
+
}).passthrough().describe("Rich text object representing formatted text.");
|
|
79
79
|
const NotionCreateDatabase__ParentSchema = zod.z.object({
|
|
80
80
|
type: zod.z.string().describe("Parent type: 'page_id', 'workspace', or 'block_id'.").nullable(),
|
|
81
81
|
page_id: zod.z.string().describe("UUID of the parent page (present when type is 'page_id').").nullable().optional(),
|
|
82
82
|
block_id: zod.z.string().describe("UUID of the parent block (present when type is 'block_id').").nullable().optional(),
|
|
83
83
|
workspace: zod.z.boolean().describe("Always true when type is 'workspace'.").nullable().optional()
|
|
84
|
-
}).describe("Parent location of the database (page, workspace, or block).");
|
|
84
|
+
}).passthrough().describe("Parent location of the database (page, workspace, or block).");
|
|
85
85
|
const NotionCreateDatabase__PartialUserSchema = zod.z.object({
|
|
86
86
|
id: zod.z.string().describe("Unique identifier for the user (UUID format).").nullable(),
|
|
87
87
|
object: zod.z.string().describe("Always \"user\".").nullable()
|
|
88
|
-
}).describe("Partial Notion user object for created_by/last_edited_by contexts.");
|
|
88
|
+
}).passthrough().describe("Partial Notion user object for created_by/last_edited_by contexts.");
|
|
89
89
|
const NotionCreateDatabase__DataSourceRefSchema = zod.z.object({
|
|
90
90
|
id: zod.z.string().describe("Unique identifier for the data source (UUID format).").nullable(),
|
|
91
91
|
name: zod.z.string().describe("Name of the data source.").nullable()
|
|
92
|
-
}).describe("Minimal data source object embedded in Database responses.");
|
|
92
|
+
}).passthrough().describe("Minimal data source object embedded in Database responses.");
|
|
93
93
|
const NotionCreateDatabaseOutput = zod.z.object({
|
|
94
94
|
id: zod.z.string().describe("Unique identifier for the database (UUID format).").nullable(),
|
|
95
95
|
url: zod.z.string().describe("The URL of the database in Notion.").nullable(),
|
|
@@ -102,7 +102,7 @@ const NotionCreateDatabaseOutput = zod.z.object({
|
|
|
102
102
|
in_trash: zod.z.boolean().describe("Whether the database is in the trash.").nullable(),
|
|
103
103
|
is_inline: zod.z.boolean().describe("Whether the database appears inline on the page (true) or as a full page database (false).").nullable(),
|
|
104
104
|
created_by: NotionCreateDatabase__PartialUserSchema.nullable().optional(),
|
|
105
|
-
properties: zod.z.
|
|
105
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema definition of database properties/columns. Each property is keyed by its name and contains type-specific configuration including id, name, description, type, and a type-specific object with additional settings."),
|
|
106
106
|
public_url: zod.z.string().describe("Public web URL if the database is published to the web, otherwise null.").nullable().optional(),
|
|
107
107
|
request_id: zod.z.string().describe("Unique identifier for the API request (used for debugging and support).").nullable().optional(),
|
|
108
108
|
description: zod.z.array(NotionCreateDatabase__RichTextSchema).describe("Array of rich text objects representing the database description.").nullable().optional(),
|
|
@@ -111,7 +111,7 @@ const NotionCreateDatabaseOutput = zod.z.object({
|
|
|
111
111
|
last_edited_by: NotionCreateDatabase__PartialUserSchema.nullable().optional(),
|
|
112
112
|
developer_survey: zod.z.string().describe("URL to a feedback survey (may appear in API responses).").nullable().optional(),
|
|
113
113
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the database was last edited.").nullable()
|
|
114
|
-
}).describe("Response body returned by POST /v1/databases. Matches Notion Database object.");
|
|
114
|
+
}).passthrough().describe("Response body returned by POST /v1/databases. Matches Notion Database object.");
|
|
115
115
|
const notionCreateDatabase = require_action.action("NOTION_CREATE_DATABASE", {
|
|
116
116
|
slug: "notion-create-database",
|
|
117
117
|
name: "Create Notion Database",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database.cjs","names":["z","action"],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionCreateDatabaseInput = z.object({\n title: z.string().describe(\"The desired title for the new database. This text will be automatically converted into Notion's rich text format when the database is created.\"),\n parent_id: z.string().describe(\"**CRITICAL: MUST BE A PAGE ID, NOT A DATABASE ID.** Databases can only be created as children of pages, not as children of other databases. Using a database ID will result in an API error: 'Can't create databases parented by a database.' HOW TO IDENTIFY PAGE vs DATABASE: Use NOTION_SEARCH_NOTION_PAGE with filter_value='page' to find pages (object='page') - only these IDs can be used here. Database IDs (object='database') are NOT valid as parent_id for this action. FORMAT: Valid 32-character UUID with hyphens (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or without hyphens (32 alphanumeric characters). Additional text after the UUID (e.g., 'uuid: Page Title') is automatically cleaned. The page must be shared with your integration, otherwise you'll receive a 404 error.\"),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"The type of the property, which determines the kind of data it will store. Valid types are defined by the PropertyType enum.\"),\n database_id: z.string().describe(\"UUID of the database to relate to. Required when type is 'relation'. Must be a valid UUID format (32 hex characters, with or without hyphens). Placeholder values like 'PLACEHOLDER_PROJECT' are not allowed.\").optional(),\n relation_type: z.string().default(\"single_property\").describe(\"Relationship type, either 'single_property' or 'dual_property'.\").optional(),\n})).describe(\"Optional list defining the schema (columns) for the new database. Each item is an object with 'name' and 'type'. If not provided, Notion creates a default database with a single 'Name' column of type 'title'. When provided, the list must include at least one property of type 'title'. Common supported property types include: 'title', 'rich_text', 'number', 'select', 'multi_select', 'status', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number'. Other types like 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by' might also be supported. IMPORTANT: For 'relation' type properties, you MUST also provide the 'database_id' field with the UUID of the related database. The related database must be shared with your integration.\").optional(),\n});\nconst NotionCreateDatabase__NotionFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file (valid for one hour).\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).describe(\"Notion-hosted file.\");\nconst NotionCreateDatabase__ExternalFileSchema = z.object({\n url: z.string().describe(\"URL of the externally hosted file.\").nullable(),\n}).describe(\"External file URL.\");\nconst NotionCreateDatabase__CustomEmojiSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the custom emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).describe(\"Custom emoji details.\");\nconst NotionCreateDatabase__IconSchema = z.object({\n file: NotionCreateDatabase__NotionFileSchema.nullable().optional(),\n type: z.string().describe(\"Icon type: 'emoji', 'custom_emoji', 'external', or 'file'.\").nullable(),\n emoji: z.string().describe(\"Emoji character (present when type is 'emoji').\").nullable().optional(),\n external: NotionCreateDatabase__ExternalFileSchema.nullable().optional(),\n custom_emoji: NotionCreateDatabase__CustomEmojiSchema.nullable().optional(),\n}).describe(\"Database icon (emoji or file object).\");\nconst NotionCreateDatabase__CoverSchema = z.object({\n file: NotionCreateDatabase__NotionFileSchema.nullable().optional(),\n type: z.string().describe(\"Cover type: 'external' or 'file'.\").nullable(),\n external: NotionCreateDatabase__ExternalFileSchema.nullable().optional(),\n}).describe(\"Database cover image (file object).\");\nconst NotionCreateDatabase__LinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable(),\n}).describe(\"Link object for rich text.\");\nconst NotionCreateDatabase__TextContentSchema = z.object({\n link: NotionCreateDatabase__LinkSchema.nullable().optional(),\n content: z.string().describe(\"The text content.\").nullable(),\n}).describe(\"Text content object for rich text.\");\nconst NotionCreateDatabase__AnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether the text is formatted as code.\").nullable(),\n color: z.string().describe(\"Color of the text (e.g., 'default', 'blue', 'red', etc.).\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether the text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\").nullable(),\n}).describe(\"Styling information for rich text.\");\nconst NotionCreateDatabase__RichTextSchema = z.object({\n href: z.string().describe(\"URL for links or null if no link.\").nullable().optional(),\n text: NotionCreateDatabase__TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text object: 'text', 'mention', or 'equation'.\").nullable(),\n plain_text: z.string().describe(\"Plain text representation without formatting.\").nullable(),\n annotations: NotionCreateDatabase__AnnotationsSchema.nullable(),\n}).describe(\"Rich text object representing formatted text.\");\nconst NotionCreateDatabase__ParentSchema = z.object({\n type: z.string().describe(\"Parent type: 'page_id', 'workspace', or 'block_id'.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page (present when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (present when type is 'block_id').\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace'.\").nullable().optional(),\n}).describe(\"Parent location of the database (page, workspace, or block).\");\nconst NotionCreateDatabase__PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).describe(\"Partial Notion user object for created_by/last_edited_by contexts.\");\nconst NotionCreateDatabase__DataSourceRefSchema = z.object({\n id: z.string().describe(\"Unique identifier for the data source (UUID format).\").nullable(),\n name: z.string().describe(\"Name of the data source.\").nullable(),\n}).describe(\"Minimal data source object embedded in Database responses.\");\nexport const NotionCreateDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the database (UUID format).\").nullable(),\n url: z.string().describe(\"The URL of the database in Notion.\").nullable(),\n icon: NotionCreateDatabase__IconSchema.nullable().optional(),\n cover: NotionCreateDatabase__CoverSchema.nullable().optional(),\n title: z.array(NotionCreateDatabase__RichTextSchema).describe(\"Array of rich text objects representing the database title/name as it appears in Notion.\"),\n object: z.string().describe(\"Always \\\"database\\\".\").nullable(),\n parent: NotionCreateDatabase__ParentSchema.nullable(),\n archived: z.boolean().describe(\"Whether the database is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the database is in the trash.\").nullable(),\n is_inline: z.boolean().describe(\"Whether the database appears inline on the page (true) or as a full page database (false).\").nullable(),\n created_by: NotionCreateDatabase__PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Schema definition of database properties/columns. Each property is keyed by its name and contains type-specific configuration including id, name, description, type, and a type-specific object with additional settings.\"),\n public_url: z.string().describe(\"Public web URL if the database is published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the API request (used for debugging and support).\").nullable().optional(),\n description: z.array(NotionCreateDatabase__RichTextSchema).describe(\"Array of rich text objects representing the database description.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the database was created.\").nullable(),\n data_sources: z.array(NotionCreateDatabase__DataSourceRefSchema).describe(\"List of child data sources in the database (available in API version 2025-09-03+). Each database has one or more data sources.\").nullable().optional(),\n last_edited_by: NotionCreateDatabase__PartialUserSchema.nullable().optional(),\n developer_survey: z.string().describe(\"URL to a feedback survey (may appear in API responses).\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the database was last edited.\").nullable(),\n}).describe(\"Response body returned by POST /v1/databases. Matches Notion Database object.\");\n\nexport const notionCreateDatabase = action(\"NOTION_CREATE_DATABASE\", {\n slug: \"notion-create-database\",\n name: \"Create Notion Database\",\n description: \"Creates a new Notion database as a subpage under a specified parent page with a defined properties schema. IMPORTANT NOTES: - The parent page MUST be shared with your integration, otherwise you'll get a 404 error - If you encounter conflict errors (409), retry the request as Notion may experience temporary save conflicts - For relation properties, you MUST provide the database_id of the related database - Parent ID must be a valid UUID format (with or without hyphens), not a template variable Use this action exclusively for creating new databases.\",\n input: NotionCreateDatabaseInput,\n output: NotionCreateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAA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wC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2NAA2N;CAC7P,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChO,gBAAgB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC5E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-database.cjs","names":["z","action"],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionCreateDatabaseInput = z.object({\n title: z.string().describe(\"The desired title for the new database. This text will be automatically converted into Notion's rich text format when the database is created.\"),\n parent_id: z.string().describe(\"**CRITICAL: MUST BE A PAGE ID, NOT A DATABASE ID.** Databases can only be created as children of pages, not as children of other databases. Using a database ID will result in an API error: 'Can't create databases parented by a database.' HOW TO IDENTIFY PAGE vs DATABASE: Use NOTION_SEARCH_NOTION_PAGE with filter_value='page' to find pages (object='page') - only these IDs can be used here. Database IDs (object='database') are NOT valid as parent_id for this action. FORMAT: Valid 32-character UUID with hyphens (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or without hyphens (32 alphanumeric characters). Additional text after the UUID (e.g., 'uuid: Page Title') is automatically cleaned. The page must be shared with your integration, otherwise you'll receive a 404 error.\"),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"The type of the property, which determines the kind of data it will store. Valid types are defined by the PropertyType enum.\"),\n database_id: z.string().describe(\"UUID of the database to relate to. Required when type is 'relation'. Must be a valid UUID format (32 hex characters, with or without hyphens). Placeholder values like 'PLACEHOLDER_PROJECT' are not allowed.\").optional(),\n relation_type: z.string().default(\"single_property\").describe(\"Relationship type, either 'single_property' or 'dual_property'.\").optional(),\n}).passthrough()).describe(\"Optional list defining the schema (columns) for the new database. Each item is an object with 'name' and 'type'. If not provided, Notion creates a default database with a single 'Name' column of type 'title'. When provided, the list must include at least one property of type 'title'. Common supported property types include: 'title', 'rich_text', 'number', 'select', 'multi_select', 'status', 'date', 'people', 'files', 'checkbox', 'url', 'email', 'phone_number'. Other types like 'formula', 'relation', 'rollup', 'created_time', 'created_by', 'last_edited_time', 'last_edited_by' might also be supported. IMPORTANT: For 'relation' type properties, you MUST also provide the 'database_id' field with the UUID of the related database. The related database must be shared with your integration.\").optional(),\n});\nconst NotionCreateDatabase__NotionFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file (valid for one hour).\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file.\");\nconst NotionCreateDatabase__ExternalFileSchema = z.object({\n url: z.string().describe(\"URL of the externally hosted file.\").nullable(),\n}).passthrough().describe(\"External file URL.\");\nconst NotionCreateDatabase__CustomEmojiSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the custom emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji details.\");\nconst NotionCreateDatabase__IconSchema = z.object({\n file: NotionCreateDatabase__NotionFileSchema.nullable().optional(),\n type: z.string().describe(\"Icon type: 'emoji', 'custom_emoji', 'external', or 'file'.\").nullable(),\n emoji: z.string().describe(\"Emoji character (present when type is 'emoji').\").nullable().optional(),\n external: NotionCreateDatabase__ExternalFileSchema.nullable().optional(),\n custom_emoji: NotionCreateDatabase__CustomEmojiSchema.nullable().optional(),\n}).passthrough().describe(\"Database icon (emoji or file object).\");\nconst NotionCreateDatabase__CoverSchema = z.object({\n file: NotionCreateDatabase__NotionFileSchema.nullable().optional(),\n type: z.string().describe(\"Cover type: 'external' or 'file'.\").nullable(),\n external: NotionCreateDatabase__ExternalFileSchema.nullable().optional(),\n}).passthrough().describe(\"Database cover image (file object).\");\nconst NotionCreateDatabase__LinkSchema = z.object({\n url: z.string().describe(\"URL of the link.\").nullable(),\n}).passthrough().describe(\"Link object for rich text.\");\nconst NotionCreateDatabase__TextContentSchema = z.object({\n link: NotionCreateDatabase__LinkSchema.nullable().optional(),\n content: z.string().describe(\"The text content.\").nullable(),\n}).passthrough().describe(\"Text content object for rich text.\");\nconst NotionCreateDatabase__AnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether the text is formatted as code.\").nullable(),\n color: z.string().describe(\"Color of the text (e.g., 'default', 'blue', 'red', etc.).\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether the text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\").nullable(),\n}).passthrough().describe(\"Styling information for rich text.\");\nconst NotionCreateDatabase__RichTextSchema = z.object({\n href: z.string().describe(\"URL for links or null if no link.\").nullable().optional(),\n text: NotionCreateDatabase__TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text object: 'text', 'mention', or 'equation'.\").nullable(),\n plain_text: z.string().describe(\"Plain text representation without formatting.\").nullable(),\n annotations: NotionCreateDatabase__AnnotationsSchema.nullable(),\n}).passthrough().describe(\"Rich text object representing formatted text.\");\nconst NotionCreateDatabase__ParentSchema = z.object({\n type: z.string().describe(\"Parent type: 'page_id', 'workspace', or 'block_id'.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page (present when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (present when type is 'block_id').\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace'.\").nullable().optional(),\n}).passthrough().describe(\"Parent location of the database (page, workspace, or block).\");\nconst NotionCreateDatabase__PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough().describe(\"Partial Notion user object for created_by/last_edited_by contexts.\");\nconst NotionCreateDatabase__DataSourceRefSchema = z.object({\n id: z.string().describe(\"Unique identifier for the data source (UUID format).\").nullable(),\n name: z.string().describe(\"Name of the data source.\").nullable(),\n}).passthrough().describe(\"Minimal data source object embedded in Database responses.\");\nexport const NotionCreateDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the database (UUID format).\").nullable(),\n url: z.string().describe(\"The URL of the database in Notion.\").nullable(),\n icon: NotionCreateDatabase__IconSchema.nullable().optional(),\n cover: NotionCreateDatabase__CoverSchema.nullable().optional(),\n title: z.array(NotionCreateDatabase__RichTextSchema).describe(\"Array of rich text objects representing the database title/name as it appears in Notion.\"),\n object: z.string().describe(\"Always \\\"database\\\".\").nullable(),\n parent: NotionCreateDatabase__ParentSchema.nullable(),\n archived: z.boolean().describe(\"Whether the database is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the database is in the trash.\").nullable(),\n is_inline: z.boolean().describe(\"Whether the database appears inline on the page (true) or as a full page database (false).\").nullable(),\n created_by: NotionCreateDatabase__PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema definition of database properties/columns. Each property is keyed by its name and contains type-specific configuration including id, name, description, type, and a type-specific object with additional settings.\"),\n public_url: z.string().describe(\"Public web URL if the database is published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the API request (used for debugging and support).\").nullable().optional(),\n description: z.array(NotionCreateDatabase__RichTextSchema).describe(\"Array of rich text objects representing the database description.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the database was created.\").nullable(),\n data_sources: z.array(NotionCreateDatabase__DataSourceRefSchema).describe(\"List of child data sources in the database (available in API version 2025-09-03+). Each database has one or more data sources.\").nullable().optional(),\n last_edited_by: NotionCreateDatabase__PartialUserSchema.nullable().optional(),\n developer_survey: z.string().describe(\"URL to a feedback survey (may appear in API responses).\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the database was last edited.\").nullable(),\n}).passthrough().describe(\"Response body returned by POST /v1/databases. Matches Notion Database object.\");\n\nexport const notionCreateDatabase = action(\"NOTION_CREATE_DATABASE\", {\n slug: \"notion-create-database\",\n name: \"Create Notion Database\",\n description: \"Creates a new Notion database as a subpage under a specified parent page with a defined properties schema. IMPORTANT NOTES: - The parent page MUST be shared with your integration, otherwise you'll get a 404 error - If you encounter conflict errors (409), retry the request as Notion may experience temporary save conflicts - For relation properties, you MUST provide the database_id of the related database - Parent ID must be a valid UUID format (with or without hyphens), not a template variable Use this action exclusively for creating new databases.\",\n input: NotionCreateDatabaseInput,\n output: Not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