@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
|
@@ -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/fetch-row.d.ts
|
|
@@ -149,21 +151,7 @@ declare const NotionFetchRowOutput: z.ZodObject<{
|
|
|
149
151
|
}, z.core.$loose>>;
|
|
150
152
|
last_edited_time: z.ZodNullable<z.ZodString>;
|
|
151
153
|
}, z.core.$loose>;
|
|
152
|
-
declare const notionFetchRow:
|
|
153
|
-
page_id: string;
|
|
154
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
155
|
-
connectionId: z.ZodString;
|
|
156
|
-
entityId: z.ZodString;
|
|
157
|
-
instanceId: z.ZodString;
|
|
158
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
accessToken: z.ZodString;
|
|
160
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
161
|
-
connectionId: z.ZodString;
|
|
162
|
-
entityId: z.ZodString;
|
|
163
|
-
instanceId: z.ZodString;
|
|
164
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
165
|
-
accessToken: z.ZodString;
|
|
166
|
-
}, z.core.$strip>>]>;
|
|
154
|
+
declare const notionFetchRow: AppAction<typeof NotionFetchRowInput, typeof NotionFetchRowOutput, typeof notion.credential>;
|
|
167
155
|
//#endregion
|
|
168
156
|
export { notionFetchRow };
|
|
169
157
|
//# sourceMappingURL=fetch-row.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-row.d.cts","names":[],"sources":["../../src/actions/fetch-row.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch-row.d.cts","names":[],"sources":["../../src/actions/fetch-row.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cA+FnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,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/fetch-row.d.ts
|
|
@@ -149,21 +151,7 @@ declare const NotionFetchRowOutput: z.ZodObject<{
|
|
|
149
151
|
}, z.core.$loose>>;
|
|
150
152
|
last_edited_time: z.ZodNullable<z.ZodString>;
|
|
151
153
|
}, z.core.$loose>;
|
|
152
|
-
declare const notionFetchRow:
|
|
153
|
-
page_id: string;
|
|
154
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
155
|
-
connectionId: z.ZodString;
|
|
156
|
-
entityId: z.ZodString;
|
|
157
|
-
instanceId: z.ZodString;
|
|
158
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
-
accessToken: z.ZodString;
|
|
160
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
161
|
-
connectionId: z.ZodString;
|
|
162
|
-
entityId: z.ZodString;
|
|
163
|
-
instanceId: z.ZodString;
|
|
164
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
165
|
-
accessToken: z.ZodString;
|
|
166
|
-
}, z.core.$strip>>]>;
|
|
154
|
+
declare const notionFetchRow: AppAction<typeof NotionFetchRowInput, typeof NotionFetchRowOutput, typeof notion.credential>;
|
|
167
155
|
//#endregion
|
|
168
156
|
export { notionFetchRow };
|
|
169
157
|
//# sourceMappingURL=fetch-row.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-row.d.mts","names":[],"sources":["../../src/actions/fetch-row.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch-row.d.mts","names":[],"sources":["../../src/actions/fetch-row.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cA+FnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-row.mjs","names":[],"sources":["../../src/actions/fetch-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchRowInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page (which represents a row in a database) to retrieve. Must be a page ID, not a database ID. Each row in a Notion database is a page. Use actions like NOTION_FETCH_DATA or NOTION_QUERY_DATABASE to get page IDs from databases.\"),\n});\nconst NotionFetchRow_EmojiObjectSchema = z.object({\n type: z.string().nullable(),\n emoji: z.string().nullable(),\n}).passthrough();\nconst NotionFetchRow_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji (UUID).\").nullable(),\n url: z.string().describe(\"URL to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n}).passthrough().describe(\"Custom emoji details.\");\nconst NotionFetchRow_CustomEmojiIconSchema = z.object({\n type: z.string().nullable(),\n custom_emoji: NotionFetchRow_CustomEmojiDetailsSchema.nullable(),\n}).passthrough();\nconst NotionFetchRow_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n}).passthrough();\nconst NotionFetchRow_FileObjectExternalSchema = z.object({\n type: z.string().nullable(),\n external: NotionFetchRow_ExternalFileDetailsSchema.nullable(),\n}).passthrough();\nconst NotionFetchRow_FileUploadDetailsSchema = z.object({\n id: z.string().describe(\"ID of the uploaded file (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_FileObjectFileUploadSchema = z.object({\n type: z.string().nullable(),\n file_upload: NotionFetchRow_FileUploadDetailsSchema.nullable(),\n}).passthrough();\nconst NotionFetchRow_NotionHostedFileDetailsSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the temporary URL (ISO 8601 format).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_FileObjectFileSchema = z.object({\n file: NotionFetchRow_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentDataSourceSchema = z.object({\n type: z.string().nullable(),\n data_source_id: z.string().describe(\"Data source ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentDatabaseSchema = z.object({\n type: z.string().nullable(),\n database_id: z.string().describe(\"Database ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentPageSchema = z.object({\n type: z.string().nullable(),\n page_id: z.string().describe(\"Page ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentBlockSchema = z.object({\n type: z.string().nullable(),\n block_id: z.string().describe(\"Block ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_BotOwnerWorkspaceSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Boolean flag indicating workspace ownership.\").nullable(),\n}).passthrough().describe(\"Bot owner when owned by a workspace.\");\nconst NotionFetchRow_PersonDetailsSchema = z.object({\n email: z.string().describe(\"Email address of the person (requires user capability).\").nullable().optional(),\n}).passthrough().describe(\"Person-specific details when user type is 'person'.\");\nconst NotionFetchRow_BotOwnerUserDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.string().describe(\"Type of user - always 'person' for bot owners.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionFetchRow_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n}).passthrough().describe(\"Simplified user details for bot owner to avoid circular reference.\\n\\nWhen a bot is owned by a user, this contains the basic info of that user.\");\nconst NotionFetchRow_BotOwnerUserSchema = z.object({\n type: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n user: NotionFetchRow_BotOwnerUserDetailsSchema.nullable(),\n}).passthrough().describe(\"Bot owner when owned by a user.\");\nconst NotionFetchRow_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum uploadable file size in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Workspace limits for bot users.\");\nconst NotionFetchRow_BotDetailsSchema = z.object({\n owner: z.union([NotionFetchRow_BotOwnerWorkspaceSchema, NotionFetchRow_BotOwnerUserSchema]).nullable().optional(),\n workspace_id: z.string().describe(\"ID of bot's workspace.\").nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name if owner type is workspace; null otherwise.\").nullable().optional(),\n workspace_limits: NotionFetchRow_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough().describe(\"Bot-specific details when user type is 'bot'.\");\nconst NotionFetchRow_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionFetchRow_BotDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionFetchRow_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n}).passthrough();\nexport const NotionFetchRowOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionFetchRow_EmojiObjectSchema, NotionFetchRow_CustomEmojiIconSchema, NotionFetchRow_FileObjectExternalSchema, NotionFetchRow_FileObjectFileUploadSchema, NotionFetchRow_FileObjectFileSchema]).nullable().optional(),\n cover: z.union([NotionFetchRow_FileObjectExternalSchema, NotionFetchRow_FileObjectFileUploadSchema, NotionFetchRow_FileObjectFileSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\".\").nullable(),\n parent: z.union([NotionFetchRow_ParentDataSourceSchema, NotionFetchRow_ParentDatabaseSchema, NotionFetchRow_ParentPageSchema, NotionFetchRow_ParentWorkspaceSchema, NotionFetchRow_ParentBlockSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable(),\n is_locked: z.boolean().nullable().optional(),\n created_by: NotionFetchRow_PartialUserSchema.nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.\"),\n public_url: z.string().describe(\"The public page URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created (ISO 8601 format).\").nullable(),\n last_edited_by: NotionFetchRow_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when this page was last edited (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"NOTION_FETCH_ROW - Response Schema\\n\\nResponse for fetching a Notion database row (page). Returns the page object directly\\nfrom the Notion API without additional wrapping, preserving all fields and structures\\nfrom Notion's official Retrieve a Page response.\");\n\nexport const notionFetchRow = action(\"NOTION_FETCH_ROW\", {\n slug: \"notion-fetch-row\",\n name: \"Fetch database row\",\n description: \"Retrieves a Notion database row's properties and metadata; use fetch_block_contents for page content blocks.\",\n input: NotionFetchRowInput,\n output: NotionFetchRowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE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AM,EAAE,MAAM;GAAC;GAAkC;GAAsC;GAAyC;GAA2C;EAAmC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrO,OAAO,EAAE,MAAM;GAAC;GAAyC;GAA2C;EAAmC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,MAAM;GAAC;GAAuC;GAAqC;GAAiC;GAAsC;EAAgC,CAAC;EACrM,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,YAAY,iCAAiC,SAAS;EACtD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI;EACvL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC1G,gBAAgB,iCAAiC,SAAS;EAC1D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qQAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"fetch-row.mjs","names":[],"sources":["../../src/actions/fetch-row.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 NotionFetchRowInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page (which represents a row in a database) to retrieve. Must be a page ID, not a database ID. Each row in a Notion database is a page. Use actions like NOTION_FETCH_DATA or NOTION_QUERY_DATABASE to get page IDs from databases.\"),\n});\nconst NotionFetchRow_EmojiObjectSchema = z.object({\n type: z.string().nullable(),\n emoji: z.string().nullable(),\n}).passthrough();\nconst NotionFetchRow_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji (UUID).\").nullable(),\n url: z.string().describe(\"URL to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable().optional(),\n}).passthrough().describe(\"Custom emoji details.\");\nconst NotionFetchRow_CustomEmojiIconSchema = z.object({\n type: z.string().nullable(),\n custom_emoji: NotionFetchRow_CustomEmojiDetailsSchema.nullable(),\n}).passthrough();\nconst NotionFetchRow_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n}).passthrough();\nconst NotionFetchRow_FileObjectExternalSchema = z.object({\n type: z.string().nullable(),\n external: NotionFetchRow_ExternalFileDetailsSchema.nullable(),\n}).passthrough();\nconst NotionFetchRow_FileUploadDetailsSchema = z.object({\n id: z.string().describe(\"ID of the uploaded file (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_FileObjectFileUploadSchema = z.object({\n type: z.string().nullable(),\n file_upload: NotionFetchRow_FileUploadDetailsSchema.nullable(),\n}).passthrough();\nconst NotionFetchRow_NotionHostedFileDetailsSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"Expiration time of the temporary URL (ISO 8601 format).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_FileObjectFileSchema = z.object({\n file: NotionFetchRow_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentDataSourceSchema = z.object({\n type: z.string().nullable(),\n data_source_id: z.string().describe(\"Data source ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentDatabaseSchema = z.object({\n type: z.string().nullable(),\n database_id: z.string().describe(\"Database ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentPageSchema = z.object({\n type: z.string().nullable(),\n page_id: z.string().describe(\"Page ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentWorkspaceSchema = z.object({\n type: z.string().nullable(),\n workspace: z.boolean().nullable(),\n}).passthrough();\nconst NotionFetchRow_ParentBlockSchema = z.object({\n type: z.string().nullable(),\n block_id: z.string().describe(\"Block ID (UUID).\").nullable(),\n}).passthrough();\nconst NotionFetchRow_BotOwnerWorkspaceSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Boolean flag indicating workspace ownership.\").nullable(),\n}).passthrough().describe(\"Bot owner when owned by a workspace.\");\nconst NotionFetchRow_PersonDetailsSchema = z.object({\n email: z.string().describe(\"Email address of the person (requires user capability).\").nullable().optional(),\n}).passthrough().describe(\"Person-specific details when user type is 'person'.\");\nconst NotionFetchRow_BotOwnerUserDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.string().describe(\"Type of user - always 'person' for bot owners.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionFetchRow_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n}).passthrough().describe(\"Simplified user details for bot owner to avoid circular reference.\\n\\nWhen a bot is owned by a user, this contains the basic info of that user.\");\nconst NotionFetchRow_BotOwnerUserSchema = z.object({\n type: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n user: NotionFetchRow_BotOwnerUserDetailsSchema.nullable(),\n}).passthrough().describe(\"Bot owner when owned by a user.\");\nconst NotionFetchRow_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum uploadable file size in bytes.\").nullable().optional(),\n}).passthrough().describe(\"Workspace limits for bot users.\");\nconst NotionFetchRow_BotDetailsSchema = z.object({\n owner: z.union([NotionFetchRow_BotOwnerWorkspaceSchema, NotionFetchRow_BotOwnerUserSchema]).nullable().optional(),\n workspace_id: z.string().describe(\"ID of bot's workspace.\").nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name if owner type is workspace; null otherwise.\").nullable().optional(),\n workspace_limits: NotionFetchRow_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough().describe(\"Bot-specific details when user type is 'bot'.\");\nconst NotionFetchRow_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n bot: NotionFetchRow_BotDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n person: NotionFetchRow_PersonDetailsSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL to the user's avatar image, or null.\").nullable().optional(),\n}).passthrough();\nexport const NotionFetchRowOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionFetchRow_EmojiObjectSchema, NotionFetchRow_CustomEmojiIconSchema, NotionFetchRow_FileObjectExternalSchema, NotionFetchRow_FileObjectFileUploadSchema, NotionFetchRow_FileObjectFileSchema]).nullable().optional(),\n cover: z.union([NotionFetchRow_FileObjectExternalSchema, NotionFetchRow_FileObjectFileUploadSchema, NotionFetchRow_FileObjectFileSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\".\").nullable(),\n parent: z.union([NotionFetchRow_ParentDataSourceSchema, NotionFetchRow_ParentDatabaseSchema, NotionFetchRow_ParentPageSchema, NotionFetchRow_ParentWorkspaceSchema, NotionFetchRow_ParentBlockSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable(),\n is_locked: z.boolean().nullable().optional(),\n created_by: NotionFetchRow_PartialUserSchema.nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys are property names, values are property value objects with id, type, and type-specific data.\"),\n public_url: z.string().describe(\"The public page URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n request_id: z.string().nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created (ISO 8601 format).\").nullable(),\n last_edited_by: NotionFetchRow_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when this page was last edited (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"NOTION_FETCH_ROW - Response Schema\\n\\nResponse for fetching a Notion database row (page). Returns the page object directly\\nfrom the Notion API without additional wrapping, preserving all fields and structures\\nfrom Notion's official Retrieve a Page response.\");\n\nexport const notionFetchRow: AppAction<\n typeof NotionFetchRowInput,\n typeof NotionFetchRowOutput,\n typeof notion.credential\n> = action(\"NOTION_FETCH_ROW\", {\n slug: \"notion-fetch-row\",\n name: \"Fetch database row\",\n description: \"Retrieves a Notion database row's properties and metadata; use fetch_block_contents for page content blocks.\",\n input: NotionFetchRowInput,\n output: NotionFetchRowOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4PAA4P,EAC3R,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;AAC7B,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,KAAK,EAAE,OAAO,CAAC,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EAAgC,CAAC;EACrM,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,YAAY,iCAAiC,SAAS;EACtD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI;EACvL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC1G,gBAAgB,iCAAiC,SAAS;EAC1D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qQAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-about-user.cjs","names":["z","action"],"sources":["../../src/actions/get-about-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetAboutUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.\"),\n});\nconst NotionGetAboutUser_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_NestedPersonUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person who authorized the integration.\").nullable(),\n name: z.string().describe(\"Person’s display name, if available.\").nullable().optional(),\n type: z.string().describe(\"Type of nested user; for an authorizing human this is \\\"person\\\".\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\" for the nested user object.\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the person's avatar image, if set.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner for this bot.\").nullable(),\n user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Present and true when the owner.type is \\\"workspace\\\".\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum allowable size for a file upload in bytes.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotInfoSchema = z.object({\n owner: NotionGetAboutUser_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the bot's workspace, when available.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot when owner.type is \\\"workspace\\\". If owner.type is \\\"user\\\", this is null.\").nullable().optional(),\n workspace_limits: NotionGetAboutUser_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nexport const NotionGetAboutUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for this user.\").nullable(),\n bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's display name. May be null or omitted.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of the user; \\\"person\\\" or \\\"bot\\\".\").nullable(),\n object: z.string().describe(\"Always the string \\\"user\\\".\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image, if set.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.\").nullable().optional(),\n}).passthrough();\n\nexport const notionGetAboutUser = action(\"NOTION_GET_ABOUT_USER\", {\n slug: \"notion-get-about-user\",\n name: \"Get about user\",\n description: \"Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.\",\n input: NotionGetAboutUserInput,\n output: NotionGetAboutUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-about-user.cjs","names":["z","action"],"sources":["../../src/actions/get-about-user.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 NotionGetAboutUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.\"),\n});\nconst NotionGetAboutUser_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_NestedPersonUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person who authorized the integration.\").nullable(),\n name: z.string().describe(\"Person’s display name, if available.\").nullable().optional(),\n type: z.string().describe(\"Type of nested user; for an authorizing human this is \\\"person\\\".\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\" for the nested user object.\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the person's avatar image, if set.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner for this bot.\").nullable(),\n user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Present and true when the owner.type is \\\"workspace\\\".\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum allowable size for a file upload in bytes.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotInfoSchema = z.object({\n owner: NotionGetAboutUser_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the bot's workspace, when available.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot when owner.type is \\\"workspace\\\". If owner.type is \\\"user\\\", this is null.\").nullable().optional(),\n workspace_limits: NotionGetAboutUser_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nexport const NotionGetAboutUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for this user.\").nullable(),\n bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's display name. May be null or omitted.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of the user; \\\"person\\\" or \\\"bot\\\".\").nullable(),\n object: z.string().describe(\"Always the string \\\"user\\\".\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image, if set.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.\").nullable().optional(),\n}).passthrough();\n\nexport const notionGetAboutUser: AppAction<\n typeof NotionGetAboutUserInput,\n typeof NotionGetAboutUserOutput,\n typeof notion.credential\n> = action(\"NOTION_GET_ABOUT_USER\", {\n slug: \"notion-get-about-user\",\n name: \"Get about user\",\n description: \"Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.\",\n input: NotionGetAboutUserInput,\n output: NotionGetAboutUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAChK,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC,CAAC,CAAC,YAAY;AACf,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,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,KAAK,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClQ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/get-about-user.d.ts
|
|
@@ -42,21 +44,7 @@ declare const NotionGetAboutUserOutput: z.ZodObject<{
|
|
|
42
44
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const notionGetAboutUser:
|
|
46
|
-
user_id: string;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
accessToken: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
accessToken: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
47
|
+
declare const notionGetAboutUser: AppAction<typeof NotionGetAboutUserInput, typeof NotionGetAboutUserOutput, typeof notion.credential>;
|
|
60
48
|
//#endregion
|
|
61
49
|
export { notionGetAboutUser };
|
|
62
50
|
//# sourceMappingURL=get-about-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-about-user.d.cts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-about-user.d.cts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cA4BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-about-user.d.ts
|
|
@@ -42,21 +44,7 @@ declare const NotionGetAboutUserOutput: z.ZodObject<{
|
|
|
42
44
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const notionGetAboutUser:
|
|
46
|
-
user_id: string;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
accessToken: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
accessToken: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
47
|
+
declare const notionGetAboutUser: AppAction<typeof NotionGetAboutUserInput, typeof NotionGetAboutUserOutput, typeof notion.credential>;
|
|
60
48
|
//#endregion
|
|
61
49
|
export { notionGetAboutUser };
|
|
62
50
|
//# sourceMappingURL=get-about-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-about-user.d.mts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-about-user.d.mts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cA4BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-about-user.mjs","names":[],"sources":["../../src/actions/get-about-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetAboutUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.\"),\n});\nconst NotionGetAboutUser_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_NestedPersonUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person who authorized the integration.\").nullable(),\n name: z.string().describe(\"Person’s display name, if available.\").nullable().optional(),\n type: z.string().describe(\"Type of nested user; for an authorizing human this is \\\"person\\\".\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\" for the nested user object.\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the person's avatar image, if set.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner for this bot.\").nullable(),\n user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Present and true when the owner.type is \\\"workspace\\\".\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum allowable size for a file upload in bytes.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotInfoSchema = z.object({\n owner: NotionGetAboutUser_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the bot's workspace, when available.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot when owner.type is \\\"workspace\\\". If owner.type is \\\"user\\\", this is null.\").nullable().optional(),\n workspace_limits: NotionGetAboutUser_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nexport const NotionGetAboutUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for this user.\").nullable(),\n bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's display name. May be null or omitted.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of the user; \\\"person\\\" or \\\"bot\\\".\").nullable(),\n object: z.string().describe(\"Always the string \\\"user\\\".\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image, if set.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.\").nullable().optional(),\n}).passthrough();\n\nexport const notionGetAboutUser = action(\"NOTION_GET_ABOUT_USER\", {\n slug: \"notion-get-about-user\",\n name: \"Get about user\",\n description: \"Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.\",\n input: NotionGetAboutUserInput,\n output: NotionGetAboutUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-about-user.mjs","names":[],"sources":["../../src/actions/get-about-user.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 NotionGetAboutUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.\"),\n});\nconst NotionGetAboutUser_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_NestedPersonUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person who authorized the integration.\").nullable(),\n name: z.string().describe(\"Person’s display name, if available.\").nullable().optional(),\n type: z.string().describe(\"Type of nested user; for an authorizing human this is \\\"person\\\".\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\" for the nested user object.\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the person's avatar image, if set.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner for this bot.\").nullable(),\n user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Present and true when the owner.type is \\\"workspace\\\".\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum allowable size for a file upload in bytes.\").nullable().optional(),\n}).passthrough();\nconst NotionGetAboutUser_BotInfoSchema = z.object({\n owner: NotionGetAboutUser_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the bot's workspace, when available.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot when owner.type is \\\"workspace\\\". If owner.type is \\\"user\\\", this is null.\").nullable().optional(),\n workspace_limits: NotionGetAboutUser_WorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nexport const NotionGetAboutUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for this user.\").nullable(),\n bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's display name. May be null or omitted.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of the user; \\\"person\\\" or \\\"bot\\\".\").nullable(),\n object: z.string().describe(\"Always the string \\\"user\\\".\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image, if set.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.\").nullable().optional(),\n}).passthrough();\n\nexport const notionGetAboutUser: AppAction<\n typeof NotionGetAboutUserInput,\n typeof NotionGetAboutUserOutput,\n typeof notion.credential\n> = action(\"NOTION_GET_ABOUT_USER\", {\n slug: \"notion-get-about-user\",\n name: \"Get about user\",\n description: \"Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.\",\n input: NotionGetAboutUserInput,\n output: NotionGetAboutUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAChK,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAi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C,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClQ,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-markdown.cjs","names":["z","action"],"sources":["../../src/actions/get-page-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPageMarkdownInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\").nullable(),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\").nullable(),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\").nullable(),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).passthrough().describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-markdown.cjs","names":["z","action"],"sources":["../../src/actions/get-page-markdown.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 NotionGetPageMarkdownInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\").nullable(),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\").nullable(),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\").nullable(),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).passthrough().describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown: AppAction<\n typeof NotionGetPageMarkdownInput,\n typeof NotionGetPageMarkdownOutput,\n typeof notion.credential\n> = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+cAA+c;CAC5e,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC3N,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC1L,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH;AACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wJAAwJ;AAElL,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/get-page-markdown.d.ts
|
|
@@ -12,22 +14,7 @@ declare const NotionGetPageMarkdownOutput: z.ZodObject<{
|
|
|
12
14
|
truncated: z.ZodNullable<z.ZodBoolean>;
|
|
13
15
|
unknown_block_ids: z.ZodArray<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const notionGetPageMarkdown:
|
|
16
|
-
page_id: string;
|
|
17
|
-
include_transcript?: boolean | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const notionGetPageMarkdown: AppAction<typeof NotionGetPageMarkdownInput, typeof NotionGetPageMarkdownOutput, typeof notion.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { notionGetPageMarkdown };
|
|
33
20
|
//# sourceMappingURL=get-page-markdown.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-markdown.d.cts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-markdown.d.cts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/get-page-markdown.d.ts
|
|
@@ -12,22 +14,7 @@ declare const NotionGetPageMarkdownOutput: z.ZodObject<{
|
|
|
12
14
|
truncated: z.ZodNullable<z.ZodBoolean>;
|
|
13
15
|
unknown_block_ids: z.ZodArray<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const notionGetPageMarkdown:
|
|
16
|
-
page_id: string;
|
|
17
|
-
include_transcript?: boolean | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const notionGetPageMarkdown: AppAction<typeof NotionGetPageMarkdownInput, typeof NotionGetPageMarkdownOutput, typeof notion.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { notionGetPageMarkdown };
|
|
33
20
|
//# sourceMappingURL=get-page-markdown.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-markdown.d.mts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-markdown.d.mts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-markdown.mjs","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPageMarkdownInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\").nullable(),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\").nullable(),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\").nullable(),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).passthrough().describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-markdown.mjs","names":[],"sources":["../../src/actions/get-page-markdown.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 NotionGetPageMarkdownInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\").nullable(),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\").nullable(),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\").nullable(),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).passthrough().describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown: AppAction<\n typeof NotionGetPageMarkdownInput,\n typeof NotionGetPageMarkdownOutput,\n typeof notion.credential\n> = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+cAA+c;EAC5e,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACrK,CAiBS;CACP,QAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EAC3N,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EAC1L,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH;CACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wJAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-property-action.cjs","names":["z","action"],"sources":["../../src/actions/get-page-property-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPagePropertyActionInput = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput = z.unknown();\n\nexport const notionGetPagePropertyAction = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-property-action.cjs","names":["z","action"],"sources":["../../src/actions/get-page-property-action.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 NotionGetPagePropertyActionInput = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput = z.unknown();\n\nexport const notionGetPagePropertyAction: AppAction<\n typeof NotionGetPagePropertyActionInput,\n typeof NotionGetPagePropertyActionOutput,\n typeof notion.credential\n> = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CAC/O,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC5Q,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sWAAsW;CACvY,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACnP,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/get-page-property-action.d.ts
|
|
@@ -8,24 +10,7 @@ declare const NotionGetPagePropertyActionInput: z.ZodObject<{
|
|
|
8
10
|
start_cursor: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const NotionGetPagePropertyActionOutput: z.ZodUnknown;
|
|
11
|
-
declare const notionGetPagePropertyAction:
|
|
12
|
-
page_id: string;
|
|
13
|
-
property_id: string;
|
|
14
|
-
page_size?: number | undefined;
|
|
15
|
-
start_cursor?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const notionGetPagePropertyAction: AppAction<typeof NotionGetPagePropertyActionInput, typeof NotionGetPagePropertyActionOutput, typeof notion.credential>;
|
|
29
14
|
//#endregion
|
|
30
15
|
export { notionGetPagePropertyAction };
|
|
31
16
|
//# sourceMappingURL=get-page-property-action.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-property-action.d.cts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-property-action.d.cts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/get-page-property-action.d.ts
|
|
@@ -8,24 +10,7 @@ declare const NotionGetPagePropertyActionInput: z.ZodObject<{
|
|
|
8
10
|
start_cursor: z.ZodOptional<z.ZodString>;
|
|
9
11
|
}, z.core.$strip>;
|
|
10
12
|
declare const NotionGetPagePropertyActionOutput: z.ZodUnknown;
|
|
11
|
-
declare const notionGetPagePropertyAction:
|
|
12
|
-
page_id: string;
|
|
13
|
-
property_id: string;
|
|
14
|
-
page_size?: number | undefined;
|
|
15
|
-
start_cursor?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const notionGetPagePropertyAction: AppAction<typeof NotionGetPagePropertyActionInput, typeof NotionGetPagePropertyActionOutput, typeof notion.credential>;
|
|
29
14
|
//#endregion
|
|
30
15
|
export { notionGetPagePropertyAction };
|
|
31
16
|
//# sourceMappingURL=get-page-property-action.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-property-action.d.mts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-property-action.d.mts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-page-property-action.mjs","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPagePropertyActionInput = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput = z.unknown();\n\nexport const notionGetPagePropertyAction = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-page-property-action.mjs","names":[],"sources":["../../src/actions/get-page-property-action.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 NotionGetPagePropertyActionInput = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput = z.unknown();\n\nexport const notionGetPagePropertyAction: AppAction<\n typeof NotionGetPagePropertyActionInput,\n typeof NotionGetPagePropertyActionOutput,\n typeof notion.credential\n> = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":";;;AAcA,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;EAC/O,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;EAC5Q,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sWAAsW;EACvY,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACnP,CAAC,CAAC,CAAC,SAAS,sEAWH;CACP,QAX+C,EAAE,QAWzC;AACV,CAAC"}
|