@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 @@
|
|
|
1
|
+
{"version":3,"file":"delete-snippet.cjs","names":["z","action"],"sources":["../../src/actions/delete-snippet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeDeleteSnippetInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique numeric ID of the snippet to delete. You can obtain snippet IDs by calling the 'Fetch Snippets' action first.\"),\n}).describe(\"Request model for deleting a snippet by its ID.\");\nexport const SupportbeeDeleteSnippetOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A human-readable message describing the result of the delete operation.\"),\n success: z.boolean().describe(\"Indicates whether the snippet was successfully deleted.\"),\n deleted_snippet_id: z.number().int().describe(\"The ID of the snippet that was deleted.\"),\n}).describe(\"Response model for snippet deletion.\");\n\nexport const supportbeeDeleteSnippet = action(\"SUPPORTBEE_DELETE_SNIPPET\", {\n slug: \"supportbee-delete-snippet\",\n name: \"Delete Snippet\",\n description: \"Permanently delete a snippet by its ID from SupportBee. Use this action when you need to remove an unwanted or outdated snippet (canned response template). This action is destructive and cannot be undone. To find snippet IDs, use the 'Fetch Snippets' action first.\",\n input: SupportbeeDeleteSnippetInput,\n output: SupportbeeDeleteSnippetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAC1J,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACtG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AACzF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,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/delete-snippet.d.ts
|
|
4
|
+
declare const SupportbeeDeleteSnippetInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeDeleteSnippetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeDeleteSnippet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeDeleteSnippet };
|
|
9
|
+
//# sourceMappingURL=delete-snippet.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-snippet.d.cts","names":[],"sources":["../../src/actions/delete-snippet.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEiB;AAAA,cACjD,6BAAA,EAA+B,CAAA,CAAE,UAIK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-snippet.d.ts
|
|
4
|
+
declare const SupportbeeDeleteSnippetInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeDeleteSnippetOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeDeleteSnippet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeDeleteSnippet };
|
|
9
|
+
//# sourceMappingURL=delete-snippet.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-snippet.d.mts","names":[],"sources":["../../src/actions/delete-snippet.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEiB;AAAA,cACjD,6BAAA,EAA+B,CAAA,CAAE,UAIK;AAAA,cAEtC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const supportbeeDeleteSnippet = action("SUPPORTBEE_DELETE_SNIPPET", {
|
|
4
|
+
slug: "supportbee-delete-snippet",
|
|
5
|
+
name: "Delete Snippet",
|
|
6
|
+
description: "Permanently delete a snippet by its ID from SupportBee. Use this action when you need to remove an unwanted or outdated snippet (canned response template). This action is destructive and cannot be undone. To find snippet IDs, use the 'Fetch Snippets' action first.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("The unique numeric ID of the snippet to delete. You can obtain snippet IDs by calling the 'Fetch Snippets' action first.") }).describe("Request model for deleting a snippet by its ID."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("A human-readable message describing the result of the delete operation."),
|
|
10
|
+
success: z.boolean().describe("Indicates whether the snippet was successfully deleted."),
|
|
11
|
+
deleted_snippet_id: z.number().int().describe("The ID of the snippet that was deleted.")
|
|
12
|
+
}).describe("Response model for snippet deletion.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { supportbeeDeleteSnippet };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=delete-snippet.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-snippet.mjs","names":[],"sources":["../../src/actions/delete-snippet.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeDeleteSnippetInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique numeric ID of the snippet to delete. You can obtain snippet IDs by calling the 'Fetch Snippets' action first.\"),\n}).describe(\"Request model for deleting a snippet by its ID.\");\nexport const SupportbeeDeleteSnippetOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A human-readable message describing the result of the delete operation.\"),\n success: z.boolean().describe(\"Indicates whether the snippet was successfully deleted.\"),\n deleted_snippet_id: z.number().int().describe(\"The ID of the snippet that was deleted.\"),\n}).describe(\"Response model for snippet deletion.\");\n\nexport const supportbeeDeleteSnippet = action(\"SUPPORTBEE_DELETE_SNIPPET\", {\n slug: \"supportbee-delete-snippet\",\n name: \"Delete Snippet\",\n description: \"Permanently delete a snippet by its ID from SupportBee. Use this action when you need to remove an unwanted or outdated snippet (canned response template). This action is destructive and cannot be undone. To find snippet IDs, use the 'Fetch Snippets' action first.\",\n input: SupportbeeDeleteSnippetInput,\n output: SupportbeeDeleteSnippetOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAC1J,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAXyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACtG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;EACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACzF,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-ticket.ts
|
|
4
|
+
const SupportbeeDeleteTicketInput = zod.z.object({ id: zod.z.number().int().describe("Unique numeric ID of the trashed ticket to permanently delete. The ticket must be in the trash before it can be deleted.") }).describe("Request parameters for permanently deleting a trashed ticket in SupportBee.");
|
|
5
|
+
const SupportbeeDeleteTicketOutput = zod.z.object({
|
|
6
|
+
message: zod.z.string().describe("A message describing the result of the deletion operation."),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates whether the ticket was successfully deleted."),
|
|
8
|
+
deleted_ticket_id: zod.z.number().int().describe("The ID of the ticket that was permanently deleted.")
|
|
9
|
+
}).describe("Response model for delete ticket action confirming permanent deletion.");
|
|
10
|
+
const supportbeeDeleteTicket = require_action.action("SUPPORTBEE_DELETE_TICKET", {
|
|
11
|
+
slug: "supportbee-delete-ticket",
|
|
12
|
+
name: "Delete SupportBee Ticket",
|
|
13
|
+
description: "Permanently delete a trashed ticket from SupportBee. The ticket must first be moved to trash using the Trash Ticket action before it can be permanently deleted. Only admins can delete trashed tickets. This action is irreversible.",
|
|
14
|
+
input: SupportbeeDeleteTicketInput,
|
|
15
|
+
output: SupportbeeDeleteTicketOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.supportbeeDeleteTicket = supportbeeDeleteTicket;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-ticket.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-ticket.cjs","names":["z","action"],"sources":["../../src/actions/delete-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeDeleteTicketInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ID of the trashed ticket to permanently delete. The ticket must be in the trash before it can be deleted.\"),\n}).describe(\"Request parameters for permanently deleting a trashed ticket in SupportBee.\");\nexport const SupportbeeDeleteTicketOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the result of the deletion operation.\"),\n success: z.boolean().describe(\"Indicates whether the ticket was successfully deleted.\"),\n deleted_ticket_id: z.number().int().describe(\"The ID of the ticket that was permanently deleted.\"),\n}).describe(\"Response model for delete ticket action confirming permanent deletion.\");\n\nexport const supportbeeDeleteTicket = action(\"SUPPORTBEE_DELETE_TICKET\", {\n slug: \"supportbee-delete-ticket\",\n name: \"Delete SupportBee Ticket\",\n description: \"Permanently delete a trashed ticket from SupportBee. The ticket must first be moved to trash using the Trash Ticket action before it can be permanently deleted. Only admins can delete trashed tickets. This action is irreversible.\",\n input: SupportbeeDeleteTicketInput,\n output: SupportbeeDeleteTicketOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAC1J,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACnG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/delete-ticket.d.ts
|
|
4
|
+
declare const SupportbeeDeleteTicketInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeDeleteTicketOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeDeleteTicket: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeDeleteTicket };
|
|
9
|
+
//# sourceMappingURL=delete-ticket.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-ticket.d.cts","names":[],"sources":["../../src/actions/delete-ticket.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE8C;AAAA,cAC7E,4BAAA,EAA8B,CAAA,CAAE,UAIwC;AAAA,cAExE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-ticket.d.ts
|
|
4
|
+
declare const SupportbeeDeleteTicketInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeDeleteTicketOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeDeleteTicket: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeDeleteTicket };
|
|
9
|
+
//# sourceMappingURL=delete-ticket.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-ticket.d.mts","names":[],"sources":["../../src/actions/delete-ticket.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE8C;AAAA,cAC7E,4BAAA,EAA8B,CAAA,CAAE,UAIwC;AAAA,cAExE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const supportbeeDeleteTicket = action("SUPPORTBEE_DELETE_TICKET", {
|
|
4
|
+
slug: "supportbee-delete-ticket",
|
|
5
|
+
name: "Delete SupportBee Ticket",
|
|
6
|
+
description: "Permanently delete a trashed ticket from SupportBee. The ticket must first be moved to trash using the Trash Ticket action before it can be permanently deleted. Only admins can delete trashed tickets. This action is irreversible.",
|
|
7
|
+
input: z.object({ id: z.number().int().describe("Unique numeric ID of the trashed ticket to permanently delete. The ticket must be in the trash before it can be deleted.") }).describe("Request parameters for permanently deleting a trashed ticket in SupportBee."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
message: z.string().describe("A message describing the result of the deletion operation."),
|
|
10
|
+
success: z.boolean().describe("Indicates whether the ticket was successfully deleted."),
|
|
11
|
+
deleted_ticket_id: z.number().int().describe("The ID of the ticket that was permanently deleted.")
|
|
12
|
+
}).describe("Response model for delete ticket action confirming permanent deletion.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { supportbeeDeleteTicket };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=delete-ticket.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-ticket.mjs","names":[],"sources":["../../src/actions/delete-ticket.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeDeleteTicketInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique numeric ID of the trashed ticket to permanently delete. The ticket must be in the trash before it can be deleted.\"),\n}).describe(\"Request parameters for permanently deleting a trashed ticket in SupportBee.\");\nexport const SupportbeeDeleteTicketOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the result of the deletion operation.\"),\n success: z.boolean().describe(\"Indicates whether the ticket was successfully deleted.\"),\n deleted_ticket_id: z.number().int().describe(\"The ID of the ticket that was permanently deleted.\"),\n}).describe(\"Response model for delete ticket action confirming permanent deletion.\");\n\nexport const supportbeeDeleteTicket = action(\"SUPPORTBEE_DELETE_TICKET\", {\n slug: \"supportbee-delete-ticket\",\n name: \"Delete SupportBee Ticket\",\n description: \"Permanently delete a trashed ticket from SupportBee. The ticket must first be moved to trash using the Trash Ticket action before it can be permanently deleted. Only admins can delete trashed tickets. This action is irreversible.\",\n input: SupportbeeDeleteTicketInput,\n output: SupportbeeDeleteTicketOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAC1J,CAAC,CAAC,CAAC,SAAS,6EAWH;CACP,QAXwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnG,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-emails.ts
|
|
4
|
+
const SupportbeeFetchEmailsInput = zod.z.object({}).describe("Request parameters for fetching forwarding email addresses.\nNo parameters required - retrieves all forwarding addresses for the company.");
|
|
5
|
+
const SupportbeeFetchEmails_ForwardingEmailSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the forwarding email address."),
|
|
7
|
+
name: zod.z.string().describe("Display name used when sending replies from this address.").nullable().optional(),
|
|
8
|
+
email: zod.z.string().describe("The forwarding email address (e.g., support@example.com)."),
|
|
9
|
+
company_id: zod.z.number().int().describe("ID of the company this forwarding address belongs to.").nullable().optional(),
|
|
10
|
+
created_at: zod.z.string().describe("Timestamp when the forwarding address was created (ISO 8601).").nullable().optional(),
|
|
11
|
+
global_bcc: zod.z.string().describe("BCC address that receives a copy of all outgoing replies.").nullable().optional(),
|
|
12
|
+
updated_at: zod.z.string().describe("Timestamp when the forwarding address was last updated (ISO 8601).").nullable().optional(),
|
|
13
|
+
filter_spam: zod.z.boolean().describe("Whether spam filtering is enabled for incoming emails.").nullable().optional(),
|
|
14
|
+
use_agent_name: zod.z.boolean().describe("Whether to use the agent's name instead of the company name in replies.").nullable().optional(),
|
|
15
|
+
forwarding_hash: zod.z.string().describe("Unique hash used for the forwarding setup (used in the forwarding email address).").nullable().optional()
|
|
16
|
+
}).describe("Model representing a forwarding email address configuration in SupportBee.");
|
|
17
|
+
const SupportbeeFetchEmailsOutput = zod.z.object({ emails: zod.z.array(SupportbeeFetchEmails_ForwardingEmailSchema).describe("List of forwarding email addresses configured for the company.").nullable().optional() }).describe("Response schema for fetching forwarding email addresses.");
|
|
18
|
+
const supportbeeFetchEmails = require_action.action("SUPPORTBEE_FETCH_EMAILS", {
|
|
19
|
+
slug: "supportbee-fetch-emails",
|
|
20
|
+
name: "Fetch Forwarding Emails",
|
|
21
|
+
description: "Retrieve all forwarding email addresses configured for the company. Use this tool to list the support email addresses that forward emails to SupportBee.",
|
|
22
|
+
input: SupportbeeFetchEmailsInput,
|
|
23
|
+
output: SupportbeeFetchEmailsOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.supportbeeFetchEmails = supportbeeFetchEmails;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=fetch-emails.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-emails.cjs","names":["z","action"],"sources":["../../src/actions/fetch-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchEmailsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for fetching forwarding email addresses.\\nNo parameters required - retrieves all forwarding addresses for the company.\");\nconst SupportbeeFetchEmails_ForwardingEmailSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the forwarding email address.\"),\n name: z.string().describe(\"Display name used when sending replies from this address.\").nullable().optional(),\n email: z.string().describe(\"The forwarding email address (e.g., support@example.com).\"),\n company_id: z.number().int().describe(\"ID of the company this forwarding address belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the forwarding address was created (ISO 8601).\").nullable().optional(),\n global_bcc: z.string().describe(\"BCC address that receives a copy of all outgoing replies.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the forwarding address was last updated (ISO 8601).\").nullable().optional(),\n filter_spam: z.boolean().describe(\"Whether spam filtering is enabled for incoming emails.\").nullable().optional(),\n use_agent_name: z.boolean().describe(\"Whether to use the agent's name instead of the company name in replies.\").nullable().optional(),\n forwarding_hash: z.string().describe(\"Unique hash used for the forwarding setup (used in the forwarding email address).\").nullable().optional(),\n}).describe(\"Model representing a forwarding email address configuration in SupportBee.\");\nexport const SupportbeeFetchEmailsOutput: z.ZodTypeAny = z.object({\n emails: z.array(SupportbeeFetchEmails_ForwardingEmailSchema).describe(\"List of forwarding email addresses configured for the company.\").nullable().optional(),\n}).describe(\"Response schema for fetching forwarding email addresses.\");\n\nexport const supportbeeFetchEmails = action(\"SUPPORTBEE_FETCH_EMAILS\", {\n slug: \"supportbee-fetch-emails\",\n name: \"Fetch Forwarding Emails\",\n description: \"Retrieve all forwarding email addresses configured for the company. Use this tool to list the support email addresses that forward emails to SupportBee.\",\n input: SupportbeeFetchEmailsInput,\n output: SupportbeeFetchEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2IAA2I;AACzN,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/fetch-emails.d.ts
|
|
4
|
+
declare const SupportbeeFetchEmailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchEmailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchEmails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchEmails };
|
|
9
|
+
//# sourceMappingURL=fetch-emails.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-emails.d.cts","names":[],"sources":["../../src/actions/fetch-emails.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA+K;AAAA,cAa7M,2BAAA,EAA6B,CAAA,CAAE,UAE2B;AAAA,cAE1D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-emails.d.ts
|
|
4
|
+
declare const SupportbeeFetchEmailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchEmailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchEmails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchEmails };
|
|
9
|
+
//# sourceMappingURL=fetch-emails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-emails.d.mts","names":[],"sources":["../../src/actions/fetch-emails.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA+K;AAAA,cAa7M,2BAAA,EAA6B,CAAA,CAAE,UAE2B;AAAA,cAE1D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-emails.ts
|
|
4
|
+
const SupportbeeFetchEmailsInput = z.object({}).describe("Request parameters for fetching forwarding email addresses.\nNo parameters required - retrieves all forwarding addresses for the company.");
|
|
5
|
+
const SupportbeeFetchEmails_ForwardingEmailSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the forwarding email address."),
|
|
7
|
+
name: z.string().describe("Display name used when sending replies from this address.").nullable().optional(),
|
|
8
|
+
email: z.string().describe("The forwarding email address (e.g., support@example.com)."),
|
|
9
|
+
company_id: z.number().int().describe("ID of the company this forwarding address belongs to.").nullable().optional(),
|
|
10
|
+
created_at: z.string().describe("Timestamp when the forwarding address was created (ISO 8601).").nullable().optional(),
|
|
11
|
+
global_bcc: z.string().describe("BCC address that receives a copy of all outgoing replies.").nullable().optional(),
|
|
12
|
+
updated_at: z.string().describe("Timestamp when the forwarding address was last updated (ISO 8601).").nullable().optional(),
|
|
13
|
+
filter_spam: z.boolean().describe("Whether spam filtering is enabled for incoming emails.").nullable().optional(),
|
|
14
|
+
use_agent_name: z.boolean().describe("Whether to use the agent's name instead of the company name in replies.").nullable().optional(),
|
|
15
|
+
forwarding_hash: z.string().describe("Unique hash used for the forwarding setup (used in the forwarding email address).").nullable().optional()
|
|
16
|
+
}).describe("Model representing a forwarding email address configuration in SupportBee.");
|
|
17
|
+
const supportbeeFetchEmails = action("SUPPORTBEE_FETCH_EMAILS", {
|
|
18
|
+
slug: "supportbee-fetch-emails",
|
|
19
|
+
name: "Fetch Forwarding Emails",
|
|
20
|
+
description: "Retrieve all forwarding email addresses configured for the company. Use this tool to list the support email addresses that forward emails to SupportBee.",
|
|
21
|
+
input: SupportbeeFetchEmailsInput,
|
|
22
|
+
output: z.object({ emails: z.array(SupportbeeFetchEmails_ForwardingEmailSchema).describe("List of forwarding email addresses configured for the company.").nullable().optional() }).describe("Response schema for fetching forwarding email addresses.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { supportbeeFetchEmails };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=fetch-emails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-emails.mjs","names":[],"sources":["../../src/actions/fetch-emails.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchEmailsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for fetching forwarding email addresses.\\nNo parameters required - retrieves all forwarding addresses for the company.\");\nconst SupportbeeFetchEmails_ForwardingEmailSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the forwarding email address.\"),\n name: z.string().describe(\"Display name used when sending replies from this address.\").nullable().optional(),\n email: z.string().describe(\"The forwarding email address (e.g., support@example.com).\"),\n company_id: z.number().int().describe(\"ID of the company this forwarding address belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the forwarding address was created (ISO 8601).\").nullable().optional(),\n global_bcc: z.string().describe(\"BCC address that receives a copy of all outgoing replies.\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the forwarding address was last updated (ISO 8601).\").nullable().optional(),\n filter_spam: z.boolean().describe(\"Whether spam filtering is enabled for incoming emails.\").nullable().optional(),\n use_agent_name: z.boolean().describe(\"Whether to use the agent's name instead of the company name in replies.\").nullable().optional(),\n forwarding_hash: z.string().describe(\"Unique hash used for the forwarding setup (used in the forwarding email address).\").nullable().optional(),\n}).describe(\"Model representing a forwarding email address configuration in SupportBee.\");\nexport const SupportbeeFetchEmailsOutput: z.ZodTypeAny = z.object({\n emails: z.array(SupportbeeFetchEmails_ForwardingEmailSchema).describe(\"List of forwarding email addresses configured for the company.\").nullable().optional(),\n}).describe(\"Response schema for fetching forwarding email addresses.\");\n\nexport const supportbeeFetchEmails = action(\"SUPPORTBEE_FETCH_EMAILS\", {\n slug: \"supportbee-fetch-emails\",\n name: \"Fetch Forwarding Emails\",\n description: \"Retrieve all forwarding email addresses configured for the company. Use this tool to list the support email addresses that forward emails to SupportBee.\",\n input: SupportbeeFetchEmailsInput,\n output: SupportbeeFetchEmailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2IAA2I;AACzN,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,4EAA4E;AAKxF,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9J,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-labels.ts
|
|
4
|
+
const SupportbeeFetchLabelsInput = zod.z.object({}).describe("Request model for fetching all custom labels in SupportBee.");
|
|
5
|
+
const SupportbeeFetchLabels_LabelModelSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the label"),
|
|
7
|
+
name: zod.z.string().describe("Name of the label"),
|
|
8
|
+
color: zod.z.string().describe("Hex color code for the label (e.g., #FF0000)")
|
|
9
|
+
}).describe("Model representing a custom label in SupportBee.");
|
|
10
|
+
const SupportbeeFetchLabelsOutput = zod.z.object({ labels: zod.z.array(SupportbeeFetchLabels_LabelModelSchema).describe("List of custom labels") }).describe("Response model containing a list of custom labels.");
|
|
11
|
+
const supportbeeFetchLabels = require_action.action("SUPPORTBEE_FETCH_LABELS", {
|
|
12
|
+
slug: "supportbee-fetch-labels",
|
|
13
|
+
name: "Fetch SupportBee Labels",
|
|
14
|
+
description: "Tool to retrieve all custom labels. Use when you need to list labels for ticket categorization.",
|
|
15
|
+
input: SupportbeeFetchLabelsInput,
|
|
16
|
+
output: SupportbeeFetchLabelsOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.supportbeeFetchLabels = supportbeeFetchLabels;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=fetch-labels.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-labels.cjs","names":["z","action"],"sources":["../../src/actions/fetch-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchLabelsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching all custom labels in SupportBee.\");\nconst SupportbeeFetchLabels_LabelModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the label\"),\n name: z.string().describe(\"Name of the label\"),\n color: z.string().describe(\"Hex color code for the label (e.g., #FF0000)\"),\n}).describe(\"Model representing a custom label in SupportBee.\");\nexport const SupportbeeFetchLabelsOutput: z.ZodTypeAny = z.object({\n labels: z.array(SupportbeeFetchLabels_LabelModelSchema).describe(\"List of custom labels\"),\n}).describe(\"Response model containing a list of custom labels.\");\n\nexport const supportbeeFetchLabels = action(\"SUPPORTBEE_FETCH_LABELS\", {\n slug: \"supportbee-fetch-labels\",\n name: \"Fetch SupportBee Labels\",\n description: \"Tool to retrieve all custom labels. Use when you need to list labels for ticket categorization.\",\n input: SupportbeeFetchLabelsInput,\n output: SupportbeeFetchLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC3I,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC3E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uBAAuB,EAC1F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/fetch-labels.d.ts
|
|
4
|
+
declare const SupportbeeFetchLabelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchLabelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchLabels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchLabels };
|
|
9
|
+
//# sourceMappingURL=fetch-labels.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-labels.d.cts","names":[],"sources":["../../src/actions/fetch-labels.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAiG;AAAA,cAM/H,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cAEpD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-labels.d.ts
|
|
4
|
+
declare const SupportbeeFetchLabelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchLabelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchLabels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchLabels };
|
|
9
|
+
//# sourceMappingURL=fetch-labels.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-labels.d.mts","names":[],"sources":["../../src/actions/fetch-labels.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAAiG;AAAA,cAM/H,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cAEpD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-labels.ts
|
|
4
|
+
const SupportbeeFetchLabelsInput = z.object({}).describe("Request model for fetching all custom labels in SupportBee.");
|
|
5
|
+
const SupportbeeFetchLabels_LabelModelSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the label"),
|
|
7
|
+
name: z.string().describe("Name of the label"),
|
|
8
|
+
color: z.string().describe("Hex color code for the label (e.g., #FF0000)")
|
|
9
|
+
}).describe("Model representing a custom label in SupportBee.");
|
|
10
|
+
const supportbeeFetchLabels = action("SUPPORTBEE_FETCH_LABELS", {
|
|
11
|
+
slug: "supportbee-fetch-labels",
|
|
12
|
+
name: "Fetch SupportBee Labels",
|
|
13
|
+
description: "Tool to retrieve all custom labels. Use when you need to list labels for ticket categorization.",
|
|
14
|
+
input: SupportbeeFetchLabelsInput,
|
|
15
|
+
output: z.object({ labels: z.array(SupportbeeFetchLabels_LabelModelSchema).describe("List of custom labels") }).describe("Response model containing a list of custom labels.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { supportbeeFetchLabels };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=fetch-labels.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-labels.mjs","names":[],"sources":["../../src/actions/fetch-labels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchLabelsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching all custom labels in SupportBee.\");\nconst SupportbeeFetchLabels_LabelModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the label\"),\n name: z.string().describe(\"Name of the label\"),\n color: z.string().describe(\"Hex color code for the label (e.g., #FF0000)\"),\n}).describe(\"Model representing a custom label in SupportBee.\");\nexport const SupportbeeFetchLabelsOutput: z.ZodTypeAny = z.object({\n labels: z.array(SupportbeeFetchLabels_LabelModelSchema).describe(\"List of custom labels\"),\n}).describe(\"Response model containing a list of custom labels.\");\n\nexport const supportbeeFetchLabels = action(\"SUPPORTBEE_FETCH_LABELS\", {\n slug: \"supportbee-fetch-labels\",\n name: \"Fetch SupportBee Labels\",\n description: \"Tool to retrieve all custom labels. Use when you need to list labels for ticket categorization.\",\n input: SupportbeeFetchLabelsInput,\n output: SupportbeeFetchLabelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC3I,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC3E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAK9D,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,uBAAuB,EAC1F,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-snippets.ts
|
|
4
|
+
const SupportbeeFetchSnippetsInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page of results to fetch (default is 1).").optional(),
|
|
6
|
+
per_page: zod.z.number().int().default(15).describe("Number of snippets per page (default is 15, max is 100).").optional()
|
|
7
|
+
}).describe("Request model for fetching paginated snippets in SupportBee.");
|
|
8
|
+
const SupportbeeFetchSnippets_SnippetContentSchema = zod.z.object({
|
|
9
|
+
html: zod.z.string().describe("HTML formatted content of the snippet.").nullable().optional(),
|
|
10
|
+
text: zod.z.string().describe("Plain text content of the snippet.").nullable().optional(),
|
|
11
|
+
attachments: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of attachments associated with the snippet content.").nullable().optional()
|
|
12
|
+
}).describe("Model representing the content structure of a snippet.");
|
|
13
|
+
const SupportbeeFetchSnippets_SnippetSchema = zod.z.object({
|
|
14
|
+
id: zod.z.number().int().describe("Unique ID of the snippet."),
|
|
15
|
+
name: zod.z.string().describe("The name/title of the snippet.").nullable().optional(),
|
|
16
|
+
tags: zod.z.string().describe("Comma-separated tags associated with the snippet.").nullable().optional(),
|
|
17
|
+
content: SupportbeeFetchSnippets_SnippetContentSchema.nullable().optional(),
|
|
18
|
+
team_id: zod.z.number().int().describe("ID of the team to which the snippet belongs.").nullable().optional(),
|
|
19
|
+
position: zod.z.number().int().describe("The position/order of the snippet in the list.").nullable().optional(),
|
|
20
|
+
created_at: zod.z.string().describe("Creation timestamp in ISO 8601 format.").nullable().optional()
|
|
21
|
+
}).describe("Model representing a snippet in SupportBee.");
|
|
22
|
+
const SupportbeeFetchSnippetsOutput = zod.z.object({ snippets: zod.z.array(SupportbeeFetchSnippets_SnippetSchema).describe("Array of snippet objects.") }).describe("Response model containing list of snippets.");
|
|
23
|
+
const supportbeeFetchSnippets = require_action.action("SUPPORTBEE_FETCH_SNIPPETS", {
|
|
24
|
+
slug: "supportbee-fetch-snippets",
|
|
25
|
+
name: "Fetch Snippets",
|
|
26
|
+
description: "Fetches saved response snippets (canned responses/templates) from SupportBee. Snippets are reusable text templates that can be inserted into ticket replies. Use this to list available snippets for quick responses.",
|
|
27
|
+
input: SupportbeeFetchSnippetsInput,
|
|
28
|
+
output: SupportbeeFetchSnippetsOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.supportbeeFetchSnippets = supportbeeFetchSnippets;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=fetch-snippets.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-snippets.cjs","names":["z","action"],"sources":["../../src/actions/fetch-snippets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchSnippetsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page of results to fetch (default is 1).\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of snippets per page (default is 15, max is 100).\").optional(),\n}).describe(\"Request model for fetching paginated snippets in SupportBee.\");\nconst SupportbeeFetchSnippets_SnippetContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML formatted content of the snippet.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the snippet.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments associated with the snippet content.\").nullable().optional(),\n}).describe(\"Model representing the content structure of a snippet.\");\nconst SupportbeeFetchSnippets_SnippetSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the snippet.\"),\n name: z.string().describe(\"The name/title of the snippet.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tags associated with the snippet.\").nullable().optional(),\n content: SupportbeeFetchSnippets_SnippetContentSchema.nullable().optional(),\n team_id: z.number().int().describe(\"ID of the team to which the snippet belongs.\").nullable().optional(),\n position: z.number().int().describe(\"The position/order of the snippet in the list.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Model representing a snippet in SupportBee.\");\nexport const SupportbeeFetchSnippetsOutput: z.ZodTypeAny = z.object({\n snippets: z.array(SupportbeeFetchSnippets_SnippetSchema).describe(\"Array of snippet objects.\"),\n}).describe(\"Response model containing list of snippets.\");\n\nexport const supportbeeFetchSnippets = action(\"SUPPORTBEE_FETCH_SNIPPETS\", {\n slug: \"supportbee-fetch-snippets\",\n name: \"Fetch Snippets\",\n description: \"Fetches saved response snippets (canned responses/templates) from SupportBee. Snippets are reusable text templates that can be inserted into ticket replies. Use this to list available snippets for quick responses.\",\n input: SupportbeeFetchSnippetsInput,\n output: SupportbeeFetchSnippetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2BAA2B,EAC/F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,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/fetch-snippets.d.ts
|
|
4
|
+
declare const SupportbeeFetchSnippetsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchSnippetsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchSnippets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchSnippets };
|
|
9
|
+
//# sourceMappingURL=fetch-snippets.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-snippets.d.cts","names":[],"sources":["../../src/actions/fetch-snippets.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG8B;AAAA,cAe9D,6BAAA,EAA+B,CAAA,CAAE,UAEY;AAAA,cAE7C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-snippets.d.ts
|
|
4
|
+
declare const SupportbeeFetchSnippetsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchSnippetsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchSnippets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchSnippets };
|
|
9
|
+
//# sourceMappingURL=fetch-snippets.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-snippets.d.mts","names":[],"sources":["../../src/actions/fetch-snippets.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAG8B;AAAA,cAe9D,6BAAA,EAA+B,CAAA,CAAE,UAEY;AAAA,cAE7C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-snippets.ts
|
|
4
|
+
const SupportbeeFetchSnippetsInput = z.object({
|
|
5
|
+
page: z.number().int().default(1).describe("Page of results to fetch (default is 1).").optional(),
|
|
6
|
+
per_page: z.number().int().default(15).describe("Number of snippets per page (default is 15, max is 100).").optional()
|
|
7
|
+
}).describe("Request model for fetching paginated snippets in SupportBee.");
|
|
8
|
+
const SupportbeeFetchSnippets_SnippetContentSchema = z.object({
|
|
9
|
+
html: z.string().describe("HTML formatted content of the snippet.").nullable().optional(),
|
|
10
|
+
text: z.string().describe("Plain text content of the snippet.").nullable().optional(),
|
|
11
|
+
attachments: z.array(z.record(z.string(), z.unknown())).describe("List of attachments associated with the snippet content.").nullable().optional()
|
|
12
|
+
}).describe("Model representing the content structure of a snippet.");
|
|
13
|
+
const SupportbeeFetchSnippets_SnippetSchema = z.object({
|
|
14
|
+
id: z.number().int().describe("Unique ID of the snippet."),
|
|
15
|
+
name: z.string().describe("The name/title of the snippet.").nullable().optional(),
|
|
16
|
+
tags: z.string().describe("Comma-separated tags associated with the snippet.").nullable().optional(),
|
|
17
|
+
content: SupportbeeFetchSnippets_SnippetContentSchema.nullable().optional(),
|
|
18
|
+
team_id: z.number().int().describe("ID of the team to which the snippet belongs.").nullable().optional(),
|
|
19
|
+
position: z.number().int().describe("The position/order of the snippet in the list.").nullable().optional(),
|
|
20
|
+
created_at: z.string().describe("Creation timestamp in ISO 8601 format.").nullable().optional()
|
|
21
|
+
}).describe("Model representing a snippet in SupportBee.");
|
|
22
|
+
const supportbeeFetchSnippets = action("SUPPORTBEE_FETCH_SNIPPETS", {
|
|
23
|
+
slug: "supportbee-fetch-snippets",
|
|
24
|
+
name: "Fetch Snippets",
|
|
25
|
+
description: "Fetches saved response snippets (canned responses/templates) from SupportBee. Snippets are reusable text templates that can be inserted into ticket replies. Use this to list available snippets for quick responses.",
|
|
26
|
+
input: SupportbeeFetchSnippetsInput,
|
|
27
|
+
output: z.object({ snippets: z.array(SupportbeeFetchSnippets_SnippetSchema).describe("Array of snippet objects.") }).describe("Response model containing list of snippets.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { supportbeeFetchSnippets };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=fetch-snippets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-snippets.mjs","names":[],"sources":["../../src/actions/fetch-snippets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchSnippetsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page of results to fetch (default is 1).\").optional(),\n per_page: z.number().int().default(15).describe(\"Number of snippets per page (default is 15, max is 100).\").optional(),\n}).describe(\"Request model for fetching paginated snippets in SupportBee.\");\nconst SupportbeeFetchSnippets_SnippetContentSchema: z.ZodTypeAny = z.object({\n html: z.string().describe(\"HTML formatted content of the snippet.\").nullable().optional(),\n text: z.string().describe(\"Plain text content of the snippet.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"List of attachments associated with the snippet content.\").nullable().optional(),\n}).describe(\"Model representing the content structure of a snippet.\");\nconst SupportbeeFetchSnippets_SnippetSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the snippet.\"),\n name: z.string().describe(\"The name/title of the snippet.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tags associated with the snippet.\").nullable().optional(),\n content: SupportbeeFetchSnippets_SnippetContentSchema.nullable().optional(),\n team_id: z.number().int().describe(\"ID of the team to which the snippet belongs.\").nullable().optional(),\n position: z.number().int().describe(\"The position/order of the snippet in the list.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Model representing a snippet in SupportBee.\");\nexport const SupportbeeFetchSnippetsOutput: z.ZodTypeAny = z.object({\n snippets: z.array(SupportbeeFetchSnippets_SnippetSchema).describe(\"Array of snippet objects.\"),\n}).describe(\"Response model containing list of snippets.\");\n\nexport const supportbeeFetchSnippets = action(\"SUPPORTBEE_FETCH_SNIPPETS\", {\n slug: \"supportbee-fetch-snippets\",\n name: \"Fetch Snippets\",\n description: \"Fetches saved response snippets (canned responses/templates) from SupportBee. Snippets are reusable text templates that can be inserted into ticket replies. Use this to list available snippets for quick responses.\",\n input: SupportbeeFetchSnippetsInput,\n output: SupportbeeFetchSnippetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,+CAA6D,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2BAA2B,EAC/F,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-teams.ts
|
|
4
|
+
const SupportbeeFetchTeamsInput = zod.z.object({}).describe("Request model for fetching all teams in SupportBee.\nNo parameters required - retrieves all teams in the account.");
|
|
5
|
+
const SupportbeeFetchTeams_TeamModelSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the team"),
|
|
7
|
+
name: zod.z.string().describe("Name of the team").nullable().optional(),
|
|
8
|
+
created_at: zod.z.string().describe("Team creation timestamp (ISO 8601 format)").nullable().optional(),
|
|
9
|
+
updated_at: zod.z.string().describe("Team last update timestamp (ISO 8601 format)").nullable().optional(),
|
|
10
|
+
description: zod.z.string().describe("Description of the team").nullable().optional()
|
|
11
|
+
}).describe("Model representing a team in SupportBee.");
|
|
12
|
+
const SupportbeeFetchTeamsOutput = zod.z.object({ teams: zod.z.array(SupportbeeFetchTeams_TeamModelSchema).describe("List of teams in the company.") }).describe("Response model containing a list of teams.");
|
|
13
|
+
const supportbeeFetchTeams = require_action.action("SUPPORTBEE_FETCH_TEAMS", {
|
|
14
|
+
slug: "supportbee-fetch-teams",
|
|
15
|
+
name: "Fetch SupportBee Teams",
|
|
16
|
+
description: "Retrieves all teams in the SupportBee account. Use this to list available teams before assigning tickets to teams or filtering tickets by team. Returns team IDs, names, descriptions, and timestamps.",
|
|
17
|
+
input: SupportbeeFetchTeamsInput,
|
|
18
|
+
output: SupportbeeFetchTeamsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.supportbeeFetchTeams = supportbeeFetchTeams;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=fetch-teams.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-teams.cjs","names":["z","action"],"sources":["../../src/actions/fetch-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchTeamsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching all teams in SupportBee.\\nNo parameters required - retrieves all teams in the account.\");\nconst SupportbeeFetchTeams_TeamModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\"),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n created_at: z.string().describe(\"Team creation timestamp (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Team last update timestamp (ISO 8601 format)\").nullable().optional(),\n description: z.string().describe(\"Description of the team\").nullable().optional(),\n}).describe(\"Model representing a team in SupportBee.\");\nexport const SupportbeeFetchTeamsOutput: z.ZodTypeAny = z.object({\n teams: z.array(SupportbeeFetchTeams_TeamModelSchema).describe(\"List of teams in the company.\"),\n}).describe(\"Response model containing a list of teams.\");\n\nexport const supportbeeFetchTeams = action(\"SUPPORTBEE_FETCH_TEAMS\", {\n slug: \"supportbee-fetch-teams\",\n name: \"Fetch SupportBee Teams\",\n description: \"Retrieves all teams in the SupportBee account. Use this to list available teams before assigning tickets to teams or filtering tickets by team. Returns team IDs, names, descriptions, and timestamps.\",\n input: SupportbeeFetchTeamsInput,\n output: SupportbeeFetchTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAChM,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/fetch-teams.d.ts
|
|
4
|
+
declare const SupportbeeFetchTeamsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchTeamsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchTeams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchTeams };
|
|
9
|
+
//# sourceMappingURL=fetch-teams.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-teams.d.cts","names":[],"sources":["../../src/actions/fetch-teams.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAuJ;AAAA,cAQpL,0BAAA,EAA4B,CAAA,CAAE,UAEc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-teams.d.ts
|
|
4
|
+
declare const SupportbeeFetchTeamsInput: z.ZodTypeAny;
|
|
5
|
+
declare const SupportbeeFetchTeamsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const supportbeeFetchTeams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { supportbeeFetchTeams };
|
|
9
|
+
//# sourceMappingURL=fetch-teams.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-teams.d.mts","names":[],"sources":["../../src/actions/fetch-teams.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAuJ;AAAA,cAQpL,0BAAA,EAA4B,CAAA,CAAE,UAEc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-teams.ts
|
|
4
|
+
const SupportbeeFetchTeamsInput = z.object({}).describe("Request model for fetching all teams in SupportBee.\nNo parameters required - retrieves all teams in the account.");
|
|
5
|
+
const SupportbeeFetchTeams_TeamModelSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the team"),
|
|
7
|
+
name: z.string().describe("Name of the team").nullable().optional(),
|
|
8
|
+
created_at: z.string().describe("Team creation timestamp (ISO 8601 format)").nullable().optional(),
|
|
9
|
+
updated_at: z.string().describe("Team last update timestamp (ISO 8601 format)").nullable().optional(),
|
|
10
|
+
description: z.string().describe("Description of the team").nullable().optional()
|
|
11
|
+
}).describe("Model representing a team in SupportBee.");
|
|
12
|
+
const supportbeeFetchTeams = action("SUPPORTBEE_FETCH_TEAMS", {
|
|
13
|
+
slug: "supportbee-fetch-teams",
|
|
14
|
+
name: "Fetch SupportBee Teams",
|
|
15
|
+
description: "Retrieves all teams in the SupportBee account. Use this to list available teams before assigning tickets to teams or filtering tickets by team. Returns team IDs, names, descriptions, and timestamps.",
|
|
16
|
+
input: SupportbeeFetchTeamsInput,
|
|
17
|
+
output: z.object({ teams: z.array(SupportbeeFetchTeams_TeamModelSchema).describe("List of teams in the company.") }).describe("Response model containing a list of teams.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { supportbeeFetchTeams };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=fetch-teams.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-teams.mjs","names":[],"sources":["../../src/actions/fetch-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SupportbeeFetchTeamsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for fetching all teams in SupportBee.\\nNo parameters required - retrieves all teams in the account.\");\nconst SupportbeeFetchTeams_TeamModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\"),\n name: z.string().describe(\"Name of the team\").nullable().optional(),\n created_at: z.string().describe(\"Team creation timestamp (ISO 8601 format)\").nullable().optional(),\n updated_at: z.string().describe(\"Team last update timestamp (ISO 8601 format)\").nullable().optional(),\n description: z.string().describe(\"Description of the team\").nullable().optional(),\n}).describe(\"Model representing a team in SupportBee.\");\nexport const SupportbeeFetchTeamsOutput: z.ZodTypeAny = z.object({\n teams: z.array(SupportbeeFetchTeams_TeamModelSchema).describe(\"List of teams in the company.\"),\n}).describe(\"Response model containing a list of teams.\");\n\nexport const supportbeeFetchTeams = action(\"SUPPORTBEE_FETCH_TEAMS\", {\n slug: \"supportbee-fetch-teams\",\n name: \"Fetch SupportBee Teams\",\n description: \"Retrieves all teams in the SupportBee account. Use this to list available teams before assigning tickets to teams or filtering tickets by team. Returns team IDs, names, descriptions, and timestamps.\",\n input: SupportbeeFetchTeamsInput,\n output: SupportbeeFetchTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAChM,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|