@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
|
@@ -3,57 +3,57 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-contact.ts
|
|
4
4
|
const FreshdeskGetContactInput = zod.z.object({ contact_id: zod.z.number().int().describe("The unique identifier of the contact to retrieve") });
|
|
5
5
|
const FreshdeskGetContact_ContactAvatarSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the avatar attachment").
|
|
7
|
-
name: zod.z.string().describe("Filename of the avatar image").
|
|
8
|
-
size: zod.z.number().int().describe("File size in bytes").
|
|
9
|
-
avatar_url: zod.z.string().describe("Signed URL to download the avatar image").
|
|
10
|
-
created_at: zod.z.string().describe("When the avatar was uploaded (ISO 8601)").
|
|
11
|
-
updated_at: zod.z.string().describe("When the avatar was last updated (ISO 8601)").
|
|
12
|
-
content_type: zod.z.string().describe("MIME type of the image (e.g., 'image/jpeg')").
|
|
6
|
+
id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the avatar attachment").optional()),
|
|
7
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Filename of the avatar image").optional()),
|
|
8
|
+
size: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("File size in bytes").optional()),
|
|
9
|
+
avatar_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Signed URL to download the avatar image").optional()),
|
|
10
|
+
created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("When the avatar was uploaded (ISO 8601)").optional()),
|
|
11
|
+
updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("When the avatar was last updated (ISO 8601)").optional()),
|
|
12
|
+
content_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("MIME type of the image (e.g., 'image/jpeg')").optional())
|
|
13
13
|
}).describe("Profile picture/avatar details for a contact.");
|
|
14
14
|
const FreshdeskGetContact_OtherCompanySchema = zod.z.object({
|
|
15
|
-
company_id: zod.z.number().int().describe("ID of the associated company").
|
|
16
|
-
view_all_tickets: zod.z.boolean().describe("Whether contact can view all tickets for this company").
|
|
15
|
+
company_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the associated company").optional()),
|
|
16
|
+
view_all_tickets: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether contact can view all tickets for this company").optional())
|
|
17
17
|
}).describe("Details of another company associated with a contact.");
|
|
18
18
|
const FreshdeskGetContactOutput = zod.z.object({
|
|
19
|
-
id: zod.z.number().int().describe("Unique identifier of the contact").
|
|
20
|
-
name: zod.z.string().describe("Full name of the contact").
|
|
21
|
-
tags: zod.z.array(zod.z.string()).describe("Tags associated with the contact").
|
|
22
|
-
email: zod.z.string().describe("Primary email address of the contact").
|
|
23
|
-
phone: zod.z.string().describe("Phone number of the contact").
|
|
24
|
-
active: zod.z.boolean().describe("Whether the contact is active").
|
|
25
|
-
avatar:
|
|
26
|
-
mobile: zod.z.string().describe("Mobile number of the contact").
|
|
27
|
-
address: zod.z.string().describe("Physical address of the contact").
|
|
28
|
-
devices: zod.z.array(zod.z.string()).describe("Devices associated with the contact").
|
|
29
|
-
language: zod.z.string().describe("Preferred language code (e.g., 'en')").
|
|
30
|
-
job_title: zod.z.string().describe("Job title of the contact").
|
|
31
|
-
last_name: zod.z.string().describe("Last name of the contact").
|
|
32
|
-
last_seen: zod.z.string().describe("Timestamp when the contact was last seen (ISO 8601)").
|
|
33
|
-
time_zone: zod.z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").
|
|
34
|
-
company_id: zod.z.number().int().describe("ID of the primary company associated with the contact").
|
|
35
|
-
created_at: zod.z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").
|
|
36
|
-
first_name: zod.z.string().describe("First name of the contact").
|
|
37
|
-
first_seen: zod.z.string().describe("Timestamp when the contact was first seen (ISO 8601)").
|
|
38
|
-
guest_name: zod.z.string().describe("Guest name if the contact is a guest").
|
|
39
|
-
twitter_id: zod.z.string().describe("Twitter handle").
|
|
40
|
-
updated_at: zod.z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").
|
|
41
|
-
visitor_id: zod.z.string().describe("Visitor ID for tracking (UUID format)").
|
|
42
|
-
csat_rating: zod.z.number().int().describe("CSAT rating of the contact (1-5 scale)").
|
|
43
|
-
description: zod.z.string().describe("Description of the contact").
|
|
44
|
-
facebook_id: zod.z.string().describe("Facebook ID").
|
|
45
|
-
contact_type: zod.z.string().describe("Type of contact (e.g., 'contact')").
|
|
46
|
-
other_emails: zod.z.array(zod.z.string()).describe("Additional email addresses of the contact").
|
|
47
|
-
custom_fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields configured for the contact as key-value pairs").
|
|
48
|
-
org_contact_id: zod.z.number().int().describe("Organization-wide contact identifier").
|
|
49
|
-
social_handler: zod.z.array(zod.z.string()).describe("Social media handlers for the contact").
|
|
50
|
-
other_companies: zod.z.array(FreshdeskGetContact_OtherCompanySchema).describe("Other companies associated with the contact").
|
|
51
|
-
preferred_source: zod.z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").
|
|
52
|
-
view_all_tickets: zod.z.boolean().describe("Whether the contact can view all tickets from their company").
|
|
53
|
-
guest_profile_pic: zod.z.string().describe("URL of the guest profile picture").
|
|
54
|
-
org_contact_id_str: zod.z.string().describe("Organization-wide contact identifier as string (for large IDs)").
|
|
55
|
-
unique_external_id: zod.z.string().describe("External system identifier for integrations").
|
|
56
|
-
other_phone_numbers: zod.z.array(zod.z.string()).describe("Additional phone numbers of the contact").
|
|
19
|
+
id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Unique identifier of the contact").optional()),
|
|
20
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Full name of the contact").optional()),
|
|
21
|
+
tags: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Tags associated with the contact").optional()),
|
|
22
|
+
email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Primary email address of the contact").optional()),
|
|
23
|
+
phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Phone number of the contact").optional()),
|
|
24
|
+
active: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the contact is active").optional()),
|
|
25
|
+
avatar: zod.z.preprocess((value) => value === null ? void 0 : value, FreshdeskGetContact_ContactAvatarSchema.optional()),
|
|
26
|
+
mobile: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mobile number of the contact").optional()),
|
|
27
|
+
address: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Physical address of the contact").optional()),
|
|
28
|
+
devices: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Devices associated with the contact").optional()),
|
|
29
|
+
language: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Preferred language code (e.g., 'en')").optional()),
|
|
30
|
+
job_title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Job title of the contact").optional()),
|
|
31
|
+
last_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Last name of the contact").optional()),
|
|
32
|
+
last_seen: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the contact was last seen (ISO 8601)").optional()),
|
|
33
|
+
time_zone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").optional()),
|
|
34
|
+
company_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("ID of the primary company associated with the contact").optional()),
|
|
35
|
+
created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
|
|
36
|
+
first_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("First name of the contact").optional()),
|
|
37
|
+
first_seen: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the contact was first seen (ISO 8601)").optional()),
|
|
38
|
+
guest_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Guest name if the contact is a guest").optional()),
|
|
39
|
+
twitter_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Twitter handle").optional()),
|
|
40
|
+
updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").optional()),
|
|
41
|
+
visitor_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Visitor ID for tracking (UUID format)").optional()),
|
|
42
|
+
csat_rating: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("CSAT rating of the contact (1-5 scale)").optional()),
|
|
43
|
+
description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Description of the contact").optional()),
|
|
44
|
+
facebook_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Facebook ID").optional()),
|
|
45
|
+
contact_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Type of contact (e.g., 'contact')").optional()),
|
|
46
|
+
other_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Additional email addresses of the contact").optional()),
|
|
47
|
+
custom_fields: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields configured for the contact as key-value pairs").optional()),
|
|
48
|
+
org_contact_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Organization-wide contact identifier").optional()),
|
|
49
|
+
social_handler: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Social media handlers for the contact").optional()),
|
|
50
|
+
other_companies: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FreshdeskGetContact_OtherCompanySchema).describe("Other companies associated with the contact").optional()),
|
|
51
|
+
preferred_source: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").optional()),
|
|
52
|
+
view_all_tickets: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the contact can view all tickets from their company").optional()),
|
|
53
|
+
guest_profile_pic: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL of the guest profile picture").optional()),
|
|
54
|
+
org_contact_id_str: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Organization-wide contact identifier as string (for large IDs)").optional()),
|
|
55
|
+
unique_external_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("External system identifier for integrations").optional()),
|
|
56
|
+
other_phone_numbers: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Additional phone numbers of the contact").optional())
|
|
57
57
|
}).describe("Detailed contact information from Freshdesk.");
|
|
58
58
|
const freshdeskGetContact = require_action.action("FRESHDESK_GET_CONTACT", {
|
|
59
59
|
slug: "freshdesk-get-contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskGetContactInput: z.ZodTypeAny = z.object({\n contact_id: z.number().int().describe(\"The unique identifier of the contact to retrieve\"),\n});\nconst FreshdeskGetContact_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 FreshdeskGetContact_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 FreshdeskGetContactOutput: 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: FreshdeskGetContact_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 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 guest_name: z.string().describe(\"Guest name if the contact is a guest\").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 social_handler: z.array(z.string()).describe(\"Social media handlers for the contact\").nullable().optional(),\n other_companies: z.array(FreshdeskGetContact_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 guest_profile_pic: z.string().describe(\"URL of the guest profile picture\").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(\"Detailed contact information from Freshdesk.\");\n\nexport const freshdeskGetContact = action(\"FRESHDESK_GET_CONTACT\", {\n slug: \"freshdesk-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve detailed information about a specific contact by ID. Use when you need to view a particular contact's profile, contact information, and custom fields.\",\n input: FreshdeskGetContactInput,\n output: FreshdeskGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC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yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskGetContactInput = z.object({\n contact_id: z.number().int().describe(\"The unique identifier of the contact to retrieve\"),\n});\nconst FreshdeskGetContact_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 FreshdeskGetContact_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 FreshdeskGetContactOutput = 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), FreshdeskGetContact_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 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 guest_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Guest name if the contact is a guest\").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 social_handler: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Social media handlers for the contact\").optional()),\n other_companies: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskGetContact_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 guest_profile_pic: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the guest profile picture\").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(\"Detailed contact information from Freshdesk.\");\n\nexport const freshdeskGetContact = action(\"FRESHDESK_GET_CONTACT\", {\n slug: \"freshdesk-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve detailed information about a specific contact by ID. Use when you need to view a particular contact's profile, contact information, and custom fields.\",\n input: FreshdeskGetContactInput,\n output: FreshdeskGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC;AACD,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC;CACpJ,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC;CAClI,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,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACnJ,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CACnJ,YAAYA,IAAAA,EAAE,YAAY,U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;AACV,CAAC"}
|
|
@@ -1,9 +1,113 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const FreshdeskGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FreshdeskGetContactInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const FreshdeskGetContactOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
9
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
13
|
+
active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
avatar: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
15
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
size: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
18
|
+
avatar_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
content_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
devices: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
26
|
+
language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
last_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
31
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
first_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
guest_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
visitor_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
csat_rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
40
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
facebook_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
contact_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
43
|
+
other_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
44
|
+
custom_fields: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
org_contact_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
46
|
+
social_handler: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
47
|
+
other_companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
49
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
50
|
+
}, z.core.$strip>>>>;
|
|
51
|
+
preferred_source: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
53
|
+
guest_profile_pic: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
org_contact_id_str: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
unique_external_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
other_phone_numbers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
declare const freshdeskGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
|
+
contact_id: number;
|
|
60
|
+
}, {
|
|
61
|
+
id?: number | undefined;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
tags?: string[] | undefined;
|
|
64
|
+
email?: string | undefined;
|
|
65
|
+
phone?: string | undefined;
|
|
66
|
+
active?: boolean | undefined;
|
|
67
|
+
avatar?: {
|
|
68
|
+
id?: number | undefined;
|
|
69
|
+
name?: string | undefined;
|
|
70
|
+
size?: number | undefined;
|
|
71
|
+
avatar_url?: string | undefined;
|
|
72
|
+
created_at?: string | undefined;
|
|
73
|
+
updated_at?: string | undefined;
|
|
74
|
+
content_type?: string | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
mobile?: string | undefined;
|
|
77
|
+
address?: string | undefined;
|
|
78
|
+
devices?: string[] | undefined;
|
|
79
|
+
language?: string | undefined;
|
|
80
|
+
job_title?: string | undefined;
|
|
81
|
+
last_name?: string | undefined;
|
|
82
|
+
last_seen?: string | undefined;
|
|
83
|
+
time_zone?: string | undefined;
|
|
84
|
+
company_id?: number | undefined;
|
|
85
|
+
created_at?: string | undefined;
|
|
86
|
+
first_name?: string | undefined;
|
|
87
|
+
first_seen?: string | undefined;
|
|
88
|
+
guest_name?: string | undefined;
|
|
89
|
+
twitter_id?: string | undefined;
|
|
90
|
+
updated_at?: string | undefined;
|
|
91
|
+
visitor_id?: string | undefined;
|
|
92
|
+
csat_rating?: number | undefined;
|
|
93
|
+
description?: string | undefined;
|
|
94
|
+
facebook_id?: string | undefined;
|
|
95
|
+
contact_type?: string | undefined;
|
|
96
|
+
other_emails?: string[] | undefined;
|
|
97
|
+
custom_fields?: Record<string, unknown> | undefined;
|
|
98
|
+
org_contact_id?: number | undefined;
|
|
99
|
+
social_handler?: string[] | undefined;
|
|
100
|
+
other_companies?: {
|
|
101
|
+
company_id?: number | undefined;
|
|
102
|
+
view_all_tickets?: boolean | undefined;
|
|
103
|
+
}[] | undefined;
|
|
104
|
+
preferred_source?: string | undefined;
|
|
105
|
+
view_all_tickets?: boolean | undefined;
|
|
106
|
+
guest_profile_pic?: string | undefined;
|
|
107
|
+
org_contact_id_str?: string | undefined;
|
|
108
|
+
unique_external_id?: string | undefined;
|
|
109
|
+
other_phone_numbers?: string[] | undefined;
|
|
110
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
111
|
//#endregion
|
|
8
112
|
export { freshdeskGetContact };
|
|
9
113
|
//# sourceMappingURL=get-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,mBAAA,gCAAmB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAM9B,MAAA"}
|
|
@@ -1,9 +1,113 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-contact.d.ts
|
|
4
|
-
declare const FreshdeskGetContactInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FreshdeskGetContactInput: z.ZodObject<{
|
|
5
|
+
contact_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const FreshdeskGetContactOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
9
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
10
|
+
tags: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
13
|
+
active: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
avatar: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
15
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
size: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
18
|
+
avatar_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
content_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
mobile: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
address: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
devices: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
26
|
+
language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
job_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
last_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
time_zone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
31
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
first_seen: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
guest_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
twitter_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
updated_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
visitor_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
csat_rating: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
40
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
facebook_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
contact_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
43
|
+
other_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
44
|
+
custom_fields: z.ZodPreprocess<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
org_contact_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
46
|
+
social_handler: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
47
|
+
other_companies: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
+
company_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
49
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
50
|
+
}, z.core.$strip>>>>;
|
|
51
|
+
preferred_source: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
view_all_tickets: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
53
|
+
guest_profile_pic: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
org_contact_id_str: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
unique_external_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
other_phone_numbers: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
declare const freshdeskGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
|
+
contact_id: number;
|
|
60
|
+
}, {
|
|
61
|
+
id?: number | undefined;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
tags?: string[] | undefined;
|
|
64
|
+
email?: string | undefined;
|
|
65
|
+
phone?: string | undefined;
|
|
66
|
+
active?: boolean | undefined;
|
|
67
|
+
avatar?: {
|
|
68
|
+
id?: number | undefined;
|
|
69
|
+
name?: string | undefined;
|
|
70
|
+
size?: number | undefined;
|
|
71
|
+
avatar_url?: string | undefined;
|
|
72
|
+
created_at?: string | undefined;
|
|
73
|
+
updated_at?: string | undefined;
|
|
74
|
+
content_type?: string | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
mobile?: string | undefined;
|
|
77
|
+
address?: string | undefined;
|
|
78
|
+
devices?: string[] | undefined;
|
|
79
|
+
language?: string | undefined;
|
|
80
|
+
job_title?: string | undefined;
|
|
81
|
+
last_name?: string | undefined;
|
|
82
|
+
last_seen?: string | undefined;
|
|
83
|
+
time_zone?: string | undefined;
|
|
84
|
+
company_id?: number | undefined;
|
|
85
|
+
created_at?: string | undefined;
|
|
86
|
+
first_name?: string | undefined;
|
|
87
|
+
first_seen?: string | undefined;
|
|
88
|
+
guest_name?: string | undefined;
|
|
89
|
+
twitter_id?: string | undefined;
|
|
90
|
+
updated_at?: string | undefined;
|
|
91
|
+
visitor_id?: string | undefined;
|
|
92
|
+
csat_rating?: number | undefined;
|
|
93
|
+
description?: string | undefined;
|
|
94
|
+
facebook_id?: string | undefined;
|
|
95
|
+
contact_type?: string | undefined;
|
|
96
|
+
other_emails?: string[] | undefined;
|
|
97
|
+
custom_fields?: Record<string, unknown> | undefined;
|
|
98
|
+
org_contact_id?: number | undefined;
|
|
99
|
+
social_handler?: string[] | undefined;
|
|
100
|
+
other_companies?: {
|
|
101
|
+
company_id?: number | undefined;
|
|
102
|
+
view_all_tickets?: boolean | undefined;
|
|
103
|
+
}[] | undefined;
|
|
104
|
+
preferred_source?: string | undefined;
|
|
105
|
+
view_all_tickets?: boolean | undefined;
|
|
106
|
+
guest_profile_pic?: string | undefined;
|
|
107
|
+
org_contact_id_str?: string | undefined;
|
|
108
|
+
unique_external_id?: string | undefined;
|
|
109
|
+
other_phone_numbers?: string[] | undefined;
|
|
110
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
111
|
//#endregion
|
|
8
112
|
export { freshdeskGetContact };
|
|
9
113
|
//# sourceMappingURL=get-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,mBAAA,gCAAmB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAM9B,MAAA"}
|
|
@@ -3,17 +3,17 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-contact.ts
|
|
4
4
|
const FreshdeskGetContactInput = z.object({ contact_id: z.number().int().describe("The unique identifier of the contact to retrieve") });
|
|
5
5
|
const FreshdeskGetContact_ContactAvatarSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier of the avatar attachment").
|
|
7
|
-
name: z.string().describe("Filename of the avatar image").
|
|
8
|
-
size: z.number().int().describe("File size in bytes").
|
|
9
|
-
avatar_url: z.string().describe("Signed URL to download the avatar image").
|
|
10
|
-
created_at: z.string().describe("When the avatar was uploaded (ISO 8601)").
|
|
11
|
-
updated_at: z.string().describe("When the avatar was last updated (ISO 8601)").
|
|
12
|
-
content_type: z.string().describe("MIME type of the image (e.g., 'image/jpeg')").
|
|
6
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the avatar attachment").optional()),
|
|
7
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Filename of the avatar image").optional()),
|
|
8
|
+
size: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("File size in bytes").optional()),
|
|
9
|
+
avatar_url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Signed URL to download the avatar image").optional()),
|
|
10
|
+
created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("When the avatar was uploaded (ISO 8601)").optional()),
|
|
11
|
+
updated_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("When the avatar was last updated (ISO 8601)").optional()),
|
|
12
|
+
content_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("MIME type of the image (e.g., 'image/jpeg')").optional())
|
|
13
13
|
}).describe("Profile picture/avatar details for a contact.");
|
|
14
14
|
const FreshdeskGetContact_OtherCompanySchema = z.object({
|
|
15
|
-
company_id: z.number().int().describe("ID of the associated company").
|
|
16
|
-
view_all_tickets: z.boolean().describe("Whether contact can view all tickets for this company").
|
|
15
|
+
company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the associated company").optional()),
|
|
16
|
+
view_all_tickets: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether contact can view all tickets for this company").optional())
|
|
17
17
|
}).describe("Details of another company associated with a contact.");
|
|
18
18
|
const freshdeskGetContact = action("FRESHDESK_GET_CONTACT", {
|
|
19
19
|
slug: "freshdesk-get-contact",
|
|
@@ -21,44 +21,44 @@ const freshdeskGetContact = action("FRESHDESK_GET_CONTACT", {
|
|
|
21
21
|
description: "Tool to retrieve detailed information about a specific contact by ID. Use when you need to view a particular contact's profile, contact information, and custom fields.",
|
|
22
22
|
input: FreshdeskGetContactInput,
|
|
23
23
|
output: z.object({
|
|
24
|
-
id: z.number().int().describe("Unique identifier of the contact").
|
|
25
|
-
name: z.string().describe("Full name of the contact").
|
|
26
|
-
tags: z.array(z.string()).describe("Tags associated with the contact").
|
|
27
|
-
email: z.string().describe("Primary email address of the contact").
|
|
28
|
-
phone: z.string().describe("Phone number of the contact").
|
|
29
|
-
active: z.boolean().describe("Whether the contact is active").
|
|
30
|
-
avatar:
|
|
31
|
-
mobile: z.string().describe("Mobile number of the contact").
|
|
32
|
-
address: z.string().describe("Physical address of the contact").
|
|
33
|
-
devices: z.array(z.string()).describe("Devices associated with the contact").
|
|
34
|
-
language: z.string().describe("Preferred language code (e.g., 'en')").
|
|
35
|
-
job_title: z.string().describe("Job title of the contact").
|
|
36
|
-
last_name: z.string().describe("Last name of the contact").
|
|
37
|
-
last_seen: z.string().describe("Timestamp when the contact was last seen (ISO 8601)").
|
|
38
|
-
time_zone: z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").
|
|
39
|
-
company_id: z.number().int().describe("ID of the primary company associated with the contact").
|
|
40
|
-
created_at: z.string().describe("Timestamp when the contact was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").
|
|
41
|
-
first_name: z.string().describe("First name of the contact").
|
|
42
|
-
first_seen: z.string().describe("Timestamp when the contact was first seen (ISO 8601)").
|
|
43
|
-
guest_name: z.string().describe("Guest name if the contact is a guest").
|
|
44
|
-
twitter_id: z.string().describe("Twitter handle").
|
|
45
|
-
updated_at: z.string().describe("Timestamp when the contact was last updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)").
|
|
46
|
-
visitor_id: z.string().describe("Visitor ID for tracking (UUID format)").
|
|
47
|
-
csat_rating: z.number().int().describe("CSAT rating of the contact (1-5 scale)").
|
|
48
|
-
description: z.string().describe("Description of the contact").
|
|
49
|
-
facebook_id: z.string().describe("Facebook ID").
|
|
50
|
-
contact_type: z.string().describe("Type of contact (e.g., 'contact')").
|
|
51
|
-
other_emails: z.array(z.string()).describe("Additional email addresses of the contact").
|
|
52
|
-
custom_fields: z.record(z.string(), z.unknown()).describe("Custom fields configured for the contact as key-value pairs").
|
|
53
|
-
org_contact_id: z.number().int().describe("Organization-wide contact identifier").
|
|
54
|
-
social_handler: z.array(z.string()).describe("Social media handlers for the contact").
|
|
55
|
-
other_companies: z.array(FreshdeskGetContact_OtherCompanySchema).describe("Other companies associated with the contact").
|
|
56
|
-
preferred_source: z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").
|
|
57
|
-
view_all_tickets: z.boolean().describe("Whether the contact can view all tickets from their company").
|
|
58
|
-
guest_profile_pic: z.string().describe("URL of the guest profile picture").
|
|
59
|
-
org_contact_id_str: z.string().describe("Organization-wide contact identifier as string (for large IDs)").
|
|
60
|
-
unique_external_id: z.string().describe("External system identifier for integrations").
|
|
61
|
-
other_phone_numbers: z.array(z.string()).describe("Additional phone numbers of the contact").
|
|
24
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Unique identifier of the contact").optional()),
|
|
25
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Full name of the contact").optional()),
|
|
26
|
+
tags: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Tags associated with the contact").optional()),
|
|
27
|
+
email: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Primary email address of the contact").optional()),
|
|
28
|
+
phone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Phone number of the contact").optional()),
|
|
29
|
+
active: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the contact is active").optional()),
|
|
30
|
+
avatar: z.preprocess((value) => value === null ? void 0 : value, FreshdeskGetContact_ContactAvatarSchema.optional()),
|
|
31
|
+
mobile: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile number of the contact").optional()),
|
|
32
|
+
address: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Physical address of the contact").optional()),
|
|
33
|
+
devices: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Devices associated with the contact").optional()),
|
|
34
|
+
language: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Preferred language code (e.g., 'en')").optional()),
|
|
35
|
+
job_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Job title of the contact").optional()),
|
|
36
|
+
last_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last name of the contact").optional()),
|
|
37
|
+
last_seen: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was last seen (ISO 8601)").optional()),
|
|
38
|
+
time_zone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Time zone setting (e.g., 'Chennai', 'Pacific Time (US & Canada)')").optional()),
|
|
39
|
+
company_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the primary company associated with the contact").optional()),
|
|
40
|
+
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()),
|
|
41
|
+
first_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("First name of the contact").optional()),
|
|
42
|
+
first_seen: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timestamp when the contact was first seen (ISO 8601)").optional()),
|
|
43
|
+
guest_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Guest name if the contact is a guest").optional()),
|
|
44
|
+
twitter_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Twitter handle").optional()),
|
|
45
|
+
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()),
|
|
46
|
+
visitor_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Visitor ID for tracking (UUID format)").optional()),
|
|
47
|
+
csat_rating: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("CSAT rating of the contact (1-5 scale)").optional()),
|
|
48
|
+
description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Description of the contact").optional()),
|
|
49
|
+
facebook_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Facebook ID").optional()),
|
|
50
|
+
contact_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of contact (e.g., 'contact')").optional()),
|
|
51
|
+
other_emails: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Additional email addresses of the contact").optional()),
|
|
52
|
+
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()),
|
|
53
|
+
org_contact_id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Organization-wide contact identifier").optional()),
|
|
54
|
+
social_handler: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Social media handlers for the contact").optional()),
|
|
55
|
+
other_companies: z.preprocess((value) => value === null ? void 0 : value, z.array(FreshdeskGetContact_OtherCompanySchema).describe("Other companies associated with the contact").optional()),
|
|
56
|
+
preferred_source: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Preferred source of communication (e.g., 'email', 'phone', 'portal')").optional()),
|
|
57
|
+
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()),
|
|
58
|
+
guest_profile_pic: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL of the guest profile picture").optional()),
|
|
59
|
+
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()),
|
|
60
|
+
unique_external_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("External system identifier for integrations").optional()),
|
|
61
|
+
other_phone_numbers: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Additional phone numbers of the contact").optional())
|
|
62
62
|
}).describe("Detailed contact information from Freshdesk.")
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskGetContactInput: z.ZodTypeAny = z.object({\n contact_id: z.number().int().describe(\"The unique identifier of the contact to retrieve\"),\n});\nconst FreshdeskGetContact_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 FreshdeskGetContact_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 FreshdeskGetContactOutput: 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: FreshdeskGetContact_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 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 guest_name: z.string().describe(\"Guest name if the contact is a guest\").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 social_handler: z.array(z.string()).describe(\"Social media handlers for the contact\").nullable().optional(),\n other_companies: z.array(FreshdeskGetContact_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 guest_profile_pic: z.string().describe(\"URL of the guest profile picture\").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(\"Detailed contact information from Freshdesk.\");\n\nexport const freshdeskGetContact = action(\"FRESHDESK_GET_CONTACT\", {\n slug: \"freshdesk-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve detailed information about a specific contact by ID. Use when you need to view a particular contact's profile, contact information, and custom fields.\",\n input: FreshdeskGetContactInput,\n output: FreshdeskGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,YA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AAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,iBAAiB,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,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,8CAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FreshdeskGetContactInput = z.object({\n contact_id: z.number().int().describe(\"The unique identifier of the contact to retrieve\"),\n});\nconst FreshdeskGetContact_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 FreshdeskGetContact_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 FreshdeskGetContactOutput = 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), FreshdeskGetContact_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 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 guest_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Guest name if the contact is a guest\").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 social_handler: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Social media handlers for the contact\").optional()),\n other_companies: z.preprocess((value) => (value === null ? undefined : value), z.array(FreshdeskGetContact_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 guest_profile_pic: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the guest profile picture\").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(\"Detailed contact information from Freshdesk.\");\n\nexport const freshdeskGetContact = action(\"FRESHDESK_GET_CONTACT\", {\n slug: \"freshdesk-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve detailed information about a specific contact by ID. Use when you need to view a particular contact's profile, contact information, and custom fields.\",\n input: FreshdeskGetContactInput,\n output: Fresh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