@keystrokehq/notion 0.1.4 → 0.1.5
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-multiple-page-content.cjs +1 -0
- package/dist/actions/add-multiple-page-content.cjs.map +1 -1
- package/dist/actions/add-multiple-page-content.d.cts +10 -38
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
- package/dist/actions/add-multiple-page-content.d.mts +10 -38
- package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
- package/dist/actions/add-multiple-page-content.mjs +1 -0
- package/dist/actions/add-multiple-page-content.mjs.map +1 -1
- package/dist/actions/append-code-blocks.cjs +1 -0
- package/dist/actions/append-code-blocks.cjs.map +1 -1
- package/dist/actions/append-code-blocks.d.cts +3 -104
- package/dist/actions/append-code-blocks.d.cts.map +1 -1
- package/dist/actions/append-code-blocks.d.mts +3 -104
- package/dist/actions/append-code-blocks.d.mts.map +1 -1
- package/dist/actions/append-code-blocks.mjs +1 -0
- package/dist/actions/append-code-blocks.mjs.map +1 -1
- package/dist/actions/append-layout-blocks.cjs +1 -0
- package/dist/actions/append-layout-blocks.cjs.map +1 -1
- package/dist/actions/append-layout-blocks.d.cts +3 -59
- package/dist/actions/append-layout-blocks.d.cts.map +1 -1
- package/dist/actions/append-layout-blocks.d.mts +3 -59
- package/dist/actions/append-layout-blocks.d.mts.map +1 -1
- package/dist/actions/append-layout-blocks.mjs +1 -0
- package/dist/actions/append-layout-blocks.mjs.map +1 -1
- package/dist/actions/append-media-blocks.cjs +1 -0
- package/dist/actions/append-media-blocks.cjs.map +1 -1
- package/dist/actions/append-media-blocks.d.cts +3 -219
- package/dist/actions/append-media-blocks.d.cts.map +1 -1
- package/dist/actions/append-media-blocks.d.mts +3 -219
- package/dist/actions/append-media-blocks.d.mts.map +1 -1
- package/dist/actions/append-media-blocks.mjs +1 -0
- package/dist/actions/append-media-blocks.mjs.map +1 -1
- package/dist/actions/append-table-blocks.cjs +1 -0
- package/dist/actions/append-table-blocks.cjs.map +1 -1
- package/dist/actions/append-table-blocks.d.cts +3 -46
- package/dist/actions/append-table-blocks.d.cts.map +1 -1
- package/dist/actions/append-table-blocks.d.mts +3 -46
- package/dist/actions/append-table-blocks.d.mts.map +1 -1
- package/dist/actions/append-table-blocks.mjs +1 -0
- package/dist/actions/append-table-blocks.mjs.map +1 -1
- package/dist/actions/append-task-blocks.cjs +1 -0
- package/dist/actions/append-task-blocks.cjs.map +1 -1
- package/dist/actions/append-task-blocks.d.cts +3 -110
- package/dist/actions/append-task-blocks.d.cts.map +1 -1
- package/dist/actions/append-task-blocks.d.mts +3 -110
- package/dist/actions/append-task-blocks.d.mts.map +1 -1
- package/dist/actions/append-task-blocks.mjs +1 -0
- package/dist/actions/append-task-blocks.mjs.map +1 -1
- package/dist/actions/append-text-blocks.cjs +1 -0
- package/dist/actions/append-text-blocks.cjs.map +1 -1
- package/dist/actions/append-text-blocks.d.cts +3 -194
- package/dist/actions/append-text-blocks.d.cts.map +1 -1
- package/dist/actions/append-text-blocks.d.mts +3 -194
- package/dist/actions/append-text-blocks.d.mts.map +1 -1
- package/dist/actions/append-text-blocks.mjs +1 -0
- package/dist/actions/append-text-blocks.mjs.map +1 -1
- package/dist/actions/archive-notion-page.cjs +1 -0
- package/dist/actions/archive-notion-page.cjs.map +1 -1
- package/dist/actions/archive-notion-page.d.cts +3 -16
- package/dist/actions/archive-notion-page.d.cts.map +1 -1
- package/dist/actions/archive-notion-page.d.mts +3 -16
- package/dist/actions/archive-notion-page.d.mts.map +1 -1
- package/dist/actions/archive-notion-page.mjs +1 -0
- package/dist/actions/archive-notion-page.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +1 -0
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +10 -34
- package/dist/actions/create-comment.d.cts.map +1 -1
- package/dist/actions/create-comment.d.mts +10 -34
- package/dist/actions/create-comment.d.mts.map +1 -1
- package/dist/actions/create-comment.mjs +1 -0
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-database.cjs +1 -0
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +4 -24
- package/dist/actions/create-database.d.cts.map +1 -1
- package/dist/actions/create-database.d.mts +4 -24
- package/dist/actions/create-database.d.mts.map +1 -1
- package/dist/actions/create-database.mjs +1 -0
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-file-upload.cjs +1 -0
- package/dist/actions/create-file-upload.cjs.map +1 -1
- package/dist/actions/create-file-upload.d.cts +3 -19
- package/dist/actions/create-file-upload.d.cts.map +1 -1
- package/dist/actions/create-file-upload.d.mts +3 -19
- package/dist/actions/create-file-upload.d.mts.map +1 -1
- package/dist/actions/create-file-upload.mjs +1 -0
- package/dist/actions/create-file-upload.mjs.map +1 -1
- package/dist/actions/create-notion-page.cjs +1 -0
- package/dist/actions/create-notion-page.cjs.map +1 -1
- package/dist/actions/create-notion-page.d.cts +3 -19
- package/dist/actions/create-notion-page.d.cts.map +1 -1
- package/dist/actions/create-notion-page.d.mts +3 -19
- package/dist/actions/create-notion-page.d.mts.map +1 -1
- package/dist/actions/create-notion-page.mjs +1 -0
- package/dist/actions/create-notion-page.mjs.map +1 -1
- package/dist/actions/delete-block.cjs +1 -0
- package/dist/actions/delete-block.cjs.map +1 -1
- package/dist/actions/delete-block.d.cts +31 -43
- package/dist/actions/delete-block.d.cts.map +1 -1
- package/dist/actions/delete-block.d.mts +31 -43
- package/dist/actions/delete-block.d.mts.map +1 -1
- package/dist/actions/delete-block.mjs +1 -0
- package/dist/actions/delete-block.mjs.map +1 -1
- package/dist/actions/duplicate-page.cjs +1 -0
- package/dist/actions/duplicate-page.cjs.map +1 -1
- package/dist/actions/duplicate-page.d.cts +3 -17
- package/dist/actions/duplicate-page.d.cts.map +1 -1
- package/dist/actions/duplicate-page.d.mts +3 -17
- package/dist/actions/duplicate-page.d.mts.map +1 -1
- package/dist/actions/duplicate-page.mjs +1 -0
- package/dist/actions/duplicate-page.mjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.cjs +1 -0
- package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
- package/dist/actions/fetch-all-block-contents.d.cts +3 -20
- package/dist/actions/fetch-all-block-contents.d.cts.map +1 -1
- package/dist/actions/fetch-all-block-contents.d.mts +3 -20
- package/dist/actions/fetch-all-block-contents.d.mts.map +1 -1
- package/dist/actions/fetch-all-block-contents.mjs +1 -0
- package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-contents.cjs +1 -0
- package/dist/actions/fetch-block-contents.cjs.map +1 -1
- package/dist/actions/fetch-block-contents.d.cts +3 -17
- package/dist/actions/fetch-block-contents.d.cts.map +1 -1
- package/dist/actions/fetch-block-contents.d.mts +3 -17
- package/dist/actions/fetch-block-contents.d.mts.map +1 -1
- package/dist/actions/fetch-block-contents.mjs +1 -0
- package/dist/actions/fetch-block-contents.mjs.map +1 -1
- package/dist/actions/fetch-block-metadata.cjs +1 -0
- package/dist/actions/fetch-block-metadata.cjs.map +1 -1
- package/dist/actions/fetch-block-metadata.d.cts +31 -43
- package/dist/actions/fetch-block-metadata.d.cts.map +1 -1
- package/dist/actions/fetch-block-metadata.d.mts +31 -43
- package/dist/actions/fetch-block-metadata.d.mts.map +1 -1
- package/dist/actions/fetch-block-metadata.mjs +1 -0
- package/dist/actions/fetch-block-metadata.mjs.map +1 -1
- package/dist/actions/fetch-comments.cjs +1 -0
- package/dist/actions/fetch-comments.cjs.map +1 -1
- package/dist/actions/fetch-comments.d.cts +3 -18
- package/dist/actions/fetch-comments.d.cts.map +1 -1
- package/dist/actions/fetch-comments.d.mts +3 -18
- package/dist/actions/fetch-comments.d.mts.map +1 -1
- package/dist/actions/fetch-comments.mjs +1 -0
- package/dist/actions/fetch-comments.mjs.map +1 -1
- package/dist/actions/fetch-data.cjs +1 -0
- package/dist/actions/fetch-data.cjs.map +1 -1
- package/dist/actions/fetch-data.d.cts +7 -24
- package/dist/actions/fetch-data.d.cts.map +1 -1
- package/dist/actions/fetch-data.d.mts +7 -24
- package/dist/actions/fetch-data.d.mts.map +1 -1
- package/dist/actions/fetch-data.mjs +1 -0
- package/dist/actions/fetch-data.mjs.map +1 -1
- package/dist/actions/fetch-database.cjs +1 -0
- package/dist/actions/fetch-database.cjs.map +1 -1
- package/dist/actions/fetch-database.d.cts +3 -15
- package/dist/actions/fetch-database.d.cts.map +1 -1
- package/dist/actions/fetch-database.d.mts +3 -15
- package/dist/actions/fetch-database.d.mts.map +1 -1
- package/dist/actions/fetch-database.mjs +1 -0
- package/dist/actions/fetch-database.mjs.map +1 -1
- package/dist/actions/fetch-row.cjs +1 -0
- package/dist/actions/fetch-row.cjs.map +1 -1
- package/dist/actions/fetch-row.d.cts +3 -15
- package/dist/actions/fetch-row.d.cts.map +1 -1
- package/dist/actions/fetch-row.d.mts +3 -15
- package/dist/actions/fetch-row.d.mts.map +1 -1
- package/dist/actions/fetch-row.mjs +1 -0
- package/dist/actions/fetch-row.mjs.map +1 -1
- package/dist/actions/get-about-user.cjs +1 -0
- package/dist/actions/get-about-user.cjs.map +1 -1
- package/dist/actions/get-about-user.d.cts +3 -15
- package/dist/actions/get-about-user.d.cts.map +1 -1
- package/dist/actions/get-about-user.d.mts +3 -15
- package/dist/actions/get-about-user.d.mts.map +1 -1
- package/dist/actions/get-about-user.mjs +1 -0
- package/dist/actions/get-about-user.mjs.map +1 -1
- package/dist/actions/get-page-markdown.cjs +1 -0
- package/dist/actions/get-page-markdown.cjs.map +1 -1
- package/dist/actions/get-page-markdown.d.cts +3 -16
- package/dist/actions/get-page-markdown.d.cts.map +1 -1
- package/dist/actions/get-page-markdown.d.mts +3 -16
- package/dist/actions/get-page-markdown.d.mts.map +1 -1
- package/dist/actions/get-page-markdown.mjs +1 -0
- package/dist/actions/get-page-markdown.mjs.map +1 -1
- package/dist/actions/get-page-property-action.cjs +1 -0
- package/dist/actions/get-page-property-action.cjs.map +1 -1
- package/dist/actions/get-page-property-action.d.cts +3 -18
- package/dist/actions/get-page-property-action.d.cts.map +1 -1
- package/dist/actions/get-page-property-action.d.mts +3 -18
- package/dist/actions/get-page-property-action.d.mts.map +1 -1
- package/dist/actions/get-page-property-action.mjs +1 -0
- package/dist/actions/get-page-property-action.mjs.map +1 -1
- package/dist/actions/insert-row-database.cjs +1 -0
- package/dist/actions/insert-row-database.cjs.map +1 -1
- package/dist/actions/insert-row-database.d.cts +11 -43
- package/dist/actions/insert-row-database.d.cts.map +1 -1
- package/dist/actions/insert-row-database.d.mts +11 -43
- package/dist/actions/insert-row-database.d.mts.map +1 -1
- package/dist/actions/insert-row-database.mjs +1 -0
- package/dist/actions/insert-row-database.mjs.map +1 -1
- package/dist/actions/insert-row-from-nl.cjs +1 -0
- package/dist/actions/insert-row-from-nl.cjs.map +1 -1
- package/dist/actions/insert-row-from-nl.d.cts +3 -18
- package/dist/actions/insert-row-from-nl.d.cts.map +1 -1
- package/dist/actions/insert-row-from-nl.d.mts +3 -18
- package/dist/actions/insert-row-from-nl.d.mts.map +1 -1
- package/dist/actions/insert-row-from-nl.mjs +1 -0
- package/dist/actions/insert-row-from-nl.mjs.map +1 -1
- package/dist/actions/list-data-source-templates.cjs +1 -0
- package/dist/actions/list-data-source-templates.cjs.map +1 -1
- package/dist/actions/list-data-source-templates.d.cts +3 -17
- package/dist/actions/list-data-source-templates.d.cts.map +1 -1
- package/dist/actions/list-data-source-templates.d.mts +3 -17
- package/dist/actions/list-data-source-templates.d.mts.map +1 -1
- package/dist/actions/list-data-source-templates.mjs +1 -0
- package/dist/actions/list-data-source-templates.mjs.map +1 -1
- package/dist/actions/list-file-uploads.cjs +1 -0
- package/dist/actions/list-file-uploads.cjs.map +1 -1
- package/dist/actions/list-file-uploads.d.cts +3 -16
- package/dist/actions/list-file-uploads.d.cts.map +1 -1
- package/dist/actions/list-file-uploads.d.mts +3 -16
- package/dist/actions/list-file-uploads.d.mts.map +1 -1
- package/dist/actions/list-file-uploads.mjs +1 -0
- package/dist/actions/list-file-uploads.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -16
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -16
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/move-page.cjs +1 -0
- package/dist/actions/move-page.cjs.map +1 -1
- package/dist/actions/move-page.d.cts +3 -24
- package/dist/actions/move-page.d.cts.map +1 -1
- package/dist/actions/move-page.d.mts +3 -24
- package/dist/actions/move-page.d.mts.map +1 -1
- package/dist/actions/move-page.mjs +1 -0
- package/dist/actions/move-page.mjs.map +1 -1
- package/dist/actions/query-data-source.cjs +1 -0
- package/dist/actions/query-data-source.cjs.map +1 -1
- package/dist/actions/query-data-source.d.cts +3 -28
- package/dist/actions/query-data-source.d.cts.map +1 -1
- package/dist/actions/query-data-source.d.mts +3 -28
- package/dist/actions/query-data-source.d.mts.map +1 -1
- package/dist/actions/query-data-source.mjs +1 -0
- package/dist/actions/query-data-source.mjs.map +1 -1
- package/dist/actions/query-database-with-filter.cjs +1 -0
- package/dist/actions/query-database-with-filter.cjs.map +1 -1
- package/dist/actions/query-database-with-filter.d.cts +3 -28
- package/dist/actions/query-database-with-filter.d.cts.map +1 -1
- package/dist/actions/query-database-with-filter.d.mts +3 -28
- package/dist/actions/query-database-with-filter.d.mts.map +1 -1
- package/dist/actions/query-database-with-filter.mjs +1 -0
- package/dist/actions/query-database-with-filter.mjs.map +1 -1
- package/dist/actions/query-database.cjs +1 -0
- package/dist/actions/query-database.cjs.map +1 -1
- package/dist/actions/query-database.d.cts +3 -22
- package/dist/actions/query-database.d.cts.map +1 -1
- package/dist/actions/query-database.d.mts +3 -22
- package/dist/actions/query-database.d.mts.map +1 -1
- package/dist/actions/query-database.mjs +1 -0
- package/dist/actions/query-database.mjs.map +1 -1
- package/dist/actions/replace-page-content.cjs +1 -0
- package/dist/actions/replace-page-content.cjs.map +1 -1
- package/dist/actions/replace-page-content.d.cts +3 -654
- package/dist/actions/replace-page-content.d.cts.map +1 -1
- package/dist/actions/replace-page-content.d.mts +3 -654
- package/dist/actions/replace-page-content.d.mts.map +1 -1
- package/dist/actions/replace-page-content.mjs +1 -0
- package/dist/actions/replace-page-content.mjs.map +1 -1
- package/dist/actions/retrieve-comment.cjs +1 -0
- package/dist/actions/retrieve-comment.cjs.map +1 -1
- package/dist/actions/retrieve-comment.d.cts +3 -15
- package/dist/actions/retrieve-comment.d.cts.map +1 -1
- package/dist/actions/retrieve-comment.d.mts +3 -15
- package/dist/actions/retrieve-comment.d.mts.map +1 -1
- package/dist/actions/retrieve-comment.mjs +1 -0
- package/dist/actions/retrieve-comment.mjs.map +1 -1
- package/dist/actions/retrieve-database-property.cjs +1 -0
- package/dist/actions/retrieve-database-property.cjs.map +1 -1
- package/dist/actions/retrieve-database-property.d.cts +3 -16
- package/dist/actions/retrieve-database-property.d.cts.map +1 -1
- package/dist/actions/retrieve-database-property.d.mts +3 -16
- package/dist/actions/retrieve-database-property.d.mts.map +1 -1
- package/dist/actions/retrieve-database-property.mjs +1 -0
- package/dist/actions/retrieve-database-property.mjs.map +1 -1
- package/dist/actions/retrieve-file-upload.cjs +1 -0
- package/dist/actions/retrieve-file-upload.cjs.map +1 -1
- package/dist/actions/retrieve-file-upload.d.cts +3 -15
- package/dist/actions/retrieve-file-upload.d.cts.map +1 -1
- package/dist/actions/retrieve-file-upload.d.mts +3 -15
- package/dist/actions/retrieve-file-upload.d.mts.map +1 -1
- package/dist/actions/retrieve-file-upload.mjs +1 -0
- package/dist/actions/retrieve-file-upload.mjs.map +1 -1
- package/dist/actions/retrieve-page.cjs +1 -0
- package/dist/actions/retrieve-page.cjs.map +1 -1
- package/dist/actions/retrieve-page.d.cts +3 -15
- package/dist/actions/retrieve-page.d.cts.map +1 -1
- package/dist/actions/retrieve-page.d.mts +3 -15
- package/dist/actions/retrieve-page.d.mts.map +1 -1
- package/dist/actions/retrieve-page.mjs +1 -0
- package/dist/actions/retrieve-page.mjs.map +1 -1
- package/dist/actions/search-notion-page.cjs +1 -0
- package/dist/actions/search-notion-page.cjs.map +1 -1
- package/dist/actions/search-notion-page.d.cts +7 -26
- package/dist/actions/search-notion-page.d.cts.map +1 -1
- package/dist/actions/search-notion-page.d.mts +7 -26
- package/dist/actions/search-notion-page.d.mts.map +1 -1
- package/dist/actions/search-notion-page.mjs +1 -0
- package/dist/actions/search-notion-page.mjs.map +1 -1
- package/dist/actions/send-file-upload.cjs +1 -0
- package/dist/actions/send-file-upload.cjs.map +1 -1
- package/dist/actions/send-file-upload.d.cts +3 -22
- package/dist/actions/send-file-upload.d.cts.map +1 -1
- package/dist/actions/send-file-upload.d.mts +3 -22
- package/dist/actions/send-file-upload.d.mts.map +1 -1
- package/dist/actions/send-file-upload.mjs +1 -0
- package/dist/actions/send-file-upload.mjs.map +1 -1
- package/dist/actions/update-block.cjs +1 -0
- package/dist/actions/update-block.cjs.map +1 -1
- package/dist/actions/update-block.d.cts +3 -19
- package/dist/actions/update-block.d.cts.map +1 -1
- package/dist/actions/update-block.d.mts +3 -19
- package/dist/actions/update-block.d.mts.map +1 -1
- package/dist/actions/update-block.mjs +1 -0
- package/dist/actions/update-block.mjs.map +1 -1
- package/dist/actions/update-page.cjs +1 -0
- package/dist/actions/update-page.cjs.map +1 -1
- package/dist/actions/update-page.d.cts +3 -19
- package/dist/actions/update-page.d.cts.map +1 -1
- package/dist/actions/update-page.d.mts +3 -19
- package/dist/actions/update-page.d.mts.map +1 -1
- package/dist/actions/update-page.mjs +1 -0
- package/dist/actions/update-page.mjs.map +1 -1
- package/dist/actions/update-row-database.cjs +1 -0
- package/dist/actions/update-row-database.cjs.map +1 -1
- package/dist/actions/update-row-database.d.cts +4 -25
- package/dist/actions/update-row-database.d.cts.map +1 -1
- package/dist/actions/update-row-database.d.mts +4 -25
- package/dist/actions/update-row-database.d.mts.map +1 -1
- package/dist/actions/update-row-database.mjs +1 -0
- package/dist/actions/update-row-database.mjs.map +1 -1
- package/dist/actions/update-schema-database.cjs +1 -0
- package/dist/actions/update-schema-database.cjs.map +1 -1
- package/dist/actions/update-schema-database.d.cts +4 -27
- package/dist/actions/update-schema-database.d.cts.map +1 -1
- package/dist/actions/update-schema-database.d.mts +4 -27
- package/dist/actions/update-schema-database.d.mts.map +1 -1
- package/dist/actions/update-schema-database.mjs +1 -0
- package/dist/actions/update-schema-database.mjs.map +1 -1
- package/dist/actions/upsert-row-database.cjs +1 -0
- package/dist/actions/upsert-row-database.cjs.map +1 -1
- package/dist/actions/upsert-row-database.d.cts +3 -136
- package/dist/actions/upsert-row-database.d.cts.map +1 -1
- package/dist/actions/upsert-row-database.d.mts +3 -136
- package/dist/actions/upsert-row-database.d.mts.map +1 -1
- package/dist/actions/upsert-row-database.mjs +1 -0
- package/dist/actions/upsert-row-database.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["notion","executeNotionTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["notion","executeNotionTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof notion.credential> {\n return notion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNotionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof notion.credential> {\n return notion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNotionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-page-content.cjs","names":["z","action"],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAddMultiplePageContentInput = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).passthrough().describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\").nullable(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\").nullable(),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\").nullable(),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAChW,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACjC,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO;EACjC,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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"file":"add-multiple-page-content.cjs","names":["z","action"],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { notion } from \"../app\";\n\nexport const NotionAddMultiplePageContentInput = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).passthrough().describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\").nullable(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\").nullable(),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\").nullable(),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent: AppAction<\n typeof NotionAddMultiplePageContentInput,\n typeof NotionAddMultiplePageContentOutput,\n typeof notion.credential\n> = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure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,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;CAC3G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2JAA2J;AAErL,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { notion } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-multiple-page-content.d.ts
|
|
@@ -15,19 +17,19 @@ declare const NotionAddMultiplePageContentInput: z.ZodObject<{
|
|
|
15
17
|
strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
16
18
|
block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
17
19
|
file: "file";
|
|
18
|
-
paragraph: "paragraph";
|
|
19
|
-
heading_1: "heading_1";
|
|
20
|
-
heading_2: "heading_2";
|
|
21
|
-
heading_3: "heading_3";
|
|
22
|
-
bulleted_list_item: "bulleted_list_item";
|
|
23
|
-
numbered_list_item: "numbered_list_item";
|
|
24
|
-
image: "image";
|
|
25
20
|
quote: "quote";
|
|
21
|
+
image: "image";
|
|
26
22
|
to_do: "to_do";
|
|
27
23
|
video: "video";
|
|
28
24
|
toggle: "toggle";
|
|
29
25
|
callout: "callout";
|
|
30
26
|
divider: "divider";
|
|
27
|
+
heading_1: "heading_1";
|
|
28
|
+
heading_2: "heading_2";
|
|
29
|
+
heading_3: "heading_3";
|
|
30
|
+
paragraph: "paragraph";
|
|
31
|
+
bulleted_list_item: "bulleted_list_item";
|
|
32
|
+
numbered_list_item: "numbered_list_item";
|
|
31
33
|
}>>>;
|
|
32
34
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
@@ -72,37 +74,7 @@ declare const NotionAddMultiplePageContentOutput: z.ZodObject<{
|
|
|
72
74
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
73
75
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const notionAddMultiplePageContent:
|
|
76
|
-
content_blocks: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
content_block: Record<string, unknown> | {
|
|
79
|
-
[x: string]: unknown;
|
|
80
|
-
bold?: boolean | undefined;
|
|
81
|
-
code?: boolean | undefined;
|
|
82
|
-
link?: string | null | undefined;
|
|
83
|
-
color?: string | undefined;
|
|
84
|
-
italic?: boolean | undefined;
|
|
85
|
-
content?: string | null | undefined;
|
|
86
|
-
underline?: boolean | undefined;
|
|
87
|
-
strikethrough?: boolean | undefined;
|
|
88
|
-
block_property?: "file" | "paragraph" | "heading_1" | "heading_2" | "heading_3" | "bulleted_list_item" | "numbered_list_item" | "image" | "quote" | "to_do" | "video" | "toggle" | "callout" | "divider" | undefined;
|
|
89
|
-
};
|
|
90
|
-
}[];
|
|
91
|
-
parent_block_id: string;
|
|
92
|
-
after?: string | undefined;
|
|
93
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
94
|
-
connectionId: z.ZodString;
|
|
95
|
-
entityId: z.ZodString;
|
|
96
|
-
instanceId: z.ZodString;
|
|
97
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
-
accessToken: z.ZodString;
|
|
99
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
100
|
-
connectionId: z.ZodString;
|
|
101
|
-
entityId: z.ZodString;
|
|
102
|
-
instanceId: z.ZodString;
|
|
103
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
-
accessToken: z.ZodString;
|
|
105
|
-
}, z.core.$strip>>]>;
|
|
77
|
+
declare const notionAddMultiplePageContent: AppAction<typeof NotionAddMultiplePageContentInput, typeof NotionAddMultiplePageContentOutput, typeof notion.credential>;
|
|
106
78
|
//#endregion
|
|
107
79
|
export { notionAddMultiplePageContent };
|
|
108
80
|
//# sourceMappingURL=add-multiple-page-content.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-page-content.d.cts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-multiple-page-content.d.cts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { notion } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-multiple-page-content.d.ts
|
|
@@ -15,19 +17,19 @@ declare const NotionAddMultiplePageContentInput: z.ZodObject<{
|
|
|
15
17
|
strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
16
18
|
block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
17
19
|
file: "file";
|
|
18
|
-
paragraph: "paragraph";
|
|
19
|
-
heading_1: "heading_1";
|
|
20
|
-
heading_2: "heading_2";
|
|
21
|
-
heading_3: "heading_3";
|
|
22
|
-
bulleted_list_item: "bulleted_list_item";
|
|
23
|
-
numbered_list_item: "numbered_list_item";
|
|
24
|
-
image: "image";
|
|
25
20
|
quote: "quote";
|
|
21
|
+
image: "image";
|
|
26
22
|
to_do: "to_do";
|
|
27
23
|
video: "video";
|
|
28
24
|
toggle: "toggle";
|
|
29
25
|
callout: "callout";
|
|
30
26
|
divider: "divider";
|
|
27
|
+
heading_1: "heading_1";
|
|
28
|
+
heading_2: "heading_2";
|
|
29
|
+
heading_3: "heading_3";
|
|
30
|
+
paragraph: "paragraph";
|
|
31
|
+
bulleted_list_item: "bulleted_list_item";
|
|
32
|
+
numbered_list_item: "numbered_list_item";
|
|
31
33
|
}>>>;
|
|
32
34
|
}, z.core.$loose>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
33
35
|
}, z.core.$loose>>;
|
|
@@ -72,37 +74,7 @@ declare const NotionAddMultiplePageContentOutput: z.ZodObject<{
|
|
|
72
74
|
has_more: z.ZodNullable<z.ZodBoolean>;
|
|
73
75
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
76
|
}, z.core.$loose>;
|
|
75
|
-
declare const notionAddMultiplePageContent:
|
|
76
|
-
content_blocks: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
content_block: Record<string, unknown> | {
|
|
79
|
-
[x: string]: unknown;
|
|
80
|
-
bold?: boolean | undefined;
|
|
81
|
-
code?: boolean | undefined;
|
|
82
|
-
link?: string | null | undefined;
|
|
83
|
-
color?: string | undefined;
|
|
84
|
-
italic?: boolean | undefined;
|
|
85
|
-
content?: string | null | undefined;
|
|
86
|
-
underline?: boolean | undefined;
|
|
87
|
-
strikethrough?: boolean | undefined;
|
|
88
|
-
block_property?: "file" | "paragraph" | "heading_1" | "heading_2" | "heading_3" | "bulleted_list_item" | "numbered_list_item" | "image" | "quote" | "to_do" | "video" | "toggle" | "callout" | "divider" | undefined;
|
|
89
|
-
};
|
|
90
|
-
}[];
|
|
91
|
-
parent_block_id: string;
|
|
92
|
-
after?: string | undefined;
|
|
93
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
94
|
-
connectionId: z.ZodString;
|
|
95
|
-
entityId: z.ZodString;
|
|
96
|
-
instanceId: z.ZodString;
|
|
97
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
-
accessToken: z.ZodString;
|
|
99
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
100
|
-
connectionId: z.ZodString;
|
|
101
|
-
entityId: z.ZodString;
|
|
102
|
-
instanceId: z.ZodString;
|
|
103
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
-
accessToken: z.ZodString;
|
|
105
|
-
}, z.core.$strip>>]>;
|
|
77
|
+
declare const notionAddMultiplePageContent: AppAction<typeof NotionAddMultiplePageContentInput, typeof NotionAddMultiplePageContentOutput, typeof notion.credential>;
|
|
106
78
|
//#endregion
|
|
107
79
|
export { notionAddMultiplePageContent };
|
|
108
80
|
//# sourceMappingURL=add-multiple-page-content.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-page-content.d.mts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-multiple-page-content.d.mts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-multiple-page-content.mjs","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAddMultiplePageContentInput = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).passthrough().describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\").nullable(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\").nullable(),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\").nullable(),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAChW,gBAAgB,EAAE,MAAM,EAAE,OAAO,EACjC,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO;EACjC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACxG,gBAAgB,E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,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;EAC3G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2JAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"add-multiple-page-content.mjs","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { notion } from \"../app\";\n\nexport const NotionAddMultiplePageContentInput = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).passthrough().describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\").nullable(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\").nullable(),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\").nullable(),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).passthrough().describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent: AppAction<\n typeof NotionAddMultiplePageContentInput,\n typeof NotionAddMultiplePageContentOutput,\n typeof notion.credential\n> = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAChW,gBAAgB,EAAE,MAAM,EAAE,OAAO,EACjC,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO;EACjC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,k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AAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAU7D,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;EAC3G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2JAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"append-code-blocks.cjs","names":["z","action"],"sources":["../../src/actions/append-code-blocks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAppendCodeBlocksInput = z.object({\n after: z.string().describe(\"Optional UUID of an existing child block. New blocks will be inserted after this block.\").optional(),\n block_id: z.string().describe(\"The UUID of the parent block or page to append children to.\"),\n children: z.array(z.union([z.object({\n code: z.object({\n caption: z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).passthrough().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}).passthrough().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}).passthrough().describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).passthrough().describe(\"Rich text object for creating text content in blocks.\")).nullable().optional(),\n language: z.enum([\"abap\", \"arduino\", \"bash\", \"basic\", \"c\", \"clojure\", \"coffeescript\", \"c++\", \"c#\", \"css\", \"dart\", \"diff\", \"docker\", \"elixir\", \"elm\", \"erlang\", \"flow\", \"fortran\", \"f#\", \"gherkin\", \"glsl\", \"go\", \"graphql\", \"groovy\", \"haskell\", \"html\", \"java\", \"javascript\", \"json\", \"julia\", \"kotlin\", \"latex\", \"less\", \"lisp\", \"livescript\", \"lua\", \"makefile\", \"markdown\", \"markup\", \"matlab\", \"mermaid\", \"nix\", \"objective-c\", \"ocaml\", \"pascal\", \"perl\", \"php\", \"plain text\", \"powershell\", \"prolog\", \"protobuf\", \"python\", \"r\", \"reason\", \"ruby\", \"rust\", \"sass\", \"scala\", \"scheme\", \"scss\", \"shell\", \"sql\", \"swift\", \"typescript\", \"vb.net\", \"verilog\", \"vhdl\", \"visual basic\", \"webassembly\", \"xml\", \"yaml\", \"java/c/c++/c#\"]).default(\"plain text\").describe(\"Programming language for syntax highlighting.\").optional(),\n rich_text: z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).passthrough().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}).passthrough().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}).passthrough().describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).passthrough().describe(\"Rich text object for creating text content in blocks.\")).describe(\"Array of rich text objects containing the code. Each text.content is limited to 2000 chars.\"),\n}).passthrough().describe(\"Code content.\"),\n type: z.string().default(\"code\").describe(\"Block type.\").optional(),\n object: z.string().default(\"block\").describe(\"Always 'block'.\").optional(),\n}).passthrough().describe(\"A code block object with syntax highlighting.\"), z.object({\n type: z.string().default(\"quote\").describe(\"Block type.\").optional(),\n quote: z.object({\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 quote.\").optional(),\n rich_text: z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).passthrough().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}).passthrough().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}).passthrough().describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).passthrough().describe(\"Rich text object for creating text content in blocks.\")).describe(\"Array of rich text objects for the quote text.\"),\n}).passthrough().describe(\"Quote content.\"),\n object: z.string().default(\"block\").describe(\"Always 'block'.\").optional(),\n}).passthrough().describe(\"A quote block object.\"), z.object({\n type: z.string().default(\"equation\").describe(\"Block type.\").optional(),\n object: z.string().default(\"block\").describe(\"Always 'block'.\").optional(),\n equation: z.object({\n expression: z.string().describe(\"LaTeX/KaTeX expression for the equation.\"),\n}).passthrough().describe(\"Equation content.\"),\n}).passthrough().describe(\"An equation block object (LaTeX/KaTeX).\")])).describe(\"Array of code/technical block objects to append. Supported types:\\n- code: Code snippet with syntax highlighting (supports 70+ languages)\\n- quote: Block quote for citations or highlighted text\\n- equation: Mathematical equation using LaTeX/KaTeX syntax\\n\\n⚠️ Code content limited to 2000 characters per rich_text text.content field.\\nFor longer code, split into multiple code blocks.\\nMax 100 blocks per request.\"),\n}).describe(\"Request model for appending code/technical blocks to a Notion page.\");\nconst NotionAppendCodeBlocks_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.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Notion-hosted file in API responses.\");\nconst NotionAppendCodeBlocks_TextLinkSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n}).passthrough().describe(\"Link object for hyperlinked text.\");\nconst NotionAppendCodeBlocks_RichTextTextContentSchema = z.object({\n link: NotionAppendCodeBlocks_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n}).passthrough().describe(\"Text content object in rich text responses.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Text styling annotations returned in API responses.\");\nconst NotionAppendCodeBlocks_RichTextResponseSchema = z.object({\n href: z.string().describe(\"URL if the text is a link.\").nullable().optional(),\n text: NotionAppendCodeBlocks_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: NotionAppendCodeBlocks_RichTextAnnotationsResponseSchema.nullable(),\n}).passthrough().describe(\"Rich text object returned in API responses.\");\nconst NotionAppendCodeBlocks_ExternalFileResponseSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).passthrough().describe(\"External file URL in API responses.\");\nconst NotionAppendCodeBlocks_PdfBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"PDF source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"PDF caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of a PDF block in API responses.\");\nconst NotionAppendCodeBlocks_CodeBlockContentSchema = z.object({\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Code block caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code.\").nullable(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the code.\"),\n}).passthrough().describe(\"Content of a code block in API responses.\");\nconst NotionAppendCodeBlocks_FileBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_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(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"File caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of a file block in API responses.\");\nconst NotionAppendCodeBlocks_AudioBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Audio source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Audio caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of an audio block in API responses.\");\nconst NotionAppendCodeBlocks_EmbedBlockContentSchema = z.object({\n url: z.string().describe(\"URL of the embedded content.\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Embed caption as rich text.\").nullable().optional(),\n}).passthrough().describe(\"Content of an embed block in API responses.\");\nconst NotionAppendCodeBlocks_ImageBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Image source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Image caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of an image block in API responses.\");\nconst NotionAppendCodeBlocks_QuoteBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the quote.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the quote.\"),\n}).passthrough().describe(\"Content of a quote block in API responses.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Content of a table block in API responses.\");\nconst NotionAppendCodeBlocks_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(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the to-do item.\"),\n}).passthrough().describe(\"Content of a to-do block in API responses.\");\nconst NotionAppendCodeBlocks_VideoBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Video source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Video caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of a video block in API responses.\");\nconst NotionAppendCodeBlocks_ColumnBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a column block (empty object).\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Information about a block's parent.\");\nconst NotionAppendCodeBlocks_ToggleBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the toggle.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the toggle.\"),\n}).passthrough().describe(\"Content of a toggle block in API responses.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Emoji icon in API response.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Custom emoji object in API response.\");\nconst NotionAppendCodeBlocks_IconCustomEmojiResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionAppendCodeBlocks_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon in API response.\");\nconst NotionAppendCodeBlocks_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).passthrough().describe(\"External file URL object in API response.\");\nconst NotionAppendCodeBlocks_IconExternalResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'external'.\").nullable(),\n external: NotionAppendCodeBlocks_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"External file icon in API response.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Notion-hosted file object in API response.\");\nconst NotionAppendCodeBlocks_IconFileResponseSchema = z.object({\n file: NotionAppendCodeBlocks_NotionFileObjectSchema.nullable(),\n type: z.string().describe(\"Icon type, always 'file'.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file icon in API response.\");\nconst NotionAppendCodeBlocks_CalloutBlockContentSchema = z.object({\n icon: z.union([NotionAppendCodeBlocks_IconEmojiResponseSchema, NotionAppendCodeBlocks_IconCustomEmojiResponseSchema, NotionAppendCodeBlocks_IconExternalResponseSchema, NotionAppendCodeBlocks_IconFileResponseSchema]).nullable().optional(),\n color: z.string().default(\"default\").describe(\"Color of the callout.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the callout.\"),\n}).passthrough().describe(\"Content of a callout block in API responses.\");\nconst NotionAppendCodeBlocks_DividerBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a divider block (empty object).\");\nconst NotionAppendCodeBlocks_BookmarkBlockContentSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked page.\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Bookmark caption as rich text.\").nullable().optional(),\n}).passthrough().describe(\"Content of a bookmark block in API responses.\");\nconst NotionAppendCodeBlocks_EquationBlockContentSchema = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\").nullable(),\n}).passthrough().describe(\"Content of an equation block in API responses.\");\nconst NotionAppendCodeBlocks_HeadingBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the heading.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the heading.\"),\n is_toggleable: z.boolean().default(false).describe(\"Whether the heading is toggleable.\").nullable().optional(),\n}).passthrough().describe(\"Content of a heading block in API responses.\");\nconst NotionAppendCodeBlocks_ParagraphBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the paragraph.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the paragraph.\"),\n}).passthrough().describe(\"Content of a paragraph block in API responses.\");\nconst NotionAppendCodeBlocks_TableRowBlockContentSchema = z.object({\n cells: z.array(z.array(NotionAppendCodeBlocks_RichTextResponseSchema)).describe(\"Array of cell contents (each cell is an array of rich text).\"),\n}).passthrough().describe(\"Content of a table row block in API responses.\");\nconst NotionAppendCodeBlocks_BreadcrumbBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a breadcrumb block (empty object).\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionAppendCodeBlocks_ColumnListBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a column list block (empty object).\");\nconst NotionAppendCodeBlocks_TableOfContentsBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the table of contents.\").nullable().optional(),\n}).passthrough().describe(\"Content of a table of contents block in API responses.\");\nconst NotionAppendCodeBlocks_BulletedListItemBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).passthrough().describe(\"Content of a bulleted list item block in API responses.\");\nconst NotionAppendCodeBlocks_NumberedListItemBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).passthrough().describe(\"Content of a numbered list item block in API responses.\");\nconst NotionAppendCodeBlocks_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUID v4 format).\").nullable(),\n pdf: NotionAppendCodeBlocks_PdfBlockContentSchema.nullable().optional(),\n code: NotionAppendCodeBlocks_CodeBlockContentSchema.nullable().optional(),\n file: NotionAppendCodeBlocks_FileBlockContentSchema.nullable().optional(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'image', 'bookmark').\").nullable(),\n audio: NotionAppendCodeBlocks_AudioBlockContentSchema.nullable().optional(),\n embed: NotionAppendCodeBlocks_EmbedBlockContentSchema.nullable().optional(),\n image: NotionAppendCodeBlocks_ImageBlockContentSchema.nullable().optional(),\n quote: NotionAppendCodeBlocks_QuoteBlockContentSchema.nullable().optional(),\n table: NotionAppendCodeBlocks_TableBlockContentSchema.nullable().optional(),\n to_do: NotionAppendCodeBlocks_ToDoBlockContentSchema.nullable().optional(),\n video: NotionAppendCodeBlocks_VideoBlockContentSchema.nullable().optional(),\n column: NotionAppendCodeBlocks_ColumnBlockContentSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAppendCodeBlocks_BlockParentSchema.nullable().optional(),\n toggle: NotionAppendCodeBlocks_ToggleBlockContentSchema.nullable().optional(),\n callout: NotionAppendCodeBlocks_CalloutBlockContentSchema.nullable().optional(),\n divider: NotionAppendCodeBlocks_DividerBlockContentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionAppendCodeBlocks_BookmarkBlockContentSchema.nullable().optional(),\n equation: NotionAppendCodeBlocks_EquationBlockContentSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash.\").nullable().optional(),\n heading_1: NotionAppendCodeBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_2: NotionAppendCodeBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_3: NotionAppendCodeBlocks_HeadingBlockContentSchema.nullable().optional(),\n paragraph: NotionAppendCodeBlocks_ParagraphBlockContentSchema.nullable().optional(),\n table_row: NotionAppendCodeBlocks_TableRowBlockContentSchema.nullable().optional(),\n breadcrumb: NotionAppendCodeBlocks_BreadcrumbBlockContentSchema.nullable().optional(),\n created_by: NotionAppendCodeBlocks_PartialUserSchema.nullable().optional(),\n column_list: NotionAppendCodeBlocks_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: NotionAppendCodeBlocks_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: NotionAppendCodeBlocks_TableOfContentsBlockContentSchema.nullable().optional(),\n bulleted_list_item: NotionAppendCodeBlocks_BulletedListItemBlockContentSchema.nullable().optional(),\n numbered_list_item: NotionAppendCodeBlocks_NumberedListItemBlockContentSchema.nullable().optional(),\n}).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.\");\nexport const NotionAppendCodeBlocksOutput = z.object({\n type: z.string().describe(\"The type of items in the results array. Always 'block'.\").nullable(),\n block: NotionAppendCodeBlocks_EmptyBlockObjectSchema.nullable(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionAppendCodeBlocks_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}).passthrough().describe(\"Standard response model for all append block actions.\");\n\nexport const notionAppendCodeBlocks = action(\"NOTION_APPEND_CODE_BLOCKS\", {\n slug: \"notion-append-code-blocks\",\n name: \"Append code blocks (code, quote, equation)\",\n description: \"Append code and technical blocks (code, quote, equation) to a Notion page. Use for: - Code snippets and programming examples (code) - Citations and highlighted quotes (quote) - Mathematical formulas and equations (equation) Supported block types: - code: Code with syntax highlighting (70+ languages including Python, JavaScript, Go, Rust, etc.) - quote: Block quotes for citations - equation: LaTeX/KaTeX mathematical expressions ⚠️ Code content is limited to 2000 characters per text.content field. For longer code, split into multiple code blocks. For other block types, use specialized actions: - append_text_blocks: paragraphs, headings, lists - append_task_blocks: to-do, toggle, callout - append_media_blocks: image, video, audio, files - append_layout_blocks: divider, columns, TOC - append_table_blocks: tables\",\n input: NotionAppendCodeBlocksInput,\n output: NotionAppendCodeBlocksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC3F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;GACpC,MAAMA,IAAAA,EAAE,OAAO;IACf,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;KAC1B,MAAMA,IAAAA,EAAE,OAAO;MACf,MAAMA,IAAAA,EAAE,OAAO,E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AAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAO,8CAA8C,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sEAAsE;CACpI,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"append-code-blocks.cjs","names":["z","action"],"sources":["../../src/actions/append-code-blocks.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { notion } from \"../app\";\n\nexport const NotionAppendCodeBlocksInput = z.object({\n after: z.string().describe(\"Optional UUID of an existing child block. New blocks will be inserted after this block.\").optional(),\n block_id: z.string().describe(\"The UUID of the parent block or page to append children to.\"),\n children: z.array(z.union([z.object({\n code: z.object({\n caption: z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).passthrough().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}).passthrough().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}).passthrough().describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).passthrough().describe(\"Rich text object for creating text content in blocks.\")).nullable().optional(),\n language: z.enum([\"abap\", \"arduino\", \"bash\", \"basic\", \"c\", \"clojure\", \"coffeescript\", \"c++\", \"c#\", \"css\", \"dart\", \"diff\", \"docker\", \"elixir\", \"elm\", \"erlang\", \"flow\", \"fortran\", \"f#\", \"gherkin\", \"glsl\", \"go\", \"graphql\", \"groovy\", \"haskell\", \"html\", \"java\", \"javascript\", \"json\", \"julia\", \"kotlin\", \"latex\", \"less\", \"lisp\", \"livescript\", \"lua\", \"makefile\", \"markdown\", \"markup\", \"matlab\", \"mermaid\", \"nix\", \"objective-c\", \"ocaml\", \"pascal\", \"perl\", \"php\", \"plain text\", \"powershell\", \"prolog\", \"protobuf\", \"python\", \"r\", \"reason\", \"ruby\", \"rust\", \"sass\", \"scala\", \"scheme\", \"scss\", \"shell\", \"sql\", \"swift\", \"typescript\", \"vb.net\", \"verilog\", \"vhdl\", \"visual basic\", \"webassembly\", \"xml\", \"yaml\", \"java/c/c++/c#\"]).default(\"plain text\").describe(\"Programming language for syntax highlighting.\").optional(),\n rich_text: z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).passthrough().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}).passthrough().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}).passthrough().describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).passthrough().describe(\"Rich text object for creating text content in blocks.\")).describe(\"Array of rich text objects containing the code. Each text.content is limited to 2000 chars.\"),\n}).passthrough().describe(\"Code content.\"),\n type: z.string().default(\"code\").describe(\"Block type.\").optional(),\n object: z.string().default(\"block\").describe(\"Always 'block'.\").optional(),\n}).passthrough().describe(\"A code block object with syntax highlighting.\"), z.object({\n type: z.string().default(\"quote\").describe(\"Block type.\").optional(),\n quote: z.object({\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 quote.\").optional(),\n rich_text: z.array(z.object({\n text: z.object({\n link: z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n}).passthrough().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}).passthrough().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}).passthrough().describe(\"Text styling annotations for rich text.\").nullable().optional(),\n}).passthrough().describe(\"Rich text object for creating text content in blocks.\")).describe(\"Array of rich text objects for the quote text.\"),\n}).passthrough().describe(\"Quote content.\"),\n object: z.string().default(\"block\").describe(\"Always 'block'.\").optional(),\n}).passthrough().describe(\"A quote block object.\"), z.object({\n type: z.string().default(\"equation\").describe(\"Block type.\").optional(),\n object: z.string().default(\"block\").describe(\"Always 'block'.\").optional(),\n equation: z.object({\n expression: z.string().describe(\"LaTeX/KaTeX expression for the equation.\"),\n}).passthrough().describe(\"Equation content.\"),\n}).passthrough().describe(\"An equation block object (LaTeX/KaTeX).\")])).describe(\"Array of code/technical block objects to append. Supported types:\\n- code: Code snippet with syntax highlighting (supports 70+ languages)\\n- quote: Block quote for citations or highlighted text\\n- equation: Mathematical equation using LaTeX/KaTeX syntax\\n\\n⚠️ Code content limited to 2000 characters per rich_text text.content field.\\nFor longer code, split into multiple code blocks.\\nMax 100 blocks per request.\"),\n}).describe(\"Request model for appending code/technical blocks to a Notion page.\");\nconst NotionAppendCodeBlocks_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.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Notion-hosted file in API responses.\");\nconst NotionAppendCodeBlocks_TextLinkSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n}).passthrough().describe(\"Link object for hyperlinked text.\");\nconst NotionAppendCodeBlocks_RichTextTextContentSchema = z.object({\n link: NotionAppendCodeBlocks_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n}).passthrough().describe(\"Text content object in rich text responses.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Text styling annotations returned in API responses.\");\nconst NotionAppendCodeBlocks_RichTextResponseSchema = z.object({\n href: z.string().describe(\"URL if the text is a link.\").nullable().optional(),\n text: NotionAppendCodeBlocks_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: NotionAppendCodeBlocks_RichTextAnnotationsResponseSchema.nullable(),\n}).passthrough().describe(\"Rich text object returned in API responses.\");\nconst NotionAppendCodeBlocks_ExternalFileResponseSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).passthrough().describe(\"External file URL in API responses.\");\nconst NotionAppendCodeBlocks_PdfBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"PDF source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"PDF caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of a PDF block in API responses.\");\nconst NotionAppendCodeBlocks_CodeBlockContentSchema = z.object({\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Code block caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code.\").nullable(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the code.\"),\n}).passthrough().describe(\"Content of a code block in API responses.\");\nconst NotionAppendCodeBlocks_FileBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_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(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"File caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of a file block in API responses.\");\nconst NotionAppendCodeBlocks_AudioBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Audio source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Audio caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of an audio block in API responses.\");\nconst NotionAppendCodeBlocks_EmbedBlockContentSchema = z.object({\n url: z.string().describe(\"URL of the embedded content.\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Embed caption as rich text.\").nullable().optional(),\n}).passthrough().describe(\"Content of an embed block in API responses.\");\nconst NotionAppendCodeBlocks_ImageBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Image source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Image caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of an image block in API responses.\");\nconst NotionAppendCodeBlocks_QuoteBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the quote.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the quote.\"),\n}).passthrough().describe(\"Content of a quote block in API responses.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Content of a table block in API responses.\");\nconst NotionAppendCodeBlocks_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(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the to-do item.\"),\n}).passthrough().describe(\"Content of a to-do block in API responses.\");\nconst NotionAppendCodeBlocks_VideoBlockContentSchema = z.object({\n file: NotionAppendCodeBlocks_NotionHostedFileResponseSchema.nullable().optional(),\n type: z.string().describe(\"Video source type (external, file).\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Video caption as rich text.\").nullable().optional(),\n external: NotionAppendCodeBlocks_ExternalFileResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Content of a video block in API responses.\");\nconst NotionAppendCodeBlocks_ColumnBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a column block (empty object).\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Information about a block's parent.\");\nconst NotionAppendCodeBlocks_ToggleBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the toggle.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the toggle.\"),\n}).passthrough().describe(\"Content of a toggle block in API responses.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Emoji icon in API response.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Custom emoji object in API response.\");\nconst NotionAppendCodeBlocks_IconCustomEmojiResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionAppendCodeBlocks_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon in API response.\");\nconst NotionAppendCodeBlocks_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"URL of the external file.\").nullable(),\n}).passthrough().describe(\"External file URL object in API response.\");\nconst NotionAppendCodeBlocks_IconExternalResponseSchema = z.object({\n type: z.string().describe(\"Icon type, always 'external'.\").nullable(),\n external: NotionAppendCodeBlocks_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"External file icon in API response.\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Notion-hosted file object in API response.\");\nconst NotionAppendCodeBlocks_IconFileResponseSchema = z.object({\n file: NotionAppendCodeBlocks_NotionFileObjectSchema.nullable(),\n type: z.string().describe(\"Icon type, always 'file'.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file icon in API response.\");\nconst NotionAppendCodeBlocks_CalloutBlockContentSchema = z.object({\n icon: z.union([NotionAppendCodeBlocks_IconEmojiResponseSchema, NotionAppendCodeBlocks_IconCustomEmojiResponseSchema, NotionAppendCodeBlocks_IconExternalResponseSchema, NotionAppendCodeBlocks_IconFileResponseSchema]).nullable().optional(),\n color: z.string().default(\"default\").describe(\"Color of the callout.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the callout.\"),\n}).passthrough().describe(\"Content of a callout block in API responses.\");\nconst NotionAppendCodeBlocks_DividerBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a divider block (empty object).\");\nconst NotionAppendCodeBlocks_BookmarkBlockContentSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked page.\").nullable(),\n caption: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Bookmark caption as rich text.\").nullable().optional(),\n}).passthrough().describe(\"Content of a bookmark block in API responses.\");\nconst NotionAppendCodeBlocks_EquationBlockContentSchema = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\").nullable(),\n}).passthrough().describe(\"Content of an equation block in API responses.\");\nconst NotionAppendCodeBlocks_HeadingBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the heading.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the heading.\"),\n is_toggleable: z.boolean().default(false).describe(\"Whether the heading is toggleable.\").nullable().optional(),\n}).passthrough().describe(\"Content of a heading block in API responses.\");\nconst NotionAppendCodeBlocks_ParagraphBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the paragraph.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the paragraph.\"),\n}).passthrough().describe(\"Content of a paragraph block in API responses.\");\nconst NotionAppendCodeBlocks_TableRowBlockContentSchema = z.object({\n cells: z.array(z.array(NotionAppendCodeBlocks_RichTextResponseSchema)).describe(\"Array of cell contents (each cell is an array of rich text).\"),\n}).passthrough().describe(\"Content of a table row block in API responses.\");\nconst NotionAppendCodeBlocks_BreadcrumbBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a breadcrumb block (empty object).\");\nconst NotionAppendCodeBlocks_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}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionAppendCodeBlocks_ColumnListBlockContentSchema = z.record(z.string(), z.unknown()).describe(\"Content of a column list block (empty object).\");\nconst NotionAppendCodeBlocks_TableOfContentsBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the table of contents.\").nullable().optional(),\n}).passthrough().describe(\"Content of a table of contents block in API responses.\");\nconst NotionAppendCodeBlocks_BulletedListItemBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).passthrough().describe(\"Content of a bulleted list item block in API responses.\");\nconst NotionAppendCodeBlocks_NumberedListItemBlockContentSchema = z.object({\n color: z.string().default(\"default\").describe(\"Color of the list item.\").nullable().optional(),\n rich_text: z.array(NotionAppendCodeBlocks_RichTextResponseSchema).describe(\"Rich text content of the list item.\"),\n}).passthrough().describe(\"Content of a numbered list item block in API responses.\");\nconst NotionAppendCodeBlocks_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUID v4 format).\").nullable(),\n pdf: NotionAppendCodeBlocks_PdfBlockContentSchema.nullable().optional(),\n code: NotionAppendCodeBlocks_CodeBlockContentSchema.nullable().optional(),\n file: NotionAppendCodeBlocks_FileBlockContentSchema.nullable().optional(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'image', 'bookmark').\").nullable(),\n audio: NotionAppendCodeBlocks_AudioBlockContentSchema.nullable().optional(),\n embed: NotionAppendCodeBlocks_EmbedBlockContentSchema.nullable().optional(),\n image: NotionAppendCodeBlocks_ImageBlockContentSchema.nullable().optional(),\n quote: NotionAppendCodeBlocks_QuoteBlockContentSchema.nullable().optional(),\n table: NotionAppendCodeBlocks_TableBlockContentSchema.nullable().optional(),\n to_do: NotionAppendCodeBlocks_ToDoBlockContentSchema.nullable().optional(),\n video: NotionAppendCodeBlocks_VideoBlockContentSchema.nullable().optional(),\n column: NotionAppendCodeBlocks_ColumnBlockContentSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAppendCodeBlocks_BlockParentSchema.nullable().optional(),\n toggle: NotionAppendCodeBlocks_ToggleBlockContentSchema.nullable().optional(),\n callout: NotionAppendCodeBlocks_CalloutBlockContentSchema.nullable().optional(),\n divider: NotionAppendCodeBlocks_DividerBlockContentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionAppendCodeBlocks_BookmarkBlockContentSchema.nullable().optional(),\n equation: NotionAppendCodeBlocks_EquationBlockContentSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash.\").nullable().optional(),\n heading_1: NotionAppendCodeBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_2: NotionAppendCodeBlocks_HeadingBlockContentSchema.nullable().optional(),\n heading_3: NotionAppendCodeBlocks_HeadingBlockContentSchema.nullable().optional(),\n paragraph: NotionAppendCodeBlocks_ParagraphBlockContentSchema.nullable().optional(),\n table_row: NotionAppendCodeBlocks_TableRowBlockContentSchema.nullable().optional(),\n breadcrumb: NotionAppendCodeBlocks_BreadcrumbBlockContentSchema.nullable().optional(),\n created_by: NotionAppendCodeBlocks_PartialUserSchema.nullable().optional(),\n column_list: NotionAppendCodeBlocks_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: NotionAppendCodeBlocks_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: NotionAppendCodeBlocks_TableOfContentsBlockContentSchema.nullable().optional(),\n bulleted_list_item: NotionAppendCodeBlocks_BulletedListItemBlockContentSchema.nullable().optional(),\n numbered_list_item: NotionAppendCodeBlocks_NumberedListItemBlockContentSchema.nullable().optional(),\n}).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.\");\nexport const NotionAppendCodeBlocksOutput = z.object({\n type: z.string().describe(\"The type of items in the results array. Always 'block'.\").nullable(),\n block: NotionAppendCodeBlocks_EmptyBlockObjectSchema.nullable(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionAppendCodeBlocks_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}).passthrough().describe(\"Standard response model for all append block actions.\");\n\nexport const notionAppendCodeBlocks: AppAction<\n typeof NotionAppendCodeBlocksInput,\n typeof NotionAppendCodeBlocksOutput,\n typeof notion.credential\n> = action(\"NOTION_APPEND_CODE_BLOCKS\", {\n slug: \"notion-append-code-blocks\",\n name: \"Append code blocks (code, quote, equation)\",\n description: \"Append code and technical blocks (code, quote, equation) to a Notion page. Use for: - Code snippets and programming examples (code) - Citations and highlighted quotes (quote) - Mathematical formulas and equations (equation) Supported block types: - code: Code with syntax highlighting (70+ languages including Python, JavaScript, Go, Rust, etc.) - quote: Block quotes for citations - equation: LaTeX/KaTeX mathematical expressions ⚠️ Code content is limited to 2000 characters per text.content field. For longer code, split into multiple code blocks. For other block types, use specialized actions: - append_text_blocks: paragraphs, headings, lists - append_task_blocks: to-do, toggle, callout - append_media_blocks: image, video, audio, files - append_layout_blocks: divider, columns, TOC - append_table_blocks: tables\",\n input: NotionAppendCodeBlocksInput,\n output: NotionAppendCodeBlocksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC3F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;GACpC,MAAMA,IAAAA,EAAE,OAAO;IACf,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;KAC1B,MAAMA,IAAAA,EAAE,OAAO;MACf,MAAMA,IAAAA,EAAE,OAAO,EACf,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;MACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;KAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;KAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,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