@keystrokehq/salesflare 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-account-contacts.cjs +19 -0
- package/dist/actions/add-account-contacts.cjs.map +1 -0
- package/dist/actions/add-account-contacts.d.cts +9 -0
- package/dist/actions/add-account-contacts.d.cts.map +1 -0
- package/dist/actions/add-account-contacts.d.mts +9 -0
- package/dist/actions/add-account-contacts.d.mts.map +1 -0
- package/dist/actions/add-account-contacts.mjs +16 -0
- package/dist/actions/add-account-contacts.mjs.map +1 -0
- package/dist/actions/create-account.cjs +83 -0
- package/dist/actions/create-account.cjs.map +1 -0
- package/dist/actions/create-account.d.cts +9 -0
- package/dist/actions/create-account.d.cts.map +1 -0
- package/dist/actions/create-account.d.mts +9 -0
- package/dist/actions/create-account.d.mts.map +1 -0
- package/dist/actions/create-account.mjs +82 -0
- package/dist/actions/create-account.mjs.map +1 -0
- package/dist/actions/create-call.cjs +31 -0
- package/dist/actions/create-call.cjs.map +1 -0
- package/dist/actions/create-call.d.cts +9 -0
- package/dist/actions/create-call.d.cts.map +1 -0
- package/dist/actions/create-call.d.mts +9 -0
- package/dist/actions/create-call.d.mts.map +1 -0
- package/dist/actions/create-call.mjs +30 -0
- package/dist/actions/create-call.mjs.map +1 -0
- package/dist/actions/create-contact.cjs +71 -0
- package/dist/actions/create-contact.cjs.map +1 -0
- package/dist/actions/create-contact.d.cts +9 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +9 -0
- package/dist/actions/create-contact.d.mts.map +1 -0
- package/dist/actions/create-contact.mjs +70 -0
- package/dist/actions/create-contact.mjs.map +1 -0
- package/dist/actions/create-custom-field.cjs +42 -0
- package/dist/actions/create-custom-field.cjs.map +1 -0
- package/dist/actions/create-custom-field.d.cts +9 -0
- package/dist/actions/create-custom-field.d.cts.map +1 -0
- package/dist/actions/create-custom-field.d.mts +9 -0
- package/dist/actions/create-custom-field.d.mts.map +1 -0
- package/dist/actions/create-custom-field.mjs +39 -0
- package/dist/actions/create-custom-field.mjs.map +1 -0
- package/dist/actions/create-internal-note.cjs +29 -0
- package/dist/actions/create-internal-note.cjs.map +1 -0
- package/dist/actions/create-internal-note.d.cts +9 -0
- package/dist/actions/create-internal-note.d.cts.map +1 -0
- package/dist/actions/create-internal-note.d.mts +9 -0
- package/dist/actions/create-internal-note.d.mts.map +1 -0
- package/dist/actions/create-internal-note.mjs +26 -0
- package/dist/actions/create-internal-note.mjs.map +1 -0
- package/dist/actions/create-meeting.cjs +30 -0
- package/dist/actions/create-meeting.cjs.map +1 -0
- package/dist/actions/create-meeting.d.cts +9 -0
- package/dist/actions/create-meeting.d.cts.map +1 -0
- package/dist/actions/create-meeting.d.mts +9 -0
- package/dist/actions/create-meeting.d.mts.map +1 -0
- package/dist/actions/create-meeting.mjs +27 -0
- package/dist/actions/create-meeting.mjs.map +1 -0
- package/dist/actions/create-opportunity.cjs +44 -0
- package/dist/actions/create-opportunity.cjs.map +1 -0
- package/dist/actions/create-opportunity.d.cts +9 -0
- package/dist/actions/create-opportunity.d.cts.map +1 -0
- package/dist/actions/create-opportunity.d.mts +9 -0
- package/dist/actions/create-opportunity.d.mts.map +1 -0
- package/dist/actions/create-opportunity.mjs +41 -0
- package/dist/actions/create-opportunity.mjs.map +1 -0
- package/dist/actions/create-tag.cjs +16 -0
- package/dist/actions/create-tag.cjs.map +1 -0
- package/dist/actions/create-tag.d.cts +9 -0
- package/dist/actions/create-tag.d.cts.map +1 -0
- package/dist/actions/create-tag.d.mts +9 -0
- package/dist/actions/create-tag.d.mts.map +1 -0
- package/dist/actions/create-tag.mjs +13 -0
- package/dist/actions/create-tag.mjs.map +1 -0
- package/dist/actions/create-task.cjs +21 -0
- package/dist/actions/create-task.cjs.map +1 -0
- package/dist/actions/create-task.d.cts +9 -0
- package/dist/actions/create-task.d.cts.map +1 -0
- package/dist/actions/create-task.d.mts +9 -0
- package/dist/actions/create-task.d.mts.map +1 -0
- package/dist/actions/create-task.mjs +18 -0
- package/dist/actions/create-task.mjs.map +1 -0
- package/dist/actions/create-workflow.cjs +97 -0
- package/dist/actions/create-workflow.cjs.map +1 -0
- package/dist/actions/create-workflow.d.cts +9 -0
- package/dist/actions/create-workflow.d.cts.map +1 -0
- package/dist/actions/create-workflow.d.mts +9 -0
- package/dist/actions/create-workflow.d.mts.map +1 -0
- package/dist/actions/create-workflow.mjs +94 -0
- package/dist/actions/create-workflow.mjs.map +1 -0
- package/dist/actions/delete-account.cjs +16 -0
- package/dist/actions/delete-account.cjs.map +1 -0
- package/dist/actions/delete-account.d.cts +9 -0
- package/dist/actions/delete-account.d.cts.map +1 -0
- package/dist/actions/delete-account.d.mts +9 -0
- package/dist/actions/delete-account.d.mts.map +1 -0
- package/dist/actions/delete-account.mjs +13 -0
- package/dist/actions/delete-account.mjs.map +1 -0
- package/dist/actions/delete-contact.cjs +19 -0
- package/dist/actions/delete-contact.cjs.map +1 -0
- package/dist/actions/delete-contact.d.cts +9 -0
- package/dist/actions/delete-contact.d.cts.map +1 -0
- package/dist/actions/delete-contact.d.mts +9 -0
- package/dist/actions/delete-contact.d.mts.map +1 -0
- package/dist/actions/delete-contact.mjs +16 -0
- package/dist/actions/delete-contact.mjs.map +1 -0
- package/dist/actions/delete-custom-field.cjs +26 -0
- package/dist/actions/delete-custom-field.cjs.map +1 -0
- package/dist/actions/delete-custom-field.d.cts +9 -0
- package/dist/actions/delete-custom-field.d.cts.map +1 -0
- package/dist/actions/delete-custom-field.d.mts +9 -0
- package/dist/actions/delete-custom-field.d.mts.map +1 -0
- package/dist/actions/delete-custom-field.mjs +23 -0
- package/dist/actions/delete-custom-field.mjs.map +1 -0
- package/dist/actions/delete-internal-note.cjs +20 -0
- package/dist/actions/delete-internal-note.cjs.map +1 -0
- package/dist/actions/delete-internal-note.d.cts +9 -0
- package/dist/actions/delete-internal-note.d.cts.map +1 -0
- package/dist/actions/delete-internal-note.d.mts +9 -0
- package/dist/actions/delete-internal-note.d.mts.map +1 -0
- package/dist/actions/delete-internal-note.mjs +17 -0
- package/dist/actions/delete-internal-note.mjs.map +1 -0
- package/dist/actions/delete-meeting.cjs +16 -0
- package/dist/actions/delete-meeting.cjs.map +1 -0
- package/dist/actions/delete-meeting.d.cts +9 -0
- package/dist/actions/delete-meeting.d.cts.map +1 -0
- package/dist/actions/delete-meeting.d.mts +9 -0
- package/dist/actions/delete-meeting.d.mts.map +1 -0
- package/dist/actions/delete-meeting.mjs +13 -0
- package/dist/actions/delete-meeting.mjs.map +1 -0
- package/dist/actions/delete-opportunity.cjs +16 -0
- package/dist/actions/delete-opportunity.cjs.map +1 -0
- package/dist/actions/delete-opportunity.d.cts +9 -0
- package/dist/actions/delete-opportunity.d.cts.map +1 -0
- package/dist/actions/delete-opportunity.d.mts +9 -0
- package/dist/actions/delete-opportunity.d.mts.map +1 -0
- package/dist/actions/delete-opportunity.mjs +13 -0
- package/dist/actions/delete-opportunity.mjs.map +1 -0
- package/dist/actions/delete-tag.cjs +16 -0
- package/dist/actions/delete-tag.cjs.map +1 -0
- package/dist/actions/delete-tag.d.cts +9 -0
- package/dist/actions/delete-tag.d.cts.map +1 -0
- package/dist/actions/delete-tag.d.mts +9 -0
- package/dist/actions/delete-tag.d.mts.map +1 -0
- package/dist/actions/delete-tag.mjs +13 -0
- package/dist/actions/delete-tag.mjs.map +1 -0
- package/dist/actions/delete-task.cjs +16 -0
- package/dist/actions/delete-task.cjs.map +1 -0
- package/dist/actions/delete-task.d.cts +9 -0
- package/dist/actions/delete-task.d.cts.map +1 -0
- package/dist/actions/delete-task.d.mts +9 -0
- package/dist/actions/delete-task.d.mts.map +1 -0
- package/dist/actions/delete-task.mjs +13 -0
- package/dist/actions/delete-task.mjs.map +1 -0
- package/dist/actions/get-account.cjs +80 -0
- package/dist/actions/get-account.cjs.map +1 -0
- package/dist/actions/get-account.d.cts +9 -0
- package/dist/actions/get-account.d.cts.map +1 -0
- package/dist/actions/get-account.d.mts +9 -0
- package/dist/actions/get-account.d.mts.map +1 -0
- package/dist/actions/get-account.mjs +79 -0
- package/dist/actions/get-account.mjs.map +1 -0
- package/dist/actions/get-ai-settings.cjs +28 -0
- package/dist/actions/get-ai-settings.cjs.map +1 -0
- package/dist/actions/get-ai-settings.d.cts +9 -0
- package/dist/actions/get-ai-settings.d.cts.map +1 -0
- package/dist/actions/get-ai-settings.d.mts +9 -0
- package/dist/actions/get-ai-settings.d.mts.map +1 -0
- package/dist/actions/get-ai-settings.mjs +27 -0
- package/dist/actions/get-ai-settings.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +102 -0
- package/dist/actions/get-contact.cjs.map +1 -0
- package/dist/actions/get-contact.d.cts +9 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +9 -0
- package/dist/actions/get-contact.d.mts.map +1 -0
- package/dist/actions/get-contact.mjs +101 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-current-user.cjs +177 -0
- package/dist/actions/get-current-user.cjs.map +1 -0
- package/dist/actions/get-current-user.d.cts +9 -0
- package/dist/actions/get-current-user.d.cts.map +1 -0
- package/dist/actions/get-current-user.d.mts +9 -0
- package/dist/actions/get-current-user.d.mts.map +1 -0
- package/dist/actions/get-current-user.mjs +176 -0
- package/dist/actions/get-current-user.mjs.map +1 -0
- package/dist/actions/get-custom-field.cjs +53 -0
- package/dist/actions/get-custom-field.cjs.map +1 -0
- package/dist/actions/get-custom-field.d.cts +9 -0
- package/dist/actions/get-custom-field.d.cts.map +1 -0
- package/dist/actions/get-custom-field.d.mts +9 -0
- package/dist/actions/get-custom-field.d.mts.map +1 -0
- package/dist/actions/get-custom-field.mjs +52 -0
- package/dist/actions/get-custom-field.mjs.map +1 -0
- package/dist/actions/get-meeting.cjs +32 -0
- package/dist/actions/get-meeting.cjs.map +1 -0
- package/dist/actions/get-meeting.d.cts +9 -0
- package/dist/actions/get-meeting.d.cts.map +1 -0
- package/dist/actions/get-meeting.d.mts +9 -0
- package/dist/actions/get-meeting.d.mts.map +1 -0
- package/dist/actions/get-meeting.mjs +31 -0
- package/dist/actions/get-meeting.mjs.map +1 -0
- package/dist/actions/get-opportunity.cjs +122 -0
- package/dist/actions/get-opportunity.cjs.map +1 -0
- package/dist/actions/get-opportunity.d.cts +9 -0
- package/dist/actions/get-opportunity.d.cts.map +1 -0
- package/dist/actions/get-opportunity.d.mts +9 -0
- package/dist/actions/get-opportunity.d.mts.map +1 -0
- package/dist/actions/get-opportunity.mjs +121 -0
- package/dist/actions/get-opportunity.mjs.map +1 -0
- package/dist/actions/get-stage.cjs +31 -0
- package/dist/actions/get-stage.cjs.map +1 -0
- package/dist/actions/get-stage.d.cts +9 -0
- package/dist/actions/get-stage.d.cts.map +1 -0
- package/dist/actions/get-stage.d.mts +9 -0
- package/dist/actions/get-stage.d.mts.map +1 -0
- package/dist/actions/get-stage.mjs +30 -0
- package/dist/actions/get-stage.mjs.map +1 -0
- package/dist/actions/get-tag-usage.cjs +35 -0
- package/dist/actions/get-tag-usage.cjs.map +1 -0
- package/dist/actions/get-tag-usage.d.cts +9 -0
- package/dist/actions/get-tag-usage.d.cts.map +1 -0
- package/dist/actions/get-tag-usage.d.mts +9 -0
- package/dist/actions/get-tag-usage.d.mts.map +1 -0
- package/dist/actions/get-tag-usage.mjs +34 -0
- package/dist/actions/get-tag-usage.mjs.map +1 -0
- package/dist/actions/get-user.cjs +79 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +78 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/get-workflow-merge-fields.cjs +24 -0
- package/dist/actions/get-workflow-merge-fields.cjs.map +1 -0
- package/dist/actions/get-workflow-merge-fields.d.cts +9 -0
- package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -0
- package/dist/actions/get-workflow-merge-fields.d.mts +9 -0
- package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -0
- package/dist/actions/get-workflow-merge-fields.mjs +23 -0
- package/dist/actions/get-workflow-merge-fields.mjs.map +1 -0
- package/dist/actions/get-workflow.cjs +111 -0
- package/dist/actions/get-workflow.cjs.map +1 -0
- package/dist/actions/get-workflow.d.cts +9 -0
- package/dist/actions/get-workflow.d.cts.map +1 -0
- package/dist/actions/get-workflow.d.mts +9 -0
- package/dist/actions/get-workflow.d.mts.map +1 -0
- package/dist/actions/get-workflow.mjs +110 -0
- package/dist/actions/get-workflow.mjs.map +1 -0
- package/dist/actions/index.cjs +127 -0
- package/dist/actions/index.d.cts +64 -0
- package/dist/actions/index.d.mts +64 -0
- package/dist/actions/index.mjs +64 -0
- package/dist/actions/list-account-messages.cjs +42 -0
- package/dist/actions/list-account-messages.cjs.map +1 -0
- package/dist/actions/list-account-messages.d.cts +9 -0
- package/dist/actions/list-account-messages.d.cts.map +1 -0
- package/dist/actions/list-account-messages.d.mts +9 -0
- package/dist/actions/list-account-messages.d.mts.map +1 -0
- package/dist/actions/list-account-messages.mjs +41 -0
- package/dist/actions/list-account-messages.mjs.map +1 -0
- package/dist/actions/list-accounts.cjs +82 -0
- package/dist/actions/list-accounts.cjs.map +1 -0
- package/dist/actions/list-accounts.d.cts +9 -0
- package/dist/actions/list-accounts.d.cts.map +1 -0
- package/dist/actions/list-accounts.d.mts +9 -0
- package/dist/actions/list-accounts.d.mts.map +1 -0
- package/dist/actions/list-accounts.mjs +81 -0
- package/dist/actions/list-accounts.mjs.map +1 -0
- package/dist/actions/list-contacts.cjs +128 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +127 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-currencies.cjs +21 -0
- package/dist/actions/list-currencies.cjs.map +1 -0
- package/dist/actions/list-currencies.d.cts +9 -0
- package/dist/actions/list-currencies.d.cts.map +1 -0
- package/dist/actions/list-currencies.d.mts +9 -0
- package/dist/actions/list-currencies.d.mts.map +1 -0
- package/dist/actions/list-currencies.mjs +20 -0
- package/dist/actions/list-currencies.mjs.map +1 -0
- package/dist/actions/list-custom-field-options.cjs +24 -0
- package/dist/actions/list-custom-field-options.cjs.map +1 -0
- package/dist/actions/list-custom-field-options.d.cts +9 -0
- package/dist/actions/list-custom-field-options.d.cts.map +1 -0
- package/dist/actions/list-custom-field-options.d.mts +9 -0
- package/dist/actions/list-custom-field-options.d.mts.map +1 -0
- package/dist/actions/list-custom-field-options.mjs +21 -0
- package/dist/actions/list-custom-field-options.mjs.map +1 -0
- package/dist/actions/list-custom-field-types.cjs +22 -0
- package/dist/actions/list-custom-field-types.cjs.map +1 -0
- package/dist/actions/list-custom-field-types.d.cts +9 -0
- package/dist/actions/list-custom-field-types.d.cts.map +1 -0
- package/dist/actions/list-custom-field-types.d.mts +9 -0
- package/dist/actions/list-custom-field-types.d.mts.map +1 -0
- package/dist/actions/list-custom-field-types.mjs +21 -0
- package/dist/actions/list-custom-field-types.mjs.map +1 -0
- package/dist/actions/list-custom-fields.cjs +53 -0
- package/dist/actions/list-custom-fields.cjs.map +1 -0
- package/dist/actions/list-custom-fields.d.cts +9 -0
- package/dist/actions/list-custom-fields.d.cts.map +1 -0
- package/dist/actions/list-custom-fields.d.mts +9 -0
- package/dist/actions/list-custom-fields.d.mts.map +1 -0
- package/dist/actions/list-custom-fields.mjs +52 -0
- package/dist/actions/list-custom-fields.mjs.map +1 -0
- package/dist/actions/list-email-datasources.cjs +56 -0
- package/dist/actions/list-email-datasources.cjs.map +1 -0
- package/dist/actions/list-email-datasources.d.cts +9 -0
- package/dist/actions/list-email-datasources.d.cts.map +1 -0
- package/dist/actions/list-email-datasources.d.mts +9 -0
- package/dist/actions/list-email-datasources.d.mts.map +1 -0
- package/dist/actions/list-email-datasources.mjs +55 -0
- package/dist/actions/list-email-datasources.mjs.map +1 -0
- package/dist/actions/list-filter-fields.cjs +131 -0
- package/dist/actions/list-filter-fields.cjs.map +1 -0
- package/dist/actions/list-filter-fields.d.cts +9 -0
- package/dist/actions/list-filter-fields.d.cts.map +1 -0
- package/dist/actions/list-filter-fields.d.mts +9 -0
- package/dist/actions/list-filter-fields.d.mts.map +1 -0
- package/dist/actions/list-filter-fields.mjs +130 -0
- package/dist/actions/list-filter-fields.mjs.map +1 -0
- package/dist/actions/list-groups.cjs +20 -0
- package/dist/actions/list-groups.cjs.map +1 -0
- package/dist/actions/list-groups.d.cts +9 -0
- package/dist/actions/list-groups.d.cts.map +1 -0
- package/dist/actions/list-groups.d.mts +9 -0
- package/dist/actions/list-groups.d.mts.map +1 -0
- package/dist/actions/list-groups.mjs +19 -0
- package/dist/actions/list-groups.mjs.map +1 -0
- package/dist/actions/list-my-contacts.cjs +128 -0
- package/dist/actions/list-my-contacts.cjs.map +1 -0
- package/dist/actions/list-my-contacts.d.cts +9 -0
- package/dist/actions/list-my-contacts.d.cts.map +1 -0
- package/dist/actions/list-my-contacts.d.mts +9 -0
- package/dist/actions/list-my-contacts.d.mts.map +1 -0
- package/dist/actions/list-my-contacts.mjs +127 -0
- package/dist/actions/list-my-contacts.mjs.map +1 -0
- package/dist/actions/list-opportunities.cjs +114 -0
- package/dist/actions/list-opportunities.cjs.map +1 -0
- package/dist/actions/list-opportunities.d.cts +9 -0
- package/dist/actions/list-opportunities.d.cts.map +1 -0
- package/dist/actions/list-opportunities.d.mts +9 -0
- package/dist/actions/list-opportunities.d.mts.map +1 -0
- package/dist/actions/list-opportunities.mjs +113 -0
- package/dist/actions/list-opportunities.mjs.map +1 -0
- package/dist/actions/list-persons.cjs +56 -0
- package/dist/actions/list-persons.cjs.map +1 -0
- package/dist/actions/list-persons.d.cts +9 -0
- package/dist/actions/list-persons.d.cts.map +1 -0
- package/dist/actions/list-persons.d.mts +9 -0
- package/dist/actions/list-persons.d.mts.map +1 -0
- package/dist/actions/list-persons.mjs +55 -0
- package/dist/actions/list-persons.mjs.map +1 -0
- package/dist/actions/list-pipelines.cjs +55 -0
- package/dist/actions/list-pipelines.cjs.map +1 -0
- package/dist/actions/list-pipelines.d.cts +9 -0
- package/dist/actions/list-pipelines.d.cts.map +1 -0
- package/dist/actions/list-pipelines.d.mts +9 -0
- package/dist/actions/list-pipelines.d.mts.map +1 -0
- package/dist/actions/list-pipelines.mjs +54 -0
- package/dist/actions/list-pipelines.mjs.map +1 -0
- package/dist/actions/list-stages.cjs +39 -0
- package/dist/actions/list-stages.cjs.map +1 -0
- package/dist/actions/list-stages.d.cts +9 -0
- package/dist/actions/list-stages.d.cts.map +1 -0
- package/dist/actions/list-stages.d.mts +9 -0
- package/dist/actions/list-stages.d.mts.map +1 -0
- package/dist/actions/list-stages.mjs +38 -0
- package/dist/actions/list-stages.mjs.map +1 -0
- package/dist/actions/list-tags.cjs +34 -0
- package/dist/actions/list-tags.cjs.map +1 -0
- package/dist/actions/list-tags.d.cts +9 -0
- package/dist/actions/list-tags.d.cts.map +1 -0
- package/dist/actions/list-tags.d.mts +9 -0
- package/dist/actions/list-tags.d.mts.map +1 -0
- package/dist/actions/list-tags.mjs +33 -0
- package/dist/actions/list-tags.mjs.map +1 -0
- package/dist/actions/list-tasks.cjs +68 -0
- package/dist/actions/list-tasks.cjs.map +1 -0
- package/dist/actions/list-tasks.d.cts +9 -0
- package/dist/actions/list-tasks.d.cts.map +1 -0
- package/dist/actions/list-tasks.d.mts +9 -0
- package/dist/actions/list-tasks.d.mts.map +1 -0
- package/dist/actions/list-tasks.mjs +67 -0
- package/dist/actions/list-tasks.mjs.map +1 -0
- package/dist/actions/list-users.cjs +89 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +88 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/list-workflows.cjs +81 -0
- package/dist/actions/list-workflows.cjs.map +1 -0
- package/dist/actions/list-workflows.d.cts +9 -0
- package/dist/actions/list-workflows.d.cts.map +1 -0
- package/dist/actions/list-workflows.d.mts +9 -0
- package/dist/actions/list-workflows.d.mts.map +1 -0
- package/dist/actions/list-workflows.mjs +80 -0
- package/dist/actions/list-workflows.mjs.map +1 -0
- package/dist/actions/update-account-contacts.cjs +23 -0
- package/dist/actions/update-account-contacts.cjs.map +1 -0
- package/dist/actions/update-account-contacts.d.cts +9 -0
- package/dist/actions/update-account-contacts.d.cts.map +1 -0
- package/dist/actions/update-account-contacts.d.mts +9 -0
- package/dist/actions/update-account-contacts.d.mts.map +1 -0
- package/dist/actions/update-account-contacts.mjs +20 -0
- package/dist/actions/update-account-contacts.mjs.map +1 -0
- package/dist/actions/update-account-users.cjs +23 -0
- package/dist/actions/update-account-users.cjs.map +1 -0
- package/dist/actions/update-account-users.d.cts +9 -0
- package/dist/actions/update-account-users.d.cts.map +1 -0
- package/dist/actions/update-account-users.d.mts +9 -0
- package/dist/actions/update-account-users.d.mts.map +1 -0
- package/dist/actions/update-account-users.mjs +20 -0
- package/dist/actions/update-account-users.mjs.map +1 -0
- package/dist/actions/update-account.cjs +105 -0
- package/dist/actions/update-account.cjs.map +1 -0
- package/dist/actions/update-account.d.cts +9 -0
- package/dist/actions/update-account.d.cts.map +1 -0
- package/dist/actions/update-account.d.mts +9 -0
- package/dist/actions/update-account.d.mts.map +1 -0
- package/dist/actions/update-account.mjs +104 -0
- package/dist/actions/update-account.mjs.map +1 -0
- package/dist/actions/update-ai-settings.cjs +26 -0
- package/dist/actions/update-ai-settings.cjs.map +1 -0
- package/dist/actions/update-ai-settings.d.cts +9 -0
- package/dist/actions/update-ai-settings.d.cts.map +1 -0
- package/dist/actions/update-ai-settings.d.mts +9 -0
- package/dist/actions/update-ai-settings.d.mts.map +1 -0
- package/dist/actions/update-ai-settings.mjs +23 -0
- package/dist/actions/update-ai-settings.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +88 -0
- package/dist/actions/update-contact.cjs.map +1 -0
- package/dist/actions/update-contact.d.cts +9 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +9 -0
- package/dist/actions/update-contact.d.mts.map +1 -0
- package/dist/actions/update-contact.mjs +85 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-custom-field.cjs +67 -0
- package/dist/actions/update-custom-field.cjs.map +1 -0
- package/dist/actions/update-custom-field.d.cts +9 -0
- package/dist/actions/update-custom-field.d.cts.map +1 -0
- package/dist/actions/update-custom-field.d.mts +9 -0
- package/dist/actions/update-custom-field.d.mts.map +1 -0
- package/dist/actions/update-custom-field.mjs +66 -0
- package/dist/actions/update-custom-field.mjs.map +1 -0
- package/dist/actions/update-email-datasource.cjs +23 -0
- package/dist/actions/update-email-datasource.cjs.map +1 -0
- package/dist/actions/update-email-datasource.d.cts +9 -0
- package/dist/actions/update-email-datasource.d.cts.map +1 -0
- package/dist/actions/update-email-datasource.d.mts +9 -0
- package/dist/actions/update-email-datasource.d.mts.map +1 -0
- package/dist/actions/update-email-datasource.mjs +20 -0
- package/dist/actions/update-email-datasource.mjs.map +1 -0
- package/dist/actions/update-internal-note.cjs +30 -0
- package/dist/actions/update-internal-note.cjs.map +1 -0
- package/dist/actions/update-internal-note.d.cts +9 -0
- package/dist/actions/update-internal-note.d.cts.map +1 -0
- package/dist/actions/update-internal-note.d.mts +9 -0
- package/dist/actions/update-internal-note.d.mts.map +1 -0
- package/dist/actions/update-internal-note.mjs +27 -0
- package/dist/actions/update-internal-note.mjs.map +1 -0
- package/dist/actions/update-opportunity.cjs +46 -0
- package/dist/actions/update-opportunity.cjs.map +1 -0
- package/dist/actions/update-opportunity.d.cts +9 -0
- package/dist/actions/update-opportunity.d.cts.map +1 -0
- package/dist/actions/update-opportunity.d.mts +9 -0
- package/dist/actions/update-opportunity.d.mts.map +1 -0
- package/dist/actions/update-opportunity.mjs +43 -0
- package/dist/actions/update-opportunity.mjs.map +1 -0
- package/dist/actions/update-tag.cjs +19 -0
- package/dist/actions/update-tag.cjs.map +1 -0
- package/dist/actions/update-tag.d.cts +9 -0
- package/dist/actions/update-tag.d.cts.map +1 -0
- package/dist/actions/update-tag.d.mts +9 -0
- package/dist/actions/update-tag.d.mts.map +1 -0
- package/dist/actions/update-tag.mjs +16 -0
- package/dist/actions/update-tag.mjs.map +1 -0
- package/dist/actions/update-task.cjs +23 -0
- package/dist/actions/update-task.cjs.map +1 -0
- package/dist/actions/update-task.d.cts +9 -0
- package/dist/actions/update-task.d.cts.map +1 -0
- package/dist/actions/update-task.d.mts +9 -0
- package/dist/actions/update-task.d.mts.map +1 -0
- package/dist/actions/update-task.mjs +20 -0
- package/dist/actions/update-task.mjs.map +1 -0
- package/dist/actions/update-workflow-audience.cjs +21 -0
- package/dist/actions/update-workflow-audience.cjs.map +1 -0
- package/dist/actions/update-workflow-audience.d.cts +9 -0
- package/dist/actions/update-workflow-audience.d.cts.map +1 -0
- package/dist/actions/update-workflow-audience.d.mts +9 -0
- package/dist/actions/update-workflow-audience.d.mts.map +1 -0
- package/dist/actions/update-workflow-audience.mjs +18 -0
- package/dist/actions/update-workflow-audience.mjs.map +1 -0
- package/dist/actions/update-workflow.cjs +64 -0
- package/dist/actions/update-workflow.cjs.map +1 -0
- package/dist/actions/update-workflow.d.cts +9 -0
- package/dist/actions/update-workflow.d.cts.map +1 -0
- package/dist/actions/update-workflow.d.mts +9 -0
- package/dist/actions/update-workflow.d.mts.map +1 -0
- package/dist/actions/update-workflow.mjs +61 -0
- package/dist/actions/update-workflow.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +132 -0
- package/dist/index.d.cts +66 -0
- package/dist/index.d.mts +66 -0
- package/dist/index.mjs +67 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-custom-field.d.ts
|
|
4
|
+
declare const SalesflareUpdateCustomFieldInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateCustomFieldOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateCustomField };
|
|
9
|
+
//# sourceMappingURL=update-custom-field.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-custom-field.d.cts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAuBuB;AAAA,cAO3D,iCAAA,EAAmC,CAAA,CAAE,UAkBiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-custom-field.d.ts
|
|
4
|
+
declare const SalesflareUpdateCustomFieldInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateCustomFieldOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateCustomField };
|
|
9
|
+
//# sourceMappingURL=update-custom-field.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-custom-field.d.mts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAuBuB;AAAA,cAO3D,iCAAA,EAAmC,CAAA,CAAE,UAkBiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-custom-field.ts
|
|
4
|
+
const SalesflareUpdateCustomFieldInput = z.object({
|
|
5
|
+
id: z.number().int().describe("ID of the custom field to update."),
|
|
6
|
+
name: z.string().describe("Updated name of the custom field.").optional(),
|
|
7
|
+
order: z.number().int().describe("Display order of the custom field.").optional(),
|
|
8
|
+
enabled: z.boolean().describe("Whether the custom field is enabled.").optional(),
|
|
9
|
+
options: z.array(z.object({
|
|
10
|
+
id: z.number().int().describe("ID of the option (for updates).").optional(),
|
|
11
|
+
name: z.string().describe("Name of the option."),
|
|
12
|
+
order: z.number().int().describe("Display order of the option.").optional(),
|
|
13
|
+
archived: z.boolean().describe("Whether the option is archived.").optional()
|
|
14
|
+
}).describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
15
|
+
archived: z.boolean().describe("Whether the custom field is archived.").optional(),
|
|
16
|
+
max_date: z.string().describe("Maximum date for date type fields in ISO 8601 format.").optional(),
|
|
17
|
+
min_date: z.string().describe("Minimum date for date type fields in ISO 8601 format.").optional(),
|
|
18
|
+
pipeline: z.number().int().describe("Pipeline ID to associate with the custom field (for opportunities).").optional(),
|
|
19
|
+
required: z.boolean().describe("Whether the custom field is required.").optional(),
|
|
20
|
+
item_class: z.enum([
|
|
21
|
+
"accounts",
|
|
22
|
+
"contacts",
|
|
23
|
+
"opportunities"
|
|
24
|
+
]).describe("The entity type for which the custom field is being updated. Must be one of: accounts, contacts, or opportunities."),
|
|
25
|
+
max_number: z.number().describe("Maximum value for number type fields.").optional(),
|
|
26
|
+
min_number: z.number().describe("Minimum value for number type fields.").optional(),
|
|
27
|
+
pipelineName: z.string().describe("Name of the pipeline associated with the custom field.").optional(),
|
|
28
|
+
order_alphabetically: z.boolean().describe("Whether options should be ordered alphabetically.").optional(),
|
|
29
|
+
users_can_add_options: z.boolean().describe("Whether users can add new options to select/multi-select fields.").optional(),
|
|
30
|
+
predefined_customfield: z.number().int().describe("ID of a predefined custom field template.").optional()
|
|
31
|
+
}).describe("Request schema for updating a custom field in Salesflare.");
|
|
32
|
+
const SalesflareUpdateCustomField_CustomFieldOptionSchema = z.object({
|
|
33
|
+
id: z.number().int().describe("ID of the option (for updates).").nullable().optional(),
|
|
34
|
+
name: z.string().describe("Name of the option."),
|
|
35
|
+
order: z.number().int().describe("Display order of the option.").nullable().optional(),
|
|
36
|
+
archived: z.boolean().describe("Whether the option is archived.").nullable().optional()
|
|
37
|
+
}).describe("Option for select/multi-select type custom fields.");
|
|
38
|
+
const salesflareUpdateCustomField = action("SALESFLARE_UPDATE_CUSTOM_FIELD", {
|
|
39
|
+
slug: "salesflare-update-custom-field",
|
|
40
|
+
name: "Update Custom Field",
|
|
41
|
+
description: "Updates an existing custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to modify the properties or settings of a custom field.",
|
|
42
|
+
input: SalesflareUpdateCustomFieldInput,
|
|
43
|
+
output: z.object({
|
|
44
|
+
id: z.number().int().describe("Unique identifier of the updated custom field.").nullable().optional(),
|
|
45
|
+
name: z.string().describe("Name of the custom field.").nullable().optional(),
|
|
46
|
+
type: z.number().int().describe("Type of the custom field.").nullable().optional(),
|
|
47
|
+
order: z.number().int().describe("Display order of the custom field.").nullable().optional(),
|
|
48
|
+
enabled: z.boolean().describe("Whether the custom field is enabled.").nullable().optional(),
|
|
49
|
+
options: z.array(SalesflareUpdateCustomField_CustomFieldOptionSchema).describe("List of options for select/multi-select type fields.").nullable().optional(),
|
|
50
|
+
archived: z.boolean().describe("Whether the custom field is archived.").nullable().optional(),
|
|
51
|
+
max_date: z.string().describe("Maximum date for date type fields.").nullable().optional(),
|
|
52
|
+
min_date: z.string().describe("Minimum date for date type fields.").nullable().optional(),
|
|
53
|
+
pipeline: z.number().int().describe("Pipeline ID associated with the custom field.").nullable().optional(),
|
|
54
|
+
required: z.boolean().describe("Whether the custom field is required.").nullable().optional(),
|
|
55
|
+
max_number: z.number().describe("Maximum value for number type fields.").nullable().optional(),
|
|
56
|
+
min_number: z.number().describe("Minimum value for number type fields.").nullable().optional(),
|
|
57
|
+
pipelineName: z.string().describe("Name of the pipeline associated with the custom field.").nullable().optional(),
|
|
58
|
+
order_alphabetically: z.boolean().describe("Whether options are ordered alphabetically.").nullable().optional(),
|
|
59
|
+
users_can_add_options: z.boolean().describe("Whether users can add new options.").nullable().optional(),
|
|
60
|
+
predefined_customfield: z.number().int().describe("ID of a predefined custom field template.").nullable().optional()
|
|
61
|
+
}).describe("Response from updating a custom field in Salesflare.")
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { salesflareUpdateCustomField };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=update-custom-field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateCustomFieldInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the custom field to update.\"),\n name: z.string().describe(\"Updated name of the custom field.\").optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is being updated. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").optional(),\n}).describe(\"Request schema for updating a custom field in Salesflare.\");\nconst SalesflareUpdateCustomField_CustomFieldOptionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").nullable().optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").nullable().optional(),\n}).describe(\"Option for select/multi-select type custom fields.\");\nexport const SalesflareUpdateCustomFieldOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the updated custom field.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom field.\").nullable().optional(),\n type: z.number().int().describe(\"Type of the custom field.\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").nullable().optional(),\n options: z.array(SalesflareUpdateCustomField_CustomFieldOptionSchema).describe(\"List of options for select/multi-select type fields.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date for date type fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date for date type fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID associated with the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n max_number: z.number().describe(\"Maximum value for number type fields.\").nullable().optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").nullable().optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options are ordered alphabetically.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options.\").nullable().optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").nullable().optional(),\n}).describe(\"Response from updating a custom field in Salesflare.\");\n\nexport const salesflareUpdateCustomField = action(\"SALESFLARE_UPDATE_CUSTOM_FIELD\", {\n slug: \"salesflare-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Updates an existing custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to modify the properties or settings of a custom field.\",\n input: SalesflareUpdateCustomFieldInput,\n output: SalesflareUpdateCustomFieldOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-email-datasource.ts
|
|
4
|
+
const SalesflareUpdateEmailDatasourceInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("The unique identifier of the email data source to update."),
|
|
6
|
+
max_emails_day: zod.z.number().int().describe("Maximum number of emails to send per day. Must be between 0 and 2000.").optional(),
|
|
7
|
+
email_signature: zod.z.string().describe("The email signature text to be used.").optional(),
|
|
8
|
+
max_emails_hour: zod.z.number().int().describe("Maximum number of emails to send per hour. Must be between 0 and 200.").optional(),
|
|
9
|
+
add_signature_to_replies: zod.z.boolean().describe("Whether to add email signature to reply emails.").optional(),
|
|
10
|
+
add_signature_to_campaign: zod.z.boolean().describe("Whether to add email signature to campaign emails.").optional()
|
|
11
|
+
}).describe("Request model for updating an email data source in Salesflare.");
|
|
12
|
+
const SalesflareUpdateEmailDatasourceOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or providing details.") }).describe("Response model for the update email data source action.");
|
|
13
|
+
const salesflareUpdateEmailDatasource = require_action.action("SALESFLARE_UPDATE_EMAIL_DATASOURCE", {
|
|
14
|
+
slug: "salesflare-update-email-datasource",
|
|
15
|
+
name: "Update Email Data Source",
|
|
16
|
+
description: "Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.",
|
|
17
|
+
input: SalesflareUpdateEmailDatasourceInput,
|
|
18
|
+
output: SalesflareUpdateEmailDatasourceOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.salesflareUpdateEmailDatasource = salesflareUpdateEmailDatasource;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=update-email-datasource.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-email-datasource.cjs","names":["z","action"],"sources":["../../src/actions/update-email-datasource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateEmailDatasourceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the email data source to update.\"),\n max_emails_day: z.number().int().describe(\"Maximum number of emails to send per day. Must be between 0 and 2000.\").optional(),\n email_signature: z.string().describe(\"The email signature text to be used.\").optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails to send per hour. Must be between 0 and 200.\").optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add email signature to reply emails.\").optional(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add email signature to campaign emails.\").optional(),\n}).describe(\"Request model for updating an email data source in Salesflare.\");\nexport const SalesflareUpdateEmailDatasourceOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API indicating success or providing details.\"),\n}).describe(\"Response model for the update email data source action.\");\n\nexport const salesflareUpdateEmailDatasource = action(\"SALESFLARE_UPDATE_EMAIL_DATASOURCE\", {\n slug: \"salesflare-update-email-datasource\",\n name: \"Update Email Data Source\",\n description: \"Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.\",\n input: SalesflareUpdateEmailDatasourceInput,\n output: SalesflareUpdateEmailDatasourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7H,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-email-datasource.d.ts
|
|
4
|
+
declare const SalesflareUpdateEmailDatasourceInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateEmailDatasourceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateEmailDatasource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateEmailDatasource };
|
|
9
|
+
//# sourceMappingURL=update-email-datasource.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-email-datasource.d.cts","names":[],"sources":["../../src/actions/update-email-datasource.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAOwB;AAAA,cAChE,qCAAA,EAAuC,CAAA,CAAE,UAEgB;AAAA,cAEzD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-email-datasource.d.ts
|
|
4
|
+
declare const SalesflareUpdateEmailDatasourceInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateEmailDatasourceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateEmailDatasource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateEmailDatasource };
|
|
9
|
+
//# sourceMappingURL=update-email-datasource.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-email-datasource.d.mts","names":[],"sources":["../../src/actions/update-email-datasource.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAOwB;AAAA,cAChE,qCAAA,EAAuC,CAAA,CAAE,UAEgB;AAAA,cAEzD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const salesflareUpdateEmailDatasource = action("SALESFLARE_UPDATE_EMAIL_DATASOURCE", {
|
|
4
|
+
slug: "salesflare-update-email-datasource",
|
|
5
|
+
name: "Update Email Data Source",
|
|
6
|
+
description: "Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("The unique identifier of the email data source to update."),
|
|
9
|
+
max_emails_day: z.number().int().describe("Maximum number of emails to send per day. Must be between 0 and 2000.").optional(),
|
|
10
|
+
email_signature: z.string().describe("The email signature text to be used.").optional(),
|
|
11
|
+
max_emails_hour: z.number().int().describe("Maximum number of emails to send per hour. Must be between 0 and 200.").optional(),
|
|
12
|
+
add_signature_to_replies: z.boolean().describe("Whether to add email signature to reply emails.").optional(),
|
|
13
|
+
add_signature_to_campaign: z.boolean().describe("Whether to add email signature to campaign emails.").optional()
|
|
14
|
+
}).describe("Request model for updating an email data source in Salesflare."),
|
|
15
|
+
output: z.object({ message: z.string().describe("Response message from the API indicating success or providing details.") }).describe("Response model for the update email data source action.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { salesflareUpdateEmailDatasource };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=update-email-datasource.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-email-datasource.mjs","names":[],"sources":["../../src/actions/update-email-datasource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateEmailDatasourceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the email data source to update.\"),\n max_emails_day: z.number().int().describe(\"Maximum number of emails to send per day. Must be between 0 and 2000.\").optional(),\n email_signature: z.string().describe(\"The email signature text to be used.\").optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails to send per hour. Must be between 0 and 200.\").optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add email signature to reply emails.\").optional(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add email signature to campaign emails.\").optional(),\n}).describe(\"Request model for updating an email data source in Salesflare.\");\nexport const SalesflareUpdateEmailDatasourceOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API indicating success or providing details.\"),\n}).describe(\"Response model for the update email data source action.\");\n\nexport const salesflareUpdateEmailDatasource = action(\"SALESFLARE_UPDATE_EMAIL_DATASOURCE\", {\n slug: \"salesflare-update-email-datasource\",\n name: \"Update Email Data Source\",\n description: \"Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.\",\n input: SalesflareUpdateEmailDatasourceInput,\n output: SalesflareUpdateEmailDatasourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC7H,0BAA0B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QATiE,EAAE,OAAO,EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-internal-note.ts
|
|
4
|
+
const SalesflareUpdateInternalNoteInput = zod.z.object({
|
|
5
|
+
body: zod.z.string().describe("Updated content of the internal note"),
|
|
6
|
+
date: zod.z.string().describe("Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')").optional(),
|
|
7
|
+
account: zod.z.number().int().describe("Account ID to associate the note with"),
|
|
8
|
+
mentions: zod.z.array(zod.z.number().int()).describe("List of user IDs to mention in the note").optional(),
|
|
9
|
+
message_id: zod.z.number().int().describe("ID of the internal note (message) to update")
|
|
10
|
+
}).describe("Request model for updating an internal note in Salesflare.");
|
|
11
|
+
const SalesflareUpdateInternalNoteOutput = zod.z.object({
|
|
12
|
+
id: zod.z.number().int().describe("ID of the updated note").nullable().optional(),
|
|
13
|
+
body: zod.z.string().describe("Content of the note").nullable().optional(),
|
|
14
|
+
date: zod.z.string().describe("Date and time of the note").nullable().optional(),
|
|
15
|
+
account: zod.z.number().int().describe("Account ID associated with the note").nullable().optional(),
|
|
16
|
+
mentions: zod.z.array(zod.z.number().int()).describe("List of user IDs mentioned in the note").nullable().optional(),
|
|
17
|
+
created_at: zod.z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
18
|
+
updated_at: zod.z.string().describe("Timestamp when the note was last updated").nullable().optional()
|
|
19
|
+
}).describe("Response model for an updated internal note in Salesflare.");
|
|
20
|
+
const salesflareUpdateInternalNote = require_action.action("SALESFLARE_UPDATE_INTERNAL_NOTE", {
|
|
21
|
+
slug: "salesflare-update-internal-note",
|
|
22
|
+
name: "Update Internal Note",
|
|
23
|
+
description: "Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.",
|
|
24
|
+
input: SalesflareUpdateInternalNoteInput,
|
|
25
|
+
output: SalesflareUpdateInternalNoteOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.salesflareUpdateInternalNote = salesflareUpdateInternalNote;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=update-internal-note.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-internal-note.cjs","names":["z","action"],"sources":["../../src/actions/update-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateInternalNoteInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Updated content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n account: z.number().int().describe(\"Account ID to associate the note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n message_id: z.number().int().describe(\"ID of the internal note (message) to update\"),\n}).describe(\"Request model for updating an internal note in Salesflare.\");\nexport const SalesflareUpdateInternalNoteOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the updated note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).describe(\"Response model for an updated internal note in Salesflare.\");\n\nexport const salesflareUpdateInternalNote = action(\"SALESFLARE_UPDATE_INTERNAL_NOTE\", {\n slug: \"salesflare-update-internal-note\",\n name: \"Update Internal Note\",\n description: \"Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.\",\n input: SalesflareUpdateInternalNoteInput,\n output: SalesflareUpdateInternalNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC1E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-internal-note.d.ts
|
|
4
|
+
declare const SalesflareUpdateInternalNoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateInternalNoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateInternalNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateInternalNote };
|
|
9
|
+
//# sourceMappingURL=update-internal-note.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-internal-note.d.cts","names":[],"sources":["../../src/actions/update-internal-note.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMuB;AAAA,cAC5D,kCAAA,EAAoC,CAAA,CAAE,UAQsB;AAAA,cAE5D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-internal-note.d.ts
|
|
4
|
+
declare const SalesflareUpdateInternalNoteInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateInternalNoteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateInternalNote: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateInternalNote };
|
|
9
|
+
//# sourceMappingURL=update-internal-note.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-internal-note.d.mts","names":[],"sources":["../../src/actions/update-internal-note.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMuB;AAAA,cAC5D,kCAAA,EAAoC,CAAA,CAAE,UAQsB;AAAA,cAE5D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const salesflareUpdateInternalNote = action("SALESFLARE_UPDATE_INTERNAL_NOTE", {
|
|
4
|
+
slug: "salesflare-update-internal-note",
|
|
5
|
+
name: "Update Internal Note",
|
|
6
|
+
description: "Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
body: z.string().describe("Updated content of the internal note"),
|
|
9
|
+
date: z.string().describe("Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')").optional(),
|
|
10
|
+
account: z.number().int().describe("Account ID to associate the note with"),
|
|
11
|
+
mentions: z.array(z.number().int()).describe("List of user IDs to mention in the note").optional(),
|
|
12
|
+
message_id: z.number().int().describe("ID of the internal note (message) to update")
|
|
13
|
+
}).describe("Request model for updating an internal note in Salesflare."),
|
|
14
|
+
output: z.object({
|
|
15
|
+
id: z.number().int().describe("ID of the updated note").nullable().optional(),
|
|
16
|
+
body: z.string().describe("Content of the note").nullable().optional(),
|
|
17
|
+
date: z.string().describe("Date and time of the note").nullable().optional(),
|
|
18
|
+
account: z.number().int().describe("Account ID associated with the note").nullable().optional(),
|
|
19
|
+
mentions: z.array(z.number().int()).describe("List of user IDs mentioned in the note").nullable().optional(),
|
|
20
|
+
created_at: z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
21
|
+
updated_at: z.string().describe("Timestamp when the note was last updated").nullable().optional()
|
|
22
|
+
}).describe("Response model for an updated internal note in Salesflare.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { salesflareUpdateInternalNote };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=update-internal-note.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-internal-note.mjs","names":[],"sources":["../../src/actions/update-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateInternalNoteInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Updated content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n account: z.number().int().describe(\"Account ID to associate the note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n message_id: z.number().int().describe(\"ID of the internal note (message) to update\"),\n}).describe(\"Request model for updating an internal note in Salesflare.\");\nexport const SalesflareUpdateInternalNoteOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the updated note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).describe(\"Response model for an updated internal note in Salesflare.\");\n\nexport const salesflareUpdateInternalNote = action(\"SALESFLARE_UPDATE_INTERNAL_NOTE\", {\n slug: \"salesflare-update-internal-note\",\n name: \"Update Internal Note\",\n description: \"Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.\",\n input: SalesflareUpdateInternalNoteInput,\n output: SalesflareUpdateInternalNoteOutput,\n});\n"],"mappings":";;AAqBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB6D,EAAE,OAAO;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC1E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,4DAeH;CACP,QAf8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-opportunity.ts
|
|
4
|
+
const SalesflareUpdateOpportunityInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("REQUIRED. Unique identifier of the opportunity to update."),
|
|
6
|
+
done: zod.z.boolean().describe("Whether the opportunity is marked as done. Typically set when the deal is completed.").optional(),
|
|
7
|
+
name: zod.z.string().describe("Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract').").optional(),
|
|
8
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags to categorize the opportunity.").optional(),
|
|
9
|
+
files: zod.z.array(zod.z.object({})).describe("List of file objects associated with the opportunity.").optional(),
|
|
10
|
+
owner: zod.z.number().int().describe("User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.").optional(),
|
|
11
|
+
stage: zod.z.number().int().describe("Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.").optional(),
|
|
12
|
+
units: zod.z.number().describe("Number of units for this opportunity (e.g., number of licenses, seats, or products).").optional(),
|
|
13
|
+
value: zod.z.number().describe("Total monetary value of the opportunity. Must be non-negative.").optional(),
|
|
14
|
+
closed: zod.z.boolean().describe("Whether the opportunity is closed. Set to true when the deal is won or lost.").optional(),
|
|
15
|
+
custom: zod.z.object({}).describe("Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.").optional(),
|
|
16
|
+
account: zod.z.number().int().describe("ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.").optional(),
|
|
17
|
+
creator: zod.z.number().int().describe("User ID of the person who created this opportunity. Typically set during creation, rarely updated.").optional(),
|
|
18
|
+
assignee: zod.z.number().int().describe("User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.").optional(),
|
|
19
|
+
frequency: zod.z.enum([
|
|
20
|
+
"annually",
|
|
21
|
+
"weekly",
|
|
22
|
+
"monthly",
|
|
23
|
+
"daily"
|
|
24
|
+
]).describe("Frequency type for recurring opportunities.").optional(),
|
|
25
|
+
close_date: zod.z.string().describe("Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').").optional(),
|
|
26
|
+
start_date: zod.z.string().describe("Opportunity start date in ISO 8601 date-time format.").optional(),
|
|
27
|
+
lead_source: zod.z.number().int().describe("Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.").optional(),
|
|
28
|
+
lost_reason: zod.z.number().int().describe("Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.").optional(),
|
|
29
|
+
probability: zod.z.number().describe("Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.").optional(),
|
|
30
|
+
main_contact: zod.z.number().int().describe("Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.").optional(),
|
|
31
|
+
contract_end_date: zod.z.string().describe("Contract end date in ISO 8601 date-time format.").optional(),
|
|
32
|
+
contract_start_date: zod.z.string().describe("Contract start date in ISO 8601 date-time format.").optional(),
|
|
33
|
+
recurring_price_per_unit: zod.z.number().describe("Recurring price per unit for subscription-based opportunities.").optional()
|
|
34
|
+
}).describe("Request model for updating an opportunity in Salesflare.");
|
|
35
|
+
const SalesflareUpdateOpportunityOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the update operation was successful.").nullable().optional() }).describe("Response model after updating an opportunity.");
|
|
36
|
+
const salesflareUpdateOpportunity = require_action.action("SALESFLARE_UPDATE_OPPORTUNITY", {
|
|
37
|
+
slug: "salesflare-update-opportunity",
|
|
38
|
+
name: "Update Opportunity",
|
|
39
|
+
description: "Tool to update an existing opportunity in Salesflare. Use when you need to modify opportunity details such as name, value, stage, or other attributes.",
|
|
40
|
+
input: SalesflareUpdateOpportunityInput,
|
|
41
|
+
output: SalesflareUpdateOpportunityOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.salesflareUpdateOpportunity = salesflareUpdateOpportunity;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=update-opportunity.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-opportunity.cjs","names":["z","action"],"sources":["../../src/actions/update-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateOpportunityInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the opportunity to update.\"),\n done: z.boolean().describe(\"Whether the opportunity is marked as done. Typically set when the deal is completed.\").optional(),\n name: z.string().describe(\"Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract').\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to categorize the opportunity.\").optional(),\n files: z.array(z.object({})).describe(\"List of file objects associated with the opportunity.\").optional(),\n owner: z.number().int().describe(\"User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n stage: z.number().int().describe(\"Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.\").optional(),\n units: z.number().describe(\"Number of units for this opportunity (e.g., number of licenses, seats, or products).\").optional(),\n value: z.number().describe(\"Total monetary value of the opportunity. Must be non-negative.\").optional(),\n closed: z.boolean().describe(\"Whether the opportunity is closed. Set to true when the deal is won or lost.\").optional(),\n custom: z.object({}).describe(\"Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.\").optional(),\n account: z.number().int().describe(\"ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n creator: z.number().int().describe(\"User ID of the person who created this opportunity. Typically set during creation, rarely updated.\").optional(),\n assignee: z.number().int().describe(\"User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n frequency: z.enum([\"annually\", \"weekly\", \"monthly\", \"daily\"]).describe(\"Frequency type for recurring opportunities.\").optional(),\n close_date: z.string().describe(\"Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').\").optional(),\n start_date: z.string().describe(\"Opportunity start date in ISO 8601 date-time format.\").optional(),\n lead_source: z.number().int().describe(\"Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.\").optional(),\n lost_reason: z.number().int().describe(\"Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.\").optional(),\n probability: z.number().describe(\"Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.\").optional(),\n main_contact: z.number().int().describe(\"Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.\").optional(),\n contract_end_date: z.string().describe(\"Contract end date in ISO 8601 date-time format.\").optional(),\n contract_start_date: z.string().describe(\"Contract start date in ISO 8601 date-time format.\").optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities.\").optional(),\n}).describe(\"Request model for updating an opportunity in Salesflare.\");\nexport const SalesflareUpdateOpportunityOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).describe(\"Response model after updating an opportunity.\");\n\nexport const salesflareUpdateOpportunity = action(\"SALESFLARE_UPDATE_OPPORTUNITY\", {\n slug: \"salesflare-update-opportunity\",\n name: \"Update Opportunity\",\n description: \"Tool to update an existing opportunity in Salesflare. Use when you need to modify opportunity details such as name, value, stage, or other attributes.\",\n input: SalesflareUpdateOpportunityInput,\n output: SalesflareUpdateOpportunityOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-opportunity.d.ts
|
|
4
|
+
declare const SalesflareUpdateOpportunityInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateOpportunityOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateOpportunity: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateOpportunity };
|
|
9
|
+
//# sourceMappingURL=update-opportunity.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-opportunity.d.cts","names":[],"sources":["../../src/actions/update-opportunity.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAyBsB;AAAA,cAC1D,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-opportunity.d.ts
|
|
4
|
+
declare const SalesflareUpdateOpportunityInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateOpportunityOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateOpportunity: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateOpportunity };
|
|
9
|
+
//# sourceMappingURL=update-opportunity.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-opportunity.d.mts","names":[],"sources":["../../src/actions/update-opportunity.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAyBsB;AAAA,cAC1D,iCAAA,EAAmC,CAAA,CAAE,UAEU;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const salesflareUpdateOpportunity = action("SALESFLARE_UPDATE_OPPORTUNITY", {
|
|
4
|
+
slug: "salesflare-update-opportunity",
|
|
5
|
+
name: "Update Opportunity",
|
|
6
|
+
description: "Tool to update an existing opportunity in Salesflare. Use when you need to modify opportunity details such as name, value, stage, or other attributes.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("REQUIRED. Unique identifier of the opportunity to update."),
|
|
9
|
+
done: z.boolean().describe("Whether the opportunity is marked as done. Typically set when the deal is completed.").optional(),
|
|
10
|
+
name: z.string().describe("Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract').").optional(),
|
|
11
|
+
tags: z.array(z.string()).describe("List of tags to categorize the opportunity.").optional(),
|
|
12
|
+
files: z.array(z.object({})).describe("List of file objects associated with the opportunity.").optional(),
|
|
13
|
+
owner: z.number().int().describe("User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.").optional(),
|
|
14
|
+
stage: z.number().int().describe("Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.").optional(),
|
|
15
|
+
units: z.number().describe("Number of units for this opportunity (e.g., number of licenses, seats, or products).").optional(),
|
|
16
|
+
value: z.number().describe("Total monetary value of the opportunity. Must be non-negative.").optional(),
|
|
17
|
+
closed: z.boolean().describe("Whether the opportunity is closed. Set to true when the deal is won or lost.").optional(),
|
|
18
|
+
custom: z.object({}).describe("Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.").optional(),
|
|
19
|
+
account: z.number().int().describe("ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.").optional(),
|
|
20
|
+
creator: z.number().int().describe("User ID of the person who created this opportunity. Typically set during creation, rarely updated.").optional(),
|
|
21
|
+
assignee: z.number().int().describe("User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.").optional(),
|
|
22
|
+
frequency: z.enum([
|
|
23
|
+
"annually",
|
|
24
|
+
"weekly",
|
|
25
|
+
"monthly",
|
|
26
|
+
"daily"
|
|
27
|
+
]).describe("Frequency type for recurring opportunities.").optional(),
|
|
28
|
+
close_date: z.string().describe("Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').").optional(),
|
|
29
|
+
start_date: z.string().describe("Opportunity start date in ISO 8601 date-time format.").optional(),
|
|
30
|
+
lead_source: z.number().int().describe("Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.").optional(),
|
|
31
|
+
lost_reason: z.number().int().describe("Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.").optional(),
|
|
32
|
+
probability: z.number().describe("Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.").optional(),
|
|
33
|
+
main_contact: z.number().int().describe("Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.").optional(),
|
|
34
|
+
contract_end_date: z.string().describe("Contract end date in ISO 8601 date-time format.").optional(),
|
|
35
|
+
contract_start_date: z.string().describe("Contract start date in ISO 8601 date-time format.").optional(),
|
|
36
|
+
recurring_price_per_unit: z.number().describe("Recurring price per unit for subscription-based opportunities.").optional()
|
|
37
|
+
}).describe("Request model for updating an opportunity in Salesflare."),
|
|
38
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the update operation was successful.").nullable().optional() }).describe("Response model after updating an opportunity.")
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { salesflareUpdateOpportunity };
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=update-opportunity.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-opportunity.mjs","names":[],"sources":["../../src/actions/update-opportunity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateOpportunityInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the opportunity to update.\"),\n done: z.boolean().describe(\"Whether the opportunity is marked as done. Typically set when the deal is completed.\").optional(),\n name: z.string().describe(\"Name/title of the opportunity (e.g., 'Q1 Enterprise Deal', 'Renewal Contract').\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to categorize the opportunity.\").optional(),\n files: z.array(z.object({})).describe(\"List of file objects associated with the opportunity.\").optional(),\n owner: z.number().int().describe(\"User ID of the opportunity owner. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n stage: z.number().int().describe(\"Pipeline stage ID. Use LIST_STAGES to find valid stage IDs for your pipeline.\").optional(),\n units: z.number().describe(\"Number of units for this opportunity (e.g., number of licenses, seats, or products).\").optional(),\n value: z.number().describe(\"Total monetary value of the opportunity. Must be non-negative.\").optional(),\n closed: z.boolean().describe(\"Whether the opportunity is closed. Set to true when the deal is won or lost.\").optional(),\n custom: z.object({}).describe(\"Custom fields as key-value pairs. Use GET_CUSTOM_FIELDS to discover available custom field keys.\").optional(),\n account: z.number().int().describe(\"ID of the account (company) to associate this opportunity with. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n creator: z.number().int().describe(\"User ID of the person who created this opportunity. Typically set during creation, rarely updated.\").optional(),\n assignee: z.number().int().describe(\"User ID of the person assigned to this opportunity. Use GET_ME or LIST_USERS to find valid user IDs.\").optional(),\n frequency: z.enum([\"annually\", \"weekly\", \"monthly\", \"daily\"]).describe(\"Frequency type for recurring opportunities.\").optional(),\n close_date: z.string().describe(\"Expected close date in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z').\").optional(),\n start_date: z.string().describe(\"Opportunity start date in ISO 8601 date-time format.\").optional(),\n lead_source: z.number().int().describe(\"Lead source ID indicating where this opportunity originated. Use LIST_LEAD_SOURCES to find valid IDs.\").optional(),\n lost_reason: z.number().int().describe(\"Lost reason ID if the opportunity is marked as lost. Use LIST_LOST_REASONS to find valid IDs.\").optional(),\n probability: z.number().describe(\"Win probability as a percentage (0-100). Higher values indicate greater likelihood of closing.\").optional(),\n main_contact: z.number().int().describe(\"Contact ID of the primary contact for this opportunity. Use LIST_CONTACTS to find valid contact IDs.\").optional(),\n contract_end_date: z.string().describe(\"Contract end date in ISO 8601 date-time format.\").optional(),\n contract_start_date: z.string().describe(\"Contract start date in ISO 8601 date-time format.\").optional(),\n recurring_price_per_unit: z.number().describe(\"Recurring price per unit for subscription-based opportunities.\").optional(),\n}).describe(\"Request model for updating an opportunity in Salesflare.\");\nexport const SalesflareUpdateOpportunityOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).describe(\"Response model after updating an opportunity.\");\n\nexport const salesflareUpdateOpportunity = action(\"SALESFLARE_UPDATE_OPPORTUNITY\", {\n slug: \"salesflare-update-opportunity\",\n name: \"Update Opportunity\",\n description: \"Tool to update an existing opportunity in Salesflare. Use when you need to modify opportunity details such as name, value, stage, or other attributes.\",\n input: SalesflareUpdateOpportunityInput,\n output: SalesflareUpdateOpportunityOutput,\n});\n"],"mappings":";;AAkCA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlC4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACzF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACtH,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAChI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAChK,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EACrJ,WAAW,EAAE,KAAK;GAAC;GAAY;GAAU;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;EACzJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACjJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EACzJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACnG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,0DASH;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-tag.ts
|
|
4
|
+
const SalesflareUpdateTagInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("The new name for the tag."),
|
|
6
|
+
tag_id: zod.z.number().int().describe("The unique identifier of the tag to update (used in the URL path).")
|
|
7
|
+
}).describe("Request model for updating a tag in Salesflare.");
|
|
8
|
+
const SalesflareUpdateTagOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the tag update was successful.").nullable().optional() }).describe("Response model for updating a tag in Salesflare.");
|
|
9
|
+
const salesflareUpdateTag = require_action.action("SALESFLARE_UPDATE_TAG", {
|
|
10
|
+
slug: "salesflare-update-tag",
|
|
11
|
+
name: "Update Tag",
|
|
12
|
+
description: "Tool to update the name of an existing tag in Salesflare. Use when you need to rename a tag.",
|
|
13
|
+
input: SalesflareUpdateTagInput,
|
|
14
|
+
output: SalesflareUpdateTagOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.salesflareUpdateTag = salesflareUpdateTag;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=update-tag.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name for the tag.\"),\n tag_id: z.number().int().describe(\"The unique identifier of the tag to update (used in the URL path).\"),\n}).describe(\"Request model for updating a tag in Salesflare.\");\nexport const SalesflareUpdateTagOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the tag update was successful.\").nullable().optional(),\n}).describe(\"Response model for updating a tag in Salesflare.\");\n\nexport const salesflareUpdateTag = action(\"SALESFLARE_UPDATE_TAG\", {\n slug: \"salesflare-update-tag\",\n name: \"Update Tag\",\n description: \"Tool to update the name of an existing tag in Salesflare. Use when you need to rename a tag.\",\n input: SalesflareUpdateTagInput,\n output: SalesflareUpdateTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;AACxG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-tag.d.ts
|
|
4
|
+
declare const SalesflareUpdateTagInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateTagOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateTag };
|
|
9
|
+
//# sourceMappingURL=update-tag.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-tag.d.cts","names":[],"sources":["../../src/actions/update-tag.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGqB;AAAA,cACjD,yBAAA,EAA2B,CAAA,CAAE,UAEqB;AAAA,cAElD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-tag.d.ts
|
|
4
|
+
declare const SalesflareUpdateTagInput: z.ZodTypeAny;
|
|
5
|
+
declare const SalesflareUpdateTagOutput: z.ZodTypeAny;
|
|
6
|
+
declare const salesflareUpdateTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { salesflareUpdateTag };
|
|
9
|
+
//# sourceMappingURL=update-tag.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-tag.d.mts","names":[],"sources":["../../src/actions/update-tag.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGqB;AAAA,cACjD,yBAAA,EAA2B,CAAA,CAAE,UAEqB;AAAA,cAElD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const salesflareUpdateTag = action("SALESFLARE_UPDATE_TAG", {
|
|
4
|
+
slug: "salesflare-update-tag",
|
|
5
|
+
name: "Update Tag",
|
|
6
|
+
description: "Tool to update the name of an existing tag in Salesflare. Use when you need to rename a tag.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("The new name for the tag."),
|
|
9
|
+
tag_id: z.number().int().describe("The unique identifier of the tag to update (used in the URL path).")
|
|
10
|
+
}).describe("Request model for updating a tag in Salesflare."),
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the tag update was successful.").nullable().optional() }).describe("Response model for updating a tag in Salesflare.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { salesflareUpdateTag };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=update-tag.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-tag.mjs","names":[],"sources":["../../src/actions/update-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name for the tag.\"),\n tag_id: z.number().int().describe(\"The unique identifier of the tag to update (used in the URL path).\"),\n}).describe(\"Request model for updating a tag in Salesflare.\");\nexport const SalesflareUpdateTagOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the tag update was successful.\").nullable().optional(),\n}).describe(\"Response model for updating a tag in Salesflare.\");\n\nexport const salesflareUpdateTag = action(\"SALESFLARE_UPDATE_TAG\", {\n slug: \"salesflare-update-tag\",\n name: \"Update Tag\",\n description: \"Tool to update the name of an existing tag in Salesflare. Use when you need to rename a tag.\",\n input: SalesflareUpdateTagInput,\n output: SalesflareUpdateTagOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;CACxG,CAAC,CAAC,CAAC,SAAS,iDASH;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-task.ts
|
|
4
|
+
const SalesflareUpdateTaskInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("REQUIRED. Unique identifier of the task to update."),
|
|
6
|
+
account: zod.z.number().int().describe("Account ID to associate with the task. Use LIST_ACCOUNTS to find available account IDs.").optional(),
|
|
7
|
+
assignees: zod.z.array(zod.z.number().int()).describe("List of user IDs assigned to this task. Use GET_CURRENT_USER or LIST_PERSONS to find valid user IDs.").optional(),
|
|
8
|
+
completed: zod.z.boolean().describe("Whether the task is completed. Set to true to mark the task as done.").optional(),
|
|
9
|
+
description: zod.z.string().describe("Description or details of the task.").optional(),
|
|
10
|
+
reminder_date: zod.z.string().describe("Reminder date for the task in ISO 8601 date format (e.g., '2024-12-31').").optional()
|
|
11
|
+
}).describe("Request model for updating a task in Salesflare.");
|
|
12
|
+
const SalesflareUpdateTaskOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the update operation was successful.").nullable().optional() }).describe("Response model after updating a task in Salesflare.");
|
|
13
|
+
const salesflareUpdateTask = require_action.action("SALESFLARE_UPDATE_TASK", {
|
|
14
|
+
slug: "salesflare-update-task",
|
|
15
|
+
name: "Update Task",
|
|
16
|
+
description: "Tool to update an existing task in Salesflare. Use when you need to modify task details such as description, completion status, assignees, or reminder date.",
|
|
17
|
+
input: SalesflareUpdateTaskInput,
|
|
18
|
+
output: SalesflareUpdateTaskOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.salesflareUpdateTask = salesflareUpdateTask;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=update-task.cjs.map
|