@keystrokehq/outline 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/activate-user.cjs +4 -4
- package/dist/actions/activate-user.cjs.map +1 -1
- package/dist/actions/activate-user.d.cts +4 -4
- package/dist/actions/activate-user.d.mts +4 -4
- package/dist/actions/activate-user.mjs +4 -4
- package/dist/actions/activate-user.mjs.map +1 -1
- package/dist/actions/add-collection-group.cjs +3 -3
- package/dist/actions/add-collection-group.cjs.map +1 -1
- package/dist/actions/add-collection-group.d.cts +3 -3
- package/dist/actions/add-collection-group.d.mts +3 -3
- package/dist/actions/add-collection-group.mjs +3 -3
- package/dist/actions/add-collection-group.mjs.map +1 -1
- package/dist/actions/add-document-user.cjs +4 -4
- package/dist/actions/add-document-user.cjs.map +1 -1
- package/dist/actions/add-document-user.d.cts +4 -4
- package/dist/actions/add-document-user.d.mts +4 -4
- package/dist/actions/add-document-user.mjs +4 -4
- package/dist/actions/add-document-user.mjs.map +1 -1
- package/dist/actions/add-group-to-document.cjs +3 -3
- package/dist/actions/add-group-to-document.cjs.map +1 -1
- package/dist/actions/add-group-to-document.d.cts +3 -3
- package/dist/actions/add-group-to-document.d.mts +3 -3
- package/dist/actions/add-group-to-document.mjs +3 -3
- package/dist/actions/add-group-to-document.mjs.map +1 -1
- package/dist/actions/add-group-user.cjs +4 -4
- package/dist/actions/add-group-user.cjs.map +1 -1
- package/dist/actions/add-group-user.d.cts +4 -4
- package/dist/actions/add-group-user.d.mts +4 -4
- package/dist/actions/add-group-user.mjs +4 -4
- package/dist/actions/add-group-user.mjs.map +1 -1
- package/dist/actions/add-user-to-collection.cjs +4 -4
- package/dist/actions/add-user-to-collection.cjs.map +1 -1
- package/dist/actions/add-user-to-collection.d.cts +4 -4
- package/dist/actions/add-user-to-collection.d.mts +4 -4
- package/dist/actions/add-user-to-collection.mjs +4 -4
- package/dist/actions/add-user-to-collection.mjs.map +1 -1
- package/dist/actions/archive-document.cjs +6 -6
- package/dist/actions/archive-document.cjs.map +1 -1
- package/dist/actions/archive-document.d.cts +7 -7
- package/dist/actions/archive-document.d.mts +7 -7
- package/dist/actions/archive-document.mjs +6 -6
- package/dist/actions/archive-document.mjs.map +1 -1
- package/dist/actions/create-attachment.cjs +4 -4
- package/dist/actions/create-attachment.cjs.map +1 -1
- package/dist/actions/create-attachment.d.cts +4 -4
- package/dist/actions/create-attachment.d.mts +4 -4
- package/dist/actions/create-attachment.mjs +4 -4
- package/dist/actions/create-attachment.mjs.map +1 -1
- package/dist/actions/create-collection.cjs +4 -4
- package/dist/actions/create-collection.cjs.map +1 -1
- package/dist/actions/create-collection.d.cts +4 -4
- package/dist/actions/create-collection.d.mts +4 -4
- package/dist/actions/create-collection.mjs +4 -4
- package/dist/actions/create-collection.mjs.map +1 -1
- package/dist/actions/create-comment.cjs +3 -3
- package/dist/actions/create-comment.cjs.map +1 -1
- package/dist/actions/create-comment.d.cts +3 -3
- package/dist/actions/create-comment.d.mts +3 -3
- package/dist/actions/create-comment.mjs +3 -3
- package/dist/actions/create-comment.mjs.map +1 -1
- package/dist/actions/create-document.cjs +7 -7
- package/dist/actions/create-document.cjs.map +1 -1
- package/dist/actions/create-document.d.cts +9 -8
- package/dist/actions/create-document.d.mts +9 -8
- package/dist/actions/create-document.mjs +7 -7
- package/dist/actions/create-document.mjs.map +1 -1
- package/dist/actions/create-group.cjs +4 -4
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +4 -4
- package/dist/actions/create-group.d.mts +4 -4
- package/dist/actions/create-group.mjs +4 -4
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-o-auth-client.cjs +4 -4
- package/dist/actions/create-o-auth-client.cjs.map +1 -1
- package/dist/actions/create-o-auth-client.d.cts +4 -4
- package/dist/actions/create-o-auth-client.d.mts +4 -4
- package/dist/actions/create-o-auth-client.mjs +4 -4
- package/dist/actions/create-o-auth-client.mjs.map +1 -1
- package/dist/actions/create-share.cjs +5 -5
- package/dist/actions/create-share.cjs.map +1 -1
- package/dist/actions/create-share.d.cts +5 -5
- package/dist/actions/create-share.d.mts +5 -5
- package/dist/actions/create-share.mjs +5 -5
- package/dist/actions/create-share.mjs.map +1 -1
- package/dist/actions/create-star.cjs +2 -2
- package/dist/actions/create-star.cjs.map +1 -1
- package/dist/actions/create-star.d.cts +2 -2
- package/dist/actions/create-star.d.mts +2 -2
- package/dist/actions/create-star.mjs +2 -2
- package/dist/actions/create-star.mjs.map +1 -1
- package/dist/actions/create-template.cjs +6 -6
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +8 -8
- package/dist/actions/create-template.d.mts +8 -8
- package/dist/actions/create-template.mjs +6 -6
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-view.cjs +2 -2
- package/dist/actions/create-view.cjs.map +1 -1
- package/dist/actions/create-view.d.cts +2 -2
- package/dist/actions/create-view.d.mts +2 -2
- package/dist/actions/create-view.mjs +2 -2
- package/dist/actions/create-view.mjs.map +1 -1
- package/dist/actions/delete-attachment.cjs +1 -1
- package/dist/actions/delete-attachment.cjs.map +1 -1
- package/dist/actions/delete-attachment.d.cts +1 -1
- package/dist/actions/delete-attachment.d.mts +1 -1
- package/dist/actions/delete-attachment.mjs +1 -1
- package/dist/actions/delete-attachment.mjs.map +1 -1
- package/dist/actions/delete-collection.cjs +1 -1
- package/dist/actions/delete-collection.cjs.map +1 -1
- package/dist/actions/delete-collection.d.cts +1 -1
- package/dist/actions/delete-collection.d.mts +1 -1
- package/dist/actions/delete-collection.mjs +1 -1
- package/dist/actions/delete-collection.mjs.map +1 -1
- package/dist/actions/delete-comment.cjs +1 -1
- package/dist/actions/delete-comment.cjs.map +1 -1
- package/dist/actions/delete-comment.d.cts +1 -1
- package/dist/actions/delete-comment.d.mts +1 -1
- package/dist/actions/delete-comment.mjs +1 -1
- package/dist/actions/delete-comment.mjs.map +1 -1
- package/dist/actions/delete-document.cjs +1 -1
- package/dist/actions/delete-document.cjs.map +1 -1
- package/dist/actions/delete-document.d.cts +1 -1
- package/dist/actions/delete-document.d.mts +1 -1
- package/dist/actions/delete-document.mjs +1 -1
- package/dist/actions/delete-document.mjs.map +1 -1
- package/dist/actions/delete-file-operation.cjs +1 -1
- package/dist/actions/delete-file-operation.cjs.map +1 -1
- package/dist/actions/delete-file-operation.d.cts +1 -1
- package/dist/actions/delete-file-operation.d.mts +1 -1
- package/dist/actions/delete-file-operation.mjs +1 -1
- package/dist/actions/delete-file-operation.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +1 -1
- package/dist/actions/delete-group.d.mts +1 -1
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-oauth-authentication.cjs +1 -1
- package/dist/actions/delete-oauth-authentication.cjs.map +1 -1
- package/dist/actions/delete-oauth-authentication.d.cts +1 -1
- package/dist/actions/delete-oauth-authentication.d.mts +1 -1
- package/dist/actions/delete-oauth-authentication.mjs +1 -1
- package/dist/actions/delete-oauth-authentication.mjs.map +1 -1
- package/dist/actions/delete-oauth-client.cjs +1 -1
- package/dist/actions/delete-oauth-client.cjs.map +1 -1
- package/dist/actions/delete-oauth-client.d.cts +1 -1
- package/dist/actions/delete-oauth-client.d.mts +1 -1
- package/dist/actions/delete-oauth-client.mjs +1 -1
- package/dist/actions/delete-oauth-client.mjs.map +1 -1
- package/dist/actions/delete-star.cjs +1 -1
- package/dist/actions/delete-star.cjs.map +1 -1
- package/dist/actions/delete-star.d.cts +1 -1
- package/dist/actions/delete-star.d.mts +1 -1
- package/dist/actions/delete-star.mjs +1 -1
- package/dist/actions/delete-star.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +1 -1
- package/dist/actions/delete-template.d.mts +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +1 -1
- package/dist/actions/delete-user.d.mts +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/duplicate-document.cjs +2 -2
- package/dist/actions/duplicate-document.cjs.map +1 -1
- package/dist/actions/duplicate-document.d.cts +4 -4
- package/dist/actions/duplicate-document.d.mts +4 -4
- package/dist/actions/duplicate-document.mjs +2 -2
- package/dist/actions/duplicate-document.mjs.map +1 -1
- package/dist/actions/duplicate-template.cjs +5 -5
- package/dist/actions/duplicate-template.cjs.map +1 -1
- package/dist/actions/duplicate-template.d.cts +6 -6
- package/dist/actions/duplicate-template.d.mts +6 -6
- package/dist/actions/duplicate-template.mjs +5 -5
- package/dist/actions/duplicate-template.mjs.map +1 -1
- package/dist/actions/empty-documents-trash.cjs +1 -1
- package/dist/actions/empty-documents-trash.cjs.map +1 -1
- package/dist/actions/empty-documents-trash.d.cts +1 -1
- package/dist/actions/empty-documents-trash.d.mts +1 -1
- package/dist/actions/empty-documents-trash.mjs +1 -1
- package/dist/actions/empty-documents-trash.mjs.map +1 -1
- package/dist/actions/export-all-collections.cjs +1 -1
- package/dist/actions/export-all-collections.cjs.map +1 -1
- package/dist/actions/export-all-collections.d.cts +1 -1
- package/dist/actions/export-all-collections.d.mts +1 -1
- package/dist/actions/export-all-collections.mjs +1 -1
- package/dist/actions/export-all-collections.mjs.map +1 -1
- package/dist/actions/export-collection.cjs +1 -1
- package/dist/actions/export-collection.cjs.map +1 -1
- package/dist/actions/export-collection.d.cts +1 -1
- package/dist/actions/export-collection.d.mts +1 -1
- package/dist/actions/export-collection.mjs +1 -1
- package/dist/actions/export-collection.mjs.map +1 -1
- package/dist/actions/export-document.cjs +2 -2
- package/dist/actions/export-document.cjs.map +1 -1
- package/dist/actions/export-document.d.cts +2 -2
- package/dist/actions/export-document.d.mts +2 -2
- package/dist/actions/export-document.mjs +2 -2
- package/dist/actions/export-document.mjs.map +1 -1
- package/dist/actions/get-attachment-redirect.cjs +1 -1
- package/dist/actions/get-attachment-redirect.cjs.map +1 -1
- package/dist/actions/get-attachment-redirect.d.cts +1 -1
- package/dist/actions/get-attachment-redirect.d.mts +1 -1
- package/dist/actions/get-attachment-redirect.mjs +1 -1
- package/dist/actions/get-attachment-redirect.mjs.map +1 -1
- package/dist/actions/get-auth-config.cjs +3 -3
- package/dist/actions/get-auth-config.cjs.map +1 -1
- package/dist/actions/get-auth-config.d.cts +3 -3
- package/dist/actions/get-auth-config.d.mts +3 -3
- package/dist/actions/get-auth-config.mjs +3 -3
- package/dist/actions/get-auth-config.mjs.map +1 -1
- package/dist/actions/get-collection-documents.cjs +6 -6
- package/dist/actions/get-collection-documents.cjs.map +1 -1
- package/dist/actions/get-collection-documents.d.cts +6 -6
- package/dist/actions/get-collection-documents.d.mts +6 -6
- package/dist/actions/get-collection-documents.mjs +6 -6
- package/dist/actions/get-collection-documents.mjs.map +1 -1
- package/dist/actions/get-collection.cjs +5 -5
- package/dist/actions/get-collection.cjs.map +1 -1
- package/dist/actions/get-collection.d.cts +5 -5
- package/dist/actions/get-collection.d.mts +5 -5
- package/dist/actions/get-collection.mjs +5 -5
- package/dist/actions/get-collection.mjs.map +1 -1
- package/dist/actions/get-comment.cjs +9 -9
- package/dist/actions/get-comment.cjs.map +1 -1
- package/dist/actions/get-comment.d.cts +10 -10
- package/dist/actions/get-comment.d.mts +10 -10
- package/dist/actions/get-comment.mjs +9 -9
- package/dist/actions/get-comment.mjs.map +1 -1
- package/dist/actions/get-document-info.cjs +6 -6
- package/dist/actions/get-document-info.cjs.map +1 -1
- package/dist/actions/get-document-info.d.cts +7 -7
- package/dist/actions/get-document-info.d.mts +7 -7
- package/dist/actions/get-document-info.mjs +6 -6
- package/dist/actions/get-document-info.mjs.map +1 -1
- package/dist/actions/get-documents-documents.cjs +1 -1
- package/dist/actions/get-documents-documents.cjs.map +1 -1
- package/dist/actions/get-documents-documents.d.cts +2 -2
- package/dist/actions/get-documents-documents.d.mts +2 -2
- package/dist/actions/get-documents-documents.mjs +1 -1
- package/dist/actions/get-documents-documents.mjs.map +1 -1
- package/dist/actions/get-file-operation-info.cjs +3 -3
- package/dist/actions/get-file-operation-info.cjs.map +1 -1
- package/dist/actions/get-file-operation-info.d.cts +3 -3
- package/dist/actions/get-file-operation-info.d.mts +3 -3
- package/dist/actions/get-file-operation-info.mjs +3 -3
- package/dist/actions/get-file-operation-info.mjs.map +1 -1
- package/dist/actions/get-group-info.cjs +4 -4
- package/dist/actions/get-group-info.cjs.map +1 -1
- package/dist/actions/get-group-info.d.cts +4 -4
- package/dist/actions/get-group-info.d.mts +4 -4
- package/dist/actions/get-group-info.mjs +4 -4
- package/dist/actions/get-group-info.mjs.map +1 -1
- package/dist/actions/get-oauth-client-info.cjs +4 -4
- package/dist/actions/get-oauth-client-info.cjs.map +1 -1
- package/dist/actions/get-oauth-client-info.d.cts +4 -4
- package/dist/actions/get-oauth-client-info.d.mts +4 -4
- package/dist/actions/get-oauth-client-info.mjs +4 -4
- package/dist/actions/get-oauth-client-info.mjs.map +1 -1
- package/dist/actions/get-revision-info.cjs +5 -5
- package/dist/actions/get-revision-info.cjs.map +1 -1
- package/dist/actions/get-revision-info.d.cts +5 -5
- package/dist/actions/get-revision-info.d.mts +5 -5
- package/dist/actions/get-revision-info.mjs +5 -5
- package/dist/actions/get-revision-info.mjs.map +1 -1
- package/dist/actions/get-share-info.cjs +5 -5
- package/dist/actions/get-share-info.cjs.map +1 -1
- package/dist/actions/get-share-info.d.cts +5 -5
- package/dist/actions/get-share-info.d.mts +5 -5
- package/dist/actions/get-share-info.mjs +5 -5
- package/dist/actions/get-share-info.mjs.map +1 -1
- package/dist/actions/get-template-info.cjs +5 -5
- package/dist/actions/get-template-info.cjs.map +1 -1
- package/dist/actions/get-template-info.d.cts +6 -6
- package/dist/actions/get-template-info.d.mts +6 -6
- package/dist/actions/get-template-info.mjs +5 -5
- package/dist/actions/get-template-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +4 -4
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +4 -4
- package/dist/actions/get-user-info.d.mts +4 -4
- package/dist/actions/get-user-info.mjs +4 -4
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/invite-users.cjs +5 -5
- package/dist/actions/invite-users.cjs.map +1 -1
- package/dist/actions/invite-users.d.cts +7 -6
- package/dist/actions/invite-users.d.mts +7 -6
- package/dist/actions/invite-users.mjs +5 -5
- package/dist/actions/invite-users.mjs.map +1 -1
- package/dist/actions/list-archived-documents.cjs +6 -6
- package/dist/actions/list-archived-documents.cjs.map +1 -1
- package/dist/actions/list-archived-documents.d.cts +7 -7
- package/dist/actions/list-archived-documents.d.mts +7 -7
- package/dist/actions/list-archived-documents.mjs +6 -6
- package/dist/actions/list-archived-documents.mjs.map +1 -1
- package/dist/actions/list-collection-group-memberships.cjs +5 -5
- package/dist/actions/list-collection-group-memberships.cjs.map +1 -1
- package/dist/actions/list-collection-group-memberships.d.cts +5 -5
- package/dist/actions/list-collection-group-memberships.d.mts +5 -5
- package/dist/actions/list-collection-group-memberships.mjs +5 -5
- package/dist/actions/list-collection-group-memberships.mjs.map +1 -1
- package/dist/actions/list-collection-memberships.cjs +5 -5
- package/dist/actions/list-collection-memberships.cjs.map +1 -1
- package/dist/actions/list-collection-memberships.d.cts +5 -5
- package/dist/actions/list-collection-memberships.d.mts +5 -5
- package/dist/actions/list-collection-memberships.mjs +5 -5
- package/dist/actions/list-collection-memberships.mjs.map +1 -1
- package/dist/actions/list-collections.cjs +6 -6
- package/dist/actions/list-collections.cjs.map +1 -1
- package/dist/actions/list-collections.d.cts +6 -6
- package/dist/actions/list-collections.d.mts +6 -6
- package/dist/actions/list-collections.mjs +6 -6
- package/dist/actions/list-collections.mjs.map +1 -1
- package/dist/actions/list-comments.cjs +7 -7
- package/dist/actions/list-comments.cjs.map +1 -1
- package/dist/actions/list-comments.d.cts +8 -8
- package/dist/actions/list-comments.d.mts +8 -8
- package/dist/actions/list-comments.mjs +7 -7
- package/dist/actions/list-comments.mjs.map +1 -1
- package/dist/actions/list-data-attributes.cjs +5 -5
- package/dist/actions/list-data-attributes.cjs.map +1 -1
- package/dist/actions/list-data-attributes.d.cts +5 -5
- package/dist/actions/list-data-attributes.d.mts +5 -5
- package/dist/actions/list-data-attributes.mjs +5 -5
- package/dist/actions/list-data-attributes.mjs.map +1 -1
- package/dist/actions/list-deleted-documents.cjs +8 -8
- package/dist/actions/list-deleted-documents.cjs.map +1 -1
- package/dist/actions/list-deleted-documents.d.cts +9 -9
- package/dist/actions/list-deleted-documents.d.mts +9 -9
- package/dist/actions/list-deleted-documents.mjs +8 -8
- package/dist/actions/list-deleted-documents.mjs.map +1 -1
- package/dist/actions/list-document-group-memberships.cjs +5 -5
- package/dist/actions/list-document-group-memberships.cjs.map +1 -1
- package/dist/actions/list-document-group-memberships.d.cts +5 -5
- package/dist/actions/list-document-group-memberships.d.mts +5 -5
- package/dist/actions/list-document-group-memberships.mjs +5 -5
- package/dist/actions/list-document-group-memberships.mjs.map +1 -1
- package/dist/actions/list-document-memberships.cjs +5 -5
- package/dist/actions/list-document-memberships.cjs.map +1 -1
- package/dist/actions/list-document-memberships.d.cts +5 -5
- package/dist/actions/list-document-memberships.d.mts +5 -5
- package/dist/actions/list-document-memberships.mjs +5 -5
- package/dist/actions/list-document-memberships.mjs.map +1 -1
- package/dist/actions/list-document-users.cjs +5 -5
- package/dist/actions/list-document-users.cjs.map +1 -1
- package/dist/actions/list-document-users.d.cts +5 -5
- package/dist/actions/list-document-users.d.mts +5 -5
- package/dist/actions/list-document-users.mjs +5 -5
- package/dist/actions/list-document-users.mjs.map +1 -1
- package/dist/actions/list-documents.cjs +6 -6
- package/dist/actions/list-documents.cjs.map +1 -1
- package/dist/actions/list-documents.d.cts +7 -7
- package/dist/actions/list-documents.d.mts +7 -7
- package/dist/actions/list-documents.mjs +6 -6
- package/dist/actions/list-documents.mjs.map +1 -1
- package/dist/actions/list-draft-documents.cjs +7 -7
- package/dist/actions/list-draft-documents.cjs.map +1 -1
- package/dist/actions/list-draft-documents.d.cts +9 -9
- package/dist/actions/list-draft-documents.d.mts +9 -9
- package/dist/actions/list-draft-documents.mjs +7 -7
- package/dist/actions/list-draft-documents.mjs.map +1 -1
- package/dist/actions/list-events.cjs +4 -4
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +4 -4
- package/dist/actions/list-events.d.mts +4 -4
- package/dist/actions/list-events.mjs +4 -4
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-file-operations.cjs +4 -4
- package/dist/actions/list-file-operations.cjs.map +1 -1
- package/dist/actions/list-file-operations.d.cts +4 -4
- package/dist/actions/list-file-operations.d.mts +4 -4
- package/dist/actions/list-file-operations.mjs +4 -4
- package/dist/actions/list-file-operations.mjs.map +1 -1
- package/dist/actions/list-group-memberships.cjs +7 -7
- package/dist/actions/list-group-memberships.cjs.map +1 -1
- package/dist/actions/list-group-memberships.d.cts +7 -7
- package/dist/actions/list-group-memberships.d.mts +7 -7
- package/dist/actions/list-group-memberships.mjs +7 -7
- package/dist/actions/list-group-memberships.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +8 -8
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +8 -8
- package/dist/actions/list-groups.d.mts +8 -8
- package/dist/actions/list-groups.mjs +8 -8
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-o-auth-authentications.cjs +5 -5
- package/dist/actions/list-o-auth-authentications.cjs.map +1 -1
- package/dist/actions/list-o-auth-authentications.d.cts +5 -5
- package/dist/actions/list-o-auth-authentications.d.mts +5 -5
- package/dist/actions/list-o-auth-authentications.mjs +5 -5
- package/dist/actions/list-o-auth-authentications.mjs.map +1 -1
- package/dist/actions/list-oauth-clients.cjs +5 -5
- package/dist/actions/list-oauth-clients.cjs.map +1 -1
- package/dist/actions/list-oauth-clients.d.cts +5 -5
- package/dist/actions/list-oauth-clients.d.mts +5 -5
- package/dist/actions/list-oauth-clients.mjs +5 -5
- package/dist/actions/list-oauth-clients.mjs.map +1 -1
- package/dist/actions/list-recently-viewed-documents.cjs +6 -6
- package/dist/actions/list-recently-viewed-documents.cjs.map +1 -1
- package/dist/actions/list-recently-viewed-documents.d.cts +7 -7
- package/dist/actions/list-recently-viewed-documents.d.mts +7 -7
- package/dist/actions/list-recently-viewed-documents.mjs +6 -6
- package/dist/actions/list-recently-viewed-documents.mjs.map +1 -1
- package/dist/actions/list-revisions.cjs +4 -4
- package/dist/actions/list-revisions.cjs.map +1 -1
- package/dist/actions/list-revisions.d.cts +4 -4
- package/dist/actions/list-revisions.d.mts +4 -4
- package/dist/actions/list-revisions.mjs +4 -4
- package/dist/actions/list-revisions.mjs.map +1 -1
- package/dist/actions/list-shares.cjs +6 -6
- package/dist/actions/list-shares.cjs.map +1 -1
- package/dist/actions/list-shares.d.cts +6 -6
- package/dist/actions/list-shares.d.mts +6 -6
- package/dist/actions/list-shares.mjs +6 -6
- package/dist/actions/list-shares.mjs.map +1 -1
- package/dist/actions/list-stars.cjs +6 -6
- package/dist/actions/list-stars.cjs.map +1 -1
- package/dist/actions/list-stars.d.cts +6 -6
- package/dist/actions/list-stars.d.mts +6 -6
- package/dist/actions/list-stars.mjs +6 -6
- package/dist/actions/list-stars.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +6 -6
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +7 -7
- package/dist/actions/list-templates.d.mts +7 -7
- package/dist/actions/list-templates.mjs +6 -6
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-users.cjs +5 -5
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +5 -5
- package/dist/actions/list-users.d.mts +5 -5
- package/dist/actions/list-users.mjs +5 -5
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-views.cjs +6 -6
- package/dist/actions/list-views.cjs.map +1 -1
- package/dist/actions/list-views.d.cts +6 -6
- package/dist/actions/list-views.d.mts +6 -6
- package/dist/actions/list-views.mjs +6 -6
- package/dist/actions/list-views.mjs.map +1 -1
- package/dist/actions/move-document.cjs +2 -2
- package/dist/actions/move-document.cjs.map +1 -1
- package/dist/actions/move-document.d.cts +4 -4
- package/dist/actions/move-document.d.mts +4 -4
- package/dist/actions/move-document.mjs +2 -2
- package/dist/actions/move-document.mjs.map +1 -1
- package/dist/actions/redirect-file-operation.cjs +1 -1
- package/dist/actions/redirect-file-operation.cjs.map +1 -1
- package/dist/actions/redirect-file-operation.d.cts +1 -1
- package/dist/actions/redirect-file-operation.d.mts +1 -1
- package/dist/actions/redirect-file-operation.mjs +1 -1
- package/dist/actions/redirect-file-operation.mjs.map +1 -1
- package/dist/actions/remove-collection-group.cjs +1 -1
- package/dist/actions/remove-collection-group.cjs.map +1 -1
- package/dist/actions/remove-collection-group.d.cts +1 -1
- package/dist/actions/remove-collection-group.d.mts +1 -1
- package/dist/actions/remove-collection-group.mjs +1 -1
- package/dist/actions/remove-collection-group.mjs.map +1 -1
- package/dist/actions/remove-collection-user.cjs +1 -1
- package/dist/actions/remove-collection-user.cjs.map +1 -1
- package/dist/actions/remove-collection-user.d.cts +1 -1
- package/dist/actions/remove-collection-user.d.mts +1 -1
- package/dist/actions/remove-collection-user.mjs +1 -1
- package/dist/actions/remove-collection-user.mjs.map +1 -1
- package/dist/actions/remove-document-user.cjs +1 -1
- package/dist/actions/remove-document-user.cjs.map +1 -1
- package/dist/actions/remove-document-user.d.cts +1 -1
- package/dist/actions/remove-document-user.d.mts +1 -1
- package/dist/actions/remove-document-user.mjs +1 -1
- package/dist/actions/remove-document-user.mjs.map +1 -1
- package/dist/actions/remove-group-from-document.cjs +1 -1
- package/dist/actions/remove-group-from-document.cjs.map +1 -1
- package/dist/actions/remove-group-from-document.d.cts +1 -1
- package/dist/actions/remove-group-from-document.d.mts +1 -1
- package/dist/actions/remove-group-from-document.mjs +1 -1
- package/dist/actions/remove-group-from-document.mjs.map +1 -1
- package/dist/actions/remove-group-user.cjs +1 -1
- package/dist/actions/remove-group-user.cjs.map +1 -1
- package/dist/actions/remove-group-user.d.cts +1 -1
- package/dist/actions/remove-group-user.d.mts +1 -1
- package/dist/actions/remove-group-user.mjs +1 -1
- package/dist/actions/remove-group-user.mjs.map +1 -1
- package/dist/actions/restore-document.cjs +5 -5
- package/dist/actions/restore-document.cjs.map +1 -1
- package/dist/actions/restore-document.d.cts +6 -6
- package/dist/actions/restore-document.d.mts +6 -6
- package/dist/actions/restore-document.mjs +5 -5
- package/dist/actions/restore-document.mjs.map +1 -1
- package/dist/actions/restore-template.cjs +5 -5
- package/dist/actions/restore-template.cjs.map +1 -1
- package/dist/actions/restore-template.d.cts +6 -6
- package/dist/actions/restore-template.d.mts +6 -6
- package/dist/actions/restore-template.mjs +5 -5
- package/dist/actions/restore-template.mjs.map +1 -1
- package/dist/actions/retrieve-auth-info.cjs +4 -4
- package/dist/actions/retrieve-auth-info.cjs.map +1 -1
- package/dist/actions/retrieve-auth-info.d.cts +4 -4
- package/dist/actions/retrieve-auth-info.d.mts +4 -4
- package/dist/actions/retrieve-auth-info.mjs +4 -4
- package/dist/actions/retrieve-auth-info.mjs.map +1 -1
- package/dist/actions/revoke-share.cjs +1 -1
- package/dist/actions/revoke-share.cjs.map +1 -1
- package/dist/actions/revoke-share.d.cts +1 -1
- package/dist/actions/revoke-share.d.mts +1 -1
- package/dist/actions/revoke-share.mjs +1 -1
- package/dist/actions/revoke-share.mjs.map +1 -1
- package/dist/actions/rotate-oauth-client-secret.cjs +2 -2
- package/dist/actions/rotate-oauth-client-secret.cjs.map +1 -1
- package/dist/actions/rotate-oauth-client-secret.d.cts +2 -2
- package/dist/actions/rotate-oauth-client-secret.d.mts +2 -2
- package/dist/actions/rotate-oauth-client-secret.mjs +2 -2
- package/dist/actions/rotate-oauth-client-secret.mjs.map +1 -1
- package/dist/actions/search-document-titles.cjs +6 -6
- package/dist/actions/search-document-titles.cjs.map +1 -1
- package/dist/actions/search-document-titles.d.cts +7 -7
- package/dist/actions/search-document-titles.d.mts +7 -7
- package/dist/actions/search-document-titles.mjs +6 -6
- package/dist/actions/search-document-titles.mjs.map +1 -1
- package/dist/actions/search-documents.cjs +6 -6
- package/dist/actions/search-documents.cjs.map +1 -1
- package/dist/actions/search-documents.d.cts +7 -7
- package/dist/actions/search-documents.d.mts +7 -7
- package/dist/actions/search-documents.mjs +6 -6
- package/dist/actions/search-documents.mjs.map +1 -1
- package/dist/actions/suspend-user.cjs +4 -4
- package/dist/actions/suspend-user.cjs.map +1 -1
- package/dist/actions/suspend-user.d.cts +4 -4
- package/dist/actions/suspend-user.d.mts +4 -4
- package/dist/actions/suspend-user.mjs +4 -4
- package/dist/actions/suspend-user.mjs.map +1 -1
- package/dist/actions/templatize-document.cjs +5 -5
- package/dist/actions/templatize-document.cjs.map +1 -1
- package/dist/actions/templatize-document.d.cts +6 -6
- package/dist/actions/templatize-document.d.mts +6 -6
- package/dist/actions/templatize-document.mjs +5 -5
- package/dist/actions/templatize-document.mjs.map +1 -1
- package/dist/actions/unpublish-document.cjs +1 -1
- package/dist/actions/unpublish-document.cjs.map +1 -1
- package/dist/actions/unpublish-document.d.cts +1 -1
- package/dist/actions/unpublish-document.d.mts +1 -1
- package/dist/actions/unpublish-document.mjs +1 -1
- package/dist/actions/unpublish-document.mjs.map +1 -1
- package/dist/actions/update-collection.cjs +5 -5
- package/dist/actions/update-collection.cjs.map +1 -1
- package/dist/actions/update-collection.d.cts +5 -5
- package/dist/actions/update-collection.d.mts +5 -5
- package/dist/actions/update-collection.mjs +5 -5
- package/dist/actions/update-collection.mjs.map +1 -1
- package/dist/actions/update-comment.cjs +1 -1
- package/dist/actions/update-comment.cjs.map +1 -1
- package/dist/actions/update-comment.d.cts +1 -1
- package/dist/actions/update-comment.d.mts +1 -1
- package/dist/actions/update-comment.mjs +1 -1
- package/dist/actions/update-comment.mjs.map +1 -1
- package/dist/actions/update-document.cjs +7 -7
- package/dist/actions/update-document.cjs.map +1 -1
- package/dist/actions/update-document.d.cts +9 -8
- package/dist/actions/update-document.d.mts +9 -8
- package/dist/actions/update-document.mjs +7 -7
- package/dist/actions/update-document.mjs.map +1 -1
- package/dist/actions/update-group.cjs +4 -4
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +4 -4
- package/dist/actions/update-group.d.mts +4 -4
- package/dist/actions/update-group.mjs +4 -4
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-o-auth-client.cjs +4 -4
- package/dist/actions/update-o-auth-client.cjs.map +1 -1
- package/dist/actions/update-o-auth-client.d.cts +4 -4
- package/dist/actions/update-o-auth-client.d.mts +4 -4
- package/dist/actions/update-o-auth-client.mjs +4 -4
- package/dist/actions/update-o-auth-client.mjs.map +1 -1
- package/dist/actions/update-share.cjs +5 -5
- package/dist/actions/update-share.cjs.map +1 -1
- package/dist/actions/update-share.d.cts +6 -6
- package/dist/actions/update-share.d.mts +6 -6
- package/dist/actions/update-share.mjs +5 -5
- package/dist/actions/update-share.mjs.map +1 -1
- package/dist/actions/update-star.cjs +4 -4
- package/dist/actions/update-star.cjs.map +1 -1
- package/dist/actions/update-star.d.cts +4 -4
- package/dist/actions/update-star.d.mts +4 -4
- package/dist/actions/update-star.mjs +4 -4
- package/dist/actions/update-star.mjs.map +1 -1
- package/dist/actions/update-template.cjs +6 -6
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +8 -8
- package/dist/actions/update-template.d.mts +8 -8
- package/dist/actions/update-template.mjs +6 -6
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/update-user-role.cjs +2 -2
- package/dist/actions/update-user-role.cjs.map +1 -1
- package/dist/actions/update-user-role.d.cts +2 -2
- package/dist/actions/update-user-role.d.mts +2 -2
- package/dist/actions/update-user-role.mjs +2 -2
- package/dist/actions/update-user-role.mjs.map +1 -1
- package/dist/actions/update-user.cjs +4 -4
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +4 -4
- package/dist/actions/update-user.d.mts +4 -4
- package/dist/actions/update-user.mjs +4 -4
- package/dist/actions/update-user.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,15 +14,15 @@ const OutlineSuspendUser_UserSchema = zod.z.object({
|
|
|
14
14
|
updatedAt: zod.z.string().describe("Timestamp when the user was last updated (ISO 8601 format)").nullable().optional(),
|
|
15
15
|
isSuspended: zod.z.boolean().describe("Whether the user account is suspended").nullable().optional(),
|
|
16
16
|
lastActiveAt: zod.z.string().describe("Timestamp when the user was last active (ISO 8601 format)").nullable().optional()
|
|
17
|
-
}).describe("User object in the response.");
|
|
17
|
+
}).passthrough().describe("User object in the response.");
|
|
18
18
|
const OutlineSuspendUser_PolicySchema = zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("Identifier for the policy (matches user ID)").nullable().optional(),
|
|
20
|
-
abilities: zod.z.
|
|
21
|
-
}).describe("Policy defining user permissions.");
|
|
20
|
+
abilities: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of abilities and their allowed status. Values can be boolean or arrays of membership IDs that grant the ability.").nullable().optional()
|
|
21
|
+
}).passthrough().describe("Policy defining user permissions.");
|
|
22
22
|
const OutlineSuspendUserOutput = zod.z.object({
|
|
23
23
|
data: OutlineSuspendUser_UserSchema.nullable().optional(),
|
|
24
24
|
policies: zod.z.array(OutlineSuspendUser_PolicySchema).describe("List of policies defining permissions for the user").nullable().optional()
|
|
25
|
-
}).describe("Response model for suspend user operation.\n\nReturns the suspended user object with updated status.");
|
|
25
|
+
}).passthrough().describe("Response model for suspend user operation.\n\nReturns the suspended user object with updated status.");
|
|
26
26
|
const outlineSuspendUser = require_action.action("OUTLINE_SUSPEND_USER", {
|
|
27
27
|
slug: "outline-suspend-user",
|
|
28
28
|
name: "Suspend User",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-user.cjs","names":["z","action"],"sources":["../../src/actions/suspend-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineSuspendUserInput = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n}).describe(\"Request model for suspending a user.\");\nconst OutlineSuspendUser_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the user's icon\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user has viewer-only permissions\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL of the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created (ISO 8601 format)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was last updated (ISO 8601 format)\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether the user account is suspended\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp when the user was last active (ISO 8601 format)\").nullable().optional(),\n}).describe(\"User object in the response.\");\nconst OutlineSuspendUser_PolicySchema = z.object({\n id: z.string().describe(\"Identifier for the policy (matches user ID)\").nullable().optional(),\n abilities: z.
|
|
1
|
+
{"version":3,"file":"suspend-user.cjs","names":["z","action"],"sources":["../../src/actions/suspend-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineSuspendUserInput = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n}).describe(\"Request model for suspending a user.\");\nconst OutlineSuspendUser_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the user's icon\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user has viewer-only permissions\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL of the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created (ISO 8601 format)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was last updated (ISO 8601 format)\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether the user account is suspended\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp when the user was last active (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"User object in the response.\");\nconst OutlineSuspendUser_PolicySchema = z.object({\n id: z.string().describe(\"Identifier for the policy (matches user ID)\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of abilities and their allowed status. Values can be boolean or arrays of membership IDs that grant the ability.\").nullable().optional(),\n}).passthrough().describe(\"Policy defining user permissions.\");\nexport const OutlineSuspendUserOutput = z.object({\n data: OutlineSuspendUser_UserSchema.nullable().optional(),\n policies: z.array(OutlineSuspendUser_PolicySchema).describe(\"List of policies defining permissions for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for suspend user operation.\\n\\nReturns the suspended user object with updated status.\");\n\nexport const outlineSuspendUser = action(\"OUTLINE_SUSPEND_USER\", {\n slug: \"outline-suspend-user\",\n name: \"Suspend User\",\n description: \"Tool to suspend a user in Outline. Suspending a user prevents them from signing in and they are not counted against billing totals. Use when you need to temporarily disable a user's access without deleting their account.\",\n input: OutlineSuspendUserInput,\n output: OutlineSuspendUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC3D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC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,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAAsG;AAEhI,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,12 +17,12 @@ declare const OutlineSuspendUserOutput: z.ZodObject<{
|
|
|
17
17
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
isSuspended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
19
|
lastActiveAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
abilities: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
23
|
+
abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const outlineSuspendUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,12 +17,12 @@ declare const OutlineSuspendUserOutput: z.ZodObject<{
|
|
|
17
17
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
isSuspended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
19
|
lastActiveAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
22
22
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
abilities: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
23
|
+
abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const outlineSuspendUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
id: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,11 +14,11 @@ const OutlineSuspendUser_UserSchema = z.object({
|
|
|
14
14
|
updatedAt: z.string().describe("Timestamp when the user was last updated (ISO 8601 format)").nullable().optional(),
|
|
15
15
|
isSuspended: z.boolean().describe("Whether the user account is suspended").nullable().optional(),
|
|
16
16
|
lastActiveAt: z.string().describe("Timestamp when the user was last active (ISO 8601 format)").nullable().optional()
|
|
17
|
-
}).describe("User object in the response.");
|
|
17
|
+
}).passthrough().describe("User object in the response.");
|
|
18
18
|
const OutlineSuspendUser_PolicySchema = z.object({
|
|
19
19
|
id: z.string().describe("Identifier for the policy (matches user ID)").nullable().optional(),
|
|
20
|
-
abilities: z.
|
|
21
|
-
}).describe("Policy defining user permissions.");
|
|
20
|
+
abilities: z.record(z.string(), z.unknown()).describe("Map of abilities and their allowed status. Values can be boolean or arrays of membership IDs that grant the ability.").nullable().optional()
|
|
21
|
+
}).passthrough().describe("Policy defining user permissions.");
|
|
22
22
|
const outlineSuspendUser = action("OUTLINE_SUSPEND_USER", {
|
|
23
23
|
slug: "outline-suspend-user",
|
|
24
24
|
name: "Suspend User",
|
|
@@ -27,7 +27,7 @@ const outlineSuspendUser = action("OUTLINE_SUSPEND_USER", {
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
data: OutlineSuspendUser_UserSchema.nullable().optional(),
|
|
29
29
|
policies: z.array(OutlineSuspendUser_PolicySchema).describe("List of policies defining permissions for the user").nullable().optional()
|
|
30
|
-
}).describe("Response model for suspend user operation.\n\nReturns the suspended user object with updated status.")
|
|
30
|
+
}).passthrough().describe("Response model for suspend user operation.\n\nReturns the suspended user object with updated status.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { outlineSuspendUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-user.mjs","names":[],"sources":["../../src/actions/suspend-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineSuspendUserInput = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n}).describe(\"Request model for suspending a user.\");\nconst OutlineSuspendUser_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the user's icon\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user has viewer-only permissions\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL of the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created (ISO 8601 format)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was last updated (ISO 8601 format)\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether the user account is suspended\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp when the user was last active (ISO 8601 format)\").nullable().optional(),\n}).describe(\"User object in the response.\");\nconst OutlineSuspendUser_PolicySchema = z.object({\n id: z.string().describe(\"Identifier for the policy (matches user ID)\").nullable().optional(),\n abilities: z.
|
|
1
|
+
{"version":3,"file":"suspend-user.mjs","names":[],"sources":["../../src/actions/suspend-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineSuspendUserInput = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n}).describe(\"Request model for suspending a user.\");\nconst OutlineSuspendUser_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the user's icon\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user has viewer-only permissions\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL of the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created (ISO 8601 format)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was last updated (ISO 8601 format)\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether the user account is suspended\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp when the user was last active (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"User object in the response.\");\nconst OutlineSuspendUser_PolicySchema = z.object({\n id: z.string().describe(\"Identifier for the policy (matches user ID)\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of abilities and their allowed status. Values can be boolean or arrays of membership IDs that grant the ability.\").nullable().optional(),\n}).passthrough().describe(\"Policy defining user permissions.\");\nexport const OutlineSuspendUserOutput = z.object({\n data: OutlineSuspendUser_UserSchema.nullable().optional(),\n policies: z.array(OutlineSuspendUser_PolicySchema).describe(\"List of policies defining permissions for the user\").nullable().optional(),\n}).passthrough().describe(\"Response model for suspend user operation.\\n\\nReturns the suspended user object with updated status.\");\n\nexport const outlineSuspendUser = action(\"OUTLINE_SUSPEND_USER\", {\n slug: \"outline-suspend-user\",\n name: \"Suspend User\",\n description: \"Tool to suspend a user in Outline. Suspending a user prevents them from signing in and they are not counted against billing totals. Use when you need to temporarily disable a user's access without deleting their account.\",\n input: OutlineSuspendUserInput,\n output: OutlineSuspendUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,EAC3D,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,8BAA8B,SAAS,CAAC,CAAC,SAAS;EACxD,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const OutlineTemplatizeDocument_UserSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Display name of the user").nullable().optional(),
|
|
12
12
|
email: zod.z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
avatarUrl: zod.z.string().describe("URL to the user's avatar image").nullable().optional()
|
|
14
|
-
}).describe("User object representing a document creator or editor.");
|
|
14
|
+
}).passthrough().describe("User object representing a document creator or editor.");
|
|
15
15
|
const OutlineTemplatizeDocument_TemplateSchema = zod.z.object({
|
|
16
16
|
id: zod.z.string().describe("Unique identifier for the template (UUID)").nullable().optional(),
|
|
17
17
|
icon: zod.z.string().describe("Icon displayed with the template title").nullable().optional(),
|
|
@@ -36,15 +36,15 @@ const OutlineTemplatizeDocument_TemplateSchema = zod.z.object({
|
|
|
36
36
|
collectionId: zod.z.string().describe("Parent collection identifier (UUID)").nullable().optional(),
|
|
37
37
|
insightsEnabled: zod.z.boolean().describe("Whether analytics visibility is enabled").nullable().optional(),
|
|
38
38
|
parentDocumentId: zod.z.string().describe("Parent document identifier if nested (UUID)").nullable().optional()
|
|
39
|
-
}).describe("Template object representing the created template from a document.");
|
|
39
|
+
}).passthrough().describe("Template object representing the created template from a document.");
|
|
40
40
|
const OutlineTemplatizeDocument_PolicySchema = zod.z.object({
|
|
41
41
|
id: zod.z.string().describe("Identifier matching the resource this policy governs").nullable().optional(),
|
|
42
|
-
abilities: zod.z.
|
|
43
|
-
}).describe("Policy object describing authorized actions for a resource.");
|
|
42
|
+
abilities: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of action names to boolean values indicating whether the action is allowed").nullable().optional()
|
|
43
|
+
}).passthrough().describe("Policy object describing authorized actions for a resource.");
|
|
44
44
|
const OutlineTemplatizeDocumentOutput = zod.z.object({
|
|
45
45
|
data: OutlineTemplatizeDocument_TemplateSchema.nullable(),
|
|
46
46
|
policies: zod.z.array(OutlineTemplatizeDocument_PolicySchema).describe("Array of policy objects describing authorized actions for the template").nullable().optional()
|
|
47
|
-
}).describe("Response model for creating a template from a document.");
|
|
47
|
+
}).passthrough().describe("Response model for creating a template from a document.");
|
|
48
48
|
const outlineTemplatizeDocument = require_action.action("OUTLINE_TEMPLATIZE_DOCUMENT", {
|
|
49
49
|
slug: "outline-templatize-document",
|
|
50
50
|
name: "Create Template from Document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templatize-document.cjs","names":["z","action"],"sources":["../../src/actions/templatize-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineTemplatizeDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document to convert into a template. Either the UUID or the urlId is acceptable.\"),\n publish: z.boolean().describe(\"Whether the new template should be published. Set to true to make the template immediately available to workspace members.\"),\n collectionId: z.string().describe(\"Identifier for the collection where the template should be created. If not provided, the template will be created in the same collection as the source document.\").optional(),\n}).describe(\"Request model for creating a template from an Outline document.\");\nconst OutlineTemplatizeDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable().optional(),\n name: z.string().describe(\"Display name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n}).describe(\"User object representing a document creator or editor.\");\nconst OutlineTemplatizeDocument_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template (UUID)\").nullable().optional(),\n icon: z.string().describe(\"Icon displayed with the template title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the template icon\").nullable().optional(),\n title: z.string().describe(\"Template title\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier for the template\").nullable().optional(),\n status: z.string().describe(\"Template status (draft, archived, or published)\").nullable().optional(),\n teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the template\").nullable().optional(),\n template: z.boolean().describe(\"Whether this is a template (should be true)\").nullable().optional(),\n createdAt: z.string().describe(\"Template creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n createdBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when template was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether template is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the template is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Template last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when template was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier if created from another template (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when template was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).describe(\"Template object representing the created template from a document.\");\nconst OutlineTemplatizeDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable().optional(),\n abilities: z.
|
|
1
|
+
{"version":3,"file":"templatize-document.cjs","names":["z","action"],"sources":["../../src/actions/templatize-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineTemplatizeDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document to convert into a template. Either the UUID or the urlId is acceptable.\"),\n publish: z.boolean().describe(\"Whether the new template should be published. Set to true to make the template immediately available to workspace members.\"),\n collectionId: z.string().describe(\"Identifier for the collection where the template should be created. If not provided, the template will be created in the same collection as the source document.\").optional(),\n}).describe(\"Request model for creating a template from an Outline document.\");\nconst OutlineTemplatizeDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable().optional(),\n name: z.string().describe(\"Display name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n}).passthrough().describe(\"User object representing a document creator or editor.\");\nconst OutlineTemplatizeDocument_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template (UUID)\").nullable().optional(),\n icon: z.string().describe(\"Icon displayed with the template title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the template icon\").nullable().optional(),\n title: z.string().describe(\"Template title\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier for the template\").nullable().optional(),\n status: z.string().describe(\"Template status (draft, archived, or published)\").nullable().optional(),\n teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the template\").nullable().optional(),\n template: z.boolean().describe(\"Whether this is a template (should be true)\").nullable().optional(),\n createdAt: z.string().describe(\"Template creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n createdBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when template was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether template is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the template is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Template last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when template was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier if created from another template (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when template was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).passthrough().describe(\"Template object representing the created template from a document.\");\nconst OutlineTemplatizeDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineTemplatizeDocumentOutput = z.object({\n data: OutlineTemplatizeDocument_TemplateSchema.nullable(),\n policies: z.array(OutlineTemplatizeDocument_PolicySchema).describe(\"Array of policy objects describing authorized actions for the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a template from a document.\");\n\nexport const outlineTemplatizeDocument = action(\"OUTLINE_TEMPLATIZE_DOCUMENT\", {\n slug: \"outline-templatize-document\",\n name: \"Create Template from Document\",\n description: \"Tool to create a template from an existing Outline document. Use when you need to convert a document into a reusable template for your workspace.\",\n input: OutlineTemplatizeDocumentInput,\n output: OutlineTemplatizeDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACpI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4HAA4H;CAC1J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC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E,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,yCAAyC,SAAS;CACxD,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ declare const OutlineTemplatizeDocumentOutput: z.ZodObject<{
|
|
|
24
24
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
fullWidth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
30
|
published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -34,19 +34,19 @@ declare const OutlineTemplatizeDocumentOutput: z.ZodObject<{
|
|
|
34
34
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
collectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
insightsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
43
|
parentDocumentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
45
|
policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
abilities: z.ZodOptional<z.ZodNullable<z.
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
47
|
+
abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const outlineTemplatizeDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
id: string;
|
|
52
52
|
publish: boolean;
|
|
@@ -24,7 +24,7 @@ declare const OutlineTemplatizeDocumentOutput: z.ZodObject<{
|
|
|
24
24
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
fullWidth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
30
|
published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -34,19 +34,19 @@ declare const OutlineTemplatizeDocumentOutput: z.ZodObject<{
|
|
|
34
34
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
collectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
insightsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
43
|
parentDocumentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
45
|
policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
abilities: z.ZodOptional<z.ZodNullable<z.
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
47
|
+
abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const outlineTemplatizeDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
id: string;
|
|
52
52
|
publish: boolean;
|
|
@@ -11,7 +11,7 @@ const OutlineTemplatizeDocument_UserSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("Display name of the user").nullable().optional(),
|
|
12
12
|
email: z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
avatarUrl: z.string().describe("URL to the user's avatar image").nullable().optional()
|
|
14
|
-
}).describe("User object representing a document creator or editor.");
|
|
14
|
+
}).passthrough().describe("User object representing a document creator or editor.");
|
|
15
15
|
const OutlineTemplatizeDocument_TemplateSchema = z.object({
|
|
16
16
|
id: z.string().describe("Unique identifier for the template (UUID)").nullable().optional(),
|
|
17
17
|
icon: z.string().describe("Icon displayed with the template title").nullable().optional(),
|
|
@@ -36,11 +36,11 @@ const OutlineTemplatizeDocument_TemplateSchema = z.object({
|
|
|
36
36
|
collectionId: z.string().describe("Parent collection identifier (UUID)").nullable().optional(),
|
|
37
37
|
insightsEnabled: z.boolean().describe("Whether analytics visibility is enabled").nullable().optional(),
|
|
38
38
|
parentDocumentId: z.string().describe("Parent document identifier if nested (UUID)").nullable().optional()
|
|
39
|
-
}).describe("Template object representing the created template from a document.");
|
|
39
|
+
}).passthrough().describe("Template object representing the created template from a document.");
|
|
40
40
|
const OutlineTemplatizeDocument_PolicySchema = z.object({
|
|
41
41
|
id: z.string().describe("Identifier matching the resource this policy governs").nullable().optional(),
|
|
42
|
-
abilities: z.
|
|
43
|
-
}).describe("Policy object describing authorized actions for a resource.");
|
|
42
|
+
abilities: z.record(z.string(), z.unknown()).describe("Dictionary of action names to boolean values indicating whether the action is allowed").nullable().optional()
|
|
43
|
+
}).passthrough().describe("Policy object describing authorized actions for a resource.");
|
|
44
44
|
const outlineTemplatizeDocument = action("OUTLINE_TEMPLATIZE_DOCUMENT", {
|
|
45
45
|
slug: "outline-templatize-document",
|
|
46
46
|
name: "Create Template from Document",
|
|
@@ -49,7 +49,7 @@ const outlineTemplatizeDocument = action("OUTLINE_TEMPLATIZE_DOCUMENT", {
|
|
|
49
49
|
output: z.object({
|
|
50
50
|
data: OutlineTemplatizeDocument_TemplateSchema.nullable(),
|
|
51
51
|
policies: z.array(OutlineTemplatizeDocument_PolicySchema).describe("Array of policy objects describing authorized actions for the template").nullable().optional()
|
|
52
|
-
}).describe("Response model for creating a template from a document.")
|
|
52
|
+
}).passthrough().describe("Response model for creating a template from a document.")
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
55
55
|
export { outlineTemplatizeDocument };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templatize-document.mjs","names":[],"sources":["../../src/actions/templatize-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineTemplatizeDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document to convert into a template. Either the UUID or the urlId is acceptable.\"),\n publish: z.boolean().describe(\"Whether the new template should be published. Set to true to make the template immediately available to workspace members.\"),\n collectionId: z.string().describe(\"Identifier for the collection where the template should be created. If not provided, the template will be created in the same collection as the source document.\").optional(),\n}).describe(\"Request model for creating a template from an Outline document.\");\nconst OutlineTemplatizeDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable().optional(),\n name: z.string().describe(\"Display name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n}).describe(\"User object representing a document creator or editor.\");\nconst OutlineTemplatizeDocument_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template (UUID)\").nullable().optional(),\n icon: z.string().describe(\"Icon displayed with the template title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the template icon\").nullable().optional(),\n title: z.string().describe(\"Template title\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier for the template\").nullable().optional(),\n status: z.string().describe(\"Template status (draft, archived, or published)\").nullable().optional(),\n teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the template\").nullable().optional(),\n template: z.boolean().describe(\"Whether this is a template (should be true)\").nullable().optional(),\n createdAt: z.string().describe(\"Template creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n createdBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when template was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether template is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the template is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Template last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when template was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier if created from another template (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when template was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).describe(\"Template object representing the created template from a document.\");\nconst OutlineTemplatizeDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable().optional(),\n abilities: z.
|
|
1
|
+
{"version":3,"file":"templatize-document.mjs","names":[],"sources":["../../src/actions/templatize-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineTemplatizeDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document to convert into a template. Either the UUID or the urlId is acceptable.\"),\n publish: z.boolean().describe(\"Whether the new template should be published. Set to true to make the template immediately available to workspace members.\"),\n collectionId: z.string().describe(\"Identifier for the collection where the template should be created. If not provided, the template will be created in the same collection as the source document.\").optional(),\n}).describe(\"Request model for creating a template from an Outline document.\");\nconst OutlineTemplatizeDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable().optional(),\n name: z.string().describe(\"Display name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n}).passthrough().describe(\"User object representing a document creator or editor.\");\nconst OutlineTemplatizeDocument_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template (UUID)\").nullable().optional(),\n icon: z.string().describe(\"Icon displayed with the template title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the template icon\").nullable().optional(),\n title: z.string().describe(\"Template title\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier for the template\").nullable().optional(),\n status: z.string().describe(\"Template status (draft, archived, or published)\").nullable().optional(),\n teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the template\").nullable().optional(),\n template: z.boolean().describe(\"Whether this is a template (should be true)\").nullable().optional(),\n createdAt: z.string().describe(\"Template creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n createdBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when template was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether template is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the template is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Template last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedBy: OutlineTemplatizeDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when template was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier if created from another template (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when template was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).passthrough().describe(\"Template object representing the created template from a document.\");\nconst OutlineTemplatizeDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineTemplatizeDocumentOutput = z.object({\n data: OutlineTemplatizeDocument_TemplateSchema.nullable(),\n policies: z.array(OutlineTemplatizeDocument_PolicySchema).describe(\"Array of policy objects describing authorized actions for the template\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a template from a document.\");\n\nexport const outlineTemplatizeDocument = action(\"OUTLINE_TEMPLATIZE_DOCUMENT\", {\n slug: \"outline-templatize-document\",\n name: \"Create Template from Document\",\n description: \"Tool to create a template from an existing Outline document. Use when you need to convert a document into a reusable template for your workspace.\",\n input: OutlineTemplatizeDocumentInput,\n output: OutlineTemplatizeDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACpI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4HAA4H;CAC1J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,E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AC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const OutlineUnpublishDocumentInput = zod.z.object({
|
|
|
5
5
|
id: zod.z.string().describe("Unique identifier for the document. Either the UUID or the urlId is acceptable."),
|
|
6
6
|
detach: zod.z.boolean().describe("Whether to detach the document from the collection. If true, the document will be removed from the collection structure when unpublished.").optional()
|
|
7
7
|
}).describe("Request model for unpublishing a document in Outline.");
|
|
8
|
-
const OutlineUnpublishDocumentOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the unpublish operation was successful.").nullable() }).describe("Response model for unpublishing a document in Outline.");
|
|
8
|
+
const OutlineUnpublishDocumentOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the unpublish operation was successful.").nullable() }).passthrough().describe("Response model for unpublishing a document in Outline.");
|
|
9
9
|
const outlineUnpublishDocument = require_action.action("OUTLINE_UNPUBLISH_DOCUMENT", {
|
|
10
10
|
slug: "outline-unpublish-document",
|
|
11
11
|
name: "Unpublish Document",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpublish-document.cjs","names":["z","action"],"sources":["../../src/actions/unpublish-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUnpublishDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable.\"),\n detach: z.boolean().describe(\"Whether to detach the document from the collection. If true, the document will be removed from the collection structure when unpublished.\").optional(),\n}).describe(\"Request model for unpublishing a document in Outline.\");\nexport const OutlineUnpublishDocumentOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the unpublish operation was successful.\").nullable(),\n}).describe(\"Response model for unpublishing a document in Outline.\");\n\nexport const outlineUnpublishDocument = action(\"OUTLINE_UNPUBLISH_DOCUMENT\", {\n slug: \"outline-unpublish-document\",\n name: \"Unpublish Document\",\n description: \"Tool to unpublish a document in Outline. Unpublishing moves the document back to draft status and removes it from the collection. Use when you need to make a published document private again.\",\n input: OutlineUnpublishDocumentInput,\n output: OutlineUnpublishDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"unpublish-document.cjs","names":["z","action"],"sources":["../../src/actions/unpublish-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUnpublishDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable.\"),\n detach: z.boolean().describe(\"Whether to detach the document from the collection. If true, the document will be removed from the collection structure when unpublished.\").optional(),\n}).describe(\"Request model for unpublishing a document in Outline.\");\nexport const OutlineUnpublishDocumentOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the unpublish operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for unpublishing a document in Outline.\");\n\nexport const outlineUnpublishDocument = action(\"OUTLINE_UNPUBLISH_DOCUMENT\", {\n slug: \"outline-unpublish-document\",\n name: \"Unpublish Document\",\n description: \"Tool to unpublish a document in Outline. Unpublishing moves the document back to draft status and removes it from the collection. Use when you need to make a published document private again.\",\n input: OutlineUnpublishDocumentInput,\n output: OutlineUnpublishDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const OutlineUnpublishDocumentInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OutlineUnpublishDocumentOutput: z.ZodObject<{
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const outlineUnpublishDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
detach?: boolean | undefined;
|
|
@@ -7,7 +7,7 @@ declare const OutlineUnpublishDocumentInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OutlineUnpublishDocumentOutput: z.ZodObject<{
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const outlineUnpublishDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
detach?: boolean | undefined;
|
|
@@ -8,7 +8,7 @@ const outlineUnpublishDocument = action("OUTLINE_UNPUBLISH_DOCUMENT", {
|
|
|
8
8
|
id: z.string().describe("Unique identifier for the document. Either the UUID or the urlId is acceptable."),
|
|
9
9
|
detach: z.boolean().describe("Whether to detach the document from the collection. If true, the document will be removed from the collection structure when unpublished.").optional()
|
|
10
10
|
}).describe("Request model for unpublishing a document in Outline."),
|
|
11
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the unpublish operation was successful.").nullable() }).describe("Response model for unpublishing a document in Outline.")
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the unpublish operation was successful.").nullable() }).passthrough().describe("Response model for unpublishing a document in Outline.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { outlineUnpublishDocument };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpublish-document.mjs","names":[],"sources":["../../src/actions/unpublish-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUnpublishDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable.\"),\n detach: z.boolean().describe(\"Whether to detach the document from the collection. If true, the document will be removed from the collection structure when unpublished.\").optional(),\n}).describe(\"Request model for unpublishing a document in Outline.\");\nexport const OutlineUnpublishDocumentOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the unpublish operation was successful.\").nullable(),\n}).describe(\"Response model for unpublishing a document in Outline.\");\n\nexport const outlineUnpublishDocument = action(\"OUTLINE_UNPUBLISH_DOCUMENT\", {\n slug: \"outline-unpublish-document\",\n name: \"Unpublish Document\",\n description: \"Tool to unpublish a document in Outline. Unpublishing moves the document back to draft status and removes it from the collection. Use when you need to make a published document private again.\",\n input: OutlineUnpublishDocumentInput,\n output: OutlineUnpublishDocumentOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACzG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"unpublish-document.mjs","names":[],"sources":["../../src/actions/unpublish-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUnpublishDocumentInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable.\"),\n detach: z.boolean().describe(\"Whether to detach the document from the collection. If true, the document will be removed from the collection structure when unpublished.\").optional(),\n}).describe(\"Request model for unpublishing a document in Outline.\");\nexport const OutlineUnpublishDocumentOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the unpublish operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for unpublishing a document in Outline.\");\n\nexport const outlineUnpublishDocument = action(\"OUTLINE_UNPUBLISH_DOCUMENT\", {\n slug: \"outline-unpublish-document\",\n name: \"Unpublish Document\",\n description: \"Tool to unpublish a document in Outline. Unpublishing moves the document back to draft status and removes it from the collection. Use when you need to make a published document private again.\",\n input: OutlineUnpublishDocumentInput,\n output: OutlineUnpublishDocumentOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EACzG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const OutlineUpdateCollection_NavigationNodeSchema = zod.z.object({
|
|
|
14
14
|
id: zod.z.string().describe("Document unique identifier").nullable(),
|
|
15
15
|
url: zod.z.string().describe("Document URL").nullable(),
|
|
16
16
|
title: zod.z.string().describe("Document title").nullable()
|
|
17
|
-
}).describe("Represents a document in the collection's navigation tree.");
|
|
17
|
+
}).passthrough().describe("Represents a document in the collection's navigation tree.");
|
|
18
18
|
const OutlineUpdateCollection_CollectionSchema = zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("Unique identifier for the collection").nullable(),
|
|
20
20
|
url: zod.z.string().describe("Collection URL").nullable().optional(),
|
|
@@ -29,15 +29,15 @@ const OutlineUpdateCollection_CollectionSchema = zod.z.object({
|
|
|
29
29
|
updatedAt: zod.z.string().describe("Last modification timestamp").nullable(),
|
|
30
30
|
permission: zod.z.string().describe("Access level (read/write/admin)").nullable().optional(),
|
|
31
31
|
description: zod.z.string().describe("Brief description with markdown support").nullable().optional()
|
|
32
|
-
}).describe("Represents a collection object in Outline.");
|
|
32
|
+
}).passthrough().describe("Represents a collection object in Outline.");
|
|
33
33
|
const OutlineUpdateCollection_PolicySchema = zod.z.object({
|
|
34
34
|
id: zod.z.string().describe("Policy ID (matches resource ID)").nullable(),
|
|
35
|
-
abilities: zod.z.
|
|
36
|
-
}).describe("Represents authorization policies for the collection.");
|
|
35
|
+
abilities: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Boolean flags for permitted actions")
|
|
36
|
+
}).passthrough().describe("Represents authorization policies for the collection.");
|
|
37
37
|
const OutlineUpdateCollectionOutput = zod.z.object({
|
|
38
38
|
data: OutlineUpdateCollection_CollectionSchema.nullable(),
|
|
39
39
|
policies: zod.z.array(OutlineUpdateCollection_PolicySchema).describe("Authorization policies for the collection")
|
|
40
|
-
}).describe("Response containing the updated collection details and policies.");
|
|
40
|
+
}).passthrough().describe("Response containing the updated collection details and policies.");
|
|
41
41
|
const outlineUpdateCollection = require_action.action("OUTLINE_UPDATE_COLLECTION", {
|
|
42
42
|
slug: "outline-update-collection",
|
|
43
43
|
name: "Update Collection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.cjs","names":["z","action"],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUpdateCollectionInput = z.object({\n id: z.string().describe(\"The unique identifier of the collection to update\"),\n icon: z.string().describe(\"A string that represents an icon in the outline-icons package or an emoji\").optional(),\n name: z.string().describe(\"New name for the collection\").optional(),\n color: z.string().describe(\"A hex color code for the collection icon\").optional(),\n sharing: z.boolean().describe(\"Whether public sharing of documents is allowed\").optional(),\n permission: z.string().describe(\"Permission level for the collection (read/write)\").optional(),\n description: z.string().describe(\"New description for the collection, markdown supported\").optional(),\n}).describe(\"Request parameters to update a collection in Outline.\");\nconst OutlineUpdateCollection_NavigationNodeSchema = z.object({\n id: z.string().describe(\"Document unique identifier\").nullable(),\n url: z.string().describe(\"Document URL\").nullable(),\n title: z.string().describe(\"Document title\").nullable(),\n}).describe(\"Represents a document in the collection's navigation tree.\");\nconst OutlineUpdateCollection_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the collection\").nullable(),\n url: z.string().describe(\"Collection URL\").nullable().optional(),\n icon: z.string().describe(\"Icon from outline-icons package or emoji\").nullable().optional(),\n name: z.string().describe(\"Collection name\").nullable(),\n color: z.string().describe(\"Hex color code for the icon (e.g., #123123)\").nullable().optional(),\n index: z.string().describe(\"Position in collection ordering\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n sharing: z.boolean().describe(\"Whether public document sharing is allowed\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n documents: z.array(OutlineUpdateCollection_NavigationNodeSchema).describe(\"Child documents structure\").nullable().optional(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n permission: z.string().describe(\"Access level (read/write/admin)\").nullable().optional(),\n description: z.string().describe(\"Brief description with markdown support\").nullable().optional(),\n}).describe(\"Represents a collection object in Outline.\");\nconst OutlineUpdateCollection_PolicySchema = z.object({\n id: z.string().describe(\"Policy ID (matches resource ID)\").nullable(),\n abilities: z.
|
|
1
|
+
{"version":3,"file":"update-collection.cjs","names":["z","action"],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUpdateCollectionInput = z.object({\n id: z.string().describe(\"The unique identifier of the collection to update\"),\n icon: z.string().describe(\"A string that represents an icon in the outline-icons package or an emoji\").optional(),\n name: z.string().describe(\"New name for the collection\").optional(),\n color: z.string().describe(\"A hex color code for the collection icon\").optional(),\n sharing: z.boolean().describe(\"Whether public sharing of documents is allowed\").optional(),\n permission: z.string().describe(\"Permission level for the collection (read/write)\").optional(),\n description: z.string().describe(\"New description for the collection, markdown supported\").optional(),\n}).describe(\"Request parameters to update a collection in Outline.\");\nconst OutlineUpdateCollection_NavigationNodeSchema = z.object({\n id: z.string().describe(\"Document unique identifier\").nullable(),\n url: z.string().describe(\"Document URL\").nullable(),\n title: z.string().describe(\"Document title\").nullable(),\n}).passthrough().describe(\"Represents a document in the collection's navigation tree.\");\nconst OutlineUpdateCollection_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the collection\").nullable(),\n url: z.string().describe(\"Collection URL\").nullable().optional(),\n icon: z.string().describe(\"Icon from outline-icons package or emoji\").nullable().optional(),\n name: z.string().describe(\"Collection name\").nullable(),\n color: z.string().describe(\"Hex color code for the icon (e.g., #123123)\").nullable().optional(),\n index: z.string().describe(\"Position in collection ordering\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n sharing: z.boolean().describe(\"Whether public document sharing is allowed\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n documents: z.array(OutlineUpdateCollection_NavigationNodeSchema).describe(\"Child documents structure\").nullable().optional(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n permission: z.string().describe(\"Access level (read/write/admin)\").nullable().optional(),\n description: z.string().describe(\"Brief description with markdown support\").nullable().optional(),\n}).passthrough().describe(\"Represents a collection object in Outline.\");\nconst OutlineUpdateCollection_PolicySchema = z.object({\n id: z.string().describe(\"Policy ID (matches resource ID)\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Boolean flags for permitted actions\"),\n}).passthrough().describe(\"Represents authorization policies for the collection.\");\nexport const OutlineUpdateCollectionOutput = z.object({\n data: OutlineUpdateCollection_CollectionSchema.nullable(),\n policies: z.array(OutlineUpdateCollection_PolicySchema).describe(\"Authorization policies for the collection\"),\n}).passthrough().describe(\"Response containing the updated collection details and policies.\");\n\nexport const outlineUpdateCollection = action(\"OUTLINE_UPDATE_COLLECTION\", {\n slug: \"outline-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing collection's properties in Outline. Use when you need to modify collection settings such as name, description, icon, color, sharing settings, or permission level.\",\n input: OutlineUpdateCollectionInput,\n output: OutlineUpdateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,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core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
30
30
|
permission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
policies: z.ZodArray<z.ZodObject<{
|
|
34
34
|
id: z.ZodNullable<z.ZodString>;
|
|
35
|
-
abilities: z.
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
35
|
+
abilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const outlineUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
id: string;
|
|
40
40
|
icon?: string | undefined;
|
|
@@ -25,16 +25,16 @@ declare const OutlineUpdateCollectionOutput: z.ZodObject<{
|
|
|
25
25
|
id: z.ZodNullable<z.ZodString>;
|
|
26
26
|
url: z.ZodNullable<z.ZodString>;
|
|
27
27
|
title: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
30
30
|
permission: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
33
|
policies: z.ZodArray<z.ZodObject<{
|
|
34
34
|
id: z.ZodNullable<z.ZodString>;
|
|
35
|
-
abilities: z.
|
|
36
|
-
}, z.core.$
|
|
37
|
-
}, z.core.$
|
|
35
|
+
abilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
38
|
declare const outlineUpdateCollection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
39
|
id: string;
|
|
40
40
|
icon?: string | undefined;
|
|
@@ -14,7 +14,7 @@ const OutlineUpdateCollection_NavigationNodeSchema = z.object({
|
|
|
14
14
|
id: z.string().describe("Document unique identifier").nullable(),
|
|
15
15
|
url: z.string().describe("Document URL").nullable(),
|
|
16
16
|
title: z.string().describe("Document title").nullable()
|
|
17
|
-
}).describe("Represents a document in the collection's navigation tree.");
|
|
17
|
+
}).passthrough().describe("Represents a document in the collection's navigation tree.");
|
|
18
18
|
const OutlineUpdateCollection_CollectionSchema = z.object({
|
|
19
19
|
id: z.string().describe("Unique identifier for the collection").nullable(),
|
|
20
20
|
url: z.string().describe("Collection URL").nullable().optional(),
|
|
@@ -29,11 +29,11 @@ const OutlineUpdateCollection_CollectionSchema = z.object({
|
|
|
29
29
|
updatedAt: z.string().describe("Last modification timestamp").nullable(),
|
|
30
30
|
permission: z.string().describe("Access level (read/write/admin)").nullable().optional(),
|
|
31
31
|
description: z.string().describe("Brief description with markdown support").nullable().optional()
|
|
32
|
-
}).describe("Represents a collection object in Outline.");
|
|
32
|
+
}).passthrough().describe("Represents a collection object in Outline.");
|
|
33
33
|
const OutlineUpdateCollection_PolicySchema = z.object({
|
|
34
34
|
id: z.string().describe("Policy ID (matches resource ID)").nullable(),
|
|
35
|
-
abilities: z.
|
|
36
|
-
}).describe("Represents authorization policies for the collection.");
|
|
35
|
+
abilities: z.record(z.string(), z.unknown()).describe("Boolean flags for permitted actions")
|
|
36
|
+
}).passthrough().describe("Represents authorization policies for the collection.");
|
|
37
37
|
const outlineUpdateCollection = action("OUTLINE_UPDATE_COLLECTION", {
|
|
38
38
|
slug: "outline-update-collection",
|
|
39
39
|
name: "Update Collection",
|
|
@@ -42,7 +42,7 @@ const outlineUpdateCollection = action("OUTLINE_UPDATE_COLLECTION", {
|
|
|
42
42
|
output: z.object({
|
|
43
43
|
data: OutlineUpdateCollection_CollectionSchema.nullable(),
|
|
44
44
|
policies: z.array(OutlineUpdateCollection_PolicySchema).describe("Authorization policies for the collection")
|
|
45
|
-
}).describe("Response containing the updated collection details and policies.")
|
|
45
|
+
}).passthrough().describe("Response containing the updated collection details and policies.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
48
48
|
export { outlineUpdateCollection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-collection.mjs","names":[],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUpdateCollectionInput = z.object({\n id: z.string().describe(\"The unique identifier of the collection to update\"),\n icon: z.string().describe(\"A string that represents an icon in the outline-icons package or an emoji\").optional(),\n name: z.string().describe(\"New name for the collection\").optional(),\n color: z.string().describe(\"A hex color code for the collection icon\").optional(),\n sharing: z.boolean().describe(\"Whether public sharing of documents is allowed\").optional(),\n permission: z.string().describe(\"Permission level for the collection (read/write)\").optional(),\n description: z.string().describe(\"New description for the collection, markdown supported\").optional(),\n}).describe(\"Request parameters to update a collection in Outline.\");\nconst OutlineUpdateCollection_NavigationNodeSchema = z.object({\n id: z.string().describe(\"Document unique identifier\").nullable(),\n url: z.string().describe(\"Document URL\").nullable(),\n title: z.string().describe(\"Document title\").nullable(),\n}).describe(\"Represents a document in the collection's navigation tree.\");\nconst OutlineUpdateCollection_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the collection\").nullable(),\n url: z.string().describe(\"Collection URL\").nullable().optional(),\n icon: z.string().describe(\"Icon from outline-icons package or emoji\").nullable().optional(),\n name: z.string().describe(\"Collection name\").nullable(),\n color: z.string().describe(\"Hex color code for the icon (e.g., #123123)\").nullable().optional(),\n index: z.string().describe(\"Position in collection ordering\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n sharing: z.boolean().describe(\"Whether public document sharing is allowed\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n documents: z.array(OutlineUpdateCollection_NavigationNodeSchema).describe(\"Child documents structure\").nullable().optional(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n permission: z.string().describe(\"Access level (read/write/admin)\").nullable().optional(),\n description: z.string().describe(\"Brief description with markdown support\").nullable().optional(),\n}).describe(\"Represents a collection object in Outline.\");\nconst OutlineUpdateCollection_PolicySchema = z.object({\n id: z.string().describe(\"Policy ID (matches resource ID)\").nullable(),\n abilities: z.
|
|
1
|
+
{"version":3,"file":"update-collection.mjs","names":[],"sources":["../../src/actions/update-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineUpdateCollectionInput = z.object({\n id: z.string().describe(\"The unique identifier of the collection to update\"),\n icon: z.string().describe(\"A string that represents an icon in the outline-icons package or an emoji\").optional(),\n name: z.string().describe(\"New name for the collection\").optional(),\n color: z.string().describe(\"A hex color code for the collection icon\").optional(),\n sharing: z.boolean().describe(\"Whether public sharing of documents is allowed\").optional(),\n permission: z.string().describe(\"Permission level for the collection (read/write)\").optional(),\n description: z.string().describe(\"New description for the collection, markdown supported\").optional(),\n}).describe(\"Request parameters to update a collection in Outline.\");\nconst OutlineUpdateCollection_NavigationNodeSchema = z.object({\n id: z.string().describe(\"Document unique identifier\").nullable(),\n url: z.string().describe(\"Document URL\").nullable(),\n title: z.string().describe(\"Document title\").nullable(),\n}).passthrough().describe(\"Represents a document in the collection's navigation tree.\");\nconst OutlineUpdateCollection_CollectionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the collection\").nullable(),\n url: z.string().describe(\"Collection URL\").nullable().optional(),\n icon: z.string().describe(\"Icon from outline-icons package or emoji\").nullable().optional(),\n name: z.string().describe(\"Collection name\").nullable(),\n color: z.string().describe(\"Hex color code for the icon (e.g., #123123)\").nullable().optional(),\n index: z.string().describe(\"Position in collection ordering\").nullable().optional(),\n urlId: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n sharing: z.boolean().describe(\"Whether public document sharing is allowed\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable(),\n documents: z.array(OutlineUpdateCollection_NavigationNodeSchema).describe(\"Child documents structure\").nullable().optional(),\n updatedAt: z.string().describe(\"Last modification timestamp\").nullable(),\n permission: z.string().describe(\"Access level (read/write/admin)\").nullable().optional(),\n description: z.string().describe(\"Brief description with markdown support\").nullable().optional(),\n}).passthrough().describe(\"Represents a collection object in Outline.\");\nconst OutlineUpdateCollection_PolicySchema = z.object({\n id: z.string().describe(\"Policy ID (matches resource ID)\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Boolean flags for permitted actions\"),\n}).passthrough().describe(\"Represents authorization policies for the collection.\");\nexport const OutlineUpdateCollectionOutput = z.object({\n data: OutlineUpdateCollection_CollectionSchema.nullable(),\n policies: z.array(OutlineUpdateCollection_PolicySchema).describe(\"Authorization policies for the collection\"),\n}).passthrough().describe(\"Response containing the updated collection details and policies.\");\n\nexport const outlineUpdateCollection = action(\"OUTLINE_UPDATE_COLLECTION\", {\n slug: \"outline-update-collection\",\n name: \"Update Collection\",\n description: \"Tool to update an existing collection's properties in Outline. Use when you need to modify collection settings such as name, description, icon, color, sharing settings, or permission level.\",\n input: OutlineUpdateCollectionInput,\n output: OutlineUpdateCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F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