@keystrokehq/freshdesk 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-note-to-ticket.cjs +1 -0
- package/dist/actions/add-note-to-ticket.cjs.map +1 -1
- package/dist/actions/add-note-to-ticket.d.cts +3 -21
- package/dist/actions/add-note-to-ticket.d.cts.map +1 -1
- package/dist/actions/add-note-to-ticket.d.mts +3 -21
- package/dist/actions/add-note-to-ticket.d.mts.map +1 -1
- package/dist/actions/add-note-to-ticket.mjs +1 -0
- package/dist/actions/add-note-to-ticket.mjs.map +1 -1
- package/dist/actions/add-ticket-user-access.cjs +1 -0
- package/dist/actions/add-ticket-user-access.cjs.map +1 -1
- package/dist/actions/add-ticket-user-access.d.cts +3 -18
- package/dist/actions/add-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/add-ticket-user-access.d.mts +3 -18
- package/dist/actions/add-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/add-ticket-user-access.mjs +1 -0
- package/dist/actions/add-ticket-user-access.mjs.map +1 -1
- package/dist/actions/add-watcher.cjs +1 -0
- package/dist/actions/add-watcher.cjs.map +1 -1
- package/dist/actions/add-watcher.d.cts +3 -17
- package/dist/actions/add-watcher.d.cts.map +1 -1
- package/dist/actions/add-watcher.d.mts +3 -17
- package/dist/actions/add-watcher.d.mts.map +1 -1
- package/dist/actions/add-watcher.mjs +1 -0
- package/dist/actions/add-watcher.mjs.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.cjs +1 -0
- package/dist/actions/bulk-unwatch-tickets.cjs.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.d.cts +3 -17
- package/dist/actions/bulk-unwatch-tickets.d.cts.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.d.mts +3 -17
- package/dist/actions/bulk-unwatch-tickets.d.mts.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.mjs +1 -0
- package/dist/actions/bulk-unwatch-tickets.mjs.map +1 -1
- package/dist/actions/bulk-update-tickets.cjs +1 -0
- package/dist/actions/bulk-update-tickets.cjs.map +1 -1
- package/dist/actions/bulk-update-tickets.d.cts +4 -31
- package/dist/actions/bulk-update-tickets.d.cts.map +1 -1
- package/dist/actions/bulk-update-tickets.d.mts +4 -31
- package/dist/actions/bulk-update-tickets.d.mts.map +1 -1
- package/dist/actions/bulk-update-tickets.mjs +1 -0
- package/dist/actions/bulk-update-tickets.mjs.map +1 -1
- package/dist/actions/cancel-contact-import.cjs +1 -0
- package/dist/actions/cancel-contact-import.cjs.map +1 -1
- package/dist/actions/cancel-contact-import.d.cts +3 -17
- package/dist/actions/cancel-contact-import.d.cts.map +1 -1
- package/dist/actions/cancel-contact-import.d.mts +3 -17
- package/dist/actions/cancel-contact-import.d.mts.map +1 -1
- package/dist/actions/cancel-contact-import.mjs +1 -0
- package/dist/actions/cancel-contact-import.mjs.map +1 -1
- package/dist/actions/create-admin-group.cjs +1 -0
- package/dist/actions/create-admin-group.cjs.map +1 -1
- package/dist/actions/create-admin-group.d.cts +3 -22
- package/dist/actions/create-admin-group.d.cts.map +1 -1
- package/dist/actions/create-admin-group.d.mts +3 -22
- package/dist/actions/create-admin-group.d.mts.map +1 -1
- package/dist/actions/create-admin-group.mjs +1 -0
- package/dist/actions/create-admin-group.mjs.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.cjs +1 -0
- package/dist/actions/create-admin-ticket-field-section.cjs.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.d.cts +3 -19
- package/dist/actions/create-admin-ticket-field-section.d.cts.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.d.mts +3 -19
- package/dist/actions/create-admin-ticket-field-section.d.mts.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.mjs +1 -0
- package/dist/actions/create-admin-ticket-field-section.mjs.map +1 -1
- package/dist/actions/create-admin-ticket-field.cjs +1 -0
- package/dist/actions/create-admin-ticket-field.cjs.map +1 -1
- package/dist/actions/create-admin-ticket-field.d.cts +3 -26
- package/dist/actions/create-admin-ticket-field.d.cts.map +1 -1
- package/dist/actions/create-admin-ticket-field.d.mts +3 -26
- package/dist/actions/create-admin-ticket-field.d.mts.map +1 -1
- package/dist/actions/create-admin-ticket-field.mjs +1 -0
- package/dist/actions/create-admin-ticket-field.mjs.map +1 -1
- package/dist/actions/create-admin.cjs +1 -0
- package/dist/actions/create-admin.cjs.map +1 -1
- package/dist/actions/create-admin.d.cts +3 -24
- package/dist/actions/create-admin.d.cts.map +1 -1
- package/dist/actions/create-admin.d.mts +3 -24
- package/dist/actions/create-admin.d.mts.map +1 -1
- package/dist/actions/create-admin.mjs +1 -0
- package/dist/actions/create-admin.mjs.map +1 -1
- package/dist/actions/create-agents.cjs +1 -0
- package/dist/actions/create-agents.cjs.map +1 -1
- package/dist/actions/create-agents.d.cts +3 -30
- package/dist/actions/create-agents.d.cts.map +1 -1
- package/dist/actions/create-agents.d.mts +3 -30
- package/dist/actions/create-agents.d.mts.map +1 -1
- package/dist/actions/create-agents.mjs +1 -0
- package/dist/actions/create-agents.mjs.map +1 -1
- package/dist/actions/create-canned-response-bulk.cjs +1 -0
- package/dist/actions/create-canned-response-bulk.cjs.map +1 -1
- package/dist/actions/create-canned-response-bulk.d.cts +3 -25
- package/dist/actions/create-canned-response-bulk.d.cts.map +1 -1
- package/dist/actions/create-canned-response-bulk.d.mts +3 -25
- package/dist/actions/create-canned-response-bulk.d.mts.map +1 -1
- package/dist/actions/create-canned-response-bulk.mjs +1 -0
- package/dist/actions/create-canned-response-bulk.mjs.map +1 -1
- package/dist/actions/create-canned-response-folder.cjs +1 -0
- package/dist/actions/create-canned-response-folder.cjs.map +1 -1
- package/dist/actions/create-canned-response-folder.d.cts +3 -17
- package/dist/actions/create-canned-response-folder.d.cts.map +1 -1
- package/dist/actions/create-canned-response-folder.d.mts +3 -17
- package/dist/actions/create-canned-response-folder.d.mts.map +1 -1
- package/dist/actions/create-canned-response-folder.mjs +1 -0
- package/dist/actions/create-canned-response-folder.mjs.map +1 -1
- package/dist/actions/create-canned-response.cjs +1 -0
- package/dist/actions/create-canned-response.cjs.map +1 -1
- package/dist/actions/create-canned-response.d.cts +3 -21
- package/dist/actions/create-canned-response.d.cts.map +1 -1
- package/dist/actions/create-canned-response.d.mts +3 -21
- package/dist/actions/create-canned-response.d.mts.map +1 -1
- package/dist/actions/create-canned-response.mjs +1 -0
- package/dist/actions/create-canned-response.mjs.map +1 -1
- package/dist/actions/create-companies.cjs +1 -0
- package/dist/actions/create-companies.cjs.map +1 -1
- package/dist/actions/create-companies.d.cts +3 -25
- package/dist/actions/create-companies.d.cts.map +1 -1
- package/dist/actions/create-companies.d.mts +3 -25
- package/dist/actions/create-companies.d.mts.map +1 -1
- package/dist/actions/create-companies.mjs +1 -0
- package/dist/actions/create-companies.mjs.map +1 -1
- package/dist/actions/create-contact-fields.cjs +1 -0
- package/dist/actions/create-contact-fields.cjs.map +1 -1
- package/dist/actions/create-contact-fields.d.cts +3 -34
- package/dist/actions/create-contact-fields.d.cts.map +1 -1
- package/dist/actions/create-contact-fields.d.mts +3 -34
- package/dist/actions/create-contact-fields.d.mts.map +1 -1
- package/dist/actions/create-contact-fields.mjs +1 -0
- package/dist/actions/create-contact-fields.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -34
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -34
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-discussion-category.cjs +1 -0
- package/dist/actions/create-discussion-category.cjs.map +1 -1
- package/dist/actions/create-discussion-category.d.cts +3 -18
- package/dist/actions/create-discussion-category.d.cts.map +1 -1
- package/dist/actions/create-discussion-category.d.mts +3 -18
- package/dist/actions/create-discussion-category.d.mts.map +1 -1
- package/dist/actions/create-discussion-category.mjs +1 -0
- package/dist/actions/create-discussion-category.mjs.map +1 -1
- package/dist/actions/create-discussion-forum-topic.cjs +1 -0
- package/dist/actions/create-discussion-forum-topic.cjs.map +1 -1
- package/dist/actions/create-discussion-forum-topic.d.cts +3 -21
- package/dist/actions/create-discussion-forum-topic.d.cts.map +1 -1
- package/dist/actions/create-discussion-forum-topic.d.mts +3 -21
- package/dist/actions/create-discussion-forum-topic.d.mts.map +1 -1
- package/dist/actions/create-discussion-forum-topic.mjs +1 -0
- package/dist/actions/create-discussion-forum-topic.mjs.map +1 -1
- package/dist/actions/create-discussion-topic-comment.cjs +1 -0
- package/dist/actions/create-discussion-topic-comment.cjs.map +1 -1
- package/dist/actions/create-discussion-topic-comment.d.cts +3 -18
- package/dist/actions/create-discussion-topic-comment.d.cts.map +1 -1
- package/dist/actions/create-discussion-topic-comment.d.mts +3 -18
- package/dist/actions/create-discussion-topic-comment.d.mts.map +1 -1
- package/dist/actions/create-discussion-topic-comment.mjs +1 -0
- package/dist/actions/create-discussion-topic-comment.mjs.map +1 -1
- package/dist/actions/create-email.cjs +1 -0
- package/dist/actions/create-email.cjs.map +1 -1
- package/dist/actions/create-email.d.cts +3 -22
- package/dist/actions/create-email.d.cts.map +1 -1
- package/dist/actions/create-email.d.mts +3 -22
- package/dist/actions/create-email.d.mts.map +1 -1
- package/dist/actions/create-email.mjs +1 -0
- package/dist/actions/create-email.mjs.map +1 -1
- package/dist/actions/create-forum.cjs +1 -0
- package/dist/actions/create-forum.cjs.map +1 -1
- package/dist/actions/create-forum.d.cts +3 -21
- package/dist/actions/create-forum.d.cts.map +1 -1
- package/dist/actions/create-forum.d.mts +3 -21
- package/dist/actions/create-forum.d.mts.map +1 -1
- package/dist/actions/create-forum.mjs +1 -0
- package/dist/actions/create-forum.mjs.map +1 -1
- package/dist/actions/create-sla-policies.cjs +1 -0
- package/dist/actions/create-sla-policies.cjs.map +1 -1
- package/dist/actions/create-sla-policies.d.cts +4 -51
- package/dist/actions/create-sla-policies.d.cts.map +1 -1
- package/dist/actions/create-sla-policies.d.mts +4 -51
- package/dist/actions/create-sla-policies.d.mts.map +1 -1
- package/dist/actions/create-sla-policies.mjs +1 -0
- package/dist/actions/create-sla-policies.mjs.map +1 -1
- package/dist/actions/create-solution-article.cjs +1 -0
- package/dist/actions/create-solution-article.cjs.map +1 -1
- package/dist/actions/create-solution-article.d.cts +3 -27
- package/dist/actions/create-solution-article.d.cts.map +1 -1
- package/dist/actions/create-solution-article.d.mts +3 -27
- package/dist/actions/create-solution-article.d.mts.map +1 -1
- package/dist/actions/create-solution-article.mjs +1 -0
- package/dist/actions/create-solution-article.mjs.map +1 -1
- package/dist/actions/create-solution-category.cjs +1 -0
- package/dist/actions/create-solution-category.cjs.map +1 -1
- package/dist/actions/create-solution-category.d.cts +3 -19
- package/dist/actions/create-solution-category.d.cts.map +1 -1
- package/dist/actions/create-solution-category.d.mts +3 -19
- package/dist/actions/create-solution-category.d.mts.map +1 -1
- package/dist/actions/create-solution-category.mjs +1 -0
- package/dist/actions/create-solution-category.mjs.map +1 -1
- package/dist/actions/create-ticket-forms.cjs +1 -0
- package/dist/actions/create-ticket-forms.cjs.map +1 -1
- package/dist/actions/create-ticket-forms.d.cts +3 -29
- package/dist/actions/create-ticket-forms.d.cts.map +1 -1
- package/dist/actions/create-ticket-forms.d.mts +3 -29
- package/dist/actions/create-ticket-forms.d.mts.map +1 -1
- package/dist/actions/create-ticket-forms.mjs +1 -0
- package/dist/actions/create-ticket-forms.mjs.map +1 -1
- package/dist/actions/create-ticket-outbound-email.cjs +1 -0
- package/dist/actions/create-ticket-outbound-email.cjs.map +1 -1
- package/dist/actions/create-ticket-outbound-email.d.cts +4 -22
- package/dist/actions/create-ticket-outbound-email.d.cts.map +1 -1
- package/dist/actions/create-ticket-outbound-email.d.mts +4 -22
- package/dist/actions/create-ticket-outbound-email.d.mts.map +1 -1
- package/dist/actions/create-ticket-outbound-email.mjs +1 -0
- package/dist/actions/create-ticket-outbound-email.mjs.map +1 -1
- package/dist/actions/create-ticket-time-entry.cjs +1 -0
- package/dist/actions/create-ticket-time-entry.cjs.map +1 -1
- package/dist/actions/create-ticket-time-entry.d.cts +3 -23
- package/dist/actions/create-ticket-time-entry.d.cts.map +1 -1
- package/dist/actions/create-ticket-time-entry.d.mts +3 -23
- package/dist/actions/create-ticket-time-entry.d.mts.map +1 -1
- package/dist/actions/create-ticket-time-entry.mjs +1 -0
- package/dist/actions/create-ticket-time-entry.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +1 -0
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +5 -44
- package/dist/actions/create-ticket.d.cts.map +1 -1
- package/dist/actions/create-ticket.d.mts +5 -44
- package/dist/actions/create-ticket.d.mts.map +1 -1
- package/dist/actions/create-ticket.mjs +1 -0
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/create-translated-solution-category.cjs +1 -0
- package/dist/actions/create-translated-solution-category.cjs.map +1 -1
- package/dist/actions/create-translated-solution-category.d.cts +3 -20
- package/dist/actions/create-translated-solution-category.d.cts.map +1 -1
- package/dist/actions/create-translated-solution-category.d.mts +3 -20
- package/dist/actions/create-translated-solution-category.d.mts.map +1 -1
- package/dist/actions/create-translated-solution-category.mjs +1 -0
- package/dist/actions/create-translated-solution-category.mjs.map +1 -1
- package/dist/actions/currently-authenticated-agent.cjs +1 -0
- package/dist/actions/currently-authenticated-agent.cjs.map +1 -1
- package/dist/actions/currently-authenticated-agent.d.cts +3 -15
- package/dist/actions/currently-authenticated-agent.d.cts.map +1 -1
- package/dist/actions/currently-authenticated-agent.d.mts +3 -15
- package/dist/actions/currently-authenticated-agent.d.mts.map +1 -1
- package/dist/actions/currently-authenticated-agent.mjs +1 -0
- package/dist/actions/currently-authenticated-agent.mjs.map +1 -1
- package/dist/actions/delete-admin-group.cjs +1 -0
- package/dist/actions/delete-admin-group.cjs.map +1 -1
- package/dist/actions/delete-admin-group.d.cts +3 -17
- package/dist/actions/delete-admin-group.d.cts.map +1 -1
- package/dist/actions/delete-admin-group.d.mts +3 -17
- package/dist/actions/delete-admin-group.d.mts.map +1 -1
- package/dist/actions/delete-admin-group.mjs +1 -0
- package/dist/actions/delete-admin-group.mjs.map +1 -1
- package/dist/actions/delete-agent.cjs +1 -0
- package/dist/actions/delete-agent.cjs.map +1 -1
- package/dist/actions/delete-agent.d.cts +3 -17
- package/dist/actions/delete-agent.d.cts.map +1 -1
- package/dist/actions/delete-agent.d.mts +3 -17
- package/dist/actions/delete-agent.d.mts.map +1 -1
- package/dist/actions/delete-agent.mjs +1 -0
- package/dist/actions/delete-agent.mjs.map +1 -1
- package/dist/actions/delete-automation-rule.cjs +1 -0
- package/dist/actions/delete-automation-rule.cjs.map +1 -1
- package/dist/actions/delete-automation-rule.d.cts +3 -18
- package/dist/actions/delete-automation-rule.d.cts.map +1 -1
- package/dist/actions/delete-automation-rule.d.mts +3 -18
- package/dist/actions/delete-automation-rule.d.mts.map +1 -1
- package/dist/actions/delete-automation-rule.mjs +1 -0
- package/dist/actions/delete-automation-rule.mjs.map +1 -1
- package/dist/actions/delete-company-field.cjs +1 -0
- package/dist/actions/delete-company-field.cjs.map +1 -1
- package/dist/actions/delete-company-field.d.cts +3 -17
- package/dist/actions/delete-company-field.d.cts.map +1 -1
- package/dist/actions/delete-company-field.d.mts +3 -17
- package/dist/actions/delete-company-field.d.mts.map +1 -1
- package/dist/actions/delete-company-field.mjs +1 -0
- package/dist/actions/delete-company-field.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -0
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +3 -17
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +3 -17
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +1 -0
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-contact-field.cjs +1 -0
- package/dist/actions/delete-contact-field.cjs.map +1 -1
- package/dist/actions/delete-contact-field.d.cts +3 -17
- package/dist/actions/delete-contact-field.d.cts.map +1 -1
- package/dist/actions/delete-contact-field.d.mts +3 -17
- package/dist/actions/delete-contact-field.d.mts.map +1 -1
- package/dist/actions/delete-contact-field.mjs +1 -0
- package/dist/actions/delete-contact-field.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -17
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -17
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs +1 -0
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +3 -17
- package/dist/actions/delete-conversation.d.cts.map +1 -1
- package/dist/actions/delete-conversation.d.mts +3 -17
- package/dist/actions/delete-conversation.d.mts.map +1 -1
- package/dist/actions/delete-conversation.mjs +1 -0
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-discussion-category.cjs +1 -0
- package/dist/actions/delete-discussion-category.cjs.map +1 -1
- package/dist/actions/delete-discussion-category.d.cts +3 -17
- package/dist/actions/delete-discussion-category.d.cts.map +1 -1
- package/dist/actions/delete-discussion-category.d.mts +3 -17
- package/dist/actions/delete-discussion-category.d.mts.map +1 -1
- package/dist/actions/delete-discussion-category.mjs +1 -0
- package/dist/actions/delete-discussion-category.mjs.map +1 -1
- package/dist/actions/delete-discussion-comment.cjs +1 -0
- package/dist/actions/delete-discussion-comment.cjs.map +1 -1
- package/dist/actions/delete-discussion-comment.d.cts +3 -17
- package/dist/actions/delete-discussion-comment.d.cts.map +1 -1
- package/dist/actions/delete-discussion-comment.d.mts +3 -17
- package/dist/actions/delete-discussion-comment.d.mts.map +1 -1
- package/dist/actions/delete-discussion-comment.mjs +1 -0
- package/dist/actions/delete-discussion-comment.mjs.map +1 -1
- package/dist/actions/delete-discussion-forum.cjs +1 -0
- package/dist/actions/delete-discussion-forum.cjs.map +1 -1
- package/dist/actions/delete-discussion-forum.d.cts +3 -17
- package/dist/actions/delete-discussion-forum.d.cts.map +1 -1
- package/dist/actions/delete-discussion-forum.d.mts +3 -17
- package/dist/actions/delete-discussion-forum.d.mts.map +1 -1
- package/dist/actions/delete-discussion-forum.mjs +1 -0
- package/dist/actions/delete-discussion-forum.mjs.map +1 -1
- package/dist/actions/delete-discussion-topic.cjs +1 -0
- package/dist/actions/delete-discussion-topic.cjs.map +1 -1
- package/dist/actions/delete-discussion-topic.d.cts +3 -17
- package/dist/actions/delete-discussion-topic.d.cts.map +1 -1
- package/dist/actions/delete-discussion-topic.d.mts +3 -17
- package/dist/actions/delete-discussion-topic.d.mts.map +1 -1
- package/dist/actions/delete-discussion-topic.mjs +1 -0
- package/dist/actions/delete-discussion-topic.mjs.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.cjs +1 -0
- package/dist/actions/delete-discussions-forums-follow.cjs.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.d.cts +3 -18
- package/dist/actions/delete-discussions-forums-follow.d.cts.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.d.mts +3 -18
- package/dist/actions/delete-discussions-forums-follow.d.mts.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.mjs +1 -0
- package/dist/actions/delete-discussions-forums-follow.mjs.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.cjs +1 -0
- package/dist/actions/delete-discussions-topics-follow.cjs.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.d.cts +3 -18
- package/dist/actions/delete-discussions-topics-follow.d.cts.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.d.mts +3 -18
- package/dist/actions/delete-discussions-topics-follow.d.mts.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.mjs +1 -0
- package/dist/actions/delete-discussions-topics-follow.mjs.map +1 -1
- package/dist/actions/delete-email-mailboxes.cjs +1 -0
- package/dist/actions/delete-email-mailboxes.cjs.map +1 -1
- package/dist/actions/delete-email-mailboxes.d.cts +3 -17
- package/dist/actions/delete-email-mailboxes.d.cts.map +1 -1
- package/dist/actions/delete-email-mailboxes.d.mts +3 -17
- package/dist/actions/delete-email-mailboxes.d.mts.map +1 -1
- package/dist/actions/delete-email-mailboxes.mjs +1 -0
- package/dist/actions/delete-email-mailboxes.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -17
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -17
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-multiple-tickets.cjs +1 -0
- package/dist/actions/delete-multiple-tickets.cjs.map +1 -1
- package/dist/actions/delete-multiple-tickets.d.cts +3 -17
- package/dist/actions/delete-multiple-tickets.d.cts.map +1 -1
- package/dist/actions/delete-multiple-tickets.d.mts +3 -17
- package/dist/actions/delete-multiple-tickets.d.mts.map +1 -1
- package/dist/actions/delete-multiple-tickets.mjs +1 -0
- package/dist/actions/delete-multiple-tickets.mjs.map +1 -1
- package/dist/actions/delete-section.cjs +1 -0
- package/dist/actions/delete-section.cjs.map +1 -1
- package/dist/actions/delete-section.d.cts +3 -18
- package/dist/actions/delete-section.d.cts.map +1 -1
- package/dist/actions/delete-section.d.mts +3 -18
- package/dist/actions/delete-section.d.mts.map +1 -1
- package/dist/actions/delete-section.mjs +1 -0
- package/dist/actions/delete-section.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +1 -0
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +3 -17
- package/dist/actions/delete-skill.d.cts.map +1 -1
- package/dist/actions/delete-skill.d.mts +3 -17
- package/dist/actions/delete-skill.d.mts.map +1 -1
- package/dist/actions/delete-skill.mjs +1 -0
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-solution-article.cjs +1 -0
- package/dist/actions/delete-solution-article.cjs.map +1 -1
- package/dist/actions/delete-solution-article.d.cts +3 -17
- package/dist/actions/delete-solution-article.d.cts.map +1 -1
- package/dist/actions/delete-solution-article.d.mts +3 -17
- package/dist/actions/delete-solution-article.d.mts.map +1 -1
- package/dist/actions/delete-solution-article.mjs +1 -0
- package/dist/actions/delete-solution-article.mjs.map +1 -1
- package/dist/actions/delete-solution-category.cjs +1 -0
- package/dist/actions/delete-solution-category.cjs.map +1 -1
- package/dist/actions/delete-solution-category.d.cts +3 -17
- package/dist/actions/delete-solution-category.d.cts.map +1 -1
- package/dist/actions/delete-solution-category.d.mts +3 -17
- package/dist/actions/delete-solution-category.d.mts.map +1 -1
- package/dist/actions/delete-solution-category.mjs +1 -0
- package/dist/actions/delete-solution-category.mjs.map +1 -1
- package/dist/actions/delete-solution-folder.cjs +1 -0
- package/dist/actions/delete-solution-folder.cjs.map +1 -1
- package/dist/actions/delete-solution-folder.d.cts +3 -17
- package/dist/actions/delete-solution-folder.d.cts.map +1 -1
- package/dist/actions/delete-solution-folder.d.mts +3 -17
- package/dist/actions/delete-solution-folder.d.mts.map +1 -1
- package/dist/actions/delete-solution-folder.mjs +1 -0
- package/dist/actions/delete-solution-folder.mjs.map +1 -1
- package/dist/actions/delete-ticket-field.cjs +1 -0
- package/dist/actions/delete-ticket-field.cjs.map +1 -1
- package/dist/actions/delete-ticket-field.d.cts +3 -17
- package/dist/actions/delete-ticket-field.d.cts.map +1 -1
- package/dist/actions/delete-ticket-field.d.mts +3 -17
- package/dist/actions/delete-ticket-field.d.mts.map +1 -1
- package/dist/actions/delete-ticket-field.mjs +1 -0
- package/dist/actions/delete-ticket-field.mjs.map +1 -1
- package/dist/actions/delete-ticket-form.cjs +1 -0
- package/dist/actions/delete-ticket-form.cjs.map +1 -1
- package/dist/actions/delete-ticket-form.d.cts +3 -17
- package/dist/actions/delete-ticket-form.d.cts.map +1 -1
- package/dist/actions/delete-ticket-form.d.mts +3 -17
- package/dist/actions/delete-ticket-form.d.mts.map +1 -1
- package/dist/actions/delete-ticket-form.mjs +1 -0
- package/dist/actions/delete-ticket-form.mjs.map +1 -1
- package/dist/actions/delete-ticket-forms.cjs +1 -0
- package/dist/actions/delete-ticket-forms.cjs.map +1 -1
- package/dist/actions/delete-ticket-forms.d.cts +3 -18
- package/dist/actions/delete-ticket-forms.d.cts.map +1 -1
- package/dist/actions/delete-ticket-forms.d.mts +3 -18
- package/dist/actions/delete-ticket-forms.d.mts.map +1 -1
- package/dist/actions/delete-ticket-forms.mjs +1 -0
- package/dist/actions/delete-ticket-forms.mjs.map +1 -1
- package/dist/actions/delete-ticket-summary.cjs +1 -0
- package/dist/actions/delete-ticket-summary.cjs.map +1 -1
- package/dist/actions/delete-ticket-summary.d.cts +3 -17
- package/dist/actions/delete-ticket-summary.d.cts.map +1 -1
- package/dist/actions/delete-ticket-summary.d.mts +3 -17
- package/dist/actions/delete-ticket-summary.d.mts.map +1 -1
- package/dist/actions/delete-ticket-summary.mjs +1 -0
- package/dist/actions/delete-ticket-summary.mjs.map +1 -1
- package/dist/actions/delete-ticket-user-access.cjs +1 -0
- package/dist/actions/delete-ticket-user-access.cjs.map +1 -1
- package/dist/actions/delete-ticket-user-access.d.cts +3 -17
- package/dist/actions/delete-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/delete-ticket-user-access.d.mts +3 -17
- package/dist/actions/delete-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/delete-ticket-user-access.mjs +1 -0
- package/dist/actions/delete-ticket-user-access.mjs.map +1 -1
- package/dist/actions/delete-ticket.cjs +1 -0
- package/dist/actions/delete-ticket.cjs.map +1 -1
- package/dist/actions/delete-ticket.d.cts +3 -17
- package/dist/actions/delete-ticket.d.cts.map +1 -1
- package/dist/actions/delete-ticket.d.mts +3 -17
- package/dist/actions/delete-ticket.d.mts.map +1 -1
- package/dist/actions/delete-ticket.mjs +1 -0
- package/dist/actions/delete-ticket.mjs.map +1 -1
- package/dist/actions/delete-time-entry.cjs +1 -0
- package/dist/actions/delete-time-entry.cjs.map +1 -1
- package/dist/actions/delete-time-entry.d.cts +3 -17
- package/dist/actions/delete-time-entry.d.cts.map +1 -1
- package/dist/actions/delete-time-entry.d.mts +3 -17
- package/dist/actions/delete-time-entry.d.mts.map +1 -1
- package/dist/actions/delete-time-entry.mjs +1 -0
- package/dist/actions/delete-time-entry.mjs.map +1 -1
- package/dist/actions/export-contacts.cjs +1 -0
- package/dist/actions/export-contacts.cjs.map +1 -1
- package/dist/actions/export-contacts.d.cts +3 -20
- package/dist/actions/export-contacts.d.cts.map +1 -1
- package/dist/actions/export-contacts.d.mts +3 -20
- package/dist/actions/export-contacts.d.mts.map +1 -1
- package/dist/actions/export-contacts.mjs +1 -0
- package/dist/actions/export-contacts.mjs.map +1 -1
- package/dist/actions/get-account.cjs +1 -0
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +3 -15
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +3 -15
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +1 -0
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-agent-availability.cjs +1 -0
- package/dist/actions/get-agent-availability.cjs.map +1 -1
- package/dist/actions/get-agent-availability.d.cts +3 -17
- package/dist/actions/get-agent-availability.d.cts.map +1 -1
- package/dist/actions/get-agent-availability.d.mts +3 -17
- package/dist/actions/get-agent-availability.d.mts.map +1 -1
- package/dist/actions/get-agent-availability.mjs +1 -0
- package/dist/actions/get-agent-availability.mjs.map +1 -1
- package/dist/actions/get-agent.cjs +1 -0
- package/dist/actions/get-agent.cjs.map +1 -1
- package/dist/actions/get-agent.d.cts +3 -17
- package/dist/actions/get-agent.d.cts.map +1 -1
- package/dist/actions/get-agent.d.mts +3 -17
- package/dist/actions/get-agent.d.mts.map +1 -1
- package/dist/actions/get-agent.mjs +1 -0
- package/dist/actions/get-agent.mjs.map +1 -1
- package/dist/actions/get-agents.cjs +1 -0
- package/dist/actions/get-agents.cjs.map +1 -1
- package/dist/actions/get-agents.d.cts +3 -17
- package/dist/actions/get-agents.d.cts.map +1 -1
- package/dist/actions/get-agents.d.mts +3 -17
- package/dist/actions/get-agents.d.mts.map +1 -1
- package/dist/actions/get-agents.mjs +1 -0
- package/dist/actions/get-agents.mjs.map +1 -1
- package/dist/actions/get-business-hours.cjs +1 -0
- package/dist/actions/get-business-hours.cjs.map +1 -1
- package/dist/actions/get-business-hours.d.cts +3 -15
- package/dist/actions/get-business-hours.d.cts.map +1 -1
- package/dist/actions/get-business-hours.d.mts +3 -15
- package/dist/actions/get-business-hours.d.mts.map +1 -1
- package/dist/actions/get-business-hours.mjs +1 -0
- package/dist/actions/get-business-hours.mjs.map +1 -1
- package/dist/actions/get-canned-response-folders.cjs +1 -0
- package/dist/actions/get-canned-response-folders.cjs.map +1 -1
- package/dist/actions/get-canned-response-folders.d.cts +3 -15
- package/dist/actions/get-canned-response-folders.d.cts.map +1 -1
- package/dist/actions/get-canned-response-folders.d.mts +3 -15
- package/dist/actions/get-canned-response-folders.d.mts.map +1 -1
- package/dist/actions/get-canned-response-folders.mjs +1 -0
- package/dist/actions/get-canned-response-folders.mjs.map +1 -1
- package/dist/actions/get-companies.cjs +1 -0
- package/dist/actions/get-companies.cjs.map +1 -1
- package/dist/actions/get-companies.d.cts +3 -18
- package/dist/actions/get-companies.d.cts.map +1 -1
- package/dist/actions/get-companies.d.mts +3 -18
- package/dist/actions/get-companies.d.mts.map +1 -1
- package/dist/actions/get-companies.mjs +1 -0
- package/dist/actions/get-companies.mjs.map +1 -1
- package/dist/actions/get-company-fields.cjs +1 -0
- package/dist/actions/get-company-fields.cjs.map +1 -1
- package/dist/actions/get-company-fields.d.cts +3 -15
- package/dist/actions/get-company-fields.d.cts.map +1 -1
- package/dist/actions/get-company-fields.d.mts +3 -15
- package/dist/actions/get-company-fields.d.mts.map +1 -1
- package/dist/actions/get-company-fields.mjs +1 -0
- package/dist/actions/get-company-fields.mjs.map +1 -1
- package/dist/actions/get-company.cjs +1 -0
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +3 -17
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +3 -17
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +1 -0
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +1 -0
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +3 -15
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +3 -15
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +1 -0
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -17
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -17
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +1 -0
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +3 -24
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +3 -24
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +1 -0
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-discussion-category.cjs +1 -0
- package/dist/actions/get-discussion-category.cjs.map +1 -1
- package/dist/actions/get-discussion-category.d.cts +3 -17
- package/dist/actions/get-discussion-category.d.cts.map +1 -1
- package/dist/actions/get-discussion-category.d.mts +3 -17
- package/dist/actions/get-discussion-category.d.mts.map +1 -1
- package/dist/actions/get-discussion-category.mjs +1 -0
- package/dist/actions/get-discussion-category.mjs.map +1 -1
- package/dist/actions/get-discussion-topic.cjs +1 -0
- package/dist/actions/get-discussion-topic.cjs.map +1 -1
- package/dist/actions/get-discussion-topic.d.cts +3 -17
- package/dist/actions/get-discussion-topic.d.cts.map +1 -1
- package/dist/actions/get-discussion-topic.d.mts +3 -17
- package/dist/actions/get-discussion-topic.d.mts.map +1 -1
- package/dist/actions/get-discussion-topic.mjs +1 -0
- package/dist/actions/get-discussion-topic.mjs.map +1 -1
- package/dist/actions/get-email-mailbox.cjs +1 -0
- package/dist/actions/get-email-mailbox.cjs.map +1 -1
- package/dist/actions/get-email-mailbox.d.cts +3 -17
- package/dist/actions/get-email-mailbox.d.cts.map +1 -1
- package/dist/actions/get-email-mailbox.d.mts +3 -17
- package/dist/actions/get-email-mailbox.d.mts.map +1 -1
- package/dist/actions/get-email-mailbox.mjs +1 -0
- package/dist/actions/get-email-mailbox.mjs.map +1 -1
- package/dist/actions/get-folder-responses.cjs +1 -0
- package/dist/actions/get-folder-responses.cjs.map +1 -1
- package/dist/actions/get-folder-responses.d.cts +3 -17
- package/dist/actions/get-folder-responses.d.cts.map +1 -1
- package/dist/actions/get-folder-responses.d.mts +3 -17
- package/dist/actions/get-folder-responses.d.mts.map +1 -1
- package/dist/actions/get-folder-responses.mjs +1 -0
- package/dist/actions/get-folder-responses.mjs.map +1 -1
- package/dist/actions/get-imported-contacts.cjs +1 -0
- package/dist/actions/get-imported-contacts.cjs.map +1 -1
- package/dist/actions/get-imported-contacts.d.cts +3 -17
- package/dist/actions/get-imported-contacts.d.cts.map +1 -1
- package/dist/actions/get-imported-contacts.d.mts +3 -17
- package/dist/actions/get-imported-contacts.d.mts.map +1 -1
- package/dist/actions/get-imported-contacts.mjs +1 -0
- package/dist/actions/get-imported-contacts.mjs.map +1 -1
- package/dist/actions/get-job.cjs +1 -0
- package/dist/actions/get-job.cjs.map +1 -1
- package/dist/actions/get-job.d.cts +3 -17
- package/dist/actions/get-job.d.cts.map +1 -1
- package/dist/actions/get-job.d.mts +3 -17
- package/dist/actions/get-job.d.mts.map +1 -1
- package/dist/actions/get-job.mjs +1 -0
- package/dist/actions/get-job.mjs.map +1 -1
- package/dist/actions/get-scenario-automations-json.cjs +1 -0
- package/dist/actions/get-scenario-automations-json.cjs.map +1 -1
- package/dist/actions/get-scenario-automations-json.d.cts +3 -15
- package/dist/actions/get-scenario-automations-json.d.cts.map +1 -1
- package/dist/actions/get-scenario-automations-json.d.mts +3 -15
- package/dist/actions/get-scenario-automations-json.d.mts.map +1 -1
- package/dist/actions/get-scenario-automations-json.mjs +1 -0
- package/dist/actions/get-scenario-automations-json.mjs.map +1 -1
- package/dist/actions/get-search.cjs +1 -0
- package/dist/actions/get-search.cjs.map +1 -1
- package/dist/actions/get-search.d.cts +3 -18
- package/dist/actions/get-search.d.cts.map +1 -1
- package/dist/actions/get-search.d.mts +3 -18
- package/dist/actions/get-search.d.mts.map +1 -1
- package/dist/actions/get-search.mjs +1 -0
- package/dist/actions/get-search.mjs.map +1 -1
- package/dist/actions/get-ticket-time-entries.cjs +1 -0
- package/dist/actions/get-ticket-time-entries.cjs.map +1 -1
- package/dist/actions/get-ticket-time-entries.d.cts +3 -18
- package/dist/actions/get-ticket-time-entries.d.cts.map +1 -1
- package/dist/actions/get-ticket-time-entries.d.mts +3 -18
- package/dist/actions/get-ticket-time-entries.d.mts.map +1 -1
- package/dist/actions/get-ticket-time-entries.mjs +1 -0
- package/dist/actions/get-ticket-time-entries.mjs.map +1 -1
- package/dist/actions/get-ticket-user-access.cjs +1 -0
- package/dist/actions/get-ticket-user-access.cjs.map +1 -1
- package/dist/actions/get-ticket-user-access.d.cts +3 -17
- package/dist/actions/get-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/get-ticket-user-access.d.mts +3 -17
- package/dist/actions/get-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/get-ticket-user-access.mjs +1 -0
- package/dist/actions/get-ticket-user-access.mjs.map +1 -1
- package/dist/actions/get-tickets.cjs +1 -0
- package/dist/actions/get-tickets.cjs.map +1 -1
- package/dist/actions/get-tickets.d.cts +4 -28
- package/dist/actions/get-tickets.d.cts.map +1 -1
- package/dist/actions/get-tickets.d.mts +4 -28
- package/dist/actions/get-tickets.d.mts.map +1 -1
- package/dist/actions/get-tickets.mjs +1 -0
- package/dist/actions/get-tickets.mjs.map +1 -1
- package/dist/actions/get-translated-solution-category.cjs +1 -0
- package/dist/actions/get-translated-solution-category.cjs.map +1 -1
- package/dist/actions/get-translated-solution-category.d.cts +3 -18
- package/dist/actions/get-translated-solution-category.d.cts.map +1 -1
- package/dist/actions/get-translated-solution-category.d.mts +3 -18
- package/dist/actions/get-translated-solution-category.d.mts.map +1 -1
- package/dist/actions/get-translated-solution-category.mjs +1 -0
- package/dist/actions/get-translated-solution-category.mjs.map +1 -1
- package/dist/actions/hard-delete-contact.cjs +1 -0
- package/dist/actions/hard-delete-contact.cjs.map +1 -1
- package/dist/actions/hard-delete-contact.d.cts +3 -18
- package/dist/actions/hard-delete-contact.d.cts.map +1 -1
- package/dist/actions/hard-delete-contact.d.mts +3 -18
- package/dist/actions/hard-delete-contact.d.mts.map +1 -1
- package/dist/actions/hard-delete-contact.mjs +1 -0
- package/dist/actions/hard-delete-contact.mjs.map +1 -1
- package/dist/actions/import-contact.cjs +1 -0
- package/dist/actions/import-contact.cjs.map +1 -1
- package/dist/actions/import-contact.d.cts +3 -28
- package/dist/actions/import-contact.d.cts.map +1 -1
- package/dist/actions/import-contact.d.mts +3 -28
- package/dist/actions/import-contact.d.mts.map +1 -1
- package/dist/actions/import-contact.mjs +1 -0
- package/dist/actions/import-contact.mjs.map +1 -1
- package/dist/actions/list-admin-groups.cjs +1 -0
- package/dist/actions/list-admin-groups.cjs.map +1 -1
- package/dist/actions/list-admin-groups.d.cts +3 -18
- package/dist/actions/list-admin-groups.d.cts.map +1 -1
- package/dist/actions/list-admin-groups.d.mts +3 -18
- package/dist/actions/list-admin-groups.d.mts.map +1 -1
- package/dist/actions/list-admin-groups.mjs +1 -0
- package/dist/actions/list-admin-groups.mjs.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.cjs +1 -0
- package/dist/actions/list-all-agents-in-a-group.cjs.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.d.cts +3 -17
- package/dist/actions/list-all-agents-in-a-group.d.cts.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.d.mts +3 -17
- package/dist/actions/list-all-agents-in-a-group.d.mts.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.mjs +1 -0
- package/dist/actions/list-all-agents-in-a-group.mjs.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.cjs +1 -0
- package/dist/actions/list-all-sections-for-ticket-field.cjs.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.d.cts +3 -17
- package/dist/actions/list-all-sections-for-ticket-field.d.cts.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.d.mts +3 -17
- package/dist/actions/list-all-sections-for-ticket-field.d.mts.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.mjs +1 -0
- package/dist/actions/list-all-sections-for-ticket-field.mjs.map +1 -1
- package/dist/actions/list-all-skills.cjs +1 -0
- package/dist/actions/list-all-skills.cjs.map +1 -1
- package/dist/actions/list-all-skills.d.cts +3 -15
- package/dist/actions/list-all-skills.d.cts.map +1 -1
- package/dist/actions/list-all-skills.d.mts +3 -15
- package/dist/actions/list-all-skills.d.mts.map +1 -1
- package/dist/actions/list-all-skills.mjs +1 -0
- package/dist/actions/list-all-skills.mjs.map +1 -1
- package/dist/actions/list-all-ticket-conversations.cjs +1 -0
- package/dist/actions/list-all-ticket-conversations.cjs.map +1 -1
- package/dist/actions/list-all-ticket-conversations.d.cts +3 -19
- package/dist/actions/list-all-ticket-conversations.d.cts.map +1 -1
- package/dist/actions/list-all-ticket-conversations.d.mts +3 -19
- package/dist/actions/list-all-ticket-conversations.d.mts.map +1 -1
- package/dist/actions/list-all-ticket-conversations.mjs +1 -0
- package/dist/actions/list-all-ticket-conversations.mjs.map +1 -1
- package/dist/actions/list-automation-rules.cjs +1 -0
- package/dist/actions/list-automation-rules.cjs.map +1 -1
- package/dist/actions/list-automation-rules.d.cts +3 -17
- package/dist/actions/list-automation-rules.d.cts.map +1 -1
- package/dist/actions/list-automation-rules.d.mts +3 -17
- package/dist/actions/list-automation-rules.d.mts.map +1 -1
- package/dist/actions/list-automation-rules.mjs +1 -0
- package/dist/actions/list-automation-rules.mjs.map +1 -1
- package/dist/actions/list-discussions-topics.cjs +1 -0
- package/dist/actions/list-discussions-topics.cjs.map +1 -1
- package/dist/actions/list-discussions-topics.d.cts +3 -19
- package/dist/actions/list-discussions-topics.d.cts.map +1 -1
- package/dist/actions/list-discussions-topics.d.mts +3 -19
- package/dist/actions/list-discussions-topics.d.mts.map +1 -1
- package/dist/actions/list-discussions-topics.mjs +1 -0
- package/dist/actions/list-discussions-topics.mjs.map +1 -1
- package/dist/actions/list-discussions.cjs +1 -0
- package/dist/actions/list-discussions.cjs.map +1 -1
- package/dist/actions/list-discussions.d.cts +3 -17
- package/dist/actions/list-discussions.d.cts.map +1 -1
- package/dist/actions/list-discussions.d.mts +3 -17
- package/dist/actions/list-discussions.d.mts.map +1 -1
- package/dist/actions/list-discussions.mjs +1 -0
- package/dist/actions/list-discussions.mjs.map +1 -1
- package/dist/actions/list-email-configs.cjs +1 -0
- package/dist/actions/list-email-configs.cjs.map +1 -1
- package/dist/actions/list-email-configs.d.cts +3 -15
- package/dist/actions/list-email-configs.d.cts.map +1 -1
- package/dist/actions/list-email-configs.d.mts +3 -15
- package/dist/actions/list-email-configs.d.mts.map +1 -1
- package/dist/actions/list-email-configs.mjs +1 -0
- package/dist/actions/list-email-configs.mjs.map +1 -1
- package/dist/actions/list-email.cjs +1 -0
- package/dist/actions/list-email.cjs.map +1 -1
- package/dist/actions/list-email.d.cts +3 -24
- package/dist/actions/list-email.d.cts.map +1 -1
- package/dist/actions/list-email.d.mts +3 -24
- package/dist/actions/list-email.d.mts.map +1 -1
- package/dist/actions/list-email.mjs +1 -0
- package/dist/actions/list-email.mjs.map +1 -1
- package/dist/actions/list-forums-in-category.cjs +1 -0
- package/dist/actions/list-forums-in-category.cjs.map +1 -1
- package/dist/actions/list-forums-in-category.d.cts +3 -19
- package/dist/actions/list-forums-in-category.d.cts.map +1 -1
- package/dist/actions/list-forums-in-category.d.mts +3 -19
- package/dist/actions/list-forums-in-category.d.mts.map +1 -1
- package/dist/actions/list-forums-in-category.mjs +1 -0
- package/dist/actions/list-forums-in-category.mjs.map +1 -1
- package/dist/actions/list-monitored-topics.cjs +1 -0
- package/dist/actions/list-monitored-topics.cjs.map +1 -1
- package/dist/actions/list-monitored-topics.d.cts +3 -18
- package/dist/actions/list-monitored-topics.d.cts.map +1 -1
- package/dist/actions/list-monitored-topics.d.mts +3 -18
- package/dist/actions/list-monitored-topics.d.mts.map +1 -1
- package/dist/actions/list-monitored-topics.mjs +1 -0
- package/dist/actions/list-monitored-topics.mjs.map +1 -1
- package/dist/actions/list-participated-topics.cjs +1 -0
- package/dist/actions/list-participated-topics.cjs.map +1 -1
- package/dist/actions/list-participated-topics.d.cts +3 -18
- package/dist/actions/list-participated-topics.d.cts.map +1 -1
- package/dist/actions/list-participated-topics.d.mts +3 -18
- package/dist/actions/list-participated-topics.d.mts.map +1 -1
- package/dist/actions/list-participated-topics.mjs +1 -0
- package/dist/actions/list-participated-topics.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -15
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -15
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-roles.cjs +1 -0
- package/dist/actions/list-roles.cjs.map +1 -1
- package/dist/actions/list-roles.d.cts +3 -18
- package/dist/actions/list-roles.d.cts.map +1 -1
- package/dist/actions/list-roles.d.mts +3 -18
- package/dist/actions/list-roles.d.mts.map +1 -1
- package/dist/actions/list-roles.mjs +1 -0
- package/dist/actions/list-roles.mjs.map +1 -1
- package/dist/actions/list-satisfaction-ratings.cjs +1 -0
- package/dist/actions/list-satisfaction-ratings.cjs.map +1 -1
- package/dist/actions/list-satisfaction-ratings.d.cts +3 -19
- package/dist/actions/list-satisfaction-ratings.d.cts.map +1 -1
- package/dist/actions/list-satisfaction-ratings.d.mts +3 -19
- package/dist/actions/list-satisfaction-ratings.d.mts.map +1 -1
- package/dist/actions/list-satisfaction-ratings.mjs +1 -0
- package/dist/actions/list-satisfaction-ratings.mjs.map +1 -1
- package/dist/actions/list-sla-policies.cjs +1 -0
- package/dist/actions/list-sla-policies.cjs.map +1 -1
- package/dist/actions/list-sla-policies.d.cts +3 -15
- package/dist/actions/list-sla-policies.d.cts.map +1 -1
- package/dist/actions/list-sla-policies.d.mts +3 -15
- package/dist/actions/list-sla-policies.d.mts.map +1 -1
- package/dist/actions/list-sla-policies.mjs +1 -0
- package/dist/actions/list-sla-policies.mjs.map +1 -1
- package/dist/actions/list-solution-articles.cjs +1 -0
- package/dist/actions/list-solution-articles.cjs.map +1 -1
- package/dist/actions/list-solution-articles.d.cts +3 -18
- package/dist/actions/list-solution-articles.d.cts.map +1 -1
- package/dist/actions/list-solution-articles.d.mts +3 -18
- package/dist/actions/list-solution-articles.d.mts.map +1 -1
- package/dist/actions/list-solution-articles.mjs +1 -0
- package/dist/actions/list-solution-articles.mjs.map +1 -1
- package/dist/actions/list-solution-categories.cjs +1 -0
- package/dist/actions/list-solution-categories.cjs.map +1 -1
- package/dist/actions/list-solution-categories.d.cts +3 -17
- package/dist/actions/list-solution-categories.d.cts.map +1 -1
- package/dist/actions/list-solution-categories.d.mts +3 -17
- package/dist/actions/list-solution-categories.d.mts.map +1 -1
- package/dist/actions/list-solution-categories.mjs +1 -0
- package/dist/actions/list-solution-categories.mjs.map +1 -1
- package/dist/actions/list-solution-folders.cjs +1 -0
- package/dist/actions/list-solution-folders.cjs.map +1 -1
- package/dist/actions/list-solution-folders.d.cts +3 -18
- package/dist/actions/list-solution-folders.d.cts.map +1 -1
- package/dist/actions/list-solution-folders.d.mts +3 -18
- package/dist/actions/list-solution-folders.d.mts.map +1 -1
- package/dist/actions/list-solution-folders.mjs +1 -0
- package/dist/actions/list-solution-folders.mjs.map +1 -1
- package/dist/actions/list-solution-subfolders.cjs +1 -0
- package/dist/actions/list-solution-subfolders.cjs.map +1 -1
- package/dist/actions/list-solution-subfolders.d.cts +3 -18
- package/dist/actions/list-solution-subfolders.d.cts.map +1 -1
- package/dist/actions/list-solution-subfolders.d.mts +3 -18
- package/dist/actions/list-solution-subfolders.d.mts.map +1 -1
- package/dist/actions/list-solution-subfolders.mjs +1 -0
- package/dist/actions/list-solution-subfolders.mjs.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.cjs +1 -0
- package/dist/actions/list-solutions-category-folders-translated.cjs.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.d.cts +3 -19
- package/dist/actions/list-solutions-category-folders-translated.d.cts.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.d.mts +3 -19
- package/dist/actions/list-solutions-category-folders-translated.d.mts.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.mjs +1 -0
- package/dist/actions/list-solutions-category-folders-translated.mjs.map +1 -1
- package/dist/actions/list-specific-section-details.cjs +1 -0
- package/dist/actions/list-specific-section-details.cjs.map +1 -1
- package/dist/actions/list-specific-section-details.d.cts +3 -18
- package/dist/actions/list-specific-section-details.d.cts.map +1 -1
- package/dist/actions/list-specific-section-details.d.mts +3 -18
- package/dist/actions/list-specific-section-details.d.mts.map +1 -1
- package/dist/actions/list-specific-section-details.mjs +1 -0
- package/dist/actions/list-specific-section-details.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +1 -0
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +3 -17
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +3 -17
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +1 -0
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-ticket-fields.cjs +1 -0
- package/dist/actions/list-ticket-fields.cjs.map +1 -1
- package/dist/actions/list-ticket-fields.d.cts +3 -15
- package/dist/actions/list-ticket-fields.d.cts.map +1 -1
- package/dist/actions/list-ticket-fields.d.mts +3 -15
- package/dist/actions/list-ticket-fields.d.mts.map +1 -1
- package/dist/actions/list-ticket-fields.mjs +1 -0
- package/dist/actions/list-ticket-fields.mjs.map +1 -1
- package/dist/actions/list-ticket-forms.cjs +1 -0
- package/dist/actions/list-ticket-forms.cjs.map +1 -1
- package/dist/actions/list-ticket-forms.d.cts +3 -19
- package/dist/actions/list-ticket-forms.d.cts.map +1 -1
- package/dist/actions/list-ticket-forms.d.mts +3 -19
- package/dist/actions/list-ticket-forms.d.mts.map +1 -1
- package/dist/actions/list-ticket-forms.mjs +1 -0
- package/dist/actions/list-ticket-forms.mjs.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.cjs +1 -0
- package/dist/actions/list-ticket-satisfaction-ratings.cjs.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.d.cts +3 -19
- package/dist/actions/list-ticket-satisfaction-ratings.d.cts.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.d.mts +3 -19
- package/dist/actions/list-ticket-satisfaction-ratings.d.mts.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.mjs +1 -0
- package/dist/actions/list-ticket-satisfaction-ratings.mjs.map +1 -1
- package/dist/actions/list-tickets-watchers.cjs +1 -0
- package/dist/actions/list-tickets-watchers.cjs.map +1 -1
- package/dist/actions/list-tickets-watchers.d.cts +3 -17
- package/dist/actions/list-tickets-watchers.d.cts.map +1 -1
- package/dist/actions/list-tickets-watchers.d.mts +3 -17
- package/dist/actions/list-tickets-watchers.d.mts.map +1 -1
- package/dist/actions/list-tickets-watchers.mjs +1 -0
- package/dist/actions/list-tickets-watchers.mjs.map +1 -1
- package/dist/actions/list-time-entries.cjs +1 -0
- package/dist/actions/list-time-entries.cjs.map +1 -1
- package/dist/actions/list-time-entries.d.cts +3 -23
- package/dist/actions/list-time-entries.d.cts.map +1 -1
- package/dist/actions/list-time-entries.d.mts +3 -23
- package/dist/actions/list-time-entries.d.mts.map +1 -1
- package/dist/actions/list-time-entries.mjs +1 -0
- package/dist/actions/list-time-entries.mjs.map +1 -1
- package/dist/actions/list-topic-comments2.cjs +1 -0
- package/dist/actions/list-topic-comments2.cjs.map +1 -1
- package/dist/actions/list-topic-comments2.d.cts +3 -19
- package/dist/actions/list-topic-comments2.d.cts.map +1 -1
- package/dist/actions/list-topic-comments2.d.mts +3 -19
- package/dist/actions/list-topic-comments2.d.mts.map +1 -1
- package/dist/actions/list-topic-comments2.mjs +1 -0
- package/dist/actions/list-topic-comments2.mjs.map +1 -1
- package/dist/actions/list-translated-solution-articles.cjs +1 -0
- package/dist/actions/list-translated-solution-articles.cjs.map +1 -1
- package/dist/actions/list-translated-solution-articles.d.cts +3 -19
- package/dist/actions/list-translated-solution-articles.d.cts.map +1 -1
- package/dist/actions/list-translated-solution-articles.d.mts +3 -19
- package/dist/actions/list-translated-solution-articles.d.mts.map +1 -1
- package/dist/actions/list-translated-solution-articles.mjs +1 -0
- package/dist/actions/list-translated-solution-articles.mjs.map +1 -1
- package/dist/actions/list-translated-subfolders.cjs +1 -0
- package/dist/actions/list-translated-subfolders.cjs.map +1 -1
- package/dist/actions/list-translated-subfolders.d.cts +3 -19
- package/dist/actions/list-translated-subfolders.d.cts.map +1 -1
- package/dist/actions/list-translated-subfolders.d.mts +3 -19
- package/dist/actions/list-translated-subfolders.d.mts.map +1 -1
- package/dist/actions/list-translated-subfolders.mjs +1 -0
- package/dist/actions/list-translated-subfolders.mjs.map +1 -1
- package/dist/actions/patch-admin-groups-agents.cjs +1 -0
- package/dist/actions/patch-admin-groups-agents.cjs.map +1 -1
- package/dist/actions/patch-admin-groups-agents.d.cts +3 -18
- package/dist/actions/patch-admin-groups-agents.d.cts.map +1 -1
- package/dist/actions/patch-admin-groups-agents.d.mts +3 -18
- package/dist/actions/patch-admin-groups-agents.d.mts.map +1 -1
- package/dist/actions/patch-admin-groups-agents.mjs +1 -0
- package/dist/actions/patch-admin-groups-agents.mjs.map +1 -1
- package/dist/actions/remove-watcher.cjs +1 -0
- package/dist/actions/remove-watcher.cjs.map +1 -1
- package/dist/actions/remove-watcher.d.cts +3 -17
- package/dist/actions/remove-watcher.d.cts.map +1 -1
- package/dist/actions/remove-watcher.d.mts +3 -17
- package/dist/actions/remove-watcher.d.mts.map +1 -1
- package/dist/actions/remove-watcher.mjs +1 -0
- package/dist/actions/remove-watcher.mjs.map +1 -1
- package/dist/actions/reply-to-forward-ticket.cjs +1 -0
- package/dist/actions/reply-to-forward-ticket.cjs.map +1 -1
- package/dist/actions/reply-to-forward-ticket.d.cts +3 -22
- package/dist/actions/reply-to-forward-ticket.d.cts.map +1 -1
- package/dist/actions/reply-to-forward-ticket.d.mts +3 -22
- package/dist/actions/reply-to-forward-ticket.d.mts.map +1 -1
- package/dist/actions/reply-to-forward-ticket.mjs +1 -0
- package/dist/actions/reply-to-forward-ticket.mjs.map +1 -1
- package/dist/actions/reply-to-ticket.cjs +1 -0
- package/dist/actions/reply-to-ticket.cjs.map +1 -1
- package/dist/actions/reply-to-ticket.d.cts +3 -23
- package/dist/actions/reply-to-ticket.d.cts.map +1 -1
- package/dist/actions/reply-to-ticket.d.mts +3 -23
- package/dist/actions/reply-to-ticket.d.mts.map +1 -1
- package/dist/actions/reply-to-ticket.mjs +1 -0
- package/dist/actions/reply-to-ticket.mjs.map +1 -1
- package/dist/actions/search-agents.cjs +1 -0
- package/dist/actions/search-agents.cjs.map +1 -1
- package/dist/actions/search-agents.d.cts +3 -22
- package/dist/actions/search-agents.d.cts.map +1 -1
- package/dist/actions/search-agents.d.mts +3 -22
- package/dist/actions/search-agents.d.mts.map +1 -1
- package/dist/actions/search-agents.mjs +1 -0
- package/dist/actions/search-agents.mjs.map +1 -1
- package/dist/actions/search-companies.cjs +1 -0
- package/dist/actions/search-companies.cjs.map +1 -1
- package/dist/actions/search-companies.d.cts +3 -18
- package/dist/actions/search-companies.d.cts.map +1 -1
- package/dist/actions/search-companies.d.mts +3 -18
- package/dist/actions/search-companies.d.mts.map +1 -1
- package/dist/actions/search-companies.mjs +1 -0
- package/dist/actions/search-companies.mjs.map +1 -1
- package/dist/actions/search-company.cjs +1 -0
- package/dist/actions/search-company.cjs.map +1 -1
- package/dist/actions/search-company.d.cts +3 -17
- package/dist/actions/search-company.d.cts.map +1 -1
- package/dist/actions/search-company.d.mts +3 -17
- package/dist/actions/search-company.d.mts.map +1 -1
- package/dist/actions/search-company.mjs +1 -0
- package/dist/actions/search-company.mjs.map +1 -1
- package/dist/actions/search-contacts-autocomplete.cjs +1 -0
- package/dist/actions/search-contacts-autocomplete.cjs.map +1 -1
- package/dist/actions/search-contacts-autocomplete.d.cts +3 -17
- package/dist/actions/search-contacts-autocomplete.d.cts.map +1 -1
- package/dist/actions/search-contacts-autocomplete.d.mts +3 -17
- package/dist/actions/search-contacts-autocomplete.d.mts.map +1 -1
- package/dist/actions/search-contacts-autocomplete.mjs +1 -0
- package/dist/actions/search-contacts-autocomplete.mjs.map +1 -1
- package/dist/actions/search-contacts.cjs +1 -0
- package/dist/actions/search-contacts.cjs.map +1 -1
- package/dist/actions/search-contacts.d.cts +3 -18
- package/dist/actions/search-contacts.d.cts.map +1 -1
- package/dist/actions/search-contacts.d.mts +3 -18
- package/dist/actions/search-contacts.d.mts.map +1 -1
- package/dist/actions/search-contacts.mjs +1 -0
- package/dist/actions/search-contacts.mjs.map +1 -1
- package/dist/actions/search-solution-articles.cjs +1 -0
- package/dist/actions/search-solution-articles.cjs.map +1 -1
- package/dist/actions/search-solution-articles.d.cts +3 -18
- package/dist/actions/search-solution-articles.d.cts.map +1 -1
- package/dist/actions/search-solution-articles.d.mts +3 -18
- package/dist/actions/search-solution-articles.d.mts.map +1 -1
- package/dist/actions/search-solution-articles.mjs +1 -0
- package/dist/actions/search-solution-articles.mjs.map +1 -1
- package/dist/actions/toggle-timer.cjs +1 -0
- package/dist/actions/toggle-timer.cjs.map +1 -1
- package/dist/actions/toggle-timer.d.cts +3 -17
- package/dist/actions/toggle-timer.d.cts.map +1 -1
- package/dist/actions/toggle-timer.d.mts +3 -17
- package/dist/actions/toggle-timer.d.mts.map +1 -1
- package/dist/actions/toggle-timer.mjs +1 -0
- package/dist/actions/toggle-timer.mjs.map +1 -1
- package/dist/actions/update-admin-group.cjs +1 -0
- package/dist/actions/update-admin-group.cjs.map +1 -1
- package/dist/actions/update-admin-group.d.cts +3 -23
- package/dist/actions/update-admin-group.d.cts.map +1 -1
- package/dist/actions/update-admin-group.d.mts +3 -23
- package/dist/actions/update-admin-group.d.mts.map +1 -1
- package/dist/actions/update-admin-group.mjs +1 -0
- package/dist/actions/update-admin-group.mjs.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.cjs +1 -0
- package/dist/actions/update-admin-ticket-field-section.cjs.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.d.cts +3 -21
- package/dist/actions/update-admin-ticket-field-section.d.cts.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.d.mts +3 -21
- package/dist/actions/update-admin-ticket-field-section.d.mts.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.mjs +1 -0
- package/dist/actions/update-admin-ticket-field-section.mjs.map +1 -1
- package/dist/actions/update-admin-ticket-field.cjs +1 -0
- package/dist/actions/update-admin-ticket-field.cjs.map +1 -1
- package/dist/actions/update-admin-ticket-field.d.cts +3 -25
- package/dist/actions/update-admin-ticket-field.d.cts.map +1 -1
- package/dist/actions/update-admin-ticket-field.d.mts +3 -25
- package/dist/actions/update-admin-ticket-field.d.mts.map +1 -1
- package/dist/actions/update-admin-ticket-field.mjs +1 -0
- package/dist/actions/update-admin-ticket-field.mjs.map +1 -1
- package/dist/actions/update-agent-availability.cjs +1 -0
- package/dist/actions/update-agent-availability.cjs.map +1 -1
- package/dist/actions/update-agent-availability.d.cts +3 -22
- package/dist/actions/update-agent-availability.d.cts.map +1 -1
- package/dist/actions/update-agent-availability.d.mts +3 -22
- package/dist/actions/update-agent-availability.d.mts.map +1 -1
- package/dist/actions/update-agent-availability.mjs +1 -0
- package/dist/actions/update-agent-availability.mjs.map +1 -1
- package/dist/actions/update-agent.cjs +1 -0
- package/dist/actions/update-agent.cjs.map +1 -1
- package/dist/actions/update-agent.d.cts +3 -28
- package/dist/actions/update-agent.d.cts.map +1 -1
- package/dist/actions/update-agent.d.mts +3 -28
- package/dist/actions/update-agent.d.mts.map +1 -1
- package/dist/actions/update-agent.mjs +1 -0
- package/dist/actions/update-agent.mjs.map +1 -1
- package/dist/actions/update-automations.cjs +1 -0
- package/dist/actions/update-automations.cjs.map +1 -1
- package/dist/actions/update-automations.d.cts +3 -24
- package/dist/actions/update-automations.d.cts.map +1 -1
- package/dist/actions/update-automations.d.mts +3 -24
- package/dist/actions/update-automations.d.mts.map +1 -1
- package/dist/actions/update-automations.mjs +1 -0
- package/dist/actions/update-automations.mjs.map +1 -1
- package/dist/actions/update-canned-response-folder.cjs +1 -0
- package/dist/actions/update-canned-response-folder.cjs.map +1 -1
- package/dist/actions/update-canned-response-folder.d.cts +3 -18
- package/dist/actions/update-canned-response-folder.d.cts.map +1 -1
- package/dist/actions/update-canned-response-folder.d.mts +3 -18
- package/dist/actions/update-canned-response-folder.d.mts.map +1 -1
- package/dist/actions/update-canned-response-folder.mjs +1 -0
- package/dist/actions/update-canned-response-folder.mjs.map +1 -1
- package/dist/actions/update-canned-response.cjs +1 -0
- package/dist/actions/update-canned-response.cjs.map +1 -1
- package/dist/actions/update-canned-response.d.cts +3 -22
- package/dist/actions/update-canned-response.d.cts.map +1 -1
- package/dist/actions/update-canned-response.d.mts +3 -22
- package/dist/actions/update-canned-response.d.mts.map +1 -1
- package/dist/actions/update-canned-response.mjs +1 -0
- package/dist/actions/update-canned-response.mjs.map +1 -1
- package/dist/actions/update-companies.cjs +1 -0
- package/dist/actions/update-companies.cjs.map +1 -1
- package/dist/actions/update-companies.d.cts +3 -26
- package/dist/actions/update-companies.d.cts.map +1 -1
- package/dist/actions/update-companies.d.mts +3 -26
- package/dist/actions/update-companies.d.mts.map +1 -1
- package/dist/actions/update-companies.mjs +1 -0
- package/dist/actions/update-companies.mjs.map +1 -1
- package/dist/actions/update-contact-field.cjs +1 -0
- package/dist/actions/update-contact-field.cjs.map +1 -1
- package/dist/actions/update-contact-field.d.cts +3 -23
- package/dist/actions/update-contact-field.d.cts.map +1 -1
- package/dist/actions/update-contact-field.d.mts +3 -23
- package/dist/actions/update-contact-field.d.mts.map +1 -1
- package/dist/actions/update-contact-field.mjs +1 -0
- package/dist/actions/update-contact-field.mjs.map +1 -1
- package/dist/actions/update-contact-make-agent.cjs +1 -0
- package/dist/actions/update-contact-make-agent.cjs.map +1 -1
- package/dist/actions/update-contact-make-agent.d.cts +3 -20
- package/dist/actions/update-contact-make-agent.d.cts.map +1 -1
- package/dist/actions/update-contact-make-agent.d.mts +3 -20
- package/dist/actions/update-contact-make-agent.d.mts.map +1 -1
- package/dist/actions/update-contact-make-agent.mjs +1 -0
- package/dist/actions/update-contact-make-agent.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -33
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -33
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-conversations.cjs +1 -0
- package/dist/actions/update-conversations.cjs.map +1 -1
- package/dist/actions/update-conversations.d.cts +3 -18
- package/dist/actions/update-conversations.d.cts.map +1 -1
- package/dist/actions/update-conversations.d.mts +3 -18
- package/dist/actions/update-conversations.d.mts.map +1 -1
- package/dist/actions/update-conversations.mjs +1 -0
- package/dist/actions/update-conversations.mjs.map +1 -1
- package/dist/actions/update-discussion-category.cjs +1 -0
- package/dist/actions/update-discussion-category.cjs.map +1 -1
- package/dist/actions/update-discussion-category.d.cts +3 -19
- package/dist/actions/update-discussion-category.d.cts.map +1 -1
- package/dist/actions/update-discussion-category.d.mts +3 -19
- package/dist/actions/update-discussion-category.d.mts.map +1 -1
- package/dist/actions/update-discussion-category.mjs +1 -0
- package/dist/actions/update-discussion-category.mjs.map +1 -1
- package/dist/actions/update-discussion-comment.cjs +1 -0
- package/dist/actions/update-discussion-comment.cjs.map +1 -1
- package/dist/actions/update-discussion-comment.d.cts +3 -18
- package/dist/actions/update-discussion-comment.d.cts.map +1 -1
- package/dist/actions/update-discussion-comment.d.mts +3 -18
- package/dist/actions/update-discussion-comment.d.mts.map +1 -1
- package/dist/actions/update-discussion-comment.mjs +1 -0
- package/dist/actions/update-discussion-comment.mjs.map +1 -1
- package/dist/actions/update-discussion-forum.cjs +1 -0
- package/dist/actions/update-discussion-forum.cjs.map +1 -1
- package/dist/actions/update-discussion-forum.d.cts +3 -23
- package/dist/actions/update-discussion-forum.d.cts.map +1 -1
- package/dist/actions/update-discussion-forum.d.mts +3 -23
- package/dist/actions/update-discussion-forum.d.mts.map +1 -1
- package/dist/actions/update-discussion-forum.mjs +1 -0
- package/dist/actions/update-discussion-forum.mjs.map +1 -1
- package/dist/actions/update-discussion-topic.cjs +1 -0
- package/dist/actions/update-discussion-topic.cjs.map +1 -1
- package/dist/actions/update-discussion-topic.d.cts +3 -23
- package/dist/actions/update-discussion-topic.d.cts.map +1 -1
- package/dist/actions/update-discussion-topic.d.mts +3 -23
- package/dist/actions/update-discussion-topic.d.mts.map +1 -1
- package/dist/actions/update-discussion-topic.mjs +1 -0
- package/dist/actions/update-discussion-topic.mjs.map +1 -1
- package/dist/actions/update-email-settings.cjs +1 -0
- package/dist/actions/update-email-settings.cjs.map +1 -1
- package/dist/actions/update-email-settings.d.cts +3 -28
- package/dist/actions/update-email-settings.d.cts.map +1 -1
- package/dist/actions/update-email-settings.d.mts +3 -28
- package/dist/actions/update-email-settings.d.mts.map +1 -1
- package/dist/actions/update-email-settings.mjs +1 -0
- package/dist/actions/update-email-settings.mjs.map +1 -1
- package/dist/actions/update-notification-email-bcc.cjs +1 -0
- package/dist/actions/update-notification-email-bcc.cjs.map +1 -1
- package/dist/actions/update-notification-email-bcc.d.cts +3 -17
- package/dist/actions/update-notification-email-bcc.d.cts.map +1 -1
- package/dist/actions/update-notification-email-bcc.d.mts +3 -17
- package/dist/actions/update-notification-email-bcc.d.mts.map +1 -1
- package/dist/actions/update-notification-email-bcc.mjs +1 -0
- package/dist/actions/update-notification-email-bcc.mjs.map +1 -1
- package/dist/actions/update-sla-policies.cjs +1 -0
- package/dist/actions/update-sla-policies.cjs.map +1 -1
- package/dist/actions/update-sla-policies.d.cts +3 -50
- package/dist/actions/update-sla-policies.d.cts.map +1 -1
- package/dist/actions/update-sla-policies.d.mts +3 -50
- package/dist/actions/update-sla-policies.d.mts.map +1 -1
- package/dist/actions/update-sla-policies.mjs +1 -0
- package/dist/actions/update-sla-policies.mjs.map +1 -1
- package/dist/actions/update-solution-category.cjs +1 -0
- package/dist/actions/update-solution-category.cjs.map +1 -1
- package/dist/actions/update-solution-category.d.cts +3 -19
- package/dist/actions/update-solution-category.d.cts.map +1 -1
- package/dist/actions/update-solution-category.d.mts +3 -19
- package/dist/actions/update-solution-category.d.mts.map +1 -1
- package/dist/actions/update-solution-category.mjs +1 -0
- package/dist/actions/update-solution-category.mjs.map +1 -1
- package/dist/actions/update-solution-folder.cjs +1 -0
- package/dist/actions/update-solution-folder.cjs.map +1 -1
- package/dist/actions/update-solution-folder.d.cts +3 -25
- package/dist/actions/update-solution-folder.d.cts.map +1 -1
- package/dist/actions/update-solution-folder.d.mts +3 -25
- package/dist/actions/update-solution-folder.d.mts.map +1 -1
- package/dist/actions/update-solution-folder.mjs +1 -0
- package/dist/actions/update-solution-folder.mjs.map +1 -1
- package/dist/actions/update-solutions.cjs +1 -0
- package/dist/actions/update-solutions.cjs.map +1 -1
- package/dist/actions/update-solutions.d.cts +3 -24
- package/dist/actions/update-solutions.d.cts.map +1 -1
- package/dist/actions/update-solutions.d.mts +3 -24
- package/dist/actions/update-solutions.d.mts.map +1 -1
- package/dist/actions/update-solutions.mjs +1 -0
- package/dist/actions/update-solutions.mjs.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.cjs +1 -0
- package/dist/actions/update-ticket-bulk-watch.cjs.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.d.cts +3 -17
- package/dist/actions/update-ticket-bulk-watch.d.cts.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.d.mts +3 -17
- package/dist/actions/update-ticket-bulk-watch.d.mts.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.mjs +1 -0
- package/dist/actions/update-ticket-bulk-watch.mjs.map +1 -1
- package/dist/actions/update-ticket-forms.cjs +1 -0
- package/dist/actions/update-ticket-forms.cjs.map +1 -1
- package/dist/actions/update-ticket-forms.d.cts +3 -31
- package/dist/actions/update-ticket-forms.d.cts.map +1 -1
- package/dist/actions/update-ticket-forms.d.mts +3 -31
- package/dist/actions/update-ticket-forms.d.mts.map +1 -1
- package/dist/actions/update-ticket-forms.mjs +1 -0
- package/dist/actions/update-ticket-forms.mjs.map +1 -1
- package/dist/actions/update-ticket-summary.cjs +1 -0
- package/dist/actions/update-ticket-summary.cjs.map +1 -1
- package/dist/actions/update-ticket-summary.d.cts +3 -18
- package/dist/actions/update-ticket-summary.d.cts.map +1 -1
- package/dist/actions/update-ticket-summary.d.mts +3 -18
- package/dist/actions/update-ticket-summary.d.mts.map +1 -1
- package/dist/actions/update-ticket-summary.mjs +1 -0
- package/dist/actions/update-ticket-summary.mjs.map +1 -1
- package/dist/actions/update-ticket-user-access.cjs +1 -0
- package/dist/actions/update-ticket-user-access.cjs.map +1 -1
- package/dist/actions/update-ticket-user-access.d.cts +3 -22
- package/dist/actions/update-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/update-ticket-user-access.d.mts +3 -22
- package/dist/actions/update-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/update-ticket-user-access.mjs +1 -0
- package/dist/actions/update-ticket-user-access.mjs.map +1 -1
- package/dist/actions/update-ticket.cjs +1 -0
- package/dist/actions/update-ticket.cjs.map +1 -1
- package/dist/actions/update-ticket.d.cts +5 -46
- package/dist/actions/update-ticket.d.cts.map +1 -1
- package/dist/actions/update-ticket.d.mts +5 -46
- package/dist/actions/update-ticket.d.mts.map +1 -1
- package/dist/actions/update-ticket.mjs +1 -0
- package/dist/actions/update-ticket.mjs.map +1 -1
- package/dist/actions/update-time-entry.cjs +1 -0
- package/dist/actions/update-time-entry.cjs.map +1 -1
- package/dist/actions/update-time-entry.d.cts +3 -24
- package/dist/actions/update-time-entry.d.cts.map +1 -1
- package/dist/actions/update-time-entry.d.mts +3 -24
- package/dist/actions/update-time-entry.d.mts.map +1 -1
- package/dist/actions/update-time-entry.mjs +1 -0
- package/dist/actions/update-time-entry.mjs.map +1 -1
- package/dist/actions/view-a-canned-response.cjs +1 -0
- package/dist/actions/view-a-canned-response.cjs.map +1 -1
- package/dist/actions/view-a-canned-response.d.cts +3 -17
- package/dist/actions/view-a-canned-response.d.cts.map +1 -1
- package/dist/actions/view-a-canned-response.d.mts +3 -17
- package/dist/actions/view-a-canned-response.d.mts.map +1 -1
- package/dist/actions/view-a-canned-response.mjs +1 -0
- package/dist/actions/view-a-canned-response.mjs.map +1 -1
- package/dist/actions/view-automations.cjs +1 -0
- package/dist/actions/view-automations.cjs.map +1 -1
- package/dist/actions/view-automations.d.cts +3 -18
- package/dist/actions/view-automations.d.cts.map +1 -1
- package/dist/actions/view-automations.d.mts +3 -18
- package/dist/actions/view-automations.d.mts.map +1 -1
- package/dist/actions/view-automations.mjs +1 -0
- package/dist/actions/view-automations.mjs.map +1 -1
- package/dist/actions/view-business-hour.cjs +1 -0
- package/dist/actions/view-business-hour.cjs.map +1 -1
- package/dist/actions/view-business-hour.d.cts +3 -17
- package/dist/actions/view-business-hour.d.cts.map +1 -1
- package/dist/actions/view-business-hour.d.mts +3 -17
- package/dist/actions/view-business-hour.d.mts.map +1 -1
- package/dist/actions/view-business-hour.mjs +1 -0
- package/dist/actions/view-business-hour.mjs.map +1 -1
- package/dist/actions/view-company-field.cjs +1 -0
- package/dist/actions/view-company-field.cjs.map +1 -1
- package/dist/actions/view-company-field.d.cts +3 -17
- package/dist/actions/view-company-field.d.cts.map +1 -1
- package/dist/actions/view-company-field.d.mts +3 -17
- package/dist/actions/view-company-field.d.mts.map +1 -1
- package/dist/actions/view-company-field.mjs +1 -0
- package/dist/actions/view-company-field.mjs.map +1 -1
- package/dist/actions/view-contact-field.cjs +1 -0
- package/dist/actions/view-contact-field.cjs.map +1 -1
- package/dist/actions/view-contact-field.d.cts +3 -17
- package/dist/actions/view-contact-field.d.cts.map +1 -1
- package/dist/actions/view-contact-field.d.mts +3 -17
- package/dist/actions/view-contact-field.d.mts.map +1 -1
- package/dist/actions/view-contact-field.mjs +1 -0
- package/dist/actions/view-contact-field.mjs.map +1 -1
- package/dist/actions/view-email-configs.cjs +1 -0
- package/dist/actions/view-email-configs.cjs.map +1 -1
- package/dist/actions/view-email-configs.d.cts +3 -17
- package/dist/actions/view-email-configs.d.cts.map +1 -1
- package/dist/actions/view-email-configs.d.mts +3 -17
- package/dist/actions/view-email-configs.d.mts.map +1 -1
- package/dist/actions/view-email-configs.mjs +1 -0
- package/dist/actions/view-email-configs.mjs.map +1 -1
- package/dist/actions/view-email.cjs +1 -0
- package/dist/actions/view-email.cjs.map +1 -1
- package/dist/actions/view-email.d.cts +3 -15
- package/dist/actions/view-email.d.cts.map +1 -1
- package/dist/actions/view-email.d.mts +3 -15
- package/dist/actions/view-email.d.mts.map +1 -1
- package/dist/actions/view-email.mjs +1 -0
- package/dist/actions/view-email.mjs.map +1 -1
- package/dist/actions/view-group.cjs +1 -0
- package/dist/actions/view-group.cjs.map +1 -1
- package/dist/actions/view-group.d.cts +3 -17
- package/dist/actions/view-group.d.cts.map +1 -1
- package/dist/actions/view-group.d.mts +3 -17
- package/dist/actions/view-group.d.mts.map +1 -1
- package/dist/actions/view-group.mjs +1 -0
- package/dist/actions/view-group.mjs.map +1 -1
- package/dist/actions/view-notifications.cjs +1 -0
- package/dist/actions/view-notifications.cjs.map +1 -1
- package/dist/actions/view-notifications.d.cts +3 -15
- package/dist/actions/view-notifications.d.cts.map +1 -1
- package/dist/actions/view-notifications.d.mts +3 -15
- package/dist/actions/view-notifications.d.mts.map +1 -1
- package/dist/actions/view-notifications.mjs +1 -0
- package/dist/actions/view-notifications.mjs.map +1 -1
- package/dist/actions/view-products.cjs +1 -0
- package/dist/actions/view-products.cjs.map +1 -1
- package/dist/actions/view-products.d.cts +3 -17
- package/dist/actions/view-products.d.cts.map +1 -1
- package/dist/actions/view-products.d.mts +3 -17
- package/dist/actions/view-products.d.mts.map +1 -1
- package/dist/actions/view-products.mjs +1 -0
- package/dist/actions/view-products.mjs.map +1 -1
- package/dist/actions/view-roles.cjs +1 -0
- package/dist/actions/view-roles.cjs.map +1 -1
- package/dist/actions/view-roles.d.cts +3 -17
- package/dist/actions/view-roles.d.cts.map +1 -1
- package/dist/actions/view-roles.d.mts +3 -17
- package/dist/actions/view-roles.d.mts.map +1 -1
- package/dist/actions/view-roles.mjs +1 -0
- package/dist/actions/view-roles.mjs.map +1 -1
- package/dist/actions/view-settings.cjs +1 -0
- package/dist/actions/view-settings.cjs.map +1 -1
- package/dist/actions/view-settings.d.cts +3 -15
- package/dist/actions/view-settings.d.cts.map +1 -1
- package/dist/actions/view-settings.d.mts +3 -15
- package/dist/actions/view-settings.d.mts.map +1 -1
- package/dist/actions/view-settings.mjs +1 -0
- package/dist/actions/view-settings.mjs.map +1 -1
- package/dist/actions/view-skill.cjs +1 -0
- package/dist/actions/view-skill.cjs.map +1 -1
- package/dist/actions/view-skill.d.cts +3 -17
- package/dist/actions/view-skill.d.cts.map +1 -1
- package/dist/actions/view-skill.d.mts +3 -17
- package/dist/actions/view-skill.d.mts.map +1 -1
- package/dist/actions/view-skill.mjs +1 -0
- package/dist/actions/view-skill.mjs.map +1 -1
- package/dist/actions/view-solution-category.cjs +1 -0
- package/dist/actions/view-solution-category.cjs.map +1 -1
- package/dist/actions/view-solution-category.d.cts +3 -17
- package/dist/actions/view-solution-category.d.cts.map +1 -1
- package/dist/actions/view-solution-category.d.mts +3 -17
- package/dist/actions/view-solution-category.d.mts.map +1 -1
- package/dist/actions/view-solution-category.mjs +1 -0
- package/dist/actions/view-solution-category.mjs.map +1 -1
- package/dist/actions/view-solution-folder.cjs +1 -0
- package/dist/actions/view-solution-folder.cjs.map +1 -1
- package/dist/actions/view-solution-folder.d.cts +3 -18
- package/dist/actions/view-solution-folder.d.cts.map +1 -1
- package/dist/actions/view-solution-folder.d.mts +3 -18
- package/dist/actions/view-solution-folder.d.mts.map +1 -1
- package/dist/actions/view-solution-folder.mjs +1 -0
- package/dist/actions/view-solution-folder.mjs.map +1 -1
- package/dist/actions/view-solutions.cjs +1 -0
- package/dist/actions/view-solutions.cjs.map +1 -1
- package/dist/actions/view-solutions.d.cts +3 -18
- package/dist/actions/view-solutions.d.cts.map +1 -1
- package/dist/actions/view-solutions.d.mts +3 -18
- package/dist/actions/view-solutions.d.mts.map +1 -1
- package/dist/actions/view-solutions.mjs +1 -0
- package/dist/actions/view-solutions.mjs.map +1 -1
- package/dist/actions/view-ticket-field.cjs +1 -0
- package/dist/actions/view-ticket-field.cjs.map +1 -1
- package/dist/actions/view-ticket-field.d.cts +3 -17
- package/dist/actions/view-ticket-field.d.cts.map +1 -1
- package/dist/actions/view-ticket-field.d.mts +3 -17
- package/dist/actions/view-ticket-field.d.mts.map +1 -1
- package/dist/actions/view-ticket-field.mjs +1 -0
- package/dist/actions/view-ticket-field.mjs.map +1 -1
- package/dist/actions/view-ticket-form-field.cjs +1 -0
- package/dist/actions/view-ticket-form-field.cjs.map +1 -1
- package/dist/actions/view-ticket-form-field.d.cts +3 -18
- package/dist/actions/view-ticket-form-field.d.cts.map +1 -1
- package/dist/actions/view-ticket-form-field.d.mts +3 -18
- package/dist/actions/view-ticket-form-field.d.mts.map +1 -1
- package/dist/actions/view-ticket-form-field.mjs +1 -0
- package/dist/actions/view-ticket-form-field.mjs.map +1 -1
- package/dist/actions/view-ticket.cjs +1 -0
- package/dist/actions/view-ticket.cjs.map +1 -1
- package/dist/actions/view-ticket.d.cts +4 -19
- package/dist/actions/view-ticket.d.cts.map +1 -1
- package/dist/actions/view-ticket.d.mts +4 -19
- package/dist/actions/view-ticket.d.mts.map +1 -1
- package/dist/actions/view-ticket.mjs +1 -0
- package/dist/actions/view-ticket.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-agent.d.ts
|
|
@@ -59,34 +61,7 @@ declare const FreshdeskUpdateAgentOutput: z.ZodObject<{
|
|
|
59
61
|
freshchat_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
60
62
|
freshcaller_agent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
61
63
|
}, z.core.$loose>;
|
|
62
|
-
declare const freshdeskUpdateAgent:
|
|
63
|
-
id: number;
|
|
64
|
-
email?: string | undefined;
|
|
65
|
-
language?: string | undefined;
|
|
66
|
-
role_ids?: number[] | undefined;
|
|
67
|
-
group_ids?: number[] | undefined;
|
|
68
|
-
signature?: string | undefined;
|
|
69
|
-
skill_ids?: number[] | undefined;
|
|
70
|
-
time_zone?: string | undefined;
|
|
71
|
-
agent_type?: "field" | "support" | "collaborator" | undefined;
|
|
72
|
-
focus_mode?: boolean | undefined;
|
|
73
|
-
occasional?: boolean | undefined;
|
|
74
|
-
ticket_scope?: "global_access" | "group_access" | "restricted_access" | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
subdomain: z.ZodString;
|
|
81
|
-
generic_api_key: z.ZodString;
|
|
82
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
83
|
-
connectionId: z.ZodString;
|
|
84
|
-
entityId: z.ZodString;
|
|
85
|
-
instanceId: z.ZodString;
|
|
86
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
87
|
-
subdomain: z.ZodString;
|
|
88
|
-
generic_api_key: z.ZodString;
|
|
89
|
-
}, z.core.$strip>>]>;
|
|
64
|
+
declare const freshdeskUpdateAgent: AppAction<typeof FreshdeskUpdateAgentInput, typeof FreshdeskUpdateAgentOutput, typeof freshdesk.credential>;
|
|
90
65
|
//#endregion
|
|
91
66
|
export { freshdeskUpdateAgent };
|
|
92
67
|
//# sourceMappingURL=update-agent.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-agent.d.mts","names":[],"sources":["../../src/actions/update-agent.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-agent.d.mts","names":[],"sources":["../../src/actions/update-agent.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cA4BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-agent.mjs","names":[],"sources":["../../src/actions/update-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAgentInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the agent to update\"),\n email: z.string().describe(\"Email address of the Agent\").optional(),\n language: z.string().describe(\"Agent language preference, defaults to en\").optional(),\n role_ids: z.array(z.number().int()).describe(\"Array of role identifiers\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group identifiers\").optional(),\n signature: z.string().describe(\"Signature of the agent in HTML format\").optional(),\n skill_ids: z.array(z.number().int()).describe(\"Array of skill identifiers\").optional(),\n time_zone: z.string().describe(\"Agent timezone setting\").optional(),\n agent_type: z.enum([\"support\", \"field\", \"collaborator\"]).describe(\"Agent classification.\").optional(),\n focus_mode: z.boolean().describe(\"Focus mode toggle, defaults to true\").optional(),\n occasional: z.boolean().describe(\"Agent employment type indicator - true for occasional, false for full-time\").optional(),\n ticket_scope: z.enum([\"global_access\", \"group_access\", \"restricted_access\"]).describe(\"Ticket permission scope.\").optional(),\n});\nconst FreshdeskUpdateAgent_UpdateAgentContactSchema = z.object({\n name: z.string().describe(\"Name of the agent\").nullable().optional(),\n email: z.string().describe(\"Email address of the agent\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the agent\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the contact is active\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the agent\").nullable().optional(),\n language: z.string().describe(\"Language preference of the agent (e.g., 'en' for English)\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the agent\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n last_login_at: z.string().describe(\"Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAgent_TicketScopeSchema = z.enum([\"global_access\", \"group_access\", \"restricted_access\"]);\nexport const FreshdeskUpdateAgentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the agent, auto-generated when the agent's information is configured in the system\").nullable().optional(),\n type: z.string().describe(\"Type of agent (e.g., support_agent, field_agent)\").nullable().optional(),\n contact: FreshdeskUpdateAgent_UpdateAgentContactSchema.nullable().optional(),\n role_ids: z.array(z.number().int()).describe(\"Identifiers of the roles assigned to the agent, specified as an array of integers\").nullable().optional(),\n available: z.boolean().describe(\"Specifies whether the agent is available for ticket assignment\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Identifiers of the groups to which the agent is associated, specified as an array of integers\").nullable().optional(),\n signature: z.string().describe(\"Signature of the agent that will be appended to their responses\").nullable().optional(),\n skill_ids: z.array(z.number().int()).describe(\"Identifiers of the skills assigned to the agent, specified as an array of integers\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n focus_mode: z.boolean().describe(\"Indicates whether the agent has focus mode enabled to concentrate on specific tasks\").nullable().optional(),\n occasional: z.boolean().describe(\"Indicates whether the agent is an occasional agent (true) or a full-time agent (false)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n deactivated: z.boolean().describe(\"Whether the agent account is deactivated\").nullable().optional(),\n ticket_scope: FreshdeskUpdateAgent_TicketScopeSchema.nullable().optional(),\n last_active_at: z.string().describe(\"Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n available_since: z.string().describe(\"Timestamp of since when the agent has been available for ticket assignment, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n freshchat_agent: z.boolean().describe(\"Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account\").nullable().optional(),\n freshcaller_agent: z.boolean().describe(\"Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAgent = action(\"FRESHDESK_UPDATE_AGENT\", {\n slug: \"freshdesk-update-agent\",\n name: \"Update Agent\",\n description: \"Tool to update an existing agent's information in Freshdesk. Use when you need to modify agent details such as email, permissions, signature, skills, groups, roles, or focus mode.\",\n input: FreshdeskUpdateAgentInput,\n output: FreshdeskUpdateAgentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-agent.mjs","names":[],"sources":["../../src/actions/update-agent.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateAgentInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the agent to update\"),\n email: z.string().describe(\"Email address of the Agent\").optional(),\n language: z.string().describe(\"Agent language preference, defaults to en\").optional(),\n role_ids: z.array(z.number().int()).describe(\"Array of role identifiers\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group identifiers\").optional(),\n signature: z.string().describe(\"Signature of the agent in HTML format\").optional(),\n skill_ids: z.array(z.number().int()).describe(\"Array of skill identifiers\").optional(),\n time_zone: z.string().describe(\"Agent timezone setting\").optional(),\n agent_type: z.enum([\"support\", \"field\", \"collaborator\"]).describe(\"Agent classification.\").optional(),\n focus_mode: z.boolean().describe(\"Focus mode toggle, defaults to true\").optional(),\n occasional: z.boolean().describe(\"Agent employment type indicator - true for occasional, false for full-time\").optional(),\n ticket_scope: z.enum([\"global_access\", \"group_access\", \"restricted_access\"]).describe(\"Ticket permission scope.\").optional(),\n});\nconst FreshdeskUpdateAgent_UpdateAgentContactSchema = z.object({\n name: z.string().describe(\"Name of the agent\").nullable().optional(),\n email: z.string().describe(\"Email address of the agent\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the agent\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the contact is active\").nullable().optional(),\n mobile: z.string().describe(\"Mobile phone number of the agent\").nullable().optional(),\n language: z.string().describe(\"Language preference of the agent (e.g., 'en' for English)\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the agent\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone of the agent (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the contact was created, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the contact was last updated, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n last_login_at: z.string().describe(\"Timestamp of when the agent last logged in, in the format YYYY-MM-DDTHH:MM:SS+TZ\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAgent_TicketScopeSchema = z.enum([\"global_access\", \"group_access\", \"restricted_access\"]);\nexport const FreshdeskUpdateAgentOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the agent, auto-generated when the agent's information is configured in the system\").nullable().optional(),\n type: z.string().describe(\"Type of agent (e.g., support_agent, field_agent)\").nullable().optional(),\n contact: FreshdeskUpdateAgent_UpdateAgentContactSchema.nullable().optional(),\n role_ids: z.array(z.number().int()).describe(\"Identifiers of the roles assigned to the agent, specified as an array of integers\").nullable().optional(),\n available: z.boolean().describe(\"Specifies whether the agent is available for ticket assignment\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Identifiers of the groups to which the agent is associated, specified as an array of integers\").nullable().optional(),\n signature: z.string().describe(\"Signature of the agent that will be appended to their responses\").nullable().optional(),\n skill_ids: z.array(z.number().int()).describe(\"Identifiers of the skills assigned to the agent, specified as an array of integers\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the agent's record was created in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n focus_mode: z.boolean().describe(\"Indicates whether the agent has focus mode enabled to concentrate on specific tasks\").nullable().optional(),\n occasional: z.boolean().describe(\"Indicates whether the agent is an occasional agent (true) or a full-time agent (false)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of when the agent's record was last updated in the Freshdesk system, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n deactivated: z.boolean().describe(\"Whether the agent account is deactivated\").nullable().optional(),\n ticket_scope: FreshdeskUpdateAgent_TicketScopeSchema.nullable().optional(),\n last_active_at: z.string().describe(\"Timestamp of agent's last activity in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n available_since: z.string().describe(\"Timestamp of since when the agent has been available for ticket assignment, in UTC format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n freshchat_agent: z.boolean().describe(\"Indicates whether the agent is a Freshchat agent. Only visible if the Freshdesk account is an Omnichannel account\").nullable().optional(),\n freshcaller_agent: z.boolean().describe(\"Indicates whether the agent is a Freshcaller agent. Only visible if the Freshdesk account is an Omnichannel account\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAgent: AppAction<\n typeof FreshdeskUpdateAgentInput,\n typeof FreshdeskUpdateAgentOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_AGENT\", {\n slug: \"freshdesk-update-agent\",\n name: \"Update Agent\",\n description: \"Tool to update an existing agent's information in Freshdesk. Use when you need to modify agent details such as email, permissions, signature, skills, groups, roles, or focus mode.\",\n input: FreshdeskUpdateAgentInput,\n output: FreshdeskUpdateAgentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,KAAK;EAAC;EAAW;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,cAAc,EAAE,KAAK;EAAC;EAAiB;EAAgB;CAAmB,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC7H,CAAC;AACD,MAAM,gDAAg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,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7K,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/K,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-automations.cjs","names":["z","action"],"sources":["../../src/actions/update-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAutomationsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the specific automation rule to update.\"),\n name: z.string().describe(\"The name of the automation rule.\").optional(),\n active: z.boolean().describe(\"Whether the automation rule is active (true) or inactive (false).\").optional(),\n actions: z.array(z.record(z.string(), z.unknown())).describe(\"Array of action objects that are performed when conditions are met. Each action has an action_type and associated value.\").optional(),\n position: z.number().int().describe(\"The position/order of the rule in the automation sequence.\").optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Conditions that must be met for the rule to execute. Typically contains an 'all' or 'any' key with an array of condition objects.\").optional(),\n description: z.string().describe(\"Description of what the automation rule does.\").optional(),\n automation_type_id: z.number().int().describe(\"The ID of the automation type. Use 1 for ticket creation rules, 3 for time-based triggers, or 4 for ticket update rules. Note: Value 2 is not allowed and will return an error.\"),\n});\nconst FreshdeskUpdateAutomations_MetaDetailsSchema = z.object({\n total_count: z.number().int().describe(\"Total number of rules\").nullable().optional(),\n total_active_count: z.number().int().describe(\"Total number of active rules\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_EventDetailsSchema = z.object({\n condition: z.record(z.string(), z.unknown()).describe(\"Conditions for the event\").nullable().optional(),\n event_name: z.string().describe(\"Name of the triggering event\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the event trigger\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ActionDetailsSchema = z.object({\n value: z.unknown().describe(\"Value for the action\").nullable().optional(),\n email_to: z.number().int().describe(\"Email recipient type\").nullable().optional(),\n email_body: z.string().describe(\"Email body template\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the action\").nullable().optional(),\n action_type: z.string().describe(\"Type of action to perform\").nullable().optional(),\n email_subject: z.string().describe(\"Email subject template\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_SummaryDetailsSchema = z.object({\n events: z.array(z.string()).describe(\"Human-readable event descriptions\").nullable().optional(),\n actions: z.array(z.string()).describe(\"Human-readable action descriptions\").nullable().optional(),\n performer: z.string().describe(\"Human-readable performer description\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Human-readable condition descriptions\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_PerformerDetailsSchema = z.object({\n id: z.number().int().describe(\"ID of the performer\").nullable().optional(),\n type: z.number().int().describe(\"Type of performer. Common values: 1 (system), 2 (requester), 3 (agent).\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ConditionSetDetailsSchema = z.object({\n name: z.string().describe(\"Name of the condition set (e.g., 'condition_set_1')\").nullable().optional(),\n match_type: z.string().describe(\"How conditions should be matched (e.g., 'all', 'any')\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"List of condition properties with field_name, operator, and value\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateAutomationsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the automation rule\").nullable().optional(),\n meta: FreshdeskUpdateAutomations_MetaDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Name of the automation rule\").nullable().optional(),\n active: z.boolean().describe(\"Whether the rule is currently active\").nullable().optional(),\n events: z.array(FreshdeskUpdateAutomations_EventDetailsSchema).describe(\"Array of event objects that trigger this rule\").nullable().optional(),\n actions: z.array(FreshdeskUpdateAutomations_ActionDetailsSchema).describe(\"Array of action objects that are performed when conditions are met\").nullable().optional(),\n summary: FreshdeskUpdateAutomations_SummaryDetailsSchema.nullable().optional(),\n operator: z.string().describe(\"Logical operator between condition sets (e.g., 'condition_set_1 or condition_set_2')\").nullable().optional(),\n outdated: z.boolean().describe(\"Whether the rule is outdated\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of the rule in the automation sequence\").nullable().optional(),\n performer: FreshdeskUpdateAutomations_PerformerDetailsSchema.nullable().optional(),\n conditions: z.array(FreshdeskUpdateAutomations_ConditionSetDetailsSchema).describe(\"List of condition sets that must be met for the rule to execute\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the rule was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the rule was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of what the rule does\").nullable().optional(),\n last_updated_by: z.number().int().describe(\"ID of the agent who last updated this rule\").nullable().optional(),\n affected_tickets_count: z.number().int().describe(\"Number of tickets affected by this rule\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAutomations = action(\"FRESHDESK_UPDATE_AUTOMATIONS\", {\n slug: \"freshdesk-update-automations\",\n name: \"Update Automation Rule\",\n description: \"Tool to update an existing automation rule in Freshdesk. Use when you need to modify automation rule properties like name, description, active status, conditions, or actions. Supports ticket creation rules (type 1), time-based triggers (type 3), and ticket update rules (type 4).\",\n input: FreshdeskUpdateAutomationsInput,\n output: FreshdeskUpdateAutomationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;C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CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-automations.cjs","names":["z","action"],"sources":["../../src/actions/update-automations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateAutomationsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the specific automation rule to update.\"),\n name: z.string().describe(\"The name of the automation rule.\").optional(),\n active: z.boolean().describe(\"Whether the automation rule is active (true) or inactive (false).\").optional(),\n actions: z.array(z.record(z.string(), z.unknown())).describe(\"Array of action objects that are performed when conditions are met. Each action has an action_type and associated value.\").optional(),\n position: z.number().int().describe(\"The position/order of the rule in the automation sequence.\").optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Conditions that must be met for the rule to execute. Typically contains an 'all' or 'any' key with an array of condition objects.\").optional(),\n description: z.string().describe(\"Description of what the automation rule does.\").optional(),\n automation_type_id: z.number().int().describe(\"The ID of the automation type. Use 1 for ticket creation rules, 3 for time-based triggers, or 4 for ticket update rules. Note: Value 2 is not allowed and will return an error.\"),\n});\nconst FreshdeskUpdateAutomations_MetaDetailsSchema = z.object({\n total_count: z.number().int().describe(\"Total number of rules\").nullable().optional(),\n total_active_count: z.number().int().describe(\"Total number of active rules\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_EventDetailsSchema = z.object({\n condition: z.record(z.string(), z.unknown()).describe(\"Conditions for the event\").nullable().optional(),\n event_name: z.string().describe(\"Name of the triggering event\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the event trigger\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ActionDetailsSchema = z.object({\n value: z.unknown().describe(\"Value for the action\").nullable().optional(),\n email_to: z.number().int().describe(\"Email recipient type\").nullable().optional(),\n email_body: z.string().describe(\"Email body template\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the action\").nullable().optional(),\n action_type: z.string().describe(\"Type of action to perform\").nullable().optional(),\n email_subject: z.string().describe(\"Email subject template\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_SummaryDetailsSchema = z.object({\n events: z.array(z.string()).describe(\"Human-readable event descriptions\").nullable().optional(),\n actions: z.array(z.string()).describe(\"Human-readable action descriptions\").nullable().optional(),\n performer: z.string().describe(\"Human-readable performer description\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Human-readable condition descriptions\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_PerformerDetailsSchema = z.object({\n id: z.number().int().describe(\"ID of the performer\").nullable().optional(),\n type: z.number().int().describe(\"Type of performer. Common values: 1 (system), 2 (requester), 3 (agent).\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ConditionSetDetailsSchema = z.object({\n name: z.string().describe(\"Name of the condition set (e.g., 'condition_set_1')\").nullable().optional(),\n match_type: z.string().describe(\"How conditions should be matched (e.g., 'all', 'any')\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"List of condition properties with field_name, operator, and value\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateAutomationsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the automation rule\").nullable().optional(),\n meta: FreshdeskUpdateAutomations_MetaDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Name of the automation rule\").nullable().optional(),\n active: z.boolean().describe(\"Whether the rule is currently active\").nullable().optional(),\n events: z.array(FreshdeskUpdateAutomations_EventDetailsSchema).describe(\"Array of event objects that trigger this rule\").nullable().optional(),\n actions: z.array(FreshdeskUpdateAutomations_ActionDetailsSchema).describe(\"Array of action objects that are performed when conditions are met\").nullable().optional(),\n summary: FreshdeskUpdateAutomations_SummaryDetailsSchema.nullable().optional(),\n operator: z.string().describe(\"Logical operator between condition sets (e.g., 'condition_set_1 or condition_set_2')\").nullable().optional(),\n outdated: z.boolean().describe(\"Whether the rule is outdated\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of the rule in the automation sequence\").nullable().optional(),\n performer: FreshdeskUpdateAutomations_PerformerDetailsSchema.nullable().optional(),\n conditions: z.array(FreshdeskUpdateAutomations_ConditionSetDetailsSchema).describe(\"List of condition sets that must be met for the rule to execute\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the rule was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the rule was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of what the rule does\").nullable().optional(),\n last_updated_by: z.number().int().describe(\"ID of the agent who last updated this rule\").nullable().optional(),\n affected_tickets_count: z.number().int().describe(\"Number of tickets affected by this rule\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAutomations: AppAction<\n typeof FreshdeskUpdateAutomationsInput,\n typeof FreshdeskUpdateAutomationsOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_AUTOMATIONS\", {\n slug: \"freshdesk-update-automations\",\n name: \"Update Automation Rule\",\n description: \"Tool to update an existing automation rule in Freshdesk. Use when you need to modify automation rule properties like name, description, active status, conditions, or actions. Supports ticket creation rules (type 1), time-based triggers (type 3), and ticket update rules (type 4).\",\n input: FreshdeskUpdateAutomationsInput,\n output: FreshdeskUpdateAutomationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,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1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-automations.d.ts
|
|
@@ -56,30 +58,7 @@ declare const FreshdeskUpdateAutomationsOutput: z.ZodObject<{
|
|
|
56
58
|
last_updated_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
59
|
affected_tickets_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
60
|
}, z.core.$loose>;
|
|
59
|
-
declare const freshdeskUpdateAutomations:
|
|
60
|
-
id: number;
|
|
61
|
-
automation_type_id: number;
|
|
62
|
-
name?: string | undefined;
|
|
63
|
-
active?: boolean | undefined;
|
|
64
|
-
actions?: Record<string, unknown>[] | undefined;
|
|
65
|
-
position?: number | undefined;
|
|
66
|
-
conditions?: Record<string, unknown> | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
entityId: z.ZodString;
|
|
71
|
-
instanceId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
subdomain: z.ZodString;
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
subdomain: z.ZodString;
|
|
81
|
-
generic_api_key: z.ZodString;
|
|
82
|
-
}, z.core.$strip>>]>;
|
|
61
|
+
declare const freshdeskUpdateAutomations: AppAction<typeof FreshdeskUpdateAutomationsInput, typeof FreshdeskUpdateAutomationsOutput, typeof freshdesk.credential>;
|
|
83
62
|
//#endregion
|
|
84
63
|
export { freshdeskUpdateAutomations };
|
|
85
64
|
//# sourceMappingURL=update-automations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-automations.d.cts","names":[],"sources":["../../src/actions/update-automations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-automations.d.cts","names":[],"sources":["../../src/actions/update-automations.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cA0C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-automations.d.ts
|
|
@@ -56,30 +58,7 @@ declare const FreshdeskUpdateAutomationsOutput: z.ZodObject<{
|
|
|
56
58
|
last_updated_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
59
|
affected_tickets_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
60
|
}, z.core.$loose>;
|
|
59
|
-
declare const freshdeskUpdateAutomations:
|
|
60
|
-
id: number;
|
|
61
|
-
automation_type_id: number;
|
|
62
|
-
name?: string | undefined;
|
|
63
|
-
active?: boolean | undefined;
|
|
64
|
-
actions?: Record<string, unknown>[] | undefined;
|
|
65
|
-
position?: number | undefined;
|
|
66
|
-
conditions?: Record<string, unknown> | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
entityId: z.ZodString;
|
|
71
|
-
instanceId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
subdomain: z.ZodString;
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
subdomain: z.ZodString;
|
|
81
|
-
generic_api_key: z.ZodString;
|
|
82
|
-
}, z.core.$strip>>]>;
|
|
61
|
+
declare const freshdeskUpdateAutomations: AppAction<typeof FreshdeskUpdateAutomationsInput, typeof FreshdeskUpdateAutomationsOutput, typeof freshdesk.credential>;
|
|
83
62
|
//#endregion
|
|
84
63
|
export { freshdeskUpdateAutomations };
|
|
85
64
|
//# sourceMappingURL=update-automations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-automations.d.mts","names":[],"sources":["../../src/actions/update-automations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-automations.d.mts","names":[],"sources":["../../src/actions/update-automations.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cA0C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-automations.mjs","names":[],"sources":["../../src/actions/update-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateAutomationsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the specific automation rule to update.\"),\n name: z.string().describe(\"The name of the automation rule.\").optional(),\n active: z.boolean().describe(\"Whether the automation rule is active (true) or inactive (false).\").optional(),\n actions: z.array(z.record(z.string(), z.unknown())).describe(\"Array of action objects that are performed when conditions are met. Each action has an action_type and associated value.\").optional(),\n position: z.number().int().describe(\"The position/order of the rule in the automation sequence.\").optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Conditions that must be met for the rule to execute. Typically contains an 'all' or 'any' key with an array of condition objects.\").optional(),\n description: z.string().describe(\"Description of what the automation rule does.\").optional(),\n automation_type_id: z.number().int().describe(\"The ID of the automation type. Use 1 for ticket creation rules, 3 for time-based triggers, or 4 for ticket update rules. Note: Value 2 is not allowed and will return an error.\"),\n});\nconst FreshdeskUpdateAutomations_MetaDetailsSchema = z.object({\n total_count: z.number().int().describe(\"Total number of rules\").nullable().optional(),\n total_active_count: z.number().int().describe(\"Total number of active rules\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_EventDetailsSchema = z.object({\n condition: z.record(z.string(), z.unknown()).describe(\"Conditions for the event\").nullable().optional(),\n event_name: z.string().describe(\"Name of the triggering event\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the event trigger\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ActionDetailsSchema = z.object({\n value: z.unknown().describe(\"Value for the action\").nullable().optional(),\n email_to: z.number().int().describe(\"Email recipient type\").nullable().optional(),\n email_body: z.string().describe(\"Email body template\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the action\").nullable().optional(),\n action_type: z.string().describe(\"Type of action to perform\").nullable().optional(),\n email_subject: z.string().describe(\"Email subject template\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_SummaryDetailsSchema = z.object({\n events: z.array(z.string()).describe(\"Human-readable event descriptions\").nullable().optional(),\n actions: z.array(z.string()).describe(\"Human-readable action descriptions\").nullable().optional(),\n performer: z.string().describe(\"Human-readable performer description\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Human-readable condition descriptions\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_PerformerDetailsSchema = z.object({\n id: z.number().int().describe(\"ID of the performer\").nullable().optional(),\n type: z.number().int().describe(\"Type of performer. Common values: 1 (system), 2 (requester), 3 (agent).\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ConditionSetDetailsSchema = z.object({\n name: z.string().describe(\"Name of the condition set (e.g., 'condition_set_1')\").nullable().optional(),\n match_type: z.string().describe(\"How conditions should be matched (e.g., 'all', 'any')\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"List of condition properties with field_name, operator, and value\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateAutomationsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the automation rule\").nullable().optional(),\n meta: FreshdeskUpdateAutomations_MetaDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Name of the automation rule\").nullable().optional(),\n active: z.boolean().describe(\"Whether the rule is currently active\").nullable().optional(),\n events: z.array(FreshdeskUpdateAutomations_EventDetailsSchema).describe(\"Array of event objects that trigger this rule\").nullable().optional(),\n actions: z.array(FreshdeskUpdateAutomations_ActionDetailsSchema).describe(\"Array of action objects that are performed when conditions are met\").nullable().optional(),\n summary: FreshdeskUpdateAutomations_SummaryDetailsSchema.nullable().optional(),\n operator: z.string().describe(\"Logical operator between condition sets (e.g., 'condition_set_1 or condition_set_2')\").nullable().optional(),\n outdated: z.boolean().describe(\"Whether the rule is outdated\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of the rule in the automation sequence\").nullable().optional(),\n performer: FreshdeskUpdateAutomations_PerformerDetailsSchema.nullable().optional(),\n conditions: z.array(FreshdeskUpdateAutomations_ConditionSetDetailsSchema).describe(\"List of condition sets that must be met for the rule to execute\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the rule was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the rule was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of what the rule does\").nullable().optional(),\n last_updated_by: z.number().int().describe(\"ID of the agent who last updated this rule\").nullable().optional(),\n affected_tickets_count: z.number().int().describe(\"Number of tickets affected by this rule\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAutomations = action(\"FRESHDESK_UPDATE_AUTOMATIONS\", {\n slug: \"freshdesk-update-automations\",\n name: \"Update Automation Rule\",\n description: \"Tool to update an existing automation rule in Freshdesk. Use when you need to modify automation rule properties like name, description, active status, conditions, or actions. Supports ticket creation rules (type 1), time-based triggers (type 3), and ticket update rules (type 4).\",\n input: FreshdeskUpdateAutomationsInput,\n output: FreshdeskUpdateAutomationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAClM,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iLAAiL;AACjO,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,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,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-automations.mjs","names":[],"sources":["../../src/actions/update-automations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateAutomationsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the specific automation rule to update.\"),\n name: z.string().describe(\"The name of the automation rule.\").optional(),\n active: z.boolean().describe(\"Whether the automation rule is active (true) or inactive (false).\").optional(),\n actions: z.array(z.record(z.string(), z.unknown())).describe(\"Array of action objects that are performed when conditions are met. Each action has an action_type and associated value.\").optional(),\n position: z.number().int().describe(\"The position/order of the rule in the automation sequence.\").optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Conditions that must be met for the rule to execute. Typically contains an 'all' or 'any' key with an array of condition objects.\").optional(),\n description: z.string().describe(\"Description of what the automation rule does.\").optional(),\n automation_type_id: z.number().int().describe(\"The ID of the automation type. Use 1 for ticket creation rules, 3 for time-based triggers, or 4 for ticket update rules. Note: Value 2 is not allowed and will return an error.\"),\n});\nconst FreshdeskUpdateAutomations_MetaDetailsSchema = z.object({\n total_count: z.number().int().describe(\"Total number of rules\").nullable().optional(),\n total_active_count: z.number().int().describe(\"Total number of active rules\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_EventDetailsSchema = z.object({\n condition: z.record(z.string(), z.unknown()).describe(\"Conditions for the event\").nullable().optional(),\n event_name: z.string().describe(\"Name of the triggering event\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the event trigger\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ActionDetailsSchema = z.object({\n value: z.unknown().describe(\"Value for the action\").nullable().optional(),\n email_to: z.number().int().describe(\"Email recipient type\").nullable().optional(),\n email_body: z.string().describe(\"Email body template\").nullable().optional(),\n field_name: z.string().describe(\"Field name for the action\").nullable().optional(),\n action_type: z.string().describe(\"Type of action to perform\").nullable().optional(),\n email_subject: z.string().describe(\"Email subject template\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_SummaryDetailsSchema = z.object({\n events: z.array(z.string()).describe(\"Human-readable event descriptions\").nullable().optional(),\n actions: z.array(z.string()).describe(\"Human-readable action descriptions\").nullable().optional(),\n performer: z.string().describe(\"Human-readable performer description\").nullable().optional(),\n conditions: z.record(z.string(), z.unknown()).describe(\"Human-readable condition descriptions\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_PerformerDetailsSchema = z.object({\n id: z.number().int().describe(\"ID of the performer\").nullable().optional(),\n type: z.number().int().describe(\"Type of performer. Common values: 1 (system), 2 (requester), 3 (agent).\").nullable().optional(),\n}).passthrough();\nconst FreshdeskUpdateAutomations_ConditionSetDetailsSchema = z.object({\n name: z.string().describe(\"Name of the condition set (e.g., 'condition_set_1')\").nullable().optional(),\n match_type: z.string().describe(\"How conditions should be matched (e.g., 'all', 'any')\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"List of condition properties with field_name, operator, and value\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateAutomationsOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the automation rule\").nullable().optional(),\n meta: FreshdeskUpdateAutomations_MetaDetailsSchema.nullable().optional(),\n name: z.string().describe(\"Name of the automation rule\").nullable().optional(),\n active: z.boolean().describe(\"Whether the rule is currently active\").nullable().optional(),\n events: z.array(FreshdeskUpdateAutomations_EventDetailsSchema).describe(\"Array of event objects that trigger this rule\").nullable().optional(),\n actions: z.array(FreshdeskUpdateAutomations_ActionDetailsSchema).describe(\"Array of action objects that are performed when conditions are met\").nullable().optional(),\n summary: FreshdeskUpdateAutomations_SummaryDetailsSchema.nullable().optional(),\n operator: z.string().describe(\"Logical operator between condition sets (e.g., 'condition_set_1 or condition_set_2')\").nullable().optional(),\n outdated: z.boolean().describe(\"Whether the rule is outdated\").nullable().optional(),\n position: z.number().int().describe(\"Position/order of the rule in the automation sequence\").nullable().optional(),\n performer: FreshdeskUpdateAutomations_PerformerDetailsSchema.nullable().optional(),\n conditions: z.array(FreshdeskUpdateAutomations_ConditionSetDetailsSchema).describe(\"List of condition sets that must be met for the rule to execute\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the rule was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the rule was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of what the rule does\").nullable().optional(),\n last_updated_by: z.number().int().describe(\"ID of the agent who last updated this rule\").nullable().optional(),\n affected_tickets_count: z.number().int().describe(\"Number of tickets affected by this rule\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateAutomations: AppAction<\n typeof FreshdeskUpdateAutomationsInput,\n typeof FreshdeskUpdateAutomationsOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_AUTOMATIONS\", {\n slug: \"freshdesk-update-automations\",\n name: \"Update Automation Rule\",\n description: \"Tool to update an existing automation rule in Freshdesk. Use when you need to modify automation rule properties like name, description, active status, conditions, or actions. Supports ticket creation rules (type 1), time-based triggers (type 3), and ticket update rules (type 4).\",\n input: FreshdeskUpdateAutomationsInput,\n output: FreshdeskUpdateAutomationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mEA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CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response-folder.cjs","names":["z","action"],"sources":["../../src/actions/update-canned-response-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateCannedResponseFolderInput = z.object({\n name: z.string().describe(\"The new name for the canned response folder\"),\n folder_id: z.number().int().describe(\"The unique identifier of the canned response folder to update. Use the 'Get Canned Response Folders' action to find folder IDs.\"),\n});\nexport const FreshdeskUpdateCannedResponseFolderOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the updated canned response folder\").nullable(),\n name: z.string().describe(\"Updated name of the canned response folder\").nullable(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponseFolder = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE_FOLDER\", {\n slug: \"freshdesk-update-canned-response-folder\",\n name: \"Update Canned Response Folder\",\n description: \"Updates the name of an existing canned response folder in Freshdesk. Use this to rename folders that organize canned response templates.\",\n input: FreshdeskUpdateCannedResponseFolderInput,\n output: FreshdeskUpdateCannedResponseFolderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response-folder.cjs","names":["z","action"],"sources":["../../src/actions/update-canned-response-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateCannedResponseFolderInput = z.object({\n name: z.string().describe(\"The new name for the canned response folder\"),\n folder_id: z.number().int().describe(\"The unique identifier of the canned response folder to update. Use the 'Get Canned Response Folders' action to find folder IDs.\"),\n});\nexport const FreshdeskUpdateCannedResponseFolderOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the updated canned response folder\").nullable(),\n name: z.string().describe(\"Updated name of the canned response folder\").nullable(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponseFolder: AppAction<\n typeof FreshdeskUpdateCannedResponseFolderInput,\n typeof FreshdeskUpdateCannedResponseFolderOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE_FOLDER\", {\n slug: \"freshdesk-update-canned-response-folder\",\n name: \"Update Canned Response Folder\",\n description: \"Updates the name of an existing canned response folder in Freshdesk. Use this to rename folders that organize canned response templates.\",\n input: FreshdeskUpdateCannedResponseFolderInput,\n output: FreshdeskUpdateCannedResponseFolderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;AACxK,CAAC;AACD,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-canned-response-folder.d.ts
|
|
@@ -9,24 +11,7 @@ declare const FreshdeskUpdateCannedResponseFolderOutput: z.ZodObject<{
|
|
|
9
11
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
name: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const freshdeskUpdateCannedResponseFolder:
|
|
13
|
-
name: string;
|
|
14
|
-
folder_id: number;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
subdomain: z.ZodString;
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const freshdeskUpdateCannedResponseFolder: AppAction<typeof FreshdeskUpdateCannedResponseFolderInput, typeof FreshdeskUpdateCannedResponseFolderOutput, typeof freshdesk.credential>;
|
|
30
15
|
//#endregion
|
|
31
16
|
export { freshdeskUpdateCannedResponseFolder };
|
|
32
17
|
//# sourceMappingURL=update-canned-response-folder.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response-folder.d.cts","names":[],"sources":["../../src/actions/update-canned-response-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response-folder.d.cts","names":[],"sources":["../../src/actions/update-canned-response-folder.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-canned-response-folder.d.ts
|
|
@@ -9,24 +11,7 @@ declare const FreshdeskUpdateCannedResponseFolderOutput: z.ZodObject<{
|
|
|
9
11
|
id: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
name: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const freshdeskUpdateCannedResponseFolder:
|
|
13
|
-
name: string;
|
|
14
|
-
folder_id: number;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
subdomain: z.ZodString;
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
subdomain: z.ZodString;
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const freshdeskUpdateCannedResponseFolder: AppAction<typeof FreshdeskUpdateCannedResponseFolderInput, typeof FreshdeskUpdateCannedResponseFolderOutput, typeof freshdesk.credential>;
|
|
30
15
|
//#endregion
|
|
31
16
|
export { freshdeskUpdateCannedResponseFolder };
|
|
32
17
|
//# sourceMappingURL=update-canned-response-folder.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response-folder.d.mts","names":[],"sources":["../../src/actions/update-canned-response-folder.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response-folder.d.mts","names":[],"sources":["../../src/actions/update-canned-response-folder.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAIxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response-folder.mjs","names":[],"sources":["../../src/actions/update-canned-response-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateCannedResponseFolderInput = z.object({\n name: z.string().describe(\"The new name for the canned response folder\"),\n folder_id: z.number().int().describe(\"The unique identifier of the canned response folder to update. Use the 'Get Canned Response Folders' action to find folder IDs.\"),\n});\nexport const FreshdeskUpdateCannedResponseFolderOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the updated canned response folder\").nullable(),\n name: z.string().describe(\"Updated name of the canned response folder\").nullable(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponseFolder = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE_FOLDER\", {\n slug: \"freshdesk-update-canned-response-folder\",\n name: \"Update Canned Response Folder\",\n description: \"Updates the name of an existing canned response folder in Freshdesk. Use this to rename folders that organize canned response templates.\",\n input: FreshdeskUpdateCannedResponseFolderInput,\n output: FreshdeskUpdateCannedResponseFolderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response-folder.mjs","names":[],"sources":["../../src/actions/update-canned-response-folder.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateCannedResponseFolderInput = z.object({\n name: z.string().describe(\"The new name for the canned response folder\"),\n folder_id: z.number().int().describe(\"The unique identifier of the canned response folder to update. Use the 'Get Canned Response Folders' action to find folder IDs.\"),\n});\nexport const FreshdeskUpdateCannedResponseFolderOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the updated canned response folder\").nullable(),\n name: z.string().describe(\"Updated name of the canned response folder\").nullable(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponseFolder: AppAction<\n typeof FreshdeskUpdateCannedResponseFolderInput,\n typeof FreshdeskUpdateCannedResponseFolderOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE_FOLDER\", {\n slug: \"freshdesk-update-canned-response-folder\",\n name: \"Update Canned Response Folder\",\n description: \"Updates the name of an existing canned response folder in Freshdesk. Use this to rename folders that organize canned response templates.\",\n input: FreshdeskUpdateCannedResponseFolderInput,\n output: FreshdeskUpdateCannedResponseFolderOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;CACxK,CAcS;CACP,QAduD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACnG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response.cjs","names":["z","action"],"sources":["../../src/actions/update-canned-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateCannedResponseInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the canned response to update\"),\n title: z.string().describe(\"Title of the canned response\").optional(),\n folder_id: z.number().int().describe(\"ID of the folder to move this canned response to\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs that should have access to this canned response. Used when visibility is set to 2 (specific groups)\").optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal (visible only to creator), 1=all agents (visible to all agents), 2=specific groups (visible to designated groups)\").optional(),\n content_html: z.string().describe(\"HTML formatted content of the canned response. The plain text content field is automatically generated from this.\").optional(),\n});\nconst FreshdeskUpdateCannedResponse_AttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the attachment\").nullable().optional(),\n name: z.string().describe(\"File name of the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n thumb_url: z.string().describe(\"URL to thumbnail if applicable\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attached file\").nullable().optional(),\n attachment_url: z.string().describe(\"Download URL for the attached file\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response\").nullable().optional(),\n title: z.string().describe(\"Title of the canned response\").nullable().optional(),\n content: z.string().describe(\"Plain text content of the response, auto-generated from content_html\").nullable().optional(),\n folder_id: z.number().int().describe(\"ID of the folder containing this response\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs with access to this canned response\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created in UTC format\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated in UTC format\").nullable().optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal, 1=all agents, 2=specific groups\").nullable().optional(),\n attachments: z.array(FreshdeskUpdateCannedResponse_AttachmentSchema).describe(\"Array of attachments\").nullable().optional(),\n content_html: z.string().describe(\"HTML formatted content of the response\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponse = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE\", {\n slug: \"freshdesk-update-canned-response\",\n name: \"Update Canned Response\",\n description: \"Tool to update an existing canned response in Freshdesk. Use when you need to modify the title, content, folder location, visibility, or group access of a canned response template.\",\n input: FreshdeskUpdateCannedResponseInput,\n output: FreshdeskUpdateCannedResponseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response.cjs","names":["z","action"],"sources":["../../src/actions/update-canned-response.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateCannedResponseInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the canned response to update\"),\n title: z.string().describe(\"Title of the canned response\").optional(),\n folder_id: z.number().int().describe(\"ID of the folder to move this canned response to\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs that should have access to this canned response. Used when visibility is set to 2 (specific groups)\").optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal (visible only to creator), 1=all agents (visible to all agents), 2=specific groups (visible to designated groups)\").optional(),\n content_html: z.string().describe(\"HTML formatted content of the canned response. The plain text content field is automatically generated from this.\").optional(),\n});\nconst FreshdeskUpdateCannedResponse_AttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the attachment\").nullable().optional(),\n name: z.string().describe(\"File name of the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n thumb_url: z.string().describe(\"URL to thumbnail if applicable\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attached file\").nullable().optional(),\n attachment_url: z.string().describe(\"Download URL for the attached file\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response\").nullable().optional(),\n title: z.string().describe(\"Title of the canned response\").nullable().optional(),\n content: z.string().describe(\"Plain text content of the response, auto-generated from content_html\").nullable().optional(),\n folder_id: z.number().int().describe(\"ID of the folder containing this response\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs with access to this canned response\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created in UTC format\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated in UTC format\").nullable().optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal, 1=all agents, 2=specific groups\").nullable().optional(),\n attachments: z.array(FreshdeskUpdateCannedResponse_AttachmentSchema).describe(\"Array of attachments\").nullable().optional(),\n content_html: z.string().describe(\"HTML formatted content of the response\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponse: AppAction<\n typeof FreshdeskUpdateCannedResponseInput,\n typeof FreshdeskUpdateCannedResponseOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE\", {\n slug: \"freshdesk-update-canned-response\",\n name: \"Update Canned Response\",\n description: \"Tool to update an existing canned response in Freshdesk. Use when you need to modify the title, content, folder location, visibility, or group access of a canned response template.\",\n input: FreshdeskUpdateCannedResponseInput,\n output: FreshdeskUpdateCannedResponseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACjL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CACnM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAA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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-canned-response.d.ts
|
|
@@ -28,28 +30,7 @@ declare const FreshdeskUpdateCannedResponseOutput: z.ZodObject<{
|
|
|
28
30
|
}, z.core.$loose>>>>;
|
|
29
31
|
content_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const freshdeskUpdateCannedResponse:
|
|
32
|
-
id: number;
|
|
33
|
-
title?: string | undefined;
|
|
34
|
-
folder_id?: number | undefined;
|
|
35
|
-
group_ids?: number[] | undefined;
|
|
36
|
-
visibility?: number | undefined;
|
|
37
|
-
content_html?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
subdomain: z.ZodString;
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
subdomain: z.ZodString;
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const freshdeskUpdateCannedResponse: AppAction<typeof FreshdeskUpdateCannedResponseInput, typeof FreshdeskUpdateCannedResponseOutput, typeof freshdesk.credential>;
|
|
53
34
|
//#endregion
|
|
54
35
|
export { freshdeskUpdateCannedResponse };
|
|
55
36
|
//# sourceMappingURL=update-canned-response.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response.d.cts","names":[],"sources":["../../src/actions/update-canned-response.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response.d.cts","names":[],"sources":["../../src/actions/update-canned-response.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAgBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAanC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { freshdesk } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-canned-response.d.ts
|
|
@@ -28,28 +30,7 @@ declare const FreshdeskUpdateCannedResponseOutput: z.ZodObject<{
|
|
|
28
30
|
}, z.core.$loose>>>>;
|
|
29
31
|
content_html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const freshdeskUpdateCannedResponse:
|
|
32
|
-
id: number;
|
|
33
|
-
title?: string | undefined;
|
|
34
|
-
folder_id?: number | undefined;
|
|
35
|
-
group_ids?: number[] | undefined;
|
|
36
|
-
visibility?: number | undefined;
|
|
37
|
-
content_html?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
subdomain: z.ZodString;
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"freshdesk", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
subdomain: z.ZodString;
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const freshdeskUpdateCannedResponse: AppAction<typeof FreshdeskUpdateCannedResponseInput, typeof FreshdeskUpdateCannedResponseOutput, typeof freshdesk.credential>;
|
|
53
34
|
//#endregion
|
|
54
35
|
export { freshdeskUpdateCannedResponse };
|
|
55
36
|
//# sourceMappingURL=update-canned-response.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response.d.mts","names":[],"sources":["../../src/actions/update-canned-response.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response.d.mts","names":[],"sources":["../../src/actions/update-canned-response.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAgBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAanC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-canned-response.mjs","names":[],"sources":["../../src/actions/update-canned-response.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateCannedResponseInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the canned response to update\"),\n title: z.string().describe(\"Title of the canned response\").optional(),\n folder_id: z.number().int().describe(\"ID of the folder to move this canned response to\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs that should have access to this canned response. Used when visibility is set to 2 (specific groups)\").optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal (visible only to creator), 1=all agents (visible to all agents), 2=specific groups (visible to designated groups)\").optional(),\n content_html: z.string().describe(\"HTML formatted content of the canned response. The plain text content field is automatically generated from this.\").optional(),\n});\nconst FreshdeskUpdateCannedResponse_AttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the attachment\").nullable().optional(),\n name: z.string().describe(\"File name of the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n thumb_url: z.string().describe(\"URL to thumbnail if applicable\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attached file\").nullable().optional(),\n attachment_url: z.string().describe(\"Download URL for the attached file\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response\").nullable().optional(),\n title: z.string().describe(\"Title of the canned response\").nullable().optional(),\n content: z.string().describe(\"Plain text content of the response, auto-generated from content_html\").nullable().optional(),\n folder_id: z.number().int().describe(\"ID of the folder containing this response\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs with access to this canned response\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created in UTC format\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated in UTC format\").nullable().optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal, 1=all agents, 2=specific groups\").nullable().optional(),\n attachments: z.array(FreshdeskUpdateCannedResponse_AttachmentSchema).describe(\"Array of attachments\").nullable().optional(),\n content_html: z.string().describe(\"HTML formatted content of the response\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponse = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE\", {\n slug: \"freshdesk-update-canned-response\",\n name: \"Update Canned Response\",\n description: \"Tool to update an existing canned response in Freshdesk. Use when you need to modify the title, content, folder location, visibility, or group access of a canned response template.\",\n input: FreshdeskUpdateCannedResponseInput,\n output: FreshdeskUpdateCannedResponseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-canned-response.mjs","names":[],"sources":["../../src/actions/update-canned-response.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { freshdesk } from \"../app\";\n\nexport const FreshdeskUpdateCannedResponseInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the canned response to update\"),\n title: z.string().describe(\"Title of the canned response\").optional(),\n folder_id: z.number().int().describe(\"ID of the folder to move this canned response to\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs that should have access to this canned response. Used when visibility is set to 2 (specific groups)\").optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal (visible only to creator), 1=all agents (visible to all agents), 2=specific groups (visible to designated groups)\").optional(),\n content_html: z.string().describe(\"HTML formatted content of the canned response. The plain text content field is automatically generated from this.\").optional(),\n});\nconst FreshdeskUpdateCannedResponse_AttachmentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the attachment\").nullable().optional(),\n name: z.string().describe(\"File name of the attachment\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n thumb_url: z.string().describe(\"URL to thumbnail if applicable\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the attached file\").nullable().optional(),\n attachment_url: z.string().describe(\"Download URL for the attached file\").nullable().optional(),\n}).passthrough();\nexport const FreshdeskUpdateCannedResponseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the canned response\").nullable().optional(),\n title: z.string().describe(\"Title of the canned response\").nullable().optional(),\n content: z.string().describe(\"Plain text content of the response, auto-generated from content_html\").nullable().optional(),\n folder_id: z.number().int().describe(\"ID of the folder containing this response\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs with access to this canned response\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the canned response was created in UTC format\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the canned response was last updated in UTC format\").nullable().optional(),\n visibility: z.number().int().describe(\"Visibility setting: 0=personal, 1=all agents, 2=specific groups\").nullable().optional(),\n attachments: z.array(FreshdeskUpdateCannedResponse_AttachmentSchema).describe(\"Array of attachments\").nullable().optional(),\n content_html: z.string().describe(\"HTML formatted content of the response\").nullable().optional(),\n}).passthrough();\n\nexport const freshdeskUpdateCannedResponse: AppAction<\n typeof FreshdeskUpdateCannedResponseInput,\n typeof FreshdeskUpdateCannedResponseOutput,\n typeof freshdesk.credential\n> = action(\"FRESHDESK_UPDATE_CANNED_RESPONSE\", {\n slug: \"freshdesk-update-canned-response\",\n name: \"Update Canned Response\",\n description: \"Tool to update an existing canned response in Freshdesk. Use when you need to modify the title, content, folder location, visibility, or group access of a canned response template.\",\n input: FreshdeskUpdateCannedResponseInput,\n output: FreshdeskUpdateCannedResponseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACjL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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