@keystrokehq/salesflare 0.1.0 → 0.1.2
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 +1 -1
- package/dist/actions/add-account-contacts.cjs.map +1 -1
- package/dist/actions/add-account-contacts.d.cts +15 -3
- package/dist/actions/add-account-contacts.d.cts.map +1 -1
- package/dist/actions/add-account-contacts.d.mts +15 -3
- package/dist/actions/add-account-contacts.d.mts.map +1 -1
- package/dist/actions/add-account-contacts.mjs +1 -1
- package/dist/actions/add-account-contacts.mjs.map +1 -1
- package/dist/actions/create-account.cjs +2 -2
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +107 -3
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +107 -3
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +2 -2
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-call.cjs.map +1 -1
- package/dist/actions/create-call.d.cts +32 -3
- package/dist/actions/create-call.d.cts.map +1 -1
- package/dist/actions/create-call.d.mts +32 -3
- package/dist/actions/create-call.d.mts.map +1 -1
- package/dist/actions/create-call.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -1
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +117 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +117 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -1
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +53 -3
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +53 -3
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs.map +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.map +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.map +1 -1
- package/dist/actions/create-opportunity.cjs +1 -1
- 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 +1 -1
- package/dist/actions/create-opportunity.mjs.map +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.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.map +1 -1
- package/dist/actions/create-workflow.d.cts +147 -3
- package/dist/actions/create-workflow.d.cts.map +1 -1
- package/dist/actions/create-workflow.d.mts +147 -3
- package/dist/actions/create-workflow.d.mts.map +1 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-internal-note.cjs +3 -3
- 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 +3 -3
- 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.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.map +1 -1
- 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.map +1 -1
- package/dist/actions/get-contact.cjs +1 -1
- 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 +1 -1
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-current-user.mjs.map +1 -1
- 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.map +1 -1
- package/dist/actions/get-meeting.cjs +1 -1
- 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 +1 -1
- package/dist/actions/get-meeting.mjs.map +1 -1
- package/dist/actions/get-opportunity.cjs +11 -11
- 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 +11 -11
- package/dist/actions/get-opportunity.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +1 -1
- 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 +1 -1
- package/dist/actions/get-stage.mjs.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/actions/get-workflow-merge-fields.cjs +1 -1
- 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 +1 -1
- package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
- package/dist/actions/get-workflow.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-workflow.mjs.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-contacts.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-currencies.mjs.map +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.map +1 -1
- package/dist/actions/list-custom-field-types.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-custom-field-types.mjs.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-email-datasources.cjs +10 -10
- 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 +10 -10
- package/dist/actions/list-email-datasources.mjs.map +1 -1
- package/dist/actions/list-filter-fields.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-filter-fields.mjs.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-my-contacts.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-my-contacts.mjs.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-persons.cjs +1 -1
- 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 +1 -1
- package/dist/actions/list-persons.mjs.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -1
- 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 +1 -1
- package/dist/actions/list-tasks.mjs.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-workflows.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-workflows.mjs.map +1 -1
- package/dist/actions/update-account-contacts.cjs +1 -1
- package/dist/actions/update-account-contacts.cjs.map +1 -1
- package/dist/actions/update-account-contacts.d.cts +19 -3
- package/dist/actions/update-account-contacts.d.cts.map +1 -1
- package/dist/actions/update-account-contacts.d.mts +19 -3
- package/dist/actions/update-account-contacts.d.mts.map +1 -1
- package/dist/actions/update-account-contacts.mjs +1 -1
- package/dist/actions/update-account-contacts.mjs.map +1 -1
- package/dist/actions/update-account-users.cjs +1 -1
- package/dist/actions/update-account-users.cjs.map +1 -1
- package/dist/actions/update-account-users.d.cts +19 -3
- package/dist/actions/update-account-users.d.cts.map +1 -1
- package/dist/actions/update-account-users.d.mts +19 -3
- package/dist/actions/update-account-users.d.mts.map +1 -1
- package/dist/actions/update-account-users.mjs +1 -1
- package/dist/actions/update-account-users.mjs.map +1 -1
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +132 -3
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +132 -3
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs.map +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.map +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +131 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +131 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +1 -1
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +76 -3
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +76 -3
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +1 -1
- 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.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.map +1 -1
- 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.map +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.map +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.map +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.map +1 -1
- package/dist/actions/update-workflow.cjs.map +1 -1
- package/dist/actions/update-workflow.d.cts +101 -3
- package/dist/actions/update-workflow.d.cts.map +1 -1
- package/dist/actions/update-workflow.d.mts +101 -3
- package/dist/actions/update-workflow.d.mts.map +1 -1
- 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,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-field.d.ts
|
|
4
|
-
declare const SalesflareGetCustomFieldInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SalesflareGetCustomFieldInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
item_class: z.ZodEnum<{
|
|
7
|
+
contacts: "contacts";
|
|
8
|
+
accounts: "accounts";
|
|
9
|
+
opportunities: "opportunities";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const SalesflareGetCustomFieldOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
|
+
}, z.core.$strip>>>>;
|
|
28
|
+
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
+
max_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
min_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
+
required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
max_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
min_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
|
+
pipelineName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
order_alphabetically: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
|
+
default_boolean_value: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
|
+
users_can_add_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
|
+
predefined_customfield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const salesflareGetCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
42
|
+
id: number;
|
|
43
|
+
item_class: "contacts" | "accounts" | "opportunities";
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { salesflareGetCustomField };
|
|
9
47
|
//# sourceMappingURL=get-custom-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-field.d.mts","names":[],"sources":["../../src/actions/get-custom-field.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-field.d.mts","names":[],"sources":["../../src/actions/get-custom-field.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-field.mjs","names":[],"sources":["../../src/actions/get-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetCustomFieldInput
|
|
1
|
+
{"version":3,"file":"get-custom-field.mjs","names":[],"sources":["../../src/actions/get-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareGetCustomFieldInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field to retrieve\"),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of item the custom field belongs to (accounts, contacts, or opportunities)\"),\n}).describe(\"Request model for retrieving a custom field.\");\nconst SalesflareGetCustomField_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the type\").nullable().optional(),\n name: z.string().describe(\"Name of the type\").nullable().optional(),\n type: z.string().describe(\"Type string identifier (e.g., 'text', 'number', 'select')\").nullable().optional(),\n}).describe(\"Model for custom field type information.\");\nconst SalesflareGetCustomField_CustomFieldOptionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the option\").nullable().optional(),\n name: z.string().describe(\"Display name of the option\").nullable().optional(),\n order: z.number().int().describe(\"Order position of the option in the list\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the option is archived\").nullable().optional(),\n}).describe(\"Model for custom field option.\");\nexport const SalesflareGetCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable().optional(),\n name: z.string().describe(\"Name of the custom field\").nullable().optional(),\n type: SalesflareGetCustomField_CustomFieldTypeSchema.nullable().optional(),\n order: z.number().int().describe(\"Order position of the custom field\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled\").nullable().optional(),\n options: z.array(SalesflareGetCustomField_CustomFieldOptionSchema).describe(\"List of available options for this custom field (for select/multi-select types)\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date constraint for date-type custom fields (ISO 8601 format)\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date constraint for date-type custom fields (ISO 8601 format)\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline identifier the custom field is associated with\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required\").nullable().optional(),\n max_number: z.number().describe(\"Maximum value constraint for number-type custom fields\").nullable().optional(),\n min_number: z.number().describe(\"Minimum value constraint for number-type custom fields\").nullable().optional(),\n pipelineName: z.string().describe(\"Name of the pipeline the custom field is associated with\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically\").nullable().optional(),\n default_boolean_value: z.boolean().describe(\"Default value for boolean-type custom fields\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to this custom field\").nullable().optional(),\n predefined_customfield: z.number().int().describe(\"Identifier of the predefined custom field this is based on, if any\").nullable().optional(),\n}).describe(\"Response model for a custom field.\");\n\nexport const salesflareGetCustomField = action(\"SALESFLARE_GET_CUSTOM_FIELD\", {\n slug: \"salesflare-get-custom-field\",\n name: \"Get Custom Field Details\",\n description: \"Tool to retrieve details of a specific custom field. Use when you need to fetch information about a custom field configuration for accounts, contacts, or opportunities.\",\n input: SalesflareGetCustomFieldInput,\n output: SalesflareGetCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACrF,YAAY,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SalesflareGetMeeting_ParticipantSchema = zod.z.object({
|
|
|
8
8
|
email: zod.z.string().describe("Email address of the participant").nullable().optional()
|
|
9
9
|
}).describe("Model representing a meeting participant.");
|
|
10
10
|
const SalesflareGetMeetingOutput = zod.z.object({
|
|
11
|
-
id: zod.z.number().int().describe("Unique identifier of the meeting"),
|
|
11
|
+
id: zod.z.number().int().describe("Unique identifier of the meeting").nullable(),
|
|
12
12
|
date: zod.z.string().describe("Start date and time of the meeting in ISO 8601 format").nullable().optional(),
|
|
13
13
|
type: zod.z.string().describe("Type of meeting (e.g., 'meeting-live', 'meeting-phone')").nullable().optional(),
|
|
14
14
|
notes: zod.z.string().describe("Notes about the meeting (replaces deprecated 'minutes' field)").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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}).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: SalesflareGetMeetingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,EACvI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-meeting.d.ts
|
|
4
|
-
declare const SalesflareGetMeetingInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SalesflareGetMeetingInput: z.ZodObject<{
|
|
5
|
+
meeting_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SalesflareGetMeetingOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
phone_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>>>>;
|
|
21
|
+
phone_number_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const salesflareGetMeeting: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
meeting_id: number;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { salesflareGetMeeting };
|
|
9
28
|
//# sourceMappingURL=get-meeting.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting.d.cts","names":[],"sources":["../../src/actions/get-meeting.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-meeting.d.cts","names":[],"sources":["../../src/actions/get-meeting.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAa1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-meeting.d.ts
|
|
4
|
-
declare const SalesflareGetMeetingInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SalesflareGetMeetingInput: z.ZodObject<{
|
|
5
|
+
meeting_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const SalesflareGetMeetingOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
phone_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>>>>;
|
|
21
|
+
phone_number_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const salesflareGetMeeting: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
meeting_id: number;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { salesflareGetMeeting };
|
|
9
28
|
//# sourceMappingURL=get-meeting.d.mts.map
|
|
@@ -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"}
|
|
@@ -13,7 +13,7 @@ const salesflareGetMeeting = action("SALESFLARE_GET_MEETING", {
|
|
|
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}).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: SalesflareGetMeetingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,EACvI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAcvD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,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,18 +3,18 @@ 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
8
|
}).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
15
|
}).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(),
|
|
@@ -23,20 +23,20 @@ const SalesflareGetOpportunity_StageInfoSchema = zod.z.object({
|
|
|
23
23
|
probability: zod.z.number().describe("Win probability percentage for this stage").nullable().optional()
|
|
24
24
|
}).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
31
|
}).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
37
|
}).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
42
|
}).describe("Currency information for the opportunity.");
|
|
@@ -45,16 +45,16 @@ const SalesflareGetOpportunity_PipelineInfoSchema = zod.z.object({
|
|
|
45
45
|
name: zod.z.string().describe("Name of the pipeline").nullable().optional()
|
|
46
46
|
}).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
50
|
}).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
55
|
}).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(),
|
|
@@ -62,7 +62,7 @@ const SalesflareGetOpportunity_MainContactInfoSchema = zod.z.object({
|
|
|
62
62
|
}).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")
|
|
65
|
+
duration_in_seconds: zod.z.number().int().describe("Duration spent in this stage in seconds").nullable()
|
|
66
66
|
}).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(),
|
|
@@ -76,7 +76,7 @@ const SalesflareGetOpportunity_LastInteractionInfoSchema = zod.z.object({
|
|
|
76
76
|
description: zod.z.string().describe("Description of the last interaction").nullable().optional()
|
|
77
77
|
}).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(),
|
|
@@ -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,8BAA8B;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC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AAS,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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,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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,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.$strip>>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>;
|
|
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.$strip>>>>;
|
|
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.$strip>>>;
|
|
93
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
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.$strip>;
|
|
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"}
|