@keystrokehq/notion 0.1.0 → 0.1.2
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-multiple-page-content.cjs +8 -8
- package/dist/actions/add-multiple-page-content.cjs.map +1 -1
- package/dist/actions/add-multiple-page-content.d.cts +88 -3
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
- package/dist/actions/add-multiple-page-content.d.mts +88 -3
- package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
- package/dist/actions/add-multiple-page-content.mjs +8 -8
- package/dist/actions/add-multiple-page-content.mjs.map +1 -1
- package/dist/actions/append-code-blocks.cjs +44 -44
- package/dist/actions/append-code-blocks.cjs.map +1 -1
- package/dist/actions/append-code-blocks.d.cts +849 -3
- package/dist/actions/append-code-blocks.d.cts.map +1 -1
- package/dist/actions/append-code-blocks.d.mts +849 -3
- package/dist/actions/append-code-blocks.d.mts.map +1 -1
- package/dist/actions/append-code-blocks.mjs +44 -44
- package/dist/actions/append-code-blocks.mjs.map +1 -1
- package/dist/actions/append-layout-blocks.cjs +44 -44
- package/dist/actions/append-layout-blocks.cjs.map +1 -1
- package/dist/actions/append-layout-blocks.d.cts +642 -3
- package/dist/actions/append-layout-blocks.d.cts.map +1 -1
- package/dist/actions/append-layout-blocks.d.mts +642 -3
- package/dist/actions/append-layout-blocks.d.mts.map +1 -1
- package/dist/actions/append-layout-blocks.mjs +44 -44
- package/dist/actions/append-layout-blocks.mjs.map +1 -1
- package/dist/actions/append-media-blocks.cjs +44 -44
- package/dist/actions/append-media-blocks.cjs.map +1 -1
- package/dist/actions/append-media-blocks.d.cts +996 -3
- package/dist/actions/append-media-blocks.d.cts.map +1 -1
- package/dist/actions/append-media-blocks.d.mts +996 -3
- package/dist/actions/append-media-blocks.d.mts.map +1 -1
- package/dist/actions/append-media-blocks.mjs +44 -44
- package/dist/actions/append-media-blocks.mjs.map +1 -1
- package/dist/actions/append-table-blocks.cjs +44 -44
- package/dist/actions/append-table-blocks.cjs.map +1 -1
- package/dist/actions/append-table-blocks.d.cts +624 -3
- package/dist/actions/append-table-blocks.d.cts.map +1 -1
- package/dist/actions/append-table-blocks.d.mts +624 -3
- package/dist/actions/append-table-blocks.d.mts.map +1 -1
- package/dist/actions/append-table-blocks.mjs +44 -44
- package/dist/actions/append-table-blocks.mjs.map +1 -1
- package/dist/actions/append-task-blocks.cjs +44 -44
- package/dist/actions/append-task-blocks.cjs.map +1 -1
- package/dist/actions/append-task-blocks.d.cts +826 -3
- package/dist/actions/append-task-blocks.d.cts.map +1 -1
- package/dist/actions/append-task-blocks.d.mts +826 -3
- package/dist/actions/append-task-blocks.d.mts.map +1 -1
- package/dist/actions/append-task-blocks.mjs +44 -44
- package/dist/actions/append-task-blocks.mjs.map +1 -1
- package/dist/actions/append-text-blocks.cjs +44 -44
- package/dist/actions/append-text-blocks.cjs.map +1 -1
- package/dist/actions/append-text-blocks.d.cts +1080 -3
- package/dist/actions/append-text-blocks.d.cts.map +1 -1
- package/dist/actions/append-text-blocks.d.mts +1080 -3
- package/dist/actions/append-text-blocks.d.mts.map +1 -1
- package/dist/actions/append-text-blocks.mjs +44 -44
- package/dist/actions/append-text-blocks.mjs.map +1 -1
- package/dist/actions/archive-notion-page.cjs +27 -27
- package/dist/actions/archive-notion-page.cjs.map +1 -1
- package/dist/actions/archive-notion-page.d.cts +78 -3
- package/dist/actions/archive-notion-page.d.cts.map +1 -1
- package/dist/actions/archive-notion-page.d.mts +78 -3
- package/dist/actions/archive-notion-page.d.mts.map +1 -1
- package/dist/actions/archive-notion-page.mjs +27 -27
- package/dist/actions/archive-notion-page.mjs.map +1 -1
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +46 -3
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +46 -3
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-database.cjs +31 -31
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +139 -3
- package/dist/actions/create-database.d.cts.map +1 -1
- package/dist/actions/create-database.d.mts +139 -3
- package/dist/actions/create-database.d.mts.map +1 -1
- package/dist/actions/create-database.mjs +31 -31
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-file-upload.cjs +8 -8
- package/dist/actions/create-file-upload.cjs.map +1 -1
- package/dist/actions/create-file-upload.d.cts +38 -3
- package/dist/actions/create-file-upload.d.cts.map +1 -1
- package/dist/actions/create-file-upload.d.mts +38 -3
- package/dist/actions/create-file-upload.d.mts.map +1 -1
- package/dist/actions/create-file-upload.mjs +8 -8
- package/dist/actions/create-file-upload.mjs.map +1 -1
- package/dist/actions/create-notion-page.cjs +29 -29
- package/dist/actions/create-notion-page.cjs.map +1 -1
- package/dist/actions/create-notion-page.d.cts +83 -3
- package/dist/actions/create-notion-page.d.cts.map +1 -1
- package/dist/actions/create-notion-page.d.mts +83 -3
- package/dist/actions/create-notion-page.d.mts.map +1 -1
- package/dist/actions/create-notion-page.mjs +29 -29
- package/dist/actions/create-notion-page.mjs.map +1 -1
- package/dist/actions/delete-block.cjs +53 -53
- package/dist/actions/delete-block.cjs.map +1 -1
- package/dist/actions/delete-block.d.cts +2181 -3
- package/dist/actions/delete-block.d.cts.map +1 -1
- package/dist/actions/delete-block.d.mts +2181 -3
- package/dist/actions/delete-block.d.mts.map +1 -1
- package/dist/actions/delete-block.mjs +53 -53
- package/dist/actions/delete-block.mjs.map +1 -1
- package/dist/actions/duplicate-page.cjs +31 -31
- package/dist/actions/duplicate-page.cjs.map +1 -1
- package/dist/actions/duplicate-page.d.cts +90 -3
- package/dist/actions/duplicate-page.d.cts.map +1 -1
- package/dist/actions/duplicate-page.d.mts +90 -3
- package/dist/actions/duplicate-page.d.mts.map +1 -1
- package/dist/actions/duplicate-page.mjs +31 -31
- package/dist/actions/duplicate-page.mjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.cjs +45 -45
- package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.d.cts +38 -3
- package/dist/actions/fetch-all-block-contents.d.cts.map +1 -1
- package/dist/actions/fetch-all-block-contents.d.mts +38 -3
- package/dist/actions/fetch-all-block-contents.d.mts.map +1 -1
- package/dist/actions/fetch-all-block-contents.mjs +45 -45
- package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-contents.cjs +57 -57
- package/dist/actions/fetch-block-contents.cjs.map +1 -1
- package/dist/actions/fetch-block-contents.d.cts +687 -3
- package/dist/actions/fetch-block-contents.d.cts.map +1 -1
- package/dist/actions/fetch-block-contents.d.mts +687 -3
- package/dist/actions/fetch-block-contents.d.mts.map +1 -1
- package/dist/actions/fetch-block-contents.mjs +57 -57
- package/dist/actions/fetch-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-metadata.cjs +51 -51
- package/dist/actions/fetch-block-metadata.cjs.map +1 -1
- package/dist/actions/fetch-block-metadata.d.cts +2103 -3
- package/dist/actions/fetch-block-metadata.d.cts.map +1 -1
- package/dist/actions/fetch-block-metadata.d.mts +2103 -3
- package/dist/actions/fetch-block-metadata.d.mts.map +1 -1
- package/dist/actions/fetch-block-metadata.mjs +51 -51
- package/dist/actions/fetch-block-metadata.mjs.map +1 -1
- package/dist/actions/fetch-comments.cjs +37 -37
- package/dist/actions/fetch-comments.cjs.map +1 -1
- package/dist/actions/fetch-comments.d.cts +148 -3
- package/dist/actions/fetch-comments.d.cts.map +1 -1
- package/dist/actions/fetch-comments.d.mts +148 -3
- package/dist/actions/fetch-comments.d.mts.map +1 -1
- package/dist/actions/fetch-comments.mjs +37 -37
- package/dist/actions/fetch-comments.mjs.map +1 -1
- package/dist/actions/fetch-data.cjs +51 -51
- package/dist/actions/fetch-data.cjs.map +1 -1
- package/dist/actions/fetch-data.d.cts +594 -3
- package/dist/actions/fetch-data.d.cts.map +1 -1
- package/dist/actions/fetch-data.d.mts +594 -3
- package/dist/actions/fetch-data.d.mts.map +1 -1
- package/dist/actions/fetch-data.mjs +51 -51
- package/dist/actions/fetch-data.mjs.map +1 -1
- package/dist/actions/fetch-database.cjs +27 -27
- package/dist/actions/fetch-database.cjs.map +1 -1
- package/dist/actions/fetch-database.d.cts +89 -3
- package/dist/actions/fetch-database.d.cts.map +1 -1
- package/dist/actions/fetch-database.d.mts +89 -3
- package/dist/actions/fetch-database.d.mts.map +1 -1
- package/dist/actions/fetch-database.mjs +27 -27
- package/dist/actions/fetch-database.mjs.map +1 -1
- package/dist/actions/fetch-row.cjs +35 -35
- package/dist/actions/fetch-row.cjs.map +1 -1
- package/dist/actions/fetch-row.d.cts +151 -3
- package/dist/actions/fetch-row.d.cts.map +1 -1
- package/dist/actions/fetch-row.d.mts +151 -3
- package/dist/actions/fetch-row.d.mts.map +1 -1
- package/dist/actions/fetch-row.mjs +35 -35
- package/dist/actions/fetch-row.mjs.map +1 -1
- package/dist/actions/get-about-user.cjs +7 -7
- package/dist/actions/get-about-user.cjs.map +1 -1
- package/dist/actions/get-about-user.d.cts +44 -3
- package/dist/actions/get-about-user.d.cts.map +1 -1
- package/dist/actions/get-about-user.d.mts +44 -3
- package/dist/actions/get-about-user.d.mts.map +1 -1
- package/dist/actions/get-about-user.mjs +7 -7
- package/dist/actions/get-about-user.mjs.map +1 -1
- package/dist/actions/get-page-markdown.cjs +4 -4
- package/dist/actions/get-page-markdown.cjs.map +1 -1
- package/dist/actions/get-page-markdown.d.cts +15 -3
- package/dist/actions/get-page-markdown.d.cts.map +1 -1
- package/dist/actions/get-page-markdown.d.mts +15 -3
- package/dist/actions/get-page-markdown.d.mts.map +1 -1
- package/dist/actions/get-page-markdown.mjs +4 -4
- package/dist/actions/get-page-markdown.mjs.map +1 -1
- package/dist/actions/get-page-property-action.cjs.map +1 -1
- package/dist/actions/get-page-property-action.d.cts +13 -3
- package/dist/actions/get-page-property-action.d.cts.map +1 -1
- package/dist/actions/get-page-property-action.d.mts +13 -3
- package/dist/actions/get-page-property-action.d.mts.map +1 -1
- package/dist/actions/get-page-property-action.mjs.map +1 -1
- package/dist/actions/insert-row-database.cjs +30 -30
- package/dist/actions/insert-row-database.cjs.map +1 -1
- package/dist/actions/insert-row-database.d.cts +163 -3
- package/dist/actions/insert-row-database.d.cts.map +1 -1
- package/dist/actions/insert-row-database.d.mts +163 -3
- package/dist/actions/insert-row-database.d.mts.map +1 -1
- package/dist/actions/insert-row-database.mjs +30 -30
- 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 +19 -3
- package/dist/actions/insert-row-from-nl.d.cts.map +1 -1
- package/dist/actions/insert-row-from-nl.d.mts +19 -3
- package/dist/actions/insert-row-from-nl.d.mts.map +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 +4 -4
- package/dist/actions/list-data-source-templates.cjs.map +1 -1
- package/dist/actions/list-data-source-templates.d.cts +19 -3
- package/dist/actions/list-data-source-templates.d.cts.map +1 -1
- package/dist/actions/list-data-source-templates.d.mts +19 -3
- package/dist/actions/list-data-source-templates.d.mts.map +1 -1
- package/dist/actions/list-data-source-templates.mjs +4 -4
- package/dist/actions/list-data-source-templates.mjs.map +1 -1
- package/dist/actions/list-file-uploads.cjs +7 -7
- package/dist/actions/list-file-uploads.cjs.map +1 -1
- package/dist/actions/list-file-uploads.d.cts +32 -3
- package/dist/actions/list-file-uploads.d.cts.map +1 -1
- package/dist/actions/list-file-uploads.d.mts +32 -3
- package/dist/actions/list-file-uploads.d.mts.map +1 -1
- package/dist/actions/list-file-uploads.mjs +7 -7
- package/dist/actions/list-file-uploads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +6 -6
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +58 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +58 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +6 -6
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/move-page.cjs +27 -27
- package/dist/actions/move-page.cjs.map +1 -1
- package/dist/actions/move-page.d.cts +90 -3
- package/dist/actions/move-page.d.cts.map +1 -1
- package/dist/actions/move-page.d.mts +90 -3
- package/dist/actions/move-page.d.mts.map +1 -1
- package/dist/actions/move-page.mjs +27 -27
- 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 +159 -3
- package/dist/actions/query-data-source.d.cts.map +1 -1
- package/dist/actions/query-data-source.d.mts +159 -3
- 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 +49 -49
- package/dist/actions/query-database-with-filter.cjs.map +1 -1
- package/dist/actions/query-database-with-filter.d.cts +214 -3
- package/dist/actions/query-database-with-filter.d.cts.map +1 -1
- package/dist/actions/query-database-with-filter.d.mts +214 -3
- package/dist/actions/query-database-with-filter.d.mts.map +1 -1
- package/dist/actions/query-database-with-filter.mjs +49 -49
- package/dist/actions/query-database-with-filter.mjs.map +1 -1
- package/dist/actions/query-database.cjs +38 -38
- package/dist/actions/query-database.cjs.map +1 -1
- package/dist/actions/query-database.d.cts +208 -3
- package/dist/actions/query-database.d.cts.map +1 -1
- package/dist/actions/query-database.d.mts +208 -3
- package/dist/actions/query-database.d.mts.map +1 -1
- package/dist/actions/query-database.mjs +38 -38
- package/dist/actions/query-database.mjs.map +1 -1
- package/dist/actions/replace-page-content.cjs +3 -3
- package/dist/actions/replace-page-content.cjs.map +1 -1
- package/dist/actions/replace-page-content.d.cts +1706 -3
- package/dist/actions/replace-page-content.d.cts.map +1 -1
- package/dist/actions/replace-page-content.d.mts +1706 -3
- package/dist/actions/replace-page-content.d.mts.map +1 -1
- package/dist/actions/replace-page-content.mjs +3 -3
- package/dist/actions/replace-page-content.mjs.map +1 -1
- package/dist/actions/retrieve-comment.cjs.map +1 -1
- package/dist/actions/retrieve-comment.d.cts +7 -3
- package/dist/actions/retrieve-comment.d.cts.map +1 -1
- package/dist/actions/retrieve-comment.d.mts +7 -3
- package/dist/actions/retrieve-comment.d.mts.map +1 -1
- package/dist/actions/retrieve-comment.mjs.map +1 -1
- package/dist/actions/retrieve-database-property.cjs +19 -19
- package/dist/actions/retrieve-database-property.cjs.map +1 -1
- package/dist/actions/retrieve-database-property.d.cts +78 -3
- package/dist/actions/retrieve-database-property.d.cts.map +1 -1
- package/dist/actions/retrieve-database-property.d.mts +78 -3
- package/dist/actions/retrieve-database-property.d.mts.map +1 -1
- package/dist/actions/retrieve-database-property.mjs +19 -19
- package/dist/actions/retrieve-database-property.mjs.map +1 -1
- package/dist/actions/retrieve-file-upload.cjs +5 -5
- package/dist/actions/retrieve-file-upload.cjs.map +1 -1
- package/dist/actions/retrieve-file-upload.d.cts +25 -3
- package/dist/actions/retrieve-file-upload.d.cts.map +1 -1
- package/dist/actions/retrieve-file-upload.d.mts +25 -3
- package/dist/actions/retrieve-file-upload.d.mts.map +1 -1
- package/dist/actions/retrieve-file-upload.mjs +5 -5
- package/dist/actions/retrieve-file-upload.mjs.map +1 -1
- package/dist/actions/retrieve-page.cjs +34 -34
- package/dist/actions/retrieve-page.cjs.map +1 -1
- package/dist/actions/retrieve-page.d.cts +139 -3
- package/dist/actions/retrieve-page.d.cts.map +1 -1
- package/dist/actions/retrieve-page.d.mts +139 -3
- package/dist/actions/retrieve-page.d.mts.map +1 -1
- package/dist/actions/retrieve-page.mjs +34 -34
- package/dist/actions/retrieve-page.mjs.map +1 -1
- package/dist/actions/search-notion-page.cjs +54 -54
- package/dist/actions/search-notion-page.cjs.map +1 -1
- package/dist/actions/search-notion-page.d.cts +751 -3
- package/dist/actions/search-notion-page.d.cts.map +1 -1
- package/dist/actions/search-notion-page.d.mts +751 -3
- package/dist/actions/search-notion-page.d.mts.map +1 -1
- package/dist/actions/search-notion-page.mjs +54 -54
- package/dist/actions/search-notion-page.mjs.map +1 -1
- package/dist/actions/send-file-upload.cjs +7 -7
- package/dist/actions/send-file-upload.cjs.map +1 -1
- package/dist/actions/send-file-upload.d.cts +33 -3
- package/dist/actions/send-file-upload.d.cts.map +1 -1
- package/dist/actions/send-file-upload.d.mts +33 -3
- package/dist/actions/send-file-upload.d.mts.map +1 -1
- package/dist/actions/send-file-upload.mjs +7 -7
- package/dist/actions/send-file-upload.mjs.map +1 -1
- package/dist/actions/update-block.cjs +55 -55
- package/dist/actions/update-block.cjs.map +1 -1
- package/dist/actions/update-block.d.cts +564 -3
- package/dist/actions/update-block.d.cts.map +1 -1
- package/dist/actions/update-block.d.mts +564 -3
- package/dist/actions/update-block.d.mts.map +1 -1
- package/dist/actions/update-block.mjs +55 -55
- package/dist/actions/update-block.mjs.map +1 -1
- package/dist/actions/update-page.cjs +32 -32
- package/dist/actions/update-page.cjs.map +1 -1
- package/dist/actions/update-page.d.cts +103 -3
- package/dist/actions/update-page.d.cts.map +1 -1
- package/dist/actions/update-page.d.mts +103 -3
- package/dist/actions/update-page.d.mts.map +1 -1
- package/dist/actions/update-page.mjs +32 -32
- package/dist/actions/update-page.mjs.map +1 -1
- package/dist/actions/update-row-database.cjs +31 -31
- package/dist/actions/update-row-database.cjs.map +1 -1
- package/dist/actions/update-row-database.d.cts +126 -3
- package/dist/actions/update-row-database.d.cts.map +1 -1
- package/dist/actions/update-row-database.d.mts +126 -3
- package/dist/actions/update-row-database.d.mts.map +1 -1
- package/dist/actions/update-row-database.mjs +31 -31
- package/dist/actions/update-row-database.mjs.map +1 -1
- package/dist/actions/update-schema-database.cjs +51 -51
- package/dist/actions/update-schema-database.cjs.map +1 -1
- package/dist/actions/update-schema-database.d.cts +314 -3
- package/dist/actions/update-schema-database.d.cts.map +1 -1
- package/dist/actions/update-schema-database.d.mts +314 -3
- package/dist/actions/update-schema-database.d.mts.map +1 -1
- package/dist/actions/update-schema-database.mjs +51 -51
- package/dist/actions/update-schema-database.mjs.map +1 -1
- package/dist/actions/upsert-row-database.cjs +4 -4
- package/dist/actions/upsert-row-database.cjs.map +1 -1
- package/dist/actions/upsert-row-database.d.cts +218 -3
- package/dist/actions/upsert-row-database.d.cts.map +1 -1
- package/dist/actions/upsert-row-database.d.mts +218 -3
- package/dist/actions/upsert-row-database.d.mts.map +1 -1
- package/dist/actions/upsert-row-database.mjs +4 -4
- 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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-comments.mjs","names":[],"sources":["../../src/actions/fetch-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchCommentsInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"Identifier for a Notion page from which to fetch comments. This is an alias for block_id since pages are blocks in Notion. Provide either page_id or block_id, but not both. IMPORTANT: The page must be shared with your Notion integration - if not shared, you will receive a 404 error. To find IDs, use the `NOTION_SEARCH_NOTION_PAGE` action.\").optional(),\n block_id: z.string().describe(\"Identifier for a Notion block from which to fetch comments. In Notion, pages are technically blocks, so you can pass a page ID here as well. Provide either block_id or page_id, but not both. IMPORTANT: The block/page must be shared with your Notion integration - if not shared, you will receive a 404 error. To find IDs, use the `NOTION_FETCH_DATA` action.\").optional(),\n page_size: z.number().int().default(100).describe(\"The number of comments to return in a single response page. Must be between 1 and 100, inclusive. Default is 100.\").optional(),\n start_cursor: z.string().describe(\"A pagination cursor. If provided, the response will contain the page of results starting after this cursor. If omitted, the first page of results is returned.\").optional(),\n});\nconst NotionFetchComments_CommentParentPageSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of parent, set to 'page_id' for page parents.\"),\n page_id: z.string().describe(\"UUID of the parent page.\"),\n});\nconst NotionFetchComments_CommentParentBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of parent, set to 'block_id' for block parents.\"),\n block_id: z.string().describe(\"UUID of the parent block.\"),\n});\nconst NotionFetchComments_LinkObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL of the link.\"),\n});\nconst NotionFetchComments_TextObjectSchema: z.ZodTypeAny = z.object({\n link: NotionFetchComments_LinkObjectSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\"),\n});\nconst NotionFetchComments_MentionDateObjectSchema: z.ZodTypeAny = z.object({\n end: z.string().describe(\"End date/time.\").nullable().optional(),\n start: z.string().describe(\"Start date/time.\"),\n});\nconst NotionFetchComments_MentionPageObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\"),\n});\nconst NotionFetchComments_BotOwnerObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Either 'workspace' or 'user'.\").nullable().optional(),\n});\nconst NotionFetchComments_WorkspaceLimitsObjectSchema: z.ZodTypeAny = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum upload size in bytes.\").nullable().optional(),\n});\nconst NotionFetchComments_BotObjectSchema: z.ZodTypeAny = z.object({\n owner: NotionFetchComments_BotOwnerObjectSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Workspace identifier.\").nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name (null if owner is user).\").nullable().optional(),\n workspace_limits: NotionFetchComments_WorkspaceLimitsObjectSchema.nullable().optional(),\n});\nconst NotionFetchComments_PersonObjectSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the person (requires user capability access).\").nullable().optional(),\n});\nconst NotionFetchComments_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\"),\n bot: NotionFetchComments_BotObjectSchema.nullable().optional(),\n name: z.string().describe(\"User's display name in Notion.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Either 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n person: NotionFetchComments_PersonObjectSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image.\").nullable().optional(),\n});\nconst NotionFetchComments_MentionDatabaseObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\"),\n});\nconst NotionFetchComments_MentionLinkPreviewObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link preview.\"),\n});\nconst NotionFetchComments_TemplateMentionObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Template mention subtype: 'template_mention_date' or 'template_mention_user'.\"),\n});\nconst NotionFetchComments_MentionObjectSchema: z.ZodTypeAny = z.object({\n date: NotionFetchComments_MentionDateObjectSchema.nullable().optional(),\n page: NotionFetchComments_MentionPageObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of mention: 'database', 'date', 'link_preview', 'page', 'template_mention', or 'user'.\"),\n user: NotionFetchComments_PartialUserSchema.nullable().optional(),\n database: NotionFetchComments_MentionDatabaseObjectSchema.nullable().optional(),\n link_preview: NotionFetchComments_MentionLinkPreviewObjectSchema.nullable().optional(),\n template_mention: NotionFetchComments_TemplateMentionObjectSchema.nullable().optional(),\n});\nconst NotionFetchComments_EquationObjectSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX string representing the inline equation.\"),\n});\nconst NotionFetchComments_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\"),\n code: z.boolean().describe(\"Whether the text is formatted as code.\"),\n color: z.string().describe(\"Text or background color (e.g., 'blue', 'green_background', 'default').\"),\n italic: z.boolean().describe(\"Whether the text is italic.\"),\n underline: z.boolean().describe(\"Whether the text is underlined.\"),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\"),\n});\nconst NotionFetchComments_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"URL for links or Notion mentions (null if not applicable).\").nullable().optional(),\n text: NotionFetchComments_TextObjectSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"Type of rich text: 'text', 'mention', or 'equation'.\"),\n mention: NotionFetchComments_MentionObjectSchema.nullable().optional(),\n equation: NotionFetchComments_EquationObjectSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content without styling.\"),\n annotations: NotionFetchComments_AnnotationsSchema.nullable(),\n});\nconst NotionFetchComments_CommentAttachmentFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Temporary download link generated at the time of retrieving the comment.\"),\n expiry_time: z.string().describe(\"ISO 8601 timestamp indicating when the URL expires.\"),\n});\nconst NotionFetchComments_CommentAttachmentSchema: z.ZodTypeAny = z.object({\n file: NotionFetchComments_CommentAttachmentFileSchema.nullable(),\n category: z.enum([\"audio\", \"image\", \"pdf\", \"productivity\", \"video\"]).describe(\"File category: 'audio', 'image', 'pdf', 'productivity', or 'video'.\"),\n});\nconst NotionFetchComments_CommentDisplayNameSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"integration\", \"user\", \"custom\"]).describe(\"Display name source type: 'custom', 'integration', or 'user'.\"),\n resolved_name: z.string().describe(\"The actual display name text shown in the comment interface.\"),\n});\nconst NotionFetchComments_CommentFullSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the comment (UUIDv4 format).\"),\n object: z.string().describe(\"Always 'comment'.\"),\n parent: z.union([NotionFetchComments_CommentParentPageSchema, NotionFetchComments_CommentParentBlockSchema]),\n rich_text: z.array(NotionFetchComments_RichTextSchema).describe(\"Array of rich text objects representing the comment content with formatting, links, and mentions.\"),\n created_by: NotionFetchComments_PartialUserSchema.nullable(),\n attachments: z.array(NotionFetchComments_CommentAttachmentSchema).describe(\"Array of file attachments (up to 3 attachments per comment).\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the comment was created.\"),\n display_name: NotionFetchComments_CommentDisplayNameSchema.nullable().optional(),\n discussion_id: z.string().describe(\"Thread identifier associating related comments (UUIDv4 format).\"),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of the most recent update to the comment.\"),\n});\nconst NotionFetchComments_CommentPartialSchema: z.ZodTypeAny = z.object({\n id: z.string(),\n object: z.string(),\n});\nexport const NotionFetchCommentsOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of objects in results array, always 'comment' for this endpoint.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated endpoints.\"),\n comment: z.record(z.string(), z.unknown()).describe(\"Empty object present in the response (legacy field).\").nullable().optional(),\n results: z.array(z.union([NotionFetchComments_CommentFullSchema, NotionFetchComments_CommentPartialSchema])).describe(\"Array of comment objects retrieved from the page or block.\"),\n has_more: z.boolean().describe(\"Boolean indicating whether there are more results available beyond this page.\"),\n next_cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results (only present when has_more is true).\").nullable().optional(),\n}).describe(\"Top-level response for fetching un-resolved comments from a page or block. This is a paginated list object.\\n\\nMatches Notion API GET /v1/comments response:\\n- object: always 'list'\\n- results: array of Comment objects (ascending chronological order)\\n- next_cursor: string or null\\n- has_more: boolean\\n- type: optional, 'comment' when present\\n- comment: optional, empty object when present (type-specific pagination info)\");\n\nexport const notionFetchComments = action(\"NOTION_FETCH_COMMENTS\", {\n slug: \"notion-fetch-comments\",\n name: \"Fetch comments\",\n description: \"Fetches unresolved comments for a specified Notion block or page ID. The block/page must be shared with your Notion integration and the integration must have 'Read comments' capability enabled, otherwise a 404 error will be returned.\",\n input: NotionFetchCommentsInput,\n output: NotionFetchCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OA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,CAAC,CAAC,SAAS,8DAA8D;AACtG,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO;CACb,QAAQ,EAAE,OAAO;AACnB,CAAC;AAUD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACpE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,uCAAuC,wCAAwC,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;EAClL,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,0aAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"fetch-comments.mjs","names":[],"sources":["../../src/actions/fetch-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchCommentsInput = z.object({\n page_id: z.string().describe(\"Identifier for a Notion page from which to fetch comments. This is an alias for block_id since pages are blocks in Notion. Provide either page_id or block_id, but not both. IMPORTANT: The page must be shared with your Notion integration - if not shared, you will receive a 404 error. To find IDs, use the `NOTION_SEARCH_NOTION_PAGE` action.\").optional(),\n block_id: z.string().describe(\"Identifier for a Notion block from which to fetch comments. In Notion, pages are technically blocks, so you can pass a page ID here as well. Provide either block_id or page_id, but not both. IMPORTANT: The block/page must be shared with your Notion integration - if not shared, you will receive a 404 error. To find IDs, use the `NOTION_FETCH_DATA` action.\").optional(),\n page_size: z.number().int().default(100).describe(\"The number of comments to return in a single response page. Must be between 1 and 100, inclusive. Default is 100.\").optional(),\n start_cursor: z.string().describe(\"A pagination cursor. If provided, the response will contain the page of results starting after this cursor. If omitted, the first page of results is returned.\").optional(),\n});\nconst NotionFetchComments_CommentParentPageSchema = z.object({\n type: z.string().describe(\"Type of parent, set to 'page_id' for page parents.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page.\").nullable(),\n});\nconst NotionFetchComments_CommentParentBlockSchema = z.object({\n type: z.string().describe(\"Type of parent, set to 'block_id' for block parents.\").nullable(),\n block_id: z.string().describe(\"UUID of the parent block.\").nullable(),\n});\nconst NotionFetchComments_LinkObjectSchema = z.object({\n url: z.string().describe(\"The URL of the link.\").nullable(),\n});\nconst NotionFetchComments_TextObjectSchema = z.object({\n link: NotionFetchComments_LinkObjectSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n});\nconst NotionFetchComments_MentionDateObjectSchema = z.object({\n end: z.string().describe(\"End date/time.\").nullable().optional(),\n start: z.string().describe(\"Start date/time.\").nullable(),\n});\nconst NotionFetchComments_MentionPageObjectSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\").nullable(),\n});\nconst NotionFetchComments_BotOwnerObjectSchema = z.object({\n type: z.string().describe(\"Either 'workspace' or 'user'.\").nullable().optional(),\n});\nconst NotionFetchComments_WorkspaceLimitsObjectSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum upload size in bytes.\").nullable().optional(),\n});\nconst NotionFetchComments_BotObjectSchema = z.object({\n owner: NotionFetchComments_BotOwnerObjectSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Workspace identifier.\").nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name (null if owner is user).\").nullable().optional(),\n workspace_limits: NotionFetchComments_WorkspaceLimitsObjectSchema.nullable().optional(),\n});\nconst NotionFetchComments_PersonObjectSchema = z.object({\n email: z.string().describe(\"Email address of the person (requires user capability access).\").nullable().optional(),\n});\nconst NotionFetchComments_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n bot: NotionFetchComments_BotObjectSchema.nullable().optional(),\n name: z.string().describe(\"User's display name in Notion.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Either 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n person: NotionFetchComments_PersonObjectSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image.\").nullable().optional(),\n});\nconst NotionFetchComments_MentionDatabaseObjectSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\").nullable(),\n});\nconst NotionFetchComments_MentionLinkPreviewObjectSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n});\nconst NotionFetchComments_TemplateMentionObjectSchema = z.object({\n type: z.string().describe(\"Template mention subtype: 'template_mention_date' or 'template_mention_user'.\").nullable(),\n});\nconst NotionFetchComments_MentionObjectSchema = z.object({\n date: NotionFetchComments_MentionDateObjectSchema.nullable().optional(),\n page: NotionFetchComments_MentionPageObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of mention: 'database', 'date', 'link_preview', 'page', 'template_mention', or 'user'.\").nullable(),\n user: NotionFetchComments_PartialUserSchema.nullable().optional(),\n database: NotionFetchComments_MentionDatabaseObjectSchema.nullable().optional(),\n link_preview: NotionFetchComments_MentionLinkPreviewObjectSchema.nullable().optional(),\n template_mention: NotionFetchComments_TemplateMentionObjectSchema.nullable().optional(),\n});\nconst NotionFetchComments_EquationObjectSchema = z.object({\n expression: z.string().describe(\"LaTeX string representing the inline equation.\").nullable(),\n});\nconst NotionFetchComments_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(\"Text or background color (e.g., 'blue', 'green_background', 'default').\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether the text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\").nullable(),\n});\nconst NotionFetchComments_RichTextSchema = z.object({\n href: z.string().describe(\"URL for links or Notion mentions (null if not applicable).\").nullable().optional(),\n text: NotionFetchComments_TextObjectSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"Type of rich text: 'text', 'mention', or 'equation'.\").nullable(),\n mention: NotionFetchComments_MentionObjectSchema.nullable().optional(),\n equation: NotionFetchComments_EquationObjectSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content without styling.\").nullable(),\n annotations: NotionFetchComments_AnnotationsSchema.nullable(),\n});\nconst NotionFetchComments_CommentAttachmentFileSchema = z.object({\n url: z.string().describe(\"Temporary download link generated at the time of retrieving the comment.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp indicating when the URL expires.\").nullable(),\n});\nconst NotionFetchComments_CommentAttachmentSchema = z.object({\n file: NotionFetchComments_CommentAttachmentFileSchema.nullable(),\n category: z.enum([\"audio\", \"image\", \"pdf\", \"productivity\", \"video\"]).describe(\"File category: 'audio', 'image', 'pdf', 'productivity', or 'video'.\").nullable(),\n});\nconst NotionFetchComments_CommentDisplayNameSchema = z.object({\n type: z.enum([\"integration\", \"user\", \"custom\"]).describe(\"Display name source type: 'custom', 'integration', or 'user'.\").nullable(),\n resolved_name: z.string().describe(\"The actual display name text shown in the comment interface.\").nullable(),\n});\nconst NotionFetchComments_CommentFullSchema = z.object({\n id: z.string().describe(\"Unique identifier for the comment (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always 'comment'.\").nullable(),\n parent: z.union([NotionFetchComments_CommentParentPageSchema, NotionFetchComments_CommentParentBlockSchema]),\n rich_text: z.array(NotionFetchComments_RichTextSchema).describe(\"Array of rich text objects representing the comment content with formatting, links, and mentions.\"),\n created_by: NotionFetchComments_PartialUserSchema.nullable(),\n attachments: z.array(NotionFetchComments_CommentAttachmentSchema).describe(\"Array of file attachments (up to 3 attachments per comment).\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the comment was created.\").nullable(),\n display_name: NotionFetchComments_CommentDisplayNameSchema.nullable().optional(),\n discussion_id: z.string().describe(\"Thread identifier associating related comments (UUIDv4 format).\").nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of the most recent update to the comment.\").nullable(),\n});\nconst NotionFetchComments_CommentPartialSchema = z.object({\n id: z.string().nullable(),\n object: z.string().nullable(),\n});\nexport const NotionFetchCommentsOutput = z.object({\n type: z.string().describe(\"Type of objects in results array, always 'comment' for this endpoint.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated endpoints.\").nullable(),\n comment: z.record(z.string(), z.unknown()).describe(\"Empty object present in the response (legacy field).\").nullable().optional(),\n results: z.array(z.union([NotionFetchComments_CommentFullSchema, NotionFetchComments_CommentPartialSchema])).describe(\"Array of comment objects retrieved from the page or block.\"),\n has_more: z.boolean().describe(\"Boolean indicating whether there are more results available beyond this page.\").nullable(),\n next_cursor: z.string().describe(\"Cursor for pagination to retrieve the next page of results (only present when has_more is true).\").nullable().optional(),\n}).describe(\"Top-level response for fetching un-resolved comments from a page or block. This is a paginated list object.\\n\\nMatches Notion API GET /v1/comments response:\\n- object: always 'list'\\n- results: array of Comment objects (ascending chronological order)\\n- next_cursor: string or null\\n- has_more: boolean\\n- type: optional, 'comment' when present\\n- comment: optional, empty object when present (type-specific pagination info)\");\n\nexport const notionFetchComments = action(\"NOTION_FETCH_COMMENTS\", {\n slug: \"notion-fetch-comments\",\n name: \"Fetch comments\",\n description: \"Fetches unresolved comments for a specified Notion block or page ID. The block/page must be shared with your Notion integration and the integration must have 'Read comments' capability enabled, otherwise a 404 error will be returned.\",\n input: NotionFetchCommentsInput,\n output: NotionFetchCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAA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,wCAAwC,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;EAClL,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,0aAOF;AACV,CAAC"}
|
|
@@ -15,16 +15,16 @@ const NotionFetchDataInput = zod.z.object({
|
|
|
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
16
|
const NotionFetchData_PagePaginationInfoSchema = zod.z.object({}).describe("Type-specific pagination info for 'page' type responses. Typically an empty object.");
|
|
17
17
|
const NotionFetchData_SimplifiedResourceSchema = zod.z.object({
|
|
18
|
-
id: zod.z.string().describe("Unique identifier (UUID) of the resource."),
|
|
19
|
-
type: zod.z.string().describe("Type of the resource: 'page', 'database', or 'data_source'."),
|
|
20
|
-
title: zod.z.string().describe("Title or name of the resource.")
|
|
18
|
+
id: zod.z.string().describe("Unique identifier (UUID) of the resource.").nullable(),
|
|
19
|
+
type: zod.z.string().describe("Type of the resource: 'page', 'database', or 'data_source'.").nullable(),
|
|
20
|
+
title: zod.z.string().describe("Title or name of the resource.").nullable()
|
|
21
21
|
}).describe("Simplified representation of a Notion resource with id, title, and type.");
|
|
22
22
|
const NotionFetchData_FileFileSchema = zod.z.object({
|
|
23
|
-
url: zod.z.string().describe("Signed URL of the Notion-hosted file."),
|
|
24
|
-
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the signed URL expires.")
|
|
23
|
+
url: zod.z.string().describe("Signed URL of the Notion-hosted file.").nullable(),
|
|
24
|
+
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the signed URL expires.").nullable()
|
|
25
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.") }).describe("External file reference.");
|
|
27
|
-
const NotionFetchData_FileUploadSchema = zod.z.object({ id: zod.z.string().describe("File upload identifier.") }).describe("File upload reference.");
|
|
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.");
|
|
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(),
|
|
@@ -32,21 +32,21 @@ const NotionFetchData_FileObjectSchema = zod.z.object({
|
|
|
32
32
|
"file",
|
|
33
33
|
"file_upload",
|
|
34
34
|
"external"
|
|
35
|
-
]).describe("Type of file: 'file', 'file_upload', or 'external'."),
|
|
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
38
|
}).describe("File object for icons and covers.");
|
|
39
39
|
const NotionFetchData_EmojiObjectSchema = zod.z.object({
|
|
40
|
-
type: zod.z.string().describe("Always 'emoji'."),
|
|
41
|
-
emoji: zod.z.string().describe("The emoji character.")
|
|
40
|
+
type: zod.z.string().describe("Always 'emoji'.").nullable(),
|
|
41
|
+
emoji: zod.z.string().describe("The emoji character.").nullable()
|
|
42
42
|
}).describe("Emoji icon object.");
|
|
43
43
|
const NotionFetchData_CustomEmojiDataSchema = zod.z.object({
|
|
44
|
-
id: zod.z.string().describe("Unique identifier for the custom emoji."),
|
|
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
47
|
}).describe("Custom emoji data containing id, name, and url.");
|
|
48
48
|
const NotionFetchData_CustomEmojiObjectSchema = zod.z.object({
|
|
49
|
-
type: zod.z.string().describe("Always 'custom_emoji'."),
|
|
49
|
+
type: zod.z.string().describe("Always 'custom_emoji'.").nullable(),
|
|
50
50
|
custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional()
|
|
51
51
|
}).describe("Custom emoji icon object.");
|
|
52
52
|
const NotionFetchData_ParentSchema = zod.z.object({
|
|
@@ -56,7 +56,7 @@ const NotionFetchData_ParentSchema = zod.z.object({
|
|
|
56
56
|
"block_id",
|
|
57
57
|
"database_id",
|
|
58
58
|
"data_source_id"
|
|
59
|
-
]).describe("Type of parent."),
|
|
59
|
+
]).describe("Type of parent.").nullable(),
|
|
60
60
|
page_id: zod.z.string().describe("UUID of the parent page when type is 'page_id'.").nullable().optional(),
|
|
61
61
|
block_id: zod.z.string().describe("UUID of the parent block when type is 'block_id'.").nullable().optional(),
|
|
62
62
|
workspace: zod.z.boolean().describe("Always true when type is 'workspace'.").nullable().optional(),
|
|
@@ -64,53 +64,53 @@ const NotionFetchData_ParentSchema = zod.z.object({
|
|
|
64
64
|
data_source_id: zod.z.string().describe("UUID of the parent data source when type is 'data_source_id'.").nullable().optional()
|
|
65
65
|
}).describe("Parent location of a page, database, or data source.");
|
|
66
66
|
const NotionFetchData_PartialUserSchema = zod.z.object({
|
|
67
|
-
id: zod.z.string().describe("Unique identifier (UUID) of the user."),
|
|
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
|
-
object: zod.z.string().describe("Always 'user'."),
|
|
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
72
|
}).describe("Partial user object returned by Notion API.");
|
|
73
73
|
const NotionFetchData_PageSchema = zod.z.object({
|
|
74
|
-
id: zod.z.string().describe("Unique identifier (UUID) of the page."),
|
|
75
|
-
url: zod.z.string().describe("URL of the page in Notion."),
|
|
74
|
+
id: zod.z.string().describe("Unique identifier (UUID) of the page.").nullable(),
|
|
75
|
+
url: zod.z.string().describe("URL of the page in Notion.").nullable(),
|
|
76
76
|
icon: zod.z.union([
|
|
77
77
|
NotionFetchData_FileObjectSchema,
|
|
78
78
|
NotionFetchData_EmojiObjectSchema,
|
|
79
79
|
NotionFetchData_CustomEmojiObjectSchema
|
|
80
80
|
]).nullable().optional(),
|
|
81
81
|
cover: NotionFetchData_FileObjectSchema.nullable().optional(),
|
|
82
|
-
object: zod.z.string().describe("Always 'page'."),
|
|
82
|
+
object: zod.z.string().describe("Always 'page'.").nullable(),
|
|
83
83
|
parent: NotionFetchData_ParentSchema.nullable(),
|
|
84
|
-
archived: zod.z.boolean().describe("Whether the page is archived."),
|
|
85
|
-
in_trash: zod.z.boolean().describe("Whether the page is in trash."),
|
|
84
|
+
archived: zod.z.boolean().describe("Whether the page is archived.").nullable(),
|
|
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
88
|
properties: zod.z.object({}).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
|
-
created_time: zod.z.string().describe("ISO 8601 timestamp when the page was created."),
|
|
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
|
-
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the page was last edited.")
|
|
92
|
+
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the page was last edited.").nullable()
|
|
93
93
|
}).describe("Notion Page object returned in search results.");
|
|
94
94
|
const NotionFetchData_RichTextTextSchema = zod.z.object({
|
|
95
95
|
link: zod.z.object({}).describe("Link object with 'url' field, or null.").nullable().optional(),
|
|
96
|
-
content: zod.z.string().describe("The actual text content.")
|
|
96
|
+
content: zod.z.string().describe("The actual text content.").nullable()
|
|
97
97
|
}).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
|
-
start: zod.z.string().describe("Start date in ISO 8601 format."),
|
|
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
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.") }).describe("Page reference in a 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.");
|
|
104
104
|
const NotionFetchData_UserReferenceSchema = zod.z.object({
|
|
105
|
-
id: zod.z.string().describe("UUID of the mentioned user."),
|
|
106
|
-
object: zod.z.string().describe("Always 'user'.")
|
|
105
|
+
id: zod.z.string().describe("UUID of the mentioned user.").nullable(),
|
|
106
|
+
object: zod.z.string().describe("Always 'user'.").nullable()
|
|
107
107
|
}).describe("User reference in a mention.");
|
|
108
|
-
const NotionFetchData_DatabaseReferenceSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.") }).describe("Database reference in a mention.");
|
|
109
|
-
const NotionFetchData_LinkPreviewMentionValueSchema = zod.z.object({ url: zod.z.string().describe("URL being previewed.") }).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'.") }).describe("Template mention date value.");
|
|
111
|
-
const NotionFetchData_TemplateMentionUserValueSchema = zod.z.object({ type: zod.z.string().describe("Always 'me'.") }).describe("Template mention user value.");
|
|
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.");
|
|
112
112
|
const NotionFetchData_TemplateMentionValueSchema = zod.z.object({
|
|
113
|
-
type: zod.z.enum(["template_mention_date", "template_mention_user"]).describe("Type of template mention."),
|
|
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
116
|
}).describe("Template mention value containing either date or user template.");
|
|
@@ -125,21 +125,21 @@ const NotionFetchData_MentionSchema = zod.z.object({
|
|
|
125
125
|
"link_preview",
|
|
126
126
|
"template_mention",
|
|
127
127
|
"custom_emoji"
|
|
128
|
-
]).describe("Type of mention."),
|
|
128
|
+
]).describe("Type of mention.").nullable(),
|
|
129
129
|
user: NotionFetchData_UserReferenceSchema.nullable().optional(),
|
|
130
130
|
database: NotionFetchData_DatabaseReferenceSchema.nullable().optional(),
|
|
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
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.") }).describe("Equation content for rich text.");
|
|
135
|
+
const NotionFetchData_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX equation expression.").nullable() }).describe("Equation content for rich text.");
|
|
136
136
|
const NotionFetchData_AnnotationsSchema = zod.z.object({
|
|
137
|
-
bold: zod.z.boolean().describe("Whether the text is bold."),
|
|
138
|
-
code: zod.z.boolean().describe("Whether the text is formatted as code."),
|
|
139
|
-
color: zod.z.string().describe("Color of the text."),
|
|
140
|
-
italic: zod.z.boolean().describe("Whether the text is italicized."),
|
|
141
|
-
underline: zod.z.boolean().describe("Whether the text is underlined."),
|
|
142
|
-
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.")
|
|
137
|
+
bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
|
|
138
|
+
code: zod.z.boolean().describe("Whether the text is formatted as code.").nullable(),
|
|
139
|
+
color: zod.z.string().describe("Color of the text.").nullable(),
|
|
140
|
+
italic: zod.z.boolean().describe("Whether the text is italicized.").nullable(),
|
|
141
|
+
underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
142
|
+
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
143
143
|
}).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(),
|
|
@@ -148,21 +148,21 @@ const NotionFetchData_RichTextSchema = zod.z.object({
|
|
|
148
148
|
"text",
|
|
149
149
|
"mention",
|
|
150
150
|
"equation"
|
|
151
|
-
]).describe("Type of rich text: 'text', 'mention', or 'equation'."),
|
|
151
|
+
]).describe("Type of rich text: 'text', 'mention', or 'equation'.").nullable(),
|
|
152
152
|
mention: NotionFetchData_MentionSchema.nullable().optional(),
|
|
153
153
|
equation: NotionFetchData_RichTextEquationSchema.nullable().optional(),
|
|
154
|
-
plain_text: zod.z.string().describe("Plain text representation without formatting."),
|
|
154
|
+
plain_text: zod.z.string().describe("Plain text representation without formatting.").nullable(),
|
|
155
155
|
annotations: NotionFetchData_AnnotationsSchema.nullable()
|
|
156
156
|
}).describe("Rich text object for titles and descriptions.");
|
|
157
157
|
const NotionFetchData_DataSourceSchema = zod.z.object({
|
|
158
|
-
id: zod.z.string().describe("Unique identifier (UUID) of the data source."),
|
|
158
|
+
id: zod.z.string().describe("Unique identifier (UUID) of the data source.").nullable(),
|
|
159
159
|
icon: zod.z.union([
|
|
160
160
|
NotionFetchData_FileObjectSchema,
|
|
161
161
|
NotionFetchData_EmojiObjectSchema,
|
|
162
162
|
NotionFetchData_CustomEmojiObjectSchema
|
|
163
163
|
]).nullable().optional(),
|
|
164
164
|
title: zod.z.array(NotionFetchData_RichTextSchema).describe("Title of the data source as rich text.").nullable().optional(),
|
|
165
|
-
object: zod.z.string().describe("Always 'data_source'."),
|
|
165
|
+
object: zod.z.string().describe("Always 'data_source'.").nullable(),
|
|
166
166
|
parent: NotionFetchData_ParentSchema.nullable().optional(),
|
|
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(),
|
|
@@ -175,8 +175,8 @@ const NotionFetchData_DataSourceSchema = zod.z.object({
|
|
|
175
175
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the data source was last edited.").nullable().optional()
|
|
176
176
|
}).describe("Notion Data Source object returned in search results.");
|
|
177
177
|
const NotionFetchData_DatabaseSchema = zod.z.object({
|
|
178
|
-
id: zod.z.string().describe("Unique identifier (UUID) of the database."),
|
|
179
|
-
url: zod.z.string().describe("URL of the database in Notion."),
|
|
178
|
+
id: zod.z.string().describe("Unique identifier (UUID) of the database.").nullable(),
|
|
179
|
+
url: zod.z.string().describe("URL of the database in Notion.").nullable(),
|
|
180
180
|
icon: zod.z.union([
|
|
181
181
|
NotionFetchData_FileObjectSchema,
|
|
182
182
|
NotionFetchData_EmojiObjectSchema,
|
|
@@ -184,24 +184,24 @@ const NotionFetchData_DatabaseSchema = zod.z.object({
|
|
|
184
184
|
]).nullable().optional(),
|
|
185
185
|
cover: NotionFetchData_FileObjectSchema.nullable().optional(),
|
|
186
186
|
title: zod.z.array(NotionFetchData_RichTextSchema).describe("Title of the database as rich text.").nullable().optional(),
|
|
187
|
-
object: zod.z.string().describe("Always 'database'."),
|
|
187
|
+
object: zod.z.string().describe("Always 'database'.").nullable(),
|
|
188
188
|
parent: NotionFetchData_ParentSchema.nullable(),
|
|
189
189
|
archived: zod.z.boolean().default(false).describe("Whether the database is archived.").nullable().optional(),
|
|
190
|
-
in_trash: zod.z.boolean().describe("Whether the database is in trash."),
|
|
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
193
|
properties: zod.z.object({}).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
|
-
created_time: zod.z.string().describe("ISO 8601 timestamp when the database was created."),
|
|
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
|
-
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the database was last edited.")
|
|
198
|
+
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the database was last edited.").nullable()
|
|
199
199
|
}).describe("Notion Database object returned in search results.");
|
|
200
200
|
const NotionFetchData_DataSourcePaginationInfoSchema = zod.z.object({}).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(),
|
|
204
|
-
object: zod.z.string().describe("Constant string 'list' indicating this is a paginated list response."),
|
|
204
|
+
object: zod.z.string().describe("Constant string 'list' indicating this is a paginated list response.").nullable(),
|
|
205
205
|
values: zod.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(),
|
|
206
206
|
results: zod.z.array(zod.z.union([
|
|
207
207
|
NotionFetchData_PageSchema,
|
|
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({}).describe(\"Type-specific pagination info for 'page' type responses. Typically an empty object.\");\nconst NotionFetchData_SimplifiedResourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the resource.\"),\n type: z.string().describe(\"Type of the resource: 'page', 'database', or 'data_source'.\"),\n title: z.string().describe(\"Title or name of the resource.\"),\n}).describe(\"Simplified representation of a Notion resource with id, title, and type.\");\nconst NotionFetchData_FileFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Signed URL of the Notion-hosted file.\"),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the signed URL expires.\"),\n}).describe(\"Notion-hosted file with expiring URL.\");\nconst NotionFetchData_ExternalFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"External URL of the file.\"),\n}).describe(\"External file reference.\");\nconst NotionFetchData_FileUploadSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"File upload identifier.\"),\n}).describe(\"File upload reference.\");\nconst NotionFetchData_FileObjectSchema: z.ZodTypeAny = 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'.\"),\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.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji'.\"),\n emoji: z.string().describe(\"The emoji character.\"),\n}).describe(\"Emoji icon object.\");\nconst NotionFetchData_CustomEmojiDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\"),\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.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\"),\n custom_emoji: NotionFetchData_CustomEmojiDataSchema.nullable().optional(),\n}).describe(\"Custom emoji icon object.\");\nconst NotionFetchData_ParentSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"page_id\", \"workspace\", \"block_id\", \"database_id\", \"data_source_id\"]).describe(\"Type of parent.\"),\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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the user.\"),\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'.\"),\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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the page.\"),\n url: z.string().describe(\"URL of the page in Notion.\"),\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'.\"),\n parent: NotionFetchData_ParentSchema.nullable(),\n archived: z.boolean().describe(\"Whether the page is archived.\"),\n in_trash: z.boolean().describe(\"Whether the page is in trash.\"),\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.\"),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the page was last edited.\"),\n}).describe(\"Notion Page object returned in search results.\");\nconst NotionFetchData_RichTextTextSchema: z.ZodTypeAny = 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.\"),\n}).describe(\"Text content for rich text.\");\nconst NotionFetchData_DateMentionValueSchema: z.ZodTypeAny = 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.\"),\n time_zone: z.string().describe(\"Time zone identifier.\").nullable().optional(),\n}).describe(\"Date value in a date mention.\");\nconst NotionFetchData_PageReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\"),\n}).describe(\"Page reference in a mention.\");\nconst NotionFetchData_UserReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned user.\"),\n object: z.string().describe(\"Always 'user'.\"),\n}).describe(\"User reference in a mention.\");\nconst NotionFetchData_DatabaseReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\"),\n}).describe(\"Database reference in a mention.\");\nconst NotionFetchData_LinkPreviewMentionValueSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL being previewed.\"),\n}).describe(\"Link preview value in a link preview mention.\");\nconst NotionFetchData_TemplateMentionDateValueSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"today\", \"now\"]).describe(\"Type of template date: 'today' or 'now'.\"),\n}).describe(\"Template mention date value.\");\nconst NotionFetchData_TemplateMentionUserValueSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'me'.\"),\n}).describe(\"Template mention user value.\");\nconst NotionFetchData_TemplateMentionValueSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"template_mention_date\", \"template_mention_user\"]).describe(\"Type of template mention.\"),\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.ZodTypeAny = 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.\"),\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.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX equation expression.\"),\n}).describe(\"Equation content for rich text.\");\nconst NotionFetchData_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\"),\n code: z.boolean().describe(\"Whether the text is formatted as code.\"),\n color: z.string().describe(\"Color of the text.\"),\n italic: z.boolean().describe(\"Whether the text is italicized.\"),\n underline: z.boolean().describe(\"Whether the text is underlined.\"),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\"),\n}).describe(\"Styling properties for rich text.\");\nconst NotionFetchData_RichTextSchema: z.ZodTypeAny = 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'.\"),\n mention: NotionFetchData_MentionSchema.nullable().optional(),\n equation: NotionFetchData_RichTextEquationSchema.nullable().optional(),\n plain_text: z.string().describe(\"Plain text representation without formatting.\"),\n annotations: NotionFetchData_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object for titles and descriptions.\");\nconst NotionFetchData_DataSourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the data source.\"),\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'.\"),\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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the database.\"),\n url: z.string().describe(\"URL of the database in Notion.\"),\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'.\"),\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.\"),\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.\"),\n last_edited_by: NotionFetchData_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the database was last edited.\"),\n}).describe(\"Notion Database object returned in search results.\");\nconst NotionFetchData_DataSourcePaginationInfoSchema: z.ZodTypeAny = z.object({}).describe(\"Type-specific pagination info for 'data_source' type responses. Typically an empty object.\");\nexport const NotionFetchDataOutput: z.ZodTypeAny = 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.\"),\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,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wNAAwN,CAAC,CAAC,SAAS;CAC9P,WAAWA,IAAA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AAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,aAAa,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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.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,GAAG,CAAC,CAAC,SAAS,mTAAmT,CAAC,CAAC,SAAS;CAChX,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAa;CAAK,CAAC,CAAC,CAAC,SAAS,gKAAgK;C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