@keystrokehq/salesflare 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-account-contacts.cjs +2 -2
- package/dist/actions/add-account-contacts.cjs.map +1 -1
- package/dist/actions/add-account-contacts.d.cts +16 -3
- package/dist/actions/add-account-contacts.d.cts.map +1 -1
- package/dist/actions/add-account-contacts.d.mts +16 -3
- package/dist/actions/add-account-contacts.d.mts.map +1 -1
- package/dist/actions/add-account-contacts.mjs +2 -2
- package/dist/actions/add-account-contacts.mjs.map +1 -1
- package/dist/actions/create-account.cjs +11 -11
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +111 -3
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +111 -3
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +11 -11
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-call.cjs +3 -3
- package/dist/actions/create-call.cjs.map +1 -1
- package/dist/actions/create-call.d.cts +33 -3
- package/dist/actions/create-call.d.cts.map +1 -1
- package/dist/actions/create-call.d.mts +33 -3
- package/dist/actions/create-call.d.mts.map +1 -1
- package/dist/actions/create-call.mjs +3 -3
- package/dist/actions/create-call.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +6 -6
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +120 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +120 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +6 -6
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +2 -2
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +54 -3
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +54 -3
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +2 -2
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-internal-note.cjs +1 -1
- package/dist/actions/create-internal-note.cjs.map +1 -1
- package/dist/actions/create-internal-note.d.cts +21 -3
- package/dist/actions/create-internal-note.d.cts.map +1 -1
- package/dist/actions/create-internal-note.d.mts +21 -3
- package/dist/actions/create-internal-note.d.mts.map +1 -1
- package/dist/actions/create-internal-note.mjs +1 -1
- package/dist/actions/create-internal-note.mjs.map +1 -1
- package/dist/actions/create-meeting.cjs +1 -1
- package/dist/actions/create-meeting.cjs.map +1 -1
- package/dist/actions/create-meeting.d.cts +31 -3
- package/dist/actions/create-meeting.d.cts.map +1 -1
- package/dist/actions/create-meeting.d.mts +31 -3
- package/dist/actions/create-meeting.d.mts.map +1 -1
- package/dist/actions/create-meeting.mjs +1 -1
- package/dist/actions/create-meeting.mjs.map +1 -1
- package/dist/actions/create-opportunity.cjs +2 -2
- package/dist/actions/create-opportunity.cjs.map +1 -1
- package/dist/actions/create-opportunity.d.cts +56 -3
- package/dist/actions/create-opportunity.d.cts.map +1 -1
- package/dist/actions/create-opportunity.d.mts +56 -3
- package/dist/actions/create-opportunity.d.mts.map +1 -1
- package/dist/actions/create-opportunity.mjs +2 -2
- package/dist/actions/create-opportunity.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -1
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +9 -3
- package/dist/actions/create-tag.d.cts.map +1 -1
- package/dist/actions/create-tag.d.mts +9 -3
- package/dist/actions/create-tag.d.mts.map +1 -1
- package/dist/actions/create-tag.mjs +1 -1
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -1
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +15 -3
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +15 -3
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +1 -1
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-workflow.cjs +4 -4
- package/dist/actions/create-workflow.cjs.map +1 -1
- package/dist/actions/create-workflow.d.cts +150 -3
- package/dist/actions/create-workflow.d.cts.map +1 -1
- package/dist/actions/create-workflow.d.mts +150 -3
- package/dist/actions/create-workflow.d.mts.map +1 -1
- package/dist/actions/create-workflow.mjs +4 -4
- package/dist/actions/create-workflow.mjs.map +1 -1
- package/dist/actions/delete-account.cjs +1 -1
- package/dist/actions/delete-account.cjs.map +1 -1
- package/dist/actions/delete-account.d.cts +9 -3
- package/dist/actions/delete-account.d.cts.map +1 -1
- package/dist/actions/delete-account.d.mts +9 -3
- package/dist/actions/delete-account.d.mts.map +1 -1
- package/dist/actions/delete-account.mjs +1 -1
- package/dist/actions/delete-account.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +3 -3
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +10 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +10 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +3 -3
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +3 -3
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +16 -3
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +16 -3
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +3 -3
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-internal-note.cjs +4 -4
- package/dist/actions/delete-internal-note.cjs.map +1 -1
- package/dist/actions/delete-internal-note.d.cts +11 -3
- package/dist/actions/delete-internal-note.d.cts.map +1 -1
- package/dist/actions/delete-internal-note.d.mts +11 -3
- package/dist/actions/delete-internal-note.d.mts.map +1 -1
- package/dist/actions/delete-internal-note.mjs +4 -4
- package/dist/actions/delete-internal-note.mjs.map +1 -1
- package/dist/actions/delete-meeting.cjs +1 -1
- package/dist/actions/delete-meeting.cjs.map +1 -1
- package/dist/actions/delete-meeting.d.cts +9 -3
- package/dist/actions/delete-meeting.d.cts.map +1 -1
- package/dist/actions/delete-meeting.d.mts +9 -3
- package/dist/actions/delete-meeting.d.mts.map +1 -1
- package/dist/actions/delete-meeting.mjs +1 -1
- package/dist/actions/delete-meeting.mjs.map +1 -1
- package/dist/actions/delete-opportunity.cjs +1 -1
- package/dist/actions/delete-opportunity.cjs.map +1 -1
- package/dist/actions/delete-opportunity.d.cts +9 -3
- package/dist/actions/delete-opportunity.d.cts.map +1 -1
- package/dist/actions/delete-opportunity.d.mts +9 -3
- package/dist/actions/delete-opportunity.d.mts.map +1 -1
- package/dist/actions/delete-opportunity.mjs +1 -1
- package/dist/actions/delete-opportunity.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +9 -3
- package/dist/actions/delete-tag.d.cts.map +1 -1
- package/dist/actions/delete-tag.d.mts +9 -3
- package/dist/actions/delete-tag.d.mts.map +1 -1
- package/dist/actions/delete-tag.mjs +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -1
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +9 -3
- package/dist/actions/delete-task.d.cts.map +1 -1
- package/dist/actions/delete-task.d.mts +9 -3
- package/dist/actions/delete-task.d.mts.map +1 -1
- package/dist/actions/delete-task.mjs +1 -1
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/get-account.cjs +9 -9
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +72 -3
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +72 -3
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +9 -9
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-ai-settings.cjs +3 -3
- package/dist/actions/get-ai-settings.cjs.map +1 -1
- package/dist/actions/get-ai-settings.d.cts +13 -3
- package/dist/actions/get-ai-settings.d.cts.map +1 -1
- package/dist/actions/get-ai-settings.d.mts +13 -3
- package/dist/actions/get-ai-settings.d.mts.map +1 -1
- package/dist/actions/get-ai-settings.mjs +3 -3
- package/dist/actions/get-ai-settings.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +12 -12
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +98 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +98 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +12 -12
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +20 -20
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +156 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +156 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +20 -20
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +3 -3
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +41 -3
- package/dist/actions/get-custom-field.d.cts.map +1 -1
- package/dist/actions/get-custom-field.d.mts +41 -3
- package/dist/actions/get-custom-field.d.mts.map +1 -1
- package/dist/actions/get-custom-field.mjs +3 -3
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-meeting.cjs +2 -2
- package/dist/actions/get-meeting.cjs.map +1 -1
- package/dist/actions/get-meeting.d.cts +22 -3
- package/dist/actions/get-meeting.d.cts.map +1 -1
- package/dist/actions/get-meeting.d.mts +22 -3
- package/dist/actions/get-meeting.d.mts.map +1 -1
- package/dist/actions/get-meeting.mjs +2 -2
- package/dist/actions/get-meeting.mjs.map +1 -1
- package/dist/actions/get-opportunity.cjs +25 -25
- package/dist/actions/get-opportunity.cjs.map +1 -1
- package/dist/actions/get-opportunity.d.cts +100 -3
- package/dist/actions/get-opportunity.d.cts.map +1 -1
- package/dist/actions/get-opportunity.d.mts +100 -3
- package/dist/actions/get-opportunity.d.mts.map +1 -1
- package/dist/actions/get-opportunity.mjs +25 -25
- package/dist/actions/get-opportunity.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +3 -3
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +21 -3
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +21 -3
- package/dist/actions/get-stage.d.mts.map +1 -1
- package/dist/actions/get-stage.mjs +3 -3
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-tag-usage.cjs +4 -4
- package/dist/actions/get-tag-usage.cjs.map +1 -1
- package/dist/actions/get-tag-usage.d.cts +23 -3
- package/dist/actions/get-tag-usage.d.cts.map +1 -1
- package/dist/actions/get-tag-usage.d.mts +23 -3
- package/dist/actions/get-tag-usage.d.mts.map +1 -1
- package/dist/actions/get-tag-usage.mjs +4 -4
- package/dist/actions/get-tag-usage.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +64 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +64 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.cjs +3 -3
- package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.d.cts +14 -3
- package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -1
- package/dist/actions/get-workflow-merge-fields.d.mts +14 -3
- package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -1
- package/dist/actions/get-workflow-merge-fields.mjs +3 -3
- package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
- package/dist/actions/get-workflow.cjs +11 -11
- package/dist/actions/get-workflow.cjs.map +1 -1
- package/dist/actions/get-workflow.d.cts +140 -3
- package/dist/actions/get-workflow.d.cts.map +1 -1
- package/dist/actions/get-workflow.d.mts +140 -3
- package/dist/actions/get-workflow.d.mts.map +1 -1
- package/dist/actions/get-workflow.mjs +11 -11
- package/dist/actions/get-workflow.mjs.map +1 -1
- package/dist/actions/list-account-messages.cjs +3 -3
- package/dist/actions/list-account-messages.cjs.map +1 -1
- package/dist/actions/list-account-messages.d.cts +35 -3
- package/dist/actions/list-account-messages.d.cts.map +1 -1
- package/dist/actions/list-account-messages.d.mts +35 -3
- package/dist/actions/list-account-messages.d.mts.map +1 -1
- package/dist/actions/list-account-messages.mjs +3 -3
- package/dist/actions/list-account-messages.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +7 -7
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +84 -3
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +84 -3
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +7 -7
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +14 -14
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +137 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +137 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +14 -14
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +5 -5
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +9 -3
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +9 -3
- package/dist/actions/list-currencies.d.mts.map +1 -1
- package/dist/actions/list-currencies.mjs +5 -5
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-custom-field-options.cjs +1 -1
- package/dist/actions/list-custom-field-options.cjs.map +1 -1
- package/dist/actions/list-custom-field-options.d.cts +17 -3
- package/dist/actions/list-custom-field-options.d.cts.map +1 -1
- package/dist/actions/list-custom-field-options.d.mts +17 -3
- package/dist/actions/list-custom-field-options.d.mts.map +1 -1
- package/dist/actions/list-custom-field-options.mjs +1 -1
- package/dist/actions/list-custom-field-options.mjs.map +1 -1
- package/dist/actions/list-custom-field-types.cjs +6 -6
- package/dist/actions/list-custom-field-types.cjs.map +1 -1
- package/dist/actions/list-custom-field-types.d.cts +10 -3
- package/dist/actions/list-custom-field-types.d.cts.map +1 -1
- package/dist/actions/list-custom-field-types.d.mts +10 -3
- package/dist/actions/list-custom-field-types.d.mts.map +1 -1
- package/dist/actions/list-custom-field-types.mjs +6 -6
- package/dist/actions/list-custom-field-types.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +4 -4
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +45 -3
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +45 -3
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +4 -4
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-email-datasources.cjs +13 -13
- package/dist/actions/list-email-datasources.cjs.map +1 -1
- package/dist/actions/list-email-datasources.d.cts +45 -3
- package/dist/actions/list-email-datasources.d.cts.map +1 -1
- package/dist/actions/list-email-datasources.d.mts +45 -3
- package/dist/actions/list-email-datasources.d.mts.map +1 -1
- package/dist/actions/list-email-datasources.mjs +13 -13
- package/dist/actions/list-email-datasources.mjs.map +1 -1
- package/dist/actions/list-filter-fields.cjs +9 -9
- package/dist/actions/list-filter-fields.cjs.map +1 -1
- package/dist/actions/list-filter-fields.d.cts +116 -3
- package/dist/actions/list-filter-fields.d.cts.map +1 -1
- package/dist/actions/list-filter-fields.d.mts +116 -3
- package/dist/actions/list-filter-fields.d.mts.map +1 -1
- package/dist/actions/list-filter-fields.mjs +9 -9
- package/dist/actions/list-filter-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +2 -2
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +8 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +8 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +2 -2
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-my-contacts.cjs +15 -15
- package/dist/actions/list-my-contacts.cjs.map +1 -1
- package/dist/actions/list-my-contacts.d.cts +138 -3
- package/dist/actions/list-my-contacts.d.cts.map +1 -1
- package/dist/actions/list-my-contacts.d.mts +138 -3
- package/dist/actions/list-my-contacts.d.mts.map +1 -1
- package/dist/actions/list-my-contacts.mjs +15 -15
- package/dist/actions/list-my-contacts.mjs.map +1 -1
- package/dist/actions/list-opportunities.cjs +8 -8
- package/dist/actions/list-opportunities.cjs.map +1 -1
- package/dist/actions/list-opportunities.d.cts +130 -3
- package/dist/actions/list-opportunities.d.cts.map +1 -1
- package/dist/actions/list-opportunities.d.mts +130 -3
- package/dist/actions/list-opportunities.d.mts.map +1 -1
- package/dist/actions/list-opportunities.mjs +8 -8
- package/dist/actions/list-opportunities.mjs.map +1 -1
- package/dist/actions/list-persons.cjs +7 -7
- package/dist/actions/list-persons.cjs.map +1 -1
- package/dist/actions/list-persons.d.cts +46 -3
- package/dist/actions/list-persons.d.cts.map +1 -1
- package/dist/actions/list-persons.d.mts +46 -3
- package/dist/actions/list-persons.d.mts.map +1 -1
- package/dist/actions/list-persons.mjs +7 -7
- package/dist/actions/list-persons.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +5 -5
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +44 -3
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +44 -3
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +5 -5
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +3 -3
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +32 -3
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +32 -3
- package/dist/actions/list-stages.d.mts.map +1 -1
- package/dist/actions/list-stages.mjs +3 -3
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +2 -2
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +28 -3
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +28 -3
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +2 -2
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +8 -8
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +64 -3
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +64 -3
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +8 -8
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-users.cjs +9 -9
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +80 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +80 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +9 -9
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-workflows.cjs +14 -14
- package/dist/actions/list-workflows.cjs.map +1 -1
- package/dist/actions/list-workflows.d.cts +74 -3
- package/dist/actions/list-workflows.d.cts.map +1 -1
- package/dist/actions/list-workflows.d.mts +74 -3
- package/dist/actions/list-workflows.d.mts.map +1 -1
- package/dist/actions/list-workflows.mjs +14 -14
- package/dist/actions/list-workflows.mjs.map +1 -1
- package/dist/actions/update-account-contacts.cjs +2 -2
- package/dist/actions/update-account-contacts.cjs.map +1 -1
- package/dist/actions/update-account-contacts.d.cts +20 -3
- package/dist/actions/update-account-contacts.d.cts.map +1 -1
- package/dist/actions/update-account-contacts.d.mts +20 -3
- package/dist/actions/update-account-contacts.d.mts.map +1 -1
- package/dist/actions/update-account-contacts.mjs +2 -2
- package/dist/actions/update-account-contacts.mjs.map +1 -1
- package/dist/actions/update-account-users.cjs +2 -2
- package/dist/actions/update-account-users.cjs.map +1 -1
- package/dist/actions/update-account-users.d.cts +20 -3
- package/dist/actions/update-account-users.d.cts.map +1 -1
- package/dist/actions/update-account-users.d.mts +20 -3
- package/dist/actions/update-account-users.d.mts.map +1 -1
- package/dist/actions/update-account-users.mjs +2 -2
- package/dist/actions/update-account-users.mjs.map +1 -1
- package/dist/actions/update-account.cjs +12 -12
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +135 -3
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +135 -3
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs +12 -12
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-ai-settings.cjs +1 -1
- package/dist/actions/update-ai-settings.cjs.map +1 -1
- package/dist/actions/update-ai-settings.d.cts +25 -3
- package/dist/actions/update-ai-settings.d.cts.map +1 -1
- package/dist/actions/update-ai-settings.d.mts +25 -3
- package/dist/actions/update-ai-settings.d.mts.map +1 -1
- package/dist/actions/update-ai-settings.mjs +1 -1
- package/dist/actions/update-ai-settings.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +4 -4
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +134 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +134 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +4 -4
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +4 -4
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +77 -3
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +77 -3
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +4 -4
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-email-datasource.cjs +1 -1
- package/dist/actions/update-email-datasource.cjs.map +1 -1
- package/dist/actions/update-email-datasource.d.cts +19 -3
- package/dist/actions/update-email-datasource.d.cts.map +1 -1
- package/dist/actions/update-email-datasource.d.mts +19 -3
- package/dist/actions/update-email-datasource.d.mts.map +1 -1
- package/dist/actions/update-email-datasource.mjs +1 -1
- package/dist/actions/update-email-datasource.mjs.map +1 -1
- package/dist/actions/update-internal-note.cjs +1 -1
- package/dist/actions/update-internal-note.cjs.map +1 -1
- package/dist/actions/update-internal-note.d.cts +23 -3
- package/dist/actions/update-internal-note.d.cts.map +1 -1
- package/dist/actions/update-internal-note.d.mts +23 -3
- package/dist/actions/update-internal-note.d.mts.map +1 -1
- package/dist/actions/update-internal-note.mjs +1 -1
- package/dist/actions/update-internal-note.mjs.map +1 -1
- package/dist/actions/update-opportunity.cjs +3 -3
- package/dist/actions/update-opportunity.cjs.map +1 -1
- package/dist/actions/update-opportunity.d.cts +60 -3
- package/dist/actions/update-opportunity.d.cts.map +1 -1
- package/dist/actions/update-opportunity.d.mts +60 -3
- package/dist/actions/update-opportunity.d.mts.map +1 -1
- package/dist/actions/update-opportunity.mjs +3 -3
- package/dist/actions/update-opportunity.mjs.map +1 -1
- package/dist/actions/update-tag.cjs +1 -1
- package/dist/actions/update-tag.cjs.map +1 -1
- package/dist/actions/update-tag.d.cts +11 -3
- package/dist/actions/update-tag.d.cts.map +1 -1
- package/dist/actions/update-tag.d.mts +11 -3
- package/dist/actions/update-tag.d.mts.map +1 -1
- package/dist/actions/update-tag.mjs +1 -1
- package/dist/actions/update-tag.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -1
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +19 -3
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +19 -3
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +1 -1
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-workflow-audience.cjs +1 -1
- package/dist/actions/update-workflow-audience.cjs.map +1 -1
- package/dist/actions/update-workflow-audience.d.cts +15 -3
- package/dist/actions/update-workflow-audience.d.cts.map +1 -1
- package/dist/actions/update-workflow-audience.d.mts +15 -3
- package/dist/actions/update-workflow-audience.d.mts.map +1 -1
- package/dist/actions/update-workflow-audience.mjs +1 -1
- package/dist/actions/update-workflow-audience.mjs.map +1 -1
- package/dist/actions/update-workflow.cjs +7 -7
- package/dist/actions/update-workflow.cjs.map +1 -1
- package/dist/actions/update-workflow.d.cts +102 -3
- package/dist/actions/update-workflow.d.cts.map +1 -1
- package/dist/actions/update-workflow.d.mts +102 -3
- package/dist/actions/update-workflow.d.mts.map +1 -1
- package/dist/actions/update-workflow.mjs +7 -7
- package/dist/actions/update-workflow.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting.d.mts","names":[],"sources":["../../src/actions/get-meeting.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-meeting.d.mts","names":[],"sources":["../../src/actions/get-meeting.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAa1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -6,14 +6,14 @@ const SalesflareGetMeeting_ParticipantSchema = z.object({
|
|
|
6
6
|
id: z.number().int().describe("Unique identifier of the participant").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Name of the participant").nullable().optional(),
|
|
8
8
|
email: z.string().describe("Email address of the participant").nullable().optional()
|
|
9
|
-
}).describe("Model representing a meeting participant.");
|
|
9
|
+
}).passthrough().describe("Model representing a meeting participant.");
|
|
10
10
|
const salesflareGetMeeting = action("SALESFLARE_GET_MEETING", {
|
|
11
11
|
slug: "salesflare-get-meeting",
|
|
12
12
|
name: "Get Meeting Details",
|
|
13
13
|
description: "Tool to retrieve detailed information about a specific meeting by its ID. Use when you need to fetch meeting details such as subject, date, participants, notes, and other metadata.",
|
|
14
14
|
input: SalesflareGetMeetingInput,
|
|
15
15
|
output: z.object({
|
|
16
|
-
id: z.number().int().describe("Unique identifier of the meeting"),
|
|
16
|
+
id: z.number().int().describe("Unique identifier of the meeting").nullable(),
|
|
17
17
|
date: z.string().describe("Start date and time of the meeting in ISO 8601 format").nullable().optional(),
|
|
18
18
|
type: z.string().describe("Type of meeting (e.g., 'meeting-live', 'meeting-phone')").nullable().optional(),
|
|
19
19
|
notes: z.string().describe("Notes about the meeting (replaces deprecated 'minutes' field)").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting.mjs","names":[],"sources":["../../src/actions/get-meeting.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetMeetingInput
|
|
1
|
+
{"version":3,"file":"get-meeting.mjs","names":[],"sources":["../../src/actions/get-meeting.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetMeetingInput = z.object({\n meeting_id: z.number().int().describe(\"The unique identifier of the meeting to retrieve. Must be a valid meeting ID from Salesflare.\"),\n}).describe(\"Request model for retrieving meeting details.\");\nconst SalesflareGetMeeting_ParticipantSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the participant\").nullable().optional(),\n name: z.string().describe(\"Name of the participant\").nullable().optional(),\n email: z.string().describe(\"Email address of the participant\").nullable().optional(),\n}).passthrough().describe(\"Model representing a meeting participant.\");\nexport const SalesflareGetMeetingOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the meeting\").nullable(),\n date: z.string().describe(\"Start date and time of the meeting in ISO 8601 format\").nullable().optional(),\n type: z.string().describe(\"Type of meeting (e.g., 'meeting-live', 'meeting-phone')\").nullable().optional(),\n notes: z.string().describe(\"Notes about the meeting (replaces deprecated 'minutes' field)\").nullable().optional(),\n subject: z.string().describe(\"Subject or title of the meeting\").nullable().optional(),\n end_date: z.string().describe(\"End date and time of the meeting in ISO 8601 format\").nullable().optional(),\n phone_type: z.string().describe(\"Type of phone call if meeting type is phone\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the meeting\").nullable().optional(),\n participants: z.array(SalesflareGetMeeting_ParticipantSchema).describe(\"List of participants in the meeting\").nullable().optional(),\n phone_number_hash: z.string().describe(\"Hashed phone number associated with the meeting\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting details.\");\n\nexport const salesflareGetMeeting = action(\"SALESFLARE_GET_MEETING\", {\n slug: \"salesflare-get-meeting\",\n name: \"Get Meeting Details\",\n description: \"Tool to retrieve detailed information about a specific meeting by its ID. Use when you need to fetch meeting details such as subject, date, participants, notes, and other metadata.\",\n input: SalesflareGetMeetingInput,\n output: Salesfl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AS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -3,80 +3,80 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-opportunity.ts
|
|
4
4
|
const SalesflareGetOpportunityInput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the opportunity to retrieve") }).describe("Request to get opportunity details by ID.");
|
|
5
5
|
const SalesflareGetOpportunity_TagInfoSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the tag"),
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the tag").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Name of the tag").nullable().optional()
|
|
8
|
-
}).describe("Tag information for the opportunity.");
|
|
8
|
+
}).passthrough().describe("Tag information for the opportunity.");
|
|
9
9
|
const SalesflareGetOpportunity_OwnerInfoSchema = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Unique identifier of the owner"),
|
|
10
|
+
id: zod.z.number().int().describe("Unique identifier of the owner").nullable(),
|
|
11
11
|
name: zod.z.string().describe("Name of the owner").nullable().optional(),
|
|
12
12
|
email: zod.z.string().describe("Email address of the owner").nullable().optional(),
|
|
13
13
|
picture: zod.z.string().describe("URL to the owner's picture").nullable().optional(),
|
|
14
14
|
disabled: zod.z.boolean().describe("Whether the owner account is disabled").nullable().optional()
|
|
15
|
-
}).describe("Owner information for the opportunity.");
|
|
15
|
+
}).passthrough().describe("Owner information for the opportunity.");
|
|
16
16
|
const SalesflareGetOpportunity_StageInfoSchema = zod.z.object({
|
|
17
|
-
id: zod.z.number().int().describe("Unique identifier of the stage"),
|
|
17
|
+
id: zod.z.number().int().describe("Unique identifier of the stage").nullable(),
|
|
18
18
|
name: zod.z.string().describe("Name of the stage").nullable().optional(),
|
|
19
19
|
color: zod.z.string().describe("Color code for the stage").nullable().optional(),
|
|
20
20
|
order: zod.z.number().int().describe("Display order of the stage").nullable().optional(),
|
|
21
21
|
pipeline: zod.z.number().int().describe("Pipeline ID this stage belongs to").nullable().optional(),
|
|
22
22
|
fixed_stage: zod.z.number().int().describe("Fixed stage identifier").nullable().optional(),
|
|
23
23
|
probability: zod.z.number().describe("Win probability percentage for this stage").nullable().optional()
|
|
24
|
-
}).describe("Stage information for the opportunity.");
|
|
24
|
+
}).passthrough().describe("Stage information for the opportunity.");
|
|
25
25
|
const SalesflareGetOpportunity_AccountInfoSchema = zod.z.object({
|
|
26
|
-
id: zod.z.number().int().describe("Unique identifier of the account"),
|
|
26
|
+
id: zod.z.number().int().describe("Unique identifier of the account").nullable(),
|
|
27
27
|
name: zod.z.string().describe("Name of the account").nullable().optional(),
|
|
28
28
|
owner: zod.z.number().int().describe("Owner ID of the account").nullable().optional(),
|
|
29
29
|
hotness: zod.z.number().describe("Hotness score of the account").nullable().optional(),
|
|
30
30
|
picture: zod.z.string().describe("URL to the account's picture").nullable().optional()
|
|
31
|
-
}).describe("Account information associated with the opportunity.");
|
|
31
|
+
}).passthrough().describe("Account information associated with the opportunity.");
|
|
32
32
|
const SalesflareGetOpportunity_AssigneeInfoSchema = zod.z.object({
|
|
33
|
-
id: zod.z.number().int().describe("Unique identifier of the assignee"),
|
|
33
|
+
id: zod.z.number().int().describe("Unique identifier of the assignee").nullable(),
|
|
34
34
|
name: zod.z.string().describe("Name of the assignee").nullable().optional(),
|
|
35
35
|
email: zod.z.string().describe("Email address of the assignee").nullable().optional(),
|
|
36
36
|
picture: zod.z.string().describe("URL to the assignee's picture").nullable().optional()
|
|
37
|
-
}).describe("Assignee information for the opportunity.");
|
|
37
|
+
}).passthrough().describe("Assignee information for the opportunity.");
|
|
38
38
|
const SalesflareGetOpportunity_CurrencyInfoSchema = zod.z.object({
|
|
39
|
-
id: zod.z.number().int().describe("Unique identifier of the currency"),
|
|
39
|
+
id: zod.z.number().int().describe("Unique identifier of the currency").nullable(),
|
|
40
40
|
iso: zod.z.string().describe("ISO code of the currency (e.g., 'USD', 'EUR')").nullable().optional(),
|
|
41
41
|
html: zod.z.string().describe("HTML representation of the currency symbol").nullable().optional()
|
|
42
|
-
}).describe("Currency information for the opportunity.");
|
|
42
|
+
}).passthrough().describe("Currency information for the opportunity.");
|
|
43
43
|
const SalesflareGetOpportunity_PipelineInfoSchema = zod.z.object({
|
|
44
44
|
id: zod.z.number().int().describe("Unique identifier of the pipeline").nullable().optional(),
|
|
45
45
|
name: zod.z.string().describe("Name of the pipeline").nullable().optional()
|
|
46
|
-
}).describe("Pipeline information for the opportunity.");
|
|
46
|
+
}).passthrough().describe("Pipeline information for the opportunity.");
|
|
47
47
|
const SalesflareGetOpportunity_LeadSourceInfoSchema = zod.z.object({
|
|
48
|
-
id: zod.z.number().int().describe("Unique identifier of the lead source"),
|
|
48
|
+
id: zod.z.number().int().describe("Unique identifier of the lead source").nullable(),
|
|
49
49
|
name: zod.z.string().describe("Name of the lead source").nullable().optional()
|
|
50
|
-
}).describe("Lead source information for the opportunity.");
|
|
50
|
+
}).passthrough().describe("Lead source information for the opportunity.");
|
|
51
51
|
const SalesflareGetOpportunity_LostReasonInfoSchema = zod.z.object({
|
|
52
|
-
id: zod.z.number().int().describe("Unique identifier of the lost reason"),
|
|
52
|
+
id: zod.z.number().int().describe("Unique identifier of the lost reason").nullable(),
|
|
53
53
|
name: zod.z.string().describe("Name of the lost reason").nullable().optional(),
|
|
54
54
|
order: zod.z.number().int().describe("Display order of the lost reason").nullable().optional()
|
|
55
|
-
}).describe("Lost reason information for closed-lost opportunities.");
|
|
55
|
+
}).passthrough().describe("Lost reason information for closed-lost opportunities.");
|
|
56
56
|
const SalesflareGetOpportunity_MainContactInfoSchema = zod.z.object({
|
|
57
|
-
id: zod.z.number().int().describe("Unique identifier of the main contact"),
|
|
57
|
+
id: zod.z.number().int().describe("Unique identifier of the main contact").nullable(),
|
|
58
58
|
name: zod.z.string().describe("Name of the main contact").nullable().optional(),
|
|
59
59
|
email: zod.z.string().describe("Email address of the main contact").nullable().optional(),
|
|
60
60
|
entity: zod.z.string().describe("Entity type, typically 'contact'").nullable().optional(),
|
|
61
61
|
picture: zod.z.string().describe("URL to the main contact's picture").nullable().optional()
|
|
62
|
-
}).describe("Main contact information for the opportunity.");
|
|
62
|
+
}).passthrough().describe("Main contact information for the opportunity.");
|
|
63
63
|
const SalesflareGetOpportunity_StageUpdateInfoSchema = zod.z.object({
|
|
64
64
|
stage: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Stage details for this update").nullable().optional(),
|
|
65
|
-
duration_in_seconds: zod.z.number().int().describe("Duration spent in this stage in seconds")
|
|
66
|
-
}).describe("Stage update history information.");
|
|
65
|
+
duration_in_seconds: zod.z.number().int().describe("Duration spent in this stage in seconds").nullable()
|
|
66
|
+
}).passthrough().describe("Stage update history information.");
|
|
67
67
|
const SalesflareGetOpportunity_PersonInfoSchema = zod.z.object({
|
|
68
68
|
id: zod.z.number().int().describe("Unique identifier of the person").nullable().optional(),
|
|
69
69
|
name: zod.z.string().describe("Name of the person").nullable().optional(),
|
|
70
70
|
picture: zod.z.string().describe("URL to the person's picture").nullable().optional()
|
|
71
|
-
}).describe("Person information in last interaction.");
|
|
71
|
+
}).passthrough().describe("Person information in last interaction.");
|
|
72
72
|
const SalesflareGetOpportunity_LastInteractionInfoSchema = zod.z.object({
|
|
73
73
|
date: zod.z.string().describe("Date of the last interaction (ISO 8601 format)").nullable().optional(),
|
|
74
74
|
type: zod.z.string().describe("Type of the last interaction").nullable().optional(),
|
|
75
75
|
person: SalesflareGetOpportunity_PersonInfoSchema.nullable().optional(),
|
|
76
76
|
description: zod.z.string().describe("Description of the last interaction").nullable().optional()
|
|
77
|
-
}).describe("Last interaction information for the opportunity.");
|
|
77
|
+
}).passthrough().describe("Last interaction information for the opportunity.");
|
|
78
78
|
const SalesflareGetOpportunityOutput = zod.z.object({
|
|
79
|
-
id: zod.z.number().int().describe("Unique identifier of the opportunity"),
|
|
79
|
+
id: zod.z.number().int().describe("Unique identifier of the opportunity").nullable(),
|
|
80
80
|
done: zod.z.boolean().describe("Whether the opportunity is closed (won or lost)").nullable().optional(),
|
|
81
81
|
name: zod.z.string().describe("Name of the opportunity").nullable().optional(),
|
|
82
82
|
tags: zod.z.array(SalesflareGetOpportunity_TagInfoSchema).describe("Tags associated with the opportunity").nullable().optional(),
|
|
@@ -108,7 +108,7 @@ const SalesflareGetOpportunityOutput = zod.z.object({
|
|
|
108
108
|
modification_date: zod.z.string().describe("Date when the opportunity was last modified (ISO 8601 format)").nullable().optional(),
|
|
109
109
|
contract_start_date: zod.z.string().describe("Start date of the contract").nullable().optional(),
|
|
110
110
|
recurring_price_per_unit: zod.z.number().describe("Recurring price per unit for subscription-based opportunities").nullable().optional()
|
|
111
|
-
}).describe("Response containing detailed opportunity information.");
|
|
111
|
+
}).passthrough().describe("Response containing detailed opportunity information.");
|
|
112
112
|
const salesflareGetOpportunity = require_action.action("SALESFLARE_GET_OPPORTUNITY", {
|
|
113
113
|
slug: "salesflare-get-opportunity",
|
|
114
114
|
name: "Get Opportunity",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-opportunity.cjs","names":["z","action"],"sources":["../../src/actions/get-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetOpportunityInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the opportunity to retrieve\"),\n}).describe(\"Request to get opportunity details by ID.\");\nconst SalesflareGetOpportunity_TagInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\"),\n name: z.string().describe(\"Name of the tag\").nullable().optional(),\n}).describe(\"Tag information for the opportunity.\");\nconst SalesflareGetOpportunity_OwnerInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\"),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the owner account is disabled\").nullable().optional(),\n}).describe(\"Owner information for the opportunity.\");\nconst SalesflareGetOpportunity_StageInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\"),\n name: z.string().describe(\"Name of the stage\").nullable().optional(),\n color: z.string().describe(\"Color code for the stage\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the stage\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID this stage belongs to\").nullable().optional(),\n fixed_stage: z.number().int().describe(\"Fixed stage identifier\").nullable().optional(),\n probability: z.number().describe(\"Win probability percentage for this stage\").nullable().optional(),\n}).describe(\"Stage information for the opportunity.\");\nconst SalesflareGetOpportunity_AccountInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\"),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n owner: z.number().int().describe(\"Owner ID of the account\").nullable().optional(),\n hotness: z.number().describe(\"Hotness score of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).describe(\"Account information associated with the opportunity.\");\nconst SalesflareGetOpportunity_AssigneeInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the assignee\"),\n name: z.string().describe(\"Name of the assignee\").nullable().optional(),\n email: z.string().describe(\"Email address of the assignee\").nullable().optional(),\n picture: z.string().describe(\"URL to the assignee's picture\").nullable().optional(),\n}).describe(\"Assignee information for the opportunity.\");\nconst SalesflareGetOpportunity_CurrencyInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the currency\"),\n iso: z.string().describe(\"ISO code of the currency (e.g., 'USD', 'EUR')\").nullable().optional(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable().optional(),\n}).describe(\"Currency information for the opportunity.\");\nconst SalesflareGetOpportunity_PipelineInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline\").nullable().optional(),\n name: z.string().describe(\"Name of the pipeline\").nullable().optional(),\n}).describe(\"Pipeline information for the opportunity.\");\nconst SalesflareGetOpportunity_LeadSourceInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead source\"),\n name: z.string().describe(\"Name of the lead source\").nullable().optional(),\n}).describe(\"Lead source information for the opportunity.\");\nconst SalesflareGetOpportunity_LostReasonInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the lost reason\"),\n name: z.string().describe(\"Name of the lost reason\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the lost reason\").nullable().optional(),\n}).describe(\"Lost reason information for closed-lost opportunities.\");\nconst SalesflareGetOpportunity_MainContactInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the main contact\"),\n name: z.string().describe(\"Name of the main contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the main contact\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'contact'\").nullable().optional(),\n picture: z.string().describe(\"URL to the main contact's picture\").nullable().optional(),\n}).describe(\"Main contact information for the opportunity.\");\nconst SalesflareGetOpportunity_StageUpdateInfoSchema: z.ZodTypeAny = z.object({\n stage: z.record(z.string(), z.unknown()).describe(\"Stage details for this update\").nullable().optional(),\n duration_in_seconds: z.number().int().describe(\"Duration spent in this stage in seconds\"),\n}).describe(\"Stage update history information.\");\nconst SalesflareGetOpportunity_PersonInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable().optional(),\n name: z.string().describe(\"Name of the person\").nullable().optional(),\n picture: z.string().describe(\"URL to the person's picture\").nullable().optional(),\n}).describe(\"Person information in last interaction.\");\nconst SalesflareGetOpportunity_LastInteractionInfoSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date of the last interaction (ISO 8601 format)\").nullable().optional(),\n type: z.string().describe(\"Type of the last interaction\").nullable().optional(),\n person: SalesflareGetOpportunity_PersonInfoSchema.nullable().optional(),\n description: z.string().describe(\"Description of the last interaction\").nullable().optional(),\n}).describe(\"Last interaction information for the opportunity.\");\nexport const SalesflareGetOpportunityOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the opportunity\"),\n done: z.boolean().describe(\"Whether the opportunity is closed (won or lost)\").nullable().optional(),\n name: z.string().describe(\"Name of the opportunity\").nullable().optional(),\n tags: z.array(SalesflareGetOpportunity_TagInfoSchema).describe(\"Tags associated with the opportunity\").nullable().optional(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"Files attached to the opportunity\").nullable().optional(),\n owner: SalesflareGetOpportunity_OwnerInfoSchema.nullable().optional(),\n stage: SalesflareGetOpportunity_StageInfoSchema.nullable().optional(),\n units: z.number().describe(\"Number of units\").nullable().optional(),\n value: z.number().describe(\"Total value of the opportunity\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the opportunity\").nullable().optional(),\n account: SalesflareGetOpportunity_AccountInfoSchema.nullable().optional(),\n creator: z.number().int().describe(\"User ID who created the opportunity\").nullable().optional(),\n assignee: SalesflareGetOpportunity_AssigneeInfoSchema.nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this opportunity\").nullable().optional(),\n currency: SalesflareGetOpportunity_CurrencyInfoSchema.nullable().optional(),\n pipeline: SalesflareGetOpportunity_PipelineInfoSchema.nullable().optional(),\n frequency: z.string().describe(\"Frequency of recurring revenue\").nullable().optional(),\n close_date: z.string().describe(\"Expected close date of the opportunity\").nullable().optional(),\n start_date: z.string().describe(\"Start date of the opportunity\").nullable().optional(),\n lead_source: SalesflareGetOpportunity_LeadSourceInfoSchema.nullable().optional(),\n lost_reason: SalesflareGetOpportunity_LostReasonInfoSchema.nullable().optional(),\n probability: z.number().describe(\"Win probability percentage\").nullable().optional(),\n main_contact: SalesflareGetOpportunity_MainContactInfoSchema.nullable().optional(),\n creation_date: z.string().describe(\"Date when the opportunity was created (ISO 8601 format)\").nullable().optional(),\n stage_updates: z.array(SalesflareGetOpportunity_StageUpdateInfoSchema).describe(\"History of stage changes\").nullable().optional(),\n calculated_value: z.number().describe(\"Calculated value of the opportunity\").nullable().optional(),\n last_interaction: SalesflareGetOpportunity_LastInteractionInfoSchema.nullable().optional(),\n last_modified_by: z.number().int().describe(\"User ID who last modified the opportunity\").nullable().optional(),\n contract_end_date: z.string().describe(\"End date of the contract\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the opportunity was last modified (ISO 8601 format)\").nullable().optional(),\n contract_start_date: z.string().describe(\"Start date of the contract\").nullable().optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities\").nullable().optional(),\n}).describe(\"Response containing detailed opportunity information.\");\n\nexport const salesflareGetOpportunity = action(\"SALESFLARE_GET_OPPORTUNITY\", {\n slug: \"salesflare-get-opportunity\",\n name: \"Get Opportunity\",\n description: \"Get detailed information about a specific opportunity by ID. Tool to retrieve complete opportunity details including account, contacts, pipeline stage, value, dates, and other metadata. Use when you need to fetch information about a specific opportunity in Salesflare.\",\n input: SalesflareGetOpportunityInput,\n output: SalesflareGetOpportunityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8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,eAAeA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,kBAAkB,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-opportunity.cjs","names":["z","action"],"sources":["../../src/actions/get-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetOpportunityInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the opportunity to retrieve\"),\n}).describe(\"Request to get opportunity details by ID.\");\nconst SalesflareGetOpportunity_TagInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable().optional(),\n}).passthrough().describe(\"Tag information for the opportunity.\");\nconst SalesflareGetOpportunity_OwnerInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\").nullable(),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether the owner account is disabled\").nullable().optional(),\n}).passthrough().describe(\"Owner information for the opportunity.\");\nconst SalesflareGetOpportunity_StageInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\").nullable(),\n name: z.string().describe(\"Name of the stage\").nullable().optional(),\n color: z.string().describe(\"Color code for the stage\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the stage\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID this stage belongs to\").nullable().optional(),\n fixed_stage: z.number().int().describe(\"Fixed stage identifier\").nullable().optional(),\n probability: z.number().describe(\"Win probability percentage for this stage\").nullable().optional(),\n}).passthrough().describe(\"Stage information for the opportunity.\");\nconst SalesflareGetOpportunity_AccountInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n owner: z.number().int().describe(\"Owner ID of the account\").nullable().optional(),\n hotness: z.number().describe(\"Hotness score of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).passthrough().describe(\"Account information associated with the opportunity.\");\nconst SalesflareGetOpportunity_AssigneeInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the assignee\").nullable(),\n name: z.string().describe(\"Name of the assignee\").nullable().optional(),\n email: z.string().describe(\"Email address of the assignee\").nullable().optional(),\n picture: z.string().describe(\"URL to the assignee's picture\").nullable().optional(),\n}).passthrough().describe(\"Assignee information for the opportunity.\");\nconst SalesflareGetOpportunity_CurrencyInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the currency\").nullable(),\n iso: z.string().describe(\"ISO code of the currency (e.g., 'USD', 'EUR')\").nullable().optional(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable().optional(),\n}).passthrough().describe(\"Currency information for the opportunity.\");\nconst SalesflareGetOpportunity_PipelineInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the pipeline\").nullable().optional(),\n name: z.string().describe(\"Name of the pipeline\").nullable().optional(),\n}).passthrough().describe(\"Pipeline information for the opportunity.\");\nconst SalesflareGetOpportunity_LeadSourceInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the lead source\").nullable(),\n name: z.string().describe(\"Name of the lead source\").nullable().optional(),\n}).passthrough().describe(\"Lead source information for the opportunity.\");\nconst SalesflareGetOpportunity_LostReasonInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the lost reason\").nullable(),\n name: z.string().describe(\"Name of the lost reason\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the lost reason\").nullable().optional(),\n}).passthrough().describe(\"Lost reason information for closed-lost opportunities.\");\nconst SalesflareGetOpportunity_MainContactInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the main contact\").nullable(),\n name: z.string().describe(\"Name of the main contact\").nullable().optional(),\n email: z.string().describe(\"Email address of the main contact\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'contact'\").nullable().optional(),\n picture: z.string().describe(\"URL to the main contact's picture\").nullable().optional(),\n}).passthrough().describe(\"Main contact information for the opportunity.\");\nconst SalesflareGetOpportunity_StageUpdateInfoSchema = z.object({\n stage: z.record(z.string(), z.unknown()).describe(\"Stage details for this update\").nullable().optional(),\n duration_in_seconds: z.number().int().describe(\"Duration spent in this stage in seconds\").nullable(),\n}).passthrough().describe(\"Stage update history information.\");\nconst SalesflareGetOpportunity_PersonInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable().optional(),\n name: z.string().describe(\"Name of the person\").nullable().optional(),\n picture: z.string().describe(\"URL to the person's picture\").nullable().optional(),\n}).passthrough().describe(\"Person information in last interaction.\");\nconst SalesflareGetOpportunity_LastInteractionInfoSchema = z.object({\n date: z.string().describe(\"Date of the last interaction (ISO 8601 format)\").nullable().optional(),\n type: z.string().describe(\"Type of the last interaction\").nullable().optional(),\n person: SalesflareGetOpportunity_PersonInfoSchema.nullable().optional(),\n description: z.string().describe(\"Description of the last interaction\").nullable().optional(),\n}).passthrough().describe(\"Last interaction information for the opportunity.\");\nexport const SalesflareGetOpportunityOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the opportunity\").nullable(),\n done: z.boolean().describe(\"Whether the opportunity is closed (won or lost)\").nullable().optional(),\n name: z.string().describe(\"Name of the opportunity\").nullable().optional(),\n tags: z.array(SalesflareGetOpportunity_TagInfoSchema).describe(\"Tags associated with the opportunity\").nullable().optional(),\n files: z.array(z.record(z.string(), z.unknown())).describe(\"Files attached to the opportunity\").nullable().optional(),\n owner: SalesflareGetOpportunity_OwnerInfoSchema.nullable().optional(),\n stage: SalesflareGetOpportunity_StageInfoSchema.nullable().optional(),\n units: z.number().describe(\"Number of units\").nullable().optional(),\n value: z.number().describe(\"Total value of the opportunity\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the opportunity\").nullable().optional(),\n account: SalesflareGetOpportunity_AccountInfoSchema.nullable().optional(),\n creator: z.number().int().describe(\"User ID who created the opportunity\").nullable().optional(),\n assignee: SalesflareGetOpportunity_AssigneeInfoSchema.nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this opportunity\").nullable().optional(),\n currency: SalesflareGetOpportunity_CurrencyInfoSchema.nullable().optional(),\n pipeline: SalesflareGetOpportunity_PipelineInfoSchema.nullable().optional(),\n frequency: z.string().describe(\"Frequency of recurring revenue\").nullable().optional(),\n close_date: z.string().describe(\"Expected close date of the opportunity\").nullable().optional(),\n start_date: z.string().describe(\"Start date of the opportunity\").nullable().optional(),\n lead_source: SalesflareGetOpportunity_LeadSourceInfoSchema.nullable().optional(),\n lost_reason: SalesflareGetOpportunity_LostReasonInfoSchema.nullable().optional(),\n probability: z.number().describe(\"Win probability percentage\").nullable().optional(),\n main_contact: SalesflareGetOpportunity_MainContactInfoSchema.nullable().optional(),\n creation_date: z.string().describe(\"Date when the opportunity was created (ISO 8601 format)\").nullable().optional(),\n stage_updates: z.array(SalesflareGetOpportunity_StageUpdateInfoSchema).describe(\"History of stage changes\").nullable().optional(),\n calculated_value: z.number().describe(\"Calculated value of the opportunity\").nullable().optional(),\n last_interaction: SalesflareGetOpportunity_LastInteractionInfoSchema.nullable().optional(),\n last_modified_by: z.number().int().describe(\"User ID who last modified the opportunity\").nullable().optional(),\n contract_end_date: z.string().describe(\"End date of the contract\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the opportunity was last modified (ISO 8601 format)\").nullable().optional(),\n contract_start_date: z.string().describe(\"Start date of the contract\").nullable().optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed opportunity information.\");\n\nexport const salesflareGetOpportunity = action(\"SALESFLARE_GET_OPPORTUNITY\", {\n slug: \"salesflare-get-opportunity\",\n name: \"Get Opportunity\",\n description: \"Get detailed information about a specific opportunity by ID. Tool to retrieve complete opportunity details including account, contacts, pipeline stage, value, dates, and other metadata. Use when you need to fetch information about a specific opportunity in Salesflare.\",\n input: SalesflareGetOpportunityInput,\n output: SalesflareGetOpportunityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAClF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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M;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,106 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-opportunity.d.ts
|
|
4
|
-
declare const SalesflareGetOpportunityInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SalesflareGetOpportunityInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SalesflareGetOpportunityOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
done: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
16
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
fixed_stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
units: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
35
|
+
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
hotness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
can_edit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
iso: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
}, z.core.$loose>>>;
|
|
59
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
close_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
lead_source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
63
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
64
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
}, z.core.$loose>>>;
|
|
66
|
+
lost_reason: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
67
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
68
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
|
+
}, z.core.$loose>>>;
|
|
71
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
72
|
+
main_contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
73
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
74
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$loose>>>;
|
|
79
|
+
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
stage_updates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
81
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
82
|
+
duration_in_seconds: z.ZodNullable<z.ZodNumber>;
|
|
83
|
+
}, z.core.$loose>>>>;
|
|
84
|
+
calculated_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
85
|
+
last_interaction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
86
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
89
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
}, z.core.$loose>>>;
|
|
93
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
}, z.core.$loose>>>;
|
|
95
|
+
last_modified_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96
|
+
contract_end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
contract_start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
recurring_price_per_unit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
100
|
+
}, z.core.$loose>;
|
|
101
|
+
declare const salesflareGetOpportunity: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
102
|
+
id: number;
|
|
103
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
104
|
//#endregion
|
|
8
105
|
export { salesflareGetOpportunity };
|
|
9
106
|
//# sourceMappingURL=get-opportunity.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-opportunity.d.cts","names":[],"sources":["../../src/actions/get-opportunity.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-opportunity.d.cts","names":[],"sources":["../../src/actions/get-opportunity.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cA4E7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmC9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,106 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-opportunity.d.ts
|
|
4
|
-
declare const SalesflareGetOpportunityInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SalesflareGetOpportunityInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SalesflareGetOpportunityOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
done: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
16
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
disabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
fixed_stage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
|
+
units: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
35
|
+
account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
hotness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
}, z.core.$loose>>>;
|
|
42
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
can_edit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
iso: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
}, z.core.$loose>>>;
|
|
59
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
close_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
lead_source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
63
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
64
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
+
}, z.core.$loose>>>;
|
|
66
|
+
lost_reason: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
67
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
68
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
|
+
}, z.core.$loose>>>;
|
|
71
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
72
|
+
main_contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
73
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
74
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$loose>>>;
|
|
79
|
+
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
stage_updates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
81
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
82
|
+
duration_in_seconds: z.ZodNullable<z.ZodNumber>;
|
|
83
|
+
}, z.core.$loose>>>>;
|
|
84
|
+
calculated_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
85
|
+
last_interaction: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
86
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
89
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
}, z.core.$loose>>>;
|
|
93
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
}, z.core.$loose>>>;
|
|
95
|
+
last_modified_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96
|
+
contract_end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
contract_start_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
recurring_price_per_unit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
100
|
+
}, z.core.$loose>;
|
|
101
|
+
declare const salesflareGetOpportunity: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
102
|
+
id: number;
|
|
103
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
104
|
//#endregion
|
|
8
105
|
export { salesflareGetOpportunity };
|
|
9
106
|
//# sourceMappingURL=get-opportunity.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-opportunity.d.mts","names":[],"sources":["../../src/actions/get-opportunity.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-opportunity.d.mts","names":[],"sources":["../../src/actions/get-opportunity.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cA4E7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmC9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -3,85 +3,85 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-opportunity.ts
|
|
4
4
|
const SalesflareGetOpportunityInput = z.object({ id: z.number().int().describe("Unique identifier of the opportunity to retrieve") }).describe("Request to get opportunity details by ID.");
|
|
5
5
|
const SalesflareGetOpportunity_TagInfoSchema = z.object({
|
|
6
|
-
id: z.number().int().describe("Unique identifier of the tag"),
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the tag").nullable(),
|
|
7
7
|
name: z.string().describe("Name of the tag").nullable().optional()
|
|
8
|
-
}).describe("Tag information for the opportunity.");
|
|
8
|
+
}).passthrough().describe("Tag information for the opportunity.");
|
|
9
9
|
const SalesflareGetOpportunity_OwnerInfoSchema = z.object({
|
|
10
|
-
id: z.number().int().describe("Unique identifier of the owner"),
|
|
10
|
+
id: z.number().int().describe("Unique identifier of the owner").nullable(),
|
|
11
11
|
name: z.string().describe("Name of the owner").nullable().optional(),
|
|
12
12
|
email: z.string().describe("Email address of the owner").nullable().optional(),
|
|
13
13
|
picture: z.string().describe("URL to the owner's picture").nullable().optional(),
|
|
14
14
|
disabled: z.boolean().describe("Whether the owner account is disabled").nullable().optional()
|
|
15
|
-
}).describe("Owner information for the opportunity.");
|
|
15
|
+
}).passthrough().describe("Owner information for the opportunity.");
|
|
16
16
|
const SalesflareGetOpportunity_StageInfoSchema = z.object({
|
|
17
|
-
id: z.number().int().describe("Unique identifier of the stage"),
|
|
17
|
+
id: z.number().int().describe("Unique identifier of the stage").nullable(),
|
|
18
18
|
name: z.string().describe("Name of the stage").nullable().optional(),
|
|
19
19
|
color: z.string().describe("Color code for the stage").nullable().optional(),
|
|
20
20
|
order: z.number().int().describe("Display order of the stage").nullable().optional(),
|
|
21
21
|
pipeline: z.number().int().describe("Pipeline ID this stage belongs to").nullable().optional(),
|
|
22
22
|
fixed_stage: z.number().int().describe("Fixed stage identifier").nullable().optional(),
|
|
23
23
|
probability: z.number().describe("Win probability percentage for this stage").nullable().optional()
|
|
24
|
-
}).describe("Stage information for the opportunity.");
|
|
24
|
+
}).passthrough().describe("Stage information for the opportunity.");
|
|
25
25
|
const SalesflareGetOpportunity_AccountInfoSchema = z.object({
|
|
26
|
-
id: z.number().int().describe("Unique identifier of the account"),
|
|
26
|
+
id: z.number().int().describe("Unique identifier of the account").nullable(),
|
|
27
27
|
name: z.string().describe("Name of the account").nullable().optional(),
|
|
28
28
|
owner: z.number().int().describe("Owner ID of the account").nullable().optional(),
|
|
29
29
|
hotness: z.number().describe("Hotness score of the account").nullable().optional(),
|
|
30
30
|
picture: z.string().describe("URL to the account's picture").nullable().optional()
|
|
31
|
-
}).describe("Account information associated with the opportunity.");
|
|
31
|
+
}).passthrough().describe("Account information associated with the opportunity.");
|
|
32
32
|
const SalesflareGetOpportunity_AssigneeInfoSchema = z.object({
|
|
33
|
-
id: z.number().int().describe("Unique identifier of the assignee"),
|
|
33
|
+
id: z.number().int().describe("Unique identifier of the assignee").nullable(),
|
|
34
34
|
name: z.string().describe("Name of the assignee").nullable().optional(),
|
|
35
35
|
email: z.string().describe("Email address of the assignee").nullable().optional(),
|
|
36
36
|
picture: z.string().describe("URL to the assignee's picture").nullable().optional()
|
|
37
|
-
}).describe("Assignee information for the opportunity.");
|
|
37
|
+
}).passthrough().describe("Assignee information for the opportunity.");
|
|
38
38
|
const SalesflareGetOpportunity_CurrencyInfoSchema = z.object({
|
|
39
|
-
id: z.number().int().describe("Unique identifier of the currency"),
|
|
39
|
+
id: z.number().int().describe("Unique identifier of the currency").nullable(),
|
|
40
40
|
iso: z.string().describe("ISO code of the currency (e.g., 'USD', 'EUR')").nullable().optional(),
|
|
41
41
|
html: z.string().describe("HTML representation of the currency symbol").nullable().optional()
|
|
42
|
-
}).describe("Currency information for the opportunity.");
|
|
42
|
+
}).passthrough().describe("Currency information for the opportunity.");
|
|
43
43
|
const SalesflareGetOpportunity_PipelineInfoSchema = z.object({
|
|
44
44
|
id: z.number().int().describe("Unique identifier of the pipeline").nullable().optional(),
|
|
45
45
|
name: z.string().describe("Name of the pipeline").nullable().optional()
|
|
46
|
-
}).describe("Pipeline information for the opportunity.");
|
|
46
|
+
}).passthrough().describe("Pipeline information for the opportunity.");
|
|
47
47
|
const SalesflareGetOpportunity_LeadSourceInfoSchema = z.object({
|
|
48
|
-
id: z.number().int().describe("Unique identifier of the lead source"),
|
|
48
|
+
id: z.number().int().describe("Unique identifier of the lead source").nullable(),
|
|
49
49
|
name: z.string().describe("Name of the lead source").nullable().optional()
|
|
50
|
-
}).describe("Lead source information for the opportunity.");
|
|
50
|
+
}).passthrough().describe("Lead source information for the opportunity.");
|
|
51
51
|
const SalesflareGetOpportunity_LostReasonInfoSchema = z.object({
|
|
52
|
-
id: z.number().int().describe("Unique identifier of the lost reason"),
|
|
52
|
+
id: z.number().int().describe("Unique identifier of the lost reason").nullable(),
|
|
53
53
|
name: z.string().describe("Name of the lost reason").nullable().optional(),
|
|
54
54
|
order: z.number().int().describe("Display order of the lost reason").nullable().optional()
|
|
55
|
-
}).describe("Lost reason information for closed-lost opportunities.");
|
|
55
|
+
}).passthrough().describe("Lost reason information for closed-lost opportunities.");
|
|
56
56
|
const SalesflareGetOpportunity_MainContactInfoSchema = z.object({
|
|
57
|
-
id: z.number().int().describe("Unique identifier of the main contact"),
|
|
57
|
+
id: z.number().int().describe("Unique identifier of the main contact").nullable(),
|
|
58
58
|
name: z.string().describe("Name of the main contact").nullable().optional(),
|
|
59
59
|
email: z.string().describe("Email address of the main contact").nullable().optional(),
|
|
60
60
|
entity: z.string().describe("Entity type, typically 'contact'").nullable().optional(),
|
|
61
61
|
picture: z.string().describe("URL to the main contact's picture").nullable().optional()
|
|
62
|
-
}).describe("Main contact information for the opportunity.");
|
|
62
|
+
}).passthrough().describe("Main contact information for the opportunity.");
|
|
63
63
|
const SalesflareGetOpportunity_StageUpdateInfoSchema = z.object({
|
|
64
64
|
stage: z.record(z.string(), z.unknown()).describe("Stage details for this update").nullable().optional(),
|
|
65
|
-
duration_in_seconds: z.number().int().describe("Duration spent in this stage in seconds")
|
|
66
|
-
}).describe("Stage update history information.");
|
|
65
|
+
duration_in_seconds: z.number().int().describe("Duration spent in this stage in seconds").nullable()
|
|
66
|
+
}).passthrough().describe("Stage update history information.");
|
|
67
67
|
const SalesflareGetOpportunity_PersonInfoSchema = z.object({
|
|
68
68
|
id: z.number().int().describe("Unique identifier of the person").nullable().optional(),
|
|
69
69
|
name: z.string().describe("Name of the person").nullable().optional(),
|
|
70
70
|
picture: z.string().describe("URL to the person's picture").nullable().optional()
|
|
71
|
-
}).describe("Person information in last interaction.");
|
|
71
|
+
}).passthrough().describe("Person information in last interaction.");
|
|
72
72
|
const SalesflareGetOpportunity_LastInteractionInfoSchema = z.object({
|
|
73
73
|
date: z.string().describe("Date of the last interaction (ISO 8601 format)").nullable().optional(),
|
|
74
74
|
type: z.string().describe("Type of the last interaction").nullable().optional(),
|
|
75
75
|
person: SalesflareGetOpportunity_PersonInfoSchema.nullable().optional(),
|
|
76
76
|
description: z.string().describe("Description of the last interaction").nullable().optional()
|
|
77
|
-
}).describe("Last interaction information for the opportunity.");
|
|
77
|
+
}).passthrough().describe("Last interaction information for the opportunity.");
|
|
78
78
|
const salesflareGetOpportunity = action("SALESFLARE_GET_OPPORTUNITY", {
|
|
79
79
|
slug: "salesflare-get-opportunity",
|
|
80
80
|
name: "Get Opportunity",
|
|
81
81
|
description: "Get detailed information about a specific opportunity by ID. Tool to retrieve complete opportunity details including account, contacts, pipeline stage, value, dates, and other metadata. Use when you need to fetch information about a specific opportunity in Salesflare.",
|
|
82
82
|
input: SalesflareGetOpportunityInput,
|
|
83
83
|
output: z.object({
|
|
84
|
-
id: z.number().int().describe("Unique identifier of the opportunity"),
|
|
84
|
+
id: z.number().int().describe("Unique identifier of the opportunity").nullable(),
|
|
85
85
|
done: z.boolean().describe("Whether the opportunity is closed (won or lost)").nullable().optional(),
|
|
86
86
|
name: z.string().describe("Name of the opportunity").nullable().optional(),
|
|
87
87
|
tags: z.array(SalesflareGetOpportunity_TagInfoSchema).describe("Tags associated with the opportunity").nullable().optional(),
|
|
@@ -113,7 +113,7 @@ const salesflareGetOpportunity = action("SALESFLARE_GET_OPPORTUNITY", {
|
|
|
113
113
|
modification_date: z.string().describe("Date when the opportunity was last modified (ISO 8601 format)").nullable().optional(),
|
|
114
114
|
contract_start_date: z.string().describe("Start date of the contract").nullable().optional(),
|
|
115
115
|
recurring_price_per_unit: z.number().describe("Recurring price per unit for subscription-based opportunities").nullable().optional()
|
|
116
|
-
}).describe("Response containing detailed opportunity information.")
|
|
116
|
+
}).passthrough().describe("Response containing detailed opportunity information.")
|
|
117
117
|
});
|
|
118
118
|
//#endregion
|
|
119
119
|
export { salesflareGetOpportunity };
|