@keystrokehq/notion 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-multiple-page-content.cjs +13 -13
- package/dist/actions/add-multiple-page-content.cjs.map +1 -1
- package/dist/actions/add-multiple-page-content.d.cts +90 -3
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
- package/dist/actions/add-multiple-page-content.d.mts +90 -3
- package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
- package/dist/actions/add-multiple-page-content.mjs +13 -13
- package/dist/actions/add-multiple-page-content.mjs.map +1 -1
- package/dist/actions/append-code-blocks.cjs +100 -100
- package/dist/actions/append-code-blocks.cjs.map +1 -1
- package/dist/actions/append-code-blocks.d.cts +867 -3
- package/dist/actions/append-code-blocks.d.cts.map +1 -1
- package/dist/actions/append-code-blocks.d.mts +867 -3
- package/dist/actions/append-code-blocks.d.mts.map +1 -1
- package/dist/actions/append-code-blocks.mjs +100 -100
- package/dist/actions/append-code-blocks.mjs.map +1 -1
- package/dist/actions/append-layout-blocks.cjs +91 -91
- package/dist/actions/append-layout-blocks.cjs.map +1 -1
- package/dist/actions/append-layout-blocks.d.cts +652 -3
- package/dist/actions/append-layout-blocks.d.cts.map +1 -1
- package/dist/actions/append-layout-blocks.d.mts +652 -3
- package/dist/actions/append-layout-blocks.d.mts.map +1 -1
- package/dist/actions/append-layout-blocks.mjs +91 -91
- package/dist/actions/append-layout-blocks.mjs.map +1 -1
- package/dist/actions/append-media-blocks.cjs +125 -125
- package/dist/actions/append-media-blocks.cjs.map +1 -1
- package/dist/actions/append-media-blocks.d.cts +1039 -3
- package/dist/actions/append-media-blocks.d.cts.map +1 -1
- package/dist/actions/append-media-blocks.d.mts +1039 -3
- package/dist/actions/append-media-blocks.d.mts.map +1 -1
- package/dist/actions/append-media-blocks.mjs +125 -125
- package/dist/actions/append-media-blocks.mjs.map +1 -1
- package/dist/actions/append-table-blocks.cjs +87 -87
- package/dist/actions/append-table-blocks.cjs.map +1 -1
- package/dist/actions/append-table-blocks.d.cts +630 -3
- package/dist/actions/append-table-blocks.d.cts.map +1 -1
- package/dist/actions/append-table-blocks.d.mts +630 -3
- package/dist/actions/append-table-blocks.d.mts.map +1 -1
- package/dist/actions/append-table-blocks.mjs +87 -87
- package/dist/actions/append-table-blocks.mjs.map +1 -1
- package/dist/actions/append-task-blocks.cjs +101 -101
- package/dist/actions/append-task-blocks.cjs.map +1 -1
- package/dist/actions/append-task-blocks.d.cts +845 -3
- package/dist/actions/append-task-blocks.d.cts.map +1 -1
- package/dist/actions/append-task-blocks.d.mts +845 -3
- package/dist/actions/append-task-blocks.d.mts.map +1 -1
- package/dist/actions/append-task-blocks.mjs +101 -101
- package/dist/actions/append-task-blocks.mjs.map +1 -1
- package/dist/actions/append-text-blocks.cjs +118 -118
- package/dist/actions/append-text-blocks.cjs.map +1 -1
- package/dist/actions/append-text-blocks.d.cts +1116 -3
- package/dist/actions/append-text-blocks.d.cts.map +1 -1
- package/dist/actions/append-text-blocks.d.mts +1116 -3
- package/dist/actions/append-text-blocks.d.mts.map +1 -1
- package/dist/actions/append-text-blocks.mjs +118 -118
- package/dist/actions/append-text-blocks.mjs.map +1 -1
- package/dist/actions/archive-notion-page.cjs +43 -43
- 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 +43 -43
- 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 +44 -44
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +140 -3
- package/dist/actions/create-database.d.cts.map +1 -1
- package/dist/actions/create-database.d.mts +140 -3
- package/dist/actions/create-database.d.mts.map +1 -1
- package/dist/actions/create-database.mjs +44 -44
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-file-upload.cjs +9 -9
- 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 +9 -9
- package/dist/actions/create-file-upload.mjs.map +1 -1
- package/dist/actions/create-notion-page.cjs +41 -41
- 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 +41 -41
- package/dist/actions/create-notion-page.mjs.map +1 -1
- package/dist/actions/delete-block.cjs +84 -84
- 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 +84 -84
- package/dist/actions/delete-block.mjs.map +1 -1
- package/dist/actions/duplicate-page.cjs +49 -49
- 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 +49 -49
- package/dist/actions/duplicate-page.mjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.cjs +91 -91
- 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 +91 -91
- package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-contents.cjs +97 -97
- 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 +97 -97
- package/dist/actions/fetch-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-metadata.cjs +81 -81
- 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 +81 -81
- package/dist/actions/fetch-block-metadata.mjs.map +1 -1
- package/dist/actions/fetch-comments.cjs +55 -55
- 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 +55 -55
- package/dist/actions/fetch-comments.mjs.map +1 -1
- package/dist/actions/fetch-data.cjs +76 -76
- 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 +76 -76
- package/dist/actions/fetch-data.mjs.map +1 -1
- package/dist/actions/fetch-database.cjs +38 -38
- 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 +38 -38
- package/dist/actions/fetch-database.mjs.map +1 -1
- package/dist/actions/fetch-row.cjs +56 -56
- 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 +56 -56
- package/dist/actions/fetch-row.mjs.map +1 -1
- package/dist/actions/get-about-user.cjs +13 -13
- 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 +13 -13
- package/dist/actions/get-about-user.mjs.map +1 -1
- package/dist/actions/get-page-markdown.cjs +5 -5
- 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 +5 -5
- 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 +50 -50
- package/dist/actions/insert-row-database.cjs.map +1 -1
- package/dist/actions/insert-row-database.d.cts +165 -3
- package/dist/actions/insert-row-database.d.cts.map +1 -1
- package/dist/actions/insert-row-database.d.mts +165 -3
- package/dist/actions/insert-row-database.d.mts.map +1 -1
- package/dist/actions/insert-row-database.mjs +50 -50
- package/dist/actions/insert-row-database.mjs.map +1 -1
- package/dist/actions/insert-row-from-nl.cjs +2 -2
- 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 +2 -2
- package/dist/actions/insert-row-from-nl.mjs.map +1 -1
- package/dist/actions/list-data-source-templates.cjs +6 -6
- 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 +6 -6
- package/dist/actions/list-data-source-templates.mjs.map +1 -1
- package/dist/actions/list-file-uploads.cjs +9 -9
- 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 +9 -9
- package/dist/actions/list-file-uploads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +14 -14
- 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 +14 -14
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/move-page.cjs +44 -44
- package/dist/actions/move-page.cjs.map +1 -1
- package/dist/actions/move-page.d.cts +92 -3
- package/dist/actions/move-page.d.cts.map +1 -1
- package/dist/actions/move-page.d.mts +92 -3
- package/dist/actions/move-page.d.mts.map +1 -1
- package/dist/actions/move-page.mjs +44 -44
- package/dist/actions/move-page.mjs.map +1 -1
- package/dist/actions/query-data-source.cjs +35 -35
- package/dist/actions/query-data-source.cjs.map +1 -1
- package/dist/actions/query-data-source.d.cts +161 -3
- package/dist/actions/query-data-source.d.cts.map +1 -1
- package/dist/actions/query-data-source.d.mts +161 -3
- package/dist/actions/query-data-source.d.mts.map +1 -1
- package/dist/actions/query-data-source.mjs +35 -35
- package/dist/actions/query-data-source.mjs.map +1 -1
- package/dist/actions/query-database-with-filter.cjs +73 -73
- package/dist/actions/query-database-with-filter.cjs.map +1 -1
- package/dist/actions/query-database-with-filter.d.cts +216 -3
- package/dist/actions/query-database-with-filter.d.cts.map +1 -1
- package/dist/actions/query-database-with-filter.d.mts +216 -3
- package/dist/actions/query-database-with-filter.d.mts.map +1 -1
- package/dist/actions/query-database-with-filter.mjs +73 -73
- package/dist/actions/query-database-with-filter.mjs.map +1 -1
- package/dist/actions/query-database.cjs +61 -61
- package/dist/actions/query-database.cjs.map +1 -1
- package/dist/actions/query-database.d.cts +209 -3
- package/dist/actions/query-database.d.cts.map +1 -1
- package/dist/actions/query-database.d.mts +209 -3
- package/dist/actions/query-database.d.mts.map +1 -1
- package/dist/actions/query-database.mjs +61 -61
- package/dist/actions/query-database.mjs.map +1 -1
- package/dist/actions/replace-page-content.cjs +133 -133
- package/dist/actions/replace-page-content.cjs.map +1 -1
- package/dist/actions/replace-page-content.d.cts +1836 -3
- package/dist/actions/replace-page-content.d.cts.map +1 -1
- package/dist/actions/replace-page-content.d.mts +1836 -3
- package/dist/actions/replace-page-content.d.mts.map +1 -1
- package/dist/actions/replace-page-content.mjs +133 -133
- 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 +42 -42
- 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 +42 -42
- package/dist/actions/retrieve-database-property.mjs.map +1 -1
- package/dist/actions/retrieve-file-upload.cjs +6 -6
- 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 +6 -6
- package/dist/actions/retrieve-file-upload.mjs.map +1 -1
- package/dist/actions/retrieve-page.cjs +55 -55
- 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 +55 -55
- package/dist/actions/retrieve-page.mjs.map +1 -1
- package/dist/actions/search-notion-page.cjs +82 -82
- 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 +82 -82
- package/dist/actions/search-notion-page.mjs.map +1 -1
- package/dist/actions/send-file-upload.cjs +8 -8
- 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 +8 -8
- package/dist/actions/send-file-upload.mjs.map +1 -1
- package/dist/actions/update-block.cjs +94 -94
- 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 +94 -94
- package/dist/actions/update-block.mjs.map +1 -1
- package/dist/actions/update-page.cjs +46 -46
- 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 +46 -46
- package/dist/actions/update-page.mjs.map +1 -1
- package/dist/actions/update-row-database.cjs +50 -50
- package/dist/actions/update-row-database.cjs.map +1 -1
- package/dist/actions/update-row-database.d.cts +127 -3
- package/dist/actions/update-row-database.d.cts.map +1 -1
- package/dist/actions/update-row-database.d.mts +127 -3
- package/dist/actions/update-row-database.d.mts.map +1 -1
- package/dist/actions/update-row-database.mjs +50 -50
- package/dist/actions/update-row-database.mjs.map +1 -1
- package/dist/actions/update-schema-database.cjs +59 -59
- package/dist/actions/update-schema-database.cjs.map +1 -1
- package/dist/actions/update-schema-database.d.cts +315 -3
- package/dist/actions/update-schema-database.d.cts.map +1 -1
- package/dist/actions/update-schema-database.d.mts +315 -3
- package/dist/actions/update-schema-database.d.mts.map +1 -1
- package/dist/actions/update-schema-database.mjs +59 -59
- package/dist/actions/update-schema-database.mjs.map +1 -1
- package/dist/actions/upsert-row-database.cjs +32 -32
- package/dist/actions/upsert-row-database.cjs.map +1 -1
- package/dist/actions/upsert-row-database.d.cts +242 -3
- package/dist/actions/upsert-row-database.d.cts.map +1 -1
- package/dist/actions/upsert-row-database.d.mts +242 -3
- package/dist/actions/upsert-row-database.d.mts.map +1 -1
- package/dist/actions/upsert-row-database.mjs +32 -32
- package/dist/actions/upsert-row-database.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-task-blocks.d.mts","names":[],"sources":["../../src/actions/append-task-blocks.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"append-task-blocks.d.mts","names":[],"sources":["../../src/actions/append-task-blocks.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2R3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAS5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -32,9 +32,9 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
32
32
|
checked: z.boolean().default(false).describe("Whether the to-do item is checked/completed.").optional(),
|
|
33
33
|
rich_text: z.array(z.object({
|
|
34
34
|
text: z.object({
|
|
35
|
-
link: z.object({ url: z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
|
|
35
|
+
link: z.object({ url: z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
|
|
36
36
|
content: z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
|
|
37
|
-
}).describe("The text content object."),
|
|
37
|
+
}).passthrough().describe("The text content object."),
|
|
38
38
|
type: z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
|
|
39
39
|
annotations: z.object({
|
|
40
40
|
bold: z.boolean().default(false).describe("Whether the text is bold.").optional(),
|
|
@@ -63,11 +63,11 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
63
63
|
italic: z.boolean().default(false).describe("Whether the text is italic.").optional(),
|
|
64
64
|
underline: z.boolean().default(false).describe("Whether the text is underlined.").optional(),
|
|
65
65
|
strikethrough: z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
|
|
66
|
-
}).describe("Text styling annotations for rich text.").nullable().optional()
|
|
67
|
-
}).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the to-do text.")
|
|
68
|
-
}).describe("To-do content."),
|
|
66
|
+
}).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
|
|
67
|
+
}).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the to-do text.")
|
|
68
|
+
}).passthrough().describe("To-do content."),
|
|
69
69
|
object: z.string().default("block").describe("Always 'block'.").optional()
|
|
70
|
-
}).describe("A to-do/checkbox block object."),
|
|
70
|
+
}).passthrough().describe("A to-do/checkbox block object."),
|
|
71
71
|
z.object({
|
|
72
72
|
type: z.string().default("toggle").describe("Block type.").optional(),
|
|
73
73
|
object: z.string().default("block").describe("Always 'block'.").optional(),
|
|
@@ -95,9 +95,9 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
95
95
|
]).default("default").describe("Color of the toggle.").optional(),
|
|
96
96
|
rich_text: z.array(z.object({
|
|
97
97
|
text: z.object({
|
|
98
|
-
link: z.object({ url: z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
|
|
98
|
+
link: z.object({ url: z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
|
|
99
99
|
content: z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
|
|
100
|
-
}).describe("The text content object."),
|
|
100
|
+
}).passthrough().describe("The text content object."),
|
|
101
101
|
type: z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
|
|
102
102
|
annotations: z.object({
|
|
103
103
|
bold: z.boolean().default(false).describe("Whether the text is bold.").optional(),
|
|
@@ -126,10 +126,10 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
126
126
|
italic: z.boolean().default(false).describe("Whether the text is italic.").optional(),
|
|
127
127
|
underline: z.boolean().default(false).describe("Whether the text is underlined.").optional(),
|
|
128
128
|
strikethrough: z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
|
|
129
|
-
}).describe("Text styling annotations for rich text.").nullable().optional()
|
|
130
|
-
}).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the toggle header text.")
|
|
131
|
-
}).describe("Toggle content.")
|
|
132
|
-
}).describe("A toggle block object (collapsible content)."),
|
|
129
|
+
}).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
|
|
130
|
+
}).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the toggle header text.")
|
|
131
|
+
}).passthrough().describe("Toggle content.")
|
|
132
|
+
}).passthrough().describe("A toggle block object (collapsible content)."),
|
|
133
133
|
z.object({
|
|
134
134
|
type: z.string().default("callout").describe("Block type.").optional(),
|
|
135
135
|
object: z.string().default("block").describe("Always 'block'.").optional(),
|
|
@@ -137,7 +137,7 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
137
137
|
icon: z.object({
|
|
138
138
|
type: z.string().default("emoji").describe("Icon type.").optional(),
|
|
139
139
|
emoji: z.string().describe("Emoji character for the icon.")
|
|
140
|
-
}).describe("Emoji icon for callout blocks.").nullable().optional(),
|
|
140
|
+
}).passthrough().describe("Emoji icon for callout blocks.").nullable().optional(),
|
|
141
141
|
color: z.enum([
|
|
142
142
|
"default",
|
|
143
143
|
"gray",
|
|
@@ -161,9 +161,9 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
161
161
|
]).default("default").describe("Background color of the callout.").optional(),
|
|
162
162
|
rich_text: z.array(z.object({
|
|
163
163
|
text: z.object({
|
|
164
|
-
link: z.object({ url: z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
|
|
164
|
+
link: z.object({ url: z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
|
|
165
165
|
content: z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
|
|
166
|
-
}).describe("The text content object."),
|
|
166
|
+
}).passthrough().describe("The text content object."),
|
|
167
167
|
type: z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
|
|
168
168
|
annotations: z.object({
|
|
169
169
|
bold: z.boolean().default(false).describe("Whether the text is bold.").optional(),
|
|
@@ -192,133 +192,133 @@ const NotionAppendTaskBlocksInput = z.object({
|
|
|
192
192
|
italic: z.boolean().default(false).describe("Whether the text is italic.").optional(),
|
|
193
193
|
underline: z.boolean().default(false).describe("Whether the text is underlined.").optional(),
|
|
194
194
|
strikethrough: z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
|
|
195
|
-
}).describe("Text styling annotations for rich text.").nullable().optional()
|
|
196
|
-
}).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the callout text.")
|
|
197
|
-
}).describe("Callout content.")
|
|
198
|
-
}).describe("A callout block object (highlighted content with icon).")
|
|
195
|
+
}).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
|
|
196
|
+
}).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the callout text.")
|
|
197
|
+
}).passthrough().describe("Callout content.")
|
|
198
|
+
}).passthrough().describe("A callout block object (highlighted content with icon).")
|
|
199
199
|
])).describe("Array of task/interactive block objects to append. Supported types:\n- to_do: Checkbox task item (can be checked/unchecked)\n- toggle: Collapsible section (click to expand/collapse)\n- callout: Highlighted box with emoji icon (for important notes)\n\n⚠️ Text content limited to 2000 characters per rich_text text.content field.\nMax 100 blocks per request. Max 2 levels of nesting allowed.")
|
|
200
200
|
}).describe("Request model for appending task blocks to a Notion page.");
|
|
201
|
-
const NotionAppendTaskBlocks_EmptyBlockObjectSchema = z.
|
|
201
|
+
const NotionAppendTaskBlocks_EmptyBlockObjectSchema = z.record(z.string(), z.unknown()).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 = z.object({
|
|
203
|
-
url: z.string().describe("Temporary URL for the file."),
|
|
204
|
-
expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.")
|
|
205
|
-
}).describe("Notion-hosted file in API responses.");
|
|
206
|
-
const NotionAppendTaskBlocks_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.");
|
|
203
|
+
url: z.string().describe("Temporary URL for the file.").nullable(),
|
|
204
|
+
expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
|
|
205
|
+
}).passthrough().describe("Notion-hosted file in API responses.");
|
|
206
|
+
const NotionAppendTaskBlocks_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.").nullable() }).passthrough().describe("Link object for hyperlinked text.");
|
|
207
207
|
const NotionAppendTaskBlocks_RichTextTextContentSchema = z.object({
|
|
208
208
|
link: NotionAppendTaskBlocks_TextLinkSchema.nullable().optional(),
|
|
209
|
-
content: z.string().describe("The actual text content.")
|
|
210
|
-
}).describe("Text content object in rich text responses.");
|
|
209
|
+
content: z.string().describe("The actual text content.").nullable()
|
|
210
|
+
}).passthrough().describe("Text content object in rich text responses.");
|
|
211
211
|
const NotionAppendTaskBlocks_RichTextAnnotationsResponseSchema = z.object({
|
|
212
|
-
bold: z.boolean().describe("Whether the text is bold."),
|
|
213
|
-
code: z.boolean().describe("Whether the text is inline code."),
|
|
214
|
-
color: z.string().describe("Color of the text or background."),
|
|
215
|
-
italic: z.boolean().describe("Whether the text is italic."),
|
|
216
|
-
underline: z.boolean().describe("Whether the text is underlined."),
|
|
217
|
-
strikethrough: z.boolean().describe("Whether the text has strikethrough.")
|
|
218
|
-
}).describe("Text styling annotations returned in API responses.");
|
|
212
|
+
bold: z.boolean().describe("Whether the text is bold.").nullable(),
|
|
213
|
+
code: z.boolean().describe("Whether the text is inline code.").nullable(),
|
|
214
|
+
color: z.string().describe("Color of the text or background.").nullable(),
|
|
215
|
+
italic: z.boolean().describe("Whether the text is italic.").nullable(),
|
|
216
|
+
underline: z.boolean().describe("Whether the text is underlined.").nullable(),
|
|
217
|
+
strikethrough: z.boolean().describe("Whether the text has strikethrough.").nullable()
|
|
218
|
+
}).passthrough().describe("Text styling annotations returned in API responses.");
|
|
219
219
|
const NotionAppendTaskBlocks_RichTextResponseSchema = z.object({
|
|
220
220
|
href: z.string().describe("URL if the text is a link.").nullable().optional(),
|
|
221
221
|
text: NotionAppendTaskBlocks_RichTextTextContentSchema.nullable().optional(),
|
|
222
|
-
type: z.string().describe("Type of rich text (text, mention, equation)."),
|
|
223
|
-
plain_text: z.string().describe("Plain text without formatting."),
|
|
222
|
+
type: z.string().describe("Type of rich text (text, mention, equation).").nullable(),
|
|
223
|
+
plain_text: z.string().describe("Plain text without formatting.").nullable(),
|
|
224
224
|
annotations: NotionAppendTaskBlocks_RichTextAnnotationsResponseSchema.nullable()
|
|
225
|
-
}).describe("Rich text object returned in API responses.");
|
|
226
|
-
const NotionAppendTaskBlocks_ExternalFileResponseSchema = z.object({ url: z.string().describe("URL of the external file.") }).describe("External file URL in API responses.");
|
|
225
|
+
}).passthrough().describe("Rich text object returned in API responses.");
|
|
226
|
+
const NotionAppendTaskBlocks_ExternalFileResponseSchema = z.object({ url: z.string().describe("URL of the external file.").nullable() }).passthrough().describe("External file URL in API responses.");
|
|
227
227
|
const NotionAppendTaskBlocks_PdfBlockContentSchema = z.object({
|
|
228
228
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
229
|
-
type: z.string().describe("PDF source type (external, file)."),
|
|
229
|
+
type: z.string().describe("PDF source type (external, file).").nullable(),
|
|
230
230
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("PDF caption as rich text.").nullable().optional(),
|
|
231
231
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
232
|
-
}).describe("Content of a PDF block in API responses.");
|
|
232
|
+
}).passthrough().describe("Content of a PDF block in API responses.");
|
|
233
233
|
const NotionAppendTaskBlocks_CodeBlockContentSchema = z.object({
|
|
234
234
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Code block caption.").nullable().optional(),
|
|
235
|
-
language: z.string().describe("Programming language of the code."),
|
|
235
|
+
language: z.string().describe("Programming language of the code.").nullable(),
|
|
236
236
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the code.")
|
|
237
|
-
}).describe("Content of a code block in API responses.");
|
|
237
|
+
}).passthrough().describe("Content of a code block in API responses.");
|
|
238
238
|
const NotionAppendTaskBlocks_FileBlockContentSchema = z.object({
|
|
239
239
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
240
240
|
name: z.string().describe("Name of the file.").nullable().optional(),
|
|
241
|
-
type: z.string().describe("File source type (external, file)."),
|
|
241
|
+
type: z.string().describe("File source type (external, file).").nullable(),
|
|
242
242
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("File caption as rich text.").nullable().optional(),
|
|
243
243
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
244
|
-
}).describe("Content of a file block in API responses.");
|
|
244
|
+
}).passthrough().describe("Content of a file block in API responses.");
|
|
245
245
|
const NotionAppendTaskBlocks_AudioBlockContentSchema = z.object({
|
|
246
246
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
247
|
-
type: z.string().describe("Audio source type (external, file)."),
|
|
247
|
+
type: z.string().describe("Audio source type (external, file).").nullable(),
|
|
248
248
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Audio caption as rich text.").nullable().optional(),
|
|
249
249
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
250
|
-
}).describe("Content of an audio block in API responses.");
|
|
250
|
+
}).passthrough().describe("Content of an audio block in API responses.");
|
|
251
251
|
const NotionAppendTaskBlocks_EmbedBlockContentSchema = z.object({
|
|
252
|
-
url: z.string().describe("URL of the embedded content."),
|
|
252
|
+
url: z.string().describe("URL of the embedded content.").nullable(),
|
|
253
253
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Embed caption as rich text.").nullable().optional()
|
|
254
|
-
}).describe("Content of an embed block in API responses.");
|
|
254
|
+
}).passthrough().describe("Content of an embed block in API responses.");
|
|
255
255
|
const NotionAppendTaskBlocks_ImageBlockContentSchema = z.object({
|
|
256
256
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
257
|
-
type: z.string().describe("Image source type (external, file)."),
|
|
257
|
+
type: z.string().describe("Image source type (external, file).").nullable(),
|
|
258
258
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Image caption as rich text.").nullable().optional(),
|
|
259
259
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
260
|
-
}).describe("Content of an image block in API responses.");
|
|
260
|
+
}).passthrough().describe("Content of an image block in API responses.");
|
|
261
261
|
const NotionAppendTaskBlocks_QuoteBlockContentSchema = z.object({
|
|
262
262
|
color: z.string().default("default").describe("Color of the quote.").nullable().optional(),
|
|
263
263
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the quote.")
|
|
264
|
-
}).describe("Content of a quote block in API responses.");
|
|
264
|
+
}).passthrough().describe("Content of a quote block in API responses.");
|
|
265
265
|
const NotionAppendTaskBlocks_TableBlockContentSchema = z.object({
|
|
266
|
-
table_width: z.number().int().describe("Number of columns in the table."),
|
|
267
|
-
has_row_header: z.boolean().describe("Whether the first column is a header."),
|
|
268
|
-
has_column_header: z.boolean().describe("Whether the first row is a header.")
|
|
269
|
-
}).describe("Content of a table block in API responses.");
|
|
266
|
+
table_width: z.number().int().describe("Number of columns in the table.").nullable(),
|
|
267
|
+
has_row_header: z.boolean().describe("Whether the first column is a header.").nullable(),
|
|
268
|
+
has_column_header: z.boolean().describe("Whether the first row is a header.").nullable()
|
|
269
|
+
}).passthrough().describe("Content of a table block in API responses.");
|
|
270
270
|
const NotionAppendTaskBlocks_ToDoBlockContentSchema = z.object({
|
|
271
271
|
color: z.string().default("default").describe("Color of the to-do item.").nullable().optional(),
|
|
272
272
|
checked: z.boolean().default(false).describe("Whether the to-do is checked.").nullable().optional(),
|
|
273
273
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the to-do item.")
|
|
274
|
-
}).describe("Content of a to-do block in API responses.");
|
|
274
|
+
}).passthrough().describe("Content of a to-do block in API responses.");
|
|
275
275
|
const NotionAppendTaskBlocks_VideoBlockContentSchema = z.object({
|
|
276
276
|
file: NotionAppendTaskBlocks_NotionHostedFileResponseSchema.nullable().optional(),
|
|
277
|
-
type: z.string().describe("Video source type (external, file)."),
|
|
277
|
+
type: z.string().describe("Video source type (external, file).").nullable(),
|
|
278
278
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Video caption as rich text.").nullable().optional(),
|
|
279
279
|
external: NotionAppendTaskBlocks_ExternalFileResponseSchema.nullable().optional()
|
|
280
|
-
}).describe("Content of a video block in API responses.");
|
|
281
|
-
const NotionAppendTaskBlocks_ColumnBlockContentSchema = z.
|
|
280
|
+
}).passthrough().describe("Content of a video block in API responses.");
|
|
281
|
+
const NotionAppendTaskBlocks_ColumnBlockContentSchema = z.record(z.string(), z.unknown()).describe("Content of a column block (empty object).");
|
|
282
282
|
const NotionAppendTaskBlocks_BlockParentSchema = z.object({
|
|
283
283
|
type: z.enum([
|
|
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: z.string().describe("UUID of the parent page (when type is 'page_id').").nullable().optional(),
|
|
289
289
|
block_id: z.string().describe("UUID of the parent block (when type is 'block_id').").nullable().optional(),
|
|
290
290
|
data_source_id: z.string().describe("UUID of the parent data source (when type is 'data_source_id').").nullable().optional()
|
|
291
|
-
}).describe("Information about a block's parent.");
|
|
291
|
+
}).passthrough().describe("Information about a block's parent.");
|
|
292
292
|
const NotionAppendTaskBlocks_ToggleBlockContentSchema = z.object({
|
|
293
293
|
color: z.string().default("default").describe("Color of the toggle.").nullable().optional(),
|
|
294
294
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the toggle.")
|
|
295
|
-
}).describe("Content of a toggle block in API responses.");
|
|
295
|
+
}).passthrough().describe("Content of a toggle block in API responses.");
|
|
296
296
|
const NotionAppendTaskBlocks_IconEmojiResponseSchema = z.object({
|
|
297
|
-
type: z.string().describe("Icon type, always 'emoji'."),
|
|
298
|
-
emoji: z.string().describe("Emoji character for the icon.")
|
|
299
|
-
}).describe("Emoji icon in API response.");
|
|
297
|
+
type: z.string().describe("Icon type, always 'emoji'.").nullable(),
|
|
298
|
+
emoji: z.string().describe("Emoji character for the icon.").nullable()
|
|
299
|
+
}).passthrough().describe("Emoji icon in API response.");
|
|
300
300
|
const NotionAppendTaskBlocks_CustomEmojiObjectSchema = z.object({
|
|
301
|
-
id: z.string().describe("Unique identifier for the custom emoji."),
|
|
302
|
-
url: z.string().describe("HTTPS URL pointing to the custom emoji image."),
|
|
303
|
-
name: z.string().describe("Display name of the custom emoji.")
|
|
304
|
-
}).describe("Custom emoji object in API response.");
|
|
301
|
+
id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
|
|
302
|
+
url: z.string().describe("HTTPS URL pointing to the custom emoji image.").nullable(),
|
|
303
|
+
name: z.string().describe("Display name of the custom emoji.").nullable()
|
|
304
|
+
}).passthrough().describe("Custom emoji object in API response.");
|
|
305
305
|
const NotionAppendTaskBlocks_IconCustomEmojiResponseSchema = z.object({
|
|
306
|
-
type: z.string().describe("Icon type, always 'custom_emoji'."),
|
|
306
|
+
type: z.string().describe("Icon type, always 'custom_emoji'.").nullable(),
|
|
307
307
|
custom_emoji: NotionAppendTaskBlocks_CustomEmojiObjectSchema.nullable()
|
|
308
|
-
}).describe("Custom emoji icon in API response.");
|
|
309
|
-
const NotionAppendTaskBlocks_ExternalFileObjectSchema = z.object({ url: z.string().describe("URL of the external file.") }).describe("External file URL object in API response.");
|
|
308
|
+
}).passthrough().describe("Custom emoji icon in API response.");
|
|
309
|
+
const NotionAppendTaskBlocks_ExternalFileObjectSchema = z.object({ url: z.string().describe("URL of the external file.").nullable() }).passthrough().describe("External file URL object in API response.");
|
|
310
310
|
const NotionAppendTaskBlocks_IconExternalResponseSchema = z.object({
|
|
311
|
-
type: z.string().describe("Icon type, always 'external'."),
|
|
311
|
+
type: z.string().describe("Icon type, always 'external'.").nullable(),
|
|
312
312
|
external: NotionAppendTaskBlocks_ExternalFileObjectSchema.nullable()
|
|
313
|
-
}).describe("External file icon in API response.");
|
|
313
|
+
}).passthrough().describe("External file icon in API response.");
|
|
314
314
|
const NotionAppendTaskBlocks_NotionFileObjectSchema = z.object({
|
|
315
|
-
url: z.string().describe("Authenticated S3 URL to the file."),
|
|
315
|
+
url: z.string().describe("Authenticated S3 URL to the file.").nullable(),
|
|
316
316
|
expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable().optional()
|
|
317
|
-
}).describe("Notion-hosted file object in API response.");
|
|
317
|
+
}).passthrough().describe("Notion-hosted file object in API response.");
|
|
318
318
|
const NotionAppendTaskBlocks_IconFileResponseSchema = z.object({
|
|
319
319
|
file: NotionAppendTaskBlocks_NotionFileObjectSchema.nullable(),
|
|
320
|
-
type: z.string().describe("Icon type, always 'file'.")
|
|
321
|
-
}).describe("Notion-hosted file icon in API response.");
|
|
320
|
+
type: z.string().describe("Icon type, always 'file'.").nullable()
|
|
321
|
+
}).passthrough().describe("Notion-hosted file icon in API response.");
|
|
322
322
|
const NotionAppendTaskBlocks_CalloutBlockContentSchema = z.object({
|
|
323
323
|
icon: z.union([
|
|
324
324
|
NotionAppendTaskBlocks_IconEmojiResponseSchema,
|
|
@@ -328,44 +328,44 @@ const NotionAppendTaskBlocks_CalloutBlockContentSchema = z.object({
|
|
|
328
328
|
]).nullable().optional(),
|
|
329
329
|
color: z.string().default("default").describe("Color of the callout.").nullable().optional(),
|
|
330
330
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the callout.")
|
|
331
|
-
}).describe("Content of a callout block in API responses.");
|
|
332
|
-
const NotionAppendTaskBlocks_DividerBlockContentSchema = z.
|
|
331
|
+
}).passthrough().describe("Content of a callout block in API responses.");
|
|
332
|
+
const NotionAppendTaskBlocks_DividerBlockContentSchema = z.record(z.string(), z.unknown()).describe("Content of a divider block (empty object).");
|
|
333
333
|
const NotionAppendTaskBlocks_BookmarkBlockContentSchema = z.object({
|
|
334
|
-
url: z.string().describe("URL of the bookmarked page."),
|
|
334
|
+
url: z.string().describe("URL of the bookmarked page.").nullable(),
|
|
335
335
|
caption: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Bookmark caption as rich text.").nullable().optional()
|
|
336
|
-
}).describe("Content of a bookmark block in API responses.");
|
|
337
|
-
const NotionAppendTaskBlocks_EquationBlockContentSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.") }).describe("Content of an equation block in API responses.");
|
|
336
|
+
}).passthrough().describe("Content of a bookmark block in API responses.");
|
|
337
|
+
const NotionAppendTaskBlocks_EquationBlockContentSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.").nullable() }).passthrough().describe("Content of an equation block in API responses.");
|
|
338
338
|
const NotionAppendTaskBlocks_HeadingBlockContentSchema = z.object({
|
|
339
339
|
color: z.string().default("default").describe("Color of the heading.").nullable().optional(),
|
|
340
340
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the heading."),
|
|
341
341
|
is_toggleable: z.boolean().default(false).describe("Whether the heading is toggleable.").nullable().optional()
|
|
342
|
-
}).describe("Content of a heading block in API responses.");
|
|
342
|
+
}).passthrough().describe("Content of a heading block in API responses.");
|
|
343
343
|
const NotionAppendTaskBlocks_ParagraphBlockContentSchema = z.object({
|
|
344
344
|
color: z.string().default("default").describe("Color of the paragraph.").nullable().optional(),
|
|
345
345
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the paragraph.")
|
|
346
|
-
}).describe("Content of a paragraph block in API responses.");
|
|
347
|
-
const NotionAppendTaskBlocks_TableRowBlockContentSchema = z.object({ cells: z.array(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
|
-
const NotionAppendTaskBlocks_BreadcrumbBlockContentSchema = z.
|
|
346
|
+
}).passthrough().describe("Content of a paragraph block in API responses.");
|
|
347
|
+
const NotionAppendTaskBlocks_TableRowBlockContentSchema = z.object({ cells: z.array(z.array(NotionAppendTaskBlocks_RichTextResponseSchema)).describe("Array of cell contents (each cell is an array of rich text).") }).passthrough().describe("Content of a table row block in API responses.");
|
|
348
|
+
const NotionAppendTaskBlocks_BreadcrumbBlockContentSchema = z.record(z.string(), z.unknown()).describe("Content of a breadcrumb block (empty object).");
|
|
349
349
|
const NotionAppendTaskBlocks_PartialUserSchema = z.object({
|
|
350
|
-
id: z.string().describe("Unique identifier for the user (UUID format)."),
|
|
351
|
-
object: z.string().describe("Always 'user'.")
|
|
352
|
-
}).describe("Partial user object representing a Notion user.");
|
|
353
|
-
const NotionAppendTaskBlocks_ColumnListBlockContentSchema = z.
|
|
354
|
-
const NotionAppendTaskBlocks_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.");
|
|
350
|
+
id: z.string().describe("Unique identifier for the user (UUID format).").nullable(),
|
|
351
|
+
object: z.string().describe("Always 'user'.").nullable()
|
|
352
|
+
}).passthrough().describe("Partial user object representing a Notion user.");
|
|
353
|
+
const NotionAppendTaskBlocks_ColumnListBlockContentSchema = z.record(z.string(), z.unknown()).describe("Content of a column list block (empty object).");
|
|
354
|
+
const NotionAppendTaskBlocks_TableOfContentsBlockContentSchema = z.object({ color: z.string().default("default").describe("Color of the table of contents.").nullable().optional() }).passthrough().describe("Content of a table of contents block in API responses.");
|
|
355
355
|
const NotionAppendTaskBlocks_BulletedListItemBlockContentSchema = z.object({
|
|
356
356
|
color: z.string().default("default").describe("Color of the list item.").nullable().optional(),
|
|
357
357
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the list item.")
|
|
358
|
-
}).describe("Content of a bulleted list item block in API responses.");
|
|
358
|
+
}).passthrough().describe("Content of a bulleted list item block in API responses.");
|
|
359
359
|
const NotionAppendTaskBlocks_NumberedListItemBlockContentSchema = z.object({
|
|
360
360
|
color: z.string().default("default").describe("Color of the list item.").nullable().optional(),
|
|
361
361
|
rich_text: z.array(NotionAppendTaskBlocks_RichTextResponseSchema).describe("Rich text content of the list item.")
|
|
362
|
-
}).describe("Content of a numbered list item block in API responses.");
|
|
362
|
+
}).passthrough().describe("Content of a numbered list item block in API responses.");
|
|
363
363
|
const NotionAppendTaskBlocks_BlockSchema = z.object({
|
|
364
|
-
id: z.string().describe("Unique identifier for the block (UUID v4 format)."),
|
|
364
|
+
id: 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: z.string().describe("The type of block (e.g., 'paragraph', 'image', 'bookmark')."),
|
|
368
|
+
type: 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 = 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: z.string().describe("Always 'block'."),
|
|
377
|
+
object: 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(),
|
|
@@ -398,20 +398,20 @@ const NotionAppendTaskBlocks_BlockSchema = z.object({
|
|
|
398
398
|
table_of_contents: NotionAppendTaskBlocks_TableOfContentsBlockContentSchema.nullable().optional(),
|
|
399
399
|
bulleted_list_item: NotionAppendTaskBlocks_BulletedListItemBlockContentSchema.nullable().optional(),
|
|
400
400
|
numbered_list_item: NotionAppendTaskBlocks_NumberedListItemBlockContentSchema.nullable().optional()
|
|
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.");
|
|
401
|
+
}).passthrough().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 notionAppendTaskBlocks = action("NOTION_APPEND_TASK_BLOCKS", {
|
|
403
403
|
slug: "notion-append-task-blocks",
|
|
404
404
|
name: "Append task blocks (to-do, toggle, callout)",
|
|
405
405
|
description: "Append task blocks (to-do, toggle, callout) to a Notion page or block. Supported block types: - to_do: Checkbox items (checkable/uncheckable) - toggle: Collapsible sections - callout: Highlighted boxes with emoji icons All three types support nested children (up to 2 levels of nesting). block_id must be a page or block that supports children (e.g., page, toggle, paragraph, list items, quote, callout, to_do). Blocks like divider, breadcrumb, equation do NOT support children. Limits: 2000 chars per text.content, max 100 blocks per request. For other blocks: append_text_blocks, append_code_blocks, append_media_blocks, append_layout_blocks, append_table_blocks.",
|
|
406
406
|
input: NotionAppendTaskBlocksInput,
|
|
407
407
|
output: z.object({
|
|
408
|
-
type: z.string().describe("The type of items in the results array. Always 'block'."),
|
|
408
|
+
type: z.string().describe("The type of items in the results array. Always 'block'.").nullable(),
|
|
409
409
|
block: NotionAppendTaskBlocks_EmptyBlockObjectSchema.nullable(),
|
|
410
|
-
object: z.string().describe("Always 'list' for paginated responses."),
|
|
410
|
+
object: z.string().describe("Always 'list' for paginated responses.").nullable(),
|
|
411
411
|
results: z.array(NotionAppendTaskBlocks_BlockSchema).describe("Array of newly created block objects that were appended as children."),
|
|
412
|
-
has_more: z.boolean().describe("Whether there are more results available beyond this page."),
|
|
412
|
+
has_more: z.boolean().describe("Whether there are more results available beyond this page.").nullable(),
|
|
413
413
|
next_cursor: z.string().describe("Cursor for pagination. Null if there are no more results.").nullable().optional()
|
|
414
|
-
}).describe("Standard response model for all append block actions.")
|
|
414
|
+
}).passthrough().describe("Standard response model for all append block actions.")
|
|
415
415
|
});
|
|
416
416
|
//#endregion
|
|
417
417
|
export { notionAppendTaskBlocks };
|