@keystrokehq/freshdesk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-note-to-ticket.cjs +21 -21
- package/dist/actions/add-note-to-ticket.cjs.map +1 -1
- package/dist/actions/add-note-to-ticket.d.cts +59 -3
- package/dist/actions/add-note-to-ticket.d.cts.map +1 -1
- package/dist/actions/add-note-to-ticket.d.mts +59 -3
- package/dist/actions/add-note-to-ticket.d.mts.map +1 -1
- package/dist/actions/add-note-to-ticket.mjs +21 -21
- package/dist/actions/add-note-to-ticket.mjs.map +1 -1
- package/dist/actions/add-ticket-user-access.cjs +3 -3
- package/dist/actions/add-ticket-user-access.cjs.map +1 -1
- package/dist/actions/add-ticket-user-access.d.cts +17 -3
- package/dist/actions/add-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/add-ticket-user-access.d.mts +17 -3
- package/dist/actions/add-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/add-ticket-user-access.mjs +3 -3
- package/dist/actions/add-ticket-user-access.mjs.map +1 -1
- package/dist/actions/add-watcher.cjs +2 -2
- package/dist/actions/add-watcher.cjs.map +1 -1
- package/dist/actions/add-watcher.d.cts +13 -3
- package/dist/actions/add-watcher.d.cts.map +1 -1
- package/dist/actions/add-watcher.d.mts +13 -3
- package/dist/actions/add-watcher.d.mts.map +1 -1
- package/dist/actions/add-watcher.mjs +2 -2
- package/dist/actions/add-watcher.mjs.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.cjs +10 -10
- package/dist/actions/bulk-unwatch-tickets.cjs.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.d.cts +33 -3
- package/dist/actions/bulk-unwatch-tickets.d.cts.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.d.mts +33 -3
- package/dist/actions/bulk-unwatch-tickets.d.mts.map +1 -1
- package/dist/actions/bulk-unwatch-tickets.mjs +10 -10
- package/dist/actions/bulk-unwatch-tickets.mjs.map +1 -1
- package/dist/actions/bulk-update-tickets.cjs +2 -2
- package/dist/actions/bulk-update-tickets.cjs.map +1 -1
- package/dist/actions/bulk-update-tickets.d.cts +56 -3
- package/dist/actions/bulk-update-tickets.d.cts.map +1 -1
- package/dist/actions/bulk-update-tickets.d.mts +56 -3
- package/dist/actions/bulk-update-tickets.d.mts.map +1 -1
- package/dist/actions/bulk-update-tickets.mjs +2 -2
- package/dist/actions/bulk-update-tickets.mjs.map +1 -1
- package/dist/actions/cancel-contact-import.cjs +8 -8
- package/dist/actions/cancel-contact-import.cjs.map +1 -1
- package/dist/actions/cancel-contact-import.d.cts +27 -3
- package/dist/actions/cancel-contact-import.d.cts.map +1 -1
- package/dist/actions/cancel-contact-import.d.mts +27 -3
- package/dist/actions/cancel-contact-import.d.mts.map +1 -1
- package/dist/actions/cancel-contact-import.mjs +8 -8
- package/dist/actions/cancel-contact-import.mjs.map +1 -1
- package/dist/actions/create-admin-group.cjs +14 -14
- package/dist/actions/create-admin-group.cjs.map +1 -1
- package/dist/actions/create-admin-group.d.cts +49 -3
- package/dist/actions/create-admin-group.d.cts.map +1 -1
- package/dist/actions/create-admin-group.d.mts +49 -3
- package/dist/actions/create-admin-group.d.mts.map +1 -1
- package/dist/actions/create-admin-group.mjs +14 -14
- package/dist/actions/create-admin-group.mjs.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.cjs +8 -8
- package/dist/actions/create-admin-ticket-field-section.cjs.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.d.cts +29 -3
- package/dist/actions/create-admin-ticket-field-section.d.cts.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.d.mts +29 -3
- package/dist/actions/create-admin-ticket-field-section.d.mts.map +1 -1
- package/dist/actions/create-admin-ticket-field-section.mjs +8 -8
- package/dist/actions/create-admin-ticket-field-section.mjs.map +1 -1
- package/dist/actions/create-admin-ticket-field.cjs +16 -16
- package/dist/actions/create-admin-ticket-field.cjs.map +1 -1
- package/dist/actions/create-admin-ticket-field.d.cts +69 -3
- package/dist/actions/create-admin-ticket-field.d.cts.map +1 -1
- package/dist/actions/create-admin-ticket-field.d.mts +69 -3
- package/dist/actions/create-admin-ticket-field.d.mts.map +1 -1
- package/dist/actions/create-admin-ticket-field.mjs +16 -16
- package/dist/actions/create-admin-ticket-field.mjs.map +1 -1
- package/dist/actions/create-admin.cjs +13 -13
- package/dist/actions/create-admin.cjs.map +1 -1
- package/dist/actions/create-admin.d.cts +49 -3
- package/dist/actions/create-admin.d.cts.map +1 -1
- package/dist/actions/create-admin.d.mts +49 -3
- package/dist/actions/create-admin.d.mts.map +1 -1
- package/dist/actions/create-admin.mjs +13 -13
- package/dist/actions/create-admin.mjs.map +1 -1
- package/dist/actions/create-agents.cjs +2 -2
- package/dist/actions/create-agents.cjs.map +1 -1
- package/dist/actions/create-agents.d.cts +41 -3
- package/dist/actions/create-agents.d.cts.map +1 -1
- package/dist/actions/create-agents.d.mts +41 -3
- package/dist/actions/create-agents.d.mts.map +1 -1
- package/dist/actions/create-agents.mjs +2 -2
- package/dist/actions/create-agents.mjs.map +1 -1
- package/dist/actions/create-canned-response-bulk.cjs +2 -2
- package/dist/actions/create-canned-response-bulk.cjs.map +1 -1
- package/dist/actions/create-canned-response-bulk.d.cts +27 -3
- package/dist/actions/create-canned-response-bulk.d.cts.map +1 -1
- package/dist/actions/create-canned-response-bulk.d.mts +27 -3
- package/dist/actions/create-canned-response-bulk.d.mts.map +1 -1
- package/dist/actions/create-canned-response-bulk.mjs +2 -2
- package/dist/actions/create-canned-response-bulk.mjs.map +1 -1
- package/dist/actions/create-canned-response-folder.cjs +2 -2
- package/dist/actions/create-canned-response-folder.cjs.map +1 -1
- package/dist/actions/create-canned-response-folder.d.cts +13 -3
- package/dist/actions/create-canned-response-folder.d.cts.map +1 -1
- package/dist/actions/create-canned-response-folder.d.mts +13 -3
- package/dist/actions/create-canned-response-folder.d.mts.map +1 -1
- package/dist/actions/create-canned-response-folder.mjs +2 -2
- package/dist/actions/create-canned-response-folder.mjs.map +1 -1
- package/dist/actions/create-canned-response.cjs +18 -18
- package/dist/actions/create-canned-response.cjs.map +1 -1
- package/dist/actions/create-canned-response.d.cts +55 -3
- package/dist/actions/create-canned-response.d.cts.map +1 -1
- package/dist/actions/create-canned-response.d.mts +55 -3
- package/dist/actions/create-canned-response.d.mts.map +1 -1
- package/dist/actions/create-canned-response.mjs +18 -18
- package/dist/actions/create-canned-response.mjs.map +1 -1
- package/dist/actions/create-companies.cjs +14 -14
- package/dist/actions/create-companies.cjs.map +1 -1
- package/dist/actions/create-companies.d.cts +53 -3
- package/dist/actions/create-companies.d.cts.map +1 -1
- package/dist/actions/create-companies.d.mts +53 -3
- package/dist/actions/create-companies.d.mts.map +1 -1
- package/dist/actions/create-companies.mjs +14 -14
- package/dist/actions/create-companies.mjs.map +1 -1
- package/dist/actions/create-contact-fields.cjs +21 -21
- package/dist/actions/create-contact-fields.cjs.map +1 -1
- package/dist/actions/create-contact-fields.d.cts +85 -3
- package/dist/actions/create-contact-fields.d.cts.map +1 -1
- package/dist/actions/create-contact-fields.d.mts +85 -3
- package/dist/actions/create-contact-fields.d.mts.map +1 -1
- package/dist/actions/create-contact-fields.mjs +21 -21
- package/dist/actions/create-contact-fields.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +41 -41
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +129 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +129 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +41 -41
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-discussion-category.cjs +7 -7
- package/dist/actions/create-discussion-category.cjs.map +1 -1
- package/dist/actions/create-discussion-category.d.cts +25 -3
- package/dist/actions/create-discussion-category.d.cts.map +1 -1
- package/dist/actions/create-discussion-category.d.mts +25 -3
- package/dist/actions/create-discussion-category.d.mts.map +1 -1
- package/dist/actions/create-discussion-category.mjs +7 -7
- package/dist/actions/create-discussion-category.mjs.map +1 -1
- package/dist/actions/create-discussion-forum-topic.cjs +16 -16
- package/dist/actions/create-discussion-forum-topic.cjs.map +1 -1
- package/dist/actions/create-discussion-forum-topic.d.cts +49 -3
- package/dist/actions/create-discussion-forum-topic.d.cts.map +1 -1
- package/dist/actions/create-discussion-forum-topic.d.mts +49 -3
- package/dist/actions/create-discussion-forum-topic.d.mts.map +1 -1
- package/dist/actions/create-discussion-forum-topic.mjs +16 -16
- package/dist/actions/create-discussion-forum-topic.mjs.map +1 -1
- package/dist/actions/create-discussion-topic-comment.cjs +12 -12
- package/dist/actions/create-discussion-topic-comment.cjs.map +1 -1
- package/dist/actions/create-discussion-topic-comment.d.cts +35 -3
- package/dist/actions/create-discussion-topic-comment.d.cts.map +1 -1
- package/dist/actions/create-discussion-topic-comment.d.mts +35 -3
- package/dist/actions/create-discussion-topic-comment.d.mts.map +1 -1
- package/dist/actions/create-discussion-topic-comment.mjs +12 -12
- package/dist/actions/create-discussion-topic-comment.mjs.map +1 -1
- package/dist/actions/create-email.cjs +14 -14
- package/dist/actions/create-email.cjs.map +1 -1
- package/dist/actions/create-email.d.cts +52 -3
- package/dist/actions/create-email.d.cts.map +1 -1
- package/dist/actions/create-email.d.mts +52 -3
- package/dist/actions/create-email.d.mts.map +1 -1
- package/dist/actions/create-email.mjs +14 -14
- package/dist/actions/create-email.mjs.map +1 -1
- package/dist/actions/create-forum.cjs +9 -9
- package/dist/actions/create-forum.cjs.map +1 -1
- package/dist/actions/create-forum.d.cts +35 -3
- package/dist/actions/create-forum.d.cts.map +1 -1
- package/dist/actions/create-forum.d.mts +35 -3
- package/dist/actions/create-forum.d.mts.map +1 -1
- package/dist/actions/create-forum.mjs +9 -9
- package/dist/actions/create-forum.mjs.map +1 -1
- package/dist/actions/create-sla-policies.cjs +11 -11
- package/dist/actions/create-sla-policies.cjs.map +1 -1
- package/dist/actions/create-sla-policies.d.cts +106 -3
- package/dist/actions/create-sla-policies.d.cts.map +1 -1
- package/dist/actions/create-sla-policies.d.mts +106 -3
- package/dist/actions/create-sla-policies.d.mts.map +1 -1
- package/dist/actions/create-sla-policies.mjs +11 -11
- package/dist/actions/create-sla-policies.mjs.map +1 -1
- package/dist/actions/create-solution-article.cjs +30 -30
- package/dist/actions/create-solution-article.cjs.map +1 -1
- package/dist/actions/create-solution-article.d.cts +101 -3
- package/dist/actions/create-solution-article.d.cts.map +1 -1
- package/dist/actions/create-solution-article.d.mts +101 -3
- package/dist/actions/create-solution-article.d.mts.map +1 -1
- package/dist/actions/create-solution-article.mjs +30 -30
- package/dist/actions/create-solution-article.mjs.map +1 -1
- package/dist/actions/create-solution-category.cjs +14 -14
- package/dist/actions/create-solution-category.cjs.map +1 -1
- package/dist/actions/create-solution-category.d.cts +43 -3
- package/dist/actions/create-solution-category.d.cts.map +1 -1
- package/dist/actions/create-solution-category.d.mts +43 -3
- package/dist/actions/create-solution-category.d.mts.map +1 -1
- package/dist/actions/create-solution-category.mjs +14 -14
- package/dist/actions/create-solution-category.mjs.map +1 -1
- package/dist/actions/create-ticket-forms.cjs +26 -26
- package/dist/actions/create-ticket-forms.cjs.map +1 -1
- package/dist/actions/create-ticket-forms.d.cts +87 -3
- package/dist/actions/create-ticket-forms.d.cts.map +1 -1
- package/dist/actions/create-ticket-forms.d.mts +87 -3
- package/dist/actions/create-ticket-forms.d.mts.map +1 -1
- package/dist/actions/create-ticket-forms.mjs +26 -26
- package/dist/actions/create-ticket-forms.mjs.map +1 -1
- package/dist/actions/create-ticket-outbound-email.cjs +31 -31
- package/dist/actions/create-ticket-outbound-email.cjs.map +1 -1
- package/dist/actions/create-ticket-outbound-email.d.cts +101 -3
- package/dist/actions/create-ticket-outbound-email.d.cts.map +1 -1
- package/dist/actions/create-ticket-outbound-email.d.mts +101 -3
- package/dist/actions/create-ticket-outbound-email.d.mts.map +1 -1
- package/dist/actions/create-ticket-outbound-email.mjs +31 -31
- package/dist/actions/create-ticket-outbound-email.mjs.map +1 -1
- package/dist/actions/create-ticket-time-entry.cjs +13 -13
- package/dist/actions/create-ticket-time-entry.cjs.map +1 -1
- package/dist/actions/create-ticket-time-entry.d.cts +47 -3
- package/dist/actions/create-ticket-time-entry.d.cts.map +1 -1
- package/dist/actions/create-ticket-time-entry.d.mts +47 -3
- package/dist/actions/create-ticket-time-entry.d.mts.map +1 -1
- package/dist/actions/create-ticket-time-entry.mjs +13 -13
- package/dist/actions/create-ticket-time-entry.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +47 -47
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +189 -3
- package/dist/actions/create-ticket.d.cts.map +1 -1
- package/dist/actions/create-ticket.d.mts +189 -3
- package/dist/actions/create-ticket.d.mts.map +1 -1
- package/dist/actions/create-ticket.mjs +47 -47
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/create-translated-solution-category.cjs +6 -6
- package/dist/actions/create-translated-solution-category.cjs.map +1 -1
- package/dist/actions/create-translated-solution-category.d.cts +27 -3
- package/dist/actions/create-translated-solution-category.d.cts.map +1 -1
- package/dist/actions/create-translated-solution-category.d.mts +27 -3
- package/dist/actions/create-translated-solution-category.d.mts.map +1 -1
- package/dist/actions/create-translated-solution-category.mjs +6 -6
- package/dist/actions/create-translated-solution-category.mjs.map +1 -1
- package/dist/actions/currently-authenticated-agent.cjs +41 -41
- package/dist/actions/currently-authenticated-agent.cjs.map +1 -1
- package/dist/actions/currently-authenticated-agent.d.cts +91 -3
- package/dist/actions/currently-authenticated-agent.d.cts.map +1 -1
- package/dist/actions/currently-authenticated-agent.d.mts +91 -3
- package/dist/actions/currently-authenticated-agent.d.mts.map +1 -1
- package/dist/actions/currently-authenticated-agent.mjs +41 -41
- package/dist/actions/currently-authenticated-agent.mjs.map +1 -1
- package/dist/actions/delete-admin-group.cjs.map +1 -1
- package/dist/actions/delete-admin-group.d.cts +7 -3
- package/dist/actions/delete-admin-group.d.cts.map +1 -1
- package/dist/actions/delete-admin-group.d.mts +7 -3
- package/dist/actions/delete-admin-group.d.mts.map +1 -1
- package/dist/actions/delete-admin-group.mjs.map +1 -1
- package/dist/actions/delete-agent.cjs +2 -2
- package/dist/actions/delete-agent.cjs.map +1 -1
- package/dist/actions/delete-agent.d.cts +13 -3
- package/dist/actions/delete-agent.d.cts.map +1 -1
- package/dist/actions/delete-agent.d.mts +13 -3
- package/dist/actions/delete-agent.d.mts.map +1 -1
- package/dist/actions/delete-agent.mjs +2 -2
- package/dist/actions/delete-agent.mjs.map +1 -1
- package/dist/actions/delete-automation-rule.cjs +2 -2
- package/dist/actions/delete-automation-rule.cjs.map +1 -1
- package/dist/actions/delete-automation-rule.d.cts +15 -3
- package/dist/actions/delete-automation-rule.d.cts.map +1 -1
- package/dist/actions/delete-automation-rule.d.mts +15 -3
- package/dist/actions/delete-automation-rule.d.mts.map +1 -1
- package/dist/actions/delete-automation-rule.mjs +2 -2
- package/dist/actions/delete-automation-rule.mjs.map +1 -1
- package/dist/actions/delete-company-field.cjs.map +1 -1
- package/dist/actions/delete-company-field.d.cts +7 -3
- package/dist/actions/delete-company-field.d.cts.map +1 -1
- package/dist/actions/delete-company-field.d.mts +7 -3
- package/dist/actions/delete-company-field.d.mts.map +1 -1
- package/dist/actions/delete-company-field.mjs.map +1 -1
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +7 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +7 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-contact-field.cjs +3 -3
- package/dist/actions/delete-contact-field.cjs.map +1 -1
- package/dist/actions/delete-contact-field.d.cts +15 -3
- package/dist/actions/delete-contact-field.d.cts.map +1 -1
- package/dist/actions/delete-contact-field.d.mts +15 -3
- package/dist/actions/delete-contact-field.d.mts.map +1 -1
- package/dist/actions/delete-contact-field.mjs +3 -3
- package/dist/actions/delete-contact-field.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +7 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +7 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +7 -3
- package/dist/actions/delete-conversation.d.cts.map +1 -1
- package/dist/actions/delete-conversation.d.mts +7 -3
- package/dist/actions/delete-conversation.d.mts.map +1 -1
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-discussion-category.cjs +6 -6
- package/dist/actions/delete-discussion-category.cjs.map +1 -1
- package/dist/actions/delete-discussion-category.d.cts +23 -3
- package/dist/actions/delete-discussion-category.d.cts.map +1 -1
- package/dist/actions/delete-discussion-category.d.mts +23 -3
- package/dist/actions/delete-discussion-category.d.mts.map +1 -1
- package/dist/actions/delete-discussion-category.mjs +6 -6
- package/dist/actions/delete-discussion-category.mjs.map +1 -1
- package/dist/actions/delete-discussion-comment.cjs.map +1 -1
- package/dist/actions/delete-discussion-comment.d.cts +7 -3
- package/dist/actions/delete-discussion-comment.d.cts.map +1 -1
- package/dist/actions/delete-discussion-comment.d.mts +7 -3
- package/dist/actions/delete-discussion-comment.d.mts.map +1 -1
- package/dist/actions/delete-discussion-comment.mjs.map +1 -1
- package/dist/actions/delete-discussion-forum.cjs.map +1 -1
- package/dist/actions/delete-discussion-forum.d.cts +7 -3
- package/dist/actions/delete-discussion-forum.d.cts.map +1 -1
- package/dist/actions/delete-discussion-forum.d.mts +7 -3
- package/dist/actions/delete-discussion-forum.d.mts.map +1 -1
- package/dist/actions/delete-discussion-forum.mjs.map +1 -1
- package/dist/actions/delete-discussion-topic.cjs.map +1 -1
- package/dist/actions/delete-discussion-topic.d.cts +7 -3
- package/dist/actions/delete-discussion-topic.d.cts.map +1 -1
- package/dist/actions/delete-discussion-topic.d.mts +7 -3
- package/dist/actions/delete-discussion-topic.d.mts.map +1 -1
- package/dist/actions/delete-discussion-topic.mjs.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.cjs.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.d.cts +9 -3
- package/dist/actions/delete-discussions-forums-follow.d.cts.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.d.mts +9 -3
- package/dist/actions/delete-discussions-forums-follow.d.mts.map +1 -1
- package/dist/actions/delete-discussions-forums-follow.mjs.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.cjs.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.d.cts +9 -3
- package/dist/actions/delete-discussions-topics-follow.d.cts.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.d.mts +9 -3
- package/dist/actions/delete-discussions-topics-follow.d.mts.map +1 -1
- package/dist/actions/delete-discussions-topics-follow.mjs.map +1 -1
- package/dist/actions/delete-email-mailboxes.cjs +3 -3
- package/dist/actions/delete-email-mailboxes.cjs.map +1 -1
- package/dist/actions/delete-email-mailboxes.d.cts +15 -3
- package/dist/actions/delete-email-mailboxes.d.cts.map +1 -1
- package/dist/actions/delete-email-mailboxes.d.mts +15 -3
- package/dist/actions/delete-email-mailboxes.d.mts.map +1 -1
- package/dist/actions/delete-email-mailboxes.mjs +3 -3
- package/dist/actions/delete-email-mailboxes.mjs.map +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +7 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +7 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-multiple-tickets.cjs +2 -2
- package/dist/actions/delete-multiple-tickets.cjs.map +1 -1
- package/dist/actions/delete-multiple-tickets.d.cts +13 -3
- package/dist/actions/delete-multiple-tickets.d.cts.map +1 -1
- package/dist/actions/delete-multiple-tickets.d.mts +13 -3
- package/dist/actions/delete-multiple-tickets.d.mts.map +1 -1
- package/dist/actions/delete-multiple-tickets.mjs +2 -2
- package/dist/actions/delete-multiple-tickets.mjs.map +1 -1
- package/dist/actions/delete-section.cjs +5 -5
- package/dist/actions/delete-section.cjs.map +1 -1
- package/dist/actions/delete-section.d.cts +23 -3
- package/dist/actions/delete-section.d.cts.map +1 -1
- package/dist/actions/delete-section.d.mts +23 -3
- package/dist/actions/delete-section.d.mts.map +1 -1
- package/dist/actions/delete-section.mjs +5 -5
- package/dist/actions/delete-section.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +2 -2
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +13 -3
- package/dist/actions/delete-skill.d.cts.map +1 -1
- package/dist/actions/delete-skill.d.mts +13 -3
- package/dist/actions/delete-skill.d.mts.map +1 -1
- package/dist/actions/delete-skill.mjs +2 -2
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-solution-article.cjs +2 -2
- package/dist/actions/delete-solution-article.cjs.map +1 -1
- package/dist/actions/delete-solution-article.d.cts +13 -3
- package/dist/actions/delete-solution-article.d.cts.map +1 -1
- package/dist/actions/delete-solution-article.d.mts +13 -3
- package/dist/actions/delete-solution-article.d.mts.map +1 -1
- package/dist/actions/delete-solution-article.mjs +2 -2
- package/dist/actions/delete-solution-article.mjs.map +1 -1
- package/dist/actions/delete-solution-category.cjs +3 -3
- package/dist/actions/delete-solution-category.cjs.map +1 -1
- package/dist/actions/delete-solution-category.d.cts +15 -3
- package/dist/actions/delete-solution-category.d.cts.map +1 -1
- package/dist/actions/delete-solution-category.d.mts +15 -3
- package/dist/actions/delete-solution-category.d.mts.map +1 -1
- package/dist/actions/delete-solution-category.mjs +3 -3
- package/dist/actions/delete-solution-category.mjs.map +1 -1
- package/dist/actions/delete-solution-folder.cjs.map +1 -1
- package/dist/actions/delete-solution-folder.d.cts +7 -3
- package/dist/actions/delete-solution-folder.d.cts.map +1 -1
- package/dist/actions/delete-solution-folder.d.mts +7 -3
- package/dist/actions/delete-solution-folder.d.mts.map +1 -1
- package/dist/actions/delete-solution-folder.mjs.map +1 -1
- package/dist/actions/delete-ticket-field.cjs +7 -7
- package/dist/actions/delete-ticket-field.cjs.map +1 -1
- package/dist/actions/delete-ticket-field.d.cts +25 -3
- package/dist/actions/delete-ticket-field.d.cts.map +1 -1
- package/dist/actions/delete-ticket-field.d.mts +25 -3
- package/dist/actions/delete-ticket-field.d.mts.map +1 -1
- package/dist/actions/delete-ticket-field.mjs +7 -7
- package/dist/actions/delete-ticket-field.mjs.map +1 -1
- package/dist/actions/delete-ticket-form.cjs +5 -5
- package/dist/actions/delete-ticket-form.cjs.map +1 -1
- package/dist/actions/delete-ticket-form.d.cts +21 -3
- package/dist/actions/delete-ticket-form.d.cts.map +1 -1
- package/dist/actions/delete-ticket-form.d.mts +21 -3
- package/dist/actions/delete-ticket-form.d.mts.map +1 -1
- package/dist/actions/delete-ticket-form.mjs +5 -5
- package/dist/actions/delete-ticket-form.mjs.map +1 -1
- package/dist/actions/delete-ticket-forms.cjs.map +1 -1
- package/dist/actions/delete-ticket-forms.d.cts +9 -3
- package/dist/actions/delete-ticket-forms.d.cts.map +1 -1
- package/dist/actions/delete-ticket-forms.d.mts +9 -3
- package/dist/actions/delete-ticket-forms.d.mts.map +1 -1
- package/dist/actions/delete-ticket-forms.mjs.map +1 -1
- package/dist/actions/delete-ticket-summary.cjs.map +1 -1
- package/dist/actions/delete-ticket-summary.d.cts +7 -3
- package/dist/actions/delete-ticket-summary.d.cts.map +1 -1
- package/dist/actions/delete-ticket-summary.d.mts +7 -3
- package/dist/actions/delete-ticket-summary.d.mts.map +1 -1
- package/dist/actions/delete-ticket-summary.mjs.map +1 -1
- package/dist/actions/delete-ticket-user-access.cjs.map +1 -1
- package/dist/actions/delete-ticket-user-access.d.cts +7 -3
- package/dist/actions/delete-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/delete-ticket-user-access.d.mts +7 -3
- package/dist/actions/delete-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/delete-ticket-user-access.mjs.map +1 -1
- package/dist/actions/delete-ticket.cjs.map +1 -1
- package/dist/actions/delete-ticket.d.cts +7 -3
- package/dist/actions/delete-ticket.d.cts.map +1 -1
- package/dist/actions/delete-ticket.d.mts +7 -3
- package/dist/actions/delete-ticket.d.mts.map +1 -1
- package/dist/actions/delete-ticket.mjs.map +1 -1
- package/dist/actions/delete-time-entry.cjs +2 -2
- package/dist/actions/delete-time-entry.cjs.map +1 -1
- package/dist/actions/delete-time-entry.d.cts +13 -3
- package/dist/actions/delete-time-entry.d.cts.map +1 -1
- package/dist/actions/delete-time-entry.d.mts +13 -3
- package/dist/actions/delete-time-entry.d.mts.map +1 -1
- package/dist/actions/delete-time-entry.mjs +2 -2
- package/dist/actions/delete-time-entry.mjs.map +1 -1
- package/dist/actions/export-contacts.cjs +1 -1
- package/dist/actions/export-contacts.cjs.map +1 -1
- package/dist/actions/export-contacts.d.cts +17 -3
- package/dist/actions/export-contacts.d.cts.map +1 -1
- package/dist/actions/export-contacts.d.mts +17 -3
- package/dist/actions/export-contacts.d.mts.map +1 -1
- package/dist/actions/export-contacts.mjs +1 -1
- package/dist/actions/export-contacts.mjs.map +1 -1
- package/dist/actions/get-account.cjs +28 -28
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +67 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +67 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +28 -28
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-agent-availability.cjs +12 -12
- package/dist/actions/get-agent-availability.cjs.map +1 -1
- package/dist/actions/get-agent-availability.d.cts +35 -3
- package/dist/actions/get-agent-availability.d.cts.map +1 -1
- package/dist/actions/get-agent-availability.d.mts +35 -3
- package/dist/actions/get-agent-availability.d.mts.map +1 -1
- package/dist/actions/get-agent-availability.mjs +12 -12
- package/dist/actions/get-agent-availability.mjs.map +1 -1
- package/dist/actions/get-agent.cjs +49 -49
- package/dist/actions/get-agent.cjs.map +1 -1
- package/dist/actions/get-agent.d.cts +115 -3
- package/dist/actions/get-agent.d.cts.map +1 -1
- package/dist/actions/get-agent.d.mts +115 -3
- package/dist/actions/get-agent.d.mts.map +1 -1
- package/dist/actions/get-agent.mjs +49 -49
- package/dist/actions/get-agent.mjs.map +1 -1
- package/dist/actions/get-agents.cjs +9 -9
- package/dist/actions/get-agents.cjs.map +1 -1
- package/dist/actions/get-agents.d.cts +29 -3
- package/dist/actions/get-agents.d.cts.map +1 -1
- package/dist/actions/get-agents.d.mts +29 -3
- package/dist/actions/get-agents.d.mts.map +1 -1
- package/dist/actions/get-agents.mjs +9 -9
- package/dist/actions/get-agents.mjs.map +1 -1
- package/dist/actions/get-business-hours.cjs +27 -27
- package/dist/actions/get-business-hours.cjs.map +1 -1
- package/dist/actions/get-business-hours.d.cts +111 -3
- package/dist/actions/get-business-hours.d.cts.map +1 -1
- package/dist/actions/get-business-hours.d.mts +111 -3
- package/dist/actions/get-business-hours.d.mts.map +1 -1
- package/dist/actions/get-business-hours.mjs +27 -27
- package/dist/actions/get-business-hours.mjs.map +1 -1
- package/dist/actions/get-canned-response-folders.cjs +7 -7
- package/dist/actions/get-canned-response-folders.cjs.map +1 -1
- package/dist/actions/get-canned-response-folders.d.cts +21 -3
- package/dist/actions/get-canned-response-folders.d.cts.map +1 -1
- package/dist/actions/get-canned-response-folders.d.mts +21 -3
- package/dist/actions/get-canned-response-folders.d.mts.map +1 -1
- package/dist/actions/get-canned-response-folders.mjs +7 -7
- package/dist/actions/get-canned-response-folders.mjs.map +1 -1
- package/dist/actions/get-companies.cjs +14 -14
- package/dist/actions/get-companies.cjs.map +1 -1
- package/dist/actions/get-companies.d.cts +41 -3
- package/dist/actions/get-companies.d.cts.map +1 -1
- package/dist/actions/get-companies.d.mts +41 -3
- package/dist/actions/get-companies.d.mts.map +1 -1
- package/dist/actions/get-companies.mjs +14 -14
- package/dist/actions/get-companies.mjs.map +1 -1
- package/dist/actions/get-company-fields.cjs +20 -20
- package/dist/actions/get-company-fields.cjs.map +1 -1
- package/dist/actions/get-company-fields.d.cts +51 -3
- package/dist/actions/get-company-fields.d.cts.map +1 -1
- package/dist/actions/get-company-fields.d.mts +51 -3
- package/dist/actions/get-company-fields.d.mts.map +1 -1
- package/dist/actions/get-company-fields.mjs +20 -20
- package/dist/actions/get-company-fields.mjs.map +1 -1
- package/dist/actions/get-company.cjs +14 -14
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +37 -3
- package/dist/actions/get-company.d.cts.map +1 -1
- package/dist/actions/get-company.d.mts +37 -3
- package/dist/actions/get-company.d.mts.map +1 -1
- package/dist/actions/get-company.mjs +14 -14
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-contact-fields.cjs +20 -20
- package/dist/actions/get-contact-fields.cjs.map +1 -1
- package/dist/actions/get-contact-fields.d.cts +47 -3
- package/dist/actions/get-contact-fields.d.cts.map +1 -1
- package/dist/actions/get-contact-fields.d.mts +47 -3
- package/dist/actions/get-contact-fields.d.mts.map +1 -1
- package/dist/actions/get-contact-fields.mjs +20 -20
- package/dist/actions/get-contact-fields.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +47 -47
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +107 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +107 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +47 -47
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +27 -27
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +79 -3
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +79 -3
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +27 -27
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-discussion-category.cjs +5 -5
- package/dist/actions/get-discussion-category.cjs.map +1 -1
- package/dist/actions/get-discussion-category.d.cts +19 -3
- package/dist/actions/get-discussion-category.d.cts.map +1 -1
- package/dist/actions/get-discussion-category.d.mts +19 -3
- package/dist/actions/get-discussion-category.d.mts.map +1 -1
- package/dist/actions/get-discussion-category.mjs +5 -5
- package/dist/actions/get-discussion-category.mjs.map +1 -1
- package/dist/actions/get-discussion-topic.cjs +16 -16
- package/dist/actions/get-discussion-topic.cjs.map +1 -1
- package/dist/actions/get-discussion-topic.d.cts +41 -3
- package/dist/actions/get-discussion-topic.d.cts.map +1 -1
- package/dist/actions/get-discussion-topic.d.mts +41 -3
- package/dist/actions/get-discussion-topic.d.mts.map +1 -1
- package/dist/actions/get-discussion-topic.mjs +16 -16
- package/dist/actions/get-discussion-topic.mjs.map +1 -1
- package/dist/actions/get-email-mailbox.cjs +16 -16
- package/dist/actions/get-email-mailbox.cjs.map +1 -1
- package/dist/actions/get-email-mailbox.d.cts +45 -3
- package/dist/actions/get-email-mailbox.d.cts.map +1 -1
- package/dist/actions/get-email-mailbox.d.mts +45 -3
- package/dist/actions/get-email-mailbox.d.mts.map +1 -1
- package/dist/actions/get-email-mailbox.mjs +16 -16
- package/dist/actions/get-email-mailbox.mjs.map +1 -1
- package/dist/actions/get-folder-responses.cjs +17 -17
- package/dist/actions/get-folder-responses.cjs.map +1 -1
- package/dist/actions/get-folder-responses.d.cts +47 -3
- package/dist/actions/get-folder-responses.d.cts.map +1 -1
- package/dist/actions/get-folder-responses.d.mts +47 -3
- package/dist/actions/get-folder-responses.d.mts.map +1 -1
- package/dist/actions/get-folder-responses.mjs +17 -17
- package/dist/actions/get-folder-responses.mjs.map +1 -1
- package/dist/actions/get-imported-contacts.cjs +9 -9
- package/dist/actions/get-imported-contacts.cjs.map +1 -1
- package/dist/actions/get-imported-contacts.d.cts +31 -3
- package/dist/actions/get-imported-contacts.d.cts.map +1 -1
- package/dist/actions/get-imported-contacts.d.mts +31 -3
- package/dist/actions/get-imported-contacts.d.mts.map +1 -1
- package/dist/actions/get-imported-contacts.mjs +9 -9
- package/dist/actions/get-imported-contacts.mjs.map +1 -1
- package/dist/actions/get-job.cjs +5 -5
- package/dist/actions/get-job.cjs.map +1 -1
- package/dist/actions/get-job.d.cts +21 -3
- package/dist/actions/get-job.d.cts.map +1 -1
- package/dist/actions/get-job.d.mts +21 -3
- package/dist/actions/get-job.d.mts.map +1 -1
- package/dist/actions/get-job.mjs +5 -5
- package/dist/actions/get-job.mjs.map +1 -1
- package/dist/actions/get-scenario-automations-json.cjs +11 -11
- package/dist/actions/get-scenario-automations-json.cjs.map +1 -1
- package/dist/actions/get-scenario-automations-json.d.cts +29 -3
- package/dist/actions/get-scenario-automations-json.d.cts.map +1 -1
- package/dist/actions/get-scenario-automations-json.d.mts +29 -3
- package/dist/actions/get-scenario-automations-json.d.mts.map +1 -1
- package/dist/actions/get-scenario-automations-json.mjs +11 -11
- package/dist/actions/get-scenario-automations-json.mjs.map +1 -1
- package/dist/actions/get-search.cjs +37 -37
- package/dist/actions/get-search.cjs.map +1 -1
- package/dist/actions/get-search.d.cts +87 -3
- package/dist/actions/get-search.d.cts.map +1 -1
- package/dist/actions/get-search.d.mts +87 -3
- package/dist/actions/get-search.d.mts.map +1 -1
- package/dist/actions/get-search.mjs +37 -37
- package/dist/actions/get-search.mjs.map +1 -1
- package/dist/actions/get-ticket-time-entries.cjs +14 -14
- package/dist/actions/get-ticket-time-entries.cjs.map +1 -1
- package/dist/actions/get-ticket-time-entries.d.cts +41 -3
- package/dist/actions/get-ticket-time-entries.d.cts.map +1 -1
- package/dist/actions/get-ticket-time-entries.d.mts +41 -3
- package/dist/actions/get-ticket-time-entries.d.mts.map +1 -1
- package/dist/actions/get-ticket-time-entries.mjs +14 -14
- package/dist/actions/get-ticket-time-entries.mjs.map +1 -1
- package/dist/actions/get-ticket-user-access.cjs.map +1 -1
- package/dist/actions/get-ticket-user-access.d.cts +11 -3
- package/dist/actions/get-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/get-ticket-user-access.d.mts +11 -3
- package/dist/actions/get-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/get-ticket-user-access.mjs.map +1 -1
- package/dist/actions/get-tickets.cjs +49 -49
- package/dist/actions/get-tickets.cjs.map +1 -1
- package/dist/actions/get-tickets.d.cts +174 -3
- package/dist/actions/get-tickets.d.cts.map +1 -1
- package/dist/actions/get-tickets.d.mts +174 -3
- package/dist/actions/get-tickets.d.mts.map +1 -1
- package/dist/actions/get-tickets.mjs +49 -49
- package/dist/actions/get-tickets.mjs.map +1 -1
- package/dist/actions/get-translated-solution-category.cjs +13 -13
- package/dist/actions/get-translated-solution-category.cjs.map +1 -1
- package/dist/actions/get-translated-solution-category.d.cts +39 -3
- package/dist/actions/get-translated-solution-category.d.cts.map +1 -1
- package/dist/actions/get-translated-solution-category.d.mts +39 -3
- package/dist/actions/get-translated-solution-category.d.mts.map +1 -1
- package/dist/actions/get-translated-solution-category.mjs +13 -13
- package/dist/actions/get-translated-solution-category.mjs.map +1 -1
- package/dist/actions/hard-delete-contact.cjs +2 -2
- package/dist/actions/hard-delete-contact.cjs.map +1 -1
- package/dist/actions/hard-delete-contact.d.cts +15 -3
- package/dist/actions/hard-delete-contact.d.cts.map +1 -1
- package/dist/actions/hard-delete-contact.d.mts +15 -3
- package/dist/actions/hard-delete-contact.d.mts.map +1 -1
- package/dist/actions/hard-delete-contact.mjs +2 -2
- package/dist/actions/hard-delete-contact.mjs.map +1 -1
- package/dist/actions/import-contact.cjs +11 -11
- package/dist/actions/import-contact.cjs.map +1 -1
- package/dist/actions/import-contact.d.cts +49 -3
- package/dist/actions/import-contact.d.cts.map +1 -1
- package/dist/actions/import-contact.d.mts +49 -3
- package/dist/actions/import-contact.d.mts.map +1 -1
- package/dist/actions/import-contact.mjs +11 -11
- package/dist/actions/import-contact.mjs.map +1 -1
- package/dist/actions/list-admin-groups.cjs +16 -16
- package/dist/actions/list-admin-groups.cjs.map +1 -1
- package/dist/actions/list-admin-groups.d.cts +47 -3
- package/dist/actions/list-admin-groups.d.cts.map +1 -1
- package/dist/actions/list-admin-groups.d.mts +47 -3
- package/dist/actions/list-admin-groups.d.mts.map +1 -1
- package/dist/actions/list-admin-groups.mjs +16 -16
- package/dist/actions/list-admin-groups.mjs.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.cjs +26 -26
- package/dist/actions/list-all-agents-in-a-group.cjs.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.d.cts +65 -3
- 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 +65 -3
- package/dist/actions/list-all-agents-in-a-group.d.mts.map +1 -1
- package/dist/actions/list-all-agents-in-a-group.mjs +26 -26
- package/dist/actions/list-all-agents-in-a-group.mjs.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.cjs +6 -6
- package/dist/actions/list-all-sections-for-ticket-field.cjs.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.d.cts +23 -3
- 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 +23 -3
- package/dist/actions/list-all-sections-for-ticket-field.d.mts.map +1 -1
- package/dist/actions/list-all-sections-for-ticket-field.mjs +6 -6
- package/dist/actions/list-all-sections-for-ticket-field.mjs.map +1 -1
- package/dist/actions/list-all-skills.cjs +14 -14
- package/dist/actions/list-all-skills.cjs.map +1 -1
- package/dist/actions/list-all-skills.d.cts +35 -3
- package/dist/actions/list-all-skills.d.cts.map +1 -1
- package/dist/actions/list-all-skills.d.mts +35 -3
- package/dist/actions/list-all-skills.d.mts.map +1 -1
- package/dist/actions/list-all-skills.mjs +14 -14
- package/dist/actions/list-all-skills.mjs.map +1 -1
- package/dist/actions/list-all-ticket-conversations.cjs +35 -35
- package/dist/actions/list-all-ticket-conversations.cjs.map +1 -1
- package/dist/actions/list-all-ticket-conversations.d.cts +87 -3
- package/dist/actions/list-all-ticket-conversations.d.cts.map +1 -1
- package/dist/actions/list-all-ticket-conversations.d.mts +87 -3
- package/dist/actions/list-all-ticket-conversations.d.mts.map +1 -1
- package/dist/actions/list-all-ticket-conversations.mjs +35 -35
- package/dist/actions/list-all-ticket-conversations.mjs.map +1 -1
- package/dist/actions/list-automation-rules.cjs +22 -22
- package/dist/actions/list-automation-rules.cjs.map +1 -1
- package/dist/actions/list-automation-rules.d.cts +57 -3
- package/dist/actions/list-automation-rules.d.cts.map +1 -1
- package/dist/actions/list-automation-rules.d.mts +57 -3
- package/dist/actions/list-automation-rules.d.mts.map +1 -1
- package/dist/actions/list-automation-rules.mjs +22 -22
- package/dist/actions/list-automation-rules.mjs.map +1 -1
- package/dist/actions/list-discussions-topics.cjs +17 -17
- package/dist/actions/list-discussions-topics.cjs.map +1 -1
- package/dist/actions/list-discussions-topics.d.cts +49 -3
- package/dist/actions/list-discussions-topics.d.cts.map +1 -1
- package/dist/actions/list-discussions-topics.d.mts +49 -3
- package/dist/actions/list-discussions-topics.d.mts.map +1 -1
- package/dist/actions/list-discussions-topics.mjs +17 -17
- package/dist/actions/list-discussions-topics.mjs.map +1 -1
- package/dist/actions/list-discussions.cjs +6 -6
- package/dist/actions/list-discussions.cjs.map +1 -1
- package/dist/actions/list-discussions.d.cts +23 -3
- package/dist/actions/list-discussions.d.cts.map +1 -1
- package/dist/actions/list-discussions.d.mts +23 -3
- package/dist/actions/list-discussions.d.mts.map +1 -1
- package/dist/actions/list-discussions.mjs +6 -6
- package/dist/actions/list-discussions.mjs.map +1 -1
- package/dist/actions/list-email-configs.cjs +13 -13
- package/dist/actions/list-email-configs.cjs.map +1 -1
- package/dist/actions/list-email-configs.d.cts +33 -3
- package/dist/actions/list-email-configs.d.cts.map +1 -1
- package/dist/actions/list-email-configs.d.mts +33 -3
- package/dist/actions/list-email-configs.d.mts.map +1 -1
- package/dist/actions/list-email-configs.mjs +13 -13
- package/dist/actions/list-email-configs.mjs.map +1 -1
- package/dist/actions/list-email.cjs +13 -13
- package/dist/actions/list-email.cjs.map +1 -1
- package/dist/actions/list-email.d.cts +51 -3
- package/dist/actions/list-email.d.cts.map +1 -1
- package/dist/actions/list-email.d.mts +51 -3
- package/dist/actions/list-email.d.mts.map +1 -1
- package/dist/actions/list-email.mjs +13 -13
- package/dist/actions/list-email.mjs.map +1 -1
- package/dist/actions/list-forums-in-category.cjs +12 -12
- package/dist/actions/list-forums-in-category.cjs.map +1 -1
- package/dist/actions/list-forums-in-category.d.cts +39 -3
- package/dist/actions/list-forums-in-category.d.cts.map +1 -1
- package/dist/actions/list-forums-in-category.d.mts +39 -3
- package/dist/actions/list-forums-in-category.d.mts.map +1 -1
- package/dist/actions/list-forums-in-category.mjs +12 -12
- package/dist/actions/list-forums-in-category.mjs.map +1 -1
- package/dist/actions/list-monitored-topics.cjs +17 -17
- package/dist/actions/list-monitored-topics.cjs.map +1 -1
- package/dist/actions/list-monitored-topics.d.cts +47 -3
- package/dist/actions/list-monitored-topics.d.cts.map +1 -1
- package/dist/actions/list-monitored-topics.d.mts +47 -3
- package/dist/actions/list-monitored-topics.d.mts.map +1 -1
- package/dist/actions/list-monitored-topics.mjs +17 -17
- package/dist/actions/list-monitored-topics.mjs.map +1 -1
- package/dist/actions/list-participated-topics.cjs +17 -17
- package/dist/actions/list-participated-topics.cjs.map +1 -1
- package/dist/actions/list-participated-topics.d.cts +47 -3
- package/dist/actions/list-participated-topics.d.cts.map +1 -1
- package/dist/actions/list-participated-topics.d.mts +47 -3
- package/dist/actions/list-participated-topics.d.mts.map +1 -1
- package/dist/actions/list-participated-topics.mjs +17 -17
- package/dist/actions/list-participated-topics.mjs.map +1 -1
- package/dist/actions/list-products.cjs +8 -8
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +23 -3
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +23 -3
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +8 -8
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-roles.cjs +8 -8
- package/dist/actions/list-roles.cjs.map +1 -1
- package/dist/actions/list-roles.d.cts +29 -3
- package/dist/actions/list-roles.d.cts.map +1 -1
- package/dist/actions/list-roles.d.mts +29 -3
- package/dist/actions/list-roles.d.mts.map +1 -1
- package/dist/actions/list-roles.mjs +8 -8
- package/dist/actions/list-roles.mjs.map +1 -1
- package/dist/actions/list-satisfaction-ratings.cjs +11 -11
- package/dist/actions/list-satisfaction-ratings.cjs.map +1 -1
- package/dist/actions/list-satisfaction-ratings.d.cts +37 -3
- package/dist/actions/list-satisfaction-ratings.d.cts.map +1 -1
- package/dist/actions/list-satisfaction-ratings.d.mts +37 -3
- package/dist/actions/list-satisfaction-ratings.d.mts.map +1 -1
- package/dist/actions/list-satisfaction-ratings.mjs +11 -11
- package/dist/actions/list-satisfaction-ratings.mjs.map +1 -1
- package/dist/actions/list-sla-policies.cjs +39 -39
- package/dist/actions/list-sla-policies.cjs.map +1 -1
- package/dist/actions/list-sla-policies.d.cts +135 -3
- package/dist/actions/list-sla-policies.d.cts.map +1 -1
- package/dist/actions/list-sla-policies.d.mts +135 -3
- package/dist/actions/list-sla-policies.d.mts.map +1 -1
- package/dist/actions/list-sla-policies.mjs +39 -39
- package/dist/actions/list-sla-policies.mjs.map +1 -1
- package/dist/actions/list-solution-articles.cjs +33 -33
- package/dist/actions/list-solution-articles.cjs.map +1 -1
- package/dist/actions/list-solution-articles.d.cts +85 -3
- package/dist/actions/list-solution-articles.d.cts.map +1 -1
- package/dist/actions/list-solution-articles.d.mts +85 -3
- package/dist/actions/list-solution-articles.d.mts.map +1 -1
- package/dist/actions/list-solution-articles.mjs +33 -33
- package/dist/actions/list-solution-articles.mjs.map +1 -1
- package/dist/actions/list-solution-categories.cjs +9 -9
- package/dist/actions/list-solution-categories.cjs.map +1 -1
- package/dist/actions/list-solution-categories.d.cts +29 -3
- package/dist/actions/list-solution-categories.d.cts.map +1 -1
- package/dist/actions/list-solution-categories.d.mts +29 -3
- package/dist/actions/list-solution-categories.d.mts.map +1 -1
- package/dist/actions/list-solution-categories.mjs +9 -9
- package/dist/actions/list-solution-categories.mjs.map +1 -1
- package/dist/actions/list-solution-folders.cjs +22 -22
- package/dist/actions/list-solution-folders.cjs.map +1 -1
- package/dist/actions/list-solution-folders.d.cts +61 -3
- package/dist/actions/list-solution-folders.d.cts.map +1 -1
- package/dist/actions/list-solution-folders.d.mts +61 -3
- package/dist/actions/list-solution-folders.d.mts.map +1 -1
- package/dist/actions/list-solution-folders.mjs +22 -22
- package/dist/actions/list-solution-folders.mjs.map +1 -1
- package/dist/actions/list-solution-subfolders.cjs +20 -20
- package/dist/actions/list-solution-subfolders.cjs.map +1 -1
- package/dist/actions/list-solution-subfolders.d.cts +57 -3
- package/dist/actions/list-solution-subfolders.d.cts.map +1 -1
- package/dist/actions/list-solution-subfolders.d.mts +57 -3
- package/dist/actions/list-solution-subfolders.d.mts.map +1 -1
- package/dist/actions/list-solution-subfolders.mjs +20 -20
- package/dist/actions/list-solution-subfolders.mjs.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.cjs +18 -18
- package/dist/actions/list-solutions-category-folders-translated.cjs.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.d.cts +55 -3
- package/dist/actions/list-solutions-category-folders-translated.d.cts.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.d.mts +55 -3
- package/dist/actions/list-solutions-category-folders-translated.d.mts.map +1 -1
- package/dist/actions/list-solutions-category-folders-translated.mjs +18 -18
- package/dist/actions/list-solutions-category-folders-translated.mjs.map +1 -1
- package/dist/actions/list-specific-section-details.cjs +5 -5
- package/dist/actions/list-specific-section-details.cjs.map +1 -1
- package/dist/actions/list-specific-section-details.d.cts +21 -3
- package/dist/actions/list-specific-section-details.d.cts.map +1 -1
- package/dist/actions/list-specific-section-details.d.mts +21 -3
- package/dist/actions/list-specific-section-details.d.mts.map +1 -1
- package/dist/actions/list-specific-section-details.mjs +5 -5
- package/dist/actions/list-specific-section-details.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +12 -12
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +41 -3
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +41 -3
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +12 -12
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-ticket-fields.cjs +20 -20
- package/dist/actions/list-ticket-fields.cjs.map +1 -1
- package/dist/actions/list-ticket-fields.d.cts +47 -3
- package/dist/actions/list-ticket-fields.d.cts.map +1 -1
- package/dist/actions/list-ticket-fields.d.mts +47 -3
- package/dist/actions/list-ticket-fields.d.mts.map +1 -1
- package/dist/actions/list-ticket-fields.mjs +20 -20
- package/dist/actions/list-ticket-fields.mjs.map +1 -1
- package/dist/actions/list-ticket-forms.cjs +11 -11
- package/dist/actions/list-ticket-forms.cjs.map +1 -1
- package/dist/actions/list-ticket-forms.d.cts +37 -3
- package/dist/actions/list-ticket-forms.d.cts.map +1 -1
- package/dist/actions/list-ticket-forms.d.mts +37 -3
- package/dist/actions/list-ticket-forms.d.mts.map +1 -1
- package/dist/actions/list-ticket-forms.mjs +11 -11
- package/dist/actions/list-ticket-forms.mjs.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.cjs +13 -13
- package/dist/actions/list-ticket-satisfaction-ratings.cjs.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.d.cts +41 -3
- package/dist/actions/list-ticket-satisfaction-ratings.d.cts.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.d.mts +41 -3
- package/dist/actions/list-ticket-satisfaction-ratings.d.mts.map +1 -1
- package/dist/actions/list-ticket-satisfaction-ratings.mjs +13 -13
- package/dist/actions/list-ticket-satisfaction-ratings.mjs.map +1 -1
- package/dist/actions/list-tickets-watchers.cjs +3 -3
- package/dist/actions/list-tickets-watchers.cjs.map +1 -1
- package/dist/actions/list-tickets-watchers.d.cts +19 -3
- package/dist/actions/list-tickets-watchers.d.cts.map +1 -1
- package/dist/actions/list-tickets-watchers.d.mts +19 -3
- package/dist/actions/list-tickets-watchers.d.mts.map +1 -1
- package/dist/actions/list-tickets-watchers.mjs +3 -3
- package/dist/actions/list-tickets-watchers.mjs.map +1 -1
- package/dist/actions/list-time-entries.cjs +14 -14
- package/dist/actions/list-time-entries.cjs.map +1 -1
- package/dist/actions/list-time-entries.d.cts +51 -3
- package/dist/actions/list-time-entries.d.cts.map +1 -1
- package/dist/actions/list-time-entries.d.mts +51 -3
- package/dist/actions/list-time-entries.d.mts.map +1 -1
- package/dist/actions/list-time-entries.mjs +14 -14
- package/dist/actions/list-time-entries.mjs.map +1 -1
- package/dist/actions/list-topic-comments2.cjs +13 -13
- package/dist/actions/list-topic-comments2.cjs.map +1 -1
- package/dist/actions/list-topic-comments2.d.cts +41 -3
- package/dist/actions/list-topic-comments2.d.cts.map +1 -1
- package/dist/actions/list-topic-comments2.d.mts +41 -3
- package/dist/actions/list-topic-comments2.d.mts.map +1 -1
- package/dist/actions/list-topic-comments2.mjs +13 -13
- package/dist/actions/list-topic-comments2.mjs.map +1 -1
- package/dist/actions/list-translated-solution-articles.cjs +31 -31
- package/dist/actions/list-translated-solution-articles.cjs.map +1 -1
- package/dist/actions/list-translated-solution-articles.d.cts +83 -3
- package/dist/actions/list-translated-solution-articles.d.cts.map +1 -1
- package/dist/actions/list-translated-solution-articles.d.mts +83 -3
- package/dist/actions/list-translated-solution-articles.d.mts.map +1 -1
- package/dist/actions/list-translated-solution-articles.mjs +31 -31
- package/dist/actions/list-translated-solution-articles.mjs.map +1 -1
- package/dist/actions/list-translated-subfolders.cjs +17 -17
- package/dist/actions/list-translated-subfolders.cjs.map +1 -1
- package/dist/actions/list-translated-subfolders.d.cts +53 -3
- package/dist/actions/list-translated-subfolders.d.cts.map +1 -1
- package/dist/actions/list-translated-subfolders.d.mts +53 -3
- package/dist/actions/list-translated-subfolders.d.mts.map +1 -1
- package/dist/actions/list-translated-subfolders.mjs +17 -17
- package/dist/actions/list-translated-subfolders.mjs.map +1 -1
- package/dist/actions/patch-admin-groups-agents.cjs +1 -1
- package/dist/actions/patch-admin-groups-agents.cjs.map +1 -1
- package/dist/actions/patch-admin-groups-agents.d.cts +13 -3
- package/dist/actions/patch-admin-groups-agents.d.cts.map +1 -1
- package/dist/actions/patch-admin-groups-agents.d.mts +13 -3
- package/dist/actions/patch-admin-groups-agents.d.mts.map +1 -1
- package/dist/actions/patch-admin-groups-agents.mjs +1 -1
- package/dist/actions/patch-admin-groups-agents.mjs.map +1 -1
- package/dist/actions/remove-watcher.cjs +2 -2
- package/dist/actions/remove-watcher.cjs.map +1 -1
- package/dist/actions/remove-watcher.d.cts +13 -3
- package/dist/actions/remove-watcher.d.cts.map +1 -1
- package/dist/actions/remove-watcher.d.mts +13 -3
- package/dist/actions/remove-watcher.d.mts.map +1 -1
- package/dist/actions/remove-watcher.mjs +2 -2
- package/dist/actions/remove-watcher.mjs.map +1 -1
- package/dist/actions/reply-to-forward-ticket.cjs +13 -13
- package/dist/actions/reply-to-forward-ticket.cjs.map +1 -1
- package/dist/actions/reply-to-forward-ticket.d.cts +45 -3
- package/dist/actions/reply-to-forward-ticket.d.cts.map +1 -1
- package/dist/actions/reply-to-forward-ticket.d.mts +45 -3
- package/dist/actions/reply-to-forward-ticket.d.mts.map +1 -1
- package/dist/actions/reply-to-forward-ticket.mjs +13 -13
- package/dist/actions/reply-to-forward-ticket.mjs.map +1 -1
- package/dist/actions/reply-to-ticket.cjs +20 -20
- package/dist/actions/reply-to-ticket.cjs.map +1 -1
- package/dist/actions/reply-to-ticket.d.cts +63 -3
- package/dist/actions/reply-to-ticket.d.cts.map +1 -1
- package/dist/actions/reply-to-ticket.d.mts +63 -3
- package/dist/actions/reply-to-ticket.d.mts.map +1 -1
- package/dist/actions/reply-to-ticket.mjs +20 -20
- package/dist/actions/reply-to-ticket.mjs.map +1 -1
- package/dist/actions/search-agents.cjs +32 -32
- package/dist/actions/search-agents.cjs.map +1 -1
- package/dist/actions/search-agents.d.cts +92 -3
- package/dist/actions/search-agents.d.cts.map +1 -1
- package/dist/actions/search-agents.d.mts +92 -3
- package/dist/actions/search-agents.d.mts.map +1 -1
- package/dist/actions/search-agents.mjs +32 -32
- package/dist/actions/search-agents.mjs.map +1 -1
- package/dist/actions/search-companies.cjs +20 -20
- package/dist/actions/search-companies.cjs.map +1 -1
- package/dist/actions/search-companies.d.cts +55 -3
- package/dist/actions/search-companies.d.cts.map +1 -1
- package/dist/actions/search-companies.d.mts +55 -3
- package/dist/actions/search-companies.d.mts.map +1 -1
- package/dist/actions/search-companies.mjs +20 -20
- package/dist/actions/search-companies.mjs.map +1 -1
- package/dist/actions/search-company.cjs +3 -3
- package/dist/actions/search-company.cjs.map +1 -1
- package/dist/actions/search-company.d.cts +17 -3
- package/dist/actions/search-company.d.cts.map +1 -1
- package/dist/actions/search-company.d.mts +17 -3
- package/dist/actions/search-company.d.mts.map +1 -1
- package/dist/actions/search-company.mjs +3 -3
- package/dist/actions/search-company.mjs.map +1 -1
- package/dist/actions/search-contacts-autocomplete.cjs +9 -9
- package/dist/actions/search-contacts-autocomplete.cjs.map +1 -1
- package/dist/actions/search-contacts-autocomplete.d.cts +29 -3
- package/dist/actions/search-contacts-autocomplete.d.cts.map +1 -1
- package/dist/actions/search-contacts-autocomplete.d.mts +29 -3
- package/dist/actions/search-contacts-autocomplete.d.mts.map +1 -1
- package/dist/actions/search-contacts-autocomplete.mjs +9 -9
- package/dist/actions/search-contacts-autocomplete.mjs.map +1 -1
- package/dist/actions/search-contacts.cjs +37 -37
- package/dist/actions/search-contacts.cjs.map +1 -1
- package/dist/actions/search-contacts.d.cts +87 -3
- package/dist/actions/search-contacts.d.cts.map +1 -1
- package/dist/actions/search-contacts.d.mts +87 -3
- package/dist/actions/search-contacts.d.mts.map +1 -1
- package/dist/actions/search-contacts.mjs +37 -37
- package/dist/actions/search-contacts.mjs.map +1 -1
- package/dist/actions/search-solution-articles.cjs +36 -36
- package/dist/actions/search-solution-articles.cjs.map +1 -1
- package/dist/actions/search-solution-articles.d.cts +91 -3
- package/dist/actions/search-solution-articles.d.cts.map +1 -1
- package/dist/actions/search-solution-articles.d.mts +91 -3
- package/dist/actions/search-solution-articles.d.mts.map +1 -1
- package/dist/actions/search-solution-articles.mjs +36 -36
- package/dist/actions/search-solution-articles.mjs.map +1 -1
- package/dist/actions/toggle-timer.cjs +12 -12
- package/dist/actions/toggle-timer.cjs.map +1 -1
- package/dist/actions/toggle-timer.d.cts +33 -3
- package/dist/actions/toggle-timer.d.cts.map +1 -1
- package/dist/actions/toggle-timer.d.mts +33 -3
- package/dist/actions/toggle-timer.d.mts.map +1 -1
- package/dist/actions/toggle-timer.mjs +12 -12
- package/dist/actions/toggle-timer.mjs.map +1 -1
- package/dist/actions/update-admin-group.cjs +14 -14
- package/dist/actions/update-admin-group.cjs.map +1 -1
- package/dist/actions/update-admin-group.d.cts +51 -3
- package/dist/actions/update-admin-group.d.cts.map +1 -1
- package/dist/actions/update-admin-group.d.mts +51 -3
- package/dist/actions/update-admin-group.d.mts.map +1 -1
- package/dist/actions/update-admin-group.mjs +14 -14
- package/dist/actions/update-admin-group.mjs.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.cjs +8 -8
- package/dist/actions/update-admin-ticket-field-section.cjs.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.d.cts +33 -3
- package/dist/actions/update-admin-ticket-field-section.d.cts.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.d.mts +33 -3
- package/dist/actions/update-admin-ticket-field-section.d.mts.map +1 -1
- package/dist/actions/update-admin-ticket-field-section.mjs +8 -8
- package/dist/actions/update-admin-ticket-field-section.mjs.map +1 -1
- package/dist/actions/update-admin-ticket-field.cjs +24 -24
- package/dist/actions/update-admin-ticket-field.cjs.map +1 -1
- package/dist/actions/update-admin-ticket-field.d.cts +74 -3
- package/dist/actions/update-admin-ticket-field.d.cts.map +1 -1
- package/dist/actions/update-admin-ticket-field.d.mts +74 -3
- package/dist/actions/update-admin-ticket-field.d.mts.map +1 -1
- package/dist/actions/update-admin-ticket-field.mjs +24 -24
- package/dist/actions/update-admin-ticket-field.mjs.map +1 -1
- package/dist/actions/update-agent-availability.cjs +12 -12
- package/dist/actions/update-agent-availability.cjs.map +1 -1
- package/dist/actions/update-agent-availability.d.cts +43 -3
- package/dist/actions/update-agent-availability.d.cts.map +1 -1
- package/dist/actions/update-agent-availability.d.mts +43 -3
- package/dist/actions/update-agent-availability.d.mts.map +1 -1
- package/dist/actions/update-agent-availability.mjs +12 -12
- package/dist/actions/update-agent-availability.mjs.map +1 -1
- package/dist/actions/update-agent.cjs +29 -29
- package/dist/actions/update-agent.cjs.map +1 -1
- package/dist/actions/update-agent.d.cts +103 -3
- package/dist/actions/update-agent.d.cts.map +1 -1
- package/dist/actions/update-agent.d.mts +103 -3
- package/dist/actions/update-agent.d.mts.map +1 -1
- package/dist/actions/update-agent.mjs +29 -29
- package/dist/actions/update-agent.mjs.map +1 -1
- package/dist/actions/update-automations.cjs +37 -37
- package/dist/actions/update-automations.cjs.map +1 -1
- package/dist/actions/update-automations.d.cts +109 -3
- package/dist/actions/update-automations.d.cts.map +1 -1
- package/dist/actions/update-automations.d.mts +109 -3
- package/dist/actions/update-automations.d.mts.map +1 -1
- package/dist/actions/update-automations.mjs +37 -37
- package/dist/actions/update-automations.mjs.map +1 -1
- package/dist/actions/update-canned-response-folder.cjs +2 -2
- package/dist/actions/update-canned-response-folder.cjs.map +1 -1
- package/dist/actions/update-canned-response-folder.d.cts +15 -3
- package/dist/actions/update-canned-response-folder.d.cts.map +1 -1
- package/dist/actions/update-canned-response-folder.d.mts +15 -3
- package/dist/actions/update-canned-response-folder.d.mts.map +1 -1
- package/dist/actions/update-canned-response-folder.mjs +2 -2
- package/dist/actions/update-canned-response-folder.mjs.map +1 -1
- package/dist/actions/update-canned-response.cjs +16 -16
- package/dist/actions/update-canned-response.cjs.map +1 -1
- package/dist/actions/update-canned-response.d.cts +53 -3
- package/dist/actions/update-canned-response.d.cts.map +1 -1
- package/dist/actions/update-canned-response.d.mts +53 -3
- package/dist/actions/update-canned-response.d.mts.map +1 -1
- package/dist/actions/update-canned-response.mjs +16 -16
- package/dist/actions/update-canned-response.mjs.map +1 -1
- package/dist/actions/update-companies.cjs +14 -14
- package/dist/actions/update-companies.cjs.map +1 -1
- package/dist/actions/update-companies.d.cts +55 -3
- package/dist/actions/update-companies.d.cts.map +1 -1
- package/dist/actions/update-companies.d.mts +55 -3
- package/dist/actions/update-companies.d.mts.map +1 -1
- package/dist/actions/update-companies.mjs +14 -14
- package/dist/actions/update-companies.mjs.map +1 -1
- package/dist/actions/update-contact-field.cjs +19 -19
- package/dist/actions/update-contact-field.cjs.map +1 -1
- package/dist/actions/update-contact-field.d.cts +61 -3
- package/dist/actions/update-contact-field.d.cts.map +1 -1
- package/dist/actions/update-contact-field.d.mts +61 -3
- package/dist/actions/update-contact-field.d.mts.map +1 -1
- package/dist/actions/update-contact-field.mjs +19 -19
- package/dist/actions/update-contact-field.mjs.map +1 -1
- package/dist/actions/update-contact-make-agent.cjs +25 -25
- package/dist/actions/update-contact-make-agent.cjs.map +1 -1
- package/dist/actions/update-contact-make-agent.d.cts +67 -3
- package/dist/actions/update-contact-make-agent.d.cts.map +1 -1
- package/dist/actions/update-contact-make-agent.d.mts +67 -3
- package/dist/actions/update-contact-make-agent.d.mts.map +1 -1
- package/dist/actions/update-contact-make-agent.mjs +25 -25
- package/dist/actions/update-contact-make-agent.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +45 -45
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +135 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +135 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +45 -45
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-conversations.cjs +22 -22
- package/dist/actions/update-conversations.cjs.map +1 -1
- package/dist/actions/update-conversations.d.cts +57 -3
- package/dist/actions/update-conversations.d.cts.map +1 -1
- package/dist/actions/update-conversations.d.mts +57 -3
- package/dist/actions/update-conversations.d.mts.map +1 -1
- package/dist/actions/update-conversations.mjs +22 -22
- package/dist/actions/update-conversations.mjs.map +1 -1
- package/dist/actions/update-discussion-category.cjs +5 -5
- package/dist/actions/update-discussion-category.cjs.map +1 -1
- package/dist/actions/update-discussion-category.d.cts +23 -3
- package/dist/actions/update-discussion-category.d.cts.map +1 -1
- package/dist/actions/update-discussion-category.d.mts +23 -3
- package/dist/actions/update-discussion-category.d.mts.map +1 -1
- package/dist/actions/update-discussion-category.mjs +5 -5
- package/dist/actions/update-discussion-category.mjs.map +1 -1
- package/dist/actions/update-discussion-comment.cjs +12 -12
- package/dist/actions/update-discussion-comment.cjs.map +1 -1
- package/dist/actions/update-discussion-comment.d.cts +35 -3
- package/dist/actions/update-discussion-comment.d.cts.map +1 -1
- package/dist/actions/update-discussion-comment.d.mts +35 -3
- package/dist/actions/update-discussion-comment.d.mts.map +1 -1
- package/dist/actions/update-discussion-comment.mjs +12 -12
- package/dist/actions/update-discussion-comment.mjs.map +1 -1
- package/dist/actions/update-discussion-forum.cjs +12 -12
- package/dist/actions/update-discussion-forum.cjs.map +1 -1
- package/dist/actions/update-discussion-forum.d.cts +45 -3
- package/dist/actions/update-discussion-forum.d.cts.map +1 -1
- package/dist/actions/update-discussion-forum.d.mts +45 -3
- package/dist/actions/update-discussion-forum.d.mts.map +1 -1
- package/dist/actions/update-discussion-forum.mjs +12 -12
- package/dist/actions/update-discussion-forum.mjs.map +1 -1
- package/dist/actions/update-discussion-topic.cjs +17 -17
- package/dist/actions/update-discussion-topic.cjs.map +1 -1
- package/dist/actions/update-discussion-topic.d.cts +55 -3
- package/dist/actions/update-discussion-topic.d.cts.map +1 -1
- package/dist/actions/update-discussion-topic.d.mts +55 -3
- package/dist/actions/update-discussion-topic.d.mts.map +1 -1
- package/dist/actions/update-discussion-topic.mjs +17 -17
- package/dist/actions/update-discussion-topic.mjs.map +1 -1
- package/dist/actions/update-email-settings.cjs +12 -12
- package/dist/actions/update-email-settings.cjs.map +1 -1
- package/dist/actions/update-email-settings.d.cts +55 -3
- package/dist/actions/update-email-settings.d.cts.map +1 -1
- package/dist/actions/update-email-settings.d.mts +55 -3
- package/dist/actions/update-email-settings.d.mts.map +1 -1
- package/dist/actions/update-email-settings.mjs +12 -12
- package/dist/actions/update-email-settings.mjs.map +1 -1
- package/dist/actions/update-notification-email-bcc.cjs +1 -1
- package/dist/actions/update-notification-email-bcc.cjs.map +1 -1
- package/dist/actions/update-notification-email-bcc.d.cts +11 -3
- package/dist/actions/update-notification-email-bcc.d.cts.map +1 -1
- package/dist/actions/update-notification-email-bcc.d.mts +11 -3
- package/dist/actions/update-notification-email-bcc.d.mts.map +1 -1
- package/dist/actions/update-notification-email-bcc.mjs +1 -1
- package/dist/actions/update-notification-email-bcc.mjs.map +1 -1
- package/dist/actions/update-sla-policies.cjs +38 -38
- package/dist/actions/update-sla-policies.cjs.map +1 -1
- package/dist/actions/update-sla-policies.d.cts +201 -3
- package/dist/actions/update-sla-policies.d.cts.map +1 -1
- package/dist/actions/update-sla-policies.d.mts +201 -3
- package/dist/actions/update-sla-policies.d.mts.map +1 -1
- package/dist/actions/update-sla-policies.mjs +38 -38
- package/dist/actions/update-sla-policies.mjs.map +1 -1
- package/dist/actions/update-solution-category.cjs +8 -8
- package/dist/actions/update-solution-category.cjs.map +1 -1
- package/dist/actions/update-solution-category.d.cts +29 -3
- package/dist/actions/update-solution-category.d.cts.map +1 -1
- package/dist/actions/update-solution-category.d.mts +29 -3
- package/dist/actions/update-solution-category.d.mts.map +1 -1
- package/dist/actions/update-solution-category.mjs +8 -8
- package/dist/actions/update-solution-category.mjs.map +1 -1
- package/dist/actions/update-solution-folder.cjs +22 -22
- package/dist/actions/update-solution-folder.cjs.map +1 -1
- package/dist/actions/update-solution-folder.d.cts +73 -3
- package/dist/actions/update-solution-folder.d.cts.map +1 -1
- package/dist/actions/update-solution-folder.d.mts +73 -3
- package/dist/actions/update-solution-folder.d.mts.map +1 -1
- package/dist/actions/update-solution-folder.mjs +22 -22
- package/dist/actions/update-solution-folder.mjs.map +1 -1
- package/dist/actions/update-solutions.cjs +30 -30
- package/dist/actions/update-solutions.cjs.map +1 -1
- package/dist/actions/update-solutions.d.cts +89 -3
- package/dist/actions/update-solutions.d.cts.map +1 -1
- package/dist/actions/update-solutions.d.mts +89 -3
- package/dist/actions/update-solutions.d.mts.map +1 -1
- package/dist/actions/update-solutions.mjs +30 -30
- package/dist/actions/update-solutions.mjs.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.cjs +10 -10
- package/dist/actions/update-ticket-bulk-watch.cjs.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.d.cts +33 -3
- package/dist/actions/update-ticket-bulk-watch.d.cts.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.d.mts +33 -3
- package/dist/actions/update-ticket-bulk-watch.d.mts.map +1 -1
- package/dist/actions/update-ticket-bulk-watch.mjs +10 -10
- package/dist/actions/update-ticket-bulk-watch.mjs.map +1 -1
- package/dist/actions/update-ticket-forms.cjs +28 -28
- package/dist/actions/update-ticket-forms.cjs.map +1 -1
- package/dist/actions/update-ticket-forms.d.cts +95 -3
- package/dist/actions/update-ticket-forms.d.cts.map +1 -1
- package/dist/actions/update-ticket-forms.d.mts +95 -3
- package/dist/actions/update-ticket-forms.d.mts.map +1 -1
- package/dist/actions/update-ticket-forms.mjs +28 -28
- package/dist/actions/update-ticket-forms.mjs.map +1 -1
- package/dist/actions/update-ticket-summary.cjs +11 -11
- package/dist/actions/update-ticket-summary.cjs.map +1 -1
- package/dist/actions/update-ticket-summary.d.cts +33 -3
- package/dist/actions/update-ticket-summary.d.cts.map +1 -1
- package/dist/actions/update-ticket-summary.d.mts +33 -3
- package/dist/actions/update-ticket-summary.d.mts.map +1 -1
- package/dist/actions/update-ticket-summary.mjs +11 -11
- package/dist/actions/update-ticket-summary.mjs.map +1 -1
- package/dist/actions/update-ticket-user-access.cjs.map +1 -1
- package/dist/actions/update-ticket-user-access.d.cts +22 -3
- package/dist/actions/update-ticket-user-access.d.cts.map +1 -1
- package/dist/actions/update-ticket-user-access.d.mts +22 -3
- package/dist/actions/update-ticket-user-access.d.mts.map +1 -1
- package/dist/actions/update-ticket-user-access.mjs.map +1 -1
- package/dist/actions/update-ticket.cjs +42 -42
- package/dist/actions/update-ticket.cjs.map +1 -1
- package/dist/actions/update-ticket.d.cts +193 -3
- package/dist/actions/update-ticket.d.cts.map +1 -1
- package/dist/actions/update-ticket.d.mts +193 -3
- package/dist/actions/update-ticket.d.mts.map +1 -1
- package/dist/actions/update-ticket.mjs +42 -42
- package/dist/actions/update-ticket.mjs.map +1 -1
- package/dist/actions/update-time-entry.cjs +13 -13
- package/dist/actions/update-time-entry.cjs.map +1 -1
- package/dist/actions/update-time-entry.d.cts +49 -3
- package/dist/actions/update-time-entry.d.cts.map +1 -1
- package/dist/actions/update-time-entry.d.mts +49 -3
- package/dist/actions/update-time-entry.d.mts.map +1 -1
- package/dist/actions/update-time-entry.mjs +13 -13
- package/dist/actions/update-time-entry.mjs.map +1 -1
- package/dist/actions/view-a-canned-response.cjs +20 -20
- package/dist/actions/view-a-canned-response.cjs.map +1 -1
- package/dist/actions/view-a-canned-response.d.cts +51 -3
- package/dist/actions/view-a-canned-response.d.cts.map +1 -1
- package/dist/actions/view-a-canned-response.d.mts +51 -3
- package/dist/actions/view-a-canned-response.d.mts.map +1 -1
- package/dist/actions/view-a-canned-response.mjs +20 -20
- package/dist/actions/view-a-canned-response.mjs.map +1 -1
- package/dist/actions/view-automations.cjs +39 -39
- package/dist/actions/view-automations.cjs.map +1 -1
- package/dist/actions/view-automations.d.cts +101 -3
- package/dist/actions/view-automations.d.cts.map +1 -1
- package/dist/actions/view-automations.d.mts +101 -3
- package/dist/actions/view-automations.d.mts.map +1 -1
- package/dist/actions/view-automations.mjs +39 -39
- package/dist/actions/view-automations.mjs.map +1 -1
- package/dist/actions/view-business-hour.cjs +22 -22
- package/dist/actions/view-business-hour.cjs.map +1 -1
- package/dist/actions/view-business-hour.d.cts +95 -3
- package/dist/actions/view-business-hour.d.cts.map +1 -1
- package/dist/actions/view-business-hour.d.mts +95 -3
- package/dist/actions/view-business-hour.d.mts.map +1 -1
- package/dist/actions/view-business-hour.mjs +22 -22
- package/dist/actions/view-business-hour.mjs.map +1 -1
- package/dist/actions/view-company-field.cjs +17 -17
- package/dist/actions/view-company-field.cjs.map +1 -1
- package/dist/actions/view-company-field.d.cts +47 -3
- package/dist/actions/view-company-field.d.cts.map +1 -1
- package/dist/actions/view-company-field.d.mts +47 -3
- package/dist/actions/view-company-field.d.mts.map +1 -1
- package/dist/actions/view-company-field.mjs +17 -17
- package/dist/actions/view-company-field.mjs.map +1 -1
- package/dist/actions/view-contact-field.cjs +23 -23
- package/dist/actions/view-contact-field.cjs.map +1 -1
- package/dist/actions/view-contact-field.d.cts +57 -3
- package/dist/actions/view-contact-field.d.cts.map +1 -1
- package/dist/actions/view-contact-field.d.mts +57 -3
- package/dist/actions/view-contact-field.d.mts.map +1 -1
- package/dist/actions/view-contact-field.mjs +23 -23
- package/dist/actions/view-contact-field.mjs.map +1 -1
- package/dist/actions/view-email-configs.cjs +10 -10
- package/dist/actions/view-email-configs.cjs.map +1 -1
- package/dist/actions/view-email-configs.d.cts +29 -3
- package/dist/actions/view-email-configs.d.cts.map +1 -1
- package/dist/actions/view-email-configs.d.mts +29 -3
- package/dist/actions/view-email-configs.d.mts.map +1 -1
- package/dist/actions/view-email-configs.mjs +10 -10
- package/dist/actions/view-email-configs.mjs.map +1 -1
- package/dist/actions/view-email.cjs +14 -14
- package/dist/actions/view-email.cjs.map +1 -1
- package/dist/actions/view-email.d.cts +33 -3
- package/dist/actions/view-email.d.cts.map +1 -1
- package/dist/actions/view-email.d.mts +33 -3
- package/dist/actions/view-email.d.mts.map +1 -1
- package/dist/actions/view-email.mjs +14 -14
- package/dist/actions/view-email.mjs.map +1 -1
- package/dist/actions/view-group.cjs +13 -13
- package/dist/actions/view-group.cjs.map +1 -1
- package/dist/actions/view-group.d.cts +35 -3
- package/dist/actions/view-group.d.cts.map +1 -1
- package/dist/actions/view-group.d.mts +35 -3
- package/dist/actions/view-group.d.mts.map +1 -1
- package/dist/actions/view-group.mjs +13 -13
- package/dist/actions/view-group.mjs.map +1 -1
- package/dist/actions/view-notifications.cjs +3 -3
- package/dist/actions/view-notifications.cjs.map +1 -1
- package/dist/actions/view-notifications.d.cts +11 -3
- package/dist/actions/view-notifications.d.cts.map +1 -1
- package/dist/actions/view-notifications.d.mts +11 -3
- package/dist/actions/view-notifications.d.mts.map +1 -1
- package/dist/actions/view-notifications.mjs +3 -3
- package/dist/actions/view-notifications.mjs.map +1 -1
- package/dist/actions/view-products.cjs +7 -7
- package/dist/actions/view-products.cjs.map +1 -1
- package/dist/actions/view-products.d.cts +23 -3
- package/dist/actions/view-products.d.cts.map +1 -1
- package/dist/actions/view-products.d.mts +23 -3
- package/dist/actions/view-products.d.mts.map +1 -1
- package/dist/actions/view-products.mjs +7 -7
- package/dist/actions/view-products.mjs.map +1 -1
- package/dist/actions/view-roles.cjs +9 -9
- package/dist/actions/view-roles.cjs.map +1 -1
- package/dist/actions/view-roles.d.cts +27 -3
- package/dist/actions/view-roles.d.cts.map +1 -1
- package/dist/actions/view-roles.d.mts +27 -3
- package/dist/actions/view-roles.d.mts.map +1 -1
- package/dist/actions/view-roles.mjs +9 -9
- package/dist/actions/view-roles.mjs.map +1 -1
- package/dist/actions/view-settings.cjs +4 -4
- package/dist/actions/view-settings.cjs.map +1 -1
- package/dist/actions/view-settings.d.cts +13 -3
- package/dist/actions/view-settings.d.cts.map +1 -1
- package/dist/actions/view-settings.d.mts +13 -3
- package/dist/actions/view-settings.d.mts.map +1 -1
- package/dist/actions/view-settings.mjs +4 -4
- package/dist/actions/view-settings.mjs.map +1 -1
- package/dist/actions/view-skill.cjs +11 -11
- package/dist/actions/view-skill.cjs.map +1 -1
- package/dist/actions/view-skill.d.cts +35 -3
- package/dist/actions/view-skill.d.cts.map +1 -1
- package/dist/actions/view-skill.d.mts +35 -3
- package/dist/actions/view-skill.d.mts.map +1 -1
- package/dist/actions/view-skill.mjs +11 -11
- package/dist/actions/view-skill.mjs.map +1 -1
- package/dist/actions/view-solution-category.cjs +9 -9
- package/dist/actions/view-solution-category.cjs.map +1 -1
- package/dist/actions/view-solution-category.d.cts +27 -3
- package/dist/actions/view-solution-category.d.cts.map +1 -1
- package/dist/actions/view-solution-category.d.mts +27 -3
- package/dist/actions/view-solution-category.d.mts.map +1 -1
- package/dist/actions/view-solution-category.mjs +9 -9
- package/dist/actions/view-solution-category.mjs.map +1 -1
- package/dist/actions/view-solution-folder.cjs +21 -21
- package/dist/actions/view-solution-folder.cjs.map +1 -1
- package/dist/actions/view-solution-folder.d.cts +57 -3
- package/dist/actions/view-solution-folder.d.cts.map +1 -1
- package/dist/actions/view-solution-folder.d.mts +57 -3
- package/dist/actions/view-solution-folder.d.mts.map +1 -1
- package/dist/actions/view-solution-folder.mjs +21 -21
- package/dist/actions/view-solution-folder.mjs.map +1 -1
- package/dist/actions/view-solutions.cjs +45 -45
- package/dist/actions/view-solutions.cjs.map +1 -1
- package/dist/actions/view-solutions.d.cts +113 -3
- package/dist/actions/view-solutions.d.cts.map +1 -1
- package/dist/actions/view-solutions.d.mts +113 -3
- package/dist/actions/view-solutions.d.mts.map +1 -1
- package/dist/actions/view-solutions.mjs +45 -45
- package/dist/actions/view-solutions.mjs.map +1 -1
- package/dist/actions/view-ticket-field.cjs +36 -36
- package/dist/actions/view-ticket-field.cjs.map +1 -1
- package/dist/actions/view-ticket-field.d.cts +85 -3
- package/dist/actions/view-ticket-field.d.cts.map +1 -1
- package/dist/actions/view-ticket-field.d.mts +85 -3
- package/dist/actions/view-ticket-field.d.mts.map +1 -1
- package/dist/actions/view-ticket-field.mjs +36 -36
- package/dist/actions/view-ticket-field.mjs.map +1 -1
- package/dist/actions/view-ticket-form-field.cjs +18 -18
- package/dist/actions/view-ticket-form-field.cjs.map +1 -1
- package/dist/actions/view-ticket-form-field.d.cts +47 -3
- package/dist/actions/view-ticket-form-field.d.cts.map +1 -1
- package/dist/actions/view-ticket-form-field.d.mts +47 -3
- package/dist/actions/view-ticket-form-field.d.mts.map +1 -1
- package/dist/actions/view-ticket-form-field.mjs +18 -18
- package/dist/actions/view-ticket-form-field.mjs.map +1 -1
- package/dist/actions/view-ticket.cjs +91 -91
- package/dist/actions/view-ticket.cjs.map +1 -1
- package/dist/actions/view-ticket.d.cts +224 -3
- package/dist/actions/view-ticket.d.cts.map +1 -1
- package/dist/actions/view-ticket.d.mts +224 -3
- package/dist/actions/view-ticket.d.mts.map +1 -1
- package/dist/actions/view-ticket.mjs +91 -91
- package/dist/actions/view-ticket.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,141 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-contact.d.ts
|
|
4
|
-
declare const FreshdeskUpdateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FreshdeskUpdateContactInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
10
|
+
mobile: z.ZodOptional<z.ZodString>;
|
|
11
|
+
address: z.ZodOptional<z.ZodString>;
|
|
12
|
+
language: z.ZodOptional<z.ZodString>;
|
|
13
|
+
job_title: z.ZodOptional<z.ZodString>;
|
|
14
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
15
|
+
company_id: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
twitter_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18
|
+
other_emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
|
+
view_all_tickets: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
unique_external_id: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const FreshdeskUpdateContactOutput: z.ZodObject<{
|
|
24
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
avatar: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
size: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
34
|
+
avatar_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
content_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
42
|
+
devices: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
43
|
+
language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
44
|
+
job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
45
|
+
last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
46
|
+
last_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
49
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
50
|
+
first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
51
|
+
first_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
53
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
visitor_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
csat_rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
56
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
facebook_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
contact_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
59
|
+
other_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
60
|
+
custom_fields: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
|
+
org_contact_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
62
|
+
other_companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
63
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
64
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
65
|
+
}, z.core.$strip>>>>;
|
|
66
|
+
preferred_source: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
68
|
+
org_contact_id_str: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
69
|
+
unique_external_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
70
|
+
other_phone_numbers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
declare const freshdeskUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
73
|
+
id: number;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
tags?: string[] | undefined;
|
|
76
|
+
email?: string | undefined;
|
|
77
|
+
phone?: string | undefined;
|
|
78
|
+
mobile?: string | undefined;
|
|
79
|
+
address?: string | undefined;
|
|
80
|
+
language?: string | undefined;
|
|
81
|
+
job_title?: string | undefined;
|
|
82
|
+
time_zone?: string | undefined;
|
|
83
|
+
company_id?: number | undefined;
|
|
84
|
+
twitter_id?: string | undefined;
|
|
85
|
+
description?: string | undefined;
|
|
86
|
+
other_emails?: string[] | undefined;
|
|
87
|
+
custom_fields?: Record<string, unknown> | undefined;
|
|
88
|
+
view_all_tickets?: boolean | undefined;
|
|
89
|
+
unique_external_id?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
id?: number | undefined;
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
tags?: string[] | undefined;
|
|
94
|
+
email?: string | undefined;
|
|
95
|
+
phone?: string | undefined;
|
|
96
|
+
active?: boolean | undefined;
|
|
97
|
+
avatar?: {
|
|
98
|
+
id?: number | undefined;
|
|
99
|
+
name?: string | undefined;
|
|
100
|
+
size?: number | undefined;
|
|
101
|
+
avatar_url?: string | undefined;
|
|
102
|
+
created_at?: string | undefined;
|
|
103
|
+
updated_at?: string | undefined;
|
|
104
|
+
content_type?: string | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
mobile?: string | undefined;
|
|
107
|
+
address?: string | undefined;
|
|
108
|
+
deleted?: boolean | undefined;
|
|
109
|
+
devices?: string[] | undefined;
|
|
110
|
+
language?: string | undefined;
|
|
111
|
+
job_title?: string | undefined;
|
|
112
|
+
last_name?: string | undefined;
|
|
113
|
+
last_seen?: string | undefined;
|
|
114
|
+
time_zone?: string | undefined;
|
|
115
|
+
company_id?: number | undefined;
|
|
116
|
+
created_at?: string | undefined;
|
|
117
|
+
first_name?: string | undefined;
|
|
118
|
+
first_seen?: string | undefined;
|
|
119
|
+
twitter_id?: string | undefined;
|
|
120
|
+
updated_at?: string | undefined;
|
|
121
|
+
visitor_id?: string | undefined;
|
|
122
|
+
csat_rating?: number | undefined;
|
|
123
|
+
description?: string | undefined;
|
|
124
|
+
facebook_id?: string | undefined;
|
|
125
|
+
contact_type?: string | undefined;
|
|
126
|
+
other_emails?: string[] | undefined;
|
|
127
|
+
custom_fields?: Record<string, unknown> | undefined;
|
|
128
|
+
org_contact_id?: number | undefined;
|
|
129
|
+
other_companies?: {
|
|
130
|
+
company_id?: number | undefined;
|
|
131
|
+
view_all_tickets?: boolean | undefined;
|
|
132
|
+
}[] | undefined;
|
|
133
|
+
preferred_source?: string | undefined;
|
|
134
|
+
view_all_tickets?: boolean | undefined;
|
|
135
|
+
org_contact_id_str?: string | undefined;
|
|
136
|
+
unique_external_id?: string | undefined;
|
|
137
|
+
other_phone_numbers?: string[] | undefined;
|
|
138
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
139
|
//#endregion
|
|
8
140
|
export { freshdeskUpdateContact };
|
|
9
141
|
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;kBAMjC,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA,MAAA"}
|
|
@@ -1,9 +1,141 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-contact.d.ts
|
|
4
|
-
declare const FreshdeskUpdateContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FreshdeskUpdateContactInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
10
|
+
mobile: z.ZodOptional<z.ZodString>;
|
|
11
|
+
address: z.ZodOptional<z.ZodString>;
|
|
12
|
+
language: z.ZodOptional<z.ZodString>;
|
|
13
|
+
job_title: z.ZodOptional<z.ZodString>;
|
|
14
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
15
|
+
company_id: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
twitter_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
description: z.ZodOptional<z.ZodString>;
|
|
18
|
+
other_emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
|
+
view_all_tickets: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
unique_external_id: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const FreshdeskUpdateContactOutput: z.ZodObject<{
|
|
24
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
27
|
+
email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
avatar: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
31
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
size: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
34
|
+
avatar_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
content_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
40
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
42
|
+
devices: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
43
|
+
language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
44
|
+
job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
45
|
+
last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
46
|
+
last_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
48
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
49
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
50
|
+
first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
51
|
+
first_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
53
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
visitor_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
csat_rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
56
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
facebook_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
contact_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
59
|
+
other_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
60
|
+
custom_fields: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
|
+
org_contact_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
62
|
+
other_companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
63
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
64
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
65
|
+
}, z.core.$strip>>>>;
|
|
66
|
+
preferred_source: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
68
|
+
org_contact_id_str: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
69
|
+
unique_external_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
70
|
+
other_phone_numbers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
declare const freshdeskUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
73
|
+
id: number;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
tags?: string[] | undefined;
|
|
76
|
+
email?: string | undefined;
|
|
77
|
+
phone?: string | undefined;
|
|
78
|
+
mobile?: string | undefined;
|
|
79
|
+
address?: string | undefined;
|
|
80
|
+
language?: string | undefined;
|
|
81
|
+
job_title?: string | undefined;
|
|
82
|
+
time_zone?: string | undefined;
|
|
83
|
+
company_id?: number | undefined;
|
|
84
|
+
twitter_id?: string | undefined;
|
|
85
|
+
description?: string | undefined;
|
|
86
|
+
other_emails?: string[] | undefined;
|
|
87
|
+
custom_fields?: Record<string, unknown> | undefined;
|
|
88
|
+
view_all_tickets?: boolean | undefined;
|
|
89
|
+
unique_external_id?: string | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
id?: number | undefined;
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
tags?: string[] | undefined;
|
|
94
|
+
email?: string | undefined;
|
|
95
|
+
phone?: string | undefined;
|
|
96
|
+
active?: boolean | undefined;
|
|
97
|
+
avatar?: {
|
|
98
|
+
id?: number | undefined;
|
|
99
|
+
name?: string | undefined;
|
|
100
|
+
size?: number | undefined;
|
|
101
|
+
avatar_url?: string | undefined;
|
|
102
|
+
created_at?: string | undefined;
|
|
103
|
+
updated_at?: string | undefined;
|
|
104
|
+
content_type?: string | undefined;
|
|
105
|
+
} | undefined;
|
|
106
|
+
mobile?: string | undefined;
|
|
107
|
+
address?: string | undefined;
|
|
108
|
+
deleted?: boolean | undefined;
|
|
109
|
+
devices?: string[] | undefined;
|
|
110
|
+
language?: string | undefined;
|
|
111
|
+
job_title?: string | undefined;
|
|
112
|
+
last_name?: string | undefined;
|
|
113
|
+
last_seen?: string | undefined;
|
|
114
|
+
time_zone?: string | undefined;
|
|
115
|
+
company_id?: number | undefined;
|
|
116
|
+
created_at?: string | undefined;
|
|
117
|
+
first_name?: string | undefined;
|
|
118
|
+
first_seen?: string | undefined;
|
|
119
|
+
twitter_id?: string | undefined;
|
|
120
|
+
updated_at?: string | undefined;
|
|
121
|
+
visitor_id?: string | undefined;
|
|
122
|
+
csat_rating?: number | undefined;
|
|
123
|
+
description?: string | undefined;
|
|
124
|
+
facebook_id?: string | undefined;
|
|
125
|
+
contact_type?: string | undefined;
|
|
126
|
+
other_emails?: string[] | undefined;
|
|
127
|
+
custom_fields?: Record<string, unknown> | undefined;
|
|
128
|
+
org_contact_id?: number | undefined;
|
|
129
|
+
other_companies?: {
|
|
130
|
+
company_id?: number | undefined;
|
|
131
|
+
view_all_tickets?: boolean | undefined;
|
|
132
|
+
}[] | undefined;
|
|
133
|
+
preferred_source?: string | undefined;
|
|
134
|
+
view_all_tickets?: boolean | undefined;
|
|
135
|
+
org_contact_id_str?: string | undefined;
|
|
136
|
+
unique_external_id?: string | undefined;
|
|
137
|
+
other_phone_numbers?: string[] | undefined;
|
|
138
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
139
|
//#endregion
|
|
8
140
|
export { freshdeskUpdateContact };
|
|
9
141
|
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuC5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;kBAMjC,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA,MAAA"}
|
|
@@ -21,17 +21,17 @@ const FreshdeskUpdateContactInput = z.object({
|
|
|
21
21
|
unique_external_id: z.string().describe("Updated external ID for integration purposes").optional()
|
|
22
22
|
});
|
|
23
23
|
const FreshdeskUpdateContact_ContactAvatarSchema = z.object({
|
|
24
|
-
id: z.number().int().describe("Unique identifier of the avatar attachment").
|
|
25
|
-
name: z.string().describe("Filename of the avatar image").
|
|
26
|
-
size: z.number().int().describe("File size in bytes").
|
|
27
|
-
avatar_url: z.string().describe("Signed URL to download the avatar image").
|
|
28
|
-
created_at: z.string().describe("When the avatar was uploaded (ISO 8601)").
|
|
29
|
-
updated_at: z.string().describe("When the avatar was last updated (ISO 8601)").
|
|
30
|
-
content_type: z.string().describe("MIME type of the image (e.g., 'image/jpeg')").
|
|
24
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the avatar attachment").optional()),
|
|
25
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Filename of the avatar image").optional()),
|
|
26
|
+
size: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("File size in bytes").optional()),
|
|
27
|
+
avatar_url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Signed URL to download the avatar image").optional()),
|
|
28
|
+
created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("When the avatar was uploaded (ISO 8601)").optional()),
|
|
29
|
+
updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("When the avatar was last updated (ISO 8601)").optional()),
|
|
30
|
+
content_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("MIME type of the image (e.g., 'image/jpeg')").optional())
|
|
31
31
|
}).describe("Profile picture/avatar details for a contact.");
|
|
32
32
|
const FreshdeskUpdateContact_OtherCompanySchema = z.object({
|
|
33
|
-
company_id: z.number().int().describe("ID of the associated company").
|
|
34
|
-
view_all_tickets: z.boolean().describe("Whether contact can view all tickets for this company").
|
|
33
|
+
company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the associated company").optional()),
|
|
34
|
+
view_all_tickets: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether contact can view all tickets for this company").optional())
|
|
35
35
|
}).describe("Details of another company associated with a contact.");
|
|
36
36
|
const freshdeskUpdateContact = action("FRESHDESK_UPDATE_CONTACT", {
|
|
37
37
|
slug: "freshdesk-update-contact",
|
|
@@ -39,42 +39,42 @@ const freshdeskUpdateContact = action("FRESHDESK_UPDATE_CONTACT", {
|
|
|
39
39
|
description: "Tool to update an existing contact's information in Freshdesk. Use when you need to modify contact details such as name, email, phone, job title, or custom fields.",
|
|
40
40
|
input: FreshdeskUpdateContactInput,
|
|
41
41
|
output: z.object({
|
|
42
|
-
id: z.number().int().describe("Unique identifier of the contact").
|
|
43
|
-
name: z.string().describe("Full name of the contact").
|
|
44
|
-
tags: z.array(z.string()).describe("Tags associated with the contact").
|
|
45
|
-
email: z.string().describe("Primary email address of the contact").
|
|
46
|
-
phone: z.string().describe("Phone number of the contact").
|
|
47
|
-
active: z.boolean().describe("Whether the contact is active").
|
|
48
|
-
avatar:
|
|
49
|
-
mobile: z.string().describe("Mobile number of the contact").
|
|
50
|
-
address: z.string().describe("Physical address of the contact").
|
|
51
|
-
deleted: z.boolean().describe("Whether the contact has been deleted").
|
|
52
|
-
devices: z.array(z.string()).describe("Devices associated with the contact").
|
|
53
|
-
language: z.string().describe("Preferred language code (e.g., 'en')").
|
|
54
|
-
job_title: z.string().describe("Job title of the contact").
|
|
55
|
-
last_name: z.string().describe("Last name of the contact").
|
|
56
|
-
last_seen: z.string().describe("Timestamp when the contact was last seen (ISO 8601)").
|
|
57
|
-
time_zone: z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").
|
|
58
|
-
company_id: z.number().int().describe("ID of the primary company associated with the contact").
|
|
59
|
-
created_at: z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").
|
|
60
|
-
first_name: z.string().describe("First name of the contact").
|
|
61
|
-
first_seen: z.string().describe("Timestamp when the contact was first seen (ISO 8601)").
|
|
62
|
-
twitter_id: z.string().describe("Twitter handle").
|
|
63
|
-
updated_at: z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").
|
|
64
|
-
visitor_id: z.string().describe("Visitor ID for tracking (UUID format)").
|
|
65
|
-
csat_rating: z.number().int().describe("CSAT rating of the contact (1-5 scale)").
|
|
66
|
-
description: z.string().describe("Description of the contact").
|
|
67
|
-
facebook_id: z.string().describe("Facebook ID").
|
|
68
|
-
contact_type: z.string().describe("Type of contact (e.g., 'contact')").
|
|
69
|
-
other_emails: z.array(z.string()).describe("Additional email addresses of the contact").
|
|
70
|
-
custom_fields: z.record(z.string(), z.unknown()).describe("Custom fields configured for the contact as key-value pairs").
|
|
71
|
-
org_contact_id: z.number().int().describe("Organization-wide contact identifier").
|
|
72
|
-
other_companies: z.array(FreshdeskUpdateContact_OtherCompanySchema).describe("Other companies associated with the contact").
|
|
73
|
-
preferred_source: z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").
|
|
74
|
-
view_all_tickets: z.boolean().describe("Whether the contact can view all tickets from their company").
|
|
75
|
-
org_contact_id_str: z.string().describe("Organization-wide contact identifier as string (for large IDs)").
|
|
76
|
-
unique_external_id: z.string().describe("External system identifier for integrations").
|
|
77
|
-
other_phone_numbers: z.array(z.string()).describe("Additional phone numbers of the contact").
|
|
42
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the contact").optional()),
|
|
43
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Full name of the contact").optional()),
|
|
44
|
+
tags: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Tags associated with the contact").optional()),
|
|
45
|
+
email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Primary email address of the contact").optional()),
|
|
46
|
+
phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the contact").optional()),
|
|
47
|
+
active: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact is active").optional()),
|
|
48
|
+
avatar: z.preprocess((value) => value === null ? void 0 : value, FreshdeskUpdateContact_ContactAvatarSchema.optional()),
|
|
49
|
+
mobile: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile number of the contact").optional()),
|
|
50
|
+
address: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Physical address of the contact").optional()),
|
|
51
|
+
deleted: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact has been deleted").optional()),
|
|
52
|
+
devices: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Devices associated with the contact").optional()),
|
|
53
|
+
language: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Preferred language code (e.g., 'en')").optional()),
|
|
54
|
+
job_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Job title of the contact").optional()),
|
|
55
|
+
last_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last name of the contact").optional()),
|
|
56
|
+
last_seen: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was last seen (ISO 8601)").optional()),
|
|
57
|
+
time_zone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").optional()),
|
|
58
|
+
company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the primary company associated with the contact").optional()),
|
|
59
|
+
created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
|
|
60
|
+
first_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("First name of the contact").optional()),
|
|
61
|
+
first_seen: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was first seen (ISO 8601)").optional()),
|
|
62
|
+
twitter_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Twitter handle").optional()),
|
|
63
|
+
updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
|
|
64
|
+
visitor_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Visitor ID for tracking (UUID format)").optional()),
|
|
65
|
+
csat_rating: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("CSAT rating of the contact (1-5 scale)").optional()),
|
|
66
|
+
description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Description of the contact").optional()),
|
|
67
|
+
facebook_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Facebook ID").optional()),
|
|
68
|
+
contact_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of contact (e.g., 'contact')").optional()),
|
|
69
|
+
other_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Additional email addresses of the contact").optional()),
|
|
70
|
+
custom_fields: z.preprocess((value) => value === null ? void 0 : value, z.record(z.string(), z.unknown()).describe("Custom fields configured for the contact as key-value pairs").optional()),
|
|
71
|
+
org_contact_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Organization-wide contact identifier").optional()),
|
|
72
|
+
other_companies: z.preprocess((value) => value === null ? void 0 : value, z.array(FreshdeskUpdateContact_OtherCompanySchema).describe("Other companies associated with the contact").optional()),
|
|
73
|
+
preferred_source: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").optional()),
|
|
74
|
+
view_all_tickets: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact can view all tickets from their company").optional()),
|
|
75
|
+
org_contact_id_str: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Organization-wide contact identifier as string (for large IDs)").optional()),
|
|
76
|
+
unique_external_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("External system identifier for integrations").optional()),
|
|
77
|
+
other_phone_numbers: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Additional phone numbers of the contact").optional())
|
|
78
78
|
}).describe("Response from updating a contact in Freshdesk.")
|
|
79
79
|
});
|
|
80
80
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateContactInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the contact to update\"),\n name: z.string().describe(\"Updated name of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Updated tags associated with the contact\").optional(),\n email: z.string().describe(\"Updated email address\").optional(),\n phone: z.string().describe(\"Updated phone number\").optional(),\n mobile: z.string().describe(\"Updated mobile number\").optional(),\n address: z.string().describe(\"Updated physical address\").optional(),\n language: z.string().describe(\"Updated language code for preferred language\").optional(),\n job_title: z.string().describe(\"Updated job title\").optional(),\n time_zone: z.string().describe(\"Updated time zone\").optional(),\n company_id: z.number().int().describe(\"Updated ID of the primary company associated with this contact\").optional(),\n twitter_id: z.string().describe(\"Updated Twitter handle\").optional(),\n description: z.string().describe(\"Updated description or notes about the contact\").optional(),\n other_emails: z.array(z.string()).describe(\"Updated additional email addresses\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields object. Note: If contact has required custom fields (e.g., employee_id), they must be included in updates to avoid validation errors.\").optional(),\n view_all_tickets: z.boolean().describe(\"Set to true if the contact can view all tickets from their company\").optional(),\n unique_external_id: z.string().describe(\"Updated external ID for integration purposes\").optional(),\n});\nconst FreshdeskUpdateContact_ContactAvatarSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the avatar attachment\").nullable().optional(),\n name: z.string().describe(\"Filename of the avatar image\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n avatar_url: z.string().describe(\"Signed URL to download the avatar image\").nullable().optional(),\n created_at: z.string().describe(\"When the avatar was uploaded (ISO 8601)\").nullable().optional(),\n updated_at: z.string().describe(\"When the avatar was last updated (ISO 8601)\").nullable().optional(),\n content_type: z.string().describe(\"MIME type of the image (e.g., 'image/jpeg')\").nullable().optional(),\n}).describe(\"Profile picture/avatar details for a contact.\");\nconst FreshdeskUpdateContact_OtherCompanySchema: z.ZodTypeAny = z.object({\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n view_all_tickets: z.boolean().describe(\"Whether contact can view all tickets for this company\").nullable().optional(),\n}).describe(\"Details of another company associated with a contact.\");\nexport const FreshdeskUpdateContactOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable().optional(),\n avatar: FreshdeskUpdateContact_ContactAvatarSchema.nullable().optional(),\n mobile: z.string().describe(\"Mobile number of the contact\").nullable().optional(),\n address: z.string().describe(\"Physical address of the contact\").nullable().optional(),\n deleted: z.boolean().describe(\"Whether the contact has been deleted\").nullable().optional(),\n devices: z.array(z.string()).describe(\"Devices associated with the contact\").nullable().optional(),\n language: z.string().describe(\"Preferred language code (e.g., 'en')\").nullable().optional(),\n job_title: z.string().describe(\"Job title of the contact\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n last_seen: z.string().describe(\"Timestamp when the contact was last seen (ISO 8601)\").nullable().optional(),\n time_zone: z.string().describe(\"Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the primary company associated with the contact\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n first_seen: z.string().describe(\"Timestamp when the contact was first seen (ISO 8601)\").nullable().optional(),\n twitter_id: z.string().describe(\"Twitter handle\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable().optional(),\n visitor_id: z.string().describe(\"Visitor ID for tracking (UUID format)\").nullable().optional(),\n csat_rating: z.number().int().describe(\"CSAT rating of the contact (1-5 scale)\").nullable().optional(),\n description: z.string().describe(\"Description of the contact\").nullable().optional(),\n facebook_id: z.string().describe(\"Facebook ID\").nullable().optional(),\n contact_type: z.string().describe(\"Type of contact (e.g., 'contact')\").nullable().optional(),\n other_emails: z.array(z.string()).describe(\"Additional email addresses of the contact\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields configured for the contact as key-value pairs\").nullable().optional(),\n org_contact_id: z.number().int().describe(\"Organization-wide contact identifier\").nullable().optional(),\n other_companies: z.array(FreshdeskUpdateContact_OtherCompanySchema).describe(\"Other companies associated with the contact\").nullable().optional(),\n preferred_source: z.string().describe(\"Preferred source of communication (e.g., 'email', 'phone', 'portal')\").nullable().optional(),\n view_all_tickets: z.boolean().describe(\"Whether the contact can view all tickets from their company\").nullable().optional(),\n org_contact_id_str: z.string().describe(\"Organization-wide contact identifier as string (for large IDs)\").nullable().optional(),\n unique_external_id: z.string().describe(\"External system identifier for integrations\").nullable().optional(),\n other_phone_numbers: z.array(z.string()).describe(\"Additional phone numbers of the contact\").nullable().optional(),\n}).describe(\"Response from updating a contact in Freshdesk.\");\n\nexport const freshdeskUpdateContact = action(\"FRESHDESK_UPDATE_CONTACT\", {\n slug: \"freshdesk-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's information in Freshdesk. Use when you need to modify contact details such as name, email, phone, job title, or custom fields.\",\n input: FreshdeskUpdateContactInput,\n output: FreshdeskUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAClE,UAAU,E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S,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateContactInput = z.object({\n id: z.number().int().describe(\"ID of the contact to update\"),\n name: z.string().describe(\"Updated name of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Updated tags associated with the contact\").optional(),\n email: z.string().describe(\"Updated email address\").optional(),\n phone: z.string().describe(\"Updated phone number\").optional(),\n mobile: z.string().describe(\"Updated mobile number\").optional(),\n address: z.string().describe(\"Updated physical address\").optional(),\n language: z.string().describe(\"Updated language code for preferred language\").optional(),\n job_title: z.string().describe(\"Updated job title\").optional(),\n time_zone: z.string().describe(\"Updated time zone\").optional(),\n company_id: z.number().int().describe(\"Updated ID of the primary company associated with this contact\").optional(),\n twitter_id: z.string().describe(\"Updated Twitter handle\").optional(),\n description: z.string().describe(\"Updated description or notes about the contact\").optional(),\n other_emails: z.array(z.string()).describe(\"Updated additional email addresses\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields object. Note: If contact has required custom fields (e.g., employee_id), they must be included in updates to avoid validation errors.\").optional(),\n view_all_tickets: z.boolean().describe(\"Set to true if the contact can view all tickets from their company\").optional(),\n unique_external_id: z.string().describe(\"Updated external ID for integration purposes\").optional(),\n});\nconst FreshdeskUpdateContact_ContactAvatarSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the avatar attachment\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Filename of the avatar image\").optional()),\n size: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"File size in bytes\").optional()),\n avatar_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Signed URL to download the avatar image\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"When the avatar was uploaded (ISO 8601)\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"When the avatar was last updated (ISO 8601)\").optional()),\n content_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"MIME type of the image (e.g., 'image/jpeg')\").optional()),\n}).describe(\"Profile picture/avatar details for a contact.\");\nconst FreshdeskUpdateContact_OtherCompanySchema = z.object({\n company_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the associated company\").optional()),\n view_all_tickets: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether contact can view all tickets for this company\").optional()),\n}).describe(\"Details of another company associated with a contact.\");\nexport const FreshdeskUpdateContactOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the contact\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Full name of the contact\").optional()),\n tags: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Tags associated with the contact\").optional()),\n email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Primary email address of the contact\").optional()),\n phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Phone number of the contact\").optional()),\n active: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the contact is active\").optional()),\n avatar: z.preprocess((value) => (value === null ? undefined : value), FreshdeskUpdateContact_ContactAvatarSchema.optional()),\n mobile: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile number of the contact\").optional()),\n address: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Physical address of the contact\").optional()),\n deleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the contact has been deleted\").optional()),\n devices: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Devices associated with the contact\").optional()),\n language: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Preferred language code (e.g., 'en')\").optional()),\n job_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title of the contact\").optional()),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name of the contact\").optional()),\n last_seen: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the contact was last seen (ISO 8601)\").optional()),\n time_zone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')\").optional()),\n company_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the primary company associated with the contact\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"First name of the contact\").optional()),\n first_seen: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the contact was first seen (ISO 8601)\").optional()),\n twitter_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Twitter handle\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").optional()),\n visitor_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Visitor ID for tracking (UUID format)\").optional()),\n csat_rating: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"CSAT rating of the contact (1-5 scale)\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Description of the contact\").optional()),\n facebook_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Facebook ID\").optional()),\n contact_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of contact (e.g., 'contact')\").optional()),\n other_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Additional email addresses of the contact\").optional()),\n custom_fields: z.preprocess((value) => (value === null ? undefined : value), z.record(z.string(), z.unknown()).describe(\"Custom fields configured for the contact as key-value pairs\").optional()),\n org_contact_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Organization-wide contact identifier\").optional()),\n other_companies: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskUpdateContact_OtherCompanySchema).describe(\"Other companies associated with the contact\").optional()),\n preferred_source: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Preferred source of communication (e.g., 'email', 'phone', 'portal')\").optional()),\n view_all_tickets: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the contact can view all tickets from their company\").optional()),\n org_contact_id_str: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Organization-wide contact identifier as string (for large IDs)\").optional()),\n unique_external_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"External system identifier for integrations\").optional()),\n other_phone_numbers: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Additional phone numbers of the contact\").optional()),\n}).describe(\"Response from updating a contact in Freshdesk.\");\n\nexport const freshdeskUpdateContact = action(\"FRESHDESK_UPDATE_CONTACT\", {\n slug: \"freshdesk-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's information in Freshdesk. Use when you need to modify contact details such as name, email, phone, job title, or custom fields.\",\n input: FreshdeskUpdateContactInput,\n output: FreshdeskUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS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I,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;EAC1J,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EACpM,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC;EACtL,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC;EAC9K,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC;EAClL,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EAC/J,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACvK,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -6,30 +6,30 @@ const FreshdeskUpdateConversationsInput = zod.z.object({
|
|
|
6
6
|
body: zod.z.string().describe("The updated content of the note in HTML format. This parameter replaces the deprecated 'body_html' from API v1. Only public and private notes can be edited.")
|
|
7
7
|
});
|
|
8
8
|
const FreshdeskUpdateConversations_AttachmentSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Attachment ID").
|
|
10
|
-
name: zod.z.string().describe("Original filename").
|
|
11
|
-
size: zod.z.number().int().describe("File size in bytes").
|
|
12
|
-
created_at: zod.z.string().describe("When the attachment was added").
|
|
13
|
-
content_type: zod.z.string().describe("MIME type of the file").
|
|
14
|
-
attachment_url: zod.z.string().describe("URL to download the attachment").
|
|
9
|
+
id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Attachment ID").optional()),
|
|
10
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Original filename").optional()),
|
|
11
|
+
size: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("File size in bytes").optional()),
|
|
12
|
+
created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("When the attachment was added").optional()),
|
|
13
|
+
content_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("MIME type of the file").optional()),
|
|
14
|
+
attachment_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL to download the attachment").optional())
|
|
15
15
|
});
|
|
16
16
|
const FreshdeskUpdateConversationsOutput = zod.z.object({
|
|
17
|
-
id: zod.z.number().int().describe("Unique identifier of the conversation").
|
|
18
|
-
body: zod.z.string().describe("The HTML content of the conversation note").
|
|
19
|
-
source: zod.z.number().int().describe("The source from which the conversation was created").
|
|
20
|
-
private: zod.z.boolean().describe("Indicates whether the note is private (true) or public (false)").
|
|
21
|
-
user_id: zod.z.number().int().describe("The ID of the user who created/owns the conversation").
|
|
22
|
-
incoming: zod.z.boolean().describe("Indicates whether this is an incoming reply (true) or an internal note (false)").
|
|
23
|
-
body_text: zod.z.string().describe("The plain text version of the conversation body (without HTML formatting)").
|
|
24
|
-
cc_emails: zod.z.array(zod.z.string()).describe("List of CC email addresses").
|
|
25
|
-
ticket_id: zod.z.number().int().describe("The ID of the ticket this conversation belongs to").
|
|
26
|
-
to_emails: zod.z.array(zod.z.string()).describe("List of recipient email addresses").
|
|
27
|
-
bcc_emails: zod.z.array(zod.z.string()).describe("List of BCC email addresses").
|
|
28
|
-
created_at: zod.z.string().describe("Timestamp when the conversation was created (ISO 8601 format)").
|
|
29
|
-
from_email: zod.z.string().describe("Email address of the sender").
|
|
30
|
-
updated_at: zod.z.string().describe("Timestamp when the conversation was last updated (ISO 8601 format)").
|
|
31
|
-
attachments: zod.z.array(FreshdeskUpdateConversations_AttachmentSchema).describe("Array of attachment objects associated with the conversation").
|
|
32
|
-
support_email: zod.z.string().describe("The support email address used").
|
|
17
|
+
id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the conversation").optional()),
|
|
18
|
+
body: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The HTML content of the conversation note").optional()),
|
|
19
|
+
source: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The source from which the conversation was created").optional()),
|
|
20
|
+
private: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether the note is private (true) or public (false)").optional()),
|
|
21
|
+
user_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The ID of the user who created/owns the conversation").optional()),
|
|
22
|
+
incoming: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Indicates whether this is an incoming reply (true) or an internal note (false)").optional()),
|
|
23
|
+
body_text: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The plain text version of the conversation body (without HTML formatting)").optional()),
|
|
24
|
+
cc_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of CC email addresses").optional()),
|
|
25
|
+
ticket_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("The ID of the ticket this conversation belongs to").optional()),
|
|
26
|
+
to_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of recipient email addresses").optional()),
|
|
27
|
+
bcc_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of BCC email addresses").optional()),
|
|
28
|
+
created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the conversation was created (ISO 8601 format)").optional()),
|
|
29
|
+
from_email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Email address of the sender").optional()),
|
|
30
|
+
updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the conversation was last updated (ISO 8601 format)").optional()),
|
|
31
|
+
attachments: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FreshdeskUpdateConversations_AttachmentSchema).describe("Array of attachment objects associated with the conversation").optional()),
|
|
32
|
+
support_email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The support email address used").optional())
|
|
33
33
|
});
|
|
34
34
|
const freshdeskUpdateConversations = require_action.action("FRESHDESK_UPDATE_CONVERSATIONS", {
|
|
35
35
|
slug: "freshdesk-update-conversations",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-conversations.cjs","names":["z","action"],"sources":["../../src/actions/update-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateConversationsInput
|
|
1
|
+
{"version":3,"file":"update-conversations.cjs","names":["z","action"],"sources":["../../src/actions/update-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskUpdateConversationsInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the conversation to update\"),\n body: z.string().describe(\"The updated content of the note in HTML format. This parameter replaces the deprecated 'body_html' from API v1. Only public and private notes can be edited.\"),\n});\nconst FreshdeskUpdateConversations_AttachmentSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Attachment ID\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Original filename\").optional()),\n size: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"File size in bytes\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"When the attachment was added\").optional()),\n content_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"MIME type of the file\").optional()),\n attachment_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to download the attachment\").optional()),\n});\nexport const FreshdeskUpdateConversationsOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Unique identifier of the conversation\").optional()),\n body: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The HTML content of the conversation note\").optional()),\n source: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The source from which the conversation was created\").optional()),\n private: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether the note is private (true) or public (false)\").optional()),\n user_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The ID of the user who created/owns the conversation\").optional()),\n incoming: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Indicates whether this is an incoming reply (true) or an internal note (false)\").optional()),\n body_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The plain text version of the conversation body (without HTML formatting)\").optional()),\n cc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of CC email addresses\").optional()),\n ticket_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"The ID of the ticket this conversation belongs to\").optional()),\n to_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of recipient email addresses\").optional()),\n bcc_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of BCC email addresses\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the conversation was created (ISO 8601 format)\").optional()),\n from_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Email address of the sender\").optional()),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the conversation was last updated (ISO 8601 format)\").optional()),\n attachments: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskUpdateConversations_AttachmentSchema).describe(\"Array of attachment objects associated with the conversation\").optional()),\n support_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The support email address used\").optional()),\n});\n\nexport const freshdeskUpdateConversations = action(\"FRESHDESK_UPDATE_CONVERSATIONS\", {\n slug: \"freshdesk-update-conversations\",\n name: \"Update Conversation\",\n description: \"Tool to update the content of a conversation note in Freshdesk. Use when you need to modify existing public or private notes. Note: Only public and private notes can be edited, not incoming replies. The 'private' parameter cannot be modified.\",\n input: FreshdeskUpdateConversationsInput,\n output: FreshdeskUpdateConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;AAC1L,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC;CACvH,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC;CACvH,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC;CAC9H,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CACzI,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC;CACnI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