@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/update-page.d.ts
|
|
@@ -97,25 +99,7 @@ declare const NotionUpdatePageOutput: z.ZodObject<{
|
|
|
97
99
|
last_edited_time: z.ZodNullable<z.ZodString>;
|
|
98
100
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
101
|
}, z.core.$loose>;
|
|
100
|
-
declare const notionUpdatePage:
|
|
101
|
-
page_id: string;
|
|
102
|
-
icon?: Record<string, unknown> | undefined;
|
|
103
|
-
cover?: Record<string, unknown> | undefined;
|
|
104
|
-
archived?: boolean | undefined;
|
|
105
|
-
properties?: Record<string, unknown> | undefined;
|
|
106
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
107
|
-
connectionId: z.ZodString;
|
|
108
|
-
entityId: z.ZodString;
|
|
109
|
-
instanceId: z.ZodString;
|
|
110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
-
accessToken: z.ZodString;
|
|
112
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
113
|
-
connectionId: z.ZodString;
|
|
114
|
-
entityId: z.ZodString;
|
|
115
|
-
instanceId: z.ZodString;
|
|
116
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
-
accessToken: z.ZodString;
|
|
118
|
-
}, z.core.$strip>>]>;
|
|
102
|
+
declare const notionUpdatePage: AppAction<typeof NotionUpdatePageInput, typeof NotionUpdatePageOutput, typeof notion.credential>;
|
|
119
103
|
//#endregion
|
|
120
104
|
export { notionUpdatePage };
|
|
121
105
|
//# sourceMappingURL=update-page.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-page.d.cts","names":[],"sources":["../../src/actions/update-page.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-page.d.cts","names":[],"sources":["../../src/actions/update-page.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAsErB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/update-page.d.ts
|
|
@@ -97,25 +99,7 @@ declare const NotionUpdatePageOutput: z.ZodObject<{
|
|
|
97
99
|
last_edited_time: z.ZodNullable<z.ZodString>;
|
|
98
100
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
101
|
}, z.core.$loose>;
|
|
100
|
-
declare const notionUpdatePage:
|
|
101
|
-
page_id: string;
|
|
102
|
-
icon?: Record<string, unknown> | undefined;
|
|
103
|
-
cover?: Record<string, unknown> | undefined;
|
|
104
|
-
archived?: boolean | undefined;
|
|
105
|
-
properties?: Record<string, unknown> | undefined;
|
|
106
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
107
|
-
connectionId: z.ZodString;
|
|
108
|
-
entityId: z.ZodString;
|
|
109
|
-
instanceId: z.ZodString;
|
|
110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
-
accessToken: z.ZodString;
|
|
112
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
113
|
-
connectionId: z.ZodString;
|
|
114
|
-
entityId: z.ZodString;
|
|
115
|
-
instanceId: z.ZodString;
|
|
116
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
-
accessToken: z.ZodString;
|
|
118
|
-
}, z.core.$strip>>]>;
|
|
102
|
+
declare const notionUpdatePage: AppAction<typeof NotionUpdatePageInput, typeof NotionUpdatePageOutput, typeof notion.credential>;
|
|
119
103
|
//#endregion
|
|
120
104
|
export { notionUpdatePage };
|
|
121
105
|
//# sourceMappingURL=update-page.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-page.d.mts","names":[],"sources":["../../src/actions/update-page.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-page.d.mts","names":[],"sources":["../../src/actions/update-page.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAsErB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-page.mjs","names":[],"sources":["../../src/actions/update-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionUpdatePageInput = z.object({\n icon: z.record(z.string(), z.unknown()).describe(\"Page icon object. At least one of properties, archived, icon, or cover is required.\").optional(),\n cover: z.record(z.string(), z.unknown()).describe(\"Page cover image. Must contain either 'external' (with url) or 'file_upload' key. Empty dicts are treated as no-op. At least one of properties, archived, icon, or cover is required.\").optional(),\n page_id: z.string().describe(\"Identifier for the Notion page to be updated. Use 'page_id' as the parameter name (not 'id').\"),\n archived: z.boolean().describe(\"Set to true to archive (trash) the page, false to restore. Note: Workspace-level pages (pages in the sidebar that are not inside a database or another page) may not be archivable via the API depending on workspace configuration. Setting archived=true on an already-archived page or a page with an archived ancestor will be handled gracefully (returns current state without error). At least one of properties, archived, icon, or cover is required.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping property names to property value objects. IMPORTANT: Property names are workspace-specific and case-sensitive. Before updating, use NOTION_FETCH_ROW (for database pages) or NOTION_FETCH_DATABASE to discover the exact property names available in your database. Common properties like 'Status', 'Name', or 'Tags' may have different names in your workspace (e.g., 'Task Name', 'Priority'). For status/select properties, valid option values also vary by workspace - check the database schema for available options. Values must be wrapped in property type objects - never send plain values. Example: {'Status': {'select': {'name': 'Done'}}} not {'Status': 'Done'}. For relation properties, IDs must be valid UUIDs (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\").optional(),\n});\nconst NotionUpdatePage_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"Emoji character.\").nullable(),\n}).passthrough().describe(\"Emoji icon object.\");\nconst NotionUpdatePage_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL pointing to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji data object.\");\nconst NotionUpdatePage_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionUpdatePage_CustomEmojiDataSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon object.\");\nconst NotionUpdatePage_FileObjectSchema = z.object({\n url: z.string().describe(\"Authenticated HTTP GET URL, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 datetime when URL expires.\").nullable(),\n}).passthrough().describe(\"File object for Notion-hosted files (manual UI uploads).\");\nconst NotionUpdatePage_NotionHostedFileSchema = z.object({\n file: NotionUpdatePage_FileObjectSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).passthrough().describe(\"Wrapper for Notion-hosted file.\");\nconst NotionUpdatePage_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID referencing an uploaded file.\").nullable(),\n}).passthrough().describe(\"File object for API-uploaded files via File Upload API.\");\nconst NotionUpdatePage_APIUploadedFileSchema = z.object({\n type: z.string().describe(\"Always 'file_upload'.\").nullable(),\n file_upload: NotionUpdatePage_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Wrapper for API-uploaded file.\");\nconst NotionUpdatePage_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"HTTPS URL to external file.\").nullable(),\n}).passthrough().describe(\"File object for externally hosted files (never expires).\");\nconst NotionUpdatePage_ExternalFileSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionUpdatePage_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Wrapper for externally hosted file.\");\nconst NotionUpdatePage_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always 'database_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of parent database.\").nullable(),\n}).passthrough().describe(\"Database parent object.\");\nconst NotionUpdatePage_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of parent database (convenience reference).\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of parent data source.\").nullable(),\n}).passthrough().describe(\"Data source parent object (includes convenience database_id reference).\");\nconst NotionUpdatePage_PageParentSchema = z.object({\n type: z.string().describe(\"Always 'page_id'.\").nullable(),\n page_id: z.string().describe(\"UUID of parent page.\").nullable(),\n}).passthrough().describe(\"Page parent object for hierarchical nesting.\");\nconst NotionUpdatePage_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Workspace parent object for top-level entities.\");\nconst NotionUpdatePage_BlockParentSchema = z.object({\n type: z.string().describe(\"Always 'block_id'.\").nullable(),\n block_id: z.string().describe(\"UUID of parent block.\").nullable(),\n}).passthrough().describe(\"Block parent object for inline/nested pages.\");\nconst NotionUpdatePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n name: z.string().describe(\"User's display name in Notion.\").nullable().optional(),\n type: z.string().describe(\"User type: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL to user's avatar image.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object with guaranteed fields. Additional fields may be present depending on context and permissions.\");\nexport const NotionUpdatePageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionUpdatePage_EmojiIconSchema, NotionUpdatePage_CustomEmojiIconSchema, NotionUpdatePage_NotionHostedFileSchema, NotionUpdatePage_APIUploadedFileSchema, NotionUpdatePage_ExternalFileSchema]).nullable().optional(),\n cover: z.union([NotionUpdatePage_NotionHostedFileSchema, NotionUpdatePage_APIUploadedFileSchema, NotionUpdatePage_ExternalFileSchema]).nullable().optional(),\n object: z.string().describe(\"Type of object. Always \\\"page\\\" for page objects.\").nullable(),\n parent: z.union([NotionUpdatePage_DatabaseParentSchema, NotionUpdatePage_DataSourceParentSchema, NotionUpdatePage_PageParentSchema, NotionUpdatePage_WorkspaceParentSchema, NotionUpdatePage_BlockParentSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in Trash.\").nullable(),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionUpdatePage_PartialUserSchema.nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"The page's properties. Property names and structures vary by workspace/database schema.\"),\n public_url: z.string().describe(\"Public page URL if published to web; otherwise null.\").nullable().optional(),\n request_id: z.string().describe(\"Request ID from the Notion API.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when the page was created.\").nullable(),\n last_edited_by: NotionUpdatePage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when the page was last edited.\").nullable(),\n composio_execution_message: z.string().describe(\"Message about any automatic transformations applied during execution (e.g., content chunking for long text).\").nullable().optional(),\n}).passthrough();\n\nexport const notionUpdatePage = action(\"NOTION_UPDATE_PAGE\", {\n slug: \"notion-update-page\",\n name: \"Update Page\",\n description: \"Update page properties, icon, cover, or archive status. IMPORTANT: Property names are workspace-specific and case-sensitive. Use NOTION_FETCH_ROW or NOTION_FETCH_DATABASE first to discover exact property names and valid select/status options. Common errors: - \\\"X is not a property that exists\\\": Discover properties with NOTION_FETCH_ROW - \\\"Invalid status option\\\": Check valid options with NOTION_FETCH_DATABASE - \\\"should be defined\\\": Wrap values: {'Field': {'type': value}} Property formats: title/rich_text use {'text': {'content': 'value'}}, select/status use {'name': 'option'}\",\n input: NotionUpdatePageInput,\n output: NotionUpdatePageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjJ,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gcAAgc,CAAC,CAAC,SAAS;CAC1e,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ywBAAywB,CAAC,CAAC,SAAS;AAC70B,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,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,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,mCAAmC,SAAS;EACxD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yFAAyF;EAChJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,gBAAgB,mCAAmC,SAAS;EAC5D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC/F,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-page.mjs","names":[],"sources":["../../src/actions/update-page.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 NotionUpdatePageInput = z.object({\n icon: z.record(z.string(), z.unknown()).describe(\"Page icon object. At least one of properties, archived, icon, or cover is required.\").optional(),\n cover: z.record(z.string(), z.unknown()).describe(\"Page cover image. Must contain either 'external' (with url) or 'file_upload' key. Empty dicts are treated as no-op. At least one of properties, archived, icon, or cover is required.\").optional(),\n page_id: z.string().describe(\"Identifier for the Notion page to be updated. Use 'page_id' as the parameter name (not 'id').\"),\n archived: z.boolean().describe(\"Set to true to archive (trash) the page, false to restore. Note: Workspace-level pages (pages in the sidebar that are not inside a database or another page) may not be archivable via the API depending on workspace configuration. Setting archived=true on an already-archived page or a page with an archived ancestor will be handled gracefully (returns current state without error). At least one of properties, archived, icon, or cover is required.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping property names to property value objects. IMPORTANT: Property names are workspace-specific and case-sensitive. Before updating, use NOTION_FETCH_ROW (for database pages) or NOTION_FETCH_DATABASE to discover the exact property names available in your database. Common properties like 'Status', 'Name', or 'Tags' may have different names in your workspace (e.g., 'Task Name', 'Priority'). For status/select properties, valid option values also vary by workspace - check the database schema for available options. Values must be wrapped in property type objects - never send plain values. Example: {'Status': {'select': {'name': 'Done'}}} not {'Status': 'Done'}. For relation properties, IDs must be valid UUIDs (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\").optional(),\n});\nconst NotionUpdatePage_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"Emoji character.\").nullable(),\n}).passthrough().describe(\"Emoji icon object.\");\nconst NotionUpdatePage_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL pointing to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji data object.\");\nconst NotionUpdatePage_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionUpdatePage_CustomEmojiDataSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon object.\");\nconst NotionUpdatePage_FileObjectSchema = z.object({\n url: z.string().describe(\"Authenticated HTTP GET URL, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 datetime when URL expires.\").nullable(),\n}).passthrough().describe(\"File object for Notion-hosted files (manual UI uploads).\");\nconst NotionUpdatePage_NotionHostedFileSchema = z.object({\n file: NotionUpdatePage_FileObjectSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).passthrough().describe(\"Wrapper for Notion-hosted file.\");\nconst NotionUpdatePage_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID referencing an uploaded file.\").nullable(),\n}).passthrough().describe(\"File object for API-uploaded files via File Upload API.\");\nconst NotionUpdatePage_APIUploadedFileSchema = z.object({\n type: z.string().describe(\"Always 'file_upload'.\").nullable(),\n file_upload: NotionUpdatePage_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Wrapper for API-uploaded file.\");\nconst NotionUpdatePage_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"HTTPS URL to external file.\").nullable(),\n}).passthrough().describe(\"File object for externally hosted files (never expires).\");\nconst NotionUpdatePage_ExternalFileSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionUpdatePage_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Wrapper for externally hosted file.\");\nconst NotionUpdatePage_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always 'database_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of parent database.\").nullable(),\n}).passthrough().describe(\"Database parent object.\");\nconst NotionUpdatePage_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of parent database (convenience reference).\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of parent data source.\").nullable(),\n}).passthrough().describe(\"Data source parent object (includes convenience database_id reference).\");\nconst NotionUpdatePage_PageParentSchema = z.object({\n type: z.string().describe(\"Always 'page_id'.\").nullable(),\n page_id: z.string().describe(\"UUID of parent page.\").nullable(),\n}).passthrough().describe(\"Page parent object for hierarchical nesting.\");\nconst NotionUpdatePage_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Workspace parent object for top-level entities.\");\nconst NotionUpdatePage_BlockParentSchema = z.object({\n type: z.string().describe(\"Always 'block_id'.\").nullable(),\n block_id: z.string().describe(\"UUID of parent block.\").nullable(),\n}).passthrough().describe(\"Block parent object for inline/nested pages.\");\nconst NotionUpdatePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\").nullable(),\n name: z.string().describe(\"User's display name in Notion.\").nullable().optional(),\n type: z.string().describe(\"User type: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL to user's avatar image.\").nullable().optional(),\n}).passthrough().describe(\"Partial user object with guaranteed fields. Additional fields may be present depending on context and permissions.\");\nexport const NotionUpdatePageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable(),\n icon: z.union([NotionUpdatePage_EmojiIconSchema, NotionUpdatePage_CustomEmojiIconSchema, NotionUpdatePage_NotionHostedFileSchema, NotionUpdatePage_APIUploadedFileSchema, NotionUpdatePage_ExternalFileSchema]).nullable().optional(),\n cover: z.union([NotionUpdatePage_NotionHostedFileSchema, NotionUpdatePage_APIUploadedFileSchema, NotionUpdatePage_ExternalFileSchema]).nullable().optional(),\n object: z.string().describe(\"Type of object. Always \\\"page\\\" for page objects.\").nullable(),\n parent: z.union([NotionUpdatePage_DatabaseParentSchema, NotionUpdatePage_DataSourceParentSchema, NotionUpdatePage_PageParentSchema, NotionUpdatePage_WorkspaceParentSchema, NotionUpdatePage_BlockParentSchema]),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable(),\n in_trash: z.boolean().describe(\"Whether the page is in Trash.\").nullable(),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionUpdatePage_PartialUserSchema.nullable(),\n properties: z.record(z.string(), z.unknown()).describe(\"The page's properties. Property names and structures vary by workspace/database schema.\"),\n public_url: z.string().describe(\"Public page URL if published to web; otherwise null.\").nullable().optional(),\n request_id: z.string().describe(\"Request ID from the Notion API.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when the page was created.\").nullable(),\n last_edited_by: NotionUpdatePage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"Date and time when the page was last edited.\").nullable(),\n composio_execution_message: z.string().describe(\"Message about any automatic transformations applied during execution (e.g., content chunking for long text).\").nullable().optional(),\n}).passthrough();\n\nexport const notionUpdatePage: AppAction<\n typeof NotionUpdatePageInput,\n typeof NotionUpdatePageOutput,\n typeof notion.credential\n> = action(\"NOTION_UPDATE_PAGE\", {\n slug: \"notion-update-page\",\n name: \"Update Page\",\n description: \"Update page properties, icon, cover, or archive status. IMPORTANT: Property names are workspace-specific and case-sensitive. Use NOTION_FETCH_ROW or NOTION_FETCH_DATABASE first to discover exact property names and valid select/status options. Common errors: - \\\"X is not a property that exists\\\": Discover properties with NOTION_FETCH_ROW - \\\"Invalid status option\\\": Check valid options with NOTION_FETCH_DATABASE - \\\"should be defined\\\": Wrap values: {'Field': {'type': value}} Property formats: title/rich_text use {'text': {'content': 'value'}}, select/status use {'name': 'option'}\",\n input: NotionUpdatePageInput,\n output: NotionUpdatePageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjJ,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uLAAuL,CAAC,CAAC,SAAS;CACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;CAC5H,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gcAAgc,CAAC,CAAC,SAAS;CAC1e,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,ywBAAywB,CAAC,CAAC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AC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-row-database.cjs","names":["z","action"],"sources":["../../src/actions/update-row-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionUpdateRowDatabaseInput = z.object({\n icon: z.string().describe(\"The emoji to be used as the icon for the page. Must be a single emoji character (e.g., '😻', '🤔'). Empty strings or whitespace-only values are ignored.\").optional(),\n cover: z.string().describe(\"URL of an external image to be used as the cover for the page (e.g., 'https://google.com/image.png'). Empty strings or whitespace-only values are ignored.\").optional(),\n row_id: z.string().describe(\"REQUIRED: The page UUID of the database row to update. This is a PAGE ID (not a database ID). A database row in Notion is actually a page - use the page's UUID here. Format: 32-character UUID with hyphens (e.g., '59833787-2cf9-4fdf-8782-e53db20768a5'). NOT a URL or page title. Find this ID in the page URL or via 'Copy link' in Notion. NOTE: To update DATABASE structure/schema, use NOTION_UPDATE_SCHEMA_DATABASE instead. This action only updates individual rows/pages within a database.\"),\n delete_row: z.boolean().default(false).describe(\"If true, the row (page) will be archived, effectively deleting it from the active view. If the page is already archived, the action will return success with the current page state. If false, the row will be updated with other provided data.\").optional(),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"Type of the property. Common types: title (ONE per database), rich_text, number, select (for dropdowns), multi_select, date, people, files, checkbox, url, email, phone_number, relation. ⚠️ IMPORTANT: Use 'select' for dropdown properties - NOT 'status'. The 'status' type is a SPECIAL Notion property type (with 'To-do', 'In progress', 'Complete' groups) that most databases do NOT have. If your property shows a simple dropdown list, use 'select' even if the property is NAMED 'Status'. Read-only/unsupported types (auto-skipped): created_time, created_by, last_edited_time, last_edited_by, formula, rollup, unique_id, place.\"),\n value: z.string().describe(\"Value formatted according to the property type:\\n- title, rich_text - text string (max 2000 chars, truncated if longer)\\n- number - numeric string ex. \\\"23.4\\\"\\n- select - single option name (no commas). For multiple values, use multi_select.\\n- multi_select - comma separated values ex. \\\"India,USA\\\"\\n- date - ISO 8601. Single: \\\"2021-05-11\\\". Range: \\\"2021-05-11/2021-05-15\\\" (slash-separated).\\n- people - comma separated USER UUIDs (not names). Use NOTION_LIST_USERS to find UUIDs.\\n- relation - comma separated PAGE UUIDs (not titles). Use NOTION_QUERY_DATABASE to find UUIDs.\\n- url - a URL string.\\n- files - comma separated HTTPS URLs only (no file:// or http://).\\n- checkbox - \\\"True\\\" or \\\"False\\\"\"),\n}).passthrough()).default([]).describe(\"List of properties to update. Each property requires: (1) 'name' - exact property name as shown in Notion, (2) 'type' - the property type (title, rich_text, number, select, status, multi_select, date, people, relation, checkbox, url, email, phone_number, files), (3) 'value' - formatted according to type. IMPORTANT: Verify property names exist in the database and match the exact case. Use 'status' type for Status properties, NOT 'select'. Properties not listed will remain unchanged.\").optional(),\n});\nconst NotionUpdateRowDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"emoji\\\".\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻').\").nullable(),\n}).passthrough().describe(\"Standard emoji icon.\");\nconst NotionUpdateRowDatabase_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji object with identifier, name, and URL.\");\nconst NotionUpdateRowDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"custom_emoji\\\".\").nullable(),\n custom_emoji: NotionUpdateRowDatabase_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon.\");\nconst NotionUpdateRowDatabase_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file with authenticated URL.\");\nconst NotionUpdateRowDatabase_FileIconWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"File icon with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID of the uploaded file object.\").nullable(),\n}).passthrough().describe(\"File uploaded via API.\");\nconst NotionUpdateRowDatabase_FileIconWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with uploaded file.\");\nconst NotionUpdateRowDatabase_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).passthrough().describe(\"External file reference.\");\nconst NotionUpdateRowDatabase_FileIconWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with external URL.\");\nconst NotionUpdateRowDatabase_CoverWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"Cover with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_CoverWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with uploaded file.\");\nconst NotionUpdateRowDatabase_CoverWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with external URL.\");\nconst NotionUpdateRowDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always \\\"database_id\\\".\").nullable(),\n database_id: z.string().describe(\"The database identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a database.\");\nconst NotionUpdateRowDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"data_source_id\\\".\").nullable(),\n database_id: z.string().describe(\"The parent database identifier in UUIDv4 format.\").nullable(),\n data_source_id: z.string().describe(\"The data source identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a data source.\");\nconst NotionUpdateRowDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always \\\"page_id\\\".\").nullable(),\n page_id: z.string().describe(\"The page identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a page.\");\nconst NotionUpdateRowDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Parent is the workspace.\");\nconst NotionUpdateRowDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always \\\"block_id\\\".\").nullable(),\n block_id: z.string().describe(\"The block identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a block.\");\nconst NotionUpdateRowDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user in UUID format.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nexport const NotionUpdateRowDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionUpdateRowDatabase_EmojiIconSchema, NotionUpdateRowDatabase_CustomEmojiIconSchema, NotionUpdateRowDatabase_FileIconWithHostedSchema, NotionUpdateRowDatabase_FileIconWithUploadSchema, NotionUpdateRowDatabase_FileIconWithExternalSchema]).nullable().optional(),\n cover: z.union([NotionUpdateRowDatabase_CoverWithHostedSchema, NotionUpdateRowDatabase_CoverWithUploadSchema, NotionUpdateRowDatabase_CoverWithExternalSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\". Identifies the type of object.\").nullable(),\n parent: z.union([NotionUpdateRowDatabase_DatabaseParentSchema, NotionUpdateRowDatabase_DataSourceParentSchema, NotionUpdateRowDatabase_PageParentSchema, NotionUpdateRowDatabase_WorkspaceParentSchema, NotionUpdateRowDatabase_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived (deleted).\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n created_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys correspond to property names defined in the parent database schema, and values are property value objects specific to each property type.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the page if it has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created, in ISO 8601 format.\").nullable().optional(),\n last_edited_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Date and time when this page was last updated, in ISO 8601 format.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the execution layer explaining any special handling performed.\").nullable().optional(),\n}).passthrough().describe(\"Response object returned when updating a page (database row) in Notion. Returns the complete updated page object.\");\n\nexport const notionUpdateRowDatabase = action(\"NOTION_UPDATE_ROW_DATABASE\", {\n slug: \"notion-update-row-database\",\n name: \"Update Database Row (Page)\",\n description: \"Updates a specific row/page within a Notion database by its page UUID (row_id). IMPORTANT CLARIFICATION: This action updates INDIVIDUAL ROWS (pages) in a database, NOT the database structure. - To update a ROW/PAGE: Use THIS action with `row_id` (the page UUID) - To update DATABASE SCHEMA (columns, properties, title): Use NOTION_UPDATE_SCHEMA_DATABASE with `database_id` REQUIRED: `row_id` is MANDATORY. This is the UUID of the specific page/row to update. Do NOT pass `database_id` to this action - that parameter does not exist here. Common issues: (1) Use UUID from page URL, not the full URL (2) Ensure page is shared with integration (3) Match property names exactly as in database (4) Use 'status' type for Status properties, not 'select' (5) Retry on 409 Conflict errors (concurrent updates) Supports updating properties, icon, cover, or archiving the row.\",\n input: NotionUpdateRowDatabaseInput,\n output: NotionUpdateRowDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAC/L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAClM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0eAA0e;CACtgB,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC7S,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAa;GAAU;GAAU;GAAgB;GAAQ;GAAU;GAAS;GAAY;GAAO;GAAS;GAAgB;GAAW;GAAY;GAAU;GAAU;GAAgB;GAAc;GAAoB;GAAkB;GAAS;EAAW,CAAC,CAAC,CAAC,SAAS,mnBAAmnB;EACj5B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,usBAAusB;CACpuB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,weAAwe,CAAC,CAAC,SAAS;AAC1hB,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO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CAAC,CAAC,SAAS;CACxF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mHAAmH;AAE7I,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-row-database.cjs","names":["z","action"],"sources":["../../src/actions/update-row-database.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 NotionUpdateRowDatabaseInput = z.object({\n icon: z.string().describe(\"The emoji to be used as the icon for the page. Must be a single emoji character (e.g., '😻', '🤔'). Empty strings or whitespace-only values are ignored.\").optional(),\n cover: z.string().describe(\"URL of an external image to be used as the cover for the page (e.g., 'https://google.com/image.png'). Empty strings or whitespace-only values are ignored.\").optional(),\n row_id: z.string().describe(\"REQUIRED: The page UUID of the database row to update. This is a PAGE ID (not a database ID). A database row in Notion is actually a page - use the page's UUID here. Format: 32-character UUID with hyphens (e.g., '59833787-2cf9-4fdf-8782-e53db20768a5'). NOT a URL or page title. Find this ID in the page URL or via 'Copy link' in Notion. NOTE: To update DATABASE structure/schema, use NOTION_UPDATE_SCHEMA_DATABASE instead. This action only updates individual rows/pages within a database.\"),\n delete_row: z.boolean().default(false).describe(\"If true, the row (page) will be archived, effectively deleting it from the active view. If the page is already archived, the action will return success with the current page state. If false, the row will be updated with other provided data.\").optional(),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"Type of the property. Common types: title (ONE per database), rich_text, number, select (for dropdowns), multi_select, date, people, files, checkbox, url, email, phone_number, relation. ⚠️ IMPORTANT: Use 'select' for dropdown properties - NOT 'status'. The 'status' type is a SPECIAL Notion property type (with 'To-do', 'In progress', 'Complete' groups) that most databases do NOT have. If your property shows a simple dropdown list, use 'select' even if the property is NAMED 'Status'. Read-only/unsupported types (auto-skipped): created_time, created_by, last_edited_time, last_edited_by, formula, rollup, unique_id, place.\"),\n value: z.string().describe(\"Value formatted according to the property type:\\n- title, rich_text - text string (max 2000 chars, truncated if longer)\\n- number - numeric string ex. \\\"23.4\\\"\\n- select - single option name (no commas). For multiple values, use multi_select.\\n- multi_select - comma separated values ex. \\\"India,USA\\\"\\n- date - ISO 8601. Single: \\\"2021-05-11\\\". Range: \\\"2021-05-11/2021-05-15\\\" (slash-separated).\\n- people - comma separated USER UUIDs (not names). Use NOTION_LIST_USERS to find UUIDs.\\n- relation - comma separated PAGE UUIDs (not titles). Use NOTION_QUERY_DATABASE to find UUIDs.\\n- url - a URL string.\\n- files - comma separated HTTPS URLs only (no file:// or http://).\\n- checkbox - \\\"True\\\" or \\\"False\\\"\"),\n}).passthrough()).default([]).describe(\"List of properties to update. Each property requires: (1) 'name' - exact property name as shown in Notion, (2) 'type' - the property type (title, rich_text, number, select, status, multi_select, date, people, relation, checkbox, url, email, phone_number, files), (3) 'value' - formatted according to type. IMPORTANT: Verify property names exist in the database and match the exact case. Use 'status' type for Status properties, NOT 'select'. Properties not listed will remain unchanged.\").optional(),\n});\nconst NotionUpdateRowDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"emoji\\\".\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻').\").nullable(),\n}).passthrough().describe(\"Standard emoji icon.\");\nconst NotionUpdateRowDatabase_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji object with identifier, name, and URL.\");\nconst NotionUpdateRowDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"custom_emoji\\\".\").nullable(),\n custom_emoji: NotionUpdateRowDatabase_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon.\");\nconst NotionUpdateRowDatabase_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file with authenticated URL.\");\nconst NotionUpdateRowDatabase_FileIconWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"File icon with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID of the uploaded file object.\").nullable(),\n}).passthrough().describe(\"File uploaded via API.\");\nconst NotionUpdateRowDatabase_FileIconWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with uploaded file.\");\nconst NotionUpdateRowDatabase_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).passthrough().describe(\"External file reference.\");\nconst NotionUpdateRowDatabase_FileIconWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with external URL.\");\nconst NotionUpdateRowDatabase_CoverWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"Cover with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_CoverWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with uploaded file.\");\nconst NotionUpdateRowDatabase_CoverWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with external URL.\");\nconst NotionUpdateRowDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always \\\"database_id\\\".\").nullable(),\n database_id: z.string().describe(\"The database identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a database.\");\nconst NotionUpdateRowDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"data_source_id\\\".\").nullable(),\n database_id: z.string().describe(\"The parent database identifier in UUIDv4 format.\").nullable(),\n data_source_id: z.string().describe(\"The data source identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a data source.\");\nconst NotionUpdateRowDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always \\\"page_id\\\".\").nullable(),\n page_id: z.string().describe(\"The page identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a page.\");\nconst NotionUpdateRowDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Parent is the workspace.\");\nconst NotionUpdateRowDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always \\\"block_id\\\".\").nullable(),\n block_id: z.string().describe(\"The block identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a block.\");\nconst NotionUpdateRowDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user in UUID format.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nexport const NotionUpdateRowDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionUpdateRowDatabase_EmojiIconSchema, NotionUpdateRowDatabase_CustomEmojiIconSchema, NotionUpdateRowDatabase_FileIconWithHostedSchema, NotionUpdateRowDatabase_FileIconWithUploadSchema, NotionUpdateRowDatabase_FileIconWithExternalSchema]).nullable().optional(),\n cover: z.union([NotionUpdateRowDatabase_CoverWithHostedSchema, NotionUpdateRowDatabase_CoverWithUploadSchema, NotionUpdateRowDatabase_CoverWithExternalSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\". Identifies the type of object.\").nullable(),\n parent: z.union([NotionUpdateRowDatabase_DatabaseParentSchema, NotionUpdateRowDatabase_DataSourceParentSchema, NotionUpdateRowDatabase_PageParentSchema, NotionUpdateRowDatabase_WorkspaceParentSchema, NotionUpdateRowDatabase_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived (deleted).\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n created_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys correspond to property names defined in the parent database schema, and values are property value objects specific to each property type.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the page if it has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created, in ISO 8601 format.\").nullable().optional(),\n last_edited_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Date and time when this page was last updated, in ISO 8601 format.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the execution layer explaining any special handling performed.\").nullable().optional(),\n}).passthrough().describe(\"Response object returned when updating a page (database row) in Notion. Returns the complete updated page object.\");\n\nexport const notionUpdateRowDatabase: AppAction<\n typeof NotionUpdateRowDatabaseInput,\n typeof NotionUpdateRowDatabaseOutput,\n typeof notion.credential\n> = action(\"NOTION_UPDATE_ROW_DATABASE\", {\n slug: \"notion-update-row-database\",\n name: \"Update Database Row (Page)\",\n description: \"Updates a specific row/page within a Notion database by its page UUID (row_id). IMPORTANT CLARIFICATION: This action updates INDIVIDUAL ROWS (pages) in a database, NOT the database structure. - To update a ROW/PAGE: Use THIS action with `row_id` (the page UUID) - To update DATABASE SCHEMA (columns, properties, title): Use NOTION_UPDATE_SCHEMA_DATABASE with `database_id` REQUIRED: `row_id` is MANDATORY. This is the UUID of the specific page/row to update. Do NOT pass `database_id` to this action - that parameter does not exist here. Common issues: (1) Use UUID from page URL, not the full URL (2) Ensure page is shared with integration (3) Match property names exactly as in database (4) Use 'status' type for Status properties, not 'select' (5) Retry on 409 Conflict errors (concurrent updates) Supports updating properties, icon, cover, or archiving the row.\",\n input: NotionUpdateRowDatabaseInput,\n output: NotionUpdateRowDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,M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OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mHAAmH;AAE7I,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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/update-row-database.d.ts
|
|
@@ -18,12 +20,12 @@ declare const NotionUpdateRowDatabaseInput: z.ZodObject<{
|
|
|
18
20
|
created_time: "created_time";
|
|
19
21
|
last_edited_by: "last_edited_by";
|
|
20
22
|
last_edited_time: "last_edited_time";
|
|
21
|
-
email: "email";
|
|
22
23
|
select: "select";
|
|
23
24
|
multi_select: "multi_select";
|
|
24
25
|
people: "people";
|
|
25
26
|
files: "files";
|
|
26
27
|
checkbox: "checkbox";
|
|
28
|
+
email: "email";
|
|
27
29
|
phone_number: "phone_number";
|
|
28
30
|
formula: "formula";
|
|
29
31
|
relation: "relation";
|
|
@@ -116,30 +118,7 @@ declare const NotionUpdateRowDatabaseOutput: z.ZodObject<{
|
|
|
116
118
|
last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
119
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
120
|
}, z.core.$loose>;
|
|
119
|
-
declare const notionUpdateRowDatabase:
|
|
120
|
-
row_id: string;
|
|
121
|
-
icon?: string | undefined;
|
|
122
|
-
cover?: string | undefined;
|
|
123
|
-
delete_row?: boolean | undefined;
|
|
124
|
-
properties?: {
|
|
125
|
-
[x: string]: unknown;
|
|
126
|
-
name: string;
|
|
127
|
-
type: "number" | "date" | "title" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "email" | "select" | "multi_select" | "people" | "files" | "checkbox" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
|
|
128
|
-
value: string;
|
|
129
|
-
}[] | undefined;
|
|
130
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
131
|
-
connectionId: z.ZodString;
|
|
132
|
-
entityId: z.ZodString;
|
|
133
|
-
instanceId: z.ZodString;
|
|
134
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
-
accessToken: z.ZodString;
|
|
136
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
137
|
-
connectionId: z.ZodString;
|
|
138
|
-
entityId: z.ZodString;
|
|
139
|
-
instanceId: z.ZodString;
|
|
140
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
-
accessToken: z.ZodString;
|
|
142
|
-
}, z.core.$strip>>]>;
|
|
121
|
+
declare const notionUpdateRowDatabase: AppAction<typeof NotionUpdateRowDatabaseInput, typeof NotionUpdateRowDatabaseOutput, typeof notion.credential>;
|
|
143
122
|
//#endregion
|
|
144
123
|
export { notionUpdateRowDatabase };
|
|
145
124
|
//# sourceMappingURL=update-row-database.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-row-database.d.cts","names":[],"sources":["../../src/actions/update-row-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-row-database.d.cts","names":[],"sources":["../../src/actions/update-row-database.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmF5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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/update-row-database.d.ts
|
|
@@ -18,12 +20,12 @@ declare const NotionUpdateRowDatabaseInput: z.ZodObject<{
|
|
|
18
20
|
created_time: "created_time";
|
|
19
21
|
last_edited_by: "last_edited_by";
|
|
20
22
|
last_edited_time: "last_edited_time";
|
|
21
|
-
email: "email";
|
|
22
23
|
select: "select";
|
|
23
24
|
multi_select: "multi_select";
|
|
24
25
|
people: "people";
|
|
25
26
|
files: "files";
|
|
26
27
|
checkbox: "checkbox";
|
|
28
|
+
email: "email";
|
|
27
29
|
phone_number: "phone_number";
|
|
28
30
|
formula: "formula";
|
|
29
31
|
relation: "relation";
|
|
@@ -116,30 +118,7 @@ declare const NotionUpdateRowDatabaseOutput: z.ZodObject<{
|
|
|
116
118
|
last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
119
|
composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
120
|
}, z.core.$loose>;
|
|
119
|
-
declare const notionUpdateRowDatabase:
|
|
120
|
-
row_id: string;
|
|
121
|
-
icon?: string | undefined;
|
|
122
|
-
cover?: string | undefined;
|
|
123
|
-
delete_row?: boolean | undefined;
|
|
124
|
-
properties?: {
|
|
125
|
-
[x: string]: unknown;
|
|
126
|
-
name: string;
|
|
127
|
-
type: "number" | "date" | "title" | "url" | "rich_text" | "created_by" | "created_time" | "last_edited_by" | "last_edited_time" | "email" | "select" | "multi_select" | "people" | "files" | "checkbox" | "phone_number" | "formula" | "relation" | "rollup" | "status" | "place" | "unique_id";
|
|
128
|
-
value: string;
|
|
129
|
-
}[] | undefined;
|
|
130
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
131
|
-
connectionId: z.ZodString;
|
|
132
|
-
entityId: z.ZodString;
|
|
133
|
-
instanceId: z.ZodString;
|
|
134
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
-
accessToken: z.ZodString;
|
|
136
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"notion", z.ZodObject<{
|
|
137
|
-
connectionId: z.ZodString;
|
|
138
|
-
entityId: z.ZodString;
|
|
139
|
-
instanceId: z.ZodString;
|
|
140
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
-
accessToken: z.ZodString;
|
|
142
|
-
}, z.core.$strip>>]>;
|
|
121
|
+
declare const notionUpdateRowDatabase: AppAction<typeof NotionUpdateRowDatabaseInput, typeof NotionUpdateRowDatabaseOutput, typeof notion.credential>;
|
|
143
122
|
//#endregion
|
|
144
123
|
export { notionUpdateRowDatabase };
|
|
145
124
|
//# sourceMappingURL=update-row-database.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-row-database.d.mts","names":[],"sources":["../../src/actions/update-row-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-row-database.d.mts","names":[],"sources":["../../src/actions/update-row-database.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmF5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-row-database.mjs","names":[],"sources":["../../src/actions/update-row-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionUpdateRowDatabaseInput = z.object({\n icon: z.string().describe(\"The emoji to be used as the icon for the page. Must be a single emoji character (e.g., '😻', '🤔'). Empty strings or whitespace-only values are ignored.\").optional(),\n cover: z.string().describe(\"URL of an external image to be used as the cover for the page (e.g., 'https://google.com/image.png'). Empty strings or whitespace-only values are ignored.\").optional(),\n row_id: z.string().describe(\"REQUIRED: The page UUID of the database row to update. This is a PAGE ID (not a database ID). A database row in Notion is actually a page - use the page's UUID here. Format: 32-character UUID with hyphens (e.g., '59833787-2cf9-4fdf-8782-e53db20768a5'). NOT a URL or page title. Find this ID in the page URL or via 'Copy link' in Notion. NOTE: To update DATABASE structure/schema, use NOTION_UPDATE_SCHEMA_DATABASE instead. This action only updates individual rows/pages within a database.\"),\n delete_row: z.boolean().default(false).describe(\"If true, the row (page) will be archived, effectively deleting it from the active view. If the page is already archived, the action will return success with the current page state. If false, the row will be updated with other provided data.\").optional(),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"Type of the property. Common types: title (ONE per database), rich_text, number, select (for dropdowns), multi_select, date, people, files, checkbox, url, email, phone_number, relation. ⚠️ IMPORTANT: Use 'select' for dropdown properties - NOT 'status'. The 'status' type is a SPECIAL Notion property type (with 'To-do', 'In progress', 'Complete' groups) that most databases do NOT have. If your property shows a simple dropdown list, use 'select' even if the property is NAMED 'Status'. Read-only/unsupported types (auto-skipped): created_time, created_by, last_edited_time, last_edited_by, formula, rollup, unique_id, place.\"),\n value: z.string().describe(\"Value formatted according to the property type:\\n- title, rich_text - text string (max 2000 chars, truncated if longer)\\n- number - numeric string ex. \\\"23.4\\\"\\n- select - single option name (no commas). For multiple values, use multi_select.\\n- multi_select - comma separated values ex. \\\"India,USA\\\"\\n- date - ISO 8601. Single: \\\"2021-05-11\\\". Range: \\\"2021-05-11/2021-05-15\\\" (slash-separated).\\n- people - comma separated USER UUIDs (not names). Use NOTION_LIST_USERS to find UUIDs.\\n- relation - comma separated PAGE UUIDs (not titles). Use NOTION_QUERY_DATABASE to find UUIDs.\\n- url - a URL string.\\n- files - comma separated HTTPS URLs only (no file:// or http://).\\n- checkbox - \\\"True\\\" or \\\"False\\\"\"),\n}).passthrough()).default([]).describe(\"List of properties to update. Each property requires: (1) 'name' - exact property name as shown in Notion, (2) 'type' - the property type (title, rich_text, number, select, status, multi_select, date, people, relation, checkbox, url, email, phone_number, files), (3) 'value' - formatted according to type. IMPORTANT: Verify property names exist in the database and match the exact case. Use 'status' type for Status properties, NOT 'select'. Properties not listed will remain unchanged.\").optional(),\n});\nconst NotionUpdateRowDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"emoji\\\".\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻').\").nullable(),\n}).passthrough().describe(\"Standard emoji icon.\");\nconst NotionUpdateRowDatabase_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji object with identifier, name, and URL.\");\nconst NotionUpdateRowDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"custom_emoji\\\".\").nullable(),\n custom_emoji: NotionUpdateRowDatabase_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon.\");\nconst NotionUpdateRowDatabase_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file with authenticated URL.\");\nconst NotionUpdateRowDatabase_FileIconWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"File icon with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID of the uploaded file object.\").nullable(),\n}).passthrough().describe(\"File uploaded via API.\");\nconst NotionUpdateRowDatabase_FileIconWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with uploaded file.\");\nconst NotionUpdateRowDatabase_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).passthrough().describe(\"External file reference.\");\nconst NotionUpdateRowDatabase_FileIconWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with external URL.\");\nconst NotionUpdateRowDatabase_CoverWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"Cover with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_CoverWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with uploaded file.\");\nconst NotionUpdateRowDatabase_CoverWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with external URL.\");\nconst NotionUpdateRowDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always \\\"database_id\\\".\").nullable(),\n database_id: z.string().describe(\"The database identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a database.\");\nconst NotionUpdateRowDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"data_source_id\\\".\").nullable(),\n database_id: z.string().describe(\"The parent database identifier in UUIDv4 format.\").nullable(),\n data_source_id: z.string().describe(\"The data source identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a data source.\");\nconst NotionUpdateRowDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always \\\"page_id\\\".\").nullable(),\n page_id: z.string().describe(\"The page identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a page.\");\nconst NotionUpdateRowDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Parent is the workspace.\");\nconst NotionUpdateRowDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always \\\"block_id\\\".\").nullable(),\n block_id: z.string().describe(\"The block identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a block.\");\nconst NotionUpdateRowDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user in UUID format.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nexport const NotionUpdateRowDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionUpdateRowDatabase_EmojiIconSchema, NotionUpdateRowDatabase_CustomEmojiIconSchema, NotionUpdateRowDatabase_FileIconWithHostedSchema, NotionUpdateRowDatabase_FileIconWithUploadSchema, NotionUpdateRowDatabase_FileIconWithExternalSchema]).nullable().optional(),\n cover: z.union([NotionUpdateRowDatabase_CoverWithHostedSchema, NotionUpdateRowDatabase_CoverWithUploadSchema, NotionUpdateRowDatabase_CoverWithExternalSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\". Identifies the type of object.\").nullable(),\n parent: z.union([NotionUpdateRowDatabase_DatabaseParentSchema, NotionUpdateRowDatabase_DataSourceParentSchema, NotionUpdateRowDatabase_PageParentSchema, NotionUpdateRowDatabase_WorkspaceParentSchema, NotionUpdateRowDatabase_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived (deleted).\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n created_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys correspond to property names defined in the parent database schema, and values are property value objects specific to each property type.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the page if it has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created, in ISO 8601 format.\").nullable().optional(),\n last_edited_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Date and time when this page was last updated, in ISO 8601 format.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the execution layer explaining any special handling performed.\").nullable().optional(),\n}).passthrough().describe(\"Response object returned when updating a page (database row) in Notion. Returns the complete updated page object.\");\n\nexport const notionUpdateRowDatabase = action(\"NOTION_UPDATE_ROW_DATABASE\", {\n slug: \"notion-update-row-database\",\n name: \"Update Database Row (Page)\",\n description: \"Updates a specific row/page within a Notion database by its page UUID (row_id). IMPORTANT CLARIFICATION: This action updates INDIVIDUAL ROWS (pages) in a database, NOT the database structure. - To update a ROW/PAGE: Use THIS action with `row_id` (the page UUID) - To update DATABASE SCHEMA (columns, properties, title): Use NOTION_UPDATE_SCHEMA_DATABASE with `database_id` REQUIRED: `row_id` is MANDATORY. This is the UUID of the specific page/row to update. Do NOT pass `database_id` to this action - that parameter does not exist here. Common issues: (1) Use UUID from page URL, not the full URL (2) Ensure page is shared with integration (3) Match property names exactly as in database (4) Use 'status' type for Status properties, not 'select' (5) Retry on 409 Conflict errors (concurrent updates) Supports updating properties, icon, cover, or archiving the row.\",\n input: NotionUpdateRowDatabaseInput,\n output: NotionUpdateRowDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAC/L,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAClM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0eAA0e;CACtgB,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC7S,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,KAAK;GAAC;GAAS;GAAa;GAAU;GAAU;GAAgB;GAAQ;GAAU;GAAS;GAAY;GAAO;GAAS;GAAgB;GAAW;GAAY;GAAU;GAAU;GAAgB;GAAc;GAAoB;GAAkB;GAAS;EAAW,CAAC,CAAC,CAAC,SAAS,mnBAAmnB;EACj5B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,usBAAusB;CACpuB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,weAAwe,CAAC,CAAC,SAAS;AAC1hB,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAA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AAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mHAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-row-database.mjs","names":[],"sources":["../../src/actions/update-row-database.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 NotionUpdateRowDatabaseInput = z.object({\n icon: z.string().describe(\"The emoji to be used as the icon for the page. Must be a single emoji character (e.g., '😻', '🤔'). Empty strings or whitespace-only values are ignored.\").optional(),\n cover: z.string().describe(\"URL of an external image to be used as the cover for the page (e.g., 'https://google.com/image.png'). Empty strings or whitespace-only values are ignored.\").optional(),\n row_id: z.string().describe(\"REQUIRED: The page UUID of the database row to update. This is a PAGE ID (not a database ID). A database row in Notion is actually a page - use the page's UUID here. Format: 32-character UUID with hyphens (e.g., '59833787-2cf9-4fdf-8782-e53db20768a5'). NOT a URL or page title. Find this ID in the page URL or via 'Copy link' in Notion. NOTE: To update DATABASE structure/schema, use NOTION_UPDATE_SCHEMA_DATABASE instead. This action only updates individual rows/pages within a database.\"),\n delete_row: z.boolean().default(false).describe(\"If true, the row (page) will be archived, effectively deleting it from the active view. If the page is already archived, the action will return success with the current page state. If false, the row will be updated with other provided data.\").optional(),\n properties: z.array(z.object({\n name: z.string().describe(\"Name of the property\"),\n type: z.enum([\"title\", \"rich_text\", \"number\", \"select\", \"multi_select\", \"date\", \"people\", \"files\", \"checkbox\", \"url\", \"email\", \"phone_number\", \"formula\", \"relation\", \"rollup\", \"status\", \"created_time\", \"created_by\", \"last_edited_time\", \"last_edited_by\", \"place\", \"unique_id\"]).describe(\"Type of the property. Common types: title (ONE per database), rich_text, number, select (for dropdowns), multi_select, date, people, files, checkbox, url, email, phone_number, relation. ⚠️ IMPORTANT: Use 'select' for dropdown properties - NOT 'status'. The 'status' type is a SPECIAL Notion property type (with 'To-do', 'In progress', 'Complete' groups) that most databases do NOT have. If your property shows a simple dropdown list, use 'select' even if the property is NAMED 'Status'. Read-only/unsupported types (auto-skipped): created_time, created_by, last_edited_time, last_edited_by, formula, rollup, unique_id, place.\"),\n value: z.string().describe(\"Value formatted according to the property type:\\n- title, rich_text - text string (max 2000 chars, truncated if longer)\\n- number - numeric string ex. \\\"23.4\\\"\\n- select - single option name (no commas). For multiple values, use multi_select.\\n- multi_select - comma separated values ex. \\\"India,USA\\\"\\n- date - ISO 8601. Single: \\\"2021-05-11\\\". Range: \\\"2021-05-11/2021-05-15\\\" (slash-separated).\\n- people - comma separated USER UUIDs (not names). Use NOTION_LIST_USERS to find UUIDs.\\n- relation - comma separated PAGE UUIDs (not titles). Use NOTION_QUERY_DATABASE to find UUIDs.\\n- url - a URL string.\\n- files - comma separated HTTPS URLs only (no file:// or http://).\\n- checkbox - \\\"True\\\" or \\\"False\\\"\"),\n}).passthrough()).default([]).describe(\"List of properties to update. Each property requires: (1) 'name' - exact property name as shown in Notion, (2) 'type' - the property type (title, rich_text, number, select, status, multi_select, date, people, relation, checkbox, url, email, phone_number, files), (3) 'value' - formatted according to type. IMPORTANT: Verify property names exist in the database and match the exact case. Use 'status' type for Status properties, NOT 'select'. Properties not listed will remain unchanged.\").optional(),\n});\nconst NotionUpdateRowDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"emoji\\\".\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻').\").nullable(),\n}).passthrough().describe(\"Standard emoji icon.\");\nconst NotionUpdateRowDatabase_CustomEmojiObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"HTTPS URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji object with identifier, name, and URL.\");\nconst NotionUpdateRowDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always \\\"custom_emoji\\\".\").nullable(),\n custom_emoji: NotionUpdateRowDatabase_CustomEmojiObjectSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon.\");\nconst NotionUpdateRowDatabase_NotionHostedFileSchema = z.object({\n url: z.string().describe(\"Authenticated URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file with authenticated URL.\");\nconst NotionUpdateRowDatabase_FileIconWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"File icon with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUID of the uploaded file object.\").nullable(),\n}).passthrough().describe(\"File uploaded via API.\");\nconst NotionUpdateRowDatabase_FileIconWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with uploaded file.\");\nconst NotionUpdateRowDatabase_ExternalFileObjectSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).passthrough().describe(\"External file reference.\");\nconst NotionUpdateRowDatabase_FileIconWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"File icon with external URL.\");\nconst NotionUpdateRowDatabase_CoverWithHostedSchema = z.object({\n file: NotionUpdateRowDatabase_NotionHostedFileSchema.nullable(),\n type: z.string().describe(\"Type of file.\").nullable(),\n}).passthrough().describe(\"Cover with Notion-hosted file.\");\nconst NotionUpdateRowDatabase_CoverWithUploadSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n file_upload: NotionUpdateRowDatabase_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with uploaded file.\");\nconst NotionUpdateRowDatabase_CoverWithExternalSchema = z.object({\n type: z.string().describe(\"Type of file.\").nullable(),\n external: NotionUpdateRowDatabase_ExternalFileObjectSchema.nullable(),\n}).passthrough().describe(\"Cover with external URL.\");\nconst NotionUpdateRowDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always \\\"database_id\\\".\").nullable(),\n database_id: z.string().describe(\"The database identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a database.\");\nconst NotionUpdateRowDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"data_source_id\\\".\").nullable(),\n database_id: z.string().describe(\"The parent database identifier in UUIDv4 format.\").nullable(),\n data_source_id: z.string().describe(\"The data source identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a data source.\");\nconst NotionUpdateRowDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always \\\"page_id\\\".\").nullable(),\n page_id: z.string().describe(\"The page identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a page.\");\nconst NotionUpdateRowDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always \\\"workspace\\\".\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Parent is the workspace.\");\nconst NotionUpdateRowDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always \\\"block_id\\\".\").nullable(),\n block_id: z.string().describe(\"The block identifier in UUIDv4 format.\").nullable(),\n}).passthrough().describe(\"Parent is a block.\");\nconst NotionUpdateRowDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user in UUID format.\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\".\").nullable(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nexport const NotionUpdateRowDatabaseOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page in UUIDv4 format.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionUpdateRowDatabase_EmojiIconSchema, NotionUpdateRowDatabase_CustomEmojiIconSchema, NotionUpdateRowDatabase_FileIconWithHostedSchema, NotionUpdateRowDatabase_FileIconWithUploadSchema, NotionUpdateRowDatabase_FileIconWithExternalSchema]).nullable().optional(),\n cover: z.union([NotionUpdateRowDatabase_CoverWithHostedSchema, NotionUpdateRowDatabase_CoverWithUploadSchema, NotionUpdateRowDatabase_CoverWithExternalSchema]).nullable().optional(),\n object: z.string().describe(\"Always \\\"page\\\". Identifies the type of object.\").nullable(),\n parent: z.union([NotionUpdateRowDatabase_DatabaseParentSchema, NotionUpdateRowDatabase_DataSourceParentSchema, NotionUpdateRowDatabase_PageParentSchema, NotionUpdateRowDatabase_WorkspaceParentSchema, NotionUpdateRowDatabase_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived (deleted).\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n created_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page. Keys correspond to property names defined in the parent database schema, and values are property value objects specific to each property type.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the page if it has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when this page was created, in ISO 8601 format.\").nullable().optional(),\n last_edited_by: NotionUpdateRowDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Date and time when this page was last updated, in ISO 8601 format.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the execution layer explaining any special handling performed.\").nullable().optional(),\n}).passthrough().describe(\"Response object returned when updating a page (database row) in Notion. Returns the complete updated page object.\");\n\nexport const notionUpdateRowDatabase: AppAction<\n typeof NotionUpdateRowDatabaseInput,\n typeof NotionUpdateRowDatabaseOutput,\n typeof notion.credential\n> = action(\"NOTION_UPDATE_ROW_DATABASE\", {\n slug: \"notion-update-row-database\",\n name: \"Update Database Row (Page)\",\n description: \"Updates a specific row/page within a Notion database by its page UUID (row_id). IMPORTANT CLARIFICATION: This action updates INDIVIDUAL ROWS (pages) in a database, NOT the database structure. - To update a ROW/PAGE: Use THIS action with `row_id` (the page UUID) - To update DATABASE SCHEMA (columns, properties, title): Use NOTION_UPDATE_SCHEMA_DATABASE with `database_id` REQUIRED: `row_id` is MANDATORY. This is the UUID of the specific page/row to update. Do NOT pass `database_id` to this action - that parameter does not exist here. Common issues: (1) Use UUID from page URL, not the full URL (2) Ensure page is shared with integration (3) Match property names exactly as in database (4) Use 'status' type for Status properties, not 'select' (5) Retry on 409 Conflict errors (concurrent updates) Supports updating properties, icon, cover, or archiving the row.\",\n input: NotionUpdateRowDatabaseInput,\n output: NotionUpdateRowDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CAC/L,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAClM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0eAA0e;CACtgB,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC7S,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,KAAK;GAAC;GAAS;GAAa;GAAU;GAAU;GAAgB;GAAQ;GAAU;GAAS;GAAY;GAAO;GAAS;GAAgB;GAAW;GAAY;GAAU;GAAU;GAAgB;GAAc;GAAoB;GAAkB;GAAS;EAAW,CAAC,CAAC,CAAC,SAAS,mnBA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