@keystrokehq/notion 0.1.2 → 0.1.3
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 +18 -16
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
- package/dist/actions/add-multiple-page-content.d.mts +18 -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 +167 -149
- package/dist/actions/append-code-blocks.d.mts +167 -149
- 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 +151 -141
- package/dist/actions/append-layout-blocks.d.mts +151 -141
- 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 +217 -174
- package/dist/actions/append-media-blocks.d.mts +217 -174
- 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 +143 -137
- package/dist/actions/append-table-blocks.d.mts +143 -137
- 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 +169 -150
- package/dist/actions/append-task-blocks.d.mts +169 -150
- 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 +203 -167
- package/dist/actions/append-text-blocks.d.mts +203 -167
- 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 +20 -20
- package/dist/actions/archive-notion-page.d.mts +20 -20
- 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 +9 -9
- package/dist/actions/create-comment.d.mts +9 -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 +26 -25
- package/dist/actions/create-database.d.mts +26 -25
- 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 +1 -1
- package/dist/actions/create-file-upload.d.mts +1 -1
- 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 +18 -18
- package/dist/actions/create-notion-page.d.mts +18 -18
- 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 +338 -338
- package/dist/actions/delete-block.d.mts +338 -338
- 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 +24 -24
- package/dist/actions/duplicate-page.d.mts +24 -24
- 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 +4 -4
- package/dist/actions/fetch-all-block-contents.d.mts +4 -4
- 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 +172 -172
- package/dist/actions/fetch-block-contents.d.mts +172 -172
- 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 +296 -296
- package/dist/actions/fetch-block-metadata.d.mts +296 -296
- 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 +33 -33
- package/dist/actions/fetch-comments.d.mts +33 -33
- 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 +131 -131
- package/dist/actions/fetch-data.d.mts +131 -131
- 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 +18 -18
- package/dist/actions/fetch-database.d.mts +18 -18
- 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 +40 -40
- package/dist/actions/fetch-row.d.mts +40 -40
- 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 +8 -8
- package/dist/actions/get-about-user.d.mts +8 -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 +1 -1
- package/dist/actions/get-page-markdown.d.mts +1 -1
- package/dist/actions/get-page-markdown.mjs +1 -1
- package/dist/actions/get-page-markdown.mjs.map +1 -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 +40 -38
- package/dist/actions/insert-row-database.d.mts +40 -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 +1 -1
- package/dist/actions/insert-row-from-nl.d.mts +1 -1
- 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 +2 -2
- package/dist/actions/list-data-source-templates.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/list-file-uploads.d.mts +2 -2
- 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 +11 -11
- package/dist/actions/list-users.d.mts +11 -11
- 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 +23 -21
- package/dist/actions/move-page.d.mts +23 -21
- 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 +34 -32
- package/dist/actions/query-data-source.d.cts.map +1 -1
- package/dist/actions/query-data-source.d.mts +34 -32
- 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 +50 -48
- package/dist/actions/query-database-with-filter.d.cts.map +1 -1
- package/dist/actions/query-database-with-filter.d.mts +50 -48
- 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 +49 -48
- package/dist/actions/query-database.d.mts +49 -48
- 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 +261 -131
- package/dist/actions/replace-page-content.d.mts +261 -131
- package/dist/actions/replace-page-content.mjs +130 -130
- package/dist/actions/replace-page-content.mjs.map +1 -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 +28 -28
- package/dist/actions/retrieve-database-property.d.mts +28 -28
- 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 +1 -1
- package/dist/actions/retrieve-file-upload.d.mts +1 -1
- 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 +38 -38
- package/dist/actions/retrieve-page.d.mts +38 -38
- 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 +157 -157
- package/dist/actions/search-notion-page.d.mts +157 -157
- 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 +1 -1
- package/dist/actions/send-file-upload.d.mts +1 -1
- 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 +141 -141
- package/dist/actions/update-block.d.mts +141 -141
- 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 +23 -23
- package/dist/actions/update-page.d.mts +23 -23
- 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 +29 -28
- package/dist/actions/update-row-database.d.mts +29 -28
- 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 +12 -11
- package/dist/actions/update-schema-database.d.mts +12 -11
- 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 +54 -30
- package/dist/actions/upsert-row-database.d.mts +54 -30
- package/dist/actions/upsert-row-database.mjs +28 -28
- package/dist/actions/upsert-row-database.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
|
@@ -13,18 +13,18 @@ const NotionFetchDataInput = zod.z.object({
|
|
|
13
13
|
original_page_size: zod.z.number().int().describe("The original page size value before it was capped.").optional(),
|
|
14
14
|
page_size_was_capped: zod.z.boolean().default(false).describe("Indicates whether the page size was capped to the maximum allowed value.").optional()
|
|
15
15
|
}).describe("Defines the parameters for fetching data (pages and/or databases) from Notion.\nUse the `fetch_type` parameter to specify what type of data to retrieve.");
|
|
16
|
-
const NotionFetchData_PagePaginationInfoSchema = zod.z.
|
|
16
|
+
const NotionFetchData_PagePaginationInfoSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Type-specific pagination info for 'page' type responses. Typically an empty object.");
|
|
17
17
|
const NotionFetchData_SimplifiedResourceSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("Unique identifier (UUID) of the resource.").nullable(),
|
|
19
19
|
type: zod.z.string().describe("Type of the resource: 'page', 'database', or 'data_source'.").nullable(),
|
|
20
20
|
title: zod.z.string().describe("Title or name of the resource.").nullable()
|
|
21
|
-
}).describe("Simplified representation of a Notion resource with id, title, and type.");
|
|
21
|
+
}).passthrough().describe("Simplified representation of a Notion resource with id, title, and type.");
|
|
22
22
|
const NotionFetchData_FileFileSchema = zod.z.object({
|
|
23
23
|
url: zod.z.string().describe("Signed URL of the Notion-hosted file.").nullable(),
|
|
24
24
|
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the signed URL expires.").nullable()
|
|
25
|
-
}).describe("Notion-hosted file with expiring URL.");
|
|
26
|
-
const NotionFetchData_ExternalFileSchema = zod.z.object({ url: zod.z.string().describe("External URL of the file.").nullable() }).describe("External file reference.");
|
|
27
|
-
const NotionFetchData_FileUploadSchema = zod.z.object({ id: zod.z.string().describe("File upload identifier.").nullable() }).describe("File upload reference.");
|
|
25
|
+
}).passthrough().describe("Notion-hosted file with expiring URL.");
|
|
26
|
+
const NotionFetchData_ExternalFileSchema = zod.z.object({ url: zod.z.string().describe("External URL of the file.").nullable() }).passthrough().describe("External file reference.");
|
|
27
|
+
const NotionFetchData_FileUploadSchema = zod.z.object({ id: zod.z.string().describe("File upload identifier.").nullable() }).passthrough().describe("File upload reference.");
|
|
28
28
|
const NotionFetchData_FileObjectSchema = zod.z.object({
|
|
29
29
|
file: NotionFetchData_FileFileSchema.nullable().optional(),
|
|
30
30
|
name: zod.z.string().describe("Optional file name.").nullable().optional(),
|
|
@@ -35,20 +35,20 @@ const NotionFetchData_FileObjectSchema = zod.z.object({
|
|
|
35
35
|
]).describe("Type of file: 'file', 'file_upload', or 'external'.").nullable(),
|
|
36
36
|
external: NotionFetchData_ExternalFileSchema.nullable().optional(),
|
|
37
37
|
file_upload: NotionFetchData_FileUploadSchema.nullable().optional()
|
|
38
|
-
}).describe("File object for icons and covers.");
|
|
38
|
+
}).passthrough().describe("File object for icons and covers.");
|
|
39
39
|
const NotionFetchData_EmojiObjectSchema = zod.z.object({
|
|
40
40
|
type: zod.z.string().describe("Always 'emoji'.").nullable(),
|
|
41
41
|
emoji: zod.z.string().describe("The emoji character.").nullable()
|
|
42
|
-
}).describe("Emoji icon object.");
|
|
42
|
+
}).passthrough().describe("Emoji icon object.");
|
|
43
43
|
const NotionFetchData_CustomEmojiDataSchema = zod.z.object({
|
|
44
44
|
id: zod.z.string().describe("Unique identifier for the custom emoji.").nullable(),
|
|
45
45
|
url: zod.z.string().describe("URL to the custom emoji image hosted on Notion.").nullable().optional(),
|
|
46
46
|
name: zod.z.string().describe("Name of the custom emoji.").nullable().optional()
|
|
47
|
-
}).describe("Custom emoji data containing id, name, and url.");
|
|
47
|
+
}).passthrough().describe("Custom emoji data containing id, name, and url.");
|
|
48
48
|
const NotionFetchData_CustomEmojiObjectSchema = zod.z.object({
|
|
49
49
|
type: zod.z.string().describe("Always 'custom_emoji'.").nullable(),
|
|
50
50
|
custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional()
|
|
51
|
-
}).describe("Custom emoji icon object.");
|
|
51
|
+
}).passthrough().describe("Custom emoji icon object.");
|
|
52
52
|
const NotionFetchData_ParentSchema = zod.z.object({
|
|
53
53
|
type: zod.z.enum([
|
|
54
54
|
"page_id",
|
|
@@ -62,14 +62,14 @@ const NotionFetchData_ParentSchema = zod.z.object({
|
|
|
62
62
|
workspace: zod.z.boolean().describe("Always true when type is 'workspace'.").nullable().optional(),
|
|
63
63
|
database_id: zod.z.string().describe("UUID of the parent database when type is 'database_id'.").nullable().optional(),
|
|
64
64
|
data_source_id: zod.z.string().describe("UUID of the parent data source when type is 'data_source_id'.").nullable().optional()
|
|
65
|
-
}).describe("Parent location of a page, database, or data source.");
|
|
65
|
+
}).passthrough().describe("Parent location of a page, database, or data source.");
|
|
66
66
|
const NotionFetchData_PartialUserSchema = zod.z.object({
|
|
67
67
|
id: zod.z.string().describe("Unique identifier (UUID) of the user.").nullable(),
|
|
68
68
|
name: zod.z.string().describe("User's display name.").nullable().optional(),
|
|
69
69
|
type: zod.z.enum(["person", "bot"]).describe("Type of user: 'person' or 'bot'.").nullable().optional(),
|
|
70
70
|
object: zod.z.string().describe("Always 'user'.").nullable(),
|
|
71
71
|
avatar_url: zod.z.string().describe("URL to user's avatar.").nullable().optional()
|
|
72
|
-
}).describe("Partial user object returned by Notion API.");
|
|
72
|
+
}).passthrough().describe("Partial user object returned by Notion API.");
|
|
73
73
|
const NotionFetchData_PageSchema = zod.z.object({
|
|
74
74
|
id: zod.z.string().describe("Unique identifier (UUID) of the page.").nullable(),
|
|
75
75
|
url: zod.z.string().describe("URL of the page in Notion.").nullable(),
|
|
@@ -85,35 +85,35 @@ const NotionFetchData_PageSchema = zod.z.object({
|
|
|
85
85
|
in_trash: zod.z.boolean().describe("Whether the page is in trash.").nullable(),
|
|
86
86
|
is_locked: zod.z.boolean().describe("Whether the page is locked.").nullable().optional(),
|
|
87
87
|
created_by: NotionFetchData_PartialUserSchema.nullable(),
|
|
88
|
-
properties: zod.z.
|
|
88
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Property values of the page keyed by property name."),
|
|
89
89
|
public_url: zod.z.string().describe("Public URL if the page is published, or null.").nullable().optional(),
|
|
90
90
|
created_time: zod.z.string().describe("ISO 8601 timestamp when the page was created.").nullable(),
|
|
91
91
|
last_edited_by: NotionFetchData_PartialUserSchema.nullable(),
|
|
92
92
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the page was last edited.").nullable()
|
|
93
|
-
}).describe("Notion Page object returned in search results.");
|
|
93
|
+
}).passthrough().describe("Notion Page object returned in search results.");
|
|
94
94
|
const NotionFetchData_RichTextTextSchema = zod.z.object({
|
|
95
|
-
link: zod.z.
|
|
95
|
+
link: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Link object with 'url' field, or null.").nullable().optional(),
|
|
96
96
|
content: zod.z.string().describe("The actual text content.").nullable()
|
|
97
|
-
}).describe("Text content for rich text.");
|
|
97
|
+
}).passthrough().describe("Text content for rich text.");
|
|
98
98
|
const NotionFetchData_DateMentionValueSchema = zod.z.object({
|
|
99
99
|
end: zod.z.string().describe("End date in ISO 8601 format.").nullable().optional(),
|
|
100
100
|
start: zod.z.string().describe("Start date in ISO 8601 format.").nullable(),
|
|
101
101
|
time_zone: zod.z.string().describe("Time zone identifier.").nullable().optional()
|
|
102
|
-
}).describe("Date value in a date mention.");
|
|
103
|
-
const NotionFetchData_PageReferenceSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned page.").nullable() }).describe("Page reference in a mention.");
|
|
102
|
+
}).passthrough().describe("Date value in a date mention.");
|
|
103
|
+
const NotionFetchData_PageReferenceSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned page.").nullable() }).passthrough().describe("Page reference in a mention.");
|
|
104
104
|
const NotionFetchData_UserReferenceSchema = zod.z.object({
|
|
105
105
|
id: zod.z.string().describe("UUID of the mentioned user.").nullable(),
|
|
106
106
|
object: zod.z.string().describe("Always 'user'.").nullable()
|
|
107
|
-
}).describe("User reference in a mention.");
|
|
108
|
-
const NotionFetchData_DatabaseReferenceSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.").nullable() }).describe("Database reference in a mention.");
|
|
109
|
-
const NotionFetchData_LinkPreviewMentionValueSchema = zod.z.object({ url: zod.z.string().describe("URL being previewed.").nullable() }).describe("Link preview value in a link preview mention.");
|
|
110
|
-
const NotionFetchData_TemplateMentionDateValueSchema = zod.z.object({ type: zod.z.enum(["today", "now"]).describe("Type of template date: 'today' or 'now'.").nullable() }).describe("Template mention date value.");
|
|
111
|
-
const NotionFetchData_TemplateMentionUserValueSchema = zod.z.object({ type: zod.z.string().describe("Always 'me'.").nullable() }).describe("Template mention user value.");
|
|
107
|
+
}).passthrough().describe("User reference in a mention.");
|
|
108
|
+
const NotionFetchData_DatabaseReferenceSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.").nullable() }).passthrough().describe("Database reference in a mention.");
|
|
109
|
+
const NotionFetchData_LinkPreviewMentionValueSchema = zod.z.object({ url: zod.z.string().describe("URL being previewed.").nullable() }).passthrough().describe("Link preview value in a link preview mention.");
|
|
110
|
+
const NotionFetchData_TemplateMentionDateValueSchema = zod.z.object({ type: zod.z.enum(["today", "now"]).describe("Type of template date: 'today' or 'now'.").nullable() }).passthrough().describe("Template mention date value.");
|
|
111
|
+
const NotionFetchData_TemplateMentionUserValueSchema = zod.z.object({ type: zod.z.string().describe("Always 'me'.").nullable() }).passthrough().describe("Template mention user value.");
|
|
112
112
|
const NotionFetchData_TemplateMentionValueSchema = zod.z.object({
|
|
113
113
|
type: zod.z.enum(["template_mention_date", "template_mention_user"]).describe("Type of template mention.").nullable(),
|
|
114
114
|
template_mention_date: zod.z.union([NotionFetchData_TemplateMentionDateValueSchema, zod.z.string()]).nullable().optional(),
|
|
115
115
|
template_mention_user: NotionFetchData_TemplateMentionUserValueSchema.nullable().optional()
|
|
116
|
-
}).describe("Template mention value containing either date or user template.");
|
|
116
|
+
}).passthrough().describe("Template mention value containing either date or user template.");
|
|
117
117
|
const NotionFetchData_MentionSchema = zod.z.object({
|
|
118
118
|
date: NotionFetchData_DateMentionValueSchema.nullable().optional(),
|
|
119
119
|
page: NotionFetchData_PageReferenceSchema.nullable().optional(),
|
|
@@ -131,8 +131,8 @@ const NotionFetchData_MentionSchema = zod.z.object({
|
|
|
131
131
|
custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional(),
|
|
132
132
|
link_preview: NotionFetchData_LinkPreviewMentionValueSchema.nullable().optional(),
|
|
133
133
|
template_mention: NotionFetchData_TemplateMentionValueSchema.nullable().optional()
|
|
134
|
-
}).describe("Mention object containing the mention type and details.");
|
|
135
|
-
const NotionFetchData_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX equation expression.").nullable() }).describe("Equation content for rich text.");
|
|
134
|
+
}).passthrough().describe("Mention object containing the mention type and details.");
|
|
135
|
+
const NotionFetchData_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX equation expression.").nullable() }).passthrough().describe("Equation content for rich text.");
|
|
136
136
|
const NotionFetchData_AnnotationsSchema = zod.z.object({
|
|
137
137
|
bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
|
|
138
138
|
code: zod.z.boolean().describe("Whether the text is formatted as code.").nullable(),
|
|
@@ -140,7 +140,7 @@ const NotionFetchData_AnnotationsSchema = zod.z.object({
|
|
|
140
140
|
italic: zod.z.boolean().describe("Whether the text is italicized.").nullable(),
|
|
141
141
|
underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
142
142
|
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
143
|
-
}).describe("Styling properties for rich text.");
|
|
143
|
+
}).passthrough().describe("Styling properties for rich text.");
|
|
144
144
|
const NotionFetchData_RichTextSchema = zod.z.object({
|
|
145
145
|
href: zod.z.string().describe("URL if the text is a link, or null.").nullable().optional(),
|
|
146
146
|
text: NotionFetchData_RichTextTextSchema.nullable().optional(),
|
|
@@ -153,7 +153,7 @@ const NotionFetchData_RichTextSchema = zod.z.object({
|
|
|
153
153
|
equation: NotionFetchData_RichTextEquationSchema.nullable().optional(),
|
|
154
154
|
plain_text: zod.z.string().describe("Plain text representation without formatting.").nullable(),
|
|
155
155
|
annotations: NotionFetchData_AnnotationsSchema.nullable()
|
|
156
|
-
}).describe("Rich text object for titles and descriptions.");
|
|
156
|
+
}).passthrough().describe("Rich text object for titles and descriptions.");
|
|
157
157
|
const NotionFetchData_DataSourceSchema = zod.z.object({
|
|
158
158
|
id: zod.z.string().describe("Unique identifier (UUID) of the data source.").nullable(),
|
|
159
159
|
icon: zod.z.union([
|
|
@@ -167,13 +167,13 @@ const NotionFetchData_DataSourceSchema = zod.z.object({
|
|
|
167
167
|
archived: zod.z.boolean().describe("Whether the data source is archived.").nullable().optional(),
|
|
168
168
|
in_trash: zod.z.boolean().describe("Whether the data source is in trash.").nullable().optional(),
|
|
169
169
|
created_by: NotionFetchData_PartialUserSchema.nullable().optional(),
|
|
170
|
-
properties: zod.z.
|
|
170
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Schema properties of the data source keyed by property name."),
|
|
171
171
|
description: zod.z.array(NotionFetchData_RichTextSchema).describe("Description of the data source as rich text.").nullable().optional(),
|
|
172
172
|
created_time: zod.z.string().describe("ISO 8601 timestamp when the data source was created.").nullable().optional(),
|
|
173
173
|
last_edited_by: NotionFetchData_PartialUserSchema.nullable().optional(),
|
|
174
174
|
database_parent: NotionFetchData_ParentSchema.nullable().optional(),
|
|
175
175
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the data source was last edited.").nullable().optional()
|
|
176
|
-
}).describe("Notion Data Source object returned in search results.");
|
|
176
|
+
}).passthrough().describe("Notion Data Source object returned in search results.");
|
|
177
177
|
const NotionFetchData_DatabaseSchema = zod.z.object({
|
|
178
178
|
id: zod.z.string().describe("Unique identifier (UUID) of the database.").nullable(),
|
|
179
179
|
url: zod.z.string().describe("URL of the database in Notion.").nullable(),
|
|
@@ -190,14 +190,14 @@ const NotionFetchData_DatabaseSchema = zod.z.object({
|
|
|
190
190
|
in_trash: zod.z.boolean().describe("Whether the database is in trash.").nullable(),
|
|
191
191
|
is_inline: zod.z.boolean().describe("Whether the database is displayed inline.").nullable().optional(),
|
|
192
192
|
created_by: NotionFetchData_PartialUserSchema.nullable(),
|
|
193
|
-
properties: zod.z.
|
|
193
|
+
properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Property schema of the database keyed by property name."),
|
|
194
194
|
public_url: zod.z.string().describe("Public URL if the database is published, or null.").nullable().optional(),
|
|
195
195
|
description: zod.z.array(NotionFetchData_RichTextSchema).describe("Description of the database as rich text.").nullable().optional(),
|
|
196
196
|
created_time: zod.z.string().describe("ISO 8601 timestamp when the database was created.").nullable(),
|
|
197
197
|
last_edited_by: NotionFetchData_PartialUserSchema.nullable(),
|
|
198
198
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the database was last edited.").nullable()
|
|
199
|
-
}).describe("Notion Database object returned in search results.");
|
|
200
|
-
const NotionFetchData_DataSourcePaginationInfoSchema = zod.z.
|
|
199
|
+
}).passthrough().describe("Notion Database object returned in search results.");
|
|
200
|
+
const NotionFetchData_DataSourcePaginationInfoSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Type-specific pagination info for 'data_source' type responses. Typically an empty object.");
|
|
201
201
|
const NotionFetchDataOutput = zod.z.object({
|
|
202
202
|
page: NotionFetchData_PagePaginationInfoSchema.nullable().optional(),
|
|
203
203
|
type: zod.z.string().describe("The object type contained in results (e.g., 'page' or 'data_source') when provided by Notion.").nullable().optional(),
|
|
@@ -213,7 +213,7 @@ const NotionFetchDataOutput = zod.z.object({
|
|
|
213
213
|
next_cursor: zod.z.string().describe("Opaque cursor to pass as start_cursor on a subsequent request; null if no more results.").nullable().optional(),
|
|
214
214
|
total_count: zod.z.number().int().default(0).describe("Number of items in 'values' list (may differ from 'results' length if some items couldn't be parsed).").nullable().optional(),
|
|
215
215
|
composio_execution_message: zod.z.string().describe("Message about any input modifications made during execution (e.g., page_size capping).").nullable().optional()
|
|
216
|
-
}).describe("Notion Fetch Data (NOTION_FETCH_DATA) - Response Schema\n\nThis response provides a consistent, predictable data structure for agents.\nThe 'values' field is the CANONICAL data source - it is ALWAYS populated\n(even as an empty list when no results are found) and should be used for\nall data access needs.\n\nData Fields:\n- 'values': The PRIMARY data field. Always contains a list of SimplifiedResource\n objects with id, title, and type. Use this field for reading data.\n- 'results': The standard Notion API field containing full response objects.\n Use only when you need additional details not present in 'values'.\n\nPagination Fields:\n- 'next_cursor': Opaque cursor for fetching the next page of results.\n- 'has_more': Boolean indicating if more results are available.\n- 'total_count': Number of items in 'values' (may differ from 'results' if\n some items couldn't be parsed into simplified format).");
|
|
216
|
+
}).passthrough().describe("Notion Fetch Data (NOTION_FETCH_DATA) - Response Schema\n\nThis response provides a consistent, predictable data structure for agents.\nThe 'values' field is the CANONICAL data source - it is ALWAYS populated\n(even as an empty list when no results are found) and should be used for\nall data access needs.\n\nData Fields:\n- 'values': The PRIMARY data field. Always contains a list of SimplifiedResource\n objects with id, title, and type. Use this field for reading data.\n- 'results': The standard Notion API field containing full response objects.\n Use only when you need additional details not present in 'values'.\n\nPagination Fields:\n- 'next_cursor': Opaque cursor for fetching the next page of results.\n- 'has_more': Boolean indicating if more results are available.\n- 'total_count': Number of items in 'values' (may differ from 'results' if\n some items couldn't be parsed into simplified format).");
|
|
217
217
|
const notionFetchData = require_action.action("NOTION_FETCH_DATA", {
|
|
218
218
|
slug: "notion-fetch-data",
|
|
219
219
|
name: "Fetch Notion Data",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-data.cjs","names":["z","action"],"sources":["../../src/actions/fetch-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchDataInput = z.object({\n query: z.string().describe(\"An optional search query to filter pages and/or databases by their title or content. If not provided (None or empty string), all accessible items matching the selected type (pages, databases, or both) are returned.\").optional(),\n page_size: z.number().int().default(100).describe(\"The maximum number of items per page (1-100). IMPORTANT: Notion API enforces a hard maximum of 100 items per request - values above 100 will be automatically capped to 100. To retrieve more than 100 items, use pagination by passing the returned 'next_cursor' value in subsequent requests. Defaults to 100.\").optional(),\n fetch_type: z.enum([\"pages\", \"databases\", \"all\"]).describe(\"Specifies what type of Notion data to fetch. Use 'pages' to fetch only pages, 'databases' to fetch only databases, or 'all' to fetch both pages and databases.\"),\n start_cursor: z.string().describe(\"Pagination cursor to fetch the next page of results. Pass the 'next_cursor' value from a previous response to retrieve the next page. When null or not provided, the first page is returned.\").optional(),\n original_page_size: z.number().int().describe(\"The original page size value before it was capped.\").optional(),\n page_size_was_capped: z.boolean().default(false).describe(\"Indicates whether the page size was capped to the maximum allowed value.\").optional(),\n}).describe(\"Defines the parameters for fetching data (pages and/or databases) from Notion.\\nUse the `fetch_type` parameter to specify what type of data to retrieve.\");\nconst NotionFetchData_PagePaginationInfoSchema = z.object({}).describe(\"Type-specific pagination info for 'page' type responses. Typically an empty object.\");\nconst NotionFetchData_SimplifiedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the resource.\").nullable(),\n type: z.string().describe(\"Type of the resource: 'page', 'database', or 'data_source'.\").nullable(),\n title: z.string().describe(\"Title or name of the resource.\").nullable(),\n}).describe(\"Simplified representation of a Notion resource with id, title, and type.\");\nconst NotionFetchData_FileFileSchema = z.object({\n url: z.string().describe(\"Signed URL of the Notion-hosted file.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the signed URL expires.\").nullable(),\n}).describe(\"Notion-hosted file with expiring URL.\");\nconst NotionFetchData_ExternalFileSchema = z.object({\n url: z.string().describe(\"External URL of the file.\").nullable(),\n}).describe(\"External file reference.\");\nconst NotionFetchData_FileUploadSchema = z.object({\n id: z.string().describe(\"File upload identifier.\").nullable(),\n}).describe(\"File upload reference.\");\nconst NotionFetchData_FileObjectSchema = z.object({\n file: NotionFetchData_FileFileSchema.nullable().optional(),\n name: z.string().describe(\"Optional file name.\").nullable().optional(),\n type: z.enum([\"file\", \"file_upload\", \"external\"]).describe(\"Type of file: 'file', 'file_upload', or 'external'.\").nullable(),\n external: NotionFetchData_ExternalFileSchema.nullable().optional(),\n file_upload: NotionFetchData_FileUploadSchema.nullable().optional(),\n}).describe(\"File object for icons and covers.\");\nconst NotionFetchData_EmojiObjectSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n}).describe(\"Emoji icon object.\");\nconst NotionFetchData_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"URL to the custom emoji image hosted on Notion.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji data containing id, name, and url.\");\nconst NotionFetchData_CustomEmojiObjectSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional(),\n}).describe(\"Custom emoji icon object.\");\nconst NotionFetchData_ParentSchema = z.object({\n type: z.enum([\"page_id\", \"workspace\", \"block_id\", \"database_id\", \"data_source_id\"]).describe(\"Type of parent.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page when type is 'page_id'.\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block when type is 'block_id'.\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"UUID of the parent database when type is 'database_id'.\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source when type is 'data_source_id'.\").nullable().optional(),\n}).describe(\"Parent location of a page, database, or data source.\");\nconst NotionFetchData_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user.\").nullable(),\n name: z.string().describe(\"User's display name.\").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 avatar_url: z.string().describe(\"URL to user's avatar.\").nullable().optional(),\n}).describe(\"Partial user object returned by Notion API.\");\nconst NotionFetchData_PageSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the page.\").nullable(),\n url: z.string().describe(\"URL of the page in Notion.\").nullable(),\n icon: z.union([NotionFetchData_FileObjectSchema, NotionFetchData_EmojiObjectSchema, NotionFetchData_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionFetchData_FileObjectSchema.nullable().optional(),\n object: z.string().describe(\"Always 'page'.\").nullable(),\n parent: NotionFetchData_ParentSchema.nullable(),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in trash.\").nullable(),\n is_locked: z.boolean().describe(\"Whether the page is locked.\").nullable().optional(),\n created_by: NotionFetchData_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Property values of the page keyed by property name.\"),\n public_url: z.string().describe(\"Public URL if the page is published, or null.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the page was created.\").nullable(),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the page was last edited.\").nullable(),\n}).describe(\"Notion Page object returned in search results.\");\nconst NotionFetchData_RichTextTextSchema = z.object({\n link: z.object({}).describe(\"Link object with 'url' field, or null.\").nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n}).describe(\"Text content for rich text.\");\nconst NotionFetchData_DateMentionValueSchema = z.object({\n end: z.string().describe(\"End date in ISO 8601 format.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\").nullable(),\n time_zone: z.string().describe(\"Time zone identifier.\").nullable().optional(),\n}).describe(\"Date value in a date mention.\");\nconst NotionFetchData_PageReferenceSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\").nullable(),\n}).describe(\"Page reference in a mention.\");\nconst NotionFetchData_UserReferenceSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).describe(\"User reference in a mention.\");\nconst NotionFetchData_DatabaseReferenceSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\").nullable(),\n}).describe(\"Database reference in a mention.\");\nconst NotionFetchData_LinkPreviewMentionValueSchema = z.object({\n url: z.string().describe(\"URL being previewed.\").nullable(),\n}).describe(\"Link preview value in a link preview mention.\");\nconst NotionFetchData_TemplateMentionDateValueSchema = z.object({\n type: z.enum([\"today\", \"now\"]).describe(\"Type of template date: 'today' or 'now'.\").nullable(),\n}).describe(\"Template mention date value.\");\nconst NotionFetchData_TemplateMentionUserValueSchema = z.object({\n type: z.string().describe(\"Always 'me'.\").nullable(),\n}).describe(\"Template mention user value.\");\nconst NotionFetchData_TemplateMentionValueSchema = z.object({\n type: z.enum([\"template_mention_date\", \"template_mention_user\"]).describe(\"Type of template mention.\").nullable(),\n template_mention_date: z.union([NotionFetchData_TemplateMentionDateValueSchema, z.string()]).nullable().optional(),\n template_mention_user: NotionFetchData_TemplateMentionUserValueSchema.nullable().optional(),\n}).describe(\"Template mention value containing either date or user template.\");\nconst NotionFetchData_MentionSchema = z.object({\n date: NotionFetchData_DateMentionValueSchema.nullable().optional(),\n page: NotionFetchData_PageReferenceSchema.nullable().optional(),\n type: z.enum([\"user\", \"page\", \"database\", \"date\", \"link_preview\", \"template_mention\", \"custom_emoji\"]).describe(\"Type of mention.\").nullable(),\n user: NotionFetchData_UserReferenceSchema.nullable().optional(),\n database: NotionFetchData_DatabaseReferenceSchema.nullable().optional(),\n custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional(),\n link_preview: NotionFetchData_LinkPreviewMentionValueSchema.nullable().optional(),\n template_mention: NotionFetchData_TemplateMentionValueSchema.nullable().optional(),\n}).describe(\"Mention object containing the mention type and details.\");\nconst NotionFetchData_RichTextEquationSchema = z.object({\n expression: z.string().describe(\"LaTeX equation expression.\").nullable(),\n}).describe(\"Equation content for rich text.\");\nconst NotionFetchData_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.\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italicized.\").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 properties for rich text.\");\nconst NotionFetchData_RichTextSchema = z.object({\n href: z.string().describe(\"URL if the text is a link, or null.\").nullable().optional(),\n text: NotionFetchData_RichTextTextSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"Type of rich text: 'text', 'mention', or 'equation'.\").nullable(),\n mention: NotionFetchData_MentionSchema.nullable().optional(),\n equation: NotionFetchData_RichTextEquationSchema.nullable().optional(),\n plain_text: z.string().describe(\"Plain text representation without formatting.\").nullable(),\n annotations: NotionFetchData_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object for titles and descriptions.\");\nconst NotionFetchData_DataSourceSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the data source.\").nullable(),\n icon: z.union([NotionFetchData_FileObjectSchema, NotionFetchData_EmojiObjectSchema, NotionFetchData_CustomEmojiObjectSchema]).nullable().optional(),\n title: z.array(NotionFetchData_RichTextSchema).describe(\"Title of the data source as rich text.\").nullable().optional(),\n object: z.string().describe(\"Always 'data_source'.\").nullable(),\n parent: NotionFetchData_ParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the data source is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the data source is in trash.\").nullable().optional(),\n created_by: NotionFetchData_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Schema properties of the data source keyed by property name.\"),\n description: z.array(NotionFetchData_RichTextSchema).describe(\"Description of the data source as rich text.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the data source was created.\").nullable().optional(),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable().optional(),\n database_parent: NotionFetchData_ParentSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the data source was last edited.\").nullable().optional(),\n}).describe(\"Notion Data Source object returned in search results.\");\nconst NotionFetchData_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the database.\").nullable(),\n url: z.string().describe(\"URL of the database in Notion.\").nullable(),\n icon: z.union([NotionFetchData_FileObjectSchema, NotionFetchData_EmojiObjectSchema, NotionFetchData_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionFetchData_FileObjectSchema.nullable().optional(),\n title: z.array(NotionFetchData_RichTextSchema).describe(\"Title of the database as rich text.\").nullable().optional(),\n object: z.string().describe(\"Always 'database'.\").nullable(),\n parent: NotionFetchData_ParentSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether the database is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the database is in trash.\").nullable(),\n is_inline: z.boolean().describe(\"Whether the database is displayed inline.\").nullable().optional(),\n created_by: NotionFetchData_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Property schema of the database keyed by property name.\"),\n public_url: z.string().describe(\"Public URL if the database is published, or null.\").nullable().optional(),\n description: z.array(NotionFetchData_RichTextSchema).describe(\"Description of the database as rich text.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the database was created.\").nullable(),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the database was last edited.\").nullable(),\n}).describe(\"Notion Database object returned in search results.\");\nconst NotionFetchData_DataSourcePaginationInfoSchema = z.object({}).describe(\"Type-specific pagination info for 'data_source' type responses. Typically an empty object.\");\nexport const NotionFetchDataOutput = z.object({\n page: NotionFetchData_PagePaginationInfoSchema.nullable().optional(),\n type: z.string().describe(\"The object type contained in results (e.g., 'page' or 'data_source') when provided by Notion.\").nullable().optional(),\n object: z.string().describe(\"Constant string 'list' indicating this is a paginated list response.\").nullable(),\n values: z.array(NotionFetchData_SimplifiedResourceSchema).describe(\"CANONICAL data source. Always populated with simplified Notion resources (id, title, type). Use this field for reading data - it is guaranteed to be present and consistent.\").nullable().optional(),\n results: z.array(z.union([NotionFetchData_PageSchema, NotionFetchData_DataSourceSchema, NotionFetchData_DatabaseSchema])).describe(\"Standard Notion API field containing full response objects. Use only when you need additional details (properties, timestamps, icons) not present in 'values'.\").nullable().optional(),\n has_more: z.boolean().default(false).describe(\"Whether there are more results available after this page.\").nullable().optional(),\n data_source: NotionFetchData_DataSourcePaginationInfoSchema.nullable().optional(),\n next_cursor: z.string().describe(\"Opaque cursor to pass as start_cursor on a subsequent request; null if no more results.\").nullable().optional(),\n total_count: z.number().int().default(0).describe(\"Number of items in 'values' list (may differ from 'results' length if some items couldn't be parsed).\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message about any input modifications made during execution (e.g., page_size capping).\").nullable().optional(),\n}).describe(\"Notion Fetch Data (NOTION_FETCH_DATA) - Response Schema\\n\\nThis response provides a consistent, predictable data structure for agents.\\nThe 'values' field is the CANONICAL data source - it is ALWAYS populated\\n(even as an empty list when no results are found) and should be used for\\nall data access needs.\\n\\nData Fields:\\n- 'values': The PRIMARY data field. Always contains a list of SimplifiedResource\\n objects with id, title, and type. Use this field for reading data.\\n- 'results': The standard Notion API field containing full response objects.\\n Use only when you need additional details not present in 'values'.\\n\\nPagination Fields:\\n- 'next_cursor': Opaque cursor for fetching the next page of results.\\n- 'has_more': Boolean indicating if more results are available.\\n- 'total_count': Number of items in 'values' (may differ from 'results' if\\n some items couldn't be parsed into simplified format).\");\n\nexport const notionFetchData = action(\"NOTION_FETCH_DATA\", {\n slug: \"notion-fetch-data\",\n name: \"Fetch Notion Data\",\n description: \"Fetches Notion items (pages and/or databases) from the Notion workspace, use this to get minimal data about the items in the workspace with a query or list all items in the workspace with minimal data\",\n input: NotionFetchDataInput,\n output: NotionFetchDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS;CAC9P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ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AS;CAC/K,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,o5BAAo5B;AAEh6B,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"fetch-data.cjs","names":["z","action"],"sources":["../../src/actions/fetch-data.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchDataInput = z.object({\n query: z.string().describe(\"An optional search query to filter pages and/or databases by their title or content. If not provided (None or empty string), all accessible items matching the selected type (pages, databases, or both) are returned.\").optional(),\n page_size: z.number().int().default(100).describe(\"The maximum number of items per page (1-100). IMPORTANT: Notion API enforces a hard maximum of 100 items per request - values above 100 will be automatically capped to 100. To retrieve more than 100 items, use pagination by passing the returned 'next_cursor' value in subsequent requests. Defaults to 100.\").optional(),\n fetch_type: z.enum([\"pages\", \"databases\", \"all\"]).describe(\"Specifies what type of Notion data to fetch. Use 'pages' to fetch only pages, 'databases' to fetch only databases, or 'all' to fetch both pages and databases.\"),\n start_cursor: z.string().describe(\"Pagination cursor to fetch the next page of results. Pass the 'next_cursor' value from a previous response to retrieve the next page. When null or not provided, the first page is returned.\").optional(),\n original_page_size: z.number().int().describe(\"The original page size value before it was capped.\").optional(),\n page_size_was_capped: z.boolean().default(false).describe(\"Indicates whether the page size was capped to the maximum allowed value.\").optional(),\n}).describe(\"Defines the parameters for fetching data (pages and/or databases) from Notion.\\nUse the `fetch_type` parameter to specify what type of data to retrieve.\");\nconst NotionFetchData_PagePaginationInfoSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific pagination info for 'page' type responses. Typically an empty object.\");\nconst NotionFetchData_SimplifiedResourceSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the resource.\").nullable(),\n type: z.string().describe(\"Type of the resource: 'page', 'database', or 'data_source'.\").nullable(),\n title: z.string().describe(\"Title or name of the resource.\").nullable(),\n}).passthrough().describe(\"Simplified representation of a Notion resource with id, title, and type.\");\nconst NotionFetchData_FileFileSchema = z.object({\n url: z.string().describe(\"Signed URL of the Notion-hosted file.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the signed URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file with expiring URL.\");\nconst NotionFetchData_ExternalFileSchema = z.object({\n url: z.string().describe(\"External URL of the file.\").nullable(),\n}).passthrough().describe(\"External file reference.\");\nconst NotionFetchData_FileUploadSchema = z.object({\n id: z.string().describe(\"File upload identifier.\").nullable(),\n}).passthrough().describe(\"File upload reference.\");\nconst NotionFetchData_FileObjectSchema = z.object({\n file: NotionFetchData_FileFileSchema.nullable().optional(),\n name: z.string().describe(\"Optional file name.\").nullable().optional(),\n type: z.enum([\"file\", \"file_upload\", \"external\"]).describe(\"Type of file: 'file', 'file_upload', or 'external'.\").nullable(),\n external: NotionFetchData_ExternalFileSchema.nullable().optional(),\n file_upload: NotionFetchData_FileUploadSchema.nullable().optional(),\n}).passthrough().describe(\"File object for icons and covers.\");\nconst NotionFetchData_EmojiObjectSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n}).passthrough().describe(\"Emoji icon object.\");\nconst NotionFetchData_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"URL to the custom emoji image hosted on Notion.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n}).passthrough().describe(\"Custom emoji data containing id, name, and url.\");\nconst NotionFetchData_CustomEmojiObjectSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional(),\n}).passthrough().describe(\"Custom emoji icon object.\");\nconst NotionFetchData_ParentSchema = z.object({\n type: z.enum([\"page_id\", \"workspace\", \"block_id\", \"database_id\", \"data_source_id\"]).describe(\"Type of parent.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page when type is 'page_id'.\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block when type is 'block_id'.\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"UUID of the parent database when type is 'database_id'.\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source when type is 'data_source_id'.\").nullable().optional(),\n}).passthrough().describe(\"Parent location of a page, database, or data source.\");\nconst NotionFetchData_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user.\").nullable(),\n name: z.string().describe(\"User's display name.\").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 avatar_url: z.string().describe(\"URL to user's avatar.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object returned by Notion API.\");\nconst NotionFetchData_PageSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the page.\").nullable(),\n url: z.string().describe(\"URL of the page in Notion.\").nullable(),\n icon: z.union([NotionFetchData_FileObjectSchema, NotionFetchData_EmojiObjectSchema, NotionFetchData_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionFetchData_FileObjectSchema.nullable().optional(),\n object: z.string().describe(\"Always 'page'.\").nullable(),\n parent: NotionFetchData_ParentSchema.nullable(),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in trash.\").nullable(),\n is_locked: z.boolean().describe(\"Whether the page is locked.\").nullable().optional(),\n created_by: NotionFetchData_PartialUserSchema.nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page keyed by property name.\"),\n public_url: z.string().describe(\"Public URL if the page is published, or null.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the page was created.\").nullable(),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the page was last edited.\").nullable(),\n}).passthrough().describe(\"Notion Page object returned in search results.\");\nconst NotionFetchData_RichTextTextSchema = z.object({\n link: z.record(z.string(), z.unknown()).describe(\"Link object with 'url' field, or null.\").nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n}).passthrough().describe(\"Text content for rich text.\");\nconst NotionFetchData_DateMentionValueSchema = z.object({\n end: z.string().describe(\"End date in ISO 8601 format.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\").nullable(),\n time_zone: z.string().describe(\"Time zone identifier.\").nullable().optional(),\n}).passthrough().describe(\"Date value in a date mention.\");\nconst NotionFetchData_PageReferenceSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\").nullable(),\n}).passthrough().describe(\"Page reference in a mention.\");\nconst NotionFetchData_UserReferenceSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).passthrough().describe(\"User reference in a mention.\");\nconst NotionFetchData_DatabaseReferenceSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\").nullable(),\n}).passthrough().describe(\"Database reference in a mention.\");\nconst NotionFetchData_LinkPreviewMentionValueSchema = z.object({\n url: z.string().describe(\"URL being previewed.\").nullable(),\n}).passthrough().describe(\"Link preview value in a link preview mention.\");\nconst NotionFetchData_TemplateMentionDateValueSchema = z.object({\n type: z.enum([\"today\", \"now\"]).describe(\"Type of template date: 'today' or 'now'.\").nullable(),\n}).passthrough().describe(\"Template mention date value.\");\nconst NotionFetchData_TemplateMentionUserValueSchema = z.object({\n type: z.string().describe(\"Always 'me'.\").nullable(),\n}).passthrough().describe(\"Template mention user value.\");\nconst NotionFetchData_TemplateMentionValueSchema = z.object({\n type: z.enum([\"template_mention_date\", \"template_mention_user\"]).describe(\"Type of template mention.\").nullable(),\n template_mention_date: z.union([NotionFetchData_TemplateMentionDateValueSchema, z.string()]).nullable().optional(),\n template_mention_user: NotionFetchData_TemplateMentionUserValueSchema.nullable().optional(),\n}).passthrough().describe(\"Template mention value containing either date or user template.\");\nconst NotionFetchData_MentionSchema = z.object({\n date: NotionFetchData_DateMentionValueSchema.nullable().optional(),\n page: NotionFetchData_PageReferenceSchema.nullable().optional(),\n type: z.enum([\"user\", \"page\", \"database\", \"date\", \"link_preview\", \"template_mention\", \"custom_emoji\"]).describe(\"Type of mention.\").nullable(),\n user: NotionFetchData_UserReferenceSchema.nullable().optional(),\n database: NotionFetchData_DatabaseReferenceSchema.nullable().optional(),\n custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional(),\n link_preview: NotionFetchData_LinkPreviewMentionValueSchema.nullable().optional(),\n template_mention: NotionFetchData_TemplateMentionValueSchema.nullable().optional(),\n}).passthrough().describe(\"Mention object containing the mention type and details.\");\nconst NotionFetchData_RichTextEquationSchema = z.object({\n expression: z.string().describe(\"LaTeX equation expression.\").nullable(),\n}).passthrough().describe(\"Equation content for rich text.\");\nconst NotionFetchData_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.\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italicized.\").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 properties for rich text.\");\nconst NotionFetchData_RichTextSchema = z.object({\n href: z.string().describe(\"URL if the text is a link, or null.\").nullable().optional(),\n text: NotionFetchData_RichTextTextSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"Type of rich text: 'text', 'mention', or 'equation'.\").nullable(),\n mention: NotionFetchData_MentionSchema.nullable().optional(),\n equation: NotionFetchData_RichTextEquationSchema.nullable().optional(),\n plain_text: z.string().describe(\"Plain text representation without formatting.\").nullable(),\n annotations: NotionFetchData_AnnotationsSchema.nullable(),\n}).passthrough().describe(\"Rich text object for titles and descriptions.\");\nconst NotionFetchData_DataSourceSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the data source.\").nullable(),\n icon: z.union([NotionFetchData_FileObjectSchema, NotionFetchData_EmojiObjectSchema, NotionFetchData_CustomEmojiObjectSchema]).nullable().optional(),\n title: z.array(NotionFetchData_RichTextSchema).describe(\"Title of the data source as rich text.\").nullable().optional(),\n object: z.string().describe(\"Always 'data_source'.\").nullable(),\n parent: NotionFetchData_ParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the data source is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the data source is in trash.\").nullable().optional(),\n created_by: NotionFetchData_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Schema properties of the data source keyed by property name.\"),\n description: z.array(NotionFetchData_RichTextSchema).describe(\"Description of the data source as rich text.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the data source was created.\").nullable().optional(),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable().optional(),\n database_parent: NotionFetchData_ParentSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the data source was last edited.\").nullable().optional(),\n}).passthrough().describe(\"Notion Data Source object returned in search results.\");\nconst NotionFetchData_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the database.\").nullable(),\n url: z.string().describe(\"URL of the database in Notion.\").nullable(),\n icon: z.union([NotionFetchData_FileObjectSchema, NotionFetchData_EmojiObjectSchema, NotionFetchData_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionFetchData_FileObjectSchema.nullable().optional(),\n title: z.array(NotionFetchData_RichTextSchema).describe(\"Title of the database as rich text.\").nullable().optional(),\n object: z.string().describe(\"Always 'database'.\").nullable(),\n parent: NotionFetchData_ParentSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether the database is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the database is in trash.\").nullable(),\n is_inline: z.boolean().describe(\"Whether the database is displayed inline.\").nullable().optional(),\n created_by: NotionFetchData_PartialUserSchema.nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property schema of the database keyed by property name.\"),\n public_url: z.string().describe(\"Public URL if the database is published, or null.\").nullable().optional(),\n description: z.array(NotionFetchData_RichTextSchema).describe(\"Description of the database as rich text.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the database was created.\").nullable(),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the database was last edited.\").nullable(),\n}).passthrough().describe(\"Notion Database object returned in search results.\");\nconst NotionFetchData_DataSourcePaginationInfoSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific pagination info for 'data_source' type responses. Typically an empty object.\");\nexport const NotionFetchDataOutput = z.object({\n page: NotionFetchData_PagePaginationInfoSchema.nullable().optional(),\n type: z.string().describe(\"The object type contained in results (e.g., 'page' or 'data_source') when provided by Notion.\").nullable().optional(),\n object: z.string().describe(\"Constant string 'list' indicating this is a paginated list response.\").nullable(),\n values: z.array(NotionFetchData_SimplifiedResourceSchema).describe(\"CANONICAL data source. Always populated with simplified Notion resources (id, title, type). Use this field for reading data - it is guaranteed to be present and consistent.\").nullable().optional(),\n results: z.array(z.union([NotionFetchData_PageSchema, NotionFetchData_DataSourceSchema, NotionFetchData_DatabaseSchema])).describe(\"Standard Notion API field containing full response objects. Use only when you need additional details (properties, timestamps, icons) not present in 'values'.\").nullable().optional(),\n has_more: z.boolean().default(false).describe(\"Whether there are more results available after this page.\").nullable().optional(),\n data_source: NotionFetchData_DataSourcePaginationInfoSchema.nullable().optional(),\n next_cursor: z.string().describe(\"Opaque cursor to pass as start_cursor on a subsequent request; null if no more results.\").nullable().optional(),\n total_count: z.number().int().default(0).describe(\"Number of items in 'values' list (may differ from 'results' length if some items couldn't be parsed).\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message about any input modifications made during execution (e.g., page_size capping).\").nullable().optional(),\n}).passthrough().describe(\"Notion Fetch Data (NOTION_FETCH_DATA) - Response Schema\\n\\nThis response provides a consistent, predictable data structure for agents.\\nThe 'values' field is the CANONICAL data source - it is ALWAYS populated\\n(even as an empty list when no results are found) and should be used for\\nall data access needs.\\n\\nData Fields:\\n- 'values': The PRIMARY data field. Always contains a list of SimplifiedResource\\n objects with id, title, and type. Use this field for reading data.\\n- 'results': The standard Notion API field containing full response objects.\\n Use only when you need additional details not present in 'values'.\\n\\nPagination Fields:\\n- 'next_cursor': Opaque cursor for fetching the next page of results.\\n- 'has_more': Boolean indicating if more results are available.\\n- 'total_count': Number of items in 'values' (may differ from 'results' if\\n some items couldn't be parsed into simplified format).\");\n\nexport const notionFetchData = action(\"NOTION_FETCH_DATA\", {\n slug: \"notion-fetch-data\",\n name: \"Fetch Notion Data\",\n description: \"Fetches Notion items (pages and/or databases) from the Notion workspace, use this to get minimal data about the items in the workspace with a query or list all items in the workspace with minimal data\",\n input: NotionFetchDataInput,\n output: NotionFetchDataOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS;CAC9P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mTAAmT,CAAC,CAAC,SAAS;CAChX,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAa;CAAK,CAAC,CAAC,CAAC,SAAS,gKAAgK;CAC3N,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CAC3O,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAA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