@keystrokehq/penpot 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-access-token.cjs +26 -0
- package/dist/actions/create-access-token.cjs.map +1 -0
- package/dist/actions/create-access-token.d.cts +9 -0
- package/dist/actions/create-access-token.d.cts.map +1 -0
- package/dist/actions/create-access-token.d.mts +9 -0
- package/dist/actions/create-access-token.d.mts.map +1 -0
- package/dist/actions/create-access-token.mjs +23 -0
- package/dist/actions/create-access-token.mjs.map +1 -0
- package/dist/actions/create-comment-thread.cjs +35 -0
- package/dist/actions/create-comment-thread.cjs.map +1 -0
- package/dist/actions/create-comment-thread.d.cts +9 -0
- package/dist/actions/create-comment-thread.d.cts.map +1 -0
- package/dist/actions/create-comment-thread.d.mts +9 -0
- package/dist/actions/create-comment-thread.d.mts.map +1 -0
- package/dist/actions/create-comment-thread.mjs +32 -0
- package/dist/actions/create-comment-thread.mjs.map +1 -0
- package/dist/actions/create-file.cjs +30 -0
- package/dist/actions/create-file.cjs.map +1 -0
- package/dist/actions/create-file.d.cts +9 -0
- package/dist/actions/create-file.d.cts.map +1 -0
- package/dist/actions/create-file.d.mts +9 -0
- package/dist/actions/create-file.d.mts.map +1 -0
- package/dist/actions/create-file.mjs +27 -0
- package/dist/actions/create-file.mjs.map +1 -0
- package/dist/actions/create-project.cjs +27 -0
- package/dist/actions/create-project.cjs.map +1 -0
- package/dist/actions/create-project.d.cts +9 -0
- package/dist/actions/create-project.d.cts.map +1 -0
- package/dist/actions/create-project.d.mts +9 -0
- package/dist/actions/create-project.d.mts.map +1 -0
- package/dist/actions/create-project.mjs +24 -0
- package/dist/actions/create-project.mjs.map +1 -0
- package/dist/actions/create-team-access-request.cjs +20 -0
- package/dist/actions/create-team-access-request.cjs.map +1 -0
- package/dist/actions/create-team-access-request.d.cts +9 -0
- package/dist/actions/create-team-access-request.d.cts.map +1 -0
- package/dist/actions/create-team-access-request.d.mts +9 -0
- package/dist/actions/create-team-access-request.d.mts.map +1 -0
- package/dist/actions/create-team-access-request.mjs +17 -0
- package/dist/actions/create-team-access-request.mjs.map +1 -0
- package/dist/actions/create-team.cjs +33 -0
- package/dist/actions/create-team.cjs.map +1 -0
- package/dist/actions/create-team.d.cts +9 -0
- package/dist/actions/create-team.d.cts.map +1 -0
- package/dist/actions/create-team.d.mts +9 -0
- package/dist/actions/create-team.d.mts.map +1 -0
- package/dist/actions/create-team.mjs +32 -0
- package/dist/actions/create-team.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +26 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +23 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/delete-access-token.cjs +16 -0
- package/dist/actions/delete-access-token.cjs.map +1 -0
- package/dist/actions/delete-access-token.d.cts +9 -0
- package/dist/actions/delete-access-token.d.cts.map +1 -0
- package/dist/actions/delete-access-token.d.mts +9 -0
- package/dist/actions/delete-access-token.d.mts.map +1 -0
- package/dist/actions/delete-access-token.mjs +13 -0
- package/dist/actions/delete-access-token.mjs.map +1 -0
- package/dist/actions/delete-comment.cjs +22 -0
- package/dist/actions/delete-comment.cjs.map +1 -0
- package/dist/actions/delete-comment.d.cts +9 -0
- package/dist/actions/delete-comment.d.cts.map +1 -0
- package/dist/actions/delete-comment.d.mts +9 -0
- package/dist/actions/delete-comment.d.mts.map +1 -0
- package/dist/actions/delete-comment.mjs +19 -0
- package/dist/actions/delete-comment.mjs.map +1 -0
- package/dist/actions/delete-file-snapshot.cjs +16 -0
- package/dist/actions/delete-file-snapshot.cjs.map +1 -0
- package/dist/actions/delete-file-snapshot.d.cts +9 -0
- package/dist/actions/delete-file-snapshot.d.cts.map +1 -0
- package/dist/actions/delete-file-snapshot.d.mts +9 -0
- package/dist/actions/delete-file-snapshot.d.mts.map +1 -0
- package/dist/actions/delete-file-snapshot.mjs +13 -0
- package/dist/actions/delete-file-snapshot.mjs.map +1 -0
- package/dist/actions/delete-project.cjs +16 -0
- package/dist/actions/delete-project.cjs.map +1 -0
- package/dist/actions/delete-project.d.cts +9 -0
- package/dist/actions/delete-project.d.cts.map +1 -0
- package/dist/actions/delete-project.d.mts +9 -0
- package/dist/actions/delete-project.d.mts.map +1 -0
- package/dist/actions/delete-project.mjs +13 -0
- package/dist/actions/delete-project.mjs.map +1 -0
- package/dist/actions/delete-team-files-permanently.cjs +19 -0
- package/dist/actions/delete-team-files-permanently.cjs.map +1 -0
- package/dist/actions/delete-team-files-permanently.d.cts +9 -0
- package/dist/actions/delete-team-files-permanently.d.cts.map +1 -0
- package/dist/actions/delete-team-files-permanently.d.mts +9 -0
- package/dist/actions/delete-team-files-permanently.d.mts.map +1 -0
- package/dist/actions/delete-team-files-permanently.mjs +16 -0
- package/dist/actions/delete-team-files-permanently.mjs.map +1 -0
- package/dist/actions/delete-team-invitation.cjs +19 -0
- package/dist/actions/delete-team-invitation.cjs.map +1 -0
- package/dist/actions/delete-team-invitation.d.cts +9 -0
- package/dist/actions/delete-team-invitation.d.cts.map +1 -0
- package/dist/actions/delete-team-invitation.d.mts +9 -0
- package/dist/actions/delete-team-invitation.d.mts.map +1 -0
- package/dist/actions/delete-team-invitation.mjs +16 -0
- package/dist/actions/delete-team-invitation.mjs.map +1 -0
- package/dist/actions/delete-team-member.cjs +19 -0
- package/dist/actions/delete-team-member.cjs.map +1 -0
- package/dist/actions/delete-team-member.d.cts +9 -0
- package/dist/actions/delete-team-member.d.cts.map +1 -0
- package/dist/actions/delete-team-member.d.mts +9 -0
- package/dist/actions/delete-team-member.d.mts.map +1 -0
- package/dist/actions/delete-team-member.mjs +16 -0
- package/dist/actions/delete-team-member.mjs.map +1 -0
- package/dist/actions/delete-team.cjs +16 -0
- package/dist/actions/delete-team.cjs.map +1 -0
- package/dist/actions/delete-team.d.cts +9 -0
- package/dist/actions/delete-team.d.cts.map +1 -0
- package/dist/actions/delete-team.d.mts +9 -0
- package/dist/actions/delete-team.d.mts.map +1 -0
- package/dist/actions/delete-team.mjs +13 -0
- package/dist/actions/delete-team.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +16 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +13 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/duplicate-file.cjs +31 -0
- package/dist/actions/duplicate-file.cjs.map +1 -0
- package/dist/actions/duplicate-file.d.cts +9 -0
- package/dist/actions/duplicate-file.d.cts.map +1 -0
- package/dist/actions/duplicate-file.d.mts +9 -0
- package/dist/actions/duplicate-file.d.mts.map +1 -0
- package/dist/actions/duplicate-file.mjs +28 -0
- package/dist/actions/duplicate-file.mjs.map +1 -0
- package/dist/actions/duplicate-project.cjs +22 -0
- package/dist/actions/duplicate-project.cjs.map +1 -0
- package/dist/actions/duplicate-project.d.cts +9 -0
- package/dist/actions/duplicate-project.d.cts.map +1 -0
- package/dist/actions/duplicate-project.d.mts +9 -0
- package/dist/actions/duplicate-project.d.mts.map +1 -0
- package/dist/actions/duplicate-project.mjs +19 -0
- package/dist/actions/duplicate-project.mjs.map +1 -0
- package/dist/actions/get-access-tokens.cjs +24 -0
- package/dist/actions/get-access-tokens.cjs.map +1 -0
- package/dist/actions/get-access-tokens.d.cts +9 -0
- package/dist/actions/get-access-tokens.d.cts.map +1 -0
- package/dist/actions/get-access-tokens.d.mts +9 -0
- package/dist/actions/get-access-tokens.d.mts.map +1 -0
- package/dist/actions/get-access-tokens.mjs +23 -0
- package/dist/actions/get-access-tokens.mjs.map +1 -0
- package/dist/actions/get-all-projects.cjs +25 -0
- package/dist/actions/get-all-projects.cjs.map +1 -0
- package/dist/actions/get-all-projects.d.cts +9 -0
- package/dist/actions/get-all-projects.d.cts.map +1 -0
- package/dist/actions/get-all-projects.d.mts +9 -0
- package/dist/actions/get-all-projects.d.mts.map +1 -0
- package/dist/actions/get-all-projects.mjs +24 -0
- package/dist/actions/get-all-projects.mjs.map +1 -0
- package/dist/actions/get-builtin-templates.cjs +20 -0
- package/dist/actions/get-builtin-templates.cjs.map +1 -0
- package/dist/actions/get-builtin-templates.d.cts +9 -0
- package/dist/actions/get-builtin-templates.d.cts.map +1 -0
- package/dist/actions/get-builtin-templates.d.mts +9 -0
- package/dist/actions/get-builtin-templates.d.mts.map +1 -0
- package/dist/actions/get-builtin-templates.mjs +19 -0
- package/dist/actions/get-builtin-templates.mjs.map +1 -0
- package/dist/actions/get-comment-thread.cjs +50 -0
- package/dist/actions/get-comment-thread.cjs.map +1 -0
- package/dist/actions/get-comment-thread.d.cts +9 -0
- package/dist/actions/get-comment-thread.d.cts.map +1 -0
- package/dist/actions/get-comment-thread.d.mts +9 -0
- package/dist/actions/get-comment-thread.d.mts.map +1 -0
- package/dist/actions/get-comment-thread.mjs +49 -0
- package/dist/actions/get-comment-thread.mjs.map +1 -0
- package/dist/actions/get-comment-threads.cjs +28 -0
- package/dist/actions/get-comment-threads.cjs.map +1 -0
- package/dist/actions/get-comment-threads.d.cts +9 -0
- package/dist/actions/get-comment-threads.d.cts.map +1 -0
- package/dist/actions/get-comment-threads.d.mts +9 -0
- package/dist/actions/get-comment-threads.d.mts.map +1 -0
- package/dist/actions/get-comment-threads.mjs +27 -0
- package/dist/actions/get-comment-threads.mjs.map +1 -0
- package/dist/actions/get-comments.cjs +24 -0
- package/dist/actions/get-comments.cjs.map +1 -0
- package/dist/actions/get-comments.d.cts +9 -0
- package/dist/actions/get-comments.d.cts.map +1 -0
- package/dist/actions/get-comments.d.mts +9 -0
- package/dist/actions/get-comments.d.mts.map +1 -0
- package/dist/actions/get-comments.mjs +23 -0
- package/dist/actions/get-comments.mjs.map +1 -0
- package/dist/actions/get-file-info.cjs +29 -0
- package/dist/actions/get-file-info.cjs.map +1 -0
- package/dist/actions/get-file-info.d.cts +9 -0
- package/dist/actions/get-file-info.d.cts.map +1 -0
- package/dist/actions/get-file-info.d.mts +9 -0
- package/dist/actions/get-file-info.d.mts.map +1 -0
- package/dist/actions/get-file-info.mjs +26 -0
- package/dist/actions/get-file-info.mjs.map +1 -0
- package/dist/actions/get-file-libraries.cjs +23 -0
- package/dist/actions/get-file-libraries.cjs.map +1 -0
- package/dist/actions/get-file-libraries.d.cts +9 -0
- package/dist/actions/get-file-libraries.d.cts.map +1 -0
- package/dist/actions/get-file-libraries.d.mts +9 -0
- package/dist/actions/get-file-libraries.d.mts.map +1 -0
- package/dist/actions/get-file-libraries.mjs +22 -0
- package/dist/actions/get-file-libraries.mjs.map +1 -0
- package/dist/actions/get-file-object-thumbnails.cjs +19 -0
- package/dist/actions/get-file-object-thumbnails.cjs.map +1 -0
- package/dist/actions/get-file-object-thumbnails.d.cts +9 -0
- package/dist/actions/get-file-object-thumbnails.d.cts.map +1 -0
- package/dist/actions/get-file-object-thumbnails.d.mts +9 -0
- package/dist/actions/get-file-object-thumbnails.d.mts.map +1 -0
- package/dist/actions/get-file-object-thumbnails.mjs +16 -0
- package/dist/actions/get-file-object-thumbnails.mjs.map +1 -0
- package/dist/actions/get-file-snapshots.cjs +22 -0
- package/dist/actions/get-file-snapshots.cjs.map +1 -0
- package/dist/actions/get-file-snapshots.d.cts +9 -0
- package/dist/actions/get-file-snapshots.d.cts.map +1 -0
- package/dist/actions/get-file-snapshots.d.mts +9 -0
- package/dist/actions/get-file-snapshots.d.mts.map +1 -0
- package/dist/actions/get-file-snapshots.mjs +21 -0
- package/dist/actions/get-file-snapshots.mjs.map +1 -0
- package/dist/actions/get-file-summary.cjs +35 -0
- package/dist/actions/get-file-summary.cjs.map +1 -0
- package/dist/actions/get-file-summary.d.cts +9 -0
- package/dist/actions/get-file-summary.d.cts.map +1 -0
- package/dist/actions/get-file-summary.d.mts +9 -0
- package/dist/actions/get-file-summary.d.mts.map +1 -0
- package/dist/actions/get-file-summary.mjs +34 -0
- package/dist/actions/get-file-summary.mjs.map +1 -0
- package/dist/actions/get-file.cjs +41 -0
- package/dist/actions/get-file.cjs.map +1 -0
- package/dist/actions/get-file.d.cts +9 -0
- package/dist/actions/get-file.d.cts.map +1 -0
- package/dist/actions/get-file.d.mts +9 -0
- package/dist/actions/get-file.d.mts.map +1 -0
- package/dist/actions/get-file.mjs +40 -0
- package/dist/actions/get-file.mjs.map +1 -0
- package/dist/actions/get-font-variants.cjs +21 -0
- package/dist/actions/get-font-variants.cjs.map +1 -0
- package/dist/actions/get-font-variants.d.cts +9 -0
- package/dist/actions/get-font-variants.d.cts.map +1 -0
- package/dist/actions/get-font-variants.d.mts +9 -0
- package/dist/actions/get-font-variants.d.mts.map +1 -0
- package/dist/actions/get-font-variants.mjs +18 -0
- package/dist/actions/get-font-variants.mjs.map +1 -0
- package/dist/actions/get-library-file-references.cjs +22 -0
- package/dist/actions/get-library-file-references.cjs.map +1 -0
- package/dist/actions/get-library-file-references.d.cts +9 -0
- package/dist/actions/get-library-file-references.d.cts.map +1 -0
- package/dist/actions/get-library-file-references.d.mts +9 -0
- package/dist/actions/get-library-file-references.d.mts.map +1 -0
- package/dist/actions/get-library-file-references.mjs +21 -0
- package/dist/actions/get-library-file-references.mjs.map +1 -0
- package/dist/actions/get-library-usage.cjs +16 -0
- package/dist/actions/get-library-usage.cjs.map +1 -0
- package/dist/actions/get-library-usage.d.cts +9 -0
- package/dist/actions/get-library-usage.d.cts.map +1 -0
- package/dist/actions/get-library-usage.d.mts +9 -0
- package/dist/actions/get-library-usage.d.mts.map +1 -0
- package/dist/actions/get-library-usage.mjs +13 -0
- package/dist/actions/get-library-usage.mjs.map +1 -0
- package/dist/actions/get-owned-teams.cjs +24 -0
- package/dist/actions/get-owned-teams.cjs.map +1 -0
- package/dist/actions/get-owned-teams.d.cts +9 -0
- package/dist/actions/get-owned-teams.d.cts.map +1 -0
- package/dist/actions/get-owned-teams.d.mts +9 -0
- package/dist/actions/get-owned-teams.d.mts.map +1 -0
- package/dist/actions/get-owned-teams.mjs +23 -0
- package/dist/actions/get-owned-teams.mjs.map +1 -0
- package/dist/actions/get-page.cjs +25 -0
- package/dist/actions/get-page.cjs.map +1 -0
- package/dist/actions/get-page.d.cts +9 -0
- package/dist/actions/get-page.d.cts.map +1 -0
- package/dist/actions/get-page.d.mts +9 -0
- package/dist/actions/get-page.d.mts.map +1 -0
- package/dist/actions/get-page.mjs +22 -0
- package/dist/actions/get-page.mjs.map +1 -0
- package/dist/actions/get-profiles-for-file-comments.cjs +24 -0
- package/dist/actions/get-profiles-for-file-comments.cjs.map +1 -0
- package/dist/actions/get-profiles-for-file-comments.d.cts +9 -0
- package/dist/actions/get-profiles-for-file-comments.d.cts.map +1 -0
- package/dist/actions/get-profiles-for-file-comments.d.mts +9 -0
- package/dist/actions/get-profiles-for-file-comments.d.mts.map +1 -0
- package/dist/actions/get-profiles-for-file-comments.mjs +23 -0
- package/dist/actions/get-profiles-for-file-comments.mjs.map +1 -0
- package/dist/actions/get-project-files.cjs +29 -0
- package/dist/actions/get-project-files.cjs.map +1 -0
- package/dist/actions/get-project-files.d.cts +9 -0
- package/dist/actions/get-project-files.d.cts.map +1 -0
- package/dist/actions/get-project-files.d.mts +9 -0
- package/dist/actions/get-project-files.d.mts.map +1 -0
- package/dist/actions/get-project-files.mjs +28 -0
- package/dist/actions/get-project-files.mjs.map +1 -0
- package/dist/actions/get-project.cjs +24 -0
- package/dist/actions/get-project.cjs.map +1 -0
- package/dist/actions/get-project.d.cts +9 -0
- package/dist/actions/get-project.d.cts.map +1 -0
- package/dist/actions/get-project.d.mts +9 -0
- package/dist/actions/get-project.d.mts.map +1 -0
- package/dist/actions/get-project.mjs +21 -0
- package/dist/actions/get-project.mjs.map +1 -0
- package/dist/actions/get-sso-provider.cjs +16 -0
- package/dist/actions/get-sso-provider.cjs.map +1 -0
- package/dist/actions/get-sso-provider.d.cts +9 -0
- package/dist/actions/get-sso-provider.d.cts.map +1 -0
- package/dist/actions/get-sso-provider.d.mts +9 -0
- package/dist/actions/get-sso-provider.d.mts.map +1 -0
- package/dist/actions/get-sso-provider.mjs +13 -0
- package/dist/actions/get-sso-provider.mjs.map +1 -0
- package/dist/actions/get-subscription-usage.cjs +22 -0
- package/dist/actions/get-subscription-usage.cjs.map +1 -0
- package/dist/actions/get-subscription-usage.d.cts +9 -0
- package/dist/actions/get-subscription-usage.d.cts.map +1 -0
- package/dist/actions/get-subscription-usage.d.mts +9 -0
- package/dist/actions/get-subscription-usage.d.mts.map +1 -0
- package/dist/actions/get-subscription-usage.mjs +19 -0
- package/dist/actions/get-subscription-usage.mjs.map +1 -0
- package/dist/actions/get-team-deleted-files.cjs +26 -0
- package/dist/actions/get-team-deleted-files.cjs.map +1 -0
- package/dist/actions/get-team-deleted-files.d.cts +9 -0
- package/dist/actions/get-team-deleted-files.d.cts.map +1 -0
- package/dist/actions/get-team-deleted-files.d.mts +9 -0
- package/dist/actions/get-team-deleted-files.d.mts.map +1 -0
- package/dist/actions/get-team-deleted-files.mjs +25 -0
- package/dist/actions/get-team-deleted-files.mjs.map +1 -0
- package/dist/actions/get-team-info.cjs +23 -0
- package/dist/actions/get-team-info.cjs.map +1 -0
- package/dist/actions/get-team-info.d.cts +9 -0
- package/dist/actions/get-team-info.d.cts.map +1 -0
- package/dist/actions/get-team-info.d.mts +9 -0
- package/dist/actions/get-team-info.d.mts.map +1 -0
- package/dist/actions/get-team-info.mjs +20 -0
- package/dist/actions/get-team-info.mjs.map +1 -0
- package/dist/actions/get-team-invitations.cjs +23 -0
- package/dist/actions/get-team-invitations.cjs.map +1 -0
- package/dist/actions/get-team-invitations.d.cts +9 -0
- package/dist/actions/get-team-invitations.d.cts.map +1 -0
- package/dist/actions/get-team-invitations.d.mts +9 -0
- package/dist/actions/get-team-invitations.d.mts.map +1 -0
- package/dist/actions/get-team-invitations.mjs +22 -0
- package/dist/actions/get-team-invitations.mjs.map +1 -0
- package/dist/actions/get-team-members.cjs +27 -0
- package/dist/actions/get-team-members.cjs.map +1 -0
- package/dist/actions/get-team-members.d.cts +9 -0
- package/dist/actions/get-team-members.d.cts.map +1 -0
- package/dist/actions/get-team-members.d.mts +9 -0
- package/dist/actions/get-team-members.d.mts.map +1 -0
- package/dist/actions/get-team-members.mjs +26 -0
- package/dist/actions/get-team-members.mjs.map +1 -0
- package/dist/actions/get-team-shared-files.cjs +27 -0
- package/dist/actions/get-team-shared-files.cjs.map +1 -0
- package/dist/actions/get-team-shared-files.d.cts +9 -0
- package/dist/actions/get-team-shared-files.d.cts.map +1 -0
- package/dist/actions/get-team-shared-files.d.mts +9 -0
- package/dist/actions/get-team-shared-files.d.mts.map +1 -0
- package/dist/actions/get-team-shared-files.mjs +26 -0
- package/dist/actions/get-team-shared-files.mjs.map +1 -0
- package/dist/actions/get-team-stats.cjs +20 -0
- package/dist/actions/get-team-stats.cjs.map +1 -0
- package/dist/actions/get-team-stats.d.cts +9 -0
- package/dist/actions/get-team-stats.d.cts.map +1 -0
- package/dist/actions/get-team-stats.d.mts +9 -0
- package/dist/actions/get-team-stats.d.mts.map +1 -0
- package/dist/actions/get-team-stats.mjs +17 -0
- package/dist/actions/get-team-stats.mjs.map +1 -0
- package/dist/actions/get-team-users.cjs +30 -0
- package/dist/actions/get-team-users.cjs.map +1 -0
- package/dist/actions/get-team-users.d.cts +9 -0
- package/dist/actions/get-team-users.d.cts.map +1 -0
- package/dist/actions/get-team-users.d.mts +9 -0
- package/dist/actions/get-team-users.d.mts.map +1 -0
- package/dist/actions/get-team-users.mjs +29 -0
- package/dist/actions/get-team-users.mjs.map +1 -0
- package/dist/actions/get-team.cjs +23 -0
- package/dist/actions/get-team.cjs.map +1 -0
- package/dist/actions/get-team.d.cts +9 -0
- package/dist/actions/get-team.d.cts.map +1 -0
- package/dist/actions/get-team.d.mts +9 -0
- package/dist/actions/get-team.d.mts.map +1 -0
- package/dist/actions/get-team.mjs +20 -0
- package/dist/actions/get-team.mjs.map +1 -0
- package/dist/actions/get-teams.cjs +30 -0
- package/dist/actions/get-teams.cjs.map +1 -0
- package/dist/actions/get-teams.d.cts +9 -0
- package/dist/actions/get-teams.d.cts.map +1 -0
- package/dist/actions/get-teams.d.mts +9 -0
- package/dist/actions/get-teams.d.mts.map +1 -0
- package/dist/actions/get-teams.mjs +29 -0
- package/dist/actions/get-teams.mjs.map +1 -0
- package/dist/actions/get-unread-comment-threads.cjs +29 -0
- package/dist/actions/get-unread-comment-threads.cjs.map +1 -0
- package/dist/actions/get-unread-comment-threads.d.cts +9 -0
- package/dist/actions/get-unread-comment-threads.d.cts.map +1 -0
- package/dist/actions/get-unread-comment-threads.d.mts +9 -0
- package/dist/actions/get-unread-comment-threads.d.mts.map +1 -0
- package/dist/actions/get-unread-comment-threads.mjs +28 -0
- package/dist/actions/get-unread-comment-threads.mjs.map +1 -0
- package/dist/actions/get-view-only-bundle.cjs +31 -0
- package/dist/actions/get-view-only-bundle.cjs.map +1 -0
- package/dist/actions/get-view-only-bundle.d.cts +9 -0
- package/dist/actions/get-view-only-bundle.d.cts.map +1 -0
- package/dist/actions/get-view-only-bundle.d.mts +9 -0
- package/dist/actions/get-view-only-bundle.d.mts.map +1 -0
- package/dist/actions/get-view-only-bundle.mjs +28 -0
- package/dist/actions/get-view-only-bundle.mjs.map +1 -0
- package/dist/actions/get-webhooks.cjs +33 -0
- package/dist/actions/get-webhooks.cjs.map +1 -0
- package/dist/actions/get-webhooks.d.cts +9 -0
- package/dist/actions/get-webhooks.d.cts.map +1 -0
- package/dist/actions/get-webhooks.d.mts +9 -0
- package/dist/actions/get-webhooks.d.mts.map +1 -0
- package/dist/actions/get-webhooks.mjs +32 -0
- package/dist/actions/get-webhooks.mjs.map +1 -0
- package/dist/actions/has-file-libraries.cjs +16 -0
- package/dist/actions/has-file-libraries.cjs.map +1 -0
- package/dist/actions/has-file-libraries.d.cts +9 -0
- package/dist/actions/has-file-libraries.d.cts.map +1 -0
- package/dist/actions/has-file-libraries.d.mts +9 -0
- package/dist/actions/has-file-libraries.d.mts.map +1 -0
- package/dist/actions/has-file-libraries.mjs +13 -0
- package/dist/actions/has-file-libraries.mjs.map +1 -0
- package/dist/actions/ignore-file-library-sync-status.cjs +19 -0
- package/dist/actions/ignore-file-library-sync-status.cjs.map +1 -0
- package/dist/actions/ignore-file-library-sync-status.d.cts +9 -0
- package/dist/actions/ignore-file-library-sync-status.d.cts.map +1 -0
- package/dist/actions/ignore-file-library-sync-status.d.mts +9 -0
- package/dist/actions/ignore-file-library-sync-status.d.mts.map +1 -0
- package/dist/actions/ignore-file-library-sync-status.mjs +16 -0
- package/dist/actions/ignore-file-library-sync-status.mjs.map +1 -0
- package/dist/actions/index.cjs +181 -0
- package/dist/actions/index.d.cts +91 -0
- package/dist/actions/index.d.mts +91 -0
- package/dist/actions/index.mjs +91 -0
- package/dist/actions/link-file-to-library.cjs +26 -0
- package/dist/actions/link-file-to-library.cjs.map +1 -0
- package/dist/actions/link-file-to-library.d.cts +9 -0
- package/dist/actions/link-file-to-library.d.cts.map +1 -0
- package/dist/actions/link-file-to-library.d.mts +9 -0
- package/dist/actions/link-file-to-library.d.mts.map +1 -0
- package/dist/actions/link-file-to-library.mjs +25 -0
- package/dist/actions/link-file-to-library.mjs.map +1 -0
- package/dist/actions/lock-file-snapshot.cjs +16 -0
- package/dist/actions/lock-file-snapshot.cjs.map +1 -0
- package/dist/actions/lock-file-snapshot.d.cts +9 -0
- package/dist/actions/lock-file-snapshot.d.cts.map +1 -0
- package/dist/actions/lock-file-snapshot.d.mts +9 -0
- package/dist/actions/lock-file-snapshot.d.mts.map +1 -0
- package/dist/actions/lock-file-snapshot.mjs +13 -0
- package/dist/actions/lock-file-snapshot.mjs.map +1 -0
- package/dist/actions/logout.cjs +16 -0
- package/dist/actions/logout.cjs.map +1 -0
- package/dist/actions/logout.d.cts +9 -0
- package/dist/actions/logout.d.cts.map +1 -0
- package/dist/actions/logout.d.mts +9 -0
- package/dist/actions/logout.d.mts.map +1 -0
- package/dist/actions/logout.mjs +13 -0
- package/dist/actions/logout.mjs.map +1 -0
- package/dist/actions/mark-all-threads-as-read.cjs +19 -0
- package/dist/actions/mark-all-threads-as-read.cjs.map +1 -0
- package/dist/actions/mark-all-threads-as-read.d.cts +9 -0
- package/dist/actions/mark-all-threads-as-read.d.cts.map +1 -0
- package/dist/actions/mark-all-threads-as-read.d.mts +9 -0
- package/dist/actions/mark-all-threads-as-read.d.mts.map +1 -0
- package/dist/actions/mark-all-threads-as-read.mjs +16 -0
- package/dist/actions/mark-all-threads-as-read.mjs.map +1 -0
- package/dist/actions/move-files.cjs +19 -0
- package/dist/actions/move-files.cjs.map +1 -0
- package/dist/actions/move-files.d.cts +9 -0
- package/dist/actions/move-files.d.cts.map +1 -0
- package/dist/actions/move-files.d.mts +9 -0
- package/dist/actions/move-files.d.mts.map +1 -0
- package/dist/actions/move-files.mjs +16 -0
- package/dist/actions/move-files.mjs.map +1 -0
- package/dist/actions/move-project.cjs +19 -0
- package/dist/actions/move-project.cjs.map +1 -0
- package/dist/actions/move-project.d.cts +9 -0
- package/dist/actions/move-project.d.cts.map +1 -0
- package/dist/actions/move-project.d.mts +9 -0
- package/dist/actions/move-project.d.mts.map +1 -0
- package/dist/actions/move-project.mjs +16 -0
- package/dist/actions/move-project.mjs.map +1 -0
- package/dist/actions/prepare-register-profile.cjs +28 -0
- package/dist/actions/prepare-register-profile.cjs.map +1 -0
- package/dist/actions/prepare-register-profile.d.cts +9 -0
- package/dist/actions/prepare-register-profile.d.cts.map +1 -0
- package/dist/actions/prepare-register-profile.d.mts +9 -0
- package/dist/actions/prepare-register-profile.d.mts.map +1 -0
- package/dist/actions/prepare-register-profile.mjs +25 -0
- package/dist/actions/prepare-register-profile.mjs.map +1 -0
- package/dist/actions/push-audit-events.cjs +21 -0
- package/dist/actions/push-audit-events.cjs.map +1 -0
- package/dist/actions/push-audit-events.d.cts +9 -0
- package/dist/actions/push-audit-events.d.cts.map +1 -0
- package/dist/actions/push-audit-events.d.mts +9 -0
- package/dist/actions/push-audit-events.d.mts.map +1 -0
- package/dist/actions/push-audit-events.mjs +18 -0
- package/dist/actions/push-audit-events.mjs.map +1 -0
- package/dist/actions/register-profile.cjs +22 -0
- package/dist/actions/register-profile.cjs.map +1 -0
- package/dist/actions/register-profile.d.cts +9 -0
- package/dist/actions/register-profile.d.cts.map +1 -0
- package/dist/actions/register-profile.d.mts +9 -0
- package/dist/actions/register-profile.d.mts.map +1 -0
- package/dist/actions/register-profile.mjs +19 -0
- package/dist/actions/register-profile.mjs.map +1 -0
- package/dist/actions/rename-file.cjs +24 -0
- package/dist/actions/rename-file.cjs.map +1 -0
- package/dist/actions/rename-file.d.cts +9 -0
- package/dist/actions/rename-file.d.cts.map +1 -0
- package/dist/actions/rename-file.d.mts +9 -0
- package/dist/actions/rename-file.d.mts.map +1 -0
- package/dist/actions/rename-file.mjs +21 -0
- package/dist/actions/rename-file.mjs.map +1 -0
- package/dist/actions/rename-project.cjs +26 -0
- package/dist/actions/rename-project.cjs.map +1 -0
- package/dist/actions/rename-project.d.cts +9 -0
- package/dist/actions/rename-project.d.cts.map +1 -0
- package/dist/actions/rename-project.d.mts +9 -0
- package/dist/actions/rename-project.d.mts.map +1 -0
- package/dist/actions/rename-project.mjs +23 -0
- package/dist/actions/rename-project.mjs.map +1 -0
- package/dist/actions/request-profile-recovery.cjs +16 -0
- package/dist/actions/request-profile-recovery.cjs.map +1 -0
- package/dist/actions/request-profile-recovery.d.cts +9 -0
- package/dist/actions/request-profile-recovery.d.cts.map +1 -0
- package/dist/actions/request-profile-recovery.d.mts +9 -0
- package/dist/actions/request-profile-recovery.d.mts.map +1 -0
- package/dist/actions/request-profile-recovery.mjs +13 -0
- package/dist/actions/request-profile-recovery.mjs.map +1 -0
- package/dist/actions/restore-deleted-team-files.cjs +19 -0
- package/dist/actions/restore-deleted-team-files.cjs.map +1 -0
- package/dist/actions/restore-deleted-team-files.d.cts +9 -0
- package/dist/actions/restore-deleted-team-files.d.cts.map +1 -0
- package/dist/actions/restore-deleted-team-files.d.mts +9 -0
- package/dist/actions/restore-deleted-team-files.d.mts.map +1 -0
- package/dist/actions/restore-deleted-team-files.mjs +16 -0
- package/dist/actions/restore-deleted-team-files.mjs.map +1 -0
- package/dist/actions/restore-file-snapshot.cjs +19 -0
- package/dist/actions/restore-file-snapshot.cjs.map +1 -0
- package/dist/actions/restore-file-snapshot.d.cts +9 -0
- package/dist/actions/restore-file-snapshot.d.cts.map +1 -0
- package/dist/actions/restore-file-snapshot.d.mts +9 -0
- package/dist/actions/restore-file-snapshot.d.mts.map +1 -0
- package/dist/actions/restore-file-snapshot.mjs +16 -0
- package/dist/actions/restore-file-snapshot.mjs.map +1 -0
- package/dist/actions/search-files.cjs +28 -0
- package/dist/actions/search-files.cjs.map +1 -0
- package/dist/actions/search-files.d.cts +9 -0
- package/dist/actions/search-files.d.cts.map +1 -0
- package/dist/actions/search-files.d.mts +9 -0
- package/dist/actions/search-files.d.mts.map +1 -0
- package/dist/actions/search-files.mjs +27 -0
- package/dist/actions/search-files.mjs.map +1 -0
- package/dist/actions/send-user-feedback.cjs +25 -0
- package/dist/actions/send-user-feedback.cjs.map +1 -0
- package/dist/actions/send-user-feedback.d.cts +9 -0
- package/dist/actions/send-user-feedback.d.cts.map +1 -0
- package/dist/actions/send-user-feedback.d.mts +9 -0
- package/dist/actions/send-user-feedback.d.mts.map +1 -0
- package/dist/actions/send-user-feedback.mjs +22 -0
- package/dist/actions/send-user-feedback.mjs.map +1 -0
- package/dist/actions/set-file-shared.cjs +26 -0
- package/dist/actions/set-file-shared.cjs.map +1 -0
- package/dist/actions/set-file-shared.d.cts +9 -0
- package/dist/actions/set-file-shared.d.cts.map +1 -0
- package/dist/actions/set-file-shared.d.mts +9 -0
- package/dist/actions/set-file-shared.d.mts.map +1 -0
- package/dist/actions/set-file-shared.mjs +23 -0
- package/dist/actions/set-file-shared.mjs.map +1 -0
- package/dist/actions/unlink-file-from-library.cjs +19 -0
- package/dist/actions/unlink-file-from-library.cjs.map +1 -0
- package/dist/actions/unlink-file-from-library.d.cts +9 -0
- package/dist/actions/unlink-file-from-library.d.cts.map +1 -0
- package/dist/actions/unlink-file-from-library.d.mts +9 -0
- package/dist/actions/unlink-file-from-library.d.mts.map +1 -0
- package/dist/actions/unlink-file-from-library.mjs +16 -0
- package/dist/actions/unlink-file-from-library.mjs.map +1 -0
- package/dist/actions/unlock-file-snapshot.cjs +16 -0
- package/dist/actions/unlock-file-snapshot.cjs.map +1 -0
- package/dist/actions/unlock-file-snapshot.d.cts +9 -0
- package/dist/actions/unlock-file-snapshot.d.cts.map +1 -0
- package/dist/actions/unlock-file-snapshot.d.mts +9 -0
- package/dist/actions/unlock-file-snapshot.d.mts.map +1 -0
- package/dist/actions/unlock-file-snapshot.mjs +13 -0
- package/dist/actions/unlock-file-snapshot.mjs.map +1 -0
- package/dist/actions/update-comment-thread-frame.cjs +31 -0
- package/dist/actions/update-comment-thread-frame.cjs.map +1 -0
- package/dist/actions/update-comment-thread-frame.d.cts +9 -0
- package/dist/actions/update-comment-thread-frame.d.cts.map +1 -0
- package/dist/actions/update-comment-thread-frame.d.mts +9 -0
- package/dist/actions/update-comment-thread-frame.d.mts.map +1 -0
- package/dist/actions/update-comment-thread-frame.mjs +28 -0
- package/dist/actions/update-comment-thread-frame.mjs.map +1 -0
- package/dist/actions/update-comment-thread-position.cjs +32 -0
- package/dist/actions/update-comment-thread-position.cjs.map +1 -0
- package/dist/actions/update-comment-thread-position.d.cts +9 -0
- package/dist/actions/update-comment-thread-position.d.cts.map +1 -0
- package/dist/actions/update-comment-thread-position.d.mts +9 -0
- package/dist/actions/update-comment-thread-position.d.mts.map +1 -0
- package/dist/actions/update-comment-thread-position.mjs +29 -0
- package/dist/actions/update-comment-thread-position.mjs.map +1 -0
- package/dist/actions/update-comment-thread-status.cjs +23 -0
- package/dist/actions/update-comment-thread-status.cjs.map +1 -0
- package/dist/actions/update-comment-thread-status.d.cts +9 -0
- package/dist/actions/update-comment-thread-status.d.cts.map +1 -0
- package/dist/actions/update-comment-thread-status.d.mts +9 -0
- package/dist/actions/update-comment-thread-status.d.mts.map +1 -0
- package/dist/actions/update-comment-thread-status.mjs +20 -0
- package/dist/actions/update-comment-thread-status.mjs.map +1 -0
- package/dist/actions/update-comment-thread.cjs +31 -0
- package/dist/actions/update-comment-thread.cjs.map +1 -0
- package/dist/actions/update-comment-thread.d.cts +9 -0
- package/dist/actions/update-comment-thread.d.cts.map +1 -0
- package/dist/actions/update-comment-thread.d.mts +9 -0
- package/dist/actions/update-comment-thread.d.mts.map +1 -0
- package/dist/actions/update-comment-thread.mjs +28 -0
- package/dist/actions/update-comment-thread.mjs.map +1 -0
- package/dist/actions/update-comment.cjs +29 -0
- package/dist/actions/update-comment.cjs.map +1 -0
- package/dist/actions/update-comment.d.cts +9 -0
- package/dist/actions/update-comment.d.cts.map +1 -0
- package/dist/actions/update-comment.d.mts +9 -0
- package/dist/actions/update-comment.d.mts.map +1 -0
- package/dist/actions/update-comment.mjs +26 -0
- package/dist/actions/update-comment.mjs.map +1 -0
- package/dist/actions/update-file-library-sync-status.cjs +19 -0
- package/dist/actions/update-file-library-sync-status.cjs.map +1 -0
- package/dist/actions/update-file-library-sync-status.d.cts +9 -0
- package/dist/actions/update-file-library-sync-status.d.cts.map +1 -0
- package/dist/actions/update-file-library-sync-status.d.mts +9 -0
- package/dist/actions/update-file-library-sync-status.d.mts.map +1 -0
- package/dist/actions/update-file-library-sync-status.mjs +16 -0
- package/dist/actions/update-file-library-sync-status.mjs.map +1 -0
- package/dist/actions/update-file-snapshot.cjs +19 -0
- package/dist/actions/update-file-snapshot.cjs.map +1 -0
- package/dist/actions/update-file-snapshot.d.cts +9 -0
- package/dist/actions/update-file-snapshot.d.cts.map +1 -0
- package/dist/actions/update-file-snapshot.d.mts +9 -0
- package/dist/actions/update-file-snapshot.d.mts.map +1 -0
- package/dist/actions/update-file-snapshot.mjs +16 -0
- package/dist/actions/update-file-snapshot.mjs.map +1 -0
- package/dist/actions/update-file.cjs +32 -0
- package/dist/actions/update-file.cjs.map +1 -0
- package/dist/actions/update-file.d.cts +9 -0
- package/dist/actions/update-file.d.cts.map +1 -0
- package/dist/actions/update-file.d.mts +9 -0
- package/dist/actions/update-file.d.mts.map +1 -0
- package/dist/actions/update-file.mjs +31 -0
- package/dist/actions/update-file.mjs.map +1 -0
- package/dist/actions/update-font.cjs +20 -0
- package/dist/actions/update-font.cjs.map +1 -0
- package/dist/actions/update-font.d.cts +9 -0
- package/dist/actions/update-font.d.cts.map +1 -0
- package/dist/actions/update-font.d.mts +9 -0
- package/dist/actions/update-font.d.mts.map +1 -0
- package/dist/actions/update-font.mjs +17 -0
- package/dist/actions/update-font.mjs.map +1 -0
- package/dist/actions/update-profile-notifications.cjs +32 -0
- package/dist/actions/update-profile-notifications.cjs.map +1 -0
- package/dist/actions/update-profile-notifications.d.cts +9 -0
- package/dist/actions/update-profile-notifications.d.cts.map +1 -0
- package/dist/actions/update-profile-notifications.d.mts +9 -0
- package/dist/actions/update-profile-notifications.d.mts.map +1 -0
- package/dist/actions/update-profile-notifications.mjs +29 -0
- package/dist/actions/update-profile-notifications.mjs.map +1 -0
- package/dist/actions/update-profile-props.cjs +42 -0
- package/dist/actions/update-profile-props.cjs.map +1 -0
- package/dist/actions/update-profile-props.d.cts +9 -0
- package/dist/actions/update-profile-props.d.cts.map +1 -0
- package/dist/actions/update-profile-props.d.mts +9 -0
- package/dist/actions/update-profile-props.d.mts.map +1 -0
- package/dist/actions/update-profile-props.mjs +39 -0
- package/dist/actions/update-profile-props.mjs.map +1 -0
- package/dist/actions/update-profile.cjs +54 -0
- package/dist/actions/update-profile.cjs.map +1 -0
- package/dist/actions/update-profile.d.cts +9 -0
- package/dist/actions/update-profile.d.cts.map +1 -0
- package/dist/actions/update-profile.d.mts +9 -0
- package/dist/actions/update-profile.d.mts.map +1 -0
- package/dist/actions/update-profile.mjs +53 -0
- package/dist/actions/update-profile.mjs.map +1 -0
- package/dist/actions/update-project-pin.cjs +27 -0
- package/dist/actions/update-project-pin.cjs.map +1 -0
- package/dist/actions/update-project-pin.d.cts +9 -0
- package/dist/actions/update-project-pin.d.cts.map +1 -0
- package/dist/actions/update-project-pin.d.mts +9 -0
- package/dist/actions/update-project-pin.d.mts.map +1 -0
- package/dist/actions/update-project-pin.mjs +24 -0
- package/dist/actions/update-project-pin.mjs.map +1 -0
- package/dist/actions/update-team-invitation-role.cjs +25 -0
- package/dist/actions/update-team-invitation-role.cjs.map +1 -0
- package/dist/actions/update-team-invitation-role.d.cts +9 -0
- package/dist/actions/update-team-invitation-role.d.cts.map +1 -0
- package/dist/actions/update-team-invitation-role.d.mts +9 -0
- package/dist/actions/update-team-invitation-role.d.mts.map +1 -0
- package/dist/actions/update-team-invitation-role.mjs +22 -0
- package/dist/actions/update-team-invitation-role.mjs.map +1 -0
- package/dist/actions/update-team.cjs +26 -0
- package/dist/actions/update-team.cjs.map +1 -0
- package/dist/actions/update-team.d.cts +9 -0
- package/dist/actions/update-team.d.cts.map +1 -0
- package/dist/actions/update-team.d.mts +9 -0
- package/dist/actions/update-team.d.mts.map +1 -0
- package/dist/actions/update-team.mjs +23 -0
- package/dist/actions/update-team.mjs.map +1 -0
- package/dist/actions/update-webhook.cjs +27 -0
- package/dist/actions/update-webhook.cjs.map +1 -0
- package/dist/actions/update-webhook.d.cts +9 -0
- package/dist/actions/update-webhook.d.cts.map +1 -0
- package/dist/actions/update-webhook.d.mts +9 -0
- package/dist/actions/update-webhook.d.mts.map +1 -0
- package/dist/actions/update-webhook.mjs +24 -0
- package/dist/actions/update-webhook.mjs.map +1 -0
- package/dist/actions/verify-token.cjs +23 -0
- package/dist/actions/verify-token.cjs.map +1 -0
- package/dist/actions/verify-token.d.cts +9 -0
- package/dist/actions/verify-token.d.cts.map +1 -0
- package/dist/actions/verify-token.d.mts +9 -0
- package/dist/actions/verify-token.d.mts.map +1 -0
- package/dist/actions/verify-token.mjs +20 -0
- package/dist/actions/verify-token.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +186 -0
- package/dist/index.d.cts +93 -0
- package/dist/index.d.mts +93 -0
- package/dist/index.mjs +94 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-file.cjs","names":["z","action"],"sources":["../../src/actions/update-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateFileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the file to update. Must be a valid UUID format.\"),\n revn: z.number().int().describe(\"Revision number of the file. Used for optimistic locking to prevent conflicts.\"),\n vern: z.number().int().describe(\"Version number of the file. Used for tracking file version history.\"),\n changes: z.array(z.record(z.string(), z.unknown())).describe(\"Array of change objects to apply to the file. Each change object must have a 'type' field and additional fields based on the change type (e.g., AddObjChange, ModObjChange, DelObjChange, AddPageChange, etc.).\").optional(),\n features: z.array(z.string()).describe(\"Set of feature flags to enable for this update operation.\").optional(),\n sessionId: z.string().describe(\"UUID of the session. Must be a valid UUID format.\"),\n skipValidate: z.boolean().describe(\"Whether to skip validation of changes. Use with caution as invalid changes may corrupt the file.\").optional(),\n changesWithMetadata: z.array(z.record(z.string(), z.unknown())).describe(\"Array of change groups with metadata including hint events and origin information.\").optional(),\n}).describe(\"Request model for updating a Penpot file with changes.\");\nconst PenpotUpdateFile_ChangeResultSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the change result\").nullable().optional(),\n revn: z.number().int().describe(\"Revision number after the update\").nullable().optional(),\n fileId: z.string().describe(\"UUID of the file that was updated\").nullable().optional(),\n changes: z.array(z.record(z.string(), z.unknown())).describe(\"Array of applied changes\").nullable().optional(),\n sessionId: z.string().describe(\"UUID of the session\").nullable().optional(),\n}).describe(\"Individual change result in the response.\");\nexport const PenpotUpdateFileOutput: z.ZodTypeAny = z.object({\n results: z.array(PenpotUpdateFile_ChangeResultSchema).describe(\"Array of change results applied to the file\").nullable().optional(),\n}).describe(\"Response model for updating a Penpot file.\");\n\nexport const penpotUpdateFile = action(\"PENPOT_UPDATE_FILE\", {\n slug: \"penpot-update-file\",\n name: \"Update File\",\n description: \"Tool to update a Penpot file with changes. Use when you need to apply modifications to a file such as adding/modifying/deleting objects, pages, colors, components, or other design elements. Requires file ID, session ID, revision number, and version number for optimistic locking.\",\n input: PenpotUpdateFileInput,\n output: PenpotUpdateFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACrG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACzR,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAChJ,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-file.d.ts
|
|
4
|
+
declare const PenpotUpdateFileInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateFileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateFile };
|
|
9
|
+
//# sourceMappingURL=update-file.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-file.d.cts","names":[],"sources":["../../src/actions/update-file.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAS+B;AAAA,cAQxD,sBAAA,EAAwB,CAAA,CAAE,UAEkB;AAAA,cAE5C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-file.d.ts
|
|
4
|
+
declare const PenpotUpdateFileInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateFileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateFile };
|
|
9
|
+
//# sourceMappingURL=update-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-file.d.mts","names":[],"sources":["../../src/actions/update-file.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAS+B;AAAA,cAQxD,sBAAA,EAAwB,CAAA,CAAE,UAEkB;AAAA,cAE5C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-file.ts
|
|
4
|
+
const PenpotUpdateFileInput = z.object({
|
|
5
|
+
id: z.string().describe("UUID of the file to update. Must be a valid UUID format."),
|
|
6
|
+
revn: z.number().int().describe("Revision number of the file. Used for optimistic locking to prevent conflicts."),
|
|
7
|
+
vern: z.number().int().describe("Version number of the file. Used for tracking file version history."),
|
|
8
|
+
changes: z.array(z.record(z.string(), z.unknown())).describe("Array of change objects to apply to the file. Each change object must have a 'type' field and additional fields based on the change type (e.g., AddObjChange, ModObjChange, DelObjChange, AddPageChange, etc.).").optional(),
|
|
9
|
+
features: z.array(z.string()).describe("Set of feature flags to enable for this update operation.").optional(),
|
|
10
|
+
sessionId: z.string().describe("UUID of the session. Must be a valid UUID format."),
|
|
11
|
+
skipValidate: z.boolean().describe("Whether to skip validation of changes. Use with caution as invalid changes may corrupt the file.").optional(),
|
|
12
|
+
changesWithMetadata: z.array(z.record(z.string(), z.unknown())).describe("Array of change groups with metadata including hint events and origin information.").optional()
|
|
13
|
+
}).describe("Request model for updating a Penpot file with changes.");
|
|
14
|
+
const PenpotUpdateFile_ChangeResultSchema = z.object({
|
|
15
|
+
id: z.string().describe("UUID of the change result").nullable().optional(),
|
|
16
|
+
revn: z.number().int().describe("Revision number after the update").nullable().optional(),
|
|
17
|
+
fileId: z.string().describe("UUID of the file that was updated").nullable().optional(),
|
|
18
|
+
changes: z.array(z.record(z.string(), z.unknown())).describe("Array of applied changes").nullable().optional(),
|
|
19
|
+
sessionId: z.string().describe("UUID of the session").nullable().optional()
|
|
20
|
+
}).describe("Individual change result in the response.");
|
|
21
|
+
const penpotUpdateFile = action("PENPOT_UPDATE_FILE", {
|
|
22
|
+
slug: "penpot-update-file",
|
|
23
|
+
name: "Update File",
|
|
24
|
+
description: "Tool to update a Penpot file with changes. Use when you need to apply modifications to a file such as adding/modifying/deleting objects, pages, colors, components, or other design elements. Requires file ID, session ID, revision number, and version number for optimistic locking.",
|
|
25
|
+
input: PenpotUpdateFileInput,
|
|
26
|
+
output: z.object({ results: z.array(PenpotUpdateFile_ChangeResultSchema).describe("Array of change results applied to the file").nullable().optional() }).describe("Response model for updating a Penpot file.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { penpotUpdateFile };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=update-file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-file.mjs","names":[],"sources":["../../src/actions/update-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateFileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the file to update. Must be a valid UUID format.\"),\n revn: z.number().int().describe(\"Revision number of the file. Used for optimistic locking to prevent conflicts.\"),\n vern: z.number().int().describe(\"Version number of the file. Used for tracking file version history.\"),\n changes: z.array(z.record(z.string(), z.unknown())).describe(\"Array of change objects to apply to the file. Each change object must have a 'type' field and additional fields based on the change type (e.g., AddObjChange, ModObjChange, DelObjChange, AddPageChange, etc.).\").optional(),\n features: z.array(z.string()).describe(\"Set of feature flags to enable for this update operation.\").optional(),\n sessionId: z.string().describe(\"UUID of the session. Must be a valid UUID format.\"),\n skipValidate: z.boolean().describe(\"Whether to skip validation of changes. Use with caution as invalid changes may corrupt the file.\").optional(),\n changesWithMetadata: z.array(z.record(z.string(), z.unknown())).describe(\"Array of change groups with metadata including hint events and origin information.\").optional(),\n}).describe(\"Request model for updating a Penpot file with changes.\");\nconst PenpotUpdateFile_ChangeResultSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the change result\").nullable().optional(),\n revn: z.number().int().describe(\"Revision number after the update\").nullable().optional(),\n fileId: z.string().describe(\"UUID of the file that was updated\").nullable().optional(),\n changes: z.array(z.record(z.string(), z.unknown())).describe(\"Array of applied changes\").nullable().optional(),\n sessionId: z.string().describe(\"UUID of the session\").nullable().optional(),\n}).describe(\"Individual change result in the response.\");\nexport const PenpotUpdateFileOutput: z.ZodTypeAny = z.object({\n results: z.array(PenpotUpdateFile_ChangeResultSchema).describe(\"Array of change results applied to the file\").nullable().optional(),\n}).describe(\"Response model for updating a Penpot file.\");\n\nexport const penpotUpdateFile = action(\"PENPOT_UPDATE_FILE\", {\n slug: \"penpot-update-file\",\n name: \"Update File\",\n description: \"Tool to update a Penpot file with changes. Use when you need to apply modifications to a file such as adding/modifying/deleting objects, pages, colors, components, or other design elements. Requires file ID, session ID, revision number, and version number for optimistic locking.\",\n input: PenpotUpdateFileInput,\n output: PenpotUpdateFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACrG,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACzR,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAChJ,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAKvD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpI,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-font.ts
|
|
4
|
+
const PenpotUpdateFontInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("UUID of the font to update"),
|
|
6
|
+
name: zod.z.string().describe("Updated name for the font (1-250 characters)"),
|
|
7
|
+
team_id: zod.z.string().describe("UUID of the team that owns the font")
|
|
8
|
+
}).describe("Request schema for updating a font's metadata in Penpot.");
|
|
9
|
+
const PenpotUpdateFontOutput = zod.z.object({ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response data from the API after updating the font").nullable().optional() }).describe("Response schema after updating a font's metadata in Penpot.");
|
|
10
|
+
const penpotUpdateFont = require_action.action("PENPOT_UPDATE_FONT", {
|
|
11
|
+
slug: "penpot-update-font",
|
|
12
|
+
name: "Update Font",
|
|
13
|
+
description: "Tool to update a font's metadata in Penpot. Use when you need to modify the name or other properties of an existing font in a team.",
|
|
14
|
+
input: PenpotUpdateFontInput,
|
|
15
|
+
output: PenpotUpdateFontOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.penpotUpdateFont = penpotUpdateFont;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=update-font.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-font.cjs","names":["z","action"],"sources":["../../src/actions/update-font.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateFontInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the font to update\"),\n name: z.string().describe(\"Updated name for the font (1-250 characters)\"),\n team_id: z.string().describe(\"UUID of the team that owns the font\"),\n}).describe(\"Request schema for updating a font's metadata in Penpot.\");\nexport const PenpotUpdateFontOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data from the API after updating the font\").nullable().optional(),\n}).describe(\"Response schema after updating a font's metadata in Penpot.\");\n\nexport const penpotUpdateFont = action(\"PENPOT_UPDATE_FONT\", {\n slug: \"penpot-update-font\",\n name: \"Update Font\",\n description: \"Tool to update a font's metadata in Penpot. Use when you need to modify the name or other properties of an existing font in a team.\",\n input: PenpotUpdateFontInput,\n output: PenpotUpdateFontOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACpE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-font.d.ts
|
|
4
|
+
declare const PenpotUpdateFontInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateFontOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateFont: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateFont };
|
|
9
|
+
//# sourceMappingURL=update-font.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-font.d.cts","names":[],"sources":["../../src/actions/update-font.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIiC;AAAA,cAC1D,sBAAA,EAAwB,CAAA,CAAE,UAEmC;AAAA,cAE7D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-font.d.ts
|
|
4
|
+
declare const PenpotUpdateFontInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateFontOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateFont: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateFont };
|
|
9
|
+
//# sourceMappingURL=update-font.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-font.d.mts","names":[],"sources":["../../src/actions/update-font.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIiC;AAAA,cAC1D,sBAAA,EAAwB,CAAA,CAAE,UAEmC;AAAA,cAE7D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const penpotUpdateFont = action("PENPOT_UPDATE_FONT", {
|
|
4
|
+
slug: "penpot-update-font",
|
|
5
|
+
name: "Update Font",
|
|
6
|
+
description: "Tool to update a font's metadata in Penpot. Use when you need to modify the name or other properties of an existing font in a team.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.string().describe("UUID of the font to update"),
|
|
9
|
+
name: z.string().describe("Updated name for the font (1-250 characters)"),
|
|
10
|
+
team_id: z.string().describe("UUID of the team that owns the font")
|
|
11
|
+
}).describe("Request schema for updating a font's metadata in Penpot."),
|
|
12
|
+
output: z.object({ data: z.record(z.string(), z.unknown()).describe("Response data from the API after updating the font").nullable().optional() }).describe("Response schema after updating a font's metadata in Penpot.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { penpotUpdateFont };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=update-font.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-font.mjs","names":[],"sources":["../../src/actions/update-font.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateFontInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the font to update\"),\n name: z.string().describe(\"Updated name for the font (1-250 characters)\"),\n team_id: z.string().describe(\"UUID of the team that owns the font\"),\n}).describe(\"Request schema for updating a font's metadata in Penpot.\");\nexport const PenpotUpdateFontOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Response data from the API after updating the font\").nullable().optional(),\n}).describe(\"Response schema after updating a font's metadata in Penpot.\");\n\nexport const penpotUpdateFont = action(\"PENPOT_UPDATE_FONT\", {\n slug: \"penpot-update-font\",\n name: \"Update Font\",\n description: \"Tool to update a font's metadata in Penpot. Use when you need to modify the name or other properties of an existing font in a team.\",\n input: PenpotUpdateFontInput,\n output: PenpotUpdateFontOutput,\n});\n"],"mappings":";;AAaA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACpE,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-profile-notifications.ts
|
|
4
|
+
const PenpotUpdateProfileNotificationsInput = zod.z.object({
|
|
5
|
+
email_invites: zod.z.enum(["all", "none"]).describe("Notification setting for email invites. Controls whether the user receives email notifications about team or project invitations."),
|
|
6
|
+
email_comments: zod.z.enum([
|
|
7
|
+
"all",
|
|
8
|
+
"partial",
|
|
9
|
+
"none"
|
|
10
|
+
]).describe("Notification setting for email comments. Controls whether the user receives email notifications about comments."),
|
|
11
|
+
dashboard_comments: zod.z.enum([
|
|
12
|
+
"all",
|
|
13
|
+
"partial",
|
|
14
|
+
"none"
|
|
15
|
+
]).describe("Notification setting for dashboard comments. Controls whether the user receives notifications about comments on the dashboard.")
|
|
16
|
+
}).describe("Request model for updating notification settings for the user profile.");
|
|
17
|
+
const PenpotUpdateProfileNotificationsOutput = zod.z.object({
|
|
18
|
+
email_invites: zod.z.string().describe("Updated notification setting for email invites").nullable().optional(),
|
|
19
|
+
email_comments: zod.z.string().describe("Updated notification setting for email comments").nullable().optional(),
|
|
20
|
+
dashboard_comments: zod.z.string().describe("Updated notification setting for dashboard comments").nullable().optional()
|
|
21
|
+
}).describe("Response model for UpdateProfileNotifications action.\nReturns the updated notification settings.");
|
|
22
|
+
const penpotUpdateProfileNotifications = require_action.action("PENPOT_UPDATE_PROFILE_NOTIFICATIONS", {
|
|
23
|
+
slug: "penpot-update-profile-notifications",
|
|
24
|
+
name: "Update Profile Notifications",
|
|
25
|
+
description: "Tool to update notification settings for the authenticated user's profile. Use when you need to configure how the user receives notifications about comments and invitations.",
|
|
26
|
+
input: PenpotUpdateProfileNotificationsInput,
|
|
27
|
+
output: PenpotUpdateProfileNotificationsOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.penpotUpdateProfileNotifications = penpotUpdateProfileNotifications;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=update-profile-notifications.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-notifications.cjs","names":["z","action"],"sources":["../../src/actions/update-profile-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateProfileNotificationsInput: z.ZodTypeAny = z.object({\n email_invites: z.enum([\"all\", \"none\"]).describe(\"Notification setting for email invites. Controls whether the user receives email notifications about team or project invitations.\"),\n email_comments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Notification setting for email comments. Controls whether the user receives email notifications about comments.\"),\n dashboard_comments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Notification setting for dashboard comments. Controls whether the user receives notifications about comments on the dashboard.\"),\n}).describe(\"Request model for updating notification settings for the user profile.\");\nexport const PenpotUpdateProfileNotificationsOutput: z.ZodTypeAny = z.object({\n email_invites: z.string().describe(\"Updated notification setting for email invites\").nullable().optional(),\n email_comments: z.string().describe(\"Updated notification setting for email comments\").nullable().optional(),\n dashboard_comments: z.string().describe(\"Updated notification setting for dashboard comments\").nullable().optional(),\n}).describe(\"Response model for UpdateProfileNotifications action.\\nReturns the updated notification settings.\");\n\nexport const penpotUpdateProfileNotifications = action(\"PENPOT_UPDATE_PROFILE_NOTIFICATIONS\", {\n slug: \"penpot-update-profile-notifications\",\n name: \"Update Profile Notifications\",\n description: \"Tool to update notification settings for the authenticated user's profile. Use when you need to configure how the user receives notifications about comments and invitations.\",\n input: PenpotUpdateProfileNotificationsInput,\n output: PenpotUpdateProfileNotificationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,mIAAmI;CACnL,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,iHAAiH;CAC7K,oBAAoBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,gIAAgI;AAClM,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAE/G,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-profile-notifications.d.ts
|
|
4
|
+
declare const PenpotUpdateProfileNotificationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateProfileNotificationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateProfileNotifications: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateProfileNotifications };
|
|
9
|
+
//# sourceMappingURL=update-profile-notifications.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-notifications.d.cts","names":[],"sources":["../../src/actions/update-profile-notifications.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAI+B;AAAA,cACxE,sCAAA,EAAwC,CAAA,CAAE,UAIyD;AAAA,cAEnG,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-profile-notifications.d.ts
|
|
4
|
+
declare const PenpotUpdateProfileNotificationsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateProfileNotificationsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateProfileNotifications: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateProfileNotifications };
|
|
9
|
+
//# sourceMappingURL=update-profile-notifications.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-notifications.d.mts","names":[],"sources":["../../src/actions/update-profile-notifications.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAI+B;AAAA,cACxE,sCAAA,EAAwC,CAAA,CAAE,UAIyD;AAAA,cAEnG,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const penpotUpdateProfileNotifications = action("PENPOT_UPDATE_PROFILE_NOTIFICATIONS", {
|
|
4
|
+
slug: "penpot-update-profile-notifications",
|
|
5
|
+
name: "Update Profile Notifications",
|
|
6
|
+
description: "Tool to update notification settings for the authenticated user's profile. Use when you need to configure how the user receives notifications about comments and invitations.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
email_invites: z.enum(["all", "none"]).describe("Notification setting for email invites. Controls whether the user receives email notifications about team or project invitations."),
|
|
9
|
+
email_comments: z.enum([
|
|
10
|
+
"all",
|
|
11
|
+
"partial",
|
|
12
|
+
"none"
|
|
13
|
+
]).describe("Notification setting for email comments. Controls whether the user receives email notifications about comments."),
|
|
14
|
+
dashboard_comments: z.enum([
|
|
15
|
+
"all",
|
|
16
|
+
"partial",
|
|
17
|
+
"none"
|
|
18
|
+
]).describe("Notification setting for dashboard comments. Controls whether the user receives notifications about comments on the dashboard.")
|
|
19
|
+
}).describe("Request model for updating notification settings for the user profile."),
|
|
20
|
+
output: z.object({
|
|
21
|
+
email_invites: z.string().describe("Updated notification setting for email invites").nullable().optional(),
|
|
22
|
+
email_comments: z.string().describe("Updated notification setting for email comments").nullable().optional(),
|
|
23
|
+
dashboard_comments: z.string().describe("Updated notification setting for dashboard comments").nullable().optional()
|
|
24
|
+
}).describe("Response model for UpdateProfileNotifications action.\nReturns the updated notification settings.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { penpotUpdateProfileNotifications };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=update-profile-notifications.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-notifications.mjs","names":[],"sources":["../../src/actions/update-profile-notifications.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateProfileNotificationsInput: z.ZodTypeAny = z.object({\n email_invites: z.enum([\"all\", \"none\"]).describe(\"Notification setting for email invites. Controls whether the user receives email notifications about team or project invitations.\"),\n email_comments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Notification setting for email comments. Controls whether the user receives email notifications about comments.\"),\n dashboard_comments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Notification setting for dashboard comments. Controls whether the user receives notifications about comments on the dashboard.\"),\n}).describe(\"Request model for updating notification settings for the user profile.\");\nexport const PenpotUpdateProfileNotificationsOutput: z.ZodTypeAny = z.object({\n email_invites: z.string().describe(\"Updated notification setting for email invites\").nullable().optional(),\n email_comments: z.string().describe(\"Updated notification setting for email comments\").nullable().optional(),\n dashboard_comments: z.string().describe(\"Updated notification setting for dashboard comments\").nullable().optional(),\n}).describe(\"Response model for UpdateProfileNotifications action.\\nReturns the updated notification settings.\");\n\nexport const penpotUpdateProfileNotifications = action(\"PENPOT_UPDATE_PROFILE_NOTIFICATIONS\", {\n slug: \"penpot-update-profile-notifications\",\n name: \"Update Profile Notifications\",\n description: \"Tool to update notification settings for the authenticated user's profile. Use when you need to configure how the user receives notifications about comments and invitations.\",\n input: PenpotUpdateProfileNotificationsInput,\n output: PenpotUpdateProfileNotificationsOutput,\n});\n"],"mappings":";;AAeA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiE,EAAE,OAAO;EAC1E,eAAe,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,mIAAmI;EACnL,gBAAgB,EAAE,KAAK;GAAC;GAAO;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,iHAAiH;EAC7K,oBAAoB,EAAE,KAAK;GAAC;GAAO;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,gIAAgI;CAClM,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXkE,EAAE,OAAO;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,mGAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-profile-props.ts
|
|
4
|
+
const PenpotUpdateProfilePropsInput = zod.z.object({ props: zod.z.object({
|
|
5
|
+
plugins: zod.z.object({
|
|
6
|
+
ids: zod.z.array(zod.z.string()).describe("List of plugin IDs"),
|
|
7
|
+
data: zod.z.object({}).describe("Plugin configuration data")
|
|
8
|
+
}).describe("Plugins configuration for the profile.").optional(),
|
|
9
|
+
v2InfoShown: zod.z.boolean().describe("Whether v2 info has been shown").optional(),
|
|
10
|
+
notifications: zod.z.object({
|
|
11
|
+
emailInvites: zod.z.enum(["all", "none"]).describe("Email invites notification setting: 'all' or 'none'"),
|
|
12
|
+
emailComments: zod.z.enum([
|
|
13
|
+
"all",
|
|
14
|
+
"partial",
|
|
15
|
+
"none"
|
|
16
|
+
]).describe("Email comments notification setting: 'all', 'partial', or 'none'"),
|
|
17
|
+
dashboardComments: zod.z.enum([
|
|
18
|
+
"all",
|
|
19
|
+
"partial",
|
|
20
|
+
"none"
|
|
21
|
+
]).describe("Dashboard comments notification setting: 'all', 'partial', or 'none'")
|
|
22
|
+
}).describe("Notification preferences for the profile.").optional(),
|
|
23
|
+
welcomeFileId: zod.z.boolean().describe("Welcome file identifier flag").optional(),
|
|
24
|
+
newsletterNews: zod.z.boolean().describe("Whether to receive newsletter news").optional(),
|
|
25
|
+
onboardingTeamId: zod.z.string().describe("UUID of the onboarding team").optional(),
|
|
26
|
+
onboardingViewed: zod.z.boolean().describe("Whether onboarding has been viewed").optional(),
|
|
27
|
+
workspaceVisited: zod.z.boolean().describe("Whether workspace has been visited").optional(),
|
|
28
|
+
newsletterUpdates: zod.z.boolean().describe("Whether to receive newsletter updates").optional(),
|
|
29
|
+
releaseNotesViewed: zod.z.string().describe("Release notes version that was viewed (non-whitespace string)").optional()
|
|
30
|
+
}).describe("Custom properties to update for the user profile") }).describe("Request model for updating custom profile properties.");
|
|
31
|
+
const PenpotUpdateProfilePropsOutput = zod.z.object({}).describe("Response model for UpdateProfileProps action.\nThe API returns an empty JSON object on successful update.");
|
|
32
|
+
const penpotUpdateProfileProps = require_action.action("PENPOT_UPDATE_PROFILE_PROPS", {
|
|
33
|
+
slug: "penpot-update-profile-props",
|
|
34
|
+
name: "Update Profile Props",
|
|
35
|
+
description: "Tool to update custom properties for the authenticated user's profile. Use when you need to modify user preferences such as onboarding status, notification settings, newsletter subscriptions, or plugin configurations.",
|
|
36
|
+
input: PenpotUpdateProfilePropsInput,
|
|
37
|
+
output: PenpotUpdateProfilePropsOutput
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.penpotUpdateProfileProps = penpotUpdateProfileProps;
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=update-profile-props.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-props.cjs","names":["z","action"],"sources":["../../src/actions/update-profile-props.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateProfilePropsInput: z.ZodTypeAny = z.object({\n props: z.object({\n plugins: z.object({\n ids: z.array(z.string()).describe(\"List of plugin IDs\"),\n data: z.object({}).describe(\"Plugin configuration data\"),\n}).describe(\"Plugins configuration for the profile.\").optional(),\n v2InfoShown: z.boolean().describe(\"Whether v2 info has been shown\").optional(),\n notifications: z.object({\n emailInvites: z.enum([\"all\", \"none\"]).describe(\"Email invites notification setting: 'all' or 'none'\"),\n emailComments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Email comments notification setting: 'all', 'partial', or 'none'\"),\n dashboardComments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Dashboard comments notification setting: 'all', 'partial', or 'none'\"),\n}).describe(\"Notification preferences for the profile.\").optional(),\n welcomeFileId: z.boolean().describe(\"Welcome file identifier flag\").optional(),\n newsletterNews: z.boolean().describe(\"Whether to receive newsletter news\").optional(),\n onboardingTeamId: z.string().describe(\"UUID of the onboarding team\").optional(),\n onboardingViewed: z.boolean().describe(\"Whether onboarding has been viewed\").optional(),\n workspaceVisited: z.boolean().describe(\"Whether workspace has been visited\").optional(),\n newsletterUpdates: z.boolean().describe(\"Whether to receive newsletter updates\").optional(),\n releaseNotesViewed: z.string().describe(\"Release notes version that was viewed (non-whitespace string)\").optional(),\n}).describe(\"Custom properties to update for the user profile\"),\n}).describe(\"Request model for updating custom profile properties.\");\nexport const PenpotUpdateProfilePropsOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for UpdateProfileProps action.\\nThe API returns an empty JSON object on successful update.\");\n\nexport const penpotUpdateProfileProps = action(\"PENPOT_UPDATE_PROFILE_PROPS\", {\n slug: \"penpot-update-profile-props\",\n name: \"Update Profile Props\",\n description: \"Tool to update custom properties for the authenticated user's profile. Use when you need to modify user preferences such as onboarding status, notification settings, newsletter subscriptions, or plugin configurations.\",\n input: PenpotUpdateProfilePropsInput,\n output: PenpotUpdateProfilePropsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,OAAOA,IAAAA,EAAE,OAAO;CAChB,SAASA,IAAAA,EAAE,OAAO;EAClB,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oBAAoB;EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B;CACzD,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7D,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO;EACxB,cAAcA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,qDAAqD;EACpG,eAAeA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EAC7H,mBAAmBA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAW;EAAM,CAAC,CAAC,CAAC,SAAS,sEAAsE;CACvI,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC9E,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAC9D,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AAE7L,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-profile-props.d.ts
|
|
4
|
+
declare const PenpotUpdateProfilePropsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateProfilePropsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateProfileProps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateProfileProps };
|
|
9
|
+
//# sourceMappingURL=update-profile-props.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-props.d.cts","names":[],"sources":["../../src/actions/update-profile-props.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAoBsB;AAAA,cACvD,8BAAA,EAAgC,CAAA,CAAE,UAA+I;AAAA,cAEjL,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-profile-props.d.ts
|
|
4
|
+
declare const PenpotUpdateProfilePropsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateProfilePropsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateProfileProps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateProfileProps };
|
|
9
|
+
//# sourceMappingURL=update-profile-props.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-props.d.mts","names":[],"sources":["../../src/actions/update-profile-props.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAoBsB;AAAA,cACvD,8BAAA,EAAgC,CAAA,CAAE,UAA+I;AAAA,cAEjL,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const penpotUpdateProfileProps = action("PENPOT_UPDATE_PROFILE_PROPS", {
|
|
4
|
+
slug: "penpot-update-profile-props",
|
|
5
|
+
name: "Update Profile Props",
|
|
6
|
+
description: "Tool to update custom properties for the authenticated user's profile. Use when you need to modify user preferences such as onboarding status, notification settings, newsletter subscriptions, or plugin configurations.",
|
|
7
|
+
input: z.object({ props: z.object({
|
|
8
|
+
plugins: z.object({
|
|
9
|
+
ids: z.array(z.string()).describe("List of plugin IDs"),
|
|
10
|
+
data: z.object({}).describe("Plugin configuration data")
|
|
11
|
+
}).describe("Plugins configuration for the profile.").optional(),
|
|
12
|
+
v2InfoShown: z.boolean().describe("Whether v2 info has been shown").optional(),
|
|
13
|
+
notifications: z.object({
|
|
14
|
+
emailInvites: z.enum(["all", "none"]).describe("Email invites notification setting: 'all' or 'none'"),
|
|
15
|
+
emailComments: z.enum([
|
|
16
|
+
"all",
|
|
17
|
+
"partial",
|
|
18
|
+
"none"
|
|
19
|
+
]).describe("Email comments notification setting: 'all', 'partial', or 'none'"),
|
|
20
|
+
dashboardComments: z.enum([
|
|
21
|
+
"all",
|
|
22
|
+
"partial",
|
|
23
|
+
"none"
|
|
24
|
+
]).describe("Dashboard comments notification setting: 'all', 'partial', or 'none'")
|
|
25
|
+
}).describe("Notification preferences for the profile.").optional(),
|
|
26
|
+
welcomeFileId: z.boolean().describe("Welcome file identifier flag").optional(),
|
|
27
|
+
newsletterNews: z.boolean().describe("Whether to receive newsletter news").optional(),
|
|
28
|
+
onboardingTeamId: z.string().describe("UUID of the onboarding team").optional(),
|
|
29
|
+
onboardingViewed: z.boolean().describe("Whether onboarding has been viewed").optional(),
|
|
30
|
+
workspaceVisited: z.boolean().describe("Whether workspace has been visited").optional(),
|
|
31
|
+
newsletterUpdates: z.boolean().describe("Whether to receive newsletter updates").optional(),
|
|
32
|
+
releaseNotesViewed: z.string().describe("Release notes version that was viewed (non-whitespace string)").optional()
|
|
33
|
+
}).describe("Custom properties to update for the user profile") }).describe("Request model for updating custom profile properties."),
|
|
34
|
+
output: z.object({}).describe("Response model for UpdateProfileProps action.\nThe API returns an empty JSON object on successful update.")
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { penpotUpdateProfileProps };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=update-profile-props.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile-props.mjs","names":[],"sources":["../../src/actions/update-profile-props.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateProfilePropsInput: z.ZodTypeAny = z.object({\n props: z.object({\n plugins: z.object({\n ids: z.array(z.string()).describe(\"List of plugin IDs\"),\n data: z.object({}).describe(\"Plugin configuration data\"),\n}).describe(\"Plugins configuration for the profile.\").optional(),\n v2InfoShown: z.boolean().describe(\"Whether v2 info has been shown\").optional(),\n notifications: z.object({\n emailInvites: z.enum([\"all\", \"none\"]).describe(\"Email invites notification setting: 'all' or 'none'\"),\n emailComments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Email comments notification setting: 'all', 'partial', or 'none'\"),\n dashboardComments: z.enum([\"all\", \"partial\", \"none\"]).describe(\"Dashboard comments notification setting: 'all', 'partial', or 'none'\"),\n}).describe(\"Notification preferences for the profile.\").optional(),\n welcomeFileId: z.boolean().describe(\"Welcome file identifier flag\").optional(),\n newsletterNews: z.boolean().describe(\"Whether to receive newsletter news\").optional(),\n onboardingTeamId: z.string().describe(\"UUID of the onboarding team\").optional(),\n onboardingViewed: z.boolean().describe(\"Whether onboarding has been viewed\").optional(),\n workspaceVisited: z.boolean().describe(\"Whether workspace has been visited\").optional(),\n newsletterUpdates: z.boolean().describe(\"Whether to receive newsletter updates\").optional(),\n releaseNotesViewed: z.string().describe(\"Release notes version that was viewed (non-whitespace string)\").optional(),\n}).describe(\"Custom properties to update for the user profile\"),\n}).describe(\"Request model for updating custom profile properties.\");\nexport const PenpotUpdateProfilePropsOutput: z.ZodTypeAny = z.object({}).describe(\"Response model for UpdateProfileProps action.\\nThe API returns an empty JSON object on successful update.\");\n\nexport const penpotUpdateProfileProps = action(\"PENPOT_UPDATE_PROFILE_PROPS\", {\n slug: \"penpot-update-profile-props\",\n name: \"Update Profile Props\",\n description: \"Tool to update custom properties for the authenticated user's profile. Use when you need to modify user preferences such as onboarding status, notification settings, newsletter subscriptions, or plugin configurations.\",\n input: PenpotUpdateProfilePropsInput,\n output: PenpotUpdateProfilePropsOutput,\n});\n"],"mappings":";;AA2BA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3ByD,EAAE,OAAO,EAClE,OAAO,EAAE,OAAO;EAChB,SAAS,EAAE,OAAO;GAClB,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oBAAoB;GACtD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B;EACzD,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO;GACxB,cAAc,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,qDAAqD;GACpG,eAAe,EAAE,KAAK;IAAC;IAAO;IAAW;GAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;GAC7H,mBAAmB,EAAE,KAAK;IAAC;IAAO;IAAW;GAAM,CAAC,CAAC,CAAC,SAAS,sEAAsE;EACvI,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC7E,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACtF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAC9D,CAAC,CAAC,CAAC,SAAS,uDAOH;CACP,QAP0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAOxE;AACV,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-profile.ts
|
|
4
|
+
const PenpotUpdateProfileInput = zod.z.object({
|
|
5
|
+
lang: zod.z.string().describe("Language preference code (maximum 8 characters, e.g., 'en', 'es', 'fr')").optional(),
|
|
6
|
+
theme: zod.z.string().describe("Theme preference for the user interface (maximum 250 characters)").optional(),
|
|
7
|
+
fullname: zod.z.string().describe("Full name of the user")
|
|
8
|
+
}).describe("Request schema for updating the current user's profile.");
|
|
9
|
+
const PenpotUpdateProfile_ProfilePropsPluginsSchema = zod.z.object({
|
|
10
|
+
ids: zod.z.array(zod.z.string()).describe("List of plugin IDs").nullable().optional(),
|
|
11
|
+
data: zod.z.object({}).describe("Plugin configuration data").nullable().optional()
|
|
12
|
+
}).describe("Plugins configuration for the profile.");
|
|
13
|
+
const PenpotUpdateProfile_ProfilePropsNotificationsSchema = zod.z.object({
|
|
14
|
+
emailInvites: zod.z.string().describe("Email invites notification setting").nullable().optional(),
|
|
15
|
+
emailComments: zod.z.string().describe("Email comments notification setting").nullable().optional(),
|
|
16
|
+
dashboardComments: zod.z.string().describe("Dashboard comments notification setting").nullable().optional()
|
|
17
|
+
}).describe("Notification preferences for the profile.");
|
|
18
|
+
const PenpotUpdateProfile_ProfilePropsSchema = zod.z.object({
|
|
19
|
+
plugins: PenpotUpdateProfile_ProfilePropsPluginsSchema.nullable().optional(),
|
|
20
|
+
v2InfoShown: zod.z.boolean().describe("Whether v2 info has been shown").nullable().optional(),
|
|
21
|
+
notifications: PenpotUpdateProfile_ProfilePropsNotificationsSchema.nullable().optional(),
|
|
22
|
+
welcomeFileId: zod.z.boolean().describe("Welcome file identifier flag").nullable().optional(),
|
|
23
|
+
newsletterNews: zod.z.boolean().describe("Whether to receive newsletter news").nullable().optional(),
|
|
24
|
+
onboardingTeamId: zod.z.string().describe("UUID of the onboarding team").nullable().optional(),
|
|
25
|
+
onboardingViewed: zod.z.boolean().describe("Whether onboarding has been viewed").nullable().optional(),
|
|
26
|
+
workspaceVisited: zod.z.boolean().describe("Whether workspace has been visited").nullable().optional(),
|
|
27
|
+
newsletterUpdates: zod.z.boolean().describe("Whether to receive newsletter updates").nullable().optional(),
|
|
28
|
+
releaseNotesViewed: zod.z.string().describe("Release notes version that was viewed").nullable().optional()
|
|
29
|
+
}).describe("Additional properties for the user profile.");
|
|
30
|
+
const PenpotUpdateProfileOutput = zod.z.object({
|
|
31
|
+
id: zod.z.string().describe("UUID of the user"),
|
|
32
|
+
email: zod.z.string().describe("Email address of the user"),
|
|
33
|
+
props: PenpotUpdateProfile_ProfilePropsSchema.nullable().optional(),
|
|
34
|
+
isDemo: zod.z.boolean().describe("Whether this is a demo account").nullable().optional(),
|
|
35
|
+
isMuted: zod.z.boolean().describe("Whether the user is muted").nullable().optional(),
|
|
36
|
+
fullname: zod.z.string().describe("Full name of the user"),
|
|
37
|
+
isActive: zod.z.boolean().describe("Whether the user account is active").nullable().optional(),
|
|
38
|
+
createdAt: zod.z.string().describe("ISO timestamp when the profile was created").nullable().optional(),
|
|
39
|
+
isBlocked: zod.z.boolean().describe("Whether the user account is blocked").nullable().optional(),
|
|
40
|
+
modifiedAt: zod.z.string().describe("ISO timestamp when the profile was last modified").nullable().optional(),
|
|
41
|
+
defaultTeamId: zod.z.string().describe("UUID of the default team").nullable().optional(),
|
|
42
|
+
defaultProjectId: zod.z.string().describe("UUID of the default project").nullable().optional()
|
|
43
|
+
}).describe("Response schema after updating the user's profile.");
|
|
44
|
+
const penpotUpdateProfile = require_action.action("PENPOT_UPDATE_PROFILE", {
|
|
45
|
+
slug: "penpot-update-profile",
|
|
46
|
+
name: "Update Profile",
|
|
47
|
+
description: "Tool to update the current authenticated user's profile information. Use when you need to change the user's full name, language preference, or theme settings.",
|
|
48
|
+
input: PenpotUpdateProfileInput,
|
|
49
|
+
output: PenpotUpdateProfileOutput
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
exports.penpotUpdateProfile = penpotUpdateProfile;
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=update-profile.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile.cjs","names":["z","action"],"sources":["../../src/actions/update-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateProfileInput: z.ZodTypeAny = z.object({\n lang: z.string().describe(\"Language preference code (maximum 8 characters, e.g., 'en', 'es', 'fr')\").optional(),\n theme: z.string().describe(\"Theme preference for the user interface (maximum 250 characters)\").optional(),\n fullname: z.string().describe(\"Full name of the user\"),\n}).describe(\"Request schema for updating the current user's profile.\");\nconst PenpotUpdateProfile_ProfilePropsPluginsSchema: z.ZodTypeAny = z.object({\n ids: z.array(z.string()).describe(\"List of plugin IDs\").nullable().optional(),\n data: z.object({}).describe(\"Plugin configuration data\").nullable().optional(),\n}).describe(\"Plugins configuration for the profile.\");\nconst PenpotUpdateProfile_ProfilePropsNotificationsSchema: z.ZodTypeAny = z.object({\n emailInvites: z.string().describe(\"Email invites notification setting\").nullable().optional(),\n emailComments: z.string().describe(\"Email comments notification setting\").nullable().optional(),\n dashboardComments: z.string().describe(\"Dashboard comments notification setting\").nullable().optional(),\n}).describe(\"Notification preferences for the profile.\");\nconst PenpotUpdateProfile_ProfilePropsSchema: z.ZodTypeAny = z.object({\n plugins: PenpotUpdateProfile_ProfilePropsPluginsSchema.nullable().optional(),\n v2InfoShown: z.boolean().describe(\"Whether v2 info has been shown\").nullable().optional(),\n notifications: PenpotUpdateProfile_ProfilePropsNotificationsSchema.nullable().optional(),\n welcomeFileId: z.boolean().describe(\"Welcome file identifier flag\").nullable().optional(),\n newsletterNews: z.boolean().describe(\"Whether to receive newsletter news\").nullable().optional(),\n onboardingTeamId: z.string().describe(\"UUID of the onboarding team\").nullable().optional(),\n onboardingViewed: z.boolean().describe(\"Whether onboarding has been viewed\").nullable().optional(),\n workspaceVisited: z.boolean().describe(\"Whether workspace has been visited\").nullable().optional(),\n newsletterUpdates: z.boolean().describe(\"Whether to receive newsletter updates\").nullable().optional(),\n releaseNotesViewed: z.string().describe(\"Release notes version that was viewed\").nullable().optional(),\n}).describe(\"Additional properties for the user profile.\");\nexport const PenpotUpdateProfileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n props: PenpotUpdateProfile_ProfilePropsSchema.nullable().optional(),\n isDemo: z.boolean().describe(\"Whether this is a demo account\").nullable().optional(),\n isMuted: z.boolean().describe(\"Whether the user is muted\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the user\"),\n isActive: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when the profile was created\").nullable().optional(),\n isBlocked: z.boolean().describe(\"Whether the user account is blocked\").nullable().optional(),\n modifiedAt: z.string().describe(\"ISO timestamp when the profile was last modified\").nullable().optional(),\n defaultTeamId: z.string().describe(\"UUID of the default team\").nullable().optional(),\n defaultProjectId: z.string().describe(\"UUID of the default project\").nullable().optional(),\n}).describe(\"Response schema after updating the user's profile.\");\n\nexport const penpotUpdateProfile = action(\"PENPOT_UPDATE_PROFILE\", {\n slug: \"penpot-update-profile\",\n name: \"Update Profile\",\n description: \"Tool to update the current authenticated user's profile information. Use when you need to change the user's full name, language preference, or theme settings.\",\n input: PenpotUpdateProfileInput,\n output: PenpotUpdateProfileOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-profile.d.ts
|
|
4
|
+
declare const PenpotUpdateProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateProfile };
|
|
9
|
+
//# sourceMappingURL=update-profile.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile.d.cts","names":[],"sources":["../../src/actions/update-profile.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAI6B;AAAA,cAsBzD,yBAAA,EAA2B,CAAA,CAAE,UAauB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-profile.d.ts
|
|
4
|
+
declare const PenpotUpdateProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const PenpotUpdateProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const penpotUpdateProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { penpotUpdateProfile };
|
|
9
|
+
//# sourceMappingURL=update-profile.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile.d.mts","names":[],"sources":["../../src/actions/update-profile.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAI6B;AAAA,cAsBzD,yBAAA,EAA2B,CAAA,CAAE,UAauB;AAAA,cAEpD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-profile.ts
|
|
4
|
+
const PenpotUpdateProfileInput = z.object({
|
|
5
|
+
lang: z.string().describe("Language preference code (maximum 8 characters, e.g., 'en', 'es', 'fr')").optional(),
|
|
6
|
+
theme: z.string().describe("Theme preference for the user interface (maximum 250 characters)").optional(),
|
|
7
|
+
fullname: z.string().describe("Full name of the user")
|
|
8
|
+
}).describe("Request schema for updating the current user's profile.");
|
|
9
|
+
const PenpotUpdateProfile_ProfilePropsPluginsSchema = z.object({
|
|
10
|
+
ids: z.array(z.string()).describe("List of plugin IDs").nullable().optional(),
|
|
11
|
+
data: z.object({}).describe("Plugin configuration data").nullable().optional()
|
|
12
|
+
}).describe("Plugins configuration for the profile.");
|
|
13
|
+
const PenpotUpdateProfile_ProfilePropsNotificationsSchema = z.object({
|
|
14
|
+
emailInvites: z.string().describe("Email invites notification setting").nullable().optional(),
|
|
15
|
+
emailComments: z.string().describe("Email comments notification setting").nullable().optional(),
|
|
16
|
+
dashboardComments: z.string().describe("Dashboard comments notification setting").nullable().optional()
|
|
17
|
+
}).describe("Notification preferences for the profile.");
|
|
18
|
+
const PenpotUpdateProfile_ProfilePropsSchema = z.object({
|
|
19
|
+
plugins: PenpotUpdateProfile_ProfilePropsPluginsSchema.nullable().optional(),
|
|
20
|
+
v2InfoShown: z.boolean().describe("Whether v2 info has been shown").nullable().optional(),
|
|
21
|
+
notifications: PenpotUpdateProfile_ProfilePropsNotificationsSchema.nullable().optional(),
|
|
22
|
+
welcomeFileId: z.boolean().describe("Welcome file identifier flag").nullable().optional(),
|
|
23
|
+
newsletterNews: z.boolean().describe("Whether to receive newsletter news").nullable().optional(),
|
|
24
|
+
onboardingTeamId: z.string().describe("UUID of the onboarding team").nullable().optional(),
|
|
25
|
+
onboardingViewed: z.boolean().describe("Whether onboarding has been viewed").nullable().optional(),
|
|
26
|
+
workspaceVisited: z.boolean().describe("Whether workspace has been visited").nullable().optional(),
|
|
27
|
+
newsletterUpdates: z.boolean().describe("Whether to receive newsletter updates").nullable().optional(),
|
|
28
|
+
releaseNotesViewed: z.string().describe("Release notes version that was viewed").nullable().optional()
|
|
29
|
+
}).describe("Additional properties for the user profile.");
|
|
30
|
+
const penpotUpdateProfile = action("PENPOT_UPDATE_PROFILE", {
|
|
31
|
+
slug: "penpot-update-profile",
|
|
32
|
+
name: "Update Profile",
|
|
33
|
+
description: "Tool to update the current authenticated user's profile information. Use when you need to change the user's full name, language preference, or theme settings.",
|
|
34
|
+
input: PenpotUpdateProfileInput,
|
|
35
|
+
output: z.object({
|
|
36
|
+
id: z.string().describe("UUID of the user"),
|
|
37
|
+
email: z.string().describe("Email address of the user"),
|
|
38
|
+
props: PenpotUpdateProfile_ProfilePropsSchema.nullable().optional(),
|
|
39
|
+
isDemo: z.boolean().describe("Whether this is a demo account").nullable().optional(),
|
|
40
|
+
isMuted: z.boolean().describe("Whether the user is muted").nullable().optional(),
|
|
41
|
+
fullname: z.string().describe("Full name of the user"),
|
|
42
|
+
isActive: z.boolean().describe("Whether the user account is active").nullable().optional(),
|
|
43
|
+
createdAt: z.string().describe("ISO timestamp when the profile was created").nullable().optional(),
|
|
44
|
+
isBlocked: z.boolean().describe("Whether the user account is blocked").nullable().optional(),
|
|
45
|
+
modifiedAt: z.string().describe("ISO timestamp when the profile was last modified").nullable().optional(),
|
|
46
|
+
defaultTeamId: z.string().describe("UUID of the default team").nullable().optional(),
|
|
47
|
+
defaultProjectId: z.string().describe("UUID of the default project").nullable().optional()
|
|
48
|
+
}).describe("Response schema after updating the user's profile.")
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { penpotUpdateProfile };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=update-profile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-profile.mjs","names":[],"sources":["../../src/actions/update-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PenpotUpdateProfileInput: z.ZodTypeAny = z.object({\n lang: z.string().describe(\"Language preference code (maximum 8 characters, e.g., 'en', 'es', 'fr')\").optional(),\n theme: z.string().describe(\"Theme preference for the user interface (maximum 250 characters)\").optional(),\n fullname: z.string().describe(\"Full name of the user\"),\n}).describe(\"Request schema for updating the current user's profile.\");\nconst PenpotUpdateProfile_ProfilePropsPluginsSchema: z.ZodTypeAny = z.object({\n ids: z.array(z.string()).describe(\"List of plugin IDs\").nullable().optional(),\n data: z.object({}).describe(\"Plugin configuration data\").nullable().optional(),\n}).describe(\"Plugins configuration for the profile.\");\nconst PenpotUpdateProfile_ProfilePropsNotificationsSchema: z.ZodTypeAny = z.object({\n emailInvites: z.string().describe(\"Email invites notification setting\").nullable().optional(),\n emailComments: z.string().describe(\"Email comments notification setting\").nullable().optional(),\n dashboardComments: z.string().describe(\"Dashboard comments notification setting\").nullable().optional(),\n}).describe(\"Notification preferences for the profile.\");\nconst PenpotUpdateProfile_ProfilePropsSchema: z.ZodTypeAny = z.object({\n plugins: PenpotUpdateProfile_ProfilePropsPluginsSchema.nullable().optional(),\n v2InfoShown: z.boolean().describe(\"Whether v2 info has been shown\").nullable().optional(),\n notifications: PenpotUpdateProfile_ProfilePropsNotificationsSchema.nullable().optional(),\n welcomeFileId: z.boolean().describe(\"Welcome file identifier flag\").nullable().optional(),\n newsletterNews: z.boolean().describe(\"Whether to receive newsletter news\").nullable().optional(),\n onboardingTeamId: z.string().describe(\"UUID of the onboarding team\").nullable().optional(),\n onboardingViewed: z.boolean().describe(\"Whether onboarding has been viewed\").nullable().optional(),\n workspaceVisited: z.boolean().describe(\"Whether workspace has been visited\").nullable().optional(),\n newsletterUpdates: z.boolean().describe(\"Whether to receive newsletter updates\").nullable().optional(),\n releaseNotesViewed: z.string().describe(\"Release notes version that was viewed\").nullable().optional(),\n}).describe(\"Additional properties for the user profile.\");\nexport const PenpotUpdateProfileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the user\"),\n email: z.string().describe(\"Email address of the user\"),\n props: PenpotUpdateProfile_ProfilePropsSchema.nullable().optional(),\n isDemo: z.boolean().describe(\"Whether this is a demo account\").nullable().optional(),\n isMuted: z.boolean().describe(\"Whether the user is muted\").nullable().optional(),\n fullname: z.string().describe(\"Full name of the user\"),\n isActive: z.boolean().describe(\"Whether the user account is active\").nullable().optional(),\n createdAt: z.string().describe(\"ISO timestamp when the profile was created\").nullable().optional(),\n isBlocked: z.boolean().describe(\"Whether the user account is blocked\").nullable().optional(),\n modifiedAt: z.string().describe(\"ISO timestamp when the profile was last modified\").nullable().optional(),\n defaultTeamId: z.string().describe(\"UUID of the default team\").nullable().optional(),\n defaultProjectId: z.string().describe(\"UUID of the default project\").nullable().optional(),\n}).describe(\"Response schema after updating the user's profile.\");\n\nexport const penpotUpdateProfile = action(\"PENPOT_UPDATE_PROFILE\", {\n slug: \"penpot-update-profile\",\n name: \"Update Profile\",\n description: \"Tool to update the current authenticated user's profile information. Use when you need to change the user's full name, language preference, or theme settings.\",\n input: PenpotUpdateProfileInput,\n output: PenpotUpdateProfileOutput,\n});\n"],"mappings":"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"}
|