@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
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/retrieve-page.ts
|
|
4
4
|
const NotionRetrievePageInput = z.object({ page_id: z.string().describe("The UUID of the Notion page to retrieve. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. IMPORTANT: Must be a PAGE ID, not a database ID. If you have a database ID, use NOTION_FETCH_DATABASE instead. This endpoint returns page properties and metadata, not page content (use block-children tools for content). For pages with properties containing more than 25 references, use NOTION_GET_PAGE_PROPERTY_ACTION to retrieve complete property values.") });
|
|
5
5
|
const NotionRetrievePage_EmojiObjectSchema = z.object({
|
|
6
|
-
type: z.string(),
|
|
7
|
-
emoji: z.string()
|
|
6
|
+
type: z.string().nullable(),
|
|
7
|
+
emoji: z.string().nullable()
|
|
8
8
|
});
|
|
9
9
|
const NotionRetrievePage_CustomEmojiDetailsSchema = z.object({
|
|
10
10
|
id: z.string().describe("ID of the custom emoji.").nullable().optional(),
|
|
@@ -12,57 +12,57 @@ const NotionRetrievePage_CustomEmojiDetailsSchema = z.object({
|
|
|
12
12
|
name: z.string().describe("Name of the custom emoji.").nullable().optional()
|
|
13
13
|
});
|
|
14
14
|
const NotionRetrievePage_CustomEmojiIconSchema = z.object({
|
|
15
|
-
type: z.string(),
|
|
15
|
+
type: z.string().nullable(),
|
|
16
16
|
custom_emoji: NotionRetrievePage_CustomEmojiDetailsSchema.nullable()
|
|
17
17
|
});
|
|
18
|
-
const NotionRetrievePage_ExternalFileDetailsSchema = z.object({ url: z.string().describe("URL to the externally hosted file.") });
|
|
18
|
+
const NotionRetrievePage_ExternalFileDetailsSchema = z.object({ url: z.string().describe("URL to the externally hosted file.").nullable() });
|
|
19
19
|
const NotionRetrievePage_FileObjectExternalSchema = z.object({
|
|
20
|
-
type: z.string(),
|
|
20
|
+
type: z.string().nullable(),
|
|
21
21
|
external: NotionRetrievePage_ExternalFileDetailsSchema.nullable()
|
|
22
22
|
});
|
|
23
|
-
const NotionRetrievePage_FileUploadDetailsSchema = z.object({ id: z.string().describe("ID of the uploaded file (UUID).") });
|
|
23
|
+
const NotionRetrievePage_FileUploadDetailsSchema = z.object({ id: z.string().describe("ID of the uploaded file (UUID).").nullable() });
|
|
24
24
|
const NotionRetrievePage_FileObjectFileUploadSchema = z.object({
|
|
25
|
-
type: z.string(),
|
|
25
|
+
type: z.string().nullable(),
|
|
26
26
|
file_upload: NotionRetrievePage_FileUploadDetailsSchema.nullable()
|
|
27
27
|
});
|
|
28
28
|
const NotionRetrievePage_NotionHostedFileDetailsSchema = z.object({
|
|
29
|
-
url: z.string().describe("Authenticated URL to the file, valid for one hour."),
|
|
30
|
-
expiry_time: z.string().describe("Expiration time of the temporary URL (ISO 8601 format).")
|
|
29
|
+
url: z.string().describe("Authenticated URL to the file, valid for one hour.").nullable(),
|
|
30
|
+
expiry_time: z.string().describe("Expiration time of the temporary URL (ISO 8601 format).").nullable()
|
|
31
31
|
});
|
|
32
32
|
const NotionRetrievePage_FileObjectFileSchema = z.object({
|
|
33
33
|
file: NotionRetrievePage_NotionHostedFileDetailsSchema.nullable(),
|
|
34
|
-
type: z.string()
|
|
34
|
+
type: z.string().nullable()
|
|
35
35
|
});
|
|
36
36
|
const NotionRetrievePage_ParentDataSourceSchema = z.object({
|
|
37
|
-
type: z.string(),
|
|
38
|
-
data_source_id: z.string().describe("Data source ID (UUID).")
|
|
37
|
+
type: z.string().nullable(),
|
|
38
|
+
data_source_id: z.string().describe("Data source ID (UUID).").nullable()
|
|
39
39
|
});
|
|
40
40
|
const NotionRetrievePage_ParentDatabaseSchema = z.object({
|
|
41
|
-
type: z.string(),
|
|
42
|
-
database_id: z.string().describe("Database ID (UUID).")
|
|
41
|
+
type: z.string().nullable(),
|
|
42
|
+
database_id: z.string().describe("Database ID (UUID).").nullable()
|
|
43
43
|
});
|
|
44
44
|
const NotionRetrievePage_ParentPageSchema = z.object({
|
|
45
|
-
type: z.string(),
|
|
46
|
-
page_id: z.string().describe("Page ID (UUID).")
|
|
45
|
+
type: z.string().nullable(),
|
|
46
|
+
page_id: z.string().describe("Page ID (UUID).").nullable()
|
|
47
47
|
});
|
|
48
48
|
const NotionRetrievePage_ParentWorkspaceSchema = z.object({
|
|
49
|
-
type: z.string(),
|
|
50
|
-
workspace: z.boolean()
|
|
49
|
+
type: z.string().nullable(),
|
|
50
|
+
workspace: z.boolean().nullable()
|
|
51
51
|
});
|
|
52
52
|
const NotionRetrievePage_ParentBlockSchema = z.object({
|
|
53
|
-
type: z.string(),
|
|
54
|
-
block_id: z.string().describe("Block ID (UUID).")
|
|
53
|
+
type: z.string().nullable(),
|
|
54
|
+
block_id: z.string().describe("Block ID (UUID).").nullable()
|
|
55
55
|
});
|
|
56
56
|
const NotionRetrievePage_BotOwnerWorkspaceSchema = z.object({
|
|
57
|
-
type: z.string(),
|
|
58
|
-
workspace: z.boolean()
|
|
57
|
+
type: z.string().nullable(),
|
|
58
|
+
workspace: z.boolean().nullable()
|
|
59
59
|
});
|
|
60
60
|
const NotionRetrievePage_BotOwnerUserRefSchema = z.object({
|
|
61
|
-
id: z.string().describe("User ID of the bot owner."),
|
|
62
|
-
object: z.string().describe("Always \"user\".")
|
|
61
|
+
id: z.string().describe("User ID of the bot owner.").nullable(),
|
|
62
|
+
object: z.string().describe("Always \"user\".").nullable()
|
|
63
63
|
});
|
|
64
64
|
const NotionRetrievePage_BotOwnerUserSchema = z.object({
|
|
65
|
-
type: z.string(),
|
|
65
|
+
type: z.string().nullable(),
|
|
66
66
|
user: NotionRetrievePage_BotOwnerUserRefSchema.nullable()
|
|
67
67
|
});
|
|
68
68
|
const NotionRetrievePage_WorkspaceLimitsSchema = z.object({ max_file_upload_size_in_bytes: z.number().int().describe("Maximum file upload size in bytes.").nullable().optional() });
|
|
@@ -74,11 +74,11 @@ const NotionRetrievePage_BotDetailsSchema = z.object({
|
|
|
74
74
|
});
|
|
75
75
|
const NotionRetrievePage_PersonDetailsSchema = z.object({ email: z.string().describe("Email address of the person.").nullable().optional() });
|
|
76
76
|
const NotionRetrievePage_PartialUserSchema = z.object({
|
|
77
|
-
id: z.string().describe("Unique identifier for the user (UUID)."),
|
|
77
|
+
id: z.string().describe("Unique identifier for the user (UUID).").nullable(),
|
|
78
78
|
bot: NotionRetrievePage_BotDetailsSchema.nullable().optional(),
|
|
79
79
|
name: z.string().describe("Display name of the user.").nullable().optional(),
|
|
80
80
|
type: z.enum(["person", "bot"]).describe("Type of user: 'person' or 'bot'.").nullable().optional(),
|
|
81
|
-
object: z.string().describe("Always \"user\"."),
|
|
81
|
+
object: z.string().describe("Always \"user\".").nullable(),
|
|
82
82
|
person: NotionRetrievePage_PersonDetailsSchema.nullable().optional(),
|
|
83
83
|
avatar_url: z.string().describe("URL to the user's avatar image, or null.").nullable().optional()
|
|
84
84
|
});
|
|
@@ -88,8 +88,8 @@ const notionRetrievePage = action("NOTION_RETRIEVE_PAGE", {
|
|
|
88
88
|
description: "Retrieve a Notion page's properties/metadata (not block content) by page_id. Use when you have a page URL/ID and need to access its properties; for page content use block-children tools.",
|
|
89
89
|
input: NotionRetrievePageInput,
|
|
90
90
|
output: z.object({
|
|
91
|
-
id: z.string().describe("Unique identifier of the page (UUIDv4 format)."),
|
|
92
|
-
url: z.string().describe("The URL of the Notion page."),
|
|
91
|
+
id: z.string().describe("Unique identifier of the page (UUIDv4 format).").nullable(),
|
|
92
|
+
url: z.string().describe("The URL of the Notion page.").nullable(),
|
|
93
93
|
icon: z.union([
|
|
94
94
|
NotionRetrievePage_EmojiObjectSchema,
|
|
95
95
|
NotionRetrievePage_CustomEmojiIconSchema,
|
|
@@ -102,7 +102,7 @@ const notionRetrievePage = action("NOTION_RETRIEVE_PAGE", {
|
|
|
102
102
|
NotionRetrievePage_FileObjectFileUploadSchema,
|
|
103
103
|
NotionRetrievePage_FileObjectFileSchema
|
|
104
104
|
]).nullable().optional(),
|
|
105
|
-
object: z.string().describe("Always \"page\"."),
|
|
105
|
+
object: z.string().describe("Always \"page\".").nullable(),
|
|
106
106
|
parent: z.union([
|
|
107
107
|
NotionRetrievePage_ParentDataSourceSchema,
|
|
108
108
|
NotionRetrievePage_ParentDatabaseSchema,
|
|
@@ -110,16 +110,16 @@ const notionRetrievePage = action("NOTION_RETRIEVE_PAGE", {
|
|
|
110
110
|
NotionRetrievePage_ParentWorkspaceSchema,
|
|
111
111
|
NotionRetrievePage_ParentBlockSchema
|
|
112
112
|
]),
|
|
113
|
-
archived: z.boolean().describe("Whether the page is archived."),
|
|
114
|
-
in_trash: z.boolean().describe("Whether the page is in the trash."),
|
|
113
|
+
archived: z.boolean().describe("Whether the page is archived.").nullable(),
|
|
114
|
+
in_trash: z.boolean().describe("Whether the page is in the trash.").nullable(),
|
|
115
115
|
is_locked: z.boolean().nullable().optional(),
|
|
116
116
|
created_by: NotionRetrievePage_PartialUserSchema.nullable(),
|
|
117
117
|
properties: z.object({}).describe("Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data."),
|
|
118
118
|
public_url: z.string().describe("The public page URL if the page has been published to the web, otherwise null.").nullable().optional(),
|
|
119
119
|
request_id: z.string().nullable().optional(),
|
|
120
|
-
created_time: z.string().describe("Date and time when this page was created (ISO 8601 format)."),
|
|
120
|
+
created_time: z.string().describe("Date and time when this page was created (ISO 8601 format).").nullable(),
|
|
121
121
|
last_edited_by: NotionRetrievePage_PartialUserSchema.nullable(),
|
|
122
|
-
last_edited_time: z.string().describe("Date and time when this page was last edited (ISO 8601 format).")
|
|
122
|
+
last_edited_time: z.string().describe("Date and time when this page was last edited (ISO 8601 format).").nullable()
|
|
123
123
|
}).describe("Response for retrieving a Notion page. Returns the complete Page object including\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\n\nNote: This endpoint returns page properties and metadata only, not page content.\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\nProperties with more than 25 references may not return complete values; use\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.")
|
|
124
124
|
});
|
|
125
125
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-page.mjs","names":[],"sources":["../../src/actions/retrieve-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrievePageInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. IMPORTANT: Must be a PAGE ID, not a database ID. If you have a database ID, use NOTION_FETCH_DATABASE instead. This endpoint returns page properties and metadata, not page content (use block-children tools for content). For pages with properties containing more than 25 references, use NOTION_GET_PAGE_PROPERTY_ACTION to retrieve complete property values.\"),\n});\nconst NotionRetrievePage_EmojiObjectSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n emoji: z.string(),\n});\nconst NotionRetrievePage_CustomEmojiDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the custom emoji.\").nullable().optional(),\n url: z.string().describe(\"URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n});\nconst NotionRetrievePage_CustomEmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n custom_emoji: NotionRetrievePage_CustomEmojiDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_ExternalFileDetailsSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\"),\n});\nconst NotionRetrievePage_FileObjectExternalSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n external: NotionRetrievePage_ExternalFileDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_FileUploadDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the uploaded file (UUID).\"),\n});\nconst NotionRetrievePage_FileObjectFileUploadSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n file_upload: NotionRetrievePage_FileUploadDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_NotionHostedFileDetailsSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\"),\n expiry_time: z.string().describe(\"Expiration time of the temporary URL (ISO 8601 format).\"),\n});\nconst NotionRetrievePage_FileObjectFileSchema: z.ZodTypeAny = z.object({\n file: NotionRetrievePage_NotionHostedFileDetailsSchema.nullable(),\n type: z.string(),\n});\nconst NotionRetrievePage_ParentDataSourceSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n data_source_id: z.string().describe(\"Data source ID (UUID).\"),\n});\nconst NotionRetrievePage_ParentDatabaseSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n database_id: z.string().describe(\"Database ID (UUID).\"),\n});\nconst NotionRetrievePage_ParentPageSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n page_id: z.string().describe(\"Page ID (UUID).\"),\n});\nconst NotionRetrievePage_ParentWorkspaceSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n workspace: z.boolean(),\n});\nconst NotionRetrievePage_ParentBlockSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n block_id: z.string().describe(\"Block ID (UUID).\"),\n});\nconst NotionRetrievePage_BotOwnerWorkspaceSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n workspace: z.boolean(),\n});\nconst NotionRetrievePage_BotOwnerUserRefSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID of the bot owner.\"),\n object: z.string().describe(\"Always \\\"user\\\".\"),\n});\nconst NotionRetrievePage_BotOwnerUserSchema: z.ZodTypeAny = z.object({\n type: z.string(),\n user: NotionRetrievePage_BotOwnerUserRefSchema.nullable(),\n});\nconst NotionRetrievePage_WorkspaceLimitsSchema: z.ZodTypeAny = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file upload size in bytes.\").nullable().optional(),\n});\nconst NotionRetrievePage_BotDetailsSchema: z.ZodTypeAny = z.object({\n owner: z.union([NotionRetrievePage_BotOwnerWorkspaceSchema, NotionRetrievePage_BotOwnerUserSchema]).nullable().optional(),\n workspace_id: z.string().describe(\"Bot's workspace ID.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace (null if owner is user).\").nullable().optional(),\n workspace_limits: NotionRetrievePage_WorkspaceLimitsSchema.nullable().optional(),\n});\nconst NotionRetrievePage_PersonDetailsSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the person.\").nullable().optional(),\n});\nconst NotionRetrievePage_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\"),\n bot: NotionRetrievePage_BotDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\"),\n person: NotionRetrievePage_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n});\nexport const NotionRetrievePageOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\"),\n url: z.string().describe(\"The URL of the Notion page.\"),\n icon: z.union([NotionRetrievePage_EmojiObjectSchema, NotionRetrievePage_CustomEmojiIconSchema, NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n cover: z.union([NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\".\"),\n parent: z.union([NotionRetrievePage_ParentDataSourceSchema, NotionRetrievePage_ParentDatabaseSchema, NotionRetrievePage_ParentPageSchema, NotionRetrievePage_ParentWorkspaceSchema, NotionRetrievePage_ParentBlockSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\"),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\"),\n is_locked: z.boolean().nullable().optional(),\n created_by: NotionRetrievePage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.\"),\n public_url: z.string().describe(\"The public page URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created (ISO 8601 format).\"),\n last_edited_by: NotionRetrievePage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when this page was last edited (ISO 8601 format).\"),\n}).describe(\"Response for retrieving a Notion page. Returns the complete Page object including\\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\\n\\nNote: This endpoint returns page properties and metadata only, not page content.\\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\\nProperties with more than 25 references may not return complete values; use\\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.\");\n\nexport const notionRetrievePage = action(\"NOTION_RETRIEVE_PAGE\", {\n slug: \"notion-retrieve-page\",\n name: \"Retrieve page\",\n description: \"Retrieve a Notion page's properties/metadata (not block content) by page_id. Use when you have a page URL/ID and need to access its properties; for page content use block-children tools.\",\n input: NotionRetrievePageInput,\n output: NotionRetrievePageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,keAAke,EACjgB,CAAC;AACD,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO;CACf,OAAO,EAAE,OAAO;AAClB,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO;CACf,cAAc,4CAA4C,SAAS;AACrE,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO,EAC1E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EAC/D,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO;CACf,UAAU,6CAA6C,SAAS;AAClE,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO,EACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC3D,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO;CACf,aAAa,2CAA2C,SAAS;AACnE,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,MAAM,iDAA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AuC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC9C,QAAQ,EAAE,MAAM;GAAC;GAA2C;GAAyC;GAAqC;GAA0C;EAAoC,CAAC;EACzN,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;EAC9D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;EAClE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,YAAY,qCAAqC,SAAS;EAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gIAAgI;EAClK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EAC/F,gBAAgB,qCAAqC,SAAS;EAC9D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzG,CAAC,CAAC,CAAC,SAAS,seAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"retrieve-page.mjs","names":[],"sources":["../../src/actions/retrieve-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionRetrievePageInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. IMPORTANT: Must be a PAGE ID, not a database ID. If you have a database ID, use NOTION_FETCH_DATABASE instead. This endpoint returns page properties and metadata, not page content (use block-children tools for content). For pages with properties containing more than 25 references, use NOTION_GET_PAGE_PROPERTY_ACTION to retrieve complete property values.\"),\n});\nconst NotionRetrievePage_EmojiObjectSchema = z.object({\n type: z.string().nullable(),\n emoji: z.string().nullable(),\n});\nconst NotionRetrievePage_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"ID of the custom emoji.\").nullable().optional(),\n url: z.string().describe(\"URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n});\nconst NotionRetrievePage_CustomEmojiIconSchema = z.object({\n type: z.string().nullable(),\n custom_emoji: NotionRetrievePage_CustomEmojiDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n});\nconst NotionRetrievePage_FileObjectExternalSchema = z.object({\n type: z.string().nullable(),\n external: NotionRetrievePage_ExternalFileDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_FileUploadDetailsSchema = z.object({\n id: z.string().describe(\"ID of the uploaded file (UUID).\").nullable(),\n});\nconst NotionRetrievePage_FileObjectFileUploadSchema = z.object({\n type: z.string().nullable(),\n file_upload: NotionRetrievePage_FileUploadDetailsSchema.nullable(),\n});\nconst NotionRetrievePage_NotionHostedFileDetailsSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the temporary URL (ISO 8601 format).\").nullable(),\n});\nconst NotionRetrievePage_FileObjectFileSchema = z.object({\n file: NotionRetrievePage_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().nullable(),\n});\nconst NotionRetrievePage_ParentDataSourceSchema = z.object({\n type: z.string().nullable(),\n data_source_id: z.string().describe(\"Data source ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_ParentDatabaseSchema = z.object({\n type: z.string().nullable(),\n database_id: z.string().describe(\"Database ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_ParentPageSchema = z.object({\n type: z.string().nullable(),\n page_id: z.string().describe(\"Page ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_ParentWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n});\nconst NotionRetrievePage_ParentBlockSchema = z.object({\n type: z.string().nullable(),\n block_id: z.string().describe(\"Block ID (UUID).\").nullable(),\n});\nconst NotionRetrievePage_BotOwnerWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n});\nconst NotionRetrievePage_BotOwnerUserRefSchema = z.object({\n id: z.string().describe(\"User ID of the bot owner.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n});\nconst NotionRetrievePage_BotOwnerUserSchema = z.object({\n type: z.string().nullable(),\n user: NotionRetrievePage_BotOwnerUserRefSchema.nullable(),\n});\nconst NotionRetrievePage_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file upload size in bytes.\").nullable().optional(),\n});\nconst NotionRetrievePage_BotDetailsSchema = z.object({\n owner: z.union([NotionRetrievePage_BotOwnerWorkspaceSchema, NotionRetrievePage_BotOwnerUserSchema]).nullable().optional(),\n workspace_id: z.string().describe(\"Bot's workspace ID.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace (null if owner is user).\").nullable().optional(),\n workspace_limits: NotionRetrievePage_WorkspaceLimitsSchema.nullable().optional(),\n});\nconst NotionRetrievePage_PersonDetailsSchema = z.object({\n email: z.string().describe(\"Email address of the person.\").nullable().optional(),\n});\nconst NotionRetrievePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionRetrievePage_BotDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionRetrievePage_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n});\nexport const NotionRetrievePageOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionRetrievePage_EmojiObjectSchema, NotionRetrievePage_CustomEmojiIconSchema, NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n cover: z.union([NotionRetrievePage_FileObjectExternalSchema, NotionRetrievePage_FileObjectFileUploadSchema, NotionRetrievePage_FileObjectFileSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\".\").nullable(),\n parent: z.union([NotionRetrievePage_ParentDataSourceSchema, NotionRetrievePage_ParentDatabaseSchema, NotionRetrievePage_ParentPageSchema, NotionRetrievePage_ParentWorkspaceSchema, NotionRetrievePage_ParentBlockSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable(),\n is_locked: z.boolean().nullable().optional(),\n created_by: NotionRetrievePage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.\"),\n public_url: z.string().describe(\"The public page URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created (ISO 8601 format).\").nullable(),\n last_edited_by: NotionRetrievePage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when this page was last edited (ISO 8601 format).\").nullable(),\n}).describe(\"Response for retrieving a Notion page. Returns the complete Page object including\\nproperties, parent, url, timestamps, archived/in_trash status, icon, and cover.\\n\\nNote: This endpoint returns page properties and metadata only, not page content.\\nTo retrieve page content blocks, use NOTION_FETCH_BLOCK_CONTENTS or similar tools.\\nProperties with more than 25 references may not return complete values; use\\nNOTION_GET_PAGE_PROPERTY_ACTION for complete property values in such cases.\");\n\nexport const notionRetrievePage = action(\"NOTION_RETRIEVE_PAGE\", {\n slug: \"notion-retrieve-page\",\n name: \"Retrieve page\",\n description: \"Retrieve a Notion page's properties/metadata (not block content) by page_id. Use when you have a page URL/ID and need to access its properties; for page content use block-children tools.\",\n input: NotionRetrievePageInput,\n output: NotionRetrievePageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,keAAke,EACjgB,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,cAAc,4CAA4C,SAAS;AACrE,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO,EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC1E,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,UAAU,6CAA6C,SAAS;AAClE,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,aAAa,2CAA2C,SAAS;AACnE,CAAC;AACD,MAAM,mDAAmD,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cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC1G,gBAAgB,qCAAqC,SAAS;EAC9D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,seAOF;AACV,CAAC"}
|
|
@@ -12,13 +12,13 @@ const NotionSearchNotionPageInput = zod.z.object({
|
|
|
12
12
|
filter_properties: zod.z.array(zod.z.string()).describe("List of property names to include in the response for page results. When specified, only these properties will be returned in each page's 'properties' object, reducing response size. Useful for database pages with many custom properties. If not specified, all properties are returned. Note: This filter is applied client-side after receiving the API response.").optional()
|
|
13
13
|
});
|
|
14
14
|
const NotionSearchNotionPage_FileFileSchema = zod.z.object({
|
|
15
|
-
url: zod.z.string(),
|
|
16
|
-
expiry_time: zod.z.string()
|
|
15
|
+
url: zod.z.string().nullable(),
|
|
16
|
+
expiry_time: zod.z.string().nullable()
|
|
17
17
|
});
|
|
18
|
-
const NotionSearchNotionPage_ExternalFileSchema = zod.z.object({ url: zod.z.string() });
|
|
19
|
-
const NotionSearchNotionPage_FileUploadSchema = zod.z.object({ id: zod.z.string() });
|
|
18
|
+
const NotionSearchNotionPage_ExternalFileSchema = zod.z.object({ url: zod.z.string().nullable() });
|
|
19
|
+
const NotionSearchNotionPage_FileUploadSchema = zod.z.object({ id: zod.z.string().nullable() });
|
|
20
20
|
const NotionSearchNotionPage_CustomEmojiInfoSchema = zod.z.object({
|
|
21
|
-
id: zod.z.string().describe("The ID of the custom emoji."),
|
|
21
|
+
id: zod.z.string().describe("The ID of the custom emoji.").nullable(),
|
|
22
22
|
url: zod.z.string().describe("The URL of the custom emoji image.").nullable().optional(),
|
|
23
23
|
name: zod.z.string().describe("The name of the custom emoji.").nullable().optional()
|
|
24
24
|
}).describe("Custom emoji details.");
|
|
@@ -30,17 +30,17 @@ const NotionSearchNotionPage_FileObjectSchema = zod.z.object({
|
|
|
30
30
|
"file_upload",
|
|
31
31
|
"external",
|
|
32
32
|
"custom_emoji"
|
|
33
|
-
]),
|
|
33
|
+
]).nullable(),
|
|
34
34
|
external: NotionSearchNotionPage_ExternalFileSchema.nullable().optional(),
|
|
35
35
|
file_upload: NotionSearchNotionPage_FileUploadSchema.nullable().optional(),
|
|
36
36
|
custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional()
|
|
37
37
|
});
|
|
38
38
|
const NotionSearchNotionPage_EmojiObjectSchema = zod.z.object({
|
|
39
|
-
type: zod.z.string().describe("Always 'emoji'."),
|
|
40
|
-
emoji: zod.z.string().describe("The emoji character.")
|
|
39
|
+
type: zod.z.string().describe("Always 'emoji'.").nullable(),
|
|
40
|
+
emoji: zod.z.string().describe("The emoji character.").nullable()
|
|
41
41
|
}).describe("Standard emoji icon object.");
|
|
42
42
|
const NotionSearchNotionPage_CustomEmojiObjectSchema = zod.z.object({
|
|
43
|
-
type: zod.z.string().describe("Always 'custom_emoji'."),
|
|
43
|
+
type: zod.z.string().describe("Always 'custom_emoji'.").nullable(),
|
|
44
44
|
custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional()
|
|
45
45
|
}).describe("Custom emoji icon object for workspace-uploaded emojis.");
|
|
46
46
|
const NotionSearchNotionPage_ParentSchema = zod.z.object({
|
|
@@ -50,7 +50,7 @@ const NotionSearchNotionPage_ParentSchema = zod.z.object({
|
|
|
50
50
|
"block_id",
|
|
51
51
|
"database_id",
|
|
52
52
|
"data_source_id"
|
|
53
|
-
]),
|
|
53
|
+
]).nullable(),
|
|
54
54
|
page_id: zod.z.string().nullable().optional(),
|
|
55
55
|
block_id: zod.z.string().nullable().optional(),
|
|
56
56
|
workspace: zod.z.boolean().nullable().optional(),
|
|
@@ -59,15 +59,15 @@ const NotionSearchNotionPage_ParentSchema = zod.z.object({
|
|
|
59
59
|
});
|
|
60
60
|
const NotionSearchNotionPage_PersonInfoSchema = zod.z.object({ email: zod.z.string().describe("The email address of the person. Only available if integration has user capability permissions.").nullable().optional() }).describe("Person-specific information for user objects.");
|
|
61
61
|
const NotionSearchNotionPage_BotOwnerUserSchema = zod.z.object({
|
|
62
|
-
id: zod.z.string().describe("UUID of the owner user."),
|
|
62
|
+
id: zod.z.string().describe("UUID of the owner user.").nullable(),
|
|
63
63
|
name: zod.z.string().describe("Display name of the owner.").nullable().optional(),
|
|
64
64
|
type: zod.z.string().describe("User type.").nullable().optional(),
|
|
65
|
-
object: zod.z.string().describe("Always 'user'."),
|
|
65
|
+
object: zod.z.string().describe("Always 'user'.").nullable(),
|
|
66
66
|
person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),
|
|
67
67
|
avatar_url: zod.z.string().describe("Avatar URL of the owner.").nullable().optional()
|
|
68
68
|
}).describe("User reference for bot owner when type is 'user'.");
|
|
69
69
|
const NotionSearchNotionPage_BotOwnerSchema = zod.z.object({
|
|
70
|
-
type: zod.z.enum(["workspace", "user"]).describe("The type of owner - either 'workspace' or 'user'."),
|
|
70
|
+
type: zod.z.enum(["workspace", "user"]).describe("The type of owner - either 'workspace' or 'user'.").nullable(),
|
|
71
71
|
user: NotionSearchNotionPage_BotOwnerUserSchema.nullable().optional(),
|
|
72
72
|
workspace: zod.z.boolean().describe("Boolean value when owner type is workspace.").nullable().optional()
|
|
73
73
|
}).describe("Owner information for bot users.");
|
|
@@ -79,62 +79,62 @@ const NotionSearchNotionPage_BotInfoSchema = zod.z.object({
|
|
|
79
79
|
workspace_limits: NotionSearchNotionPage_WorkspaceLimitsSchema.nullable().optional()
|
|
80
80
|
}).describe("Bot-specific information for user objects.");
|
|
81
81
|
const NotionSearchNotionPage_PartialUserSchema = zod.z.object({
|
|
82
|
-
id: zod.z.string().describe("UUID identifier for the user."),
|
|
82
|
+
id: zod.z.string().describe("UUID identifier for the user.").nullable(),
|
|
83
83
|
bot: NotionSearchNotionPage_BotInfoSchema.nullable().optional(),
|
|
84
84
|
name: zod.z.string().describe("Display name of the user.").nullable().optional(),
|
|
85
85
|
type: zod.z.enum(["person", "bot"]).describe("The type of user - 'person' or 'bot'.").nullable().optional(),
|
|
86
|
-
object: zod.z.string().describe("Always 'user'."),
|
|
86
|
+
object: zod.z.string().describe("Always 'user'.").nullable(),
|
|
87
87
|
person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),
|
|
88
88
|
avatar_url: zod.z.string().describe("URL of the user's avatar image.").nullable().optional()
|
|
89
89
|
}).describe("Represents a user in Notion (person or bot).");
|
|
90
90
|
const NotionSearchNotionPage_PageSchema = zod.z.object({
|
|
91
|
-
id: zod.z.string().describe("UUID of the page."),
|
|
92
|
-
url: zod.z.string().describe("URL of the page."),
|
|
91
|
+
id: zod.z.string().describe("UUID of the page.").nullable(),
|
|
92
|
+
url: zod.z.string().describe("URL of the page.").nullable(),
|
|
93
93
|
icon: zod.z.union([
|
|
94
94
|
NotionSearchNotionPage_FileObjectSchema,
|
|
95
95
|
NotionSearchNotionPage_EmojiObjectSchema,
|
|
96
96
|
NotionSearchNotionPage_CustomEmojiObjectSchema
|
|
97
97
|
]).nullable().optional(),
|
|
98
98
|
cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),
|
|
99
|
-
object: zod.z.string().describe("Always 'page'."),
|
|
99
|
+
object: zod.z.string().describe("Always 'page'.").nullable(),
|
|
100
100
|
parent: NotionSearchNotionPage_ParentSchema.nullable(),
|
|
101
|
-
archived: zod.z.boolean().describe("Whether the page is archived."),
|
|
102
|
-
in_trash: zod.z.boolean().describe("Whether the page is in trash."),
|
|
101
|
+
archived: zod.z.boolean().describe("Whether the page is archived.").nullable(),
|
|
102
|
+
in_trash: zod.z.boolean().describe("Whether the page is in trash.").nullable(),
|
|
103
103
|
is_locked: zod.z.boolean().describe("Whether the page is locked for editing.").nullable().optional(),
|
|
104
104
|
created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
105
105
|
properties: zod.z.object({}).describe("Map of property names to their values. Structure varies by property type."),
|
|
106
106
|
public_url: zod.z.string().describe("Public URL if page is published.").nullable().optional(),
|
|
107
|
-
created_time: zod.z.string().describe("ISO 8601 timestamp when page was created."),
|
|
107
|
+
created_time: zod.z.string().describe("ISO 8601 timestamp when page was created.").nullable(),
|
|
108
108
|
last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
109
|
-
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.")
|
|
109
|
+
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.").nullable()
|
|
110
110
|
}).describe("Represents a Notion page object.");
|
|
111
111
|
const NotionSearchNotionPage_LinkObjectSchema = zod.z.object({
|
|
112
|
-
url: zod.z.string().describe("The URL the text links to."),
|
|
112
|
+
url: zod.z.string().describe("The URL the text links to.").nullable(),
|
|
113
113
|
type: zod.z.string().describe("Optional link type (e.g., 'url').").nullable().optional()
|
|
114
114
|
}).describe("Link object for inline links in text.");
|
|
115
115
|
const NotionSearchNotionPage_RichTextTextSchema = zod.z.object({
|
|
116
116
|
link: NotionSearchNotionPage_LinkObjectSchema.nullable().optional(),
|
|
117
|
-
content: zod.z.string().describe("The text content.")
|
|
117
|
+
content: zod.z.string().describe("The text content.").nullable()
|
|
118
118
|
}).describe("Text content for rich text objects.");
|
|
119
119
|
const NotionSearchNotionPage_DateMentionValueSchema = zod.z.object({
|
|
120
120
|
end: zod.z.string().describe("End date in ISO 8601 format for ranges.").nullable().optional(),
|
|
121
|
-
start: zod.z.string().describe("Start date in ISO 8601 format."),
|
|
121
|
+
start: zod.z.string().describe("Start date in ISO 8601 format.").nullable(),
|
|
122
122
|
time_zone: zod.z.string().describe("Time zone for the date.").nullable().optional()
|
|
123
123
|
}).describe("Date value for date mentions.");
|
|
124
|
-
const NotionSearchNotionPage_PageMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned page.") }).describe("Page mention reference.");
|
|
124
|
+
const NotionSearchNotionPage_PageMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned page.").nullable() }).describe("Page mention reference.");
|
|
125
125
|
const NotionSearchNotionPage_UserMentionSchema = zod.z.object({
|
|
126
|
-
id: zod.z.string().describe("UUID of the mentioned user."),
|
|
127
|
-
object: zod.z.string().describe("Always 'user'.")
|
|
126
|
+
id: zod.z.string().describe("UUID of the mentioned user.").nullable(),
|
|
127
|
+
object: zod.z.string().describe("Always 'user'.").nullable()
|
|
128
128
|
}).describe("User mention reference.");
|
|
129
|
-
const NotionSearchNotionPage_DatabaseMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.") }).describe("Database mention reference.");
|
|
130
|
-
const NotionSearchNotionPage_LinkPreviewMentionSchema = zod.z.object({ url: zod.z.string().describe("The URL of the link preview.") }).describe("Link preview mention reference.");
|
|
129
|
+
const NotionSearchNotionPage_DatabaseMentionSchema = zod.z.object({ id: zod.z.string().describe("UUID of the mentioned database.").nullable() }).describe("Database mention reference.");
|
|
130
|
+
const NotionSearchNotionPage_LinkPreviewMentionSchema = zod.z.object({ url: zod.z.string().describe("The URL of the link preview.").nullable() }).describe("Link preview mention reference.");
|
|
131
131
|
const NotionSearchNotionPage_TemplateMentionDateSchema = zod.z.object({
|
|
132
|
-
type: zod.z.string().describe("Always 'template_mention_date'."),
|
|
133
|
-
template_mention_date: zod.z.enum(["today", "now"]).describe("The template date value - 'today' or 'now'.")
|
|
132
|
+
type: zod.z.string().describe("Always 'template_mention_date'.").nullable(),
|
|
133
|
+
template_mention_date: zod.z.enum(["today", "now"]).describe("The template date value - 'today' or 'now'.").nullable()
|
|
134
134
|
}).describe("Template mention for dates.");
|
|
135
135
|
const NotionSearchNotionPage_TemplateMentionUserSchema = zod.z.object({
|
|
136
|
-
type: zod.z.string().describe("Always 'template_mention_user'."),
|
|
137
|
-
template_mention_user: zod.z.string().describe("The template user value - always 'me'.")
|
|
136
|
+
type: zod.z.string().describe("Always 'template_mention_user'.").nullable(),
|
|
137
|
+
template_mention_user: zod.z.string().describe("The template user value - always 'me'.").nullable()
|
|
138
138
|
}).describe("Template mention for users.");
|
|
139
139
|
const NotionSearchNotionPage_MentionObjectSchema = zod.z.object({
|
|
140
140
|
date: NotionSearchNotionPage_DateMentionValueSchema.nullable().optional(),
|
|
@@ -146,20 +146,20 @@ const NotionSearchNotionPage_MentionObjectSchema = zod.z.object({
|
|
|
146
146
|
"date",
|
|
147
147
|
"link_preview",
|
|
148
148
|
"template_mention"
|
|
149
|
-
]).describe("The type of mention."),
|
|
149
|
+
]).describe("The type of mention.").nullable(),
|
|
150
150
|
user: NotionSearchNotionPage_UserMentionSchema.nullable().optional(),
|
|
151
151
|
database: NotionSearchNotionPage_DatabaseMentionSchema.nullable().optional(),
|
|
152
152
|
link_preview: NotionSearchNotionPage_LinkPreviewMentionSchema.nullable().optional(),
|
|
153
153
|
template_mention: zod.z.union([NotionSearchNotionPage_TemplateMentionDateSchema, NotionSearchNotionPage_TemplateMentionUserSchema]).nullable().optional()
|
|
154
154
|
}).describe("Mention object that can reference users, pages, databases, dates, or link previews.");
|
|
155
|
-
const NotionSearchNotionPage_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("The LaTeX equation expression.") }).describe("Equation content for rich text objects.");
|
|
155
|
+
const NotionSearchNotionPage_RichTextEquationSchema = zod.z.object({ expression: zod.z.string().describe("The LaTeX equation expression.").nullable() }).describe("Equation content for rich text objects.");
|
|
156
156
|
const NotionSearchNotionPage_AnnotationsSchema = zod.z.object({
|
|
157
|
-
bold: zod.z.boolean().describe("Whether the text is bold."),
|
|
158
|
-
code: zod.z.boolean().describe("Whether the text is code-formatted."),
|
|
159
|
-
color: zod.z.string().describe("Text color."),
|
|
160
|
-
italic: zod.z.boolean().describe("Whether the text is italic."),
|
|
161
|
-
underline: zod.z.boolean().describe("Whether the text is underlined."),
|
|
162
|
-
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.")
|
|
157
|
+
bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
|
|
158
|
+
code: zod.z.boolean().describe("Whether the text is code-formatted.").nullable(),
|
|
159
|
+
color: zod.z.string().describe("Text color.").nullable(),
|
|
160
|
+
italic: zod.z.boolean().describe("Whether the text is italic.").nullable(),
|
|
161
|
+
underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
162
|
+
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
163
163
|
}).describe("Text styling annotations.");
|
|
164
164
|
const NotionSearchNotionPage_RichTextSchema = zod.z.object({
|
|
165
165
|
href: zod.z.string().describe("The URL of any link in the text.").nullable().optional(),
|
|
@@ -168,21 +168,21 @@ const NotionSearchNotionPage_RichTextSchema = zod.z.object({
|
|
|
168
168
|
"text",
|
|
169
169
|
"mention",
|
|
170
170
|
"equation"
|
|
171
|
-
]).describe("The type of rich text - 'text', 'mention', or 'equation'."),
|
|
171
|
+
]).describe("The type of rich text - 'text', 'mention', or 'equation'.").nullable(),
|
|
172
172
|
mention: NotionSearchNotionPage_MentionObjectSchema.nullable().optional(),
|
|
173
173
|
equation: NotionSearchNotionPage_RichTextEquationSchema.nullable().optional(),
|
|
174
|
-
plain_text: zod.z.string().describe("The plain text representation."),
|
|
174
|
+
plain_text: zod.z.string().describe("The plain text representation.").nullable(),
|
|
175
175
|
annotations: NotionSearchNotionPage_AnnotationsSchema.nullable()
|
|
176
176
|
}).describe("Rich text object that can contain text, mentions, or equations.");
|
|
177
177
|
const NotionSearchNotionPage_DataSourceSchema = zod.z.object({
|
|
178
|
-
id: zod.z.string().describe("UUID of the data source."),
|
|
178
|
+
id: zod.z.string().describe("UUID of the data source.").nullable(),
|
|
179
179
|
icon: zod.z.union([
|
|
180
180
|
NotionSearchNotionPage_FileObjectSchema,
|
|
181
181
|
NotionSearchNotionPage_EmojiObjectSchema,
|
|
182
182
|
NotionSearchNotionPage_CustomEmojiObjectSchema
|
|
183
183
|
]).nullable().optional(),
|
|
184
184
|
title: zod.z.array(NotionSearchNotionPage_RichTextSchema).describe("Title as rich text array.").nullable().optional(),
|
|
185
|
-
object: zod.z.string().describe("Always 'data_source'."),
|
|
185
|
+
object: zod.z.string().describe("Always 'data_source'.").nullable(),
|
|
186
186
|
parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),
|
|
187
187
|
archived: zod.z.boolean().describe("Whether archived.").nullable().optional(),
|
|
188
188
|
in_trash: zod.z.boolean().describe("Whether in trash.").nullable().optional(),
|
|
@@ -195,8 +195,8 @@ const NotionSearchNotionPage_DataSourceSchema = zod.z.object({
|
|
|
195
195
|
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.").nullable().optional()
|
|
196
196
|
}).describe("Represents a Notion data source object.");
|
|
197
197
|
const NotionSearchNotionPage_DatabaseSchema = zod.z.object({
|
|
198
|
-
id: zod.z.string().describe("UUID of the database."),
|
|
199
|
-
url: zod.z.string().describe("URL of the database."),
|
|
198
|
+
id: zod.z.string().describe("UUID of the database.").nullable(),
|
|
199
|
+
url: zod.z.string().describe("URL of the database.").nullable(),
|
|
200
200
|
icon: zod.z.union([
|
|
201
201
|
NotionSearchNotionPage_FileObjectSchema,
|
|
202
202
|
NotionSearchNotionPage_EmojiObjectSchema,
|
|
@@ -204,29 +204,29 @@ const NotionSearchNotionPage_DatabaseSchema = zod.z.object({
|
|
|
204
204
|
]).nullable().optional(),
|
|
205
205
|
cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),
|
|
206
206
|
title: zod.z.array(NotionSearchNotionPage_RichTextSchema).describe("Database title as rich text array.").nullable().optional(),
|
|
207
|
-
object: zod.z.string().describe("Always 'database'."),
|
|
207
|
+
object: zod.z.string().describe("Always 'database'.").nullable(),
|
|
208
208
|
parent: NotionSearchNotionPage_ParentSchema.nullable(),
|
|
209
209
|
archived: zod.z.boolean().default(false).describe("Whether the database is archived.").nullable().optional(),
|
|
210
|
-
in_trash: zod.z.boolean().describe("Whether the database is in trash."),
|
|
210
|
+
in_trash: zod.z.boolean().describe("Whether the database is in trash.").nullable(),
|
|
211
211
|
is_inline: zod.z.boolean().describe("Whether the database is inline.").nullable().optional(),
|
|
212
212
|
created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
213
213
|
properties: zod.z.object({}).describe("Map of property names to property schema definitions."),
|
|
214
214
|
public_url: zod.z.string().describe("Public URL if database is published.").nullable().optional(),
|
|
215
215
|
description: zod.z.array(NotionSearchNotionPage_RichTextSchema).describe("Database description as rich text array.").nullable().optional(),
|
|
216
|
-
created_time: zod.z.string().describe("ISO 8601 timestamp when created."),
|
|
216
|
+
created_time: zod.z.string().describe("ISO 8601 timestamp when created.").nullable(),
|
|
217
217
|
last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),
|
|
218
|
-
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.")
|
|
218
|
+
last_edited_time: zod.z.string().describe("ISO 8601 timestamp of last edit.").nullable()
|
|
219
219
|
}).describe("Represents a Notion database object.");
|
|
220
220
|
const NotionSearchNotionPage_PageOrDatabaseMarkerSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty marker object for union discriminator in search responses.");
|
|
221
221
|
const NotionSearchNotionPageOutput = zod.z.object({
|
|
222
222
|
type: zod.z.string().describe("Union type discriminator.").nullable().optional(),
|
|
223
|
-
object: zod.z.string().describe("Indicates a paginated list response."),
|
|
223
|
+
object: zod.z.string().describe("Indicates a paginated list response.").nullable(),
|
|
224
224
|
results: zod.z.array(zod.z.union([
|
|
225
225
|
NotionSearchNotionPage_PageSchema,
|
|
226
226
|
NotionSearchNotionPage_DataSourceSchema,
|
|
227
227
|
NotionSearchNotionPage_DatabaseSchema
|
|
228
228
|
])).describe("Array of search results. Each item is either a Page, Data source, or Database object."),
|
|
229
|
-
has_more: zod.z.boolean().describe("True if there are more results after this page; otherwise false."),
|
|
229
|
+
has_more: zod.z.boolean().describe("True if there are more results after this page; otherwise false.").nullable(),
|
|
230
230
|
request_id: zod.z.string().describe("Request ID from the Notion API.").nullable().optional(),
|
|
231
231
|
next_cursor: zod.z.string().describe("A cursor to be used as start_cursor for the next page of results, or null if there are no more results.").nullable().optional(),
|
|
232
232
|
page_or_database: NotionSearchNotionPage_PageOrDatabaseMarkerSchema.nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-notion-page.cjs","names":["z","action"],"sources":["../../src/actions/search-notion-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionSearchNotionPageInput: z.ZodTypeAny = z.object({\n query: z.string().default(\"\").describe(\"Text to search for in page and database titles. Use specific search terms to find items by title (primary approach). Note: Notion's search has known limitations - indexing is not immediate and recently shared items may not appear. If a specific query returns empty results, try an empty query as a fallback to list all accessible items and filter client-side.\").optional(),\n direction: z.string().describe(\"Specifies the sort direction for the results. Required if `timestamp` is provided. Valid values are `ascending` or `descending`.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to include in the response. Must be an integer between 1 and 100, inclusive. Defaults to 25.\").optional(),\n timestamp: z.string().describe(\"The timestamp field to sort the results by. Currently, the only supported value is `last_edited_time`. If provided, `direction` must also be specified.\").optional(),\n filter_value: z.enum([\"page\", \"database\"]).default(\"page\").describe(\"Filters results by object type: 'page' or 'database'. Note: When searching databases, Notion's search may not find recently shared or newly created databases due to indexing delays. If specific database searches return empty results, try an empty query with filter_value='database' as a fallback to list all accessible databases.\").optional(),\n start_cursor: z.string().describe(\"An opaque cursor value from a previous response's `next_cursor` field. Must be exactly as returned by the API - do not pass page IDs, database IDs, or any other identifiers. If `None`, empty, or invalid, results start from the beginning.\").optional(),\n filter_property: z.string().default(\"object\").describe(\"The property to filter the search results by. Currently, the only supported value is `object`, which filters by the type specified in `filter_value`. Defaults to `object`.\").optional(),\n filter_properties: z.array(z.string()).describe(\"List of property names to include in the response for page results. When specified, only these properties will be returned in each page's 'properties' object, reducing response size. Useful for database pages with many custom properties. If not specified, all properties are returned. Note: This filter is applied client-side after receiving the API response.\").optional(),\n});\nconst NotionSearchNotionPage_FileFileSchema: z.ZodTypeAny = z.object({\n url: z.string(),\n expiry_time: z.string(),\n});\nconst NotionSearchNotionPage_ExternalFileSchema: z.ZodTypeAny = z.object({\n url: z.string(),\n});\nconst NotionSearchNotionPage_FileUploadSchema: z.ZodTypeAny = z.object({\n id: z.string(),\n});\nconst NotionSearchNotionPage_CustomEmojiInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the custom emoji.\"),\n url: z.string().describe(\"The URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji details.\");\nconst NotionSearchNotionPage_FileObjectSchema: z.ZodTypeAny = z.object({\n file: NotionSearchNotionPage_FileFileSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"file\", \"file_upload\", \"external\", \"custom_emoji\"]),\n external: NotionSearchNotionPage_ExternalFileSchema.nullable().optional(),\n file_upload: NotionSearchNotionPage_FileUploadSchema.nullable().optional(),\n custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional(),\n});\nconst NotionSearchNotionPage_EmojiObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji'.\"),\n emoji: z.string().describe(\"The emoji character.\"),\n}).describe(\"Standard emoji icon object.\");\nconst NotionSearchNotionPage_CustomEmojiObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\"),\n custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional(),\n}).describe(\"Custom emoji icon object for workspace-uploaded emojis.\");\nconst NotionSearchNotionPage_ParentSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"page_id\", \"workspace\", \"block_id\", \"database_id\", \"data_source_id\"]),\n page_id: z.string().nullable().optional(),\n block_id: z.string().nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n database_id: z.string().nullable().optional(),\n data_source_id: z.string().nullable().optional(),\n});\nconst NotionSearchNotionPage_PersonInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the person. Only available if integration has user capability permissions.\").nullable().optional(),\n}).describe(\"Person-specific information for user objects.\");\nconst NotionSearchNotionPage_BotOwnerUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the owner user.\"),\n name: z.string().describe(\"Display name of the owner.\").nullable().optional(),\n type: z.string().describe(\"User type.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"Avatar URL of the owner.\").nullable().optional(),\n}).describe(\"User reference for bot owner when type is 'user'.\");\nconst NotionSearchNotionPage_BotOwnerSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner - either 'workspace' or 'user'.\"),\n user: NotionSearchNotionPage_BotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Boolean value when owner type is workspace.\").nullable().optional(),\n}).describe(\"Owner information for bot users.\");\nconst NotionSearchNotionPage_WorkspaceLimitsSchema: z.ZodTypeAny = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file size allowed for uploads in bytes.\").nullable().optional(),\n}).describe(\"Workspace limit restrictions for bot users.\");\nconst NotionSearchNotionPage_BotInfoSchema: z.ZodTypeAny = z.object({\n owner: NotionSearchNotionPage_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"ID of the bot's workspace.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot. Null if owner type is 'user'.\").nullable().optional(),\n workspace_limits: NotionSearchNotionPage_WorkspaceLimitsSchema.nullable().optional(),\n}).describe(\"Bot-specific information for user objects.\");\nconst NotionSearchNotionPage_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID identifier for the user.\"),\n bot: NotionSearchNotionPage_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"The type of user - 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image.\").nullable().optional(),\n}).describe(\"Represents a user in Notion (person or bot).\");\nconst NotionSearchNotionPage_PageSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the page.\"),\n url: z.string().describe(\"URL of the page.\"),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),\n object: z.string().describe(\"Always 'page'.\"),\n parent: NotionSearchNotionPage_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 for editing.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Map of property names to their values. Structure varies by property type.\"),\n public_url: z.string().describe(\"Public URL if page is published.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when page was created.\"),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\"),\n}).describe(\"Represents a Notion page object.\");\nconst NotionSearchNotionPage_LinkObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n type: z.string().describe(\"Optional link type (e.g., 'url').\").nullable().optional(),\n}).describe(\"Link object for inline links in text.\");\nconst NotionSearchNotionPage_RichTextTextSchema: z.ZodTypeAny = z.object({\n link: NotionSearchNotionPage_LinkObjectSchema.nullable().optional(),\n content: z.string().describe(\"The text content.\"),\n}).describe(\"Text content for rich text objects.\");\nconst NotionSearchNotionPage_DateMentionValueSchema: z.ZodTypeAny = z.object({\n end: z.string().describe(\"End date in ISO 8601 format for ranges.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\"),\n time_zone: z.string().describe(\"Time zone for the date.\").nullable().optional(),\n}).describe(\"Date value for date mentions.\");\nconst NotionSearchNotionPage_PageMentionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\"),\n}).describe(\"Page mention reference.\");\nconst NotionSearchNotionPage_UserMentionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned user.\"),\n object: z.string().describe(\"Always 'user'.\"),\n}).describe(\"User mention reference.\");\nconst NotionSearchNotionPage_DatabaseMentionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\"),\n}).describe(\"Database mention reference.\");\nconst NotionSearchNotionPage_LinkPreviewMentionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL of the link preview.\"),\n}).describe(\"Link preview mention reference.\");\nconst NotionSearchNotionPage_TemplateMentionDateSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'template_mention_date'.\"),\n template_mention_date: z.enum([\"today\", \"now\"]).describe(\"The template date value - 'today' or 'now'.\"),\n}).describe(\"Template mention for dates.\");\nconst NotionSearchNotionPage_TemplateMentionUserSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'template_mention_user'.\"),\n template_mention_user: z.string().describe(\"The template user value - always 'me'.\"),\n}).describe(\"Template mention for users.\");\nconst NotionSearchNotionPage_MentionObjectSchema: z.ZodTypeAny = z.object({\n date: NotionSearchNotionPage_DateMentionValueSchema.nullable().optional(),\n page: NotionSearchNotionPage_PageMentionSchema.nullable().optional(),\n type: z.enum([\"user\", \"page\", \"database\", \"date\", \"link_preview\", \"template_mention\"]).describe(\"The type of mention.\"),\n user: NotionSearchNotionPage_UserMentionSchema.nullable().optional(),\n database: NotionSearchNotionPage_DatabaseMentionSchema.nullable().optional(),\n link_preview: NotionSearchNotionPage_LinkPreviewMentionSchema.nullable().optional(),\n template_mention: z.union([NotionSearchNotionPage_TemplateMentionDateSchema, NotionSearchNotionPage_TemplateMentionUserSchema]).nullable().optional(),\n}).describe(\"Mention object that can reference users, pages, databases, dates, or link previews.\");\nconst NotionSearchNotionPage_RichTextEquationSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"The LaTeX equation expression.\"),\n}).describe(\"Equation content for rich text objects.\");\nconst NotionSearchNotionPage_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\"),\n code: z.boolean().describe(\"Whether the text is code-formatted.\"),\n color: z.string().describe(\"Text color.\"),\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}).describe(\"Text styling annotations.\");\nconst NotionSearchNotionPage_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of any link in the text.\").nullable().optional(),\n text: NotionSearchNotionPage_RichTextTextSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"The type of rich text - 'text', 'mention', or 'equation'.\"),\n mention: NotionSearchNotionPage_MentionObjectSchema.nullable().optional(),\n equation: NotionSearchNotionPage_RichTextEquationSchema.nullable().optional(),\n plain_text: z.string().describe(\"The plain text representation.\"),\n annotations: NotionSearchNotionPage_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object that can contain text, mentions, or equations.\");\nconst NotionSearchNotionPage_DataSourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the data source.\"),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n title: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'data_source'.\"),\n parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether in trash.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Schema mapping property names to property definitions.\"),\n description: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when created.\").nullable().optional(),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),\n database_parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\").nullable().optional(),\n}).describe(\"Represents a Notion data source object.\");\nconst NotionSearchNotionPage_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the database.\"),\n url: z.string().describe(\"URL of the database.\"),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),\n title: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Database title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'database'.\"),\n parent: NotionSearchNotionPage_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 inline.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Map of property names to property schema definitions.\"),\n public_url: z.string().describe(\"Public URL if database is published.\").nullable().optional(),\n description: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Database description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when created.\"),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\"),\n}).describe(\"Represents a Notion database object.\");\nconst NotionSearchNotionPage_PageOrDatabaseMarkerSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Empty marker object for union discriminator in search responses.\");\nexport const NotionSearchNotionPageOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Union type discriminator.\").nullable().optional(),\n object: z.string().describe(\"Indicates a paginated list response.\"),\n results: z.array(z.union([NotionSearchNotionPage_PageSchema, NotionSearchNotionPage_DataSourceSchema, NotionSearchNotionPage_DatabaseSchema])).describe(\"Array of search results. Each item is either a Page, Data source, or Database object.\"),\n has_more: z.boolean().describe(\"True if there are more results after this page; otherwise false.\"),\n request_id: z.string().describe(\"Request ID from the Notion API.\").nullable().optional(),\n next_cursor: z.string().describe(\"A cursor to be used as start_cursor for the next page of results, or null if there are no more results.\").nullable().optional(),\n page_or_database: NotionSearchNotionPage_PageOrDatabaseMarkerSchema.nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the action execution indicating any modifications or warnings about the request parameters.\").nullable().optional(),\n}).describe(\"Paginated list of search results matching the query. Results are Page, Data source, or Database objects shared with the integration.\");\n\nexport const notionSearchNotionPage = action(\"NOTION_SEARCH_NOTION_PAGE\", {\n slug: \"notion-search-notion-page\",\n name: \"Search Notion pages and databases\",\n description: \"Searches Notion pages and databases by title. Use specific search terms to find items by title (primary approach). KNOWN LIMITATIONS: (1) Search indexing is not immediate - recently shared items may not appear. (2) Search is not exhaustive - results may be incomplete. (3) Database pages return all custom properties with full nested structures, which can create large responses for databases with many properties - use filter_properties to reduce response size. FALLBACK STRATEGY: If a specific title search returns empty results despite knowing items exist, try an empty query to list all accessible items and filter client-side.\",\n input: NotionSearchNotionPageInput,\n output: NotionSearchNotionPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yWAAyW,CAAC,CAAC,SAAS;CAC3Z,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,C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ElJ,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"search-notion-page.cjs","names":["z","action"],"sources":["../../src/actions/search-notion-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionSearchNotionPageInput = z.object({\n query: z.string().default(\"\").describe(\"Text to search for in page and database titles. Use specific search terms to find items by title (primary approach). Note: Notion's search has known limitations - indexing is not immediate and recently shared items may not appear. If a specific query returns empty results, try an empty query as a fallback to list all accessible items and filter client-side.\").optional(),\n direction: z.string().describe(\"Specifies the sort direction for the results. Required if `timestamp` is provided. Valid values are `ascending` or `descending`.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to include in the response. Must be an integer between 1 and 100, inclusive. Defaults to 25.\").optional(),\n timestamp: z.string().describe(\"The timestamp field to sort the results by. Currently, the only supported value is `last_edited_time`. If provided, `direction` must also be specified.\").optional(),\n filter_value: z.enum([\"page\", \"database\"]).default(\"page\").describe(\"Filters results by object type: 'page' or 'database'. Note: When searching databases, Notion's search may not find recently shared or newly created databases due to indexing delays. If specific database searches return empty results, try an empty query with filter_value='database' as a fallback to list all accessible databases.\").optional(),\n start_cursor: z.string().describe(\"An opaque cursor value from a previous response's `next_cursor` field. Must be exactly as returned by the API - do not pass page IDs, database IDs, or any other identifiers. If `None`, empty, or invalid, results start from the beginning.\").optional(),\n filter_property: z.string().default(\"object\").describe(\"The property to filter the search results by. Currently, the only supported value is `object`, which filters by the type specified in `filter_value`. Defaults to `object`.\").optional(),\n filter_properties: z.array(z.string()).describe(\"List of property names to include in the response for page results. When specified, only these properties will be returned in each page's 'properties' object, reducing response size. Useful for database pages with many custom properties. If not specified, all properties are returned. Note: This filter is applied client-side after receiving the API response.\").optional(),\n});\nconst NotionSearchNotionPage_FileFileSchema = z.object({\n url: z.string().nullable(),\n expiry_time: z.string().nullable(),\n});\nconst NotionSearchNotionPage_ExternalFileSchema = z.object({\n url: z.string().nullable(),\n});\nconst NotionSearchNotionPage_FileUploadSchema = z.object({\n id: z.string().nullable(),\n});\nconst NotionSearchNotionPage_CustomEmojiInfoSchema = z.object({\n id: z.string().describe(\"The ID of the custom emoji.\").nullable(),\n url: z.string().describe(\"The URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji details.\");\nconst NotionSearchNotionPage_FileObjectSchema = z.object({\n file: NotionSearchNotionPage_FileFileSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"file\", \"file_upload\", \"external\", \"custom_emoji\"]).nullable(),\n external: NotionSearchNotionPage_ExternalFileSchema.nullable().optional(),\n file_upload: NotionSearchNotionPage_FileUploadSchema.nullable().optional(),\n custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional(),\n});\nconst NotionSearchNotionPage_EmojiObjectSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n}).describe(\"Standard emoji icon object.\");\nconst NotionSearchNotionPage_CustomEmojiObjectSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional(),\n}).describe(\"Custom emoji icon object for workspace-uploaded emojis.\");\nconst NotionSearchNotionPage_ParentSchema = z.object({\n type: z.enum([\"page_id\", \"workspace\", \"block_id\", \"database_id\", \"data_source_id\"]).nullable(),\n page_id: z.string().nullable().optional(),\n block_id: z.string().nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n database_id: z.string().nullable().optional(),\n data_source_id: z.string().nullable().optional(),\n});\nconst NotionSearchNotionPage_PersonInfoSchema = z.object({\n email: z.string().describe(\"The email address of the person. Only available if integration has user capability permissions.\").nullable().optional(),\n}).describe(\"Person-specific information for user objects.\");\nconst NotionSearchNotionPage_BotOwnerUserSchema = z.object({\n id: z.string().describe(\"UUID of the owner user.\").nullable(),\n name: z.string().describe(\"Display name of the owner.\").nullable().optional(),\n type: z.string().describe(\"User type.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"Avatar URL of the owner.\").nullable().optional(),\n}).describe(\"User reference for bot owner when type is 'user'.\");\nconst NotionSearchNotionPage_BotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner - either 'workspace' or 'user'.\").nullable(),\n user: NotionSearchNotionPage_BotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Boolean value when owner type is workspace.\").nullable().optional(),\n}).describe(\"Owner information for bot users.\");\nconst NotionSearchNotionPage_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file size allowed for uploads in bytes.\").nullable().optional(),\n}).describe(\"Workspace limit restrictions for bot users.\");\nconst NotionSearchNotionPage_BotInfoSchema = z.object({\n owner: NotionSearchNotionPage_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"ID of the bot's workspace.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot. Null if owner type is 'user'.\").nullable().optional(),\n workspace_limits: NotionSearchNotionPage_WorkspaceLimitsSchema.nullable().optional(),\n}).describe(\"Bot-specific information for user objects.\");\nconst NotionSearchNotionPage_PartialUserSchema = z.object({\n id: z.string().describe(\"UUID identifier for the user.\").nullable(),\n bot: NotionSearchNotionPage_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"The type of user - 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image.\").nullable().optional(),\n}).describe(\"Represents a user in Notion (person or bot).\");\nconst NotionSearchNotionPage_PageSchema = z.object({\n id: z.string().describe(\"UUID of the page.\").nullable(),\n url: z.string().describe(\"URL of the page.\").nullable(),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),\n object: z.string().describe(\"Always 'page'.\").nullable(),\n parent: NotionSearchNotionPage_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 for editing.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Map of property names to their values. Structure varies by property type.\"),\n public_url: z.string().describe(\"Public URL if page is published.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when page was created.\").nullable(),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\").nullable(),\n}).describe(\"Represents a Notion page object.\");\nconst NotionSearchNotionPage_LinkObjectSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n type: z.string().describe(\"Optional link type (e.g., 'url').\").nullable().optional(),\n}).describe(\"Link object for inline links in text.\");\nconst NotionSearchNotionPage_RichTextTextSchema = z.object({\n link: NotionSearchNotionPage_LinkObjectSchema.nullable().optional(),\n content: z.string().describe(\"The text content.\").nullable(),\n}).describe(\"Text content for rich text objects.\");\nconst NotionSearchNotionPage_DateMentionValueSchema = z.object({\n end: z.string().describe(\"End date in ISO 8601 format for ranges.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\").nullable(),\n time_zone: z.string().describe(\"Time zone for the date.\").nullable().optional(),\n}).describe(\"Date value for date mentions.\");\nconst NotionSearchNotionPage_PageMentionSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\").nullable(),\n}).describe(\"Page mention reference.\");\nconst NotionSearchNotionPage_UserMentionSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).describe(\"User mention reference.\");\nconst NotionSearchNotionPage_DatabaseMentionSchema = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\").nullable(),\n}).describe(\"Database mention reference.\");\nconst NotionSearchNotionPage_LinkPreviewMentionSchema = z.object({\n url: z.string().describe(\"The URL of the link preview.\").nullable(),\n}).describe(\"Link preview mention reference.\");\nconst NotionSearchNotionPage_TemplateMentionDateSchema = z.object({\n type: z.string().describe(\"Always 'template_mention_date'.\").nullable(),\n template_mention_date: z.enum([\"today\", \"now\"]).describe(\"The template date value - 'today' or 'now'.\").nullable(),\n}).describe(\"Template mention for dates.\");\nconst NotionSearchNotionPage_TemplateMentionUserSchema = z.object({\n type: z.string().describe(\"Always 'template_mention_user'.\").nullable(),\n template_mention_user: z.string().describe(\"The template user value - always 'me'.\").nullable(),\n}).describe(\"Template mention for users.\");\nconst NotionSearchNotionPage_MentionObjectSchema = z.object({\n date: NotionSearchNotionPage_DateMentionValueSchema.nullable().optional(),\n page: NotionSearchNotionPage_PageMentionSchema.nullable().optional(),\n type: z.enum([\"user\", \"page\", \"database\", \"date\", \"link_preview\", \"template_mention\"]).describe(\"The type of mention.\").nullable(),\n user: NotionSearchNotionPage_UserMentionSchema.nullable().optional(),\n database: NotionSearchNotionPage_DatabaseMentionSchema.nullable().optional(),\n link_preview: NotionSearchNotionPage_LinkPreviewMentionSchema.nullable().optional(),\n template_mention: z.union([NotionSearchNotionPage_TemplateMentionDateSchema, NotionSearchNotionPage_TemplateMentionUserSchema]).nullable().optional(),\n}).describe(\"Mention object that can reference users, pages, databases, dates, or link previews.\");\nconst NotionSearchNotionPage_RichTextEquationSchema = z.object({\n expression: z.string().describe(\"The LaTeX equation expression.\").nullable(),\n}).describe(\"Equation content for rich text objects.\");\nconst NotionSearchNotionPage_AnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether the text is code-formatted.\").nullable(),\n color: z.string().describe(\"Text color.\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether the text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\").nullable(),\n}).describe(\"Text styling annotations.\");\nconst NotionSearchNotionPage_RichTextSchema = z.object({\n href: z.string().describe(\"The URL of any link in the text.\").nullable().optional(),\n text: NotionSearchNotionPage_RichTextTextSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"The type of rich text - 'text', 'mention', or 'equation'.\").nullable(),\n mention: NotionSearchNotionPage_MentionObjectSchema.nullable().optional(),\n equation: NotionSearchNotionPage_RichTextEquationSchema.nullable().optional(),\n plain_text: z.string().describe(\"The plain text representation.\").nullable(),\n annotations: NotionSearchNotionPage_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object that can contain text, mentions, or equations.\");\nconst NotionSearchNotionPage_DataSourceSchema = z.object({\n id: z.string().describe(\"UUID of the data source.\").nullable(),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n title: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'data_source'.\").nullable(),\n parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether in trash.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Schema mapping property names to property definitions.\"),\n description: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when created.\").nullable().optional(),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),\n database_parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\").nullable().optional(),\n}).describe(\"Represents a Notion data source object.\");\nconst NotionSearchNotionPage_DatabaseSchema = z.object({\n id: z.string().describe(\"UUID of the database.\").nullable(),\n url: z.string().describe(\"URL of the database.\").nullable(),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),\n title: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Database title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'database'.\").nullable(),\n parent: NotionSearchNotionPage_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 inline.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Map of property names to property schema definitions.\"),\n public_url: z.string().describe(\"Public URL if database is published.\").nullable().optional(),\n description: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Database description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when created.\").nullable(),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\").nullable(),\n}).describe(\"Represents a Notion database object.\");\nconst NotionSearchNotionPage_PageOrDatabaseMarkerSchema = z.record(z.string(), z.unknown()).describe(\"Empty marker object for union discriminator in search responses.\");\nexport const NotionSearchNotionPageOutput = z.object({\n type: z.string().describe(\"Union type discriminator.\").nullable().optional(),\n object: z.string().describe(\"Indicates a paginated list response.\").nullable(),\n results: z.array(z.union([NotionSearchNotionPage_PageSchema, NotionSearchNotionPage_DataSourceSchema, NotionSearchNotionPage_DatabaseSchema])).describe(\"Array of search results. Each item is either a Page, Data source, or Database object.\"),\n has_more: z.boolean().describe(\"True if there are more results after this page; otherwise false.\").nullable(),\n request_id: z.string().describe(\"Request ID from the Notion API.\").nullable().optional(),\n next_cursor: z.string().describe(\"A cursor to be used as start_cursor for the next page of results, or null if there are no more results.\").nullable().optional(),\n page_or_database: NotionSearchNotionPage_PageOrDatabaseMarkerSchema.nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the action execution indicating any modifications or warnings about the request parameters.\").nullable().optional(),\n}).describe(\"Paginated list of search results matching the query. Results are Page, Data source, or Database objects shared with the integration.\");\n\nexport const notionSearchNotionPage = action(\"NOTION_SEARCH_NOTION_PAGE\", {\n slug: \"notion-search-notion-page\",\n name: \"Search Notion pages and databases\",\n description: \"Searches Notion pages and databases by title. Use specific search terms to find items by title (primary approach). KNOWN LIMITATIONS: (1) Search indexing is not immediate - recently shared items may not appear. (2) Search is not exhaustive - results may be incomplete. (3) Database pages return all custom properties with full nested structures, which can create large responses for databases with many properties - use filter_properties to reduce response size. FALLBACK STRATEGY: If a specific title search returns empty results despite knowing items exist, try an empty query to list all accessible items and filter client-side.\",\n input: NotionSearchNotionPageInput,\n output: NotionSearchNotionPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yWAAyW,CAAC,CAAC,SAAS;CAC3Z,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC5K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CA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