@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
|
@@ -47,61 +47,61 @@ const NotionAppendTableBlocksInput = z.object({
|
|
|
47
47
|
}).describe("Request model for appending table blocks to a Notion page.");
|
|
48
48
|
const NotionAppendTableBlocks_EmptyBlockObjectSchema = z.object({}).describe("Empty object for the 'block' field in list responses.\n\nThe Notion API returns an empty object {} for this field.");
|
|
49
49
|
const NotionAppendTableBlocks_NotionHostedFileResponseSchema = z.object({
|
|
50
|
-
url: z.string().describe("Temporary URL for the file."),
|
|
51
|
-
expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.")
|
|
50
|
+
url: z.string().describe("Temporary URL for the file.").nullable(),
|
|
51
|
+
expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
|
|
52
52
|
}).describe("Notion-hosted file in API responses.");
|
|
53
|
-
const NotionAppendTableBlocks_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.");
|
|
53
|
+
const NotionAppendTableBlocks_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.").nullable() }).describe("Link object for hyperlinked text.");
|
|
54
54
|
const NotionAppendTableBlocks_RichTextTextContentSchema = z.object({
|
|
55
55
|
link: NotionAppendTableBlocks_TextLinkSchema.nullable().optional(),
|
|
56
|
-
content: z.string().describe("The actual text content.")
|
|
56
|
+
content: z.string().describe("The actual text content.").nullable()
|
|
57
57
|
}).describe("Text content object in rich text responses.");
|
|
58
58
|
const NotionAppendTableBlocks_RichTextAnnotationsResponseSchema = z.object({
|
|
59
|
-
bold: z.boolean().describe("Whether the text is bold."),
|
|
60
|
-
code: z.boolean().describe("Whether the text is inline code."),
|
|
61
|
-
color: z.string().describe("Color of the text or background."),
|
|
62
|
-
italic: z.boolean().describe("Whether the text is italic."),
|
|
63
|
-
underline: z.boolean().describe("Whether the text is underlined."),
|
|
64
|
-
strikethrough: z.boolean().describe("Whether the text has strikethrough.")
|
|
59
|
+
bold: z.boolean().describe("Whether the text is bold.").nullable(),
|
|
60
|
+
code: z.boolean().describe("Whether the text is inline code.").nullable(),
|
|
61
|
+
color: z.string().describe("Color of the text or background.").nullable(),
|
|
62
|
+
italic: z.boolean().describe("Whether the text is italic.").nullable(),
|
|
63
|
+
underline: z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
64
|
+
strikethrough: z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
65
65
|
}).describe("Text styling annotations returned in API responses.");
|
|
66
66
|
const NotionAppendTableBlocks_RichTextResponseSchema = z.object({
|
|
67
67
|
href: z.string().describe("URL if the text is a link.").nullable().optional(),
|
|
68
68
|
text: NotionAppendTableBlocks_RichTextTextContentSchema.nullable().optional(),
|
|
69
|
-
type: z.string().describe("Type of rich text (text, mention, equation)."),
|
|
70
|
-
plain_text: z.string().describe("Plain text without formatting."),
|
|
69
|
+
type: z.string().describe("Type of rich text (text, mention, equation).").nullable(),
|
|
70
|
+
plain_text: z.string().describe("Plain text without formatting.").nullable(),
|
|
71
71
|
annotations: NotionAppendTableBlocks_RichTextAnnotationsResponseSchema.nullable()
|
|
72
72
|
}).describe("Rich text object returned in API responses.");
|
|
73
|
-
const NotionAppendTableBlocks_ExternalFileResponseSchema = z.object({ url: z.string().describe("URL of the external file.") }).describe("External file URL in API responses.");
|
|
73
|
+
const NotionAppendTableBlocks_ExternalFileResponseSchema = z.object({ url: z.string().describe("URL of the external file.").nullable() }).describe("External file URL in API responses.");
|
|
74
74
|
const NotionAppendTableBlocks_PdfBlockContentSchema = z.object({
|
|
75
75
|
file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
76
|
-
type: z.string().describe("PDF source type (external, file)."),
|
|
76
|
+
type: z.string().describe("PDF source type (external, file).").nullable(),
|
|
77
77
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("PDF caption as rich text.").nullable().optional(),
|
|
78
78
|
external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
79
79
|
}).describe("Content of a PDF block in API responses.");
|
|
80
80
|
const NotionAppendTableBlocks_CodeBlockContentSchema = z.object({
|
|
81
81
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Code block caption.").nullable().optional(),
|
|
82
|
-
language: z.string().describe("Programming language of the code."),
|
|
82
|
+
language: z.string().describe("Programming language of the code.").nullable(),
|
|
83
83
|
rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Rich text content of the code.")
|
|
84
84
|
}).describe("Content of a code block in API responses.");
|
|
85
85
|
const NotionAppendTableBlocks_FileBlockContentSchema = z.object({
|
|
86
86
|
file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
87
87
|
name: z.string().describe("Name of the file.").nullable().optional(),
|
|
88
|
-
type: z.string().describe("File source type (external, file)."),
|
|
88
|
+
type: z.string().describe("File source type (external, file).").nullable(),
|
|
89
89
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("File caption as rich text.").nullable().optional(),
|
|
90
90
|
external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
91
91
|
}).describe("Content of a file block in API responses.");
|
|
92
92
|
const NotionAppendTableBlocks_AudioBlockContentSchema = z.object({
|
|
93
93
|
file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
94
|
-
type: z.string().describe("Audio source type (external, file)."),
|
|
94
|
+
type: z.string().describe("Audio source type (external, file).").nullable(),
|
|
95
95
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Audio caption as rich text.").nullable().optional(),
|
|
96
96
|
external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
97
97
|
}).describe("Content of an audio block in API responses.");
|
|
98
98
|
const NotionAppendTableBlocks_EmbedBlockContentSchema = z.object({
|
|
99
|
-
url: z.string().describe("URL of the embedded content."),
|
|
99
|
+
url: z.string().describe("URL of the embedded content.").nullable(),
|
|
100
100
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Embed caption as rich text.").nullable().optional()
|
|
101
101
|
}).describe("Content of an embed block in API responses.");
|
|
102
102
|
const NotionAppendTableBlocks_ImageBlockContentSchema = z.object({
|
|
103
103
|
file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
104
|
-
type: z.string().describe("Image source type (external, file)."),
|
|
104
|
+
type: z.string().describe("Image source type (external, file).").nullable(),
|
|
105
105
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Image caption as rich text.").nullable().optional(),
|
|
106
106
|
external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
107
107
|
}).describe("Content of an image block in API responses.");
|
|
@@ -110,9 +110,9 @@ const NotionAppendTableBlocks_QuoteBlockContentSchema = z.object({
|
|
|
110
110
|
rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Rich text content of the quote.")
|
|
111
111
|
}).describe("Content of a quote block in API responses.");
|
|
112
112
|
const NotionAppendTableBlocks_TableBlockContentSchema = z.object({
|
|
113
|
-
table_width: z.number().int().describe("Number of columns in the table."),
|
|
114
|
-
has_row_header: z.boolean().describe("Whether the first column is a header."),
|
|
115
|
-
has_column_header: z.boolean().describe("Whether the first row is a header.")
|
|
113
|
+
table_width: z.number().int().describe("Number of columns in the table.").nullable(),
|
|
114
|
+
has_row_header: z.boolean().describe("Whether the first column is a header.").nullable(),
|
|
115
|
+
has_column_header: z.boolean().describe("Whether the first row is a header.").nullable()
|
|
116
116
|
}).describe("Content of a table block in API responses.");
|
|
117
117
|
const NotionAppendTableBlocks_ToDoBlockContentSchema = z.object({
|
|
118
118
|
color: z.string().default("default").describe("Color of the to-do item.").nullable().optional(),
|
|
@@ -121,7 +121,7 @@ const NotionAppendTableBlocks_ToDoBlockContentSchema = z.object({
|
|
|
121
121
|
}).describe("Content of a to-do block in API responses.");
|
|
122
122
|
const NotionAppendTableBlocks_VideoBlockContentSchema = z.object({
|
|
123
123
|
file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
124
|
-
type: z.string().describe("Video source type (external, file)."),
|
|
124
|
+
type: z.string().describe("Video source type (external, file).").nullable(),
|
|
125
125
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Video caption as rich text.").nullable().optional(),
|
|
126
126
|
external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
127
127
|
}).describe("Content of a video block in API responses.");
|
|
@@ -131,7 +131,7 @@ const NotionAppendTableBlocks_BlockParentSchema = z.object({
|
|
|
131
131
|
"page_id",
|
|
132
132
|
"block_id",
|
|
133
133
|
"data_source_id"
|
|
134
|
-
]).describe("Type of parent: 'page_id', 'block_id', or 'data_source_id'."),
|
|
134
|
+
]).describe("Type of parent: 'page_id', 'block_id', or 'data_source_id'.").nullable(),
|
|
135
135
|
page_id: z.string().describe("UUID of the parent page (when type is 'page_id').").nullable().optional(),
|
|
136
136
|
block_id: z.string().describe("UUID of the parent block (when type is 'block_id').").nullable().optional(),
|
|
137
137
|
data_source_id: z.string().describe("UUID of the parent data source (when type is 'data_source_id').").nullable().optional()
|
|
@@ -141,30 +141,30 @@ const NotionAppendTableBlocks_ToggleBlockContentSchema = z.object({
|
|
|
141
141
|
rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Rich text content of the toggle.")
|
|
142
142
|
}).describe("Content of a toggle block in API responses.");
|
|
143
143
|
const NotionAppendTableBlocks_IconEmojiResponseSchema = z.object({
|
|
144
|
-
type: z.string().describe("Icon type, always 'emoji'."),
|
|
145
|
-
emoji: z.string().describe("Emoji character for the icon.")
|
|
144
|
+
type: z.string().describe("Icon type, always 'emoji'.").nullable(),
|
|
145
|
+
emoji: z.string().describe("Emoji character for the icon.").nullable()
|
|
146
146
|
}).describe("Emoji icon in API response.");
|
|
147
147
|
const NotionAppendTableBlocks_CustomEmojiObjectSchema = z.object({
|
|
148
|
-
id: z.string().describe("Unique identifier for the custom emoji."),
|
|
149
|
-
url: z.string().describe("HTTPS URL pointing to the custom emoji image."),
|
|
150
|
-
name: z.string().describe("Display name of the custom emoji.")
|
|
148
|
+
id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
|
|
149
|
+
url: z.string().describe("HTTPS URL pointing to the custom emoji image.").nullable(),
|
|
150
|
+
name: z.string().describe("Display name of the custom emoji.").nullable()
|
|
151
151
|
}).describe("Custom emoji object in API response.");
|
|
152
152
|
const NotionAppendTableBlocks_IconCustomEmojiResponseSchema = z.object({
|
|
153
|
-
type: z.string().describe("Icon type, always 'custom_emoji'."),
|
|
153
|
+
type: z.string().describe("Icon type, always 'custom_emoji'.").nullable(),
|
|
154
154
|
custom_emoji: NotionAppendTableBlocks_CustomEmojiObjectSchema.nullable()
|
|
155
155
|
}).describe("Custom emoji icon in API response.");
|
|
156
|
-
const NotionAppendTableBlocks_ExternalFileObjectSchema = z.object({ url: z.string().describe("URL of the external file.") }).describe("External file URL object in API response.");
|
|
156
|
+
const NotionAppendTableBlocks_ExternalFileObjectSchema = z.object({ url: z.string().describe("URL of the external file.").nullable() }).describe("External file URL object in API response.");
|
|
157
157
|
const NotionAppendTableBlocks_IconExternalResponseSchema = z.object({
|
|
158
|
-
type: z.string().describe("Icon type, always 'external'."),
|
|
158
|
+
type: z.string().describe("Icon type, always 'external'.").nullable(),
|
|
159
159
|
external: NotionAppendTableBlocks_ExternalFileObjectSchema.nullable()
|
|
160
160
|
}).describe("External file icon in API response.");
|
|
161
161
|
const NotionAppendTableBlocks_NotionFileObjectSchema = z.object({
|
|
162
|
-
url: z.string().describe("Authenticated S3 URL to the file."),
|
|
162
|
+
url: z.string().describe("Authenticated S3 URL to the file.").nullable(),
|
|
163
163
|
expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable().optional()
|
|
164
164
|
}).describe("Notion-hosted file object in API response.");
|
|
165
165
|
const NotionAppendTableBlocks_IconFileResponseSchema = z.object({
|
|
166
166
|
file: NotionAppendTableBlocks_NotionFileObjectSchema.nullable(),
|
|
167
|
-
type: z.string().describe("Icon type, always 'file'.")
|
|
167
|
+
type: z.string().describe("Icon type, always 'file'.").nullable()
|
|
168
168
|
}).describe("Notion-hosted file icon in API response.");
|
|
169
169
|
const NotionAppendTableBlocks_CalloutBlockContentSchema = z.object({
|
|
170
170
|
icon: z.union([
|
|
@@ -178,10 +178,10 @@ const NotionAppendTableBlocks_CalloutBlockContentSchema = z.object({
|
|
|
178
178
|
}).describe("Content of a callout block in API responses.");
|
|
179
179
|
const NotionAppendTableBlocks_DividerBlockContentSchema = z.object({}).describe("Content of a divider block (empty object).");
|
|
180
180
|
const NotionAppendTableBlocks_BookmarkBlockContentSchema = z.object({
|
|
181
|
-
url: z.string().describe("URL of the bookmarked page."),
|
|
181
|
+
url: z.string().describe("URL of the bookmarked page.").nullable(),
|
|
182
182
|
caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Bookmark caption as rich text.").nullable().optional()
|
|
183
183
|
}).describe("Content of a bookmark block in API responses.");
|
|
184
|
-
const NotionAppendTableBlocks_EquationBlockContentSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.") }).describe("Content of an equation block in API responses.");
|
|
184
|
+
const NotionAppendTableBlocks_EquationBlockContentSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.").nullable() }).describe("Content of an equation block in API responses.");
|
|
185
185
|
const NotionAppendTableBlocks_HeadingBlockContentSchema = z.object({
|
|
186
186
|
color: z.string().default("default").describe("Color of the heading.").nullable().optional(),
|
|
187
187
|
rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Rich text content of the heading."),
|
|
@@ -194,8 +194,8 @@ const NotionAppendTableBlocks_ParagraphBlockContentSchema = z.object({
|
|
|
194
194
|
const NotionAppendTableBlocks_TableRowBlockContentSchema = z.object({ cells: z.array(z.array(NotionAppendTableBlocks_RichTextResponseSchema)).describe("Array of cell contents (each cell is an array of rich text).") }).describe("Content of a table row block in API responses.");
|
|
195
195
|
const NotionAppendTableBlocks_BreadcrumbBlockContentSchema = z.object({}).describe("Content of a breadcrumb block (empty object).");
|
|
196
196
|
const NotionAppendTableBlocks_PartialUserSchema = z.object({
|
|
197
|
-
id: z.string().describe("Unique identifier for the user (UUID format)."),
|
|
198
|
-
object: z.string().describe("Always 'user'.")
|
|
197
|
+
id: z.string().describe("Unique identifier for the user (UUID format).").nullable(),
|
|
198
|
+
object: z.string().describe("Always 'user'.").nullable()
|
|
199
199
|
}).describe("Partial user object representing a Notion user.");
|
|
200
200
|
const NotionAppendTableBlocks_ColumnListBlockContentSchema = z.object({}).describe("Content of a column list block (empty object).");
|
|
201
201
|
const NotionAppendTableBlocks_TableOfContentsBlockContentSchema = z.object({ color: z.string().default("default").describe("Color of the table of contents.").nullable().optional() }).describe("Content of a table of contents block in API responses.");
|
|
@@ -208,11 +208,11 @@ const NotionAppendTableBlocks_NumberedListItemBlockContentSchema = z.object({
|
|
|
208
208
|
rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe("Rich text content of the list item.")
|
|
209
209
|
}).describe("Content of a numbered list item block in API responses.");
|
|
210
210
|
const NotionAppendTableBlocks_BlockSchema = z.object({
|
|
211
|
-
id: z.string().describe("Unique identifier for the block (UUID v4 format)."),
|
|
211
|
+
id: z.string().describe("Unique identifier for the block (UUID v4 format).").nullable(),
|
|
212
212
|
pdf: NotionAppendTableBlocks_PdfBlockContentSchema.nullable().optional(),
|
|
213
213
|
code: NotionAppendTableBlocks_CodeBlockContentSchema.nullable().optional(),
|
|
214
214
|
file: NotionAppendTableBlocks_FileBlockContentSchema.nullable().optional(),
|
|
215
|
-
type: z.string().describe("The type of block (e.g., 'paragraph', 'image', 'bookmark')."),
|
|
215
|
+
type: z.string().describe("The type of block (e.g., 'paragraph', 'image', 'bookmark').").nullable(),
|
|
216
216
|
audio: NotionAppendTableBlocks_AudioBlockContentSchema.nullable().optional(),
|
|
217
217
|
embed: NotionAppendTableBlocks_EmbedBlockContentSchema.nullable().optional(),
|
|
218
218
|
image: NotionAppendTableBlocks_ImageBlockContentSchema.nullable().optional(),
|
|
@@ -221,7 +221,7 @@ const NotionAppendTableBlocks_BlockSchema = z.object({
|
|
|
221
221
|
to_do: NotionAppendTableBlocks_ToDoBlockContentSchema.nullable().optional(),
|
|
222
222
|
video: NotionAppendTableBlocks_VideoBlockContentSchema.nullable().optional(),
|
|
223
223
|
column: NotionAppendTableBlocks_ColumnBlockContentSchema.nullable().optional(),
|
|
224
|
-
object: z.string().describe("Always 'block'."),
|
|
224
|
+
object: z.string().describe("Always 'block'.").nullable(),
|
|
225
225
|
parent: NotionAppendTableBlocks_BlockParentSchema.nullable().optional(),
|
|
226
226
|
toggle: NotionAppendTableBlocks_ToggleBlockContentSchema.nullable().optional(),
|
|
227
227
|
callout: NotionAppendTableBlocks_CalloutBlockContentSchema.nullable().optional(),
|
|
@@ -252,11 +252,11 @@ const notionAppendTableBlocks = action("NOTION_APPEND_TABLE_BLOCKS", {
|
|
|
252
252
|
description: "Append table blocks to a Notion page. Use for structured tabular data like spreadsheets, comparison charts, and status trackers. Example: { \"table_width\": 3, \"has_column_header\": true, \"rows\": [ {\"cells\": [[{\"type\": \"text\", \"text\": {\"content\": \"Col1\"}}], [...], [...]]} ] } ⚠️ Cell content limited to 2000 chars per text.content field.",
|
|
253
253
|
input: NotionAppendTableBlocksInput,
|
|
254
254
|
output: z.object({
|
|
255
|
-
type: z.string().describe("The type of items in the results array. Always 'block'."),
|
|
255
|
+
type: z.string().describe("The type of items in the results array. Always 'block'.").nullable(),
|
|
256
256
|
block: NotionAppendTableBlocks_EmptyBlockObjectSchema.nullable(),
|
|
257
|
-
object: z.string().describe("Always 'list' for paginated responses."),
|
|
257
|
+
object: z.string().describe("Always 'list' for paginated responses.").nullable(),
|
|
258
258
|
results: z.array(NotionAppendTableBlocks_BlockSchema).describe("Array of newly created block objects that were appended as children."),
|
|
259
|
-
has_more: z.boolean().describe("Whether there are more results available beyond this page."),
|
|
259
|
+
has_more: z.boolean().describe("Whether there are more results available beyond this page.").nullable(),
|
|
260
260
|
next_cursor: z.string().describe("Cursor for pagination. Null if there are no more results.").nullable().optional()
|
|
261
261
|
}).describe("Standard response model for all append block actions.")
|
|
262
262
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-table-blocks.mjs","names":[],"sources":["../../src/actions/append-table-blocks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAppendTableBlocksInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Optional UUID of an existing child block. New blocks will be inserted after this block.\").optional(),\n tables: z.array(z.object({\n rows: z.array(z.object({\n cells: z.array(z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).describe(\"Link object for hyperlinked text.\").nullable().optional(),\n content: z.string().describe(\"The actual text content. CRITICAL: Maximum 2000 characters per text object.\"),\n}).describe(\"The text content object.\"),\n type: z.string().default(\"text\").describe(\"Type of rich text. Currently only 'text' is supported for input.\").optional(),\n annotations: z.object({\n bold: z.boolean().default(false).describe(\"Whether the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Whether the text is formatted as inline code.\").optional(),\n color: z.enum([\"default\", \"gray\", \"brown\", \"orange\", \"yellow\", \"green\", \"blue\", \"purple\", \"pink\", \"red\", \"gray_background\", \"brown_background\", \"orange_background\", \"yellow_background\", \"green_background\", \"blue_background\", \"purple_background\", \"pink_background\", \"red_background\"]).default(\"default\").describe(\"Color of the text or background.\").optional(),\n italic: z.boolean().default(false).describe(\"Whether the text is italic.\").optional(),\n underline: z.boolean().default(false).describe(\"Whether the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Whether the text has strikethrough.\").optional(),\n}).describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).describe(\"Rich text object for creating text content in blocks.\"))).describe(\"Array of cells, where each cell is an array of rich text objects. Number of cells must match table_width.\"),\n}).describe(\"A single table row with cell data.\")).describe(\"Array of table rows. At least one row is required. Each row's cells array must have exactly table_width elements.\"),\n table_width: z.number().int().describe(\"Number of columns in the table. Cannot be changed after creation.\"),\n has_row_header: z.boolean().default(false).describe(\"Whether the first column is styled as a header.\").optional(),\n has_column_header: z.boolean().default(false).describe(\"Whether the first row is styled as a header.\").optional(),\n}).describe(\"A table block with its rows.\")).describe(\"Array of tables to append. Each table includes:\\n- table_width: Number of columns (1-100)\\n- has_column_header: Style first row as header (optional, default false)\\n- has_row_header: Style first column as header (optional, default false)\\n- rows: Array of row objects (at least one required)\\n\\nEach row contains a 'cells' array where each cell is an array of rich text objects.\\nThe number of cells in each row MUST match table_width.\\n\\n⚠️ Cell content limited to 2000 characters per rich_text text.content field.\\nMax 100 tables per request.\"),\n block_id: z.string().describe(\"The UUID of the parent block or page to append children to.\"),\n}).describe(\"Request model for appending table blocks to a Notion page.\");\nconst NotionAppendTableBlocks_EmptyBlockObjectSchema: z.ZodTypeAny = z.object({}).describe(\"Empty object for the 'block' field in list responses.\\n\\nThe Notion API returns an empty object {} for this field.\");\nconst NotionAppendTableBlocks_NotionHostedFileResponseSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Temporary URL for the file.\"),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\"),\n}).describe(\"Notion-hosted file in API responses.\");\nconst NotionAppendTableBlocks_TextLinkSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).describe(\"Link object for hyperlinked text.\");\nconst NotionAppendTableBlocks_RichTextTextContentSchema: z.ZodTypeAny = z.object({\n link: NotionAppendTableBlocks_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\"),\n}).describe(\"Text content object in rich text responses.\");\nconst NotionAppendTableBlocks_RichTextAnnotationsResponseSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\"),\n code: z.boolean().describe(\"Whether the text is inline code.\"),\n color: z.string().describe(\"Color of the text or background.\"),\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 returned in API responses.\");\nconst NotionAppendTableBlocks_RichTextResponseSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"URL if the text is a link.\").nullable().optional(),\n text: NotionAppendTableBlocks_RichTextTextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text (text, mention, equation).\"),\n plain_text: z.string().describe(\"Plain text without formatting.\"),\n annotations: NotionAppendTableBlocks_RichTextAnnotationsResponseSchema.nullable(),\n}).describe(\"Rich text object returned in API responses.\");\nconst NotionAppendTableBlocks_ExternalFileResponseSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the external file.\"),\n}).describe(\"External file URL in API responses.\");\nconst NotionAppendTableBlocks_PdfBlockContentSchema: z.ZodTypeAny = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"PDF source type (external, file).\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"PDF caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of a PDF block in API responses.\");\nconst NotionAppendTableBlocks_CodeBlockContentSchema: z.ZodTypeAny = z.object({\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Code block caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code.\"),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the code.\"),\n}).describe(\"Content of a code block in API responses.\");\nconst NotionAppendTableBlocks_FileBlockContentSchema: z.ZodTypeAny = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n name: z.string().describe(\"Name of the file.\").nullable().optional(),\n type: z.string().describe(\"File source type (external, file).\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"File caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of a file block in API responses.\");\nconst NotionAppendTableBlocks_AudioBlockContentSchema: z.ZodTypeAny = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Audio source type (external, file).\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Audio caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of an audio block in API responses.\");\nconst NotionAppendTableBlocks_EmbedBlockContentSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embedded content.\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Embed caption as rich text.\").nullable().optional(),\n}).describe(\"Content of an embed block in API responses.\");\nconst NotionAppendTableBlocks_ImageBlockContentSchema: z.ZodTypeAny = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Image source type (external, file).\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Image caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of an image block in API responses.\");\nconst NotionAppendTableBlocks_QuoteBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the quote.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the quote.\"),\n}).describe(\"Content of a quote block in API responses.\");\nconst NotionAppendTableBlocks_TableBlockContentSchema: z.ZodTypeAny = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\"),\n has_row_header: z.boolean().describe(\"Whether the first column is a header.\"),\n has_column_header: z.boolean().describe(\"Whether the first row is a header.\"),\n}).describe(\"Content of a table block in API responses.\");\nconst NotionAppendTableBlocks_ToDoBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the to-do item.\").nullable().optional(),\n checked: z.boolean().default(false).describe(\"Whether the to-do is checked.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the to-do item.\"),\n}).describe(\"Content of a to-do block in API responses.\");\nconst NotionAppendTableBlocks_VideoBlockContentSchema: z.ZodTypeAny = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Video source type (external, file).\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Video caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of a video block in API responses.\");\nconst NotionAppendTableBlocks_ColumnBlockContentSchema: z.ZodTypeAny = z.object({}).describe(\"Content of a column block (empty object).\");\nconst NotionAppendTableBlocks_BlockParentSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"page_id\", \"block_id\", \"data_source_id\"]).describe(\"Type of parent: 'page_id', 'block_id', or 'data_source_id'.\"),\n page_id: z.string().describe(\"UUID of the parent page (when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (when type is 'block_id').\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source (when type is 'data_source_id').\").nullable().optional(),\n}).describe(\"Information about a block's parent.\");\nconst NotionAppendTableBlocks_ToggleBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the toggle.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the toggle.\"),\n}).describe(\"Content of a toggle block in API responses.\");\nconst NotionAppendTableBlocks_IconEmojiResponseSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Icon type, always 'emoji'.\"),\n emoji: z.string().describe(\"Emoji character for the icon.\"),\n}).describe(\"Emoji icon in API response.\");\nconst NotionAppendTableBlocks_CustomEmojiObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\"),\n url: z.string().describe(\"HTTPS URL pointing to the custom emoji image.\"),\n name: z.string().describe(\"Display name of the custom emoji.\"),\n}).describe(\"Custom emoji object in API response.\");\nconst NotionAppendTableBlocks_IconCustomEmojiResponseSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Icon type, always 'custom_emoji'.\"),\n custom_emoji: NotionAppendTableBlocks_CustomEmojiObjectSchema.nullable(),\n}).describe(\"Custom emoji icon in API response.\");\nconst NotionAppendTableBlocks_ExternalFileObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the external file.\"),\n}).describe(\"External file URL object in API response.\");\nconst NotionAppendTableBlocks_IconExternalResponseSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Icon type, always 'external'.\"),\n external: NotionAppendTableBlocks_ExternalFileObjectSchema.nullable(),\n}).describe(\"External file icon in API response.\");\nconst NotionAppendTableBlocks_NotionFileObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Authenticated S3 URL to the file.\"),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable().optional(),\n}).describe(\"Notion-hosted file object in API response.\");\nconst NotionAppendTableBlocks_IconFileResponseSchema: z.ZodTypeAny = z.object({\n file: NotionAppendTableBlocks_NotionFileObjectSchema.nullable(),\n type: z.string().describe(\"Icon type, always 'file'.\"),\n}).describe(\"Notion-hosted file icon in API response.\");\nconst NotionAppendTableBlocks_CalloutBlockContentSchema: z.ZodTypeAny = z.object({\n icon: z.union([NotionAppendTableBlocks_IconEmojiResponseSchema, NotionAppendTableBlocks_IconCustomEmojiResponseSchema, NotionAppendTableBlocks_IconExternalResponseSchema, NotionAppendTableBlocks_IconFileResponseSchema]).nullable().optional(),\n color: z.string().default(\"default\").describe(\"Color of the callout.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the callout.\"),\n}).describe(\"Content of a callout block in API responses.\");\nconst NotionAppendTableBlocks_DividerBlockContentSchema: z.ZodTypeAny = z.object({}).describe(\"Content of a divider block (empty object).\");\nconst NotionAppendTableBlocks_BookmarkBlockContentSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the bookmarked page.\"),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Bookmark caption as rich text.\").nullable().optional(),\n}).describe(\"Content of a bookmark block in API responses.\");\nconst NotionAppendTableBlocks_EquationBlockContentSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\"),\n}).describe(\"Content of an equation block in API responses.\");\nconst NotionAppendTableBlocks_HeadingBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the heading.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the heading.\"),\n is_toggleable: z.boolean().default(false).describe(\"Whether the heading is toggleable.\").nullable().optional(),\n}).describe(\"Content of a heading block in API responses.\");\nconst NotionAppendTableBlocks_ParagraphBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the paragraph.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the paragraph.\"),\n}).describe(\"Content of a paragraph block in API responses.\");\nconst NotionAppendTableBlocks_TableRowBlockContentSchema: z.ZodTypeAny = z.object({\n cells: z.array(z.array(NotionAppendTableBlocks_RichTextResponseSchema)).describe(\"Array of cell contents (each cell is an array of rich text).\"),\n}).describe(\"Content of a table row block in API responses.\");\nconst NotionAppendTableBlocks_BreadcrumbBlockContentSchema: z.ZodTypeAny = z.object({}).describe(\"Content of a breadcrumb block (empty object).\");\nconst NotionAppendTableBlocks_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\"),\n object: z.string().describe(\"Always 'user'.\"),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionAppendTableBlocks_ColumnListBlockContentSchema: z.ZodTypeAny = z.object({}).describe(\"Content of a column list block (empty object).\");\nconst NotionAppendTableBlocks_TableOfContentsBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the table of contents.\").nullable().optional(),\n}).describe(\"Content of a table of contents block in API responses.\");\nconst NotionAppendTableBlocks_BulletedListItemBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).describe(\"Content of a bulleted list item block in API responses.\");\nconst NotionAppendTableBlocks_NumberedListItemBlockContentSchema: z.ZodTypeAny = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).describe(\"Content of a numbered list item block in API responses.\");\nconst NotionAppendTableBlocks_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUID v4 format).\"),\n pdf: NotionAppendTableBlocks_PdfBlockContentSchema.nullable().optional(),\n code: NotionAppendTableBlocks_CodeBlockContentSchema.nullable().optional(),\n file: NotionAppendTableBlocks_FileBlockContentSchema.nullable().optional(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'image', 'bookmark').\"),\n audio: NotionAppendTableBlocks_AudioBlockContentSchema.nullable().optional(),\n embed: NotionAppendTableBlocks_EmbedBlockContentSchema.nullable().optional(),\n image: NotionAppendTableBlocks_ImageBlockContentSchema.nullable().optional(),\n quote: NotionAppendTableBlocks_QuoteBlockContentSchema.nullable().optional(),\n table: NotionAppendTableBlocks_TableBlockContentSchema.nullable().optional(),\n to_do: NotionAppendTableBlocks_ToDoBlockContentSchema.nullable().optional(),\n video: NotionAppendTableBlocks_VideoBlockContentSchema.nullable().optional(),\n column: NotionAppendTableBlocks_ColumnBlockContentSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\"),\n parent: NotionAppendTableBlocks_BlockParentSchema.nullable().optional(),\n toggle: NotionAppendTableBlocks_ToggleBlockContentSchema.nullable().optional(),\n callout: NotionAppendTableBlocks_CalloutBlockContentSchema.nullable().optional(),\n divider: NotionAppendTableBlocks_DividerBlockContentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionAppendTableBlocks_BookmarkBlockContentSchema.nullable().optional(),\n equation: NotionAppendTableBlocks_EquationBlockContentSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash.\").nullable().optional(),\n heading_1: NotionAppendTableBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_2: NotionAppendTableBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_3: NotionAppendTableBlocks_HeadingBlockContentSchema.nullable().optional(),\n paragraph: NotionAppendTableBlocks_ParagraphBlockContentSchema.nullable().optional(),\n table_row: NotionAppendTableBlocks_TableRowBlockContentSchema.nullable().optional(),\n breadcrumb: NotionAppendTableBlocks_BreadcrumbBlockContentSchema.nullable().optional(),\n created_by: NotionAppendTableBlocks_PartialUserSchema.nullable().optional(),\n column_list: NotionAppendTableBlocks_ColumnListBlockContentSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp of when the block was created.\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block has child blocks nested within it.\").nullable().optional(),\n last_edited_by: NotionAppendTableBlocks_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of when the block was last edited.\").nullable().optional(),\n table_of_contents: NotionAppendTableBlocks_TableOfContentsBlockContentSchema.nullable().optional(),\n bulleted_list_item: NotionAppendTableBlocks_BulletedListItemBlockContentSchema.nullable().optional(),\n numbered_list_item: NotionAppendTableBlocks_NumberedListItemBlockContentSchema.nullable().optional(),\n}).describe(\"Notion block object returned in the results array.\\n\\nContains common block metadata and type-specific content fields.\\nOnly one of the block type content fields will be populated based on the 'type' field.\");\nexport const NotionAppendTableBlocksOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of items in the results array. Always 'block'.\"),\n block: NotionAppendTableBlocks_EmptyBlockObjectSchema.nullable(),\n object: z.string().describe(\"Always 'list' for paginated responses.\"),\n results: z.array(NotionAppendTableBlocks_BlockSchema).describe(\"Array of newly created block objects that were appended as children.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page.\"),\n next_cursor: z.string().describe(\"Cursor for pagination. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Standard response model for all append block actions.\");\n\nexport const notionAppendTableBlocks = action(\"NOTION_APPEND_TABLE_BLOCKS\", {\n slug: \"notion-append-table-blocks\",\n name: \"Append table blocks\",\n description: \"Append table blocks to a Notion page. Use for structured tabular data like spreadsheets, comparison charts, and status trackers. Example: { \\\"table_width\\\": 3, \\\"has_column_header\\\": true, \\\"rows\\\": [ {\\\"cells\\\": [[{\\\"type\\\": \\\"text\\\", \\\"text\\\": {\\\"content\\\": \\\"Col1\\\"}}], [...], [...]]} ] } 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AAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmB,0DAA0D,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoB,2DAA2D,SAAS,CAAC,CAAC,SAAS;CACnG,oBAAoB,2DAA2D,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAU5N,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACnF,OAAO,+CAA+C,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACpE,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,sEAAsE;EACrI,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"append-table-blocks.mjs","names":[],"sources":["../../src/actions/append-table-blocks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAppendTableBlocksInput = z.object({\n after: z.string().describe(\"Optional UUID of an existing child block. New blocks will be inserted after this block.\").optional(),\n tables: z.array(z.object({\n rows: z.array(z.object({\n cells: z.array(z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).describe(\"Link object for hyperlinked text.\").nullable().optional(),\n content: z.string().describe(\"The actual text content. CRITICAL: Maximum 2000 characters per text object.\"),\n}).describe(\"The text content object.\"),\n type: z.string().default(\"text\").describe(\"Type of rich text. Currently only 'text' is supported for input.\").optional(),\n annotations: z.object({\n bold: z.boolean().default(false).describe(\"Whether the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Whether the text is formatted as inline code.\").optional(),\n color: z.enum([\"default\", \"gray\", \"brown\", \"orange\", \"yellow\", \"green\", \"blue\", \"purple\", \"pink\", \"red\", \"gray_background\", \"brown_background\", \"orange_background\", \"yellow_background\", \"green_background\", \"blue_background\", \"purple_background\", \"pink_background\", \"red_background\"]).default(\"default\").describe(\"Color of the text or background.\").optional(),\n italic: z.boolean().default(false).describe(\"Whether the text is italic.\").optional(),\n underline: z.boolean().default(false).describe(\"Whether the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Whether the text has strikethrough.\").optional(),\n}).describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).describe(\"Rich text object for creating text content in blocks.\"))).describe(\"Array of cells, where each cell is an array of rich text objects. Number of cells must match table_width.\"),\n}).describe(\"A single table row with cell data.\")).describe(\"Array of table rows. At least one row is required. Each row's cells array must have exactly table_width elements.\"),\n table_width: z.number().int().describe(\"Number of columns in the table. Cannot be changed after creation.\"),\n has_row_header: z.boolean().default(false).describe(\"Whether the first column is styled as a header.\").optional(),\n has_column_header: z.boolean().default(false).describe(\"Whether the first row is styled as a header.\").optional(),\n}).describe(\"A table block with its rows.\")).describe(\"Array of tables to append. Each table includes:\\n- table_width: Number of columns (1-100)\\n- has_column_header: Style first row as header (optional, default false)\\n- has_row_header: Style first column as header (optional, default false)\\n- rows: Array of row objects (at least one required)\\n\\nEach row contains a 'cells' array where each cell is an array of rich text objects.\\nThe number of cells in each row MUST match table_width.\\n\\n⚠️ Cell content limited to 2000 characters per rich_text text.content field.\\nMax 100 tables per request.\"),\n block_id: z.string().describe(\"The UUID of the parent block or page to append children to.\"),\n}).describe(\"Request model for appending table blocks to a Notion page.\");\nconst NotionAppendTableBlocks_EmptyBlockObjectSchema = z.object({}).describe(\"Empty object for the 'block' field in list responses.\\n\\nThe Notion API returns an empty object {} for this field.\");\nconst NotionAppendTableBlocks_NotionHostedFileResponseSchema = z.object({\n url: z.string().describe(\"Temporary URL for the file.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).describe(\"Notion-hosted file in API responses.\");\nconst NotionAppendTableBlocks_TextLinkSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n}).describe(\"Link object for hyperlinked text.\");\nconst NotionAppendTableBlocks_RichTextTextContentSchema = z.object({\n link: NotionAppendTableBlocks_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n}).describe(\"Text content object in rich text responses.\");\nconst NotionAppendTableBlocks_RichTextAnnotationsResponseSchema = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether the text is inline code.\").nullable(),\n color: z.string().describe(\"Color of the text or background.\").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 returned in API responses.\");\nconst NotionAppendTableBlocks_RichTextResponseSchema = z.object({\n href: z.string().describe(\"URL if the text is a link.\").nullable().optional(),\n text: NotionAppendTableBlocks_RichTextTextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text (text, mention, equation).\").nullable(),\n plain_text: z.string().describe(\"Plain text without formatting.\").nullable(),\n annotations: NotionAppendTableBlocks_RichTextAnnotationsResponseSchema.nullable(),\n}).describe(\"Rich text object returned in API responses.\");\nconst NotionAppendTableBlocks_ExternalFileResponseSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).describe(\"External file URL in API responses.\");\nconst NotionAppendTableBlocks_PdfBlockContentSchema = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"PDF source type (external, file).\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"PDF caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of a PDF block in API responses.\");\nconst NotionAppendTableBlocks_CodeBlockContentSchema = z.object({\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Code block caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code.\").nullable(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the code.\"),\n}).describe(\"Content of a code block in API responses.\");\nconst NotionAppendTableBlocks_FileBlockContentSchema = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n name: z.string().describe(\"Name of the file.\").nullable().optional(),\n type: z.string().describe(\"File source type (external, file).\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"File caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of a file block in API responses.\");\nconst NotionAppendTableBlocks_AudioBlockContentSchema = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Audio source type (external, file).\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Audio caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of an audio block in API responses.\");\nconst NotionAppendTableBlocks_EmbedBlockContentSchema = z.object({\n url: z.string().describe(\"URL of the embedded content.\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Embed caption as rich text.\").nullable().optional(),\n}).describe(\"Content of an embed block in API responses.\");\nconst NotionAppendTableBlocks_ImageBlockContentSchema = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Image source type (external, file).\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Image caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of an image block in API responses.\");\nconst NotionAppendTableBlocks_QuoteBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the quote.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the quote.\"),\n}).describe(\"Content of a quote block in API responses.\");\nconst NotionAppendTableBlocks_TableBlockContentSchema = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\").nullable(),\n has_row_header: z.boolean().describe(\"Whether the first column is a header.\").nullable(),\n has_column_header: z.boolean().describe(\"Whether the first row is a header.\").nullable(),\n}).describe(\"Content of a table block in API responses.\");\nconst NotionAppendTableBlocks_ToDoBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the to-do item.\").nullable().optional(),\n checked: z.boolean().default(false).describe(\"Whether the to-do is checked.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the to-do item.\"),\n}).describe(\"Content of a to-do block in API responses.\");\nconst NotionAppendTableBlocks_VideoBlockContentSchema = z.object({\n file: NotionAppendTableBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Video source type (external, file).\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Video caption as rich text.\").nullable().optional(),\n external: NotionAppendTableBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).describe(\"Content of a video block in API responses.\");\nconst NotionAppendTableBlocks_ColumnBlockContentSchema = z.object({}).describe(\"Content of a column block (empty object).\");\nconst NotionAppendTableBlocks_BlockParentSchema = z.object({\n type: z.enum([\"page_id\", \"block_id\", \"data_source_id\"]).describe(\"Type of parent: 'page_id', 'block_id', or 'data_source_id'.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page (when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (when type is 'block_id').\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source (when type is 'data_source_id').\").nullable().optional(),\n}).describe(\"Information about a block's parent.\");\nconst NotionAppendTableBlocks_ToggleBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the toggle.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the toggle.\"),\n}).describe(\"Content of a toggle block in API responses.\");\nconst NotionAppendTableBlocks_IconEmojiResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"Emoji character for the icon.\").nullable(),\n}).describe(\"Emoji icon in API response.\");\nconst NotionAppendTableBlocks_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL pointing to the custom emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).describe(\"Custom emoji object in API response.\");\nconst NotionAppendTableBlocks_IconCustomEmojiResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionAppendTableBlocks_CustomEmojiObjectSchema.nullable(),\n}).describe(\"Custom emoji icon in API response.\");\nconst NotionAppendTableBlocks_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).describe(\"External file URL object in API response.\");\nconst NotionAppendTableBlocks_IconExternalResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'external'.\").nullable(),\n external: NotionAppendTableBlocks_ExternalFileObjectSchema.nullable(),\n}).describe(\"External file icon in API response.\");\nconst NotionAppendTableBlocks_NotionFileObjectSchema = z.object({\n url: z.string().describe(\"Authenticated S3 URL to the file.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable().optional(),\n}).describe(\"Notion-hosted file object in API response.\");\nconst NotionAppendTableBlocks_IconFileResponseSchema = z.object({\n file: NotionAppendTableBlocks_NotionFileObjectSchema.nullable(),\n type: z.string().describe(\"Icon type, always 'file'.\").nullable(),\n}).describe(\"Notion-hosted file icon in API response.\");\nconst NotionAppendTableBlocks_CalloutBlockContentSchema = z.object({\n icon: z.union([NotionAppendTableBlocks_IconEmojiResponseSchema, NotionAppendTableBlocks_IconCustomEmojiResponseSchema, NotionAppendTableBlocks_IconExternalResponseSchema, NotionAppendTableBlocks_IconFileResponseSchema]).nullable().optional(),\n color: z.string().default(\"default\").describe(\"Color of the callout.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the callout.\"),\n}).describe(\"Content of a callout block in API responses.\");\nconst NotionAppendTableBlocks_DividerBlockContentSchema = z.object({}).describe(\"Content of a divider block (empty object).\");\nconst NotionAppendTableBlocks_BookmarkBlockContentSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked page.\").nullable(),\n caption: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Bookmark caption as rich text.\").nullable().optional(),\n}).describe(\"Content of a bookmark block in API responses.\");\nconst NotionAppendTableBlocks_EquationBlockContentSchema = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\").nullable(),\n}).describe(\"Content of an equation block in API responses.\");\nconst NotionAppendTableBlocks_HeadingBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the heading.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the heading.\"),\n is_toggleable: z.boolean().default(false).describe(\"Whether the heading is toggleable.\").nullable().optional(),\n}).describe(\"Content of a heading block in API responses.\");\nconst NotionAppendTableBlocks_ParagraphBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the paragraph.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the paragraph.\"),\n}).describe(\"Content of a paragraph block in API responses.\");\nconst NotionAppendTableBlocks_TableRowBlockContentSchema = z.object({\n cells: z.array(z.array(NotionAppendTableBlocks_RichTextResponseSchema)).describe(\"Array of cell contents (each cell is an array of rich text).\"),\n}).describe(\"Content of a table row block in API responses.\");\nconst NotionAppendTableBlocks_BreadcrumbBlockContentSchema = z.object({}).describe(\"Content of a breadcrumb block (empty object).\");\nconst NotionAppendTableBlocks_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionAppendTableBlocks_ColumnListBlockContentSchema = z.object({}).describe(\"Content of a column list block (empty object).\");\nconst NotionAppendTableBlocks_TableOfContentsBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the table of contents.\").nullable().optional(),\n}).describe(\"Content of a table of contents block in API responses.\");\nconst NotionAppendTableBlocks_BulletedListItemBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).describe(\"Content of a bulleted list item block in API responses.\");\nconst NotionAppendTableBlocks_NumberedListItemBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendTableBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).describe(\"Content of a numbered list item block in API responses.\");\nconst NotionAppendTableBlocks_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUID v4 format).\").nullable(),\n pdf: NotionAppendTableBlocks_PdfBlockContentSchema.nullable().optional(),\n code: NotionAppendTableBlocks_CodeBlockContentSchema.nullable().optional(),\n file: NotionAppendTableBlocks_FileBlockContentSchema.nullable().optional(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'image', 'bookmark').\").nullable(),\n audio: NotionAppendTableBlocks_AudioBlockContentSchema.nullable().optional(),\n embed: NotionAppendTableBlocks_EmbedBlockContentSchema.nullable().optional(),\n image: NotionAppendTableBlocks_ImageBlockContentSchema.nullable().optional(),\n quote: NotionAppendTableBlocks_QuoteBlockContentSchema.nullable().optional(),\n table: NotionAppendTableBlocks_TableBlockContentSchema.nullable().optional(),\n to_do: NotionAppendTableBlocks_ToDoBlockContentSchema.nullable().optional(),\n video: NotionAppendTableBlocks_VideoBlockContentSchema.nullable().optional(),\n column: NotionAppendTableBlocks_ColumnBlockContentSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAppendTableBlocks_BlockParentSchema.nullable().optional(),\n toggle: NotionAppendTableBlocks_ToggleBlockContentSchema.nullable().optional(),\n callout: NotionAppendTableBlocks_CalloutBlockContentSchema.nullable().optional(),\n divider: NotionAppendTableBlocks_DividerBlockContentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionAppendTableBlocks_BookmarkBlockContentSchema.nullable().optional(),\n equation: NotionAppendTableBlocks_EquationBlockContentSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash.\").nullable().optional(),\n heading_1: NotionAppendTableBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_2: NotionAppendTableBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_3: NotionAppendTableBlocks_HeadingBlockContentSchema.nullable().optional(),\n paragraph: NotionAppendTableBlocks_ParagraphBlockContentSchema.nullable().optional(),\n table_row: NotionAppendTableBlocks_TableRowBlockContentSchema.nullable().optional(),\n breadcrumb: NotionAppendTableBlocks_BreadcrumbBlockContentSchema.nullable().optional(),\n created_by: NotionAppendTableBlocks_PartialUserSchema.nullable().optional(),\n column_list: NotionAppendTableBlocks_ColumnListBlockContentSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp of when the block was created.\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block has child blocks nested within it.\").nullable().optional(),\n last_edited_by: NotionAppendTableBlocks_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of when the block was last edited.\").nullable().optional(),\n table_of_contents: NotionAppendTableBlocks_TableOfContentsBlockContentSchema.nullable().optional(),\n bulleted_list_item: NotionAppendTableBlocks_BulletedListItemBlockContentSchema.nullable().optional(),\n numbered_list_item: NotionAppendTableBlocks_NumberedListItemBlockContentSchema.nullable().optional(),\n}).describe(\"Notion block object returned in the results array.\\n\\nContains common block metadata and type-specific content fields.\\nOnly one of the block type content fields will be populated based on the 'type' field.\");\nexport const NotionAppendTableBlocksOutput = z.object({\n type: z.string().describe(\"The type of items in the results array. Always 'block'.\").nullable(),\n block: NotionAppendTableBlocks_EmptyBlockObjectSchema.nullable(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionAppendTableBlocks_BlockSchema).describe(\"Array of newly created block objects that were appended as children.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page.\").nullable(),\n next_cursor: z.string().describe(\"Cursor for pagination. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Standard response model for all append block actions.\");\n\nexport const notionAppendTableBlocks = action(\"NOTION_APPEND_TABLE_BLOCKS\", {\n slug: \"notion-append-table-blocks\",\n name: \"Append table blocks\",\n description: \"Append table blocks to a Notion page. Use for structured tabular data like spreadsheets, comparison charts, and status trackers. Example: { \\\"table_width\\\": 3, \\\"has_column_header\\\": true, \\\"rows\\\": [ {\\\"cells\\\": [[{\\\"type\\\": \\\"text\\\", \\\"text\\\": {\\\"content\\\": \\\"Col1\\\"}}], [...], [...]]} ] } ⚠️ Cell content limited to 2000 chars per text.content field.\",\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;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC9F,OAAO,+CAA+C,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,sEAAsE;EACrI,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -200,61 +200,61 @@ const NotionAppendTaskBlocksInput = zod.z.object({
|
|
|
200
200
|
}).describe("Request model for appending task blocks to a Notion page.");
|
|
201
201
|
const NotionAppendTaskBlocks_EmptyBlockObjectSchema = zod.z.object({}).describe("Empty object for the 'block' field in list responses.\n\nThe Notion API returns an empty object {} for this field.");
|
|
202
202
|
const NotionAppendTaskBlocks_NotionHostedFileResponseSchema = zod.z.object({
|
|
203
|
-
url: zod.z.string().describe("Temporary URL for the file."),
|
|
204
|
-
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.")
|
|
203
|
+
url: zod.z.string().describe("Temporary URL for the file.").nullable(),
|
|
204
|
+
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
|
|
205
205
|
}).describe("Notion-hosted file in API responses.");
|
|
206
|
-
const NotionAppendTaskBlocks_TextLinkSchema = zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.");
|
|
206
|
+
const NotionAppendTaskBlocks_TextLinkSchema = zod.z.object({ url: zod.z.string().describe("The URL the text links to.").nullable() }).describe("Link object for hyperlinked text.");
|
|
207
207
|
const NotionAppendTaskBlocks_RichTextTextContentSchema = zod.z.object({
|
|
208
208
|
link: NotionAppendTaskBlocks_TextLinkSchema.nullable().optional(),
|
|
209
|
-
content: zod.z.string().describe("The actual text content.")
|
|
209
|
+
content: zod.z.string().describe("The actual text content.").nullable()
|
|
210
210
|
}).describe("Text content object in rich text responses.");
|
|
211
211
|
const NotionAppendTaskBlocks_RichTextAnnotationsResponseSchema = zod.z.object({
|
|
212
|
-
bold: zod.z.boolean().describe("Whether the text is bold."),
|
|
213
|
-
code: zod.z.boolean().describe("Whether the text is inline code."),
|
|
214
|
-
color: zod.z.string().describe("Color of the text or background."),
|
|
215
|
-
italic: zod.z.boolean().describe("Whether the text is italic."),
|
|
216
|
-
underline: zod.z.boolean().describe("Whether the text is underlined."),
|
|
217
|
-
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.")
|
|
212
|
+
bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
|
|
213
|
+
code: zod.z.boolean().describe("Whether the text is inline code.").nullable(),
|
|
214
|
+
color: zod.z.string().describe("Color of the text or background.").nullable(),
|
|
215
|
+
italic: zod.z.boolean().describe("Whether the text is italic.").nullable(),
|
|
216
|
+
underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
217
|
+
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
218
218
|
}).describe("Text styling annotations returned in API responses.");
|
|
219
219
|
const NotionAppendTaskBlocks_RichTextResponseSchema = zod.z.object({
|
|
220
220
|
href: zod.z.string().describe("URL if the text is a link.").nullable().optional(),
|
|
221
221
|
text: NotionAppendTaskBlocks_RichTextTextContentSchema.nullable().optional(),
|
|
222
|
-
type: zod.z.string().describe("Type of rich text (text, mention, equation)."),
|
|
223
|
-
plain_text: zod.z.string().describe("Plain text without formatting."),
|
|
222
|
+
type: zod.z.string().describe("Type of rich text (text, mention, equation).").nullable(),
|
|
223
|
+
plain_text: zod.z.string().describe("Plain text without formatting.").nullable(),
|
|
224
224
|
annotations: NotionAppendTaskBlocks_RichTextAnnotationsResponseSchema.nullable()
|
|
225
225
|
}).describe("Rich text object returned in API responses.");
|
|
226
|
-
const NotionAppendTaskBlocks_ExternalFileResponseSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.") }).describe("External file URL in API responses.");
|
|
226
|
+
const NotionAppendTaskBlocks_ExternalFileResponseSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.").nullable() }).describe("External file URL in API responses.");
|
|
227
227
|
const NotionAppendTaskBlocks_PdfBlockContentSchema = zod.z.object({
|
|
228
228
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
229
|
-
type: zod.z.string().describe("PDF source type (external, file)."),
|
|
229
|
+
type: zod.z.string().describe("PDF source type (external, file).").nullable(),
|
|
230
230
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("PDF caption as rich text.").nullable().optional(),
|
|
231
231
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
232
232
|
}).describe("Content of a PDF block in API responses.");
|
|
233
233
|
const NotionAppendTaskBlocks_CodeBlockContentSchema = zod.z.object({
|
|
234
234
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Code block caption.").nullable().optional(),
|
|
235
|
-
language: zod.z.string().describe("Programming language of the code."),
|
|
235
|
+
language: zod.z.string().describe("Programming language of the code.").nullable(),
|
|
236
236
|
rich_text: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the code.")
|
|
237
237
|
}).describe("Content of a code block in API responses.");
|
|
238
238
|
const NotionAppendTaskBlocks_FileBlockContentSchema = zod.z.object({
|
|
239
239
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
240
240
|
name: zod.z.string().describe("Name of the file.").nullable().optional(),
|
|
241
|
-
type: zod.z.string().describe("File source type (external, file)."),
|
|
241
|
+
type: zod.z.string().describe("File source type (external, file).").nullable(),
|
|
242
242
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("File caption as rich text.").nullable().optional(),
|
|
243
243
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
244
244
|
}).describe("Content of a file block in API responses.");
|
|
245
245
|
const NotionAppendTaskBlocks_AudioBlockContentSchema = zod.z.object({
|
|
246
246
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
247
|
-
type: zod.z.string().describe("Audio source type (external, file)."),
|
|
247
|
+
type: zod.z.string().describe("Audio source type (external, file).").nullable(),
|
|
248
248
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Audio caption as rich text.").nullable().optional(),
|
|
249
249
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
250
250
|
}).describe("Content of an audio block in API responses.");
|
|
251
251
|
const NotionAppendTaskBlocks_EmbedBlockContentSchema = zod.z.object({
|
|
252
|
-
url: zod.z.string().describe("URL of the embedded content."),
|
|
252
|
+
url: zod.z.string().describe("URL of the embedded content.").nullable(),
|
|
253
253
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Embed caption as rich text.").nullable().optional()
|
|
254
254
|
}).describe("Content of an embed block in API responses.");
|
|
255
255
|
const NotionAppendTaskBlocks_ImageBlockContentSchema = zod.z.object({
|
|
256
256
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
257
|
-
type: zod.z.string().describe("Image source type (external, file)."),
|
|
257
|
+
type: zod.z.string().describe("Image source type (external, file).").nullable(),
|
|
258
258
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Image caption as rich text.").nullable().optional(),
|
|
259
259
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
260
260
|
}).describe("Content of an image block in API responses.");
|
|
@@ -263,9 +263,9 @@ const NotionAppendTaskBlocks_QuoteBlockContentSchema = zod.z.object({
|
|
|
263
263
|
rich_text: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the quote.")
|
|
264
264
|
}).describe("Content of a quote block in API responses.");
|
|
265
265
|
const NotionAppendTaskBlocks_TableBlockContentSchema = zod.z.object({
|
|
266
|
-
table_width: zod.z.number().int().describe("Number of columns in the table."),
|
|
267
|
-
has_row_header: zod.z.boolean().describe("Whether the first column is a header."),
|
|
268
|
-
has_column_header: zod.z.boolean().describe("Whether the first row is a header.")
|
|
266
|
+
table_width: zod.z.number().int().describe("Number of columns in the table.").nullable(),
|
|
267
|
+
has_row_header: zod.z.boolean().describe("Whether the first column is a header.").nullable(),
|
|
268
|
+
has_column_header: zod.z.boolean().describe("Whether the first row is a header.").nullable()
|
|
269
269
|
}).describe("Content of a table block in API responses.");
|
|
270
270
|
const NotionAppendTaskBlocks_ToDoBlockContentSchema = zod.z.object({
|
|
271
271
|
color: zod.z.string().default("default").describe("Color of the to-do item.").nullable().optional(),
|
|
@@ -274,7 +274,7 @@ const NotionAppendTaskBlocks_ToDoBlockContentSchema = zod.z.object({
|
|
|
274
274
|
}).describe("Content of a to-do block in API responses.");
|
|
275
275
|
const NotionAppendTaskBlocks_VideoBlockContentSchema = zod.z.object({
|
|
276
276
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
277
|
-
type: zod.z.string().describe("Video source type (external, file)."),
|
|
277
|
+
type: zod.z.string().describe("Video source type (external, file).").nullable(),
|
|
278
278
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Video caption as rich text.").nullable().optional(),
|
|
279
279
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
280
280
|
}).describe("Content of a video block in API responses.");
|
|
@@ -284,7 +284,7 @@ const NotionAppendTaskBlocks_BlockParentSchema = zod.z.object({
|
|
|
284
284
|
"page_id",
|
|
285
285
|
"block_id",
|
|
286
286
|
"data_source_id"
|
|
287
|
-
]).describe("Type of parent: 'page_id', 'block_id', or 'data_source_id'."),
|
|
287
|
+
]).describe("Type of parent: 'page_id', 'block_id', or 'data_source_id'.").nullable(),
|
|
288
288
|
page_id: zod.z.string().describe("UUID of the parent page (when type is 'page_id').").nullable().optional(),
|
|
289
289
|
block_id: zod.z.string().describe("UUID of the parent block (when type is 'block_id').").nullable().optional(),
|
|
290
290
|
data_source_id: zod.z.string().describe("UUID of the parent data source (when type is 'data_source_id').").nullable().optional()
|
|
@@ -294,30 +294,30 @@ const NotionAppendTaskBlocks_ToggleBlockContentSchema = zod.z.object({
|
|
|
294
294
|
rich_text: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the toggle.")
|
|
295
295
|
}).describe("Content of a toggle block in API responses.");
|
|
296
296
|
const NotionAppendTaskBlocks_IconEmojiResponseSchema = zod.z.object({
|
|
297
|
-
type: zod.z.string().describe("Icon type, always 'emoji'."),
|
|
298
|
-
emoji: zod.z.string().describe("Emoji character for the icon.")
|
|
297
|
+
type: zod.z.string().describe("Icon type, always 'emoji'.").nullable(),
|
|
298
|
+
emoji: zod.z.string().describe("Emoji character for the icon.").nullable()
|
|
299
299
|
}).describe("Emoji icon in API response.");
|
|
300
300
|
const NotionAppendTaskBlocks_CustomEmojiObjectSchema = zod.z.object({
|
|
301
|
-
id: zod.z.string().describe("Unique identifier for the custom emoji."),
|
|
302
|
-
url: zod.z.string().describe("HTTPS URL pointing to the custom emoji image."),
|
|
303
|
-
name: zod.z.string().describe("Display name of the custom emoji.")
|
|
301
|
+
id: zod.z.string().describe("Unique identifier for the custom emoji.").nullable(),
|
|
302
|
+
url: zod.z.string().describe("HTTPS URL pointing to the custom emoji image.").nullable(),
|
|
303
|
+
name: zod.z.string().describe("Display name of the custom emoji.").nullable()
|
|
304
304
|
}).describe("Custom emoji object in API response.");
|
|
305
305
|
const NotionAppendTaskBlocks_IconCustomEmojiResponseSchema = zod.z.object({
|
|
306
|
-
type: zod.z.string().describe("Icon type, always 'custom_emoji'."),
|
|
306
|
+
type: zod.z.string().describe("Icon type, always 'custom_emoji'.").nullable(),
|
|
307
307
|
custom_emoji: NotionAppendTaskBlocks_CustomEmojiObjectSchema.nullable()
|
|
308
308
|
}).describe("Custom emoji icon in API response.");
|
|
309
|
-
const NotionAppendTaskBlocks_ExternalFileObjectSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.") }).describe("External file URL object in API response.");
|
|
309
|
+
const NotionAppendTaskBlocks_ExternalFileObjectSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.").nullable() }).describe("External file URL object in API response.");
|
|
310
310
|
const NotionAppendTaskBlocks_IconExternalResponseSchema = zod.z.object({
|
|
311
|
-
type: zod.z.string().describe("Icon type, always 'external'."),
|
|
311
|
+
type: zod.z.string().describe("Icon type, always 'external'.").nullable(),
|
|
312
312
|
external: NotionAppendTaskBlocks_ExternalFileObjectSchema.nullable()
|
|
313
313
|
}).describe("External file icon in API response.");
|
|
314
314
|
const NotionAppendTaskBlocks_NotionFileObjectSchema = zod.z.object({
|
|
315
|
-
url: zod.z.string().describe("Authenticated S3 URL to the file."),
|
|
315
|
+
url: zod.z.string().describe("Authenticated S3 URL to the file.").nullable(),
|
|
316
316
|
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.").nullable().optional()
|
|
317
317
|
}).describe("Notion-hosted file object in API response.");
|
|
318
318
|
const NotionAppendTaskBlocks_IconFileResponseSchema = zod.z.object({
|
|
319
319
|
file: NotionAppendTaskBlocks_NotionFileObjectSchema.nullable(),
|
|
320
|
-
type: zod.z.string().describe("Icon type, always 'file'.")
|
|
320
|
+
type: zod.z.string().describe("Icon type, always 'file'.").nullable()
|
|
321
321
|
}).describe("Notion-hosted file icon in API response.");
|
|
322
322
|
const NotionAppendTaskBlocks_CalloutBlockContentSchema = zod.z.object({
|
|
323
323
|
icon: zod.z.union([
|
|
@@ -331,10 +331,10 @@ const NotionAppendTaskBlocks_CalloutBlockContentSchema = zod.z.object({
|
|
|
331
331
|
}).describe("Content of a callout block in API responses.");
|
|
332
332
|
const NotionAppendTaskBlocks_DividerBlockContentSchema = zod.z.object({}).describe("Content of a divider block (empty object).");
|
|
333
333
|
const NotionAppendTaskBlocks_BookmarkBlockContentSchema = zod.z.object({
|
|
334
|
-
url: zod.z.string().describe("URL of the bookmarked page."),
|
|
334
|
+
url: zod.z.string().describe("URL of the bookmarked page.").nullable(),
|
|
335
335
|
caption: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Bookmark caption as rich text.").nullable().optional()
|
|
336
336
|
}).describe("Content of a bookmark block in API responses.");
|
|
337
|
-
const NotionAppendTaskBlocks_EquationBlockContentSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX expression for the equation.") }).describe("Content of an equation block in API responses.");
|
|
337
|
+
const NotionAppendTaskBlocks_EquationBlockContentSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX expression for the equation.").nullable() }).describe("Content of an equation block in API responses.");
|
|
338
338
|
const NotionAppendTaskBlocks_HeadingBlockContentSchema = zod.z.object({
|
|
339
339
|
color: zod.z.string().default("default").describe("Color of the heading.").nullable().optional(),
|
|
340
340
|
rich_text: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the heading."),
|
|
@@ -347,8 +347,8 @@ const NotionAppendTaskBlocks_ParagraphBlockContentSchema = zod.z.object({
|
|
|
347
347
|
const NotionAppendTaskBlocks_TableRowBlockContentSchema = zod.z.object({ cells: zod.z.array(zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema)).describe("Array of cell contents (each cell is an array of rich text).") }).describe("Content of a table row block in API responses.");
|
|
348
348
|
const NotionAppendTaskBlocks_BreadcrumbBlockContentSchema = zod.z.object({}).describe("Content of a breadcrumb block (empty object).");
|
|
349
349
|
const NotionAppendTaskBlocks_PartialUserSchema = zod.z.object({
|
|
350
|
-
id: zod.z.string().describe("Unique identifier for the user (UUID format)."),
|
|
351
|
-
object: zod.z.string().describe("Always 'user'.")
|
|
350
|
+
id: zod.z.string().describe("Unique identifier for the user (UUID format).").nullable(),
|
|
351
|
+
object: zod.z.string().describe("Always 'user'.").nullable()
|
|
352
352
|
}).describe("Partial user object representing a Notion user.");
|
|
353
353
|
const NotionAppendTaskBlocks_ColumnListBlockContentSchema = zod.z.object({}).describe("Content of a column list block (empty object).");
|
|
354
354
|
const NotionAppendTaskBlocks_TableOfContentsBlockContentSchema = zod.z.object({ color: zod.z.string().default("default").describe("Color of the table of contents.").nullable().optional() }).describe("Content of a table of contents block in API responses.");
|
|
@@ -361,11 +361,11 @@ const NotionAppendTaskBlocks_NumberedListItemBlockContentSchema = zod.z.object({
|
|
|
361
361
|
rich_text: zod.z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the list item.")
|
|
362
362
|
}).describe("Content of a numbered list item block in API responses.");
|
|
363
363
|
const NotionAppendTaskBlocks_BlockSchema = zod.z.object({
|
|
364
|
-
id: zod.z.string().describe("Unique identifier for the block (UUID v4 format)."),
|
|
364
|
+
id: zod.z.string().describe("Unique identifier for the block (UUID v4 format).").nullable(),
|
|
365
365
|
pdf: NotionAppendTaskBlocks_PdfBlockContentSchema.nullable().optional(),
|
|
366
366
|
code: NotionAppendTaskBlocks_CodeBlockContentSchema.nullable().optional(),
|
|
367
367
|
file: NotionAppendTaskBlocks_FileBlockContentSchema.nullable().optional(),
|
|
368
|
-
type: zod.z.string().describe("The type of block (e.g., 'paragraph', 'image', 'bookmark')."),
|
|
368
|
+
type: zod.z.string().describe("The type of block (e.g., 'paragraph', 'image', 'bookmark').").nullable(),
|
|
369
369
|
audio: NotionAppendTaskBlocks_AudioBlockContentSchema.nullable().optional(),
|
|
370
370
|
embed: NotionAppendTaskBlocks_EmbedBlockContentSchema.nullable().optional(),
|
|
371
371
|
image: NotionAppendTaskBlocks_ImageBlockContentSchema.nullable().optional(),
|
|
@@ -374,7 +374,7 @@ const NotionAppendTaskBlocks_BlockSchema = zod.z.object({
|
|
|
374
374
|
to_do: NotionAppendTaskBlocks_ToDoBlockContentSchema.nullable().optional(),
|
|
375
375
|
video: NotionAppendTaskBlocks_VideoBlockContentSchema.nullable().optional(),
|
|
376
376
|
column: NotionAppendTaskBlocks_ColumnBlockContentSchema.nullable().optional(),
|
|
377
|
-
object: zod.z.string().describe("Always 'block'."),
|
|
377
|
+
object: zod.z.string().describe("Always 'block'.").nullable(),
|
|
378
378
|
parent: NotionAppendTaskBlocks_BlockParentSchema.nullable().optional(),
|
|
379
379
|
toggle: NotionAppendTaskBlocks_ToggleBlockContentSchema.nullable().optional(),
|
|
380
380
|
callout: NotionAppendTaskBlocks_CalloutBlockContentSchema.nullable().optional(),
|
|
@@ -400,11 +400,11 @@ const NotionAppendTaskBlocks_BlockSchema = zod.z.object({
|
|
|
400
400
|
numbered_list_item: NotionAppendTaskBlocks_NumberedListItemBlockContentSchema.nullable().optional()
|
|
401
401
|
}).describe("Notion block object returned in the results array.\n\nContains common block metadata and type-specific content fields.\nOnly one of the block type content fields will be populated based on the 'type' field.");
|
|
402
402
|
const NotionAppendTaskBlocksOutput = zod.z.object({
|
|
403
|
-
type: zod.z.string().describe("The type of items in the results array. Always 'block'."),
|
|
403
|
+
type: zod.z.string().describe("The type of items in the results array. Always 'block'.").nullable(),
|
|
404
404
|
block: NotionAppendTaskBlocks_EmptyBlockObjectSchema.nullable(),
|
|
405
|
-
object: zod.z.string().describe("Always 'list' for paginated responses."),
|
|
405
|
+
object: zod.z.string().describe("Always 'list' for paginated responses.").nullable(),
|
|
406
406
|
results: zod.z.array(NotionAppendTaskBlocks_BlockSchema).describe("Array of newly created block objects that were appended as children."),
|
|
407
|
-
has_more: zod.z.boolean().describe("Whether there are more results available beyond this page."),
|
|
407
|
+
has_more: zod.z.boolean().describe("Whether there are more results available beyond this page.").nullable(),
|
|
408
408
|
next_cursor: zod.z.string().describe("Cursor for pagination. Null if there are no more results.").nullable().optional()
|
|
409
409
|
}).describe("Standard response model for all append block actions.");
|
|
410
410
|
const notionAppendTaskBlocks = require_action.action("NOTION_APPEND_TASK_BLOCKS", {
|