@keystrokehq/salesflare 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-account-contacts.cjs +1 -0
- package/dist/actions/add-account-contacts.cjs.map +1 -1
- package/dist/actions/add-account-contacts.d.cts +3 -19
- package/dist/actions/add-account-contacts.d.cts.map +1 -1
- package/dist/actions/add-account-contacts.d.mts +3 -19
- package/dist/actions/add-account-contacts.d.mts.map +1 -1
- package/dist/actions/add-account-contacts.mjs +1 -0
- package/dist/actions/add-account-contacts.mjs.map +1 -1
- package/dist/actions/create-account.cjs +1 -0
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +3 -53
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +3 -53
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +1 -0
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-call.cjs +1 -0
- package/dist/actions/create-call.cjs.map +1 -1
- package/dist/actions/create-call.d.cts +3 -25
- package/dist/actions/create-call.d.cts.map +1 -1
- package/dist/actions/create-call.d.mts +3 -25
- package/dist/actions/create-call.d.mts.map +1 -1
- package/dist/actions/create-call.mjs +1 -0
- package/dist/actions/create-call.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -70
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -70
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -0
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +4 -37
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +4 -37
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +1 -0
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-internal-note.cjs +1 -0
- package/dist/actions/create-internal-note.cjs.map +1 -1
- package/dist/actions/create-internal-note.d.cts +3 -18
- package/dist/actions/create-internal-note.d.cts.map +1 -1
- package/dist/actions/create-internal-note.d.mts +3 -18
- package/dist/actions/create-internal-note.d.mts.map +1 -1
- package/dist/actions/create-internal-note.mjs +1 -0
- package/dist/actions/create-internal-note.mjs.map +1 -1
- package/dist/actions/create-meeting.cjs +1 -0
- package/dist/actions/create-meeting.cjs.map +1 -1
- package/dist/actions/create-meeting.d.cts +3 -24
- package/dist/actions/create-meeting.d.cts.map +1 -1
- package/dist/actions/create-meeting.d.mts +3 -24
- package/dist/actions/create-meeting.d.mts.map +1 -1
- package/dist/actions/create-meeting.mjs +1 -0
- package/dist/actions/create-meeting.mjs.map +1 -1
- package/dist/actions/create-opportunity.cjs +1 -0
- package/dist/actions/create-opportunity.cjs.map +1 -1
- package/dist/actions/create-opportunity.d.cts +3 -36
- package/dist/actions/create-opportunity.d.cts.map +1 -1
- package/dist/actions/create-opportunity.d.mts +3 -36
- package/dist/actions/create-opportunity.d.mts.map +1 -1
- package/dist/actions/create-opportunity.mjs +1 -0
- package/dist/actions/create-opportunity.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -0
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +3 -15
- package/dist/actions/create-tag.d.cts.map +1 -1
- package/dist/actions/create-tag.d.mts +3 -15
- package/dist/actions/create-tag.d.mts.map +1 -1
- package/dist/actions/create-tag.mjs +1 -0
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -0
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +3 -18
- package/dist/actions/create-task.d.cts.map +1 -1
- package/dist/actions/create-task.d.mts +3 -18
- package/dist/actions/create-task.d.mts.map +1 -1
- package/dist/actions/create-task.mjs +1 -0
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-workflow.cjs +1 -0
- package/dist/actions/create-workflow.cjs.map +1 -1
- package/dist/actions/create-workflow.d.cts +3 -80
- package/dist/actions/create-workflow.d.cts.map +1 -1
- package/dist/actions/create-workflow.d.mts +3 -80
- package/dist/actions/create-workflow.d.mts.map +1 -1
- package/dist/actions/create-workflow.mjs +1 -0
- package/dist/actions/create-workflow.mjs.map +1 -1
- package/dist/actions/delete-account.cjs +1 -0
- package/dist/actions/delete-account.cjs.map +1 -1
- package/dist/actions/delete-account.d.cts +3 -15
- package/dist/actions/delete-account.d.cts.map +1 -1
- package/dist/actions/delete-account.d.mts +3 -15
- package/dist/actions/delete-account.d.mts.map +1 -1
- package/dist/actions/delete-account.mjs +1 -0
- package/dist/actions/delete-account.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -15
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -15
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -0
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +4 -17
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +4 -17
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -0
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-internal-note.cjs +1 -0
- package/dist/actions/delete-internal-note.cjs.map +1 -1
- package/dist/actions/delete-internal-note.d.cts +3 -15
- package/dist/actions/delete-internal-note.d.cts.map +1 -1
- package/dist/actions/delete-internal-note.d.mts +3 -15
- package/dist/actions/delete-internal-note.d.mts.map +1 -1
- package/dist/actions/delete-internal-note.mjs +1 -0
- package/dist/actions/delete-internal-note.mjs.map +1 -1
- package/dist/actions/delete-meeting.cjs +1 -0
- package/dist/actions/delete-meeting.cjs.map +1 -1
- package/dist/actions/delete-meeting.d.cts +3 -15
- package/dist/actions/delete-meeting.d.cts.map +1 -1
- package/dist/actions/delete-meeting.d.mts +3 -15
- package/dist/actions/delete-meeting.d.mts.map +1 -1
- package/dist/actions/delete-meeting.mjs +1 -0
- package/dist/actions/delete-meeting.mjs.map +1 -1
- package/dist/actions/delete-opportunity.cjs +1 -0
- package/dist/actions/delete-opportunity.cjs.map +1 -1
- package/dist/actions/delete-opportunity.d.cts +3 -15
- package/dist/actions/delete-opportunity.d.cts.map +1 -1
- package/dist/actions/delete-opportunity.d.mts +3 -15
- package/dist/actions/delete-opportunity.d.mts.map +1 -1
- package/dist/actions/delete-opportunity.mjs +1 -0
- package/dist/actions/delete-opportunity.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs +1 -0
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +3 -15
- package/dist/actions/delete-tag.d.cts.map +1 -1
- package/dist/actions/delete-tag.d.mts +3 -15
- package/dist/actions/delete-tag.d.mts.map +1 -1
- package/dist/actions/delete-tag.mjs +1 -0
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -0
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +3 -15
- package/dist/actions/delete-task.d.cts.map +1 -1
- package/dist/actions/delete-task.d.mts +3 -15
- package/dist/actions/delete-task.d.mts.map +1 -1
- package/dist/actions/delete-task.mjs +1 -0
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/get-account.cjs +1 -0
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +3 -15
- package/dist/actions/get-account.d.cts.map +1 -1
- package/dist/actions/get-account.d.mts +3 -15
- package/dist/actions/get-account.d.mts.map +1 -1
- package/dist/actions/get-account.mjs +1 -0
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-ai-settings.cjs +1 -0
- package/dist/actions/get-ai-settings.cjs.map +1 -1
- package/dist/actions/get-ai-settings.d.cts +3 -13
- package/dist/actions/get-ai-settings.d.cts.map +1 -1
- package/dist/actions/get-ai-settings.d.mts +3 -13
- package/dist/actions/get-ai-settings.d.mts.map +1 -1
- package/dist/actions/get-ai-settings.mjs +1 -0
- package/dist/actions/get-ai-settings.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -15
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -15
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +1 -0
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +3 -13
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +3 -13
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +1 -0
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +1 -0
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +4 -17
- package/dist/actions/get-custom-field.d.cts.map +1 -1
- package/dist/actions/get-custom-field.d.mts +4 -17
- package/dist/actions/get-custom-field.d.mts.map +1 -1
- package/dist/actions/get-custom-field.mjs +1 -0
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-meeting.cjs +1 -0
- package/dist/actions/get-meeting.cjs.map +1 -1
- package/dist/actions/get-meeting.d.cts +3 -15
- package/dist/actions/get-meeting.d.cts.map +1 -1
- package/dist/actions/get-meeting.d.mts +3 -15
- package/dist/actions/get-meeting.d.mts.map +1 -1
- package/dist/actions/get-meeting.mjs +1 -0
- package/dist/actions/get-meeting.mjs.map +1 -1
- package/dist/actions/get-opportunity.cjs +1 -0
- package/dist/actions/get-opportunity.cjs.map +1 -1
- package/dist/actions/get-opportunity.d.cts +3 -15
- package/dist/actions/get-opportunity.d.cts.map +1 -1
- package/dist/actions/get-opportunity.d.mts +3 -15
- package/dist/actions/get-opportunity.d.mts.map +1 -1
- package/dist/actions/get-opportunity.mjs +1 -0
- package/dist/actions/get-opportunity.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +1 -0
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +3 -15
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +3 -15
- package/dist/actions/get-stage.d.mts.map +1 -1
- package/dist/actions/get-stage.mjs +1 -0
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-tag-usage.cjs +1 -0
- package/dist/actions/get-tag-usage.cjs.map +1 -1
- package/dist/actions/get-tag-usage.d.cts +3 -15
- package/dist/actions/get-tag-usage.d.cts.map +1 -1
- package/dist/actions/get-tag-usage.d.mts +3 -15
- package/dist/actions/get-tag-usage.d.mts.map +1 -1
- package/dist/actions/get-tag-usage.mjs +1 -0
- package/dist/actions/get-tag-usage.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.cjs +1 -0
- package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.d.cts +3 -13
- package/dist/actions/get-workflow-merge-fields.d.cts.map +1 -1
- package/dist/actions/get-workflow-merge-fields.d.mts +3 -13
- package/dist/actions/get-workflow-merge-fields.d.mts.map +1 -1
- package/dist/actions/get-workflow-merge-fields.mjs +1 -0
- package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
- package/dist/actions/get-workflow.cjs +1 -0
- package/dist/actions/get-workflow.cjs.map +1 -1
- package/dist/actions/get-workflow.d.cts +3 -15
- package/dist/actions/get-workflow.d.cts.map +1 -1
- package/dist/actions/get-workflow.d.mts +3 -15
- package/dist/actions/get-workflow.d.mts.map +1 -1
- package/dist/actions/get-workflow.mjs +1 -0
- package/dist/actions/get-workflow.mjs.map +1 -1
- package/dist/actions/list-account-messages.cjs +1 -0
- package/dist/actions/list-account-messages.cjs.map +1 -1
- package/dist/actions/list-account-messages.d.cts +3 -18
- package/dist/actions/list-account-messages.d.cts.map +1 -1
- package/dist/actions/list-account-messages.d.mts +3 -18
- package/dist/actions/list-account-messages.d.mts.map +1 -1
- package/dist/actions/list-account-messages.mjs +1 -0
- package/dist/actions/list-account-messages.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +1 -0
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +3 -35
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +3 -35
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +1 -0
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -39
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -39
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +1 -0
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +3 -13
- package/dist/actions/list-currencies.d.cts.map +1 -1
- package/dist/actions/list-currencies.d.mts +3 -13
- package/dist/actions/list-currencies.d.mts.map +1 -1
- package/dist/actions/list-currencies.mjs +1 -0
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-custom-field-options.cjs +1 -0
- package/dist/actions/list-custom-field-options.cjs.map +1 -1
- package/dist/actions/list-custom-field-options.d.cts +4 -18
- package/dist/actions/list-custom-field-options.d.cts.map +1 -1
- package/dist/actions/list-custom-field-options.d.mts +4 -18
- package/dist/actions/list-custom-field-options.d.mts.map +1 -1
- package/dist/actions/list-custom-field-options.mjs +1 -0
- package/dist/actions/list-custom-field-options.mjs.map +1 -1
- package/dist/actions/list-custom-field-types.cjs +1 -0
- package/dist/actions/list-custom-field-types.cjs.map +1 -1
- package/dist/actions/list-custom-field-types.d.cts +3 -13
- package/dist/actions/list-custom-field-types.d.cts.map +1 -1
- package/dist/actions/list-custom-field-types.d.mts +3 -13
- package/dist/actions/list-custom-field-types.d.mts.map +1 -1
- package/dist/actions/list-custom-field-types.mjs +1 -0
- package/dist/actions/list-custom-field-types.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +1 -0
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +4 -19
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +4 -19
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +1 -0
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-email-datasources.cjs +1 -0
- package/dist/actions/list-email-datasources.cjs.map +1 -1
- package/dist/actions/list-email-datasources.d.cts +3 -15
- package/dist/actions/list-email-datasources.d.cts.map +1 -1
- package/dist/actions/list-email-datasources.d.mts +3 -15
- package/dist/actions/list-email-datasources.d.mts.map +1 -1
- package/dist/actions/list-email-datasources.mjs +1 -0
- package/dist/actions/list-email-datasources.mjs.map +1 -1
- package/dist/actions/list-filter-fields.cjs +1 -0
- package/dist/actions/list-filter-fields.cjs.map +1 -1
- package/dist/actions/list-filter-fields.d.cts +6 -20
- package/dist/actions/list-filter-fields.d.cts.map +1 -1
- package/dist/actions/list-filter-fields.d.mts +6 -20
- package/dist/actions/list-filter-fields.d.mts.map +1 -1
- package/dist/actions/list-filter-fields.mjs +1 -0
- package/dist/actions/list-filter-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -13
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -13
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-my-contacts.cjs +1 -0
- package/dist/actions/list-my-contacts.cjs.map +1 -1
- package/dist/actions/list-my-contacts.d.cts +3 -39
- package/dist/actions/list-my-contacts.d.cts.map +1 -1
- package/dist/actions/list-my-contacts.d.mts +3 -39
- package/dist/actions/list-my-contacts.d.mts.map +1 -1
- package/dist/actions/list-my-contacts.mjs +1 -0
- package/dist/actions/list-my-contacts.mjs.map +1 -1
- package/dist/actions/list-opportunities.cjs +1 -0
- package/dist/actions/list-opportunities.cjs.map +1 -1
- package/dist/actions/list-opportunities.d.cts +3 -45
- package/dist/actions/list-opportunities.d.cts.map +1 -1
- package/dist/actions/list-opportunities.d.mts +3 -45
- package/dist/actions/list-opportunities.d.mts.map +1 -1
- package/dist/actions/list-opportunities.mjs +1 -0
- package/dist/actions/list-opportunities.mjs.map +1 -1
- package/dist/actions/list-persons.cjs +1 -0
- package/dist/actions/list-persons.cjs.map +1 -1
- package/dist/actions/list-persons.d.cts +3 -18
- package/dist/actions/list-persons.d.cts.map +1 -1
- package/dist/actions/list-persons.d.mts +3 -18
- package/dist/actions/list-persons.d.mts.map +1 -1
- package/dist/actions/list-persons.mjs +1 -0
- package/dist/actions/list-persons.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +1 -0
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +3 -17
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +3 -17
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +1 -0
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +1 -0
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +3 -19
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +3 -19
- package/dist/actions/list-stages.d.mts.map +1 -1
- package/dist/actions/list-stages.mjs +1 -0
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +1 -0
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +3 -19
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +3 -19
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +1 -0
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +1 -0
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +3 -24
- package/dist/actions/list-tasks.d.cts.map +1 -1
- package/dist/actions/list-tasks.d.mts +3 -24
- package/dist/actions/list-tasks.d.mts.map +1 -1
- package/dist/actions/list-tasks.mjs +1 -0
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -22
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -22
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-workflows.cjs +1 -0
- package/dist/actions/list-workflows.cjs.map +1 -1
- package/dist/actions/list-workflows.d.cts +3 -19
- package/dist/actions/list-workflows.d.cts.map +1 -1
- package/dist/actions/list-workflows.d.mts +3 -19
- package/dist/actions/list-workflows.d.mts.map +1 -1
- package/dist/actions/list-workflows.mjs +1 -0
- package/dist/actions/list-workflows.mjs.map +1 -1
- package/dist/actions/update-account-contacts.cjs +1 -0
- package/dist/actions/update-account-contacts.cjs.map +1 -1
- package/dist/actions/update-account-contacts.d.cts +3 -21
- package/dist/actions/update-account-contacts.d.cts.map +1 -1
- package/dist/actions/update-account-contacts.d.mts +3 -21
- package/dist/actions/update-account-contacts.d.mts.map +1 -1
- package/dist/actions/update-account-contacts.mjs +1 -0
- package/dist/actions/update-account-contacts.mjs.map +1 -1
- package/dist/actions/update-account-users.cjs +1 -0
- package/dist/actions/update-account-users.cjs.map +1 -1
- package/dist/actions/update-account-users.d.cts +3 -21
- package/dist/actions/update-account-users.d.cts.map +1 -1
- package/dist/actions/update-account-users.d.mts +3 -21
- package/dist/actions/update-account-users.d.mts.map +1 -1
- package/dist/actions/update-account-users.mjs +1 -0
- package/dist/actions/update-account-users.mjs.map +1 -1
- package/dist/actions/update-account.cjs +1 -0
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +3 -52
- package/dist/actions/update-account.d.cts.map +1 -1
- package/dist/actions/update-account.d.mts +3 -52
- package/dist/actions/update-account.d.mts.map +1 -1
- package/dist/actions/update-account.mjs +1 -0
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-ai-settings.cjs +1 -0
- package/dist/actions/update-ai-settings.cjs.map +1 -1
- package/dist/actions/update-ai-settings.d.cts +3 -23
- package/dist/actions/update-ai-settings.d.cts.map +1 -1
- package/dist/actions/update-ai-settings.d.mts +3 -23
- package/dist/actions/update-ai-settings.d.mts.map +1 -1
- package/dist/actions/update-ai-settings.mjs +1 -0
- package/dist/actions/update-ai-settings.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -72
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -72
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +1 -0
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +4 -38
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +4 -38
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +1 -0
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-email-datasource.cjs +1 -0
- package/dist/actions/update-email-datasource.cjs.map +1 -1
- package/dist/actions/update-email-datasource.d.cts +3 -20
- package/dist/actions/update-email-datasource.d.cts.map +1 -1
- package/dist/actions/update-email-datasource.d.mts +3 -20
- package/dist/actions/update-email-datasource.d.mts.map +1 -1
- package/dist/actions/update-email-datasource.mjs +1 -0
- package/dist/actions/update-email-datasource.mjs.map +1 -1
- package/dist/actions/update-internal-note.cjs +1 -0
- package/dist/actions/update-internal-note.cjs.map +1 -1
- package/dist/actions/update-internal-note.d.cts +3 -19
- package/dist/actions/update-internal-note.d.cts.map +1 -1
- package/dist/actions/update-internal-note.d.mts +3 -19
- package/dist/actions/update-internal-note.d.mts.map +1 -1
- package/dist/actions/update-internal-note.mjs +1 -0
- package/dist/actions/update-internal-note.mjs.map +1 -1
- package/dist/actions/update-opportunity.cjs +1 -0
- package/dist/actions/update-opportunity.cjs.map +1 -1
- package/dist/actions/update-opportunity.d.cts +3 -38
- package/dist/actions/update-opportunity.d.cts.map +1 -1
- package/dist/actions/update-opportunity.d.mts +3 -38
- package/dist/actions/update-opportunity.d.mts.map +1 -1
- package/dist/actions/update-opportunity.mjs +1 -0
- package/dist/actions/update-opportunity.mjs.map +1 -1
- package/dist/actions/update-tag.cjs +1 -0
- package/dist/actions/update-tag.cjs.map +1 -1
- package/dist/actions/update-tag.d.cts +3 -16
- package/dist/actions/update-tag.d.cts.map +1 -1
- package/dist/actions/update-tag.d.mts +3 -16
- package/dist/actions/update-tag.d.mts.map +1 -1
- package/dist/actions/update-tag.mjs +1 -0
- package/dist/actions/update-tag.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -0
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +3 -20
- package/dist/actions/update-task.d.cts.map +1 -1
- package/dist/actions/update-task.d.mts +3 -20
- package/dist/actions/update-task.d.mts.map +1 -1
- package/dist/actions/update-task.mjs +1 -0
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-workflow-audience.cjs +1 -0
- package/dist/actions/update-workflow-audience.cjs.map +1 -1
- package/dist/actions/update-workflow-audience.d.cts +3 -18
- package/dist/actions/update-workflow-audience.d.cts.map +1 -1
- package/dist/actions/update-workflow-audience.d.mts +3 -18
- package/dist/actions/update-workflow-audience.d.mts.map +1 -1
- package/dist/actions/update-workflow-audience.mjs +1 -0
- package/dist/actions/update-workflow-audience.mjs.map +1 -1
- package/dist/actions/update-workflow.cjs +1 -0
- package/dist/actions/update-workflow.cjs.map +1 -1
- package/dist/actions/update-workflow.d.cts +3 -55
- package/dist/actions/update-workflow.d.cts.map +1 -1
- package/dist/actions/update-workflow.d.mts +3 -55
- package/dist/actions/update-workflow.d.mts.map +1 -1
- package/dist/actions/update-workflow.mjs +1 -0
- package/dist/actions/update-workflow.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-opportunity.d.ts
|
|
@@ -35,44 +37,7 @@ declare const SalesflareUpdateOpportunityInput: z.ZodObject<{
|
|
|
35
37
|
declare const SalesflareUpdateOpportunityOutput: z.ZodObject<{
|
|
36
38
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const salesflareUpdateOpportunity:
|
|
39
|
-
id: number;
|
|
40
|
-
done?: boolean | undefined;
|
|
41
|
-
name?: string | undefined;
|
|
42
|
-
tags?: string[] | undefined;
|
|
43
|
-
files?: Record<string, unknown>[] | undefined;
|
|
44
|
-
owner?: number | undefined;
|
|
45
|
-
stage?: number | undefined;
|
|
46
|
-
units?: number | undefined;
|
|
47
|
-
value?: number | undefined;
|
|
48
|
-
closed?: boolean | undefined;
|
|
49
|
-
custom?: Record<string, unknown> | undefined;
|
|
50
|
-
account?: number | undefined;
|
|
51
|
-
creator?: number | undefined;
|
|
52
|
-
assignee?: number | undefined;
|
|
53
|
-
frequency?: "annually" | "weekly" | "monthly" | "daily" | undefined;
|
|
54
|
-
close_date?: string | undefined;
|
|
55
|
-
start_date?: string | undefined;
|
|
56
|
-
lead_source?: number | undefined;
|
|
57
|
-
lost_reason?: number | undefined;
|
|
58
|
-
probability?: number | undefined;
|
|
59
|
-
main_contact?: number | undefined;
|
|
60
|
-
contract_end_date?: string | undefined;
|
|
61
|
-
contract_start_date?: string | undefined;
|
|
62
|
-
recurring_price_per_unit?: number | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const salesflareUpdateOpportunity: AppAction<typeof SalesflareUpdateOpportunityInput, typeof SalesflareUpdateOpportunityOutput, typeof salesflare.credential>;
|
|
76
41
|
//#endregion
|
|
77
42
|
export { salesflareUpdateOpportunity };
|
|
78
43
|
//# sourceMappingURL=update-opportunity.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-opportunity.d.mts","names":[],"sources":["../../src/actions/update-opportunity.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-opportunity.d.mts","names":[],"sources":["../../src/actions/update-opportunity.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +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.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.record(z.string(), z.unknown())).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.record(z.string(), z.unknown()).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.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"update-opportunity.mjs","names":[],"sources":["../../src/actions/update-opportunity.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateOpportunityInput = 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.record(z.string(), z.unknown())).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.record(z.string(), z.unknown()).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.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating an opportunity.\");\n\nexport const salesflareUpdateOpportunity: AppAction<\n typeof SalesflareUpdateOpportunityInput,\n typeof SalesflareUpdateOpportunityOutput,\n typeof salesflare.credential\n> = 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":";;;AAoCA,MAAa,8BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtC8C,EAAE,OAAO;EACvD,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC7H,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAChK,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,0DAaH;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n success: z.boolean().describe(\"Indicates whether the tag update was successful.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"update-tag.cjs","names":["z","action"],"sources":["../../src/actions/update-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateTagInput = 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.object({\n success: z.boolean().describe(\"Indicates whether the tag update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a tag in Salesflare.\");\n\nexport const salesflareUpdateTag: AppAction<\n typeof SalesflareUpdateTagInput,\n typeof SalesflareUpdateTagOutput,\n typeof salesflare.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-tag.d.ts
|
|
@@ -8,22 +10,7 @@ declare const SalesflareUpdateTagInput: z.ZodObject<{
|
|
|
8
10
|
declare const SalesflareUpdateTagOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const salesflareUpdateTag:
|
|
12
|
-
name: string;
|
|
13
|
-
tag_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const salesflareUpdateTag: AppAction<typeof SalesflareUpdateTagInput, typeof SalesflareUpdateTagOutput, typeof salesflare.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { salesflareUpdateTag };
|
|
29
16
|
//# sourceMappingURL=update-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tag.d.cts","names":[],"sources":["../../src/actions/update-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-tag.d.cts","names":[],"sources":["../../src/actions/update-tag.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-tag.d.ts
|
|
@@ -8,22 +10,7 @@ declare const SalesflareUpdateTagInput: z.ZodObject<{
|
|
|
8
10
|
declare const SalesflareUpdateTagOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const salesflareUpdateTag:
|
|
12
|
-
name: string;
|
|
13
|
-
tag_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const salesflareUpdateTag: AppAction<typeof SalesflareUpdateTagInput, typeof SalesflareUpdateTagOutput, typeof salesflare.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { salesflareUpdateTag };
|
|
29
16
|
//# sourceMappingURL=update-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tag.d.mts","names":[],"sources":["../../src/actions/update-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-tag.d.mts","names":[],"sources":["../../src/actions/update-tag.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +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.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.object({\n success: z.boolean().describe(\"Indicates whether the tag update was successful.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"update-tag.mjs","names":[],"sources":["../../src/actions/update-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateTagInput = 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.object({\n success: z.boolean().describe(\"Indicates whether the tag update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a tag in Salesflare.\");\n\nexport const salesflareUpdateTag: AppAction<\n typeof SalesflareUpdateTagInput,\n typeof SalesflareUpdateTagOutput,\n typeof salesflare.credential\n> = 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":";;;AAcA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE;CACxG,CAAC,CAAC,CAAC,SAAS,iDAaH;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateTaskInput = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the task to update.\"),\n account: z.number().int().describe(\"Account ID to associate with the task. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(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(),\n completed: z.boolean().describe(\"Whether the task is completed. Set to true to mark the task as done.\").optional(),\n description: z.string().describe(\"Description or details of the task.\").optional(),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (e.g., '2024-12-31').\").optional(),\n}).describe(\"Request model for updating a task in Salesflare.\");\nexport const SalesflareUpdateTaskOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a task in Salesflare.\");\n\nexport const salesflareUpdateTask = action(\"SALESFLARE_UPDATE_TASK\", {\n slug: \"salesflare-update-task\",\n name: \"Update Task\",\n 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.\",\n input: SalesflareUpdateTaskInput,\n output: SalesflareUpdateTaskOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task.cjs","names":["z","action"],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateTaskInput = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the task to update.\"),\n account: z.number().int().describe(\"Account ID to associate with the task. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(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(),\n completed: z.boolean().describe(\"Whether the task is completed. Set to true to mark the task as done.\").optional(),\n description: z.string().describe(\"Description or details of the task.\").optional(),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (e.g., '2024-12-31').\").optional(),\n}).describe(\"Request model for updating a task in Salesflare.\");\nexport const SalesflareUpdateTaskOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a task in Salesflare.\");\n\nexport const salesflareUpdateTask: AppAction<\n typeof SalesflareUpdateTaskInput,\n typeof SalesflareUpdateTaskOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_UPDATE_TASK\", {\n slug: \"salesflare-update-task\",\n name: \"Update Task\",\n 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.\",\n input: SalesflareUpdateTaskInput,\n output: SalesflareUpdateTaskOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/J,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-task.d.ts
|
|
@@ -12,26 +14,7 @@ declare const SalesflareUpdateTaskInput: z.ZodObject<{
|
|
|
12
14
|
declare const SalesflareUpdateTaskOutput: z.ZodObject<{
|
|
13
15
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const salesflareUpdateTask:
|
|
16
|
-
id: number;
|
|
17
|
-
account?: number | undefined;
|
|
18
|
-
assignees?: number[] | undefined;
|
|
19
|
-
completed?: boolean | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
reminder_date?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const salesflareUpdateTask: AppAction<typeof SalesflareUpdateTaskInput, typeof SalesflareUpdateTaskOutput, typeof salesflare.credential>;
|
|
35
18
|
//#endregion
|
|
36
19
|
export { salesflareUpdateTask };
|
|
37
20
|
//# sourceMappingURL=update-task.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task.d.cts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task.d.cts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-task.d.ts
|
|
@@ -12,26 +14,7 @@ declare const SalesflareUpdateTaskInput: z.ZodObject<{
|
|
|
12
14
|
declare const SalesflareUpdateTaskOutput: z.ZodObject<{
|
|
13
15
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const salesflareUpdateTask:
|
|
16
|
-
id: number;
|
|
17
|
-
account?: number | undefined;
|
|
18
|
-
assignees?: number[] | undefined;
|
|
19
|
-
completed?: boolean | undefined;
|
|
20
|
-
description?: string | undefined;
|
|
21
|
-
reminder_date?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const salesflareUpdateTask: AppAction<typeof SalesflareUpdateTaskInput, typeof SalesflareUpdateTaskOutput, typeof salesflare.credential>;
|
|
35
18
|
//#endregion
|
|
36
19
|
export { salesflareUpdateTask };
|
|
37
20
|
//# sourceMappingURL=update-task.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task.d.mts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task.d.mts","names":[],"sources":["../../src/actions/update-task.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-task.mjs","names":[],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateTaskInput = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the task to update.\"),\n account: z.number().int().describe(\"Account ID to associate with the task. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(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(),\n completed: z.boolean().describe(\"Whether the task is completed. Set to true to mark the task as done.\").optional(),\n description: z.string().describe(\"Description or details of the task.\").optional(),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (e.g., '2024-12-31').\").optional(),\n}).describe(\"Request model for updating a task in Salesflare.\");\nexport const SalesflareUpdateTaskOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a task in Salesflare.\");\n\nexport const salesflareUpdateTask = action(\"SALESFLARE_UPDATE_TASK\", {\n slug: \"salesflare-update-task\",\n name: \"Update Task\",\n 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.\",\n input: SalesflareUpdateTaskInput,\n output: SalesflareUpdateTaskOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-task.mjs","names":[],"sources":["../../src/actions/update-task.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateTaskInput = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the task to update.\"),\n account: z.number().int().describe(\"Account ID to associate with the task. Use LIST_ACCOUNTS to find available account IDs.\").optional(),\n assignees: z.array(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(),\n completed: z.boolean().describe(\"Whether the task is completed. Set to true to mark the task as done.\").optional(),\n description: z.string().describe(\"Description or details of the task.\").optional(),\n reminder_date: z.string().describe(\"Reminder date for the task in ISO 8601 date format (e.g., '2024-12-31').\").optional(),\n}).describe(\"Request model for updating a task in Salesflare.\");\nexport const SalesflareUpdateTaskOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a task in Salesflare.\");\n\nexport const salesflareUpdateTask: AppAction<\n typeof SalesflareUpdateTaskInput,\n typeof SalesflareUpdateTaskOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_UPDATE_TASK\", {\n slug: \"salesflare-update-task\",\n name: \"Update Task\",\n 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.\",\n input: SalesflareUpdateTaskInput,\n output: SalesflareUpdateTaskOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC/J,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workflow-audience.cjs","names":["z","action"],"sources":["../../src/actions/update-workflow-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateWorkflowAudienceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the workflow. Use LIST_WORKFLOWS to find valid workflow IDs.\"),\n exited: z.boolean().describe(\"Setting 'exited' to true will exit the entity from the workflow. Setting 'exited' to false will re-enter the entity into the workflow.\").optional(),\n met_goal: z.boolean().describe(\"Setting 'met_goal' to true marks that the workflow goal was achieved. Note: Setting 'met_goal' to false is currently not possible.\").optional(),\n record_id: z.number().int().describe(\"The entity ID to re-enter or exit from the workflow. For email workflows this should be the contact ID. Use LIST_CONTACTS or LIST_ACCOUNTS to find valid entity IDs.\"),\n}).describe(\"Request model for updating an entity's participation in a workflow.\");\nexport const SalesflareUpdateWorkflowAudienceOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating workflow audience.\");\n\nexport const salesflareUpdateWorkflowAudience = action(\"SALESFLARE_UPDATE_WORKFLOW_AUDIENCE\", {\n slug: \"salesflare-update-workflow-audience\",\n name: \"Update Workflow Audience\",\n description: \"Tool to re-enter or exit an entity from a workflow in Salesflare. Use when you need to manage an entity's participation in a specific workflow, such as removing a contact from an automated email sequence or re-adding them after they exited.\",\n input: SalesflareUpdateWorkflowAudienceInput,\n output: SalesflareUpdateWorkflowAudienceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-workflow-audience.cjs","names":["z","action"],"sources":["../../src/actions/update-workflow-audience.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateWorkflowAudienceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the workflow. Use LIST_WORKFLOWS to find valid workflow IDs.\"),\n exited: z.boolean().describe(\"Setting 'exited' to true will exit the entity from the workflow. Setting 'exited' to false will re-enter the entity into the workflow.\").optional(),\n met_goal: z.boolean().describe(\"Setting 'met_goal' to true marks that the workflow goal was achieved. Note: Setting 'met_goal' to false is currently not possible.\").optional(),\n record_id: z.number().int().describe(\"The entity ID to re-enter or exit from the workflow. For email workflows this should be the contact ID. Use LIST_CONTACTS or LIST_ACCOUNTS to find valid entity IDs.\"),\n}).describe(\"Request model for updating an entity's participation in a workflow.\");\nexport const SalesflareUpdateWorkflowAudienceOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating workflow audience.\");\n\nexport const salesflareUpdateWorkflowAudience: AppAction<\n typeof SalesflareUpdateWorkflowAudienceInput,\n typeof SalesflareUpdateWorkflowAudienceOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_UPDATE_WORKFLOW_AUDIENCE\", {\n slug: \"salesflare-update-workflow-audience\",\n name: \"Update Workflow Audience\",\n description: \"Tool to re-enter or exit an entity from a workflow in Salesflare. Use when you need to manage an entity's participation in a specific workflow, such as removing a contact from an automated email sequence or re-adding them after they exited.\",\n input: SalesflareUpdateWorkflowAudienceInput,\n output: SalesflareUpdateWorkflowAudienceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACjH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sKAAsK;AAC7M,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-workflow-audience.d.ts
|
|
@@ -10,24 +12,7 @@ declare const SalesflareUpdateWorkflowAudienceInput: z.ZodObject<{
|
|
|
10
12
|
declare const SalesflareUpdateWorkflowAudienceOutput: z.ZodObject<{
|
|
11
13
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const salesflareUpdateWorkflowAudience:
|
|
14
|
-
id: number;
|
|
15
|
-
record_id: number;
|
|
16
|
-
exited?: boolean | undefined;
|
|
17
|
-
met_goal?: boolean | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const salesflareUpdateWorkflowAudience: AppAction<typeof SalesflareUpdateWorkflowAudienceInput, typeof SalesflareUpdateWorkflowAudienceOutput, typeof salesflare.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { salesflareUpdateWorkflowAudience };
|
|
33
18
|
//# sourceMappingURL=update-workflow-audience.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workflow-audience.d.cts","names":[],"sources":["../../src/actions/update-workflow-audience.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-workflow-audience.d.cts","names":[],"sources":["../../src/actions/update-workflow-audience.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-workflow-audience.d.ts
|
|
@@ -10,24 +12,7 @@ declare const SalesflareUpdateWorkflowAudienceInput: z.ZodObject<{
|
|
|
10
12
|
declare const SalesflareUpdateWorkflowAudienceOutput: z.ZodObject<{
|
|
11
13
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const salesflareUpdateWorkflowAudience:
|
|
14
|
-
id: number;
|
|
15
|
-
record_id: number;
|
|
16
|
-
exited?: boolean | undefined;
|
|
17
|
-
met_goal?: boolean | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const salesflareUpdateWorkflowAudience: AppAction<typeof SalesflareUpdateWorkflowAudienceInput, typeof SalesflareUpdateWorkflowAudienceOutput, typeof salesflare.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { salesflareUpdateWorkflowAudience };
|
|
33
18
|
//# sourceMappingURL=update-workflow-audience.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workflow-audience.d.mts","names":[],"sources":["../../src/actions/update-workflow-audience.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-workflow-audience.d.mts","names":[],"sources":["../../src/actions/update-workflow-audience.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workflow-audience.mjs","names":[],"sources":["../../src/actions/update-workflow-audience.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateWorkflowAudienceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the workflow. Use LIST_WORKFLOWS to find valid workflow IDs.\"),\n exited: z.boolean().describe(\"Setting 'exited' to true will exit the entity from the workflow. Setting 'exited' to false will re-enter the entity into the workflow.\").optional(),\n met_goal: z.boolean().describe(\"Setting 'met_goal' to true marks that the workflow goal was achieved. Note: Setting 'met_goal' to false is currently not possible.\").optional(),\n record_id: z.number().int().describe(\"The entity ID to re-enter or exit from the workflow. For email workflows this should be the contact ID. Use LIST_CONTACTS or LIST_ACCOUNTS to find valid entity IDs.\"),\n}).describe(\"Request model for updating an entity's participation in a workflow.\");\nexport const SalesflareUpdateWorkflowAudienceOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating workflow audience.\");\n\nexport const salesflareUpdateWorkflowAudience = action(\"SALESFLARE_UPDATE_WORKFLOW_AUDIENCE\", {\n slug: \"salesflare-update-workflow-audience\",\n name: \"Update Workflow Audience\",\n description: \"Tool to re-enter or exit an entity from a workflow in Salesflare. Use when you need to manage an entity's participation in a specific workflow, such as removing a contact from an automated email sequence or re-adding them after they exited.\",\n input: SalesflareUpdateWorkflowAudienceInput,\n output: SalesflareUpdateWorkflowAudienceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-workflow-audience.mjs","names":[],"sources":["../../src/actions/update-workflow-audience.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateWorkflowAudienceInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the workflow. Use LIST_WORKFLOWS to find valid workflow IDs.\"),\n exited: z.boolean().describe(\"Setting 'exited' to true will exit the entity from the workflow. Setting 'exited' to false will re-enter the entity into the workflow.\").optional(),\n met_goal: z.boolean().describe(\"Setting 'met_goal' to true marks that the workflow goal was achieved. Note: Setting 'met_goal' to false is currently not possible.\").optional(),\n record_id: z.number().int().describe(\"The entity ID to re-enter or exit from the workflow. For email workflows this should be the contact ID. Use LIST_CONTACTS or LIST_ACCOUNTS to find valid entity IDs.\"),\n}).describe(\"Request model for updating an entity's participation in a workflow.\");\nexport const SalesflareUpdateWorkflowAudienceOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating workflow audience.\");\n\nexport const salesflareUpdateWorkflowAudience: AppAction<\n typeof SalesflareUpdateWorkflowAudienceInput,\n typeof SalesflareUpdateWorkflowAudienceOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_UPDATE_WORKFLOW_AUDIENCE\", {\n slug: \"salesflare-update-workflow-audience\",\n name: \"Update Workflow Audience\",\n description: \"Tool to re-enter or exit an entity from a workflow in Salesflare. Use when you need to manage an entity's participation in a specific workflow, such as removing a contact from an automated email sequence or re-adding them after they exited.\",\n input: SalesflareUpdateWorkflowAudienceInput,\n output: SalesflareUpdateWorkflowAudienceOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;EACjH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAChL,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sKAAsK;CAC7M,CAAC,CAAC,CAAC,SAAS,qEAaH;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workflow.cjs","names":["z","action"],"sources":["../../src/actions/update-workflow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateWorkflowInput = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the workflow to update.\"),\n goal: z.enum([\"opened\", \"clicked\", \"replied\"]).describe(\"Goal for the workflow.\").optional(),\n name: z.string().describe(\"REQUIRED. Name of the workflow.\"),\n steps: z.array(z.object({\n id: z.number().int().describe(\"Unique identifier of the step\").optional(),\n name: z.string().describe(\"Name of the step\").optional(),\n order: z.number().int().describe(\"Order/sequence number of this step in the workflow\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for this step\").optional(),\n trigger: z.string().describe(\"Trigger type for this step\").optional(),\n analytics: z.record(z.string(), z.unknown()).describe(\"Analytics data for this step\").optional(),\n action_type: z.string().describe(\"Type of action to perform in this step\").optional(),\n metrics_data: z.record(z.string(), z.unknown()).describe(\"Metrics data for this step\").optional(),\n trigger_step: z.number().int().describe(\"Step ID that triggers this step\").optional(),\n action_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the action\").optional(),\n action_source: z.number().int().describe(\"Source identifier for the action\").optional(),\n action_status: z.string().describe(\"Current status of the action\").optional(),\n trigger_after_days: z.number().int().describe(\"Number of days after which to trigger this step\").optional(),\n trigger_step_index: z.number().int().describe(\"Index of the step that triggers this step\").optional(),\n action_source_email: z.string().describe(\"Email address associated with the action source\").optional(),\n}).passthrough().describe(\"Step in the workflow.\")).describe(\"List of steps in the workflow. Each step defines an action or trigger.\").optional(),\n filter: z.object({\n ids: z.array(z.number().int()).describe(\"List of specific record IDs to include. When provided, all other filter options are ignored.\").optional(),\n}).describe(\"Filter for the workflow.\").optional(),\n status: z.enum([\"live\", \"paused\", \"scheduled\", \"draft\"]).describe(\"Status of the workflow.\").optional(),\n continuous: z.boolean().describe(\"Whether the workflow runs continuously or is one-time only\").optional(),\n record_type: z.enum([\"contact\"]).describe(\"Record type for the workflow.\").optional(),\n schedule_date: z.string().describe(\"Scheduled start date for the workflow in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z')\").optional(),\n schedule_days: z.array(z.number().int()).describe(\"Days of the week when the workflow can run (0=Sunday, 6=Saturday)\").optional(),\n status_message: z.string().describe(\"Message associated with the workflow status\").optional(),\n exit_after_days: z.number().int().describe(\"Number of days after which contacts exit the workflow\").optional(),\n schedule_time_end: z.string().describe(\"End time for daily workflow execution in HH:MM:SS format (e.g., '17:00:00')\").optional(),\n schedule_time_start: z.string().describe(\"Start time for daily workflow execution in HH:MM:SS format (e.g., '09:00:00')\").optional(),\n individual_record_filter: z.object({\n not: z.boolean().describe(\"Whether to negate the entire filter condition\").optional(),\n rules: z.array(z.record(z.string(), z.unknown())).describe(\"List of filter rules to apply. Each rule defines specific filtering criteria.\"),\n valid: z.boolean().describe(\"Whether the filter is valid\").optional(),\n search: z.string().describe(\"Search query string to filter records\").optional(),\n order_by: z.string().describe(\"Field name to order results by\").optional(),\n condition: z.enum([\"AND\", \"OR\"]).describe(\"Logical condition to apply between rules (AND or OR)\"),\n}).describe(\"Individual record filter for the workflow.\").optional(),\n}).describe(\"Request model for updating a workflow in Salesflare.\");\nexport const SalesflareUpdateWorkflowOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a workflow.\");\n\nexport const salesflareUpdateWorkflow = action(\"SALESFLARE_UPDATE_WORKFLOW\", {\n slug: \"salesflare-update-workflow\",\n name: \"Update Workflow\",\n description: \"Tool to update an existing workflow in Salesflare. Use when you need to modify workflow details such as name, status, steps, filters, or scheduling.\",\n input: SalesflareUpdateWorkflowInput,\n output: SalesflareUpdateWorkflowOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-workflow.cjs","names":["z","action"],"sources":["../../src/actions/update-workflow.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesflare } from \"../app\";\n\nexport const SalesflareUpdateWorkflowInput = z.object({\n id: z.number().int().describe(\"REQUIRED. Unique identifier of the workflow to update.\"),\n goal: z.enum([\"opened\", \"clicked\", \"replied\"]).describe(\"Goal for the workflow.\").optional(),\n name: z.string().describe(\"REQUIRED. Name of the workflow.\"),\n steps: z.array(z.object({\n id: z.number().int().describe(\"Unique identifier of the step\").optional(),\n name: z.string().describe(\"Name of the step\").optional(),\n order: z.number().int().describe(\"Order/sequence number of this step in the workflow\"),\n filter: z.record(z.string(), z.unknown()).describe(\"Filter configuration for this step\").optional(),\n trigger: z.string().describe(\"Trigger type for this step\").optional(),\n analytics: z.record(z.string(), z.unknown()).describe(\"Analytics data for this step\").optional(),\n action_type: z.string().describe(\"Type of action to perform in this step\").optional(),\n metrics_data: z.record(z.string(), z.unknown()).describe(\"Metrics data for this step\").optional(),\n trigger_step: z.number().int().describe(\"Step ID that triggers this step\").optional(),\n action_config: z.record(z.string(), z.unknown()).describe(\"Configuration object for the action\").optional(),\n action_source: z.number().int().describe(\"Source identifier for the action\").optional(),\n action_status: z.string().describe(\"Current status of the action\").optional(),\n trigger_after_days: z.number().int().describe(\"Number of days after which to trigger this step\").optional(),\n trigger_step_index: z.number().int().describe(\"Index of the step that triggers this step\").optional(),\n action_source_email: z.string().describe(\"Email address associated with the action source\").optional(),\n}).passthrough().describe(\"Step in the workflow.\")).describe(\"List of steps in the workflow. Each step defines an action or trigger.\").optional(),\n filter: z.object({\n ids: z.array(z.number().int()).describe(\"List of specific record IDs to include. When provided, all other filter options are ignored.\").optional(),\n}).describe(\"Filter for the workflow.\").optional(),\n status: z.enum([\"live\", \"paused\", \"scheduled\", \"draft\"]).describe(\"Status of the workflow.\").optional(),\n continuous: z.boolean().describe(\"Whether the workflow runs continuously or is one-time only\").optional(),\n record_type: z.enum([\"contact\"]).describe(\"Record type for the workflow.\").optional(),\n schedule_date: z.string().describe(\"Scheduled start date for the workflow in ISO 8601 date-time format (e.g., '2024-12-31T23:59:59Z')\").optional(),\n schedule_days: z.array(z.number().int()).describe(\"Days of the week when the workflow can run (0=Sunday, 6=Saturday)\").optional(),\n status_message: z.string().describe(\"Message associated with the workflow status\").optional(),\n exit_after_days: z.number().int().describe(\"Number of days after which contacts exit the workflow\").optional(),\n schedule_time_end: z.string().describe(\"End time for daily workflow execution in HH:MM:SS format (e.g., '17:00:00')\").optional(),\n schedule_time_start: z.string().describe(\"Start time for daily workflow execution in HH:MM:SS format (e.g., '09:00:00')\").optional(),\n individual_record_filter: z.object({\n not: z.boolean().describe(\"Whether to negate the entire filter condition\").optional(),\n rules: z.array(z.record(z.string(), z.unknown())).describe(\"List of filter rules to apply. Each rule defines specific filtering criteria.\"),\n valid: z.boolean().describe(\"Whether the filter is valid\").optional(),\n search: z.string().describe(\"Search query string to filter records\").optional(),\n order_by: z.string().describe(\"Field name to order results by\").optional(),\n condition: z.enum([\"AND\", \"OR\"]).describe(\"Logical condition to apply between rules (AND or OR)\"),\n}).describe(\"Individual record filter for the workflow.\").optional(),\n}).describe(\"Request model for updating a workflow in Salesflare.\");\nexport const SalesflareUpdateWorkflowOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the update operation was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model after updating a workflow.\");\n\nexport const salesflareUpdateWorkflow: AppAction<\n typeof SalesflareUpdateWorkflowInput,\n typeof SalesflareUpdateWorkflowOutput,\n typeof salesflare.credential\n> = action(\"SALESFLARE_UPDATE_WORKFLOW\", {\n slug: \"salesflare-update-workflow\",\n name: \"Update Workflow\",\n description: \"Tool to update an existing workflow in Salesflare. Use when you need to modify workflow details such as name, status, steps, filters, or scheduling.\",\n input: SalesflareUpdateWorkflowInput,\n output: SalesflareUpdateWorkflowOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACtF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;CAAS,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EACrF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACpE,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpF,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACpG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,EACjB,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/C,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAa;CAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACjJ,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAChI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC5F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACnI,0BAA0BA,IAAAA,EAAE,OAAO;EACnC,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E;EAC1I,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,WAAWA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD;CAClG,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesflare } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-workflow.d.ts
|
|
@@ -60,61 +62,7 @@ declare const SalesflareUpdateWorkflowInput: z.ZodObject<{
|
|
|
60
62
|
declare const SalesflareUpdateWorkflowOutput: z.ZodObject<{
|
|
61
63
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
62
64
|
}, z.core.$loose>;
|
|
63
|
-
declare const salesflareUpdateWorkflow:
|
|
64
|
-
id: number;
|
|
65
|
-
name: string;
|
|
66
|
-
goal?: "opened" | "clicked" | "replied" | undefined;
|
|
67
|
-
steps?: {
|
|
68
|
-
[x: string]: unknown;
|
|
69
|
-
order: number;
|
|
70
|
-
id?: number | undefined;
|
|
71
|
-
name?: string | undefined;
|
|
72
|
-
filter?: Record<string, unknown> | undefined;
|
|
73
|
-
trigger?: string | undefined;
|
|
74
|
-
analytics?: Record<string, unknown> | undefined;
|
|
75
|
-
action_type?: string | undefined;
|
|
76
|
-
metrics_data?: Record<string, unknown> | undefined;
|
|
77
|
-
trigger_step?: number | undefined;
|
|
78
|
-
action_config?: Record<string, unknown> | undefined;
|
|
79
|
-
action_source?: number | undefined;
|
|
80
|
-
action_status?: string | undefined;
|
|
81
|
-
trigger_after_days?: number | undefined;
|
|
82
|
-
trigger_step_index?: number | undefined;
|
|
83
|
-
action_source_email?: string | undefined;
|
|
84
|
-
}[] | undefined;
|
|
85
|
-
filter?: {
|
|
86
|
-
ids?: number[] | undefined;
|
|
87
|
-
} | undefined;
|
|
88
|
-
status?: "live" | "paused" | "scheduled" | "draft" | undefined;
|
|
89
|
-
continuous?: boolean | undefined;
|
|
90
|
-
record_type?: "contact" | undefined;
|
|
91
|
-
schedule_date?: string | undefined;
|
|
92
|
-
schedule_days?: number[] | undefined;
|
|
93
|
-
status_message?: string | undefined;
|
|
94
|
-
exit_after_days?: number | undefined;
|
|
95
|
-
schedule_time_end?: string | undefined;
|
|
96
|
-
schedule_time_start?: string | undefined;
|
|
97
|
-
individual_record_filter?: {
|
|
98
|
-
rules: Record<string, unknown>[];
|
|
99
|
-
condition: "AND" | "OR";
|
|
100
|
-
not?: boolean | undefined;
|
|
101
|
-
valid?: boolean | undefined;
|
|
102
|
-
search?: string | undefined;
|
|
103
|
-
order_by?: string | undefined;
|
|
104
|
-
} | undefined;
|
|
105
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
106
|
-
connectionId: z.ZodString;
|
|
107
|
-
entityId: z.ZodString;
|
|
108
|
-
instanceId: z.ZodString;
|
|
109
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
110
|
-
generic_api_key: z.ZodString;
|
|
111
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesflare", z.ZodObject<{
|
|
112
|
-
connectionId: z.ZodString;
|
|
113
|
-
entityId: z.ZodString;
|
|
114
|
-
instanceId: z.ZodString;
|
|
115
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
116
|
-
generic_api_key: z.ZodString;
|
|
117
|
-
}, z.core.$strip>>]>;
|
|
65
|
+
declare const salesflareUpdateWorkflow: AppAction<typeof SalesflareUpdateWorkflowInput, typeof SalesflareUpdateWorkflowOutput, typeof salesflare.credential>;
|
|
118
66
|
//#endregion
|
|
119
67
|
export { salesflareUpdateWorkflow };
|
|
120
68
|
//# sourceMappingURL=update-workflow.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-workflow.d.cts","names":[],"sources":["../../src/actions/update-workflow.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-workflow.d.cts","names":[],"sources":["../../src/actions/update-workflow.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|