@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
|
@@ -10,64 +10,64 @@ declare const NotionRetrievePageOutput: z.ZodObject<{
|
|
|
10
10
|
icon: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
11
11
|
type: z.ZodNullable<z.ZodString>;
|
|
12
12
|
emoji: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
14
14
|
type: z.ZodNullable<z.ZodString>;
|
|
15
15
|
custom_emoji: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
21
21
|
type: z.ZodNullable<z.ZodString>;
|
|
22
22
|
external: z.ZodNullable<z.ZodObject<{
|
|
23
23
|
url: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
26
26
|
type: z.ZodNullable<z.ZodString>;
|
|
27
27
|
file_upload: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
id: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>;
|
|
30
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
31
31
|
file: z.ZodNullable<z.ZodObject<{
|
|
32
32
|
url: z.ZodNullable<z.ZodString>;
|
|
33
33
|
expiry_time: z.ZodNullable<z.ZodString>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>;
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>]>>>;
|
|
37
37
|
cover: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
38
38
|
type: z.ZodNullable<z.ZodString>;
|
|
39
39
|
external: z.ZodNullable<z.ZodObject<{
|
|
40
40
|
url: z.ZodNullable<z.ZodString>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>;
|
|
42
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
43
43
|
type: z.ZodNullable<z.ZodString>;
|
|
44
44
|
file_upload: z.ZodNullable<z.ZodObject<{
|
|
45
45
|
id: z.ZodNullable<z.ZodString>;
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
48
48
|
file: z.ZodNullable<z.ZodObject<{
|
|
49
49
|
url: z.ZodNullable<z.ZodString>;
|
|
50
50
|
expiry_time: z.ZodNullable<z.ZodString>;
|
|
51
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
52
|
type: z.ZodNullable<z.ZodString>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>]>>>;
|
|
54
54
|
object: z.ZodNullable<z.ZodString>;
|
|
55
55
|
parent: z.ZodUnion<readonly [z.ZodObject<{
|
|
56
56
|
type: z.ZodNullable<z.ZodString>;
|
|
57
57
|
data_source_id: z.ZodNullable<z.ZodString>;
|
|
58
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
59
59
|
type: z.ZodNullable<z.ZodString>;
|
|
60
60
|
database_id: z.ZodNullable<z.ZodString>;
|
|
61
|
-
}, z.core.$
|
|
61
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
62
62
|
type: z.ZodNullable<z.ZodString>;
|
|
63
63
|
page_id: z.ZodNullable<z.ZodString>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
65
65
|
type: z.ZodNullable<z.ZodString>;
|
|
66
66
|
workspace: z.ZodNullable<z.ZodBoolean>;
|
|
67
|
-
}, z.core.$
|
|
67
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
68
68
|
type: z.ZodNullable<z.ZodString>;
|
|
69
69
|
block_id: z.ZodNullable<z.ZodString>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>]>;
|
|
71
71
|
archived: z.ZodNullable<z.ZodBoolean>;
|
|
72
72
|
in_trash: z.ZodNullable<z.ZodBoolean>;
|
|
73
73
|
is_locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -77,19 +77,19 @@ declare const NotionRetrievePageOutput: z.ZodObject<{
|
|
|
77
77
|
owner: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
78
78
|
type: z.ZodNullable<z.ZodString>;
|
|
79
79
|
workspace: z.ZodNullable<z.ZodBoolean>;
|
|
80
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
81
81
|
type: z.ZodNullable<z.ZodString>;
|
|
82
82
|
user: z.ZodNullable<z.ZodObject<{
|
|
83
83
|
id: z.ZodNullable<z.ZodString>;
|
|
84
84
|
object: z.ZodNullable<z.ZodString>;
|
|
85
|
-
}, z.core.$
|
|
86
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>>;
|
|
86
|
+
}, z.core.$loose>]>>>;
|
|
87
87
|
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
88
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
89
|
workspace_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
90
90
|
max_file_upload_size_in_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
91
|
-
}, z.core.$
|
|
92
|
-
}, z.core.$
|
|
91
|
+
}, z.core.$loose>>>;
|
|
92
|
+
}, z.core.$loose>>>;
|
|
93
93
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
94
|
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
95
95
|
person: "person";
|
|
@@ -98,10 +98,10 @@ declare const NotionRetrievePageOutput: z.ZodObject<{
|
|
|
98
98
|
object: z.ZodNullable<z.ZodString>;
|
|
99
99
|
person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
100
100
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
-
}, z.core.$
|
|
101
|
+
}, z.core.$loose>>>;
|
|
102
102
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
|
-
}, z.core.$
|
|
104
|
-
properties: z.
|
|
103
|
+
}, z.core.$loose>>;
|
|
104
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
105
105
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
106
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
107
|
created_time: z.ZodNullable<z.ZodString>;
|
|
@@ -111,19 +111,19 @@ declare const NotionRetrievePageOutput: z.ZodObject<{
|
|
|
111
111
|
owner: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
112
112
|
type: z.ZodNullable<z.ZodString>;
|
|
113
113
|
workspace: z.ZodNullable<z.ZodBoolean>;
|
|
114
|
-
}, z.core.$
|
|
114
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
115
115
|
type: z.ZodNullable<z.ZodString>;
|
|
116
116
|
user: z.ZodNullable<z.ZodObject<{
|
|
117
117
|
id: z.ZodNullable<z.ZodString>;
|
|
118
118
|
object: z.ZodNullable<z.ZodString>;
|
|
119
|
-
}, z.core.$
|
|
120
|
-
}, z.core.$
|
|
119
|
+
}, z.core.$loose>>;
|
|
120
|
+
}, z.core.$loose>]>>>;
|
|
121
121
|
workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
122
|
workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
123
|
workspace_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
124
124
|
max_file_upload_size_in_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
125
|
-
}, z.core.$
|
|
126
|
-
}, z.core.$
|
|
125
|
+
}, z.core.$loose>>>;
|
|
126
|
+
}, z.core.$loose>>>;
|
|
127
127
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
128
|
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
129
129
|
person: "person";
|
|
@@ -132,14 +132,26 @@ declare const NotionRetrievePageOutput: z.ZodObject<{
|
|
|
132
132
|
object: z.ZodNullable<z.ZodString>;
|
|
133
133
|
person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
134
134
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
-
}, z.core.$
|
|
135
|
+
}, z.core.$loose>>>;
|
|
136
136
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
-
}, z.core.$
|
|
137
|
+
}, z.core.$loose>>;
|
|
138
138
|
last_edited_time: z.ZodNullable<z.ZodString>;
|
|
139
|
-
}, z.core.$
|
|
139
|
+
}, z.core.$loose>;
|
|
140
140
|
declare const notionRetrievePage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
141
141
|
page_id: string;
|
|
142
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
142
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
143
|
+
connectionId: z.ZodString;
|
|
144
|
+
entityId: z.ZodString;
|
|
145
|
+
instanceId: z.ZodString;
|
|
146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
147
|
+
accessToken: z.ZodString;
|
|
148
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
149
|
+
connectionId: z.ZodString;
|
|
150
|
+
entityId: z.ZodString;
|
|
151
|
+
instanceId: z.ZodString;
|
|
152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
153
|
+
accessToken: z.ZodString;
|
|
154
|
+
}, z.core.$strip>>]>;
|
|
143
155
|
//#endregion
|
|
144
156
|
export { notionRetrievePage };
|
|
145
157
|
//# sourceMappingURL=retrieve-page.d.mts.map
|
|
@@ -5,74 +5,74 @@ const NotionRetrievePageInput = z.object({ page_id: z.string().describe("The UUI
|
|
|
5
5
|
const NotionRetrievePage_EmojiObjectSchema = z.object({
|
|
6
6
|
type: z.string().nullable(),
|
|
7
7
|
emoji: z.string().nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const NotionRetrievePage_CustomEmojiDetailsSchema = z.object({
|
|
10
10
|
id: z.string().describe("ID of the custom emoji.").nullable().optional(),
|
|
11
11
|
url: z.string().describe("URL of the custom emoji image.").nullable().optional(),
|
|
12
12
|
name: z.string().describe("Name of the custom emoji.").nullable().optional()
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const NotionRetrievePage_CustomEmojiIconSchema = z.object({
|
|
15
15
|
type: z.string().nullable(),
|
|
16
16
|
custom_emoji: NotionRetrievePage_CustomEmojiDetailsSchema.nullable()
|
|
17
|
-
});
|
|
18
|
-
const NotionRetrievePage_ExternalFileDetailsSchema = z.object({ url: z.string().describe("URL to the externally hosted file.").nullable() });
|
|
17
|
+
}).passthrough();
|
|
18
|
+
const NotionRetrievePage_ExternalFileDetailsSchema = z.object({ url: z.string().describe("URL to the externally hosted file.").nullable() }).passthrough();
|
|
19
19
|
const NotionRetrievePage_FileObjectExternalSchema = z.object({
|
|
20
20
|
type: z.string().nullable(),
|
|
21
21
|
external: NotionRetrievePage_ExternalFileDetailsSchema.nullable()
|
|
22
|
-
});
|
|
23
|
-
const NotionRetrievePage_FileUploadDetailsSchema = z.object({ id: z.string().describe("ID of the uploaded file (UUID).").nullable() });
|
|
22
|
+
}).passthrough();
|
|
23
|
+
const NotionRetrievePage_FileUploadDetailsSchema = z.object({ id: z.string().describe("ID of the uploaded file (UUID).").nullable() }).passthrough();
|
|
24
24
|
const NotionRetrievePage_FileObjectFileUploadSchema = z.object({
|
|
25
25
|
type: z.string().nullable(),
|
|
26
26
|
file_upload: NotionRetrievePage_FileUploadDetailsSchema.nullable()
|
|
27
|
-
});
|
|
27
|
+
}).passthrough();
|
|
28
28
|
const NotionRetrievePage_NotionHostedFileDetailsSchema = z.object({
|
|
29
29
|
url: z.string().describe("Authenticated URL to the file, valid for one hour.").nullable(),
|
|
30
30
|
expiry_time: z.string().describe("Expiration time of the temporary URL (ISO 8601 format).").nullable()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const NotionRetrievePage_FileObjectFileSchema = z.object({
|
|
33
33
|
file: NotionRetrievePage_NotionHostedFileDetailsSchema.nullable(),
|
|
34
34
|
type: z.string().nullable()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const NotionRetrievePage_ParentDataSourceSchema = z.object({
|
|
37
37
|
type: z.string().nullable(),
|
|
38
38
|
data_source_id: z.string().describe("Data source ID (UUID).").nullable()
|
|
39
|
-
});
|
|
39
|
+
}).passthrough();
|
|
40
40
|
const NotionRetrievePage_ParentDatabaseSchema = z.object({
|
|
41
41
|
type: z.string().nullable(),
|
|
42
42
|
database_id: z.string().describe("Database ID (UUID).").nullable()
|
|
43
|
-
});
|
|
43
|
+
}).passthrough();
|
|
44
44
|
const NotionRetrievePage_ParentPageSchema = z.object({
|
|
45
45
|
type: z.string().nullable(),
|
|
46
46
|
page_id: z.string().describe("Page ID (UUID).").nullable()
|
|
47
|
-
});
|
|
47
|
+
}).passthrough();
|
|
48
48
|
const NotionRetrievePage_ParentWorkspaceSchema = z.object({
|
|
49
49
|
type: z.string().nullable(),
|
|
50
50
|
workspace: z.boolean().nullable()
|
|
51
|
-
});
|
|
51
|
+
}).passthrough();
|
|
52
52
|
const NotionRetrievePage_ParentBlockSchema = z.object({
|
|
53
53
|
type: z.string().nullable(),
|
|
54
54
|
block_id: z.string().describe("Block ID (UUID).").nullable()
|
|
55
|
-
});
|
|
55
|
+
}).passthrough();
|
|
56
56
|
const NotionRetrievePage_BotOwnerWorkspaceSchema = z.object({
|
|
57
57
|
type: z.string().nullable(),
|
|
58
58
|
workspace: z.boolean().nullable()
|
|
59
|
-
});
|
|
59
|
+
}).passthrough();
|
|
60
60
|
const NotionRetrievePage_BotOwnerUserRefSchema = z.object({
|
|
61
61
|
id: z.string().describe("User ID of the bot owner.").nullable(),
|
|
62
62
|
object: z.string().describe("Always \"user\".").nullable()
|
|
63
|
-
});
|
|
63
|
+
}).passthrough();
|
|
64
64
|
const NotionRetrievePage_BotOwnerUserSchema = z.object({
|
|
65
65
|
type: z.string().nullable(),
|
|
66
66
|
user: NotionRetrievePage_BotOwnerUserRefSchema.nullable()
|
|
67
|
-
});
|
|
68
|
-
const NotionRetrievePage_WorkspaceLimitsSchema = z.object({ max_file_upload_size_in_bytes: z.number().int().describe("Maximum file upload size in bytes.").nullable().optional() });
|
|
67
|
+
}).passthrough();
|
|
68
|
+
const NotionRetrievePage_WorkspaceLimitsSchema = z.object({ max_file_upload_size_in_bytes: z.number().int().describe("Maximum file upload size in bytes.").nullable().optional() }).passthrough();
|
|
69
69
|
const NotionRetrievePage_BotDetailsSchema = z.object({
|
|
70
70
|
owner: z.union([NotionRetrievePage_BotOwnerWorkspaceSchema, NotionRetrievePage_BotOwnerUserSchema]).nullable().optional(),
|
|
71
71
|
workspace_id: z.string().describe("Bot's workspace ID.").nullable().optional(),
|
|
72
72
|
workspace_name: z.string().describe("Name of the workspace (null if owner is user).").nullable().optional(),
|
|
73
73
|
workspace_limits: NotionRetrievePage_WorkspaceLimitsSchema.nullable().optional()
|
|
74
|
-
});
|
|
75
|
-
const NotionRetrievePage_PersonDetailsSchema = z.object({ email: z.string().describe("Email address of the person.").nullable().optional() });
|
|
74
|
+
}).passthrough();
|
|
75
|
+
const NotionRetrievePage_PersonDetailsSchema = z.object({ email: z.string().describe("Email address of the person.").nullable().optional() }).passthrough();
|
|
76
76
|
const NotionRetrievePage_PartialUserSchema = z.object({
|
|
77
77
|
id: z.string().describe("Unique identifier for the user (UUID).").nullable(),
|
|
78
78
|
bot: NotionRetrievePage_BotDetailsSchema.nullable().optional(),
|
|
@@ -81,7 +81,7 @@ const NotionRetrievePage_PartialUserSchema = z.object({
|
|
|
81
81
|
object: z.string().describe("Always \"user\".").nullable(),
|
|
82
82
|
person: NotionRetrievePage_PersonDetailsSchema.nullable().optional(),
|
|
83
83
|
avatar_url: z.string().describe("URL to the user's avatar image, or null.").nullable().optional()
|
|
84
|
-
});
|
|
84
|
+
}).passthrough();
|
|
85
85
|
const notionRetrievePage = action("NOTION_RETRIEVE_PAGE", {
|
|
86
86
|
slug: "notion-retrieve-page",
|
|
87
87
|
name: "Retrieve page",
|
|
@@ -114,13 +114,13 @@ const notionRetrievePage = action("NOTION_RETRIEVE_PAGE", {
|
|
|
114
114
|
in_trash: z.boolean().describe("Whether the page is in the trash.").nullable(),
|
|
115
115
|
is_locked: z.boolean().nullable().optional(),
|
|
116
116
|
created_by: NotionRetrievePage_PartialUserSchema.nullable(),
|
|
117
|
-
properties: z.
|
|
117
|
+
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."),
|
|
118
118
|
public_url: z.string().describe("The public page URL if the page has been published to the web, otherwise null.").nullable().optional(),
|
|
119
119
|
request_id: z.string().nullable().optional(),
|
|
120
120
|
created_time: z.string().describe("Date and time when this page was created (ISO 8601 format).").nullable(),
|
|
121
121
|
last_edited_by: NotionRetrievePage_PartialUserSchema.nullable(),
|
|
122
122
|
last_edited_time: z.string().describe("Date and time when this page was last edited (ISO 8601 format).").nullable()
|
|
123
|
-
}).describe("Response for retrieving a Notion page. Returns the complete Page object including\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\n\nNote: This endpoint returns page properties and metadata only, not page content.\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\nProperties with more than 25 references may not return complete values; use\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.")
|
|
123
|
+
}).passthrough().describe("Response for retrieving a Notion page. Returns the complete Page object including\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\n\nNote: This endpoint returns page properties and metadata only, not page content.\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\nProperties with more than 25 references may not return complete values; use\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.")
|
|
124
124
|
});
|
|
125
125
|
//#endregion
|
|
126
126
|
export { notionRetrievePage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-page.mjs","names":[],"sources":["../../src/actions/retrieve-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrievePageInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. IMPORTANT: Must be a PAGE ID, not a database ID. If you have a database ID, use NOTION_FETCH_DATABASE instead. This endpoint returns page properties and metadata, not page content (use block-children tools for content). For pages with properties containing more than 25 references, use NOTION_GET_PAGE_PROPERTY_ACTION to retrieve complete property values.\"),\n});\nconst NotionRetrievePage_EmojiObjectSchema = z.object({\n type: z.string().nullable(),\n emoji: z.string().nullable(),\n});\nconst NotionRetrievePage_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"ID of the custom emoji.\").nullable().optional(),\n url: z.string().describe(\"URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n});\nconst NotionRetrievePage_CustomEmojiIconSchema = z.object({\n type: z.string().nullable(),\n custom_emoji: NotionRetrievePage_CustomEmojiDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n});\nconst NotionRetrievePage_FileObjectExternalSchema = z.object({\n type: z.string().nullable(),\n external: NotionRetrievePage_ExternalFileDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_FileUploadDetailsSchema = z.object({\n id: z.string().describe(\"ID of the uploaded file (UUID).\").nullable(),\n});\nconst NotionRetrievePage_FileObjectFileUploadSchema = z.object({\n type: z.string().nullable(),\n file_upload: NotionRetrievePage_FileUploadDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_NotionHostedFileDetailsSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the temporary URL (ISO 8601 format).\").nullable(),\n});\nconst NotionRetrievePage_FileObjectFileSchema = z.object({\n file: NotionRetrievePage_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().nullable(),\n});\nconst NotionRetrievePage_ParentDataSourceSchema = z.object({\n type: z.string().nullable(),\n data_source_id: z.string().describe(\"Data source ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_ParentDatabaseSchema = z.object({\n type: z.string().nullable(),\n database_id: z.string().describe(\"Database ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_ParentPageSchema = z.object({\n type: z.string().nullable(),\n page_id: z.string().describe(\"Page ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_ParentWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n});\nconst NotionRetrievePage_ParentBlockSchema = z.object({\n type: z.string().nullable(),\n block_id: z.string().describe(\"Block ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_BotOwnerWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n});\nconst NotionRetrievePage_BotOwnerUserRefSchema = z.object({\n id: z.string().describe(\"User ID of the bot owner.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n});\nconst NotionRetrievePage_BotOwnerUserSchema = z.object({\n type: z.string().nullable(),\n user: NotionRetrievePage_BotOwnerUserRefSchema.nullable(),\n});\nconst NotionRetrievePage_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file upload size in bytes.\").nullable().optional(),\n});\nconst NotionRetrievePage_BotDetailsSchema = z.object({\n owner: z.union([NotionRetrievePage_BotOwnerWorkspaceSchema, NotionRetrievePage_BotOwnerUserSchema]).nullable().optional(),\n workspace_id: z.string().describe(\"Bot's workspace ID.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace (null if owner is user).\").nullable().optional(),\n workspace_limits: NotionRetrievePage_WorkspaceLimitsSchema.nullable().optional(),\n});\nconst NotionRetrievePage_PersonDetailsSchema = z.object({\n email: z.string().describe(\"Email address of the person.\").nullable().optional(),\n});\nconst NotionRetrievePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionRetrievePage_BotDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionRetrievePage_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n});\nexport const NotionRetrievePageOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionRetrievePage_EmojiObjectSchema, NotionRetrievePage_CustomEmojiIconSchema, NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n cover: z.union([NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\".\").nullable(),\n parent: z.union([NotionRetrievePage_ParentDataSourceSchema, NotionRetrievePage_ParentDatabaseSchema, NotionRetrievePage_ParentPageSchema, NotionRetrievePage_ParentWorkspaceSchema, NotionRetrievePage_ParentBlockSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable(),\n is_locked: z.boolean().nullable().optional(),\n created_by: NotionRetrievePage_PartialUserSchema.nullable(),\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.\"),\n public_url: z.string().describe(\"The public page URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created (ISO 8601 format).\").nullable(),\n last_edited_by: NotionRetrievePage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when this page was last edited (ISO 8601 format).\").nullable(),\n}).describe(\"Response for retrieving a Notion page. Returns the complete Page object including\\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\\n\\nNote: This endpoint returns page properties and metadata only, not page content.\\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\\nProperties with more than 25 references may not return complete values; use\\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.\");\n\nexport const notionRetrievePage = action(\"NOTION_RETRIEVE_PAGE\", {\n slug: \"notion-retrieve-page\",\n name: \"Retrieve page\",\n description: \"Retrieve a Notion page's properties/metadata (not block content) by page_id. Use when you have a page URL/ID and need to access its properties; for page content use block-children tools.\",\n input: NotionRetrievePageInput,\n output: NotionRetrievePageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,keAAke,EACjgB,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,cAAc,4CAA4C,SAAS;AACrE,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO,EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,UAAU,6CAA6C,SAAS;AAClE,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,aAAa,2CAA2C,SAAS;AACnE,CAAC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,CAAC,SAAS;EAC3C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC1G,gBAAgB,qCAAqC,SAAS;EAC9D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,seAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"retrieve-page.mjs","names":[],"sources":["../../src/actions/retrieve-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrievePageInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. IMPORTANT: Must be a PAGE ID, not a database ID. If you have a database ID, use NOTION_FETCH_DATABASE instead. This endpoint returns page properties and metadata, not page content (use block-children tools for content). For pages with properties containing more than 25 references, use NOTION_GET_PAGE_PROPERTY_ACTION to retrieve complete property values.\"),\n});\nconst NotionRetrievePage_EmojiObjectSchema = z.object({\n type: z.string().nullable(),\n emoji: z.string().nullable(),\n}).passthrough();\nconst NotionRetrievePage_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"ID of the custom emoji.\").nullable().optional(),\n url: z.string().describe(\"URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n}).passthrough();\nconst NotionRetrievePage_CustomEmojiIconSchema = z.object({\n type: z.string().nullable(),\n custom_emoji: NotionRetrievePage_CustomEmojiDetailsSchema.nullable(),\n}).passthrough();\nconst NotionRetrievePage_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_FileObjectExternalSchema = z.object({\n type: z.string().nullable(),\n external: NotionRetrievePage_ExternalFileDetailsSchema.nullable(),\n}).passthrough();\nconst NotionRetrievePage_FileUploadDetailsSchema = z.object({\n id: z.string().describe(\"ID of the uploaded file (UUID).\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_FileObjectFileUploadSchema = z.object({\n type: z.string().nullable(),\n file_upload: NotionRetrievePage_FileUploadDetailsSchema.nullable(),\n}).passthrough();\nconst NotionRetrievePage_NotionHostedFileDetailsSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the temporary URL (ISO 8601 format).\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_FileObjectFileSchema = z.object({\n file: NotionRetrievePage_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().nullable(),\n}).passthrough();\nconst NotionRetrievePage_ParentDataSourceSchema = z.object({\n type: z.string().nullable(),\n data_source_id: z.string().describe(\"Data source ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_ParentDatabaseSchema = z.object({\n type: z.string().nullable(),\n database_id: z.string().describe(\"Database ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_ParentPageSchema = z.object({\n type: z.string().nullable(),\n page_id: z.string().describe(\"Page ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_ParentWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n}).passthrough();\nconst NotionRetrievePage_ParentBlockSchema = z.object({\n type: z.string().nullable(),\n block_id: z.string().describe(\"Block ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_BotOwnerWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n}).passthrough();\nconst NotionRetrievePage_BotOwnerUserRefSchema = z.object({\n id: z.string().describe(\"User ID of the bot owner.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough();\nconst NotionRetrievePage_BotOwnerUserSchema = z.object({\n type: z.string().nullable(),\n user: NotionRetrievePage_BotOwnerUserRefSchema.nullable(),\n}).passthrough();\nconst NotionRetrievePage_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file upload size in bytes.\").nullable().optional(),\n}).passthrough();\nconst NotionRetrievePage_BotDetailsSchema = z.object({\n owner: z.union([NotionRetrievePage_BotOwnerWorkspaceSchema, NotionRetrievePage_BotOwnerUserSchema]).nullable().optional(),\n workspace_id: z.string().describe(\"Bot's workspace ID.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace (null if owner is user).\").nullable().optional(),\n workspace_limits: NotionRetrievePage_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nconst NotionRetrievePage_PersonDetailsSchema = z.object({\n email: z.string().describe(\"Email address of the person.\").nullable().optional(),\n}).passthrough();\nconst NotionRetrievePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionRetrievePage_BotDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionRetrievePage_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n}).passthrough();\nexport const NotionRetrievePageOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionRetrievePage_EmojiObjectSchema, NotionRetrievePage_CustomEmojiIconSchema, NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n cover: z.union([NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\".\").nullable(),\n parent: z.union([NotionRetrievePage_ParentDataSourceSchema, NotionRetrievePage_ParentDatabaseSchema, NotionRetrievePage_ParentPageSchema, NotionRetrievePage_ParentWorkspaceSchema, NotionRetrievePage_ParentBlockSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable(),\n is_locked: z.boolean().nullable().optional(),\n created_by: NotionRetrievePage_PartialUserSchema.nullable(),\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.\"),\n public_url: z.string().describe(\"The public page URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created (ISO 8601 format).\").nullable(),\n last_edited_by: NotionRetrievePage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when this page was last edited (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"Response for retrieving a Notion page. Returns the complete Page object including\\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\\n\\nNote: This endpoint returns page properties and metadata only, not page content.\\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\\nProperties with more than 25 references may not return complete values; use\\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.\");\n\nexport const notionRetrievePage = action(\"NOTION_RETRIEVE_PAGE\", {\n slug: \"notion-retrieve-page\",\n name: \"Retrieve page\",\n description: \"Retrieve a Notion page's properties/metadata (not block content) by page_id. Use when you have a page URL/ID and need to access its properties; for page content use block-children tools.\",\n input: NotionRetrievePageInput,\n output: NotionRetrievePageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,keAAke,EACjgB,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC1G,gBAAgB,qCAAqC,SAAS;EAC9D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,seAOhB;AACV,CAAC"}
|
|
@@ -14,14 +14,14 @@ const NotionSearchNotionPageInput = zod.z.object({
|
|
|
14
14
|
const NotionSearchNotionPage_FileFileSchema = zod.z.object({
|
|
15
15
|
url: zod.z.string().nullable(),
|
|
16
16
|
expiry_time: zod.z.string().nullable()
|
|
17
|
-
});
|
|
18
|
-
const NotionSearchNotionPage_ExternalFileSchema = zod.z.object({ url: zod.z.string().nullable() });
|
|
19
|
-
const NotionSearchNotionPage_FileUploadSchema = zod.z.object({ id: zod.z.string().nullable() });
|
|
17
|
+
}).passthrough();
|
|
18
|
+
const NotionSearchNotionPage_ExternalFileSchema = zod.z.object({ url: zod.z.string().nullable() }).passthrough();
|
|
19
|
+
const NotionSearchNotionPage_FileUploadSchema = zod.z.object({ id: zod.z.string().nullable() }).passthrough();
|
|
20
20
|
const NotionSearchNotionPage_CustomEmojiInfoSchema = zod.z.object({
|
|
21
21
|
id: zod.z.string().describe("The ID of the custom emoji.").nullable(),
|
|
22
22
|
url: zod.z.string().describe("The URL of the custom emoji image.").nullable().optional(),
|
|
23
23
|
name: zod.z.string().describe("The name of the custom emoji.").nullable().optional()
|
|
24
|
-
}).describe("Custom emoji details.");
|
|
24
|
+
}).passthrough().describe("Custom emoji details.");
|
|
25
25
|
const NotionSearchNotionPage_FileObjectSchema = zod.z.object({
|
|
26
26
|
file: NotionSearchNotionPage_FileFileSchema.nullable().optional(),
|
|
27
27
|
name: zod.z.string().nullable().optional(),
|
|
@@ -34,15 +34,15 @@ const NotionSearchNotionPage_FileObjectSchema = zod.z.object({
|
|
|
34
34
|
external: NotionSearchNotionPage_ExternalFileSchema.nullable().optional(),
|
|
35
35
|
file_upload: NotionSearchNotionPage_FileUploadSchema.nullable().optional(),
|
|
36
36
|
custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional()
|
|
37
|
-
});
|
|
37
|
+
}).passthrough();
|
|
38
38
|
const NotionSearchNotionPage_EmojiObjectSchema = zod.z.object({
|
|
39
39
|
type: zod.z.string().describe("Always 'emoji'.").nullable(),
|
|
40
40
|
emoji: zod.z.string().describe("The emoji character.").nullable()
|
|
41
|
-
}).describe("Standard emoji icon object.");
|
|
41
|
+
}).passthrough().describe("Standard emoji icon object.");
|
|
42
42
|
const NotionSearchNotionPage_CustomEmojiObjectSchema = zod.z.object({
|
|
43
43
|
type: zod.z.string().describe("Always 'custom_emoji'.").nullable(),
|
|
44
44
|
custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional()
|
|
45
|
-
}).describe("Custom emoji icon object for workspace-uploaded emojis.");
|
|
45
|
+
}).passthrough().describe("Custom emoji icon object for workspace-uploaded emojis.");
|
|
46
46
|
const NotionSearchNotionPage_ParentSchema = zod.z.object({
|
|
47
47
|
type: zod.z.enum([
|
|
48
48
|
"page_id",
|
|
@@ -56,8 +56,8 @@ const NotionSearchNotionPage_ParentSchema = zod.z.object({
|
|
|
56
56
|
workspace: zod.z.boolean().nullable().optional(),
|
|
57
57
|
database_id: zod.z.string().nullable().optional(),
|
|
58
58
|
data_source_id: zod.z.string().nullable().optional()
|
|
59
|
-
});
|
|
60
|
-
const NotionSearchNotionPage_PersonInfoSchema = zod.z.object({ email: zod.z.string().describe("The email address of the person. Only available if integration has user capability permissions.").nullable().optional() }).describe("Person-specific information for user objects.");
|
|
59
|
+
}).passthrough();
|
|
60
|
+
const NotionSearchNotionPage_PersonInfoSchema = zod.z.object({ email: zod.z.string().describe("The email address of the person. Only available if integration has user capability permissions.").nullable().optional() }).passthrough().describe("Person-specific information for user objects.");
|
|
61
61
|
const NotionSearchNotionPage_BotOwnerUserSchema = zod.z.object({
|
|
62
62
|
id: zod.z.string().describe("UUID of the owner user.").nullable(),
|
|
63
63
|
name: zod.z.string().describe("Display name of the owner.").nullable().optional(),
|
|
@@ -65,19 +65,19 @@ const NotionSearchNotionPage_BotOwnerUserSchema = zod.z.object({
|
|
|
65
65
|
object: zod.z.string().describe("Always 'user'.").nullable(),
|
|
66
66
|
person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),
|
|
67
67
|
avatar_url: zod.z.string().describe("Avatar URL of the owner.").nullable().optional()
|
|
68
|
-
}).describe("User reference for bot owner when type is 'user'.");
|
|
68
|
+
}).passthrough().describe("User reference for bot owner when type is 'user'.");
|
|
69
69
|
const NotionSearchNotionPage_BotOwnerSchema = zod.z.object({
|
|
70
70
|
type: zod.z.enum(["workspace", "user"]).describe("The type of owner - either 'workspace' or 'user'.").nullable(),
|
|
71
71
|
user: NotionSearchNotionPage_BotOwnerUserSchema.nullable().optional(),
|
|
72
72
|
workspace: zod.z.boolean().describe("Boolean value when owner type is workspace.").nullable().optional()
|
|
73
|
-
}).describe("Owner information for bot users.");
|
|
74
|
-
const NotionSearchNotionPage_WorkspaceLimitsSchema = zod.z.object({ max_file_upload_size_in_bytes: zod.z.number().int().describe("Maximum file size allowed for uploads in bytes.").nullable().optional() }).describe("Workspace limit restrictions for bot users.");
|
|
73
|
+
}).passthrough().describe("Owner information for bot users.");
|
|
74
|
+
const NotionSearchNotionPage_WorkspaceLimitsSchema = zod.z.object({ max_file_upload_size_in_bytes: zod.z.number().int().describe("Maximum file size allowed for uploads in bytes.").nullable().optional() }).passthrough().describe("Workspace limit restrictions for bot users.");
|
|
75
75
|
const NotionSearchNotionPage_BotInfoSchema = zod.z.object({
|
|
76
76
|
owner: NotionSearchNotionPage_BotOwnerSchema.nullable().optional(),
|
|
77
77
|
workspace_id: zod.z.string().describe("ID of the bot's workspace.").nullable().optional(),
|
|
78
78
|
workspace_name: zod.z.string().describe("Name of the workspace that owns the bot. Null if owner type is 'user'.").nullable().optional(),
|
|
79
79
|
workspace_limits: NotionSearchNotionPage_WorkspaceLimitsSchema.nullable().optional()
|
|
80
|
-
}).describe("Bot-specific information for user objects.");
|
|
80
|
+
}).passthrough().describe("Bot-specific information for user objects.");
|
|
81
81
|
const NotionSearchNotionPage_PartialUserSchema = zod.z.object({
|
|
82
82
|
id: zod.z.string().describe("UUID identifier for the user.").nullable(),
|
|
83
83
|
bot: NotionSearchNotionPage_BotInfoSchema.nullable().optional(),
|
|
@@ -86,7 +86,7 @@ const NotionSearchNotionPage_PartialUserSchema = zod.z.object({
|
|
|
86
86
|
object: zod.z.string().describe("Always 'user'.").nullable(),
|
|
87
87
|
person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),
|
|
88
88
|
avatar_url: zod.z.string().describe("URL of the user's avatar image.").nullable().optional()
|
|
89
|
-
}).describe("Represents a user in Notion (person or bot).");
|
|
89
|
+
}).passthrough().describe("Represents a user in Notion (person or bot).");
|
|
90
90
|
const NotionSearchNotionPage_PageSchema = zod.z.object({
|
|
91
91
|
id: zod.z.string().describe("UUID of the page.").nullable(),
|
|
92
92
|
url: zod.z.string().describe("URL of the page.").nullable(),
|
|
@@ -102,40 +102,40 @@ const NotionSearchNotionPage_PageSchema = zod.z.object({
|
|
|
102
102
|
in_trash: zod.z.boolean().describe("Whether the page is in trash.").nullable(),
|
|
103
103
|
is_locked: zod.z.boolean().describe("Whether the page is locked for editing.").nullable().optional(),
|
|
104
104
|
created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
105
|
-
properties: zod.z.
|
|
105
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of property names to their values. Structure varies by property type."),
|
|
106
106
|
public_url: zod.z.string().describe("Public URL if page is published.").nullable().optional(),
|
|
107
107
|
created_time: zod.z.string().describe("ISO 8601 timestamp when page was created.").nullable(),
|
|
108
108
|
last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
109
109
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.").nullable()
|
|
110
|
-
}).describe("Represents a Notion page object.");
|
|
110
|
+
}).passthrough().describe("Represents a Notion page object.");
|
|
111
111
|
const NotionSearchNotionPage_LinkObjectSchema = zod.z.object({
|
|
112
112
|
url: zod.z.string().describe("The URL the text links to.").nullable(),
|
|
113
113
|
type: zod.z.string().describe("Optional link type (e.g., 'url').").nullable().optional()
|
|
114
|
-
}).describe("Link object for inline links in text.");
|
|
114
|
+
}).passthrough().describe("Link object for inline links in text.");
|
|
115
115
|
const NotionSearchNotionPage_RichTextTextSchema = zod.z.object({
|
|
116
116
|
link: NotionSearchNotionPage_LinkObjectSchema.nullable().optional(),
|
|
117
117
|
content: zod.z.string().describe("The text content.").nullable()
|
|
118
|
-
}).describe("Text content for rich text objects.");
|
|
118
|
+
}).passthrough().describe("Text content for rich text objects.");
|
|
119
119
|
const NotionSearchNotionPage_DateMentionValueSchema = zod.z.object({
|
|
120
120
|
end: zod.z.string().describe("End date in ISO 8601 format for ranges.").nullable().optional(),
|
|
121
121
|
start: zod.z.string().describe("Start date in ISO 8601 format.").nullable(),
|
|
122
122
|
time_zone: zod.z.string().describe("Time zone for the date.").nullable().optional()
|
|
123
|
-
}).describe("Date value for date mentions.");
|
|
124
|
-
const NotionSearchNotionPage_PageMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned page.").nullable() }).describe("Page mention reference.");
|
|
123
|
+
}).passthrough().describe("Date value for date mentions.");
|
|
124
|
+
const NotionSearchNotionPage_PageMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned page.").nullable() }).passthrough().describe("Page mention reference.");
|
|
125
125
|
const NotionSearchNotionPage_UserMentionSchema = zod.z.object({
|
|
126
126
|
id: zod.z.string().describe("UUID of the mentioned user.").nullable(),
|
|
127
127
|
object: zod.z.string().describe("Always 'user'.").nullable()
|
|
128
|
-
}).describe("User mention reference.");
|
|
129
|
-
const NotionSearchNotionPage_DatabaseMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.").nullable() }).describe("Database mention reference.");
|
|
130
|
-
const NotionSearchNotionPage_LinkPreviewMentionSchema = zod.z.object({ url: zod.z.string().describe("The URL of the link preview.").nullable() }).describe("Link preview mention reference.");
|
|
128
|
+
}).passthrough().describe("User mention reference.");
|
|
129
|
+
const NotionSearchNotionPage_DatabaseMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.").nullable() }).passthrough().describe("Database mention reference.");
|
|
130
|
+
const NotionSearchNotionPage_LinkPreviewMentionSchema = zod.z.object({ url: zod.z.string().describe("The URL of the link preview.").nullable() }).passthrough().describe("Link preview mention reference.");
|
|
131
131
|
const NotionSearchNotionPage_TemplateMentionDateSchema = zod.z.object({
|
|
132
132
|
type: zod.z.string().describe("Always 'template_mention_date'.").nullable(),
|
|
133
133
|
template_mention_date: zod.z.enum(["today", "now"]).describe("The template date value - 'today' or 'now'.").nullable()
|
|
134
|
-
}).describe("Template mention for dates.");
|
|
134
|
+
}).passthrough().describe("Template mention for dates.");
|
|
135
135
|
const NotionSearchNotionPage_TemplateMentionUserSchema = zod.z.object({
|
|
136
136
|
type: zod.z.string().describe("Always 'template_mention_user'.").nullable(),
|
|
137
137
|
template_mention_user: zod.z.string().describe("The template user value - always 'me'.").nullable()
|
|
138
|
-
}).describe("Template mention for users.");
|
|
138
|
+
}).passthrough().describe("Template mention for users.");
|
|
139
139
|
const NotionSearchNotionPage_MentionObjectSchema = zod.z.object({
|
|
140
140
|
date: NotionSearchNotionPage_DateMentionValueSchema.nullable().optional(),
|
|
141
141
|
page: NotionSearchNotionPage_PageMentionSchema.nullable().optional(),
|
|
@@ -151,8 +151,8 @@ const NotionSearchNotionPage_MentionObjectSchema = zod.z.object({
|
|
|
151
151
|
database: NotionSearchNotionPage_DatabaseMentionSchema.nullable().optional(),
|
|
152
152
|
link_preview: NotionSearchNotionPage_LinkPreviewMentionSchema.nullable().optional(),
|
|
153
153
|
template_mention: zod.z.union([NotionSearchNotionPage_TemplateMentionDateSchema, NotionSearchNotionPage_TemplateMentionUserSchema]).nullable().optional()
|
|
154
|
-
}).describe("Mention object that can reference users, pages, databases, dates, or link previews.");
|
|
155
|
-
const NotionSearchNotionPage_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("The LaTeX equation expression.").nullable() }).describe("Equation content for rich text objects.");
|
|
154
|
+
}).passthrough().describe("Mention object that can reference users, pages, databases, dates, or link previews.");
|
|
155
|
+
const NotionSearchNotionPage_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("The LaTeX equation expression.").nullable() }).passthrough().describe("Equation content for rich text objects.");
|
|
156
156
|
const NotionSearchNotionPage_AnnotationsSchema = zod.z.object({
|
|
157
157
|
bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
|
|
158
158
|
code: zod.z.boolean().describe("Whether the text is code-formatted.").nullable(),
|
|
@@ -160,7 +160,7 @@ const NotionSearchNotionPage_AnnotationsSchema = zod.z.object({
|
|
|
160
160
|
italic: zod.z.boolean().describe("Whether the text is italic.").nullable(),
|
|
161
161
|
underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
162
162
|
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
163
|
-
}).describe("Text styling annotations.");
|
|
163
|
+
}).passthrough().describe("Text styling annotations.");
|
|
164
164
|
const NotionSearchNotionPage_RichTextSchema = zod.z.object({
|
|
165
165
|
href: zod.z.string().describe("The URL of any link in the text.").nullable().optional(),
|
|
166
166
|
text: NotionSearchNotionPage_RichTextTextSchema.nullable().optional(),
|
|
@@ -173,7 +173,7 @@ const NotionSearchNotionPage_RichTextSchema = zod.z.object({
|
|
|
173
173
|
equation: NotionSearchNotionPage_RichTextEquationSchema.nullable().optional(),
|
|
174
174
|
plain_text: zod.z.string().describe("The plain text representation.").nullable(),
|
|
175
175
|
annotations: NotionSearchNotionPage_AnnotationsSchema.nullable()
|
|
176
|
-
}).describe("Rich text object that can contain text, mentions, or equations.");
|
|
176
|
+
}).passthrough().describe("Rich text object that can contain text, mentions, or equations.");
|
|
177
177
|
const NotionSearchNotionPage_DataSourceSchema = zod.z.object({
|
|
178
178
|
id: zod.z.string().describe("UUID of the data source.").nullable(),
|
|
179
179
|
icon: zod.z.union([
|
|
@@ -187,13 +187,13 @@ const NotionSearchNotionPage_DataSourceSchema = zod.z.object({
|
|
|
187
187
|
archived: zod.z.boolean().describe("Whether archived.").nullable().optional(),
|
|
188
188
|
in_trash: zod.z.boolean().describe("Whether in trash.").nullable().optional(),
|
|
189
189
|
created_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),
|
|
190
|
-
properties: zod.z.
|
|
190
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema mapping property names to property definitions."),
|
|
191
191
|
description: zod.z.array(NotionSearchNotionPage_RichTextSchema).describe("Description as rich text array.").nullable().optional(),
|
|
192
192
|
created_time: zod.z.string().describe("ISO 8601 timestamp when created.").nullable().optional(),
|
|
193
193
|
last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),
|
|
194
194
|
database_parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),
|
|
195
195
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.").nullable().optional()
|
|
196
|
-
}).describe("Represents a Notion data source object.");
|
|
196
|
+
}).passthrough().describe("Represents a Notion data source object.");
|
|
197
197
|
const NotionSearchNotionPage_DatabaseSchema = zod.z.object({
|
|
198
198
|
id: zod.z.string().describe("UUID of the database.").nullable(),
|
|
199
199
|
url: zod.z.string().describe("URL of the database.").nullable(),
|
|
@@ -210,13 +210,13 @@ const NotionSearchNotionPage_DatabaseSchema = zod.z.object({
|
|
|
210
210
|
in_trash: zod.z.boolean().describe("Whether the database is in trash.").nullable(),
|
|
211
211
|
is_inline: zod.z.boolean().describe("Whether the database is inline.").nullable().optional(),
|
|
212
212
|
created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
213
|
-
properties: zod.z.
|
|
213
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of property names to property schema definitions."),
|
|
214
214
|
public_url: zod.z.string().describe("Public URL if database is published.").nullable().optional(),
|
|
215
215
|
description: zod.z.array(NotionSearchNotionPage_RichTextSchema).describe("Database description as rich text array.").nullable().optional(),
|
|
216
216
|
created_time: zod.z.string().describe("ISO 8601 timestamp when created.").nullable(),
|
|
217
217
|
last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
218
218
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.").nullable()
|
|
219
|
-
}).describe("Represents a Notion database object.");
|
|
219
|
+
}).passthrough().describe("Represents a Notion database object.");
|
|
220
220
|
const NotionSearchNotionPage_PageOrDatabaseMarkerSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty marker object for union discriminator in search responses.");
|
|
221
221
|
const NotionSearchNotionPageOutput = zod.z.object({
|
|
222
222
|
type: zod.z.string().describe("Union type discriminator.").nullable().optional(),
|
|
@@ -231,7 +231,7 @@ const NotionSearchNotionPageOutput = zod.z.object({
|
|
|
231
231
|
next_cursor: zod.z.string().describe("A cursor to be used as start_cursor for the next page of results, or null if there are no more results.").nullable().optional(),
|
|
232
232
|
page_or_database: NotionSearchNotionPage_PageOrDatabaseMarkerSchema.nullable().optional(),
|
|
233
233
|
composio_execution_message: zod.z.string().describe("Message from the action execution indicating any modifications or warnings about the request parameters.").nullable().optional()
|
|
234
|
-
}).describe("Paginated list of search results matching the query. Results are Page, Data source, or Database objects shared with the integration.");
|
|
234
|
+
}).passthrough().describe("Paginated list of search results matching the query. Results are Page, Data source, or Database objects shared with the integration.");
|
|
235
235
|
const notionSearchNotionPage = require_action.action("NOTION_SEARCH_NOTION_PAGE", {
|
|
236
236
|
slug: "notion-search-notion-page",
|
|
237
237
|
name: "Search Notion pages and databases",
|