@keystrokehq/supportbee 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/add-label-to-ticket.cjs +27 -0
- package/dist/actions/add-label-to-ticket.cjs.map +1 -0
- package/dist/actions/add-label-to-ticket.d.cts +9 -0
- package/dist/actions/add-label-to-ticket.d.cts.map +1 -0
- package/dist/actions/add-label-to-ticket.d.mts +9 -0
- package/dist/actions/add-label-to-ticket.d.mts.map +1 -0
- package/dist/actions/add-label-to-ticket.mjs +26 -0
- package/dist/actions/add-label-to-ticket.mjs.map +1 -0
- package/dist/actions/archive-ticket.cjs +33 -0
- package/dist/actions/archive-ticket.cjs.map +1 -0
- package/dist/actions/archive-ticket.d.cts +9 -0
- package/dist/actions/archive-ticket.d.cts.map +1 -0
- package/dist/actions/archive-ticket.d.mts +9 -0
- package/dist/actions/archive-ticket.d.mts.map +1 -0
- package/dist/actions/archive-ticket.mjs +32 -0
- package/dist/actions/archive-ticket.mjs.map +1 -0
- package/dist/actions/assign-ticket-to-team.cjs +28 -0
- package/dist/actions/assign-ticket-to-team.cjs.map +1 -0
- package/dist/actions/assign-ticket-to-team.d.cts +9 -0
- package/dist/actions/assign-ticket-to-team.d.cts.map +1 -0
- package/dist/actions/assign-ticket-to-team.d.mts +9 -0
- package/dist/actions/assign-ticket-to-team.d.mts.map +1 -0
- package/dist/actions/assign-ticket-to-team.mjs +27 -0
- package/dist/actions/assign-ticket-to-team.mjs.map +1 -0
- package/dist/actions/create-comment.cjs +49 -0
- package/dist/actions/create-comment.cjs.map +1 -0
- package/dist/actions/create-comment.d.cts +9 -0
- package/dist/actions/create-comment.d.cts.map +1 -0
- package/dist/actions/create-comment.d.mts +9 -0
- package/dist/actions/create-comment.d.mts.map +1 -0
- package/dist/actions/create-comment.mjs +48 -0
- package/dist/actions/create-comment.mjs.map +1 -0
- package/dist/actions/create-consequence.cjs +30 -0
- package/dist/actions/create-consequence.cjs.map +1 -0
- package/dist/actions/create-consequence.d.cts +9 -0
- package/dist/actions/create-consequence.d.cts.map +1 -0
- package/dist/actions/create-consequence.d.mts +9 -0
- package/dist/actions/create-consequence.d.mts.map +1 -0
- package/dist/actions/create-consequence.mjs +29 -0
- package/dist/actions/create-consequence.mjs.map +1 -0
- package/dist/actions/create-email.cjs +43 -0
- package/dist/actions/create-email.cjs.map +1 -0
- package/dist/actions/create-email.d.cts +9 -0
- package/dist/actions/create-email.d.cts.map +1 -0
- package/dist/actions/create-email.d.mts +9 -0
- package/dist/actions/create-email.d.mts.map +1 -0
- package/dist/actions/create-email.mjs +42 -0
- package/dist/actions/create-email.mjs.map +1 -0
- package/dist/actions/create-filter.cjs +25 -0
- package/dist/actions/create-filter.cjs.map +1 -0
- package/dist/actions/create-filter.d.cts +9 -0
- package/dist/actions/create-filter.d.cts.map +1 -0
- package/dist/actions/create-filter.d.mts +9 -0
- package/dist/actions/create-filter.d.mts.map +1 -0
- package/dist/actions/create-filter.mjs +22 -0
- package/dist/actions/create-filter.mjs.map +1 -0
- package/dist/actions/create-rule.cjs +30 -0
- package/dist/actions/create-rule.cjs.map +1 -0
- package/dist/actions/create-rule.d.cts +9 -0
- package/dist/actions/create-rule.d.cts.map +1 -0
- package/dist/actions/create-rule.d.mts +9 -0
- package/dist/actions/create-rule.d.mts.map +1 -0
- package/dist/actions/create-rule.mjs +27 -0
- package/dist/actions/create-rule.mjs.map +1 -0
- package/dist/actions/create-snippet.cjs +31 -0
- package/dist/actions/create-snippet.cjs.map +1 -0
- package/dist/actions/create-snippet.d.cts +9 -0
- package/dist/actions/create-snippet.d.cts.map +1 -0
- package/dist/actions/create-snippet.d.mts +9 -0
- package/dist/actions/create-snippet.d.mts.map +1 -0
- package/dist/actions/create-snippet.mjs +30 -0
- package/dist/actions/create-snippet.mjs.map +1 -0
- package/dist/actions/create-ticket-reply.cjs +56 -0
- package/dist/actions/create-ticket-reply.cjs.map +1 -0
- package/dist/actions/create-ticket-reply.d.cts +9 -0
- package/dist/actions/create-ticket-reply.d.cts.map +1 -0
- package/dist/actions/create-ticket-reply.d.mts +9 -0
- package/dist/actions/create-ticket-reply.d.mts.map +1 -0
- package/dist/actions/create-ticket-reply.mjs +55 -0
- package/dist/actions/create-ticket-reply.mjs.map +1 -0
- package/dist/actions/create-ticket.cjs +79 -0
- package/dist/actions/create-ticket.cjs.map +1 -0
- package/dist/actions/create-ticket.d.cts +9 -0
- package/dist/actions/create-ticket.d.cts.map +1 -0
- package/dist/actions/create-ticket.d.mts +9 -0
- package/dist/actions/create-ticket.d.mts.map +1 -0
- package/dist/actions/create-ticket.mjs +78 -0
- package/dist/actions/create-ticket.mjs.map +1 -0
- package/dist/actions/create-user-or-customer-group.cjs +50 -0
- package/dist/actions/create-user-or-customer-group.cjs.map +1 -0
- package/dist/actions/create-user-or-customer-group.d.cts +9 -0
- package/dist/actions/create-user-or-customer-group.d.cts.map +1 -0
- package/dist/actions/create-user-or-customer-group.d.mts +9 -0
- package/dist/actions/create-user-or-customer-group.d.mts.map +1 -0
- package/dist/actions/create-user-or-customer-group.mjs +49 -0
- package/dist/actions/create-user-or-customer-group.mjs.map +1 -0
- package/dist/actions/delete-snippet.cjs +20 -0
- package/dist/actions/delete-snippet.cjs.map +1 -0
- package/dist/actions/delete-snippet.d.cts +9 -0
- package/dist/actions/delete-snippet.d.cts.map +1 -0
- package/dist/actions/delete-snippet.d.mts +9 -0
- package/dist/actions/delete-snippet.d.mts.map +1 -0
- package/dist/actions/delete-snippet.mjs +17 -0
- package/dist/actions/delete-snippet.mjs.map +1 -0
- package/dist/actions/delete-ticket.cjs +20 -0
- package/dist/actions/delete-ticket.cjs.map +1 -0
- package/dist/actions/delete-ticket.d.cts +9 -0
- package/dist/actions/delete-ticket.d.cts.map +1 -0
- package/dist/actions/delete-ticket.d.mts +9 -0
- package/dist/actions/delete-ticket.d.mts.map +1 -0
- package/dist/actions/delete-ticket.mjs +17 -0
- package/dist/actions/delete-ticket.mjs.map +1 -0
- package/dist/actions/fetch-emails.cjs +28 -0
- package/dist/actions/fetch-emails.cjs.map +1 -0
- package/dist/actions/fetch-emails.d.cts +9 -0
- package/dist/actions/fetch-emails.d.cts.map +1 -0
- package/dist/actions/fetch-emails.d.mts +9 -0
- package/dist/actions/fetch-emails.d.mts.map +1 -0
- package/dist/actions/fetch-emails.mjs +27 -0
- package/dist/actions/fetch-emails.mjs.map +1 -0
- package/dist/actions/fetch-labels.cjs +21 -0
- package/dist/actions/fetch-labels.cjs.map +1 -0
- package/dist/actions/fetch-labels.d.cts +9 -0
- package/dist/actions/fetch-labels.d.cts.map +1 -0
- package/dist/actions/fetch-labels.d.mts +9 -0
- package/dist/actions/fetch-labels.d.mts.map +1 -0
- package/dist/actions/fetch-labels.mjs +20 -0
- package/dist/actions/fetch-labels.mjs.map +1 -0
- package/dist/actions/fetch-snippets.cjs +33 -0
- package/dist/actions/fetch-snippets.cjs.map +1 -0
- package/dist/actions/fetch-snippets.d.cts +9 -0
- package/dist/actions/fetch-snippets.d.cts.map +1 -0
- package/dist/actions/fetch-snippets.d.mts +9 -0
- package/dist/actions/fetch-snippets.d.mts.map +1 -0
- package/dist/actions/fetch-snippets.mjs +32 -0
- package/dist/actions/fetch-snippets.mjs.map +1 -0
- package/dist/actions/fetch-teams.cjs +23 -0
- package/dist/actions/fetch-teams.cjs.map +1 -0
- package/dist/actions/fetch-teams.d.cts +9 -0
- package/dist/actions/fetch-teams.d.cts.map +1 -0
- package/dist/actions/fetch-teams.d.mts +9 -0
- package/dist/actions/fetch-teams.d.mts.map +1 -0
- package/dist/actions/fetch-teams.mjs +22 -0
- package/dist/actions/fetch-teams.mjs.map +1 -0
- package/dist/actions/get-avg-first-response-time-report.cjs +31 -0
- package/dist/actions/get-avg-first-response-time-report.cjs.map +1 -0
- package/dist/actions/get-avg-first-response-time-report.d.cts +9 -0
- package/dist/actions/get-avg-first-response-time-report.d.cts.map +1 -0
- package/dist/actions/get-avg-first-response-time-report.d.mts +9 -0
- package/dist/actions/get-avg-first-response-time-report.d.mts.map +1 -0
- package/dist/actions/get-avg-first-response-time-report.mjs +30 -0
- package/dist/actions/get-avg-first-response-time-report.mjs.map +1 -0
- package/dist/actions/get-replies-count-report.cjs +25 -0
- package/dist/actions/get-replies-count-report.cjs.map +1 -0
- package/dist/actions/get-replies-count-report.d.cts +9 -0
- package/dist/actions/get-replies-count-report.d.cts.map +1 -0
- package/dist/actions/get-replies-count-report.d.mts +9 -0
- package/dist/actions/get-replies-count-report.d.mts.map +1 -0
- package/dist/actions/get-replies-count-report.mjs +24 -0
- package/dist/actions/get-replies-count-report.mjs.map +1 -0
- package/dist/actions/get-ticket.cjs +86 -0
- package/dist/actions/get-ticket.cjs.map +1 -0
- package/dist/actions/get-ticket.d.cts +9 -0
- package/dist/actions/get-ticket.d.cts.map +1 -0
- package/dist/actions/get-ticket.d.mts +9 -0
- package/dist/actions/get-ticket.d.mts.map +1 -0
- package/dist/actions/get-ticket.mjs +85 -0
- package/dist/actions/get-ticket.mjs.map +1 -0
- package/dist/actions/get-tickets-count-report.cjs +31 -0
- package/dist/actions/get-tickets-count-report.cjs.map +1 -0
- package/dist/actions/get-tickets-count-report.d.cts +9 -0
- package/dist/actions/get-tickets-count-report.d.cts.map +1 -0
- package/dist/actions/get-tickets-count-report.d.mts +9 -0
- package/dist/actions/get-tickets-count-report.d.mts.map +1 -0
- package/dist/actions/get-tickets-count-report.mjs +30 -0
- package/dist/actions/get-tickets-count-report.mjs.map +1 -0
- package/dist/actions/index.cjs +83 -0
- package/dist/actions/index.d.cts +42 -0
- package/dist/actions/index.d.mts +42 -0
- package/dist/actions/index.mjs +42 -0
- package/dist/actions/list-ticket-comments.cjs +50 -0
- package/dist/actions/list-ticket-comments.cjs.map +1 -0
- package/dist/actions/list-ticket-comments.d.cts +9 -0
- package/dist/actions/list-ticket-comments.d.cts.map +1 -0
- package/dist/actions/list-ticket-comments.d.mts +9 -0
- package/dist/actions/list-ticket-comments.d.mts.map +1 -0
- package/dist/actions/list-ticket-comments.mjs +49 -0
- package/dist/actions/list-ticket-comments.mjs.map +1 -0
- package/dist/actions/list-ticket-replies.cjs +49 -0
- package/dist/actions/list-ticket-replies.cjs.map +1 -0
- package/dist/actions/list-ticket-replies.d.cts +9 -0
- package/dist/actions/list-ticket-replies.d.cts.map +1 -0
- package/dist/actions/list-ticket-replies.d.mts +9 -0
- package/dist/actions/list-ticket-replies.d.mts.map +1 -0
- package/dist/actions/list-ticket-replies.mjs +48 -0
- package/dist/actions/list-ticket-replies.mjs.map +1 -0
- package/dist/actions/list-tickets.cjs +75 -0
- package/dist/actions/list-tickets.cjs.map +1 -0
- package/dist/actions/list-tickets.d.cts +9 -0
- package/dist/actions/list-tickets.d.cts.map +1 -0
- package/dist/actions/list-tickets.d.mts +9 -0
- package/dist/actions/list-tickets.d.mts.map +1 -0
- package/dist/actions/list-tickets.mjs +74 -0
- package/dist/actions/list-tickets.mjs.map +1 -0
- package/dist/actions/list-users.cjs +51 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +50 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/mark-ticket-as-answered.cjs +23 -0
- package/dist/actions/mark-ticket-as-answered.cjs.map +1 -0
- package/dist/actions/mark-ticket-as-answered.d.cts +9 -0
- package/dist/actions/mark-ticket-as-answered.d.cts.map +1 -0
- package/dist/actions/mark-ticket-as-answered.d.mts +9 -0
- package/dist/actions/mark-ticket-as-answered.d.mts.map +1 -0
- package/dist/actions/mark-ticket-as-answered.mjs +20 -0
- package/dist/actions/mark-ticket-as-answered.mjs.map +1 -0
- package/dist/actions/mark-ticket-as-spam.cjs +24 -0
- package/dist/actions/mark-ticket-as-spam.cjs.map +1 -0
- package/dist/actions/mark-ticket-as-spam.d.cts +9 -0
- package/dist/actions/mark-ticket-as-spam.d.cts.map +1 -0
- package/dist/actions/mark-ticket-as-spam.d.mts +9 -0
- package/dist/actions/mark-ticket-as-spam.d.mts.map +1 -0
- package/dist/actions/mark-ticket-as-spam.mjs +21 -0
- package/dist/actions/mark-ticket-as-spam.mjs.map +1 -0
- package/dist/actions/mark-ticket-as-unanswered.cjs +23 -0
- package/dist/actions/mark-ticket-as-unanswered.cjs.map +1 -0
- package/dist/actions/mark-ticket-as-unanswered.d.cts +9 -0
- package/dist/actions/mark-ticket-as-unanswered.d.cts.map +1 -0
- package/dist/actions/mark-ticket-as-unanswered.d.mts +9 -0
- package/dist/actions/mark-ticket-as-unanswered.d.mts.map +1 -0
- package/dist/actions/mark-ticket-as-unanswered.mjs +20 -0
- package/dist/actions/mark-ticket-as-unanswered.mjs.map +1 -0
- package/dist/actions/remove-label-from-ticket.cjs +24 -0
- package/dist/actions/remove-label-from-ticket.cjs.map +1 -0
- package/dist/actions/remove-label-from-ticket.d.cts +9 -0
- package/dist/actions/remove-label-from-ticket.d.cts.map +1 -0
- package/dist/actions/remove-label-from-ticket.d.mts +9 -0
- package/dist/actions/remove-label-from-ticket.d.mts.map +1 -0
- package/dist/actions/remove-label-from-ticket.mjs +21 -0
- package/dist/actions/remove-label-from-ticket.mjs.map +1 -0
- package/dist/actions/search-tickets.cjs +80 -0
- package/dist/actions/search-tickets.cjs.map +1 -0
- package/dist/actions/search-tickets.d.cts +9 -0
- package/dist/actions/search-tickets.d.cts.map +1 -0
- package/dist/actions/search-tickets.d.mts +9 -0
- package/dist/actions/search-tickets.d.mts.map +1 -0
- package/dist/actions/search-tickets.mjs +79 -0
- package/dist/actions/search-tickets.mjs.map +1 -0
- package/dist/actions/show-ticket-reply.cjs +47 -0
- package/dist/actions/show-ticket-reply.cjs.map +1 -0
- package/dist/actions/show-ticket-reply.d.cts +9 -0
- package/dist/actions/show-ticket-reply.d.cts.map +1 -0
- package/dist/actions/show-ticket-reply.d.mts +9 -0
- package/dist/actions/show-ticket-reply.d.mts.map +1 -0
- package/dist/actions/show-ticket-reply.mjs +46 -0
- package/dist/actions/show-ticket-reply.mjs.map +1 -0
- package/dist/actions/show-user-or-customer-group.cjs +47 -0
- package/dist/actions/show-user-or-customer-group.cjs.map +1 -0
- package/dist/actions/show-user-or-customer-group.d.cts +9 -0
- package/dist/actions/show-user-or-customer-group.d.cts.map +1 -0
- package/dist/actions/show-user-or-customer-group.d.mts +9 -0
- package/dist/actions/show-user-or-customer-group.d.mts.map +1 -0
- package/dist/actions/show-user-or-customer-group.mjs +46 -0
- package/dist/actions/show-user-or-customer-group.mjs.map +1 -0
- package/dist/actions/trash-ticket.cjs +26 -0
- package/dist/actions/trash-ticket.cjs.map +1 -0
- package/dist/actions/trash-ticket.d.cts +9 -0
- package/dist/actions/trash-ticket.d.cts.map +1 -0
- package/dist/actions/trash-ticket.d.mts +9 -0
- package/dist/actions/trash-ticket.d.mts.map +1 -0
- package/dist/actions/trash-ticket.mjs +25 -0
- package/dist/actions/trash-ticket.mjs.map +1 -0
- package/dist/actions/unarchive-ticket.cjs +20 -0
- package/dist/actions/unarchive-ticket.cjs.map +1 -0
- package/dist/actions/unarchive-ticket.d.cts +9 -0
- package/dist/actions/unarchive-ticket.d.cts.map +1 -0
- package/dist/actions/unarchive-ticket.d.mts +9 -0
- package/dist/actions/unarchive-ticket.d.mts.map +1 -0
- package/dist/actions/unarchive-ticket.mjs +17 -0
- package/dist/actions/unarchive-ticket.mjs.map +1 -0
- package/dist/actions/unassign-ticket-from-team.cjs +54 -0
- package/dist/actions/unassign-ticket-from-team.cjs.map +1 -0
- package/dist/actions/unassign-ticket-from-team.d.cts +9 -0
- package/dist/actions/unassign-ticket-from-team.d.cts.map +1 -0
- package/dist/actions/unassign-ticket-from-team.d.mts +9 -0
- package/dist/actions/unassign-ticket-from-team.d.mts.map +1 -0
- package/dist/actions/unassign-ticket-from-team.mjs +53 -0
- package/dist/actions/unassign-ticket-from-team.mjs.map +1 -0
- package/dist/actions/unassign-ticket-from-user.cjs +51 -0
- package/dist/actions/unassign-ticket-from-user.cjs.map +1 -0
- package/dist/actions/unassign-ticket-from-user.d.cts +9 -0
- package/dist/actions/unassign-ticket-from-user.d.cts.map +1 -0
- package/dist/actions/unassign-ticket-from-user.d.mts +9 -0
- package/dist/actions/unassign-ticket-from-user.d.mts.map +1 -0
- package/dist/actions/unassign-ticket-from-user.mjs +50 -0
- package/dist/actions/unassign-ticket-from-user.mjs.map +1 -0
- package/dist/actions/unmark-ticket-as-spam.cjs +24 -0
- package/dist/actions/unmark-ticket-as-spam.cjs.map +1 -0
- package/dist/actions/unmark-ticket-as-spam.d.cts +9 -0
- package/dist/actions/unmark-ticket-as-spam.d.cts.map +1 -0
- package/dist/actions/unmark-ticket-as-spam.d.mts +9 -0
- package/dist/actions/unmark-ticket-as-spam.d.mts.map +1 -0
- package/dist/actions/unmark-ticket-as-spam.mjs +21 -0
- package/dist/actions/unmark-ticket-as-spam.mjs.map +1 -0
- package/dist/actions/untrash-ticket.cjs +27 -0
- package/dist/actions/untrash-ticket.cjs.map +1 -0
- package/dist/actions/untrash-ticket.d.cts +9 -0
- package/dist/actions/untrash-ticket.d.cts.map +1 -0
- package/dist/actions/untrash-ticket.d.mts +9 -0
- package/dist/actions/untrash-ticket.d.mts.map +1 -0
- package/dist/actions/untrash-ticket.mjs +26 -0
- package/dist/actions/untrash-ticket.mjs.map +1 -0
- package/dist/actions/update-snippet.cjs +34 -0
- package/dist/actions/update-snippet.cjs.map +1 -0
- package/dist/actions/update-snippet.d.cts +9 -0
- package/dist/actions/update-snippet.d.cts.map +1 -0
- package/dist/actions/update-snippet.d.mts +9 -0
- package/dist/actions/update-snippet.d.mts.map +1 -0
- package/dist/actions/update-snippet.mjs +33 -0
- package/dist/actions/update-snippet.mjs.map +1 -0
- package/dist/actions/update-user.cjs +51 -0
- package/dist/actions/update-user.cjs.map +1 -0
- package/dist/actions/update-user.d.cts +9 -0
- package/dist/actions/update-user.d.cts.map +1 -0
- package/dist/actions/update-user.d.mts +9 -0
- package/dist/actions/update-user.d.mts.map +1 -0
- package/dist/actions/update-user.mjs +50 -0
- package/dist/actions/update-user.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 +88 -0
- package/dist/index.d.cts +44 -0
- package/dist/index.d.mts +44 -0
- package/dist/index.mjs +45 -0
- package/package.json +49 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/unassign-ticket-from-user.ts
|
|
4
|
+
const SupportbeeUnassignTicketFromUserInput = zod.z.object({ ticket_id: zod.z.number().int().describe("ID of the ticket to remove the assigned user from") }).describe("Request model for un-assigning a ticket from its assigned user.");
|
|
5
|
+
const SupportbeeUnassignTicketFromUser_RequesterSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("ID of the ticket requester").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("Name of the ticket requester").nullable().optional(),
|
|
8
|
+
email: zod.z.string().describe("Email address of the ticket requester").nullable().optional()
|
|
9
|
+
}).describe("Model representing ticket requester information.");
|
|
10
|
+
const SupportbeeUnassignTicketFromUser_TeamSchema = zod.z.object({
|
|
11
|
+
id: zod.z.number().int().describe("ID of the assigned team"),
|
|
12
|
+
name: zod.z.string().describe("Name of the assigned team").nullable().optional()
|
|
13
|
+
}).describe("Model representing assigned team information.");
|
|
14
|
+
const SupportbeeUnassignTicketFromUser_AgentSchema = zod.z.object({
|
|
15
|
+
id: zod.z.number().int().describe("ID of the assigned agent/user"),
|
|
16
|
+
name: zod.z.string().describe("Name of the assigned agent/user").nullable().optional(),
|
|
17
|
+
email: zod.z.string().describe("Email of the assigned agent/user").nullable().optional()
|
|
18
|
+
}).describe("Model representing assigned agent/user information.");
|
|
19
|
+
const SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema = zod.z.object({
|
|
20
|
+
team: SupportbeeUnassignTicketFromUser_TeamSchema.nullable().optional(),
|
|
21
|
+
user: SupportbeeUnassignTicketFromUser_AgentSchema.nullable().optional()
|
|
22
|
+
}).describe("Model representing current assignee information.");
|
|
23
|
+
const SupportbeeUnassignTicketFromUserOutput = zod.z.object({
|
|
24
|
+
cc: zod.z.array(zod.z.string()).describe("List of CC email addresses").nullable().optional(),
|
|
25
|
+
id: zod.z.number().int().describe("Unique ID of the ticket"),
|
|
26
|
+
spam: zod.z.boolean().describe("Indicates if the ticket is marked as spam").nullable().optional(),
|
|
27
|
+
trash: zod.z.boolean().describe("Indicates if the ticket is trashed").nullable().optional(),
|
|
28
|
+
labels: zod.z.array(zod.z.unknown()).describe("Labels associated with the ticket").nullable().optional(),
|
|
29
|
+
starred: zod.z.boolean().describe("Indicates if the ticket is starred").nullable().optional(),
|
|
30
|
+
subject: zod.z.string().describe("Subject of the ticket").nullable().optional(),
|
|
31
|
+
summary: zod.z.string().describe("Short summary of the ticket content").nullable().optional(),
|
|
32
|
+
archived: zod.z.boolean().describe("Indicates if ticket is archived").nullable().optional(),
|
|
33
|
+
requester: SupportbeeUnassignTicketFromUser_RequesterSchema.nullable().optional(),
|
|
34
|
+
created_at: zod.z.string().describe("Ticket creation timestamp (ISO 8601)").nullable().optional(),
|
|
35
|
+
unanswered: zod.z.boolean().describe("Indicates if ticket is unanswered").nullable().optional(),
|
|
36
|
+
replies_count: zod.z.number().int().describe("Number of replies on the ticket").nullable().optional(),
|
|
37
|
+
comments_count: zod.z.number().int().describe("Number of comments on the ticket").nullable().optional(),
|
|
38
|
+
current_assignee: SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema.nullable().optional(),
|
|
39
|
+
last_activity_at: zod.z.string().describe("Last activity timestamp (ISO 8601)").nullable().optional()
|
|
40
|
+
}).passthrough().describe("Model representing a ticket in SupportBee after user unassignment.");
|
|
41
|
+
const supportbeeUnassignTicketFromUser = require_action.action("SUPPORTBEE_UNASSIGN_TICKET_FROM_USER", {
|
|
42
|
+
slug: "supportbee-unassign-ticket-from-user",
|
|
43
|
+
name: "Unassign User From Ticket",
|
|
44
|
+
description: "Tool to un-assign a ticket from its assigned user/agent. Use when you need to remove the current user ownership before reassigning to a different user or closing the ticket.",
|
|
45
|
+
input: SupportbeeUnassignTicketFromUserInput,
|
|
46
|
+
output: SupportbeeUnassignTicketFromUserOutput
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
exports.supportbeeUnassignTicketFromUser = supportbeeUnassignTicketFromUser;
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=unassign-ticket-from-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassign-ticket-from-user.cjs","names":["z","action"],"sources":["../../src/actions/unassign-ticket-from-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUnassignTicketFromUserInput: z.ZodTypeAny = z.object({\n ticket_id: z.number().int().describe(\"ID of the ticket to remove the assigned user from\"),\n}).describe(\"Request model for un-assigning a ticket from its assigned user.\");\nconst SupportbeeUnassignTicketFromUser_RequesterSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the ticket requester\").nullable().optional(),\n name: z.string().describe(\"Name of the ticket requester\").nullable().optional(),\n email: z.string().describe(\"Email address of the ticket requester\").nullable().optional(),\n}).describe(\"Model representing ticket requester information.\");\nconst SupportbeeUnassignTicketFromUser_TeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the assigned team\"),\n name: z.string().describe(\"Name of the assigned team\").nullable().optional(),\n}).describe(\"Model representing assigned team information.\");\nconst SupportbeeUnassignTicketFromUser_AgentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the assigned agent/user\"),\n name: z.string().describe(\"Name of the assigned agent/user\").nullable().optional(),\n email: z.string().describe(\"Email of the assigned agent/user\").nullable().optional(),\n}).describe(\"Model representing assigned agent/user information.\");\nconst SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema: z.ZodTypeAny = z.object({\n team: SupportbeeUnassignTicketFromUser_TeamSchema.nullable().optional(),\n user: SupportbeeUnassignTicketFromUser_AgentSchema.nullable().optional(),\n}).describe(\"Model representing current assignee information.\");\nexport const SupportbeeUnassignTicketFromUserOutput: z.ZodTypeAny = z.object({\n cc: z.array(z.string()).describe(\"List of CC email addresses\").nullable().optional(),\n id: z.number().int().describe(\"Unique ID of the ticket\"),\n spam: z.boolean().describe(\"Indicates if the ticket is marked as spam\").nullable().optional(),\n trash: z.boolean().describe(\"Indicates if the ticket is trashed\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels associated with the ticket\").nullable().optional(),\n starred: z.boolean().describe(\"Indicates if the ticket is starred\").nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket\").nullable().optional(),\n summary: z.string().describe(\"Short summary of the ticket content\").nullable().optional(),\n archived: z.boolean().describe(\"Indicates if ticket is archived\").nullable().optional(),\n requester: SupportbeeUnassignTicketFromUser_RequesterSchema.nullable().optional(),\n created_at: z.string().describe(\"Ticket creation timestamp (ISO 8601)\").nullable().optional(),\n unanswered: z.boolean().describe(\"Indicates if ticket is unanswered\").nullable().optional(),\n replies_count: z.number().int().describe(\"Number of replies on the ticket\").nullable().optional(),\n comments_count: z.number().int().describe(\"Number of comments on the ticket\").nullable().optional(),\n current_assignee: SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema.nullable().optional(),\n last_activity_at: z.string().describe(\"Last activity timestamp (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a ticket in SupportBee after user unassignment.\");\n\nexport const supportbeeUnassignTicketFromUser = action(\"SUPPORTBEE_UNASSIGN_TICKET_FROM_USER\", {\n slug: \"supportbee-unassign-ticket-from-user\",\n name: \"Unassign User From Ticket\",\n description: \"Tool to un-assign a ticket from its assigned user/agent. Use when you need to remove the current user ownership before reassigning to a different user or closing the ticket.\",\n input: SupportbeeUnassignTicketFromUserInput,\n output: SupportbeeUnassignTicketFromUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EAC1F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BA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Input: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUnassignTicketFromUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUnassignTicketFromUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUnassignTicketFromUser };
|
|
9
|
+
//# sourceMappingURL=unassign-ticket-from-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassign-ticket-from-user.d.cts","names":[],"sources":["../../src/actions/unassign-ticket-from-user.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEwB;AAAA,cAmBjE,sCAAA,EAAwC,CAAA,CAAE,UAiBwC;AAAA,cAElF,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/unassign-ticket-from-user.d.ts
|
|
4
|
+
declare const SupportbeeUnassignTicketFromUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUnassignTicketFromUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUnassignTicketFromUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUnassignTicketFromUser };
|
|
9
|
+
//# sourceMappingURL=unassign-ticket-from-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassign-ticket-from-user.d.mts","names":[],"sources":["../../src/actions/unassign-ticket-from-user.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEwB;AAAA,cAmBjE,sCAAA,EAAwC,CAAA,CAAE,UAiBwC;AAAA,cAElF,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/unassign-ticket-from-user.ts
|
|
4
|
+
const SupportbeeUnassignTicketFromUserInput = z.object({ ticket_id: z.number().int().describe("ID of the ticket to remove the assigned user from") }).describe("Request model for un-assigning a ticket from its assigned user.");
|
|
5
|
+
const SupportbeeUnassignTicketFromUser_RequesterSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("ID of the ticket requester").nullable().optional(),
|
|
7
|
+
name: z.string().describe("Name of the ticket requester").nullable().optional(),
|
|
8
|
+
email: z.string().describe("Email address of the ticket requester").nullable().optional()
|
|
9
|
+
}).describe("Model representing ticket requester information.");
|
|
10
|
+
const SupportbeeUnassignTicketFromUser_TeamSchema = z.object({
|
|
11
|
+
id: z.number().int().describe("ID of the assigned team"),
|
|
12
|
+
name: z.string().describe("Name of the assigned team").nullable().optional()
|
|
13
|
+
}).describe("Model representing assigned team information.");
|
|
14
|
+
const SupportbeeUnassignTicketFromUser_AgentSchema = z.object({
|
|
15
|
+
id: z.number().int().describe("ID of the assigned agent/user"),
|
|
16
|
+
name: z.string().describe("Name of the assigned agent/user").nullable().optional(),
|
|
17
|
+
email: z.string().describe("Email of the assigned agent/user").nullable().optional()
|
|
18
|
+
}).describe("Model representing assigned agent/user information.");
|
|
19
|
+
const SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema = z.object({
|
|
20
|
+
team: SupportbeeUnassignTicketFromUser_TeamSchema.nullable().optional(),
|
|
21
|
+
user: SupportbeeUnassignTicketFromUser_AgentSchema.nullable().optional()
|
|
22
|
+
}).describe("Model representing current assignee information.");
|
|
23
|
+
const supportbeeUnassignTicketFromUser = action("SUPPORTBEE_UNASSIGN_TICKET_FROM_USER", {
|
|
24
|
+
slug: "supportbee-unassign-ticket-from-user",
|
|
25
|
+
name: "Unassign User From Ticket",
|
|
26
|
+
description: "Tool to un-assign a ticket from its assigned user/agent. Use when you need to remove the current user ownership before reassigning to a different user or closing the ticket.",
|
|
27
|
+
input: SupportbeeUnassignTicketFromUserInput,
|
|
28
|
+
output: z.object({
|
|
29
|
+
cc: z.array(z.string()).describe("List of CC email addresses").nullable().optional(),
|
|
30
|
+
id: z.number().int().describe("Unique ID of the ticket"),
|
|
31
|
+
spam: z.boolean().describe("Indicates if the ticket is marked as spam").nullable().optional(),
|
|
32
|
+
trash: z.boolean().describe("Indicates if the ticket is trashed").nullable().optional(),
|
|
33
|
+
labels: z.array(z.unknown()).describe("Labels associated with the ticket").nullable().optional(),
|
|
34
|
+
starred: z.boolean().describe("Indicates if the ticket is starred").nullable().optional(),
|
|
35
|
+
subject: z.string().describe("Subject of the ticket").nullable().optional(),
|
|
36
|
+
summary: z.string().describe("Short summary of the ticket content").nullable().optional(),
|
|
37
|
+
archived: z.boolean().describe("Indicates if ticket is archived").nullable().optional(),
|
|
38
|
+
requester: SupportbeeUnassignTicketFromUser_RequesterSchema.nullable().optional(),
|
|
39
|
+
created_at: z.string().describe("Ticket creation timestamp (ISO 8601)").nullable().optional(),
|
|
40
|
+
unanswered: z.boolean().describe("Indicates if ticket is unanswered").nullable().optional(),
|
|
41
|
+
replies_count: z.number().int().describe("Number of replies on the ticket").nullable().optional(),
|
|
42
|
+
comments_count: z.number().int().describe("Number of comments on the ticket").nullable().optional(),
|
|
43
|
+
current_assignee: SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema.nullable().optional(),
|
|
44
|
+
last_activity_at: z.string().describe("Last activity timestamp (ISO 8601)").nullable().optional()
|
|
45
|
+
}).passthrough().describe("Model representing a ticket in SupportBee after user unassignment.")
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { supportbeeUnassignTicketFromUser };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=unassign-ticket-from-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unassign-ticket-from-user.mjs","names":[],"sources":["../../src/actions/unassign-ticket-from-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUnassignTicketFromUserInput: z.ZodTypeAny = z.object({\n ticket_id: z.number().int().describe(\"ID of the ticket to remove the assigned user from\"),\n}).describe(\"Request model for un-assigning a ticket from its assigned user.\");\nconst SupportbeeUnassignTicketFromUser_RequesterSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the ticket requester\").nullable().optional(),\n name: z.string().describe(\"Name of the ticket requester\").nullable().optional(),\n email: z.string().describe(\"Email address of the ticket requester\").nullable().optional(),\n}).describe(\"Model representing ticket requester information.\");\nconst SupportbeeUnassignTicketFromUser_TeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the assigned team\"),\n name: z.string().describe(\"Name of the assigned team\").nullable().optional(),\n}).describe(\"Model representing assigned team information.\");\nconst SupportbeeUnassignTicketFromUser_AgentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the assigned agent/user\"),\n name: z.string().describe(\"Name of the assigned agent/user\").nullable().optional(),\n email: z.string().describe(\"Email of the assigned agent/user\").nullable().optional(),\n}).describe(\"Model representing assigned agent/user information.\");\nconst SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema: z.ZodTypeAny = z.object({\n team: SupportbeeUnassignTicketFromUser_TeamSchema.nullable().optional(),\n user: SupportbeeUnassignTicketFromUser_AgentSchema.nullable().optional(),\n}).describe(\"Model representing current assignee information.\");\nexport const SupportbeeUnassignTicketFromUserOutput: z.ZodTypeAny = z.object({\n cc: z.array(z.string()).describe(\"List of CC email addresses\").nullable().optional(),\n id: z.number().int().describe(\"Unique ID of the ticket\"),\n spam: z.boolean().describe(\"Indicates if the ticket is marked as spam\").nullable().optional(),\n trash: z.boolean().describe(\"Indicates if the ticket is trashed\").nullable().optional(),\n labels: z.array(z.unknown()).describe(\"Labels associated with the ticket\").nullable().optional(),\n starred: z.boolean().describe(\"Indicates if the ticket is starred\").nullable().optional(),\n subject: z.string().describe(\"Subject of the ticket\").nullable().optional(),\n summary: z.string().describe(\"Short summary of the ticket content\").nullable().optional(),\n archived: z.boolean().describe(\"Indicates if ticket is archived\").nullable().optional(),\n requester: SupportbeeUnassignTicketFromUser_RequesterSchema.nullable().optional(),\n created_at: z.string().describe(\"Ticket creation timestamp (ISO 8601)\").nullable().optional(),\n unanswered: z.boolean().describe(\"Indicates if ticket is unanswered\").nullable().optional(),\n replies_count: z.number().int().describe(\"Number of replies on the ticket\").nullable().optional(),\n comments_count: z.number().int().describe(\"Number of comments on the ticket\").nullable().optional(),\n current_assignee: SupportbeeUnassignTicketFromUser_CurrentAssigneeSchema.nullable().optional(),\n last_activity_at: z.string().describe(\"Last activity timestamp (ISO 8601)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a ticket in SupportBee after user unassignment.\");\n\nexport const supportbeeUnassignTicketFromUser = action(\"SUPPORTBEE_UNASSIGN_TICKET_FROM_USER\", {\n slug: \"supportbee-unassign-ticket-from-user\",\n name: \"Unassign User From Ticket\",\n description: \"Tool to un-assign a ticket from its assigned user/agent. Use when you need to remove the current user ownership before reassigning to a different user or closing the ticket.\",\n input: SupportbeeUnassignTicketFromUserInput,\n output: SupportbeeUnassignTicketFromUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO,EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EAC1F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EA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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/unmark-ticket-as-spam.ts
|
|
4
|
+
const SupportbeeUnmarkTicketAsSpamInput = zod.z.object({ id: zod.z.string().describe("The numeric ID of the SupportBee ticket to unmark as spam. Can be provided as string or integer.") }).describe("Request parameters for unmarking a ticket as not spam in SupportBee.");
|
|
5
|
+
const SupportbeeUnmarkTicketAsSpamOutput = zod.z.object({
|
|
6
|
+
id: zod.z.union([zod.z.number().int(), zod.z.string()]),
|
|
7
|
+
spam: zod.z.boolean().describe("Indicates whether the ticket is marked as spam (should be False after this action)").nullable().optional(),
|
|
8
|
+
status: zod.z.string().describe("Current ticket status (e.g., 'open', 'answered', 'closed')").nullable().optional(),
|
|
9
|
+
content: zod.z.string().describe("Body content or message of the ticket").nullable().optional(),
|
|
10
|
+
subject: zod.z.string().describe("Subject line of the ticket").nullable().optional(),
|
|
11
|
+
created_at: zod.z.string().describe("Timestamp when the ticket was created (ISO 8601 format)").nullable().optional(),
|
|
12
|
+
updated_at: zod.z.string().describe("Timestamp when the ticket was last updated (ISO 8601 format)").nullable().optional()
|
|
13
|
+
}).describe("A SupportBee ticket object returned after unmarking as spam.");
|
|
14
|
+
const supportbeeUnmarkTicketAsSpam = require_action.action("SUPPORTBEE_UNMARK_TICKET_AS_SPAM", {
|
|
15
|
+
slug: "supportbee-unmark-ticket-as-spam",
|
|
16
|
+
name: "Unmark SupportBee Ticket as Spam",
|
|
17
|
+
description: "Tool to unmark a SupportBee ticket as spam. Use when a ticket was incorrectly flagged as spam.",
|
|
18
|
+
input: SupportbeeUnmarkTicketAsSpamInput,
|
|
19
|
+
output: SupportbeeUnmarkTicketAsSpamOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.supportbeeUnmarkTicketAsSpam = supportbeeUnmarkTicketAsSpam;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=unmark-ticket-as-spam.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmark-ticket-as-spam.cjs","names":["z","action"],"sources":["../../src/actions/unmark-ticket-as-spam.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUnmarkTicketAsSpamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The numeric ID of the SupportBee ticket to unmark as spam. Can be provided as string or integer.\"),\n}).describe(\"Request parameters for unmarking a ticket as not spam in SupportBee.\");\nexport const SupportbeeUnmarkTicketAsSpamOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n spam: z.boolean().describe(\"Indicates whether the ticket is marked as spam (should be False after this action)\").nullable().optional(),\n status: z.string().describe(\"Current ticket status (e.g., 'open', 'answered', 'closed')\").nullable().optional(),\n content: z.string().describe(\"Body content or message of the ticket\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the ticket\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A SupportBee ticket object returned after unmarking as spam.\");\n\nexport const supportbeeUnmarkTicketAsSpam = action(\"SUPPORTBEE_UNMARK_TICKET_AS_SPAM\", {\n slug: \"supportbee-unmark-ticket-as-spam\",\n name: \"Unmark SupportBee Ticket as Spam\",\n description: \"Tool to unmark a SupportBee ticket as spam. Use when a ticket was incorrectly flagged as spam.\",\n input: SupportbeeUnmarkTicketAsSpamInput,\n output: SupportbeeUnmarkTicketAsSpamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EAC5H,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,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/unmark-ticket-as-spam.d.ts
|
|
4
|
+
declare const SupportbeeUnmarkTicketAsSpamInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUnmarkTicketAsSpamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUnmarkTicketAsSpam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUnmarkTicketAsSpam };
|
|
9
|
+
//# sourceMappingURL=unmark-ticket-as-spam.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmark-ticket-as-spam.d.cts","names":[],"sources":["../../src/actions/unmark-ticket-as-spam.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEiC;AAAA,cACtE,kCAAA,EAAoC,CAAA,CAAE,UAQwB;AAAA,cAE9D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/unmark-ticket-as-spam.d.ts
|
|
4
|
+
declare const SupportbeeUnmarkTicketAsSpamInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUnmarkTicketAsSpamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUnmarkTicketAsSpam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUnmarkTicketAsSpam };
|
|
9
|
+
//# sourceMappingURL=unmark-ticket-as-spam.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmark-ticket-as-spam.d.mts","names":[],"sources":["../../src/actions/unmark-ticket-as-spam.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEiC;AAAA,cACtE,kCAAA,EAAoC,CAAA,CAAE,UAQwB;AAAA,cAE9D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const supportbeeUnmarkTicketAsSpam = action("SUPPORTBEE_UNMARK_TICKET_AS_SPAM", {
|
|
4
|
+
slug: "supportbee-unmark-ticket-as-spam",
|
|
5
|
+
name: "Unmark SupportBee Ticket as Spam",
|
|
6
|
+
description: "Tool to unmark a SupportBee ticket as spam. Use when a ticket was incorrectly flagged as spam.",
|
|
7
|
+
input: z.object({ id: z.string().describe("The numeric ID of the SupportBee ticket to unmark as spam. Can be provided as string or integer.") }).describe("Request parameters for unmarking a ticket as not spam in SupportBee."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.union([z.number().int(), z.string()]),
|
|
10
|
+
spam: z.boolean().describe("Indicates whether the ticket is marked as spam (should be False after this action)").nullable().optional(),
|
|
11
|
+
status: z.string().describe("Current ticket status (e.g., 'open', 'answered', 'closed')").nullable().optional(),
|
|
12
|
+
content: z.string().describe("Body content or message of the ticket").nullable().optional(),
|
|
13
|
+
subject: z.string().describe("Subject line of the ticket").nullable().optional(),
|
|
14
|
+
created_at: z.string().describe("Timestamp when the ticket was created (ISO 8601 format)").nullable().optional(),
|
|
15
|
+
updated_at: z.string().describe("Timestamp when the ticket was last updated (ISO 8601 format)").nullable().optional()
|
|
16
|
+
}).describe("A SupportBee ticket object returned after unmarking as spam.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { supportbeeUnmarkTicketAsSpam };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=unmark-ticket-as-spam.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmark-ticket-as-spam.mjs","names":[],"sources":["../../src/actions/unmark-ticket-as-spam.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUnmarkTicketAsSpamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The numeric ID of the SupportBee ticket to unmark as spam. Can be provided as string or integer.\"),\n}).describe(\"Request parameters for unmarking a ticket as not spam in SupportBee.\");\nexport const SupportbeeUnmarkTicketAsSpamOutput: z.ZodTypeAny = z.object({\n id: z.union([z.number().int(), z.string()]),\n spam: z.boolean().describe(\"Indicates whether the ticket is marked as spam (should be False after this action)\").nullable().optional(),\n status: z.string().describe(\"Current ticket status (e.g., 'open', 'answered', 'closed')\").nullable().optional(),\n content: z.string().describe(\"Body content or message of the ticket\").nullable().optional(),\n subject: z.string().describe(\"Subject line of the ticket\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the ticket was created (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the ticket was last updated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A SupportBee ticket object returned after unmarking as spam.\");\n\nexport const supportbeeUnmarkTicketAsSpam = action(\"SUPPORTBEE_UNMARK_TICKET_AS_SPAM\", {\n slug: \"supportbee-unmark-ticket-as-spam\",\n name: \"Unmark SupportBee Ticket as Spam\",\n description: \"Tool to unmark a SupportBee ticket as spam. Use when a ticket was incorrectly flagged as spam.\",\n input: SupportbeeUnmarkTicketAsSpamInput,\n output: SupportbeeUnmarkTicketAsSpamOutput,\n});\n"],"mappings":";;AAiBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6D,EAAE,OAAO,EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EAC5H,CAAC,CAAC,CAAC,SAAS,sEAeH;CACP,QAf8D,EAAE,OAAO;EACvE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC1C,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/untrash-ticket.ts
|
|
4
|
+
const SupportbeeUntrashTicketInput = zod.z.object({ id: zod.z.number().int().describe("The numeric ID of the trashed ticket to restore. The ticket must currently be in the trash.") }).describe("Request parameters for untrashing a ticket in SupportBee.");
|
|
5
|
+
const SupportbeeUntrashTicket_TicketSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique numeric ticket ID"),
|
|
7
|
+
trash: zod.z.boolean().describe("Flag indicating if ticket is in trash (should be False after untrash)").nullable().optional(),
|
|
8
|
+
content: zod.z.string().describe("Ticket body content").nullable().optional(),
|
|
9
|
+
subject: zod.z.string().describe("Ticket subject line").nullable().optional(),
|
|
10
|
+
created_at: zod.z.string().describe("Creation timestamp (ISO 8601 format)").nullable().optional(),
|
|
11
|
+
updated_at: zod.z.string().describe("Last update timestamp (ISO 8601 format)").nullable().optional()
|
|
12
|
+
}).describe("A SupportBee ticket object returned after untrashing.");
|
|
13
|
+
const SupportbeeUntrashTicketOutput = zod.z.object({
|
|
14
|
+
status: zod.z.string().describe("Operation status, e.g., 'restored'"),
|
|
15
|
+
ticket: SupportbeeUntrashTicket_TicketSchema.nullable()
|
|
16
|
+
}).describe("Response schema after successfully untrashing a ticket.");
|
|
17
|
+
const supportbeeUntrashTicket = require_action.action("SUPPORTBEE_UNTRASH_TICKET", {
|
|
18
|
+
slug: "supportbee-untrash-ticket",
|
|
19
|
+
name: "Untrash SupportBee Ticket",
|
|
20
|
+
description: "Restores a trashed SupportBee ticket back to active status. Use when you need to recover a ticket that was previously moved to trash.",
|
|
21
|
+
input: SupportbeeUntrashTicketInput,
|
|
22
|
+
output: SupportbeeUntrashTicketOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.supportbeeUntrashTicket = supportbeeUntrashTicket;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=untrash-ticket.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"untrash-ticket.cjs","names":["z","action"],"sources":["../../src/actions/untrash-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUntrashTicketInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The numeric ID of the trashed ticket to restore. The ticket must currently be in the trash.\"),\n}).describe(\"Request parameters for untrashing a ticket in SupportBee.\");\nconst SupportbeeUntrashTicket_TicketSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ticket ID\"),\n trash: z.boolean().describe(\"Flag indicating if ticket is in trash (should be False after untrash)\").nullable().optional(),\n content: z.string().describe(\"Ticket body content\").nullable().optional(),\n subject: z.string().describe(\"Ticket subject line\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A SupportBee ticket object returned after untrashing.\");\nexport const SupportbeeUntrashTicketOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status, e.g., 'restored'\"),\n ticket: SupportbeeUntrashTicket_TicketSchema.nullable(),\n}).describe(\"Response schema after successfully untrashing a ticket.\");\n\nexport const supportbeeUntrashTicket = action(\"SUPPORTBEE_UNTRASH_TICKET\", {\n slug: \"supportbee-untrash-ticket\",\n name: \"Untrash SupportBee Ticket\",\n description: \"Restores a trashed SupportBee ticket back to active status. Use when you need to recover a ticket that was previously moved to trash.\",\n input: SupportbeeUntrashTicketInput,\n output: SupportbeeUntrashTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,QAAQ,qCAAqC,SAAS;AACxD,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,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/untrash-ticket.d.ts
|
|
4
|
+
declare const SupportbeeUntrashTicketInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUntrashTicketOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUntrashTicket: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUntrashTicket };
|
|
9
|
+
//# sourceMappingURL=untrash-ticket.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"untrash-ticket.d.cts","names":[],"sources":["../../src/actions/untrash-ticket.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE2B;AAAA,cAS3D,6BAAA,EAA+B,CAAA,CAAE,UAGwB;AAAA,cAEzD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/untrash-ticket.d.ts
|
|
4
|
+
declare const SupportbeeUntrashTicketInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUntrashTicketOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUntrashTicket: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUntrashTicket };
|
|
9
|
+
//# sourceMappingURL=untrash-ticket.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"untrash-ticket.d.mts","names":[],"sources":["../../src/actions/untrash-ticket.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAE2B;AAAA,cAS3D,6BAAA,EAA+B,CAAA,CAAE,UAGwB;AAAA,cAEzD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/untrash-ticket.ts
|
|
4
|
+
const SupportbeeUntrashTicketInput = z.object({ id: z.number().int().describe("The numeric ID of the trashed ticket to restore. The ticket must currently be in the trash.") }).describe("Request parameters for untrashing a ticket in SupportBee.");
|
|
5
|
+
const SupportbeeUntrashTicket_TicketSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique numeric ticket ID"),
|
|
7
|
+
trash: z.boolean().describe("Flag indicating if ticket is in trash (should be False after untrash)").nullable().optional(),
|
|
8
|
+
content: z.string().describe("Ticket body content").nullable().optional(),
|
|
9
|
+
subject: z.string().describe("Ticket subject line").nullable().optional(),
|
|
10
|
+
created_at: z.string().describe("Creation timestamp (ISO 8601 format)").nullable().optional(),
|
|
11
|
+
updated_at: z.string().describe("Last update timestamp (ISO 8601 format)").nullable().optional()
|
|
12
|
+
}).describe("A SupportBee ticket object returned after untrashing.");
|
|
13
|
+
const supportbeeUntrashTicket = action("SUPPORTBEE_UNTRASH_TICKET", {
|
|
14
|
+
slug: "supportbee-untrash-ticket",
|
|
15
|
+
name: "Untrash SupportBee Ticket",
|
|
16
|
+
description: "Restores a trashed SupportBee ticket back to active status. Use when you need to recover a ticket that was previously moved to trash.",
|
|
17
|
+
input: SupportbeeUntrashTicketInput,
|
|
18
|
+
output: z.object({
|
|
19
|
+
status: z.string().describe("Operation status, e.g., 'restored'"),
|
|
20
|
+
ticket: SupportbeeUntrashTicket_TicketSchema.nullable()
|
|
21
|
+
}).describe("Response schema after successfully untrashing a ticket.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { supportbeeUntrashTicket };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=untrash-ticket.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"untrash-ticket.mjs","names":[],"sources":["../../src/actions/untrash-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUntrashTicketInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The numeric ID of the trashed ticket to restore. The ticket must currently be in the trash.\"),\n}).describe(\"Request parameters for untrashing a ticket in SupportBee.\");\nconst SupportbeeUntrashTicket_TicketSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ticket ID\"),\n trash: z.boolean().describe(\"Flag indicating if ticket is in trash (should be False after untrash)\").nullable().optional(),\n content: z.string().describe(\"Ticket body content\").nullable().optional(),\n subject: z.string().describe(\"Ticket subject line\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A SupportBee ticket object returned after untrashing.\");\nexport const SupportbeeUntrashTicketOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Operation status, e.g., 'restored'\"),\n ticket: SupportbeeUntrashTicket_TicketSchema.nullable(),\n}).describe(\"Response schema after successfully untrashing a ticket.\");\n\nexport const supportbeeUntrashTicket = action(\"SUPPORTBEE_UNTRASH_TICKET\", {\n slug: \"supportbee-untrash-ticket\",\n name: \"Untrash SupportBee Ticket\",\n description: \"Restores a trashed SupportBee ticket back to active status. Use when you need to recover a ticket that was previously moved to trash.\",\n input: SupportbeeUntrashTicketInput,\n output: SupportbeeUntrashTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6FAA6F,EAC7H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAMnE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAChE,QAAQ,qCAAqC,SAAS;CACxD,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-snippet.ts
|
|
4
|
+
const SupportbeeUpdateSnippetInput = zod.z.object({
|
|
5
|
+
id: zod.z.string().describe("The unique ID of the snippet to update. You can obtain snippet IDs by calling the 'Fetch Snippets' action first."),
|
|
6
|
+
name: zod.z.string().describe("The name/title for the snippet. This will be displayed when selecting snippets."),
|
|
7
|
+
tags: zod.z.string().describe("Comma-separated tags to categorize the snippet (e.g., 'refund, policy, updated').").optional(),
|
|
8
|
+
content: zod.z.object({
|
|
9
|
+
html: zod.z.string().describe("HTML version of the snippet content. Either text or html must be provided. Supports basic HTML formatting like <b>, <i>, <a>, <br>, <p>, <em>, <strong>, etc.").optional(),
|
|
10
|
+
text: zod.z.string().describe("Plain text version of the snippet content. Either text or html must be provided.").optional()
|
|
11
|
+
}).describe("The content of the snippet. Must include at least text or html.")
|
|
12
|
+
}).describe("Request model for updating a snippet in SupportBee.");
|
|
13
|
+
const SupportbeeUpdateSnippet_SnippetContentSchema = zod.z.object({
|
|
14
|
+
html: zod.z.string().describe("HTML formatted content of the snippet."),
|
|
15
|
+
text: zod.z.string().describe("Plain text content of the snippet.")
|
|
16
|
+
}).describe("Model representing the content structure of a snippet in the response.");
|
|
17
|
+
const SupportbeeUpdateSnippetOutput = zod.z.object({
|
|
18
|
+
id: zod.z.number().int().describe("The unique ID of the snippet."),
|
|
19
|
+
name: zod.z.string().describe("The name/title of the snippet."),
|
|
20
|
+
tags: zod.z.string().describe("Comma-separated tags associated with the snippet.").nullable().optional(),
|
|
21
|
+
content: SupportbeeUpdateSnippet_SnippetContentSchema.nullable(),
|
|
22
|
+
created_at: zod.z.string().describe("Timestamp when the snippet was created (ISO 8601 format).")
|
|
23
|
+
}).describe("Response model for an updated snippet.");
|
|
24
|
+
const supportbeeUpdateSnippet = require_action.action("SUPPORTBEE_UPDATE_SNIPPET", {
|
|
25
|
+
slug: "supportbee-update-snippet",
|
|
26
|
+
name: "Update Snippet",
|
|
27
|
+
description: "Update an existing snippet (canned response) in SupportBee. Use this to modify the name, content, or tags of a snippet. To find snippet IDs, use the 'Fetch Snippets' action first.",
|
|
28
|
+
input: SupportbeeUpdateSnippetInput,
|
|
29
|
+
output: SupportbeeUpdateSnippetOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.supportbeeUpdateSnippet = supportbeeUpdateSnippet;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=update-snippet.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-snippet.cjs","names":["z","action"],"sources":["../../src/actions/update-snippet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUpdateSnippetInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the snippet to update. You can obtain snippet IDs by calling the 'Fetch Snippets' action first.\"),\n name: z.string().describe(\"The name/title for the snippet. This will be displayed when selecting snippets.\"),\n tags: z.string().describe(\"Comma-separated tags to categorize the snippet (e.g., 'refund, policy, updated').\").optional(),\n content: z.object({\n html: z.string().describe(\"HTML version of the snippet content. Either text or html must be provided. Supports basic HTML formatting like <b>, <i>, <a>, <br>, <p>, <em>, <strong>, etc.\").optional(),\n text: z.string().describe(\"Plain text version of the snippet content. Either text or html must be provided.\").optional(),\n}).describe(\"The content of the snippet. Must include at least text or html.\"),\n}).describe(\"Request model for updating a snippet in SupportBee.\");\nconst SupportbeeUpdateSnippet_SnippetContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML formatted content of the snippet.\"),\n text: z.string().describe(\"Plain text content of the snippet.\"),\n}).describe(\"Model representing the content structure of a snippet in the response.\");\nexport const SupportbeeUpdateSnippetOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique ID of the snippet.\"),\n name: z.string().describe(\"The name/title of the snippet.\"),\n tags: z.string().describe(\"Comma-separated tags associated with the snippet.\").nullable().optional(),\n content: SupportbeeUpdateSnippet_SnippetContentSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the snippet was created (ISO 8601 format).\"),\n}).describe(\"Response model for an updated snippet.\");\n\nexport const supportbeeUpdateSnippet = action(\"SUPPORTBEE_UPDATE_SNIPPET\", {\n slug: \"supportbee-update-snippet\",\n name: \"Update Snippet\",\n description: \"Update an existing snippet (canned response) in SupportBee. Use this to modify the name, content, or tags of a snippet. To find snippet IDs, use the 'Fetch Snippets' action first.\",\n input: SupportbeeUpdateSnippetInput,\n output: SupportbeeUpdateSnippetOut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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-snippet.d.ts
|
|
4
|
+
declare const SupportbeeUpdateSnippetInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUpdateSnippetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUpdateSnippet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUpdateSnippet };
|
|
9
|
+
//# sourceMappingURL=update-snippet.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-snippet.d.cts","names":[],"sources":["../../src/actions/update-snippet.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQqB;AAAA,cAKrD,6BAAA,EAA+B,CAAA,CAAE,UAMO;AAAA,cAExC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-snippet.d.ts
|
|
4
|
+
declare const SupportbeeUpdateSnippetInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUpdateSnippetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUpdateSnippet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUpdateSnippet };
|
|
9
|
+
//# sourceMappingURL=update-snippet.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-snippet.d.mts","names":[],"sources":["../../src/actions/update-snippet.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQqB;AAAA,cAKrD,6BAAA,EAA+B,CAAA,CAAE,UAMO;AAAA,cAExC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-snippet.ts
|
|
4
|
+
const SupportbeeUpdateSnippetInput = z.object({
|
|
5
|
+
id: z.string().describe("The unique ID of the snippet to update. You can obtain snippet IDs by calling the 'Fetch Snippets' action first."),
|
|
6
|
+
name: z.string().describe("The name/title for the snippet. This will be displayed when selecting snippets."),
|
|
7
|
+
tags: z.string().describe("Comma-separated tags to categorize the snippet (e.g., 'refund, policy, updated').").optional(),
|
|
8
|
+
content: z.object({
|
|
9
|
+
html: z.string().describe("HTML version of the snippet content. Either text or html must be provided. Supports basic HTML formatting like <b>, <i>, <a>, <br>, <p>, <em>, <strong>, etc.").optional(),
|
|
10
|
+
text: z.string().describe("Plain text version of the snippet content. Either text or html must be provided.").optional()
|
|
11
|
+
}).describe("The content of the snippet. Must include at least text or html.")
|
|
12
|
+
}).describe("Request model for updating a snippet in SupportBee.");
|
|
13
|
+
const SupportbeeUpdateSnippet_SnippetContentSchema = z.object({
|
|
14
|
+
html: z.string().describe("HTML formatted content of the snippet."),
|
|
15
|
+
text: z.string().describe("Plain text content of the snippet.")
|
|
16
|
+
}).describe("Model representing the content structure of a snippet in the response.");
|
|
17
|
+
const supportbeeUpdateSnippet = action("SUPPORTBEE_UPDATE_SNIPPET", {
|
|
18
|
+
slug: "supportbee-update-snippet",
|
|
19
|
+
name: "Update Snippet",
|
|
20
|
+
description: "Update an existing snippet (canned response) in SupportBee. Use this to modify the name, content, or tags of a snippet. To find snippet IDs, use the 'Fetch Snippets' action first.",
|
|
21
|
+
input: SupportbeeUpdateSnippetInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
id: z.number().int().describe("The unique ID of the snippet."),
|
|
24
|
+
name: z.string().describe("The name/title of the snippet."),
|
|
25
|
+
tags: z.string().describe("Comma-separated tags associated with the snippet.").nullable().optional(),
|
|
26
|
+
content: SupportbeeUpdateSnippet_SnippetContentSchema.nullable(),
|
|
27
|
+
created_at: z.string().describe("Timestamp when the snippet was created (ISO 8601 format).")
|
|
28
|
+
}).describe("Response model for an updated snippet.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { supportbeeUpdateSnippet };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=update-snippet.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-snippet.mjs","names":[],"sources":["../../src/actions/update-snippet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUpdateSnippetInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the snippet to update. You can obtain snippet IDs by calling the 'Fetch Snippets' action first.\"),\n name: z.string().describe(\"The name/title for the snippet. This will be displayed when selecting snippets.\"),\n tags: z.string().describe(\"Comma-separated tags to categorize the snippet (e.g., 'refund, policy, updated').\").optional(),\n content: z.object({\n html: z.string().describe(\"HTML version of the snippet content. Either text or html must be provided. Supports basic HTML formatting like <b>, <i>, <a>, <br>, <p>, <em>, <strong>, etc.\").optional(),\n text: z.string().describe(\"Plain text version of the snippet content. Either text or html must be provided.\").optional(),\n}).describe(\"The content of the snippet. Must include at least text or html.\"),\n}).describe(\"Request model for updating a snippet in SupportBee.\");\nconst SupportbeeUpdateSnippet_SnippetContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML formatted content of the snippet.\"),\n text: z.string().describe(\"Plain text content of the snippet.\"),\n}).describe(\"Model representing the content structure of a snippet in the response.\");\nexport const SupportbeeUpdateSnippetOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique ID of the snippet.\"),\n name: z.string().describe(\"The name/title of the snippet.\"),\n tags: z.string().describe(\"Comma-separated tags associated with the snippet.\").nullable().optional(),\n content: SupportbeeUpdateSnippet_SnippetContentSchema.nullable(),\n created_at: z.string().describe(\"Timestamp when the snippet was created (ISO 8601 format).\"),\n}).describe(\"Response model for an updated snippet.\");\n\nexport const supportbeeUpdateSnippet = action(\"SUPPORTBEE_UPDATE_SNIPPET\", {\n slug: \"supportbee-update-snippet\",\n name: \"Update Snippet\",\n description: \"Update an existing snippet (canned response) in SupportBee. Use this to modify the name, content, or tags of a snippet. To find snippet IDs, use the 'Fetch Snippets' action first.\",\n input: SupportbeeUpdateSnippetInput,\n output: SupportbeeUpdateSnippetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO;EAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;EACpM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AASpF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,6CAA6C,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC7F,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-user.ts
|
|
4
|
+
const SupportbeeUpdateUserInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("The unique numeric ID of the SupportBee user to update. Required."),
|
|
6
|
+
name: zod.z.string().describe("Updated display name for the user. If provided, replaces the current name.").optional(),
|
|
7
|
+
role: zod.z.enum(["agent", "admin"]).describe("Updated role for the user. Use 'agent' for regular team members or 'admin' for administrators with full permissions.").optional(),
|
|
8
|
+
email: zod.z.string().describe("Updated email address for the user. Must be a valid email format.").optional(),
|
|
9
|
+
signature: zod.z.string().describe("Updated email signature for the user. This will appear at the end of their support replies.").optional(),
|
|
10
|
+
avatar_url: zod.z.string().describe("URL to an image to use as the user's avatar. Must be a publicly accessible URL.").optional()
|
|
11
|
+
}).describe("Request model for updating a SupportBee user.");
|
|
12
|
+
const SupportbeeUpdateUser_PictureUrlsSchema = zod.z.object({
|
|
13
|
+
thumb20: zod.z.string().describe("20x20 avatar thumbnail URL").nullable().optional(),
|
|
14
|
+
thumb24: zod.z.string().describe("24x24 avatar thumbnail URL").nullable().optional(),
|
|
15
|
+
thumb32: zod.z.string().describe("32x32 avatar thumbnail URL").nullable().optional(),
|
|
16
|
+
thumb48: zod.z.string().describe("48x48 avatar thumbnail URL").nullable().optional(),
|
|
17
|
+
thumb64: zod.z.string().describe("64x64 avatar thumbnail URL").nullable().optional(),
|
|
18
|
+
thumb128: zod.z.string().describe("128x128 avatar thumbnail URL").nullable().optional()
|
|
19
|
+
}).describe("Avatar picture URLs in different sizes.");
|
|
20
|
+
const SupportbeeUpdateUserOutput = zod.z.object({
|
|
21
|
+
id: zod.z.number().int().describe("Unique numeric ID of the user"),
|
|
22
|
+
name: zod.z.string().describe("Full display name of the user (may be null)").nullable().optional(),
|
|
23
|
+
role: zod.z.string().describe("Role of the user (e.g., 'agent', 'admin', 'customer', 'collaborator')").nullable().optional(),
|
|
24
|
+
type: zod.z.string().describe("Type of entity (typically 'user' or 'customer_group')").nullable().optional(),
|
|
25
|
+
agent: zod.z.boolean().describe("Whether the user has agent privileges").nullable().optional(),
|
|
26
|
+
email: zod.z.string().describe("Email address of the user"),
|
|
27
|
+
picture: SupportbeeUpdateUser_PictureUrlsSchema.nullable().optional(),
|
|
28
|
+
last_name: zod.z.string().describe("Last name of the user").nullable().optional(),
|
|
29
|
+
signature: zod.z.string().describe("Email signature used by the user in support replies").nullable().optional(),
|
|
30
|
+
avatar_url: zod.z.string().describe("Legacy field: URL to the user's avatar image").nullable().optional(),
|
|
31
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the user account was created").nullable().optional(),
|
|
32
|
+
first_name: zod.z.string().describe("First name of the user").nullable().optional(),
|
|
33
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the user was last updated").nullable().optional(),
|
|
34
|
+
email_domains: zod.z.array(zod.z.string()).describe("Email domains associated with the user/group").nullable().optional(),
|
|
35
|
+
members_count: zod.z.number().int().describe("Number of members (relevant for customer groups)").nullable().optional(),
|
|
36
|
+
active_tickets_count: zod.z.number().int().describe("Count of active tickets associated with the user").nullable().optional(),
|
|
37
|
+
requested_tickets_count: zod.z.number().int().describe("Count of tickets requested by the user").nullable().optional(),
|
|
38
|
+
can_members_access_group_tickets: zod.z.boolean().describe("Whether group members can access tickets (relevant for customer groups)").nullable().optional(),
|
|
39
|
+
two_factor_authentication_enabled: zod.z.boolean().describe("Whether two-factor authentication is enabled for this user").nullable().optional()
|
|
40
|
+
}).describe("Response model for an updated SupportBee user.");
|
|
41
|
+
const supportbeeUpdateUser = require_action.action("SUPPORTBEE_UPDATE_USER", {
|
|
42
|
+
slug: "supportbee-update-user",
|
|
43
|
+
name: "Update SupportBee User",
|
|
44
|
+
description: "Update an existing SupportBee user's profile information including name, email, role, avatar, or signature. This action modifies user account details via the SupportBee API. You can update one or multiple fields in a single request. Commonly used to change user roles (agent/admin), update contact information, or customize user profiles. Requirements: - Valid user ID (obtain from SUPPORTBEE_CREATE_USER_OR_CUSTOMER_GROUP or other user-related actions) - At least one field to update (name, email, role, avatar_url, or signature) Common use cases: - Promote an agent to admin by updating the role field - Update user email addresses when they change - Customize user signatures for support ticket replies",
|
|
45
|
+
input: SupportbeeUpdateUserInput,
|
|
46
|
+
output: SupportbeeUpdateUserOutput
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
exports.supportbeeUpdateUser = supportbeeUpdateUser;
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=update-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeUpdateUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique numeric ID of the SupportBee user to update. Required.\"),\n name: z.string().describe(\"Updated display name for the user. If provided, replaces the current name.\").optional(),\n role: z.enum([\"agent\", \"admin\"]).describe(\"Updated role for the user. Use 'agent' for regular team members or 'admin' for administrators with full permissions.\").optional(),\n email: z.string().describe(\"Updated email address for the user. Must be a valid email format.\").optional(),\n signature: z.string().describe(\"Updated email signature for the user. This will appear at the end of their support replies.\").optional(),\n avatar_url: z.string().describe(\"URL to an image to use as the user's avatar. Must be a publicly accessible URL.\").optional(),\n}).describe(\"Request model for updating a SupportBee user.\");\nconst SupportbeeUpdateUser_PictureUrlsSchema: z.ZodTypeAny = z.object({\n thumb20: z.string().describe(\"20x20 avatar thumbnail URL\").nullable().optional(),\n thumb24: z.string().describe(\"24x24 avatar thumbnail URL\").nullable().optional(),\n thumb32: z.string().describe(\"32x32 avatar thumbnail URL\").nullable().optional(),\n thumb48: z.string().describe(\"48x48 avatar thumbnail URL\").nullable().optional(),\n thumb64: z.string().describe(\"64x64 avatar thumbnail URL\").nullable().optional(),\n thumb128: z.string().describe(\"128x128 avatar thumbnail URL\").nullable().optional(),\n}).describe(\"Avatar picture URLs in different sizes.\");\nexport const SupportbeeUpdateUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ID of the user\"),\n name: z.string().describe(\"Full display name of the user (may be null)\").nullable().optional(),\n role: z.string().describe(\"Role of the user (e.g., 'agent', 'admin', 'customer', 'collaborator')\").nullable().optional(),\n type: z.string().describe(\"Type of entity (typically 'user' or 'customer_group')\").nullable().optional(),\n agent: z.boolean().describe(\"Whether the user has agent privileges\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\"),\n picture: SupportbeeUpdateUser_PictureUrlsSchema.nullable().optional(),\n last_name: z.string().describe(\"Last name of the user\").nullable().optional(),\n signature: z.string().describe(\"Email signature used by the user in support replies\").nullable().optional(),\n avatar_url: z.string().describe(\"Legacy field: URL to the user's avatar image\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the user account was created\").nullable().optional(),\n first_name: z.string().describe(\"First name of the user\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the user was last updated\").nullable().optional(),\n email_domains: z.array(z.string()).describe(\"Email domains associated with the user/group\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of members (relevant for customer groups)\").nullable().optional(),\n active_tickets_count: z.number().int().describe(\"Count of active tickets associated with the user\").nullable().optional(),\n requested_tickets_count: z.number().int().describe(\"Count of tickets requested by the user\").nullable().optional(),\n can_members_access_group_tickets: z.boolean().describe(\"Whether group members can access tickets (relevant for customer groups)\").nullable().optional(),\n two_factor_authentication_enabled: z.boolean().describe(\"Whether two-factor authentication is enabled for this user\").nullable().optional(),\n}).describe(\"Response model for an updated SupportBee user.\");\n\nexport const supportbeeUpdateUser = action(\"SUPPORTBEE_UPDATE_USER\", {\n slug: \"supportbee-update-user\",\n name: \"Update SupportBee User\",\n description: \"Update an existing SupportBee user's profile information including name, email, role, avatar, or signature. This action modifies user account details via the SupportBee API. You can update one or multiple fields in a single request. Commonly used to change user roles (agent/admin), update contact information, or customize user profiles. Requirements: - Valid user ID (obtain from SUPPORTBEE_CREATE_USER_OR_CUSTOMER_GROUP or other user-related actions) - At least one field to update (name, email, role, avatar_url, or signature) Common use cases: - Promote an agent to admin by updating the role field - Update user email addresses when they change - Customize user signatures for support ticket replies\",\n input: SupportbeeUpdateUserInput,\n output: SupportbeeUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACjH,MAAMA,IAAAA,EAAE,KAAK,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC3K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-user.d.ts
|
|
4
|
+
declare const SupportbeeUpdateUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUpdateUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUpdateUser };
|
|
9
|
+
//# sourceMappingURL=update-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOkB;AAAA,cAS/C,0BAAA,EAA4B,CAAA,CAAE,UAoBkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-user.d.ts
|
|
4
|
+
declare const SupportbeeUpdateUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeUpdateUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeUpdateUser };
|
|
9
|
+
//# sourceMappingURL=update-user.d.mts.map
|