@keystrokehq/salesflare 0.1.2 → 0.1.4
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/actions/add-account-contacts.cjs +2 -2
- package/dist/actions/add-account-contacts.cjs.map +1 -1
- package/dist/actions/add-account-contacts.d.cts +3 -2
- package/dist/actions/add-account-contacts.d.mts +3 -2
- package/dist/actions/add-account-contacts.mjs +2 -2
- package/dist/actions/add-account-contacts.mjs.map +1 -1
- package/dist/actions/create-account.cjs +10 -10
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +15 -11
- package/dist/actions/create-account.d.mts +15 -11
- package/dist/actions/create-account.mjs +10 -10
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-call.cjs +3 -3
- package/dist/actions/create-call.cjs.map +1 -1
- package/dist/actions/create-call.d.cts +4 -3
- package/dist/actions/create-call.d.mts +4 -3
- package/dist/actions/create-call.mjs +3 -3
- package/dist/actions/create-call.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +6 -6
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +11 -8
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +11 -8
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +6 -6
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +2 -2
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +3 -2
- package/dist/actions/create-custom-field.d.mts +3 -2
- package/dist/actions/create-custom-field.mjs +2 -2
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-internal-note.cjs +1 -1
- package/dist/actions/create-internal-note.cjs.map +1 -1
- package/dist/actions/create-internal-note.d.cts +1 -1
- package/dist/actions/create-internal-note.d.mts +1 -1
- package/dist/actions/create-internal-note.mjs +1 -1
- package/dist/actions/create-internal-note.mjs.map +1 -1
- package/dist/actions/create-meeting.cjs +1 -1
- package/dist/actions/create-meeting.cjs.map +1 -1
- package/dist/actions/create-meeting.d.cts +1 -1
- package/dist/actions/create-meeting.d.mts +1 -1
- package/dist/actions/create-meeting.mjs +1 -1
- package/dist/actions/create-meeting.mjs.map +1 -1
- package/dist/actions/create-opportunity.cjs +2 -2
- package/dist/actions/create-opportunity.cjs.map +1 -1
- package/dist/actions/create-opportunity.d.cts +3 -3
- package/dist/actions/create-opportunity.d.mts +3 -3
- package/dist/actions/create-opportunity.mjs +2 -2
- package/dist/actions/create-opportunity.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -1
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +1 -1
- package/dist/actions/create-tag.d.mts +1 -1
- package/dist/actions/create-tag.mjs +1 -1
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -1
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +1 -1
- package/dist/actions/create-task.d.mts +1 -1
- package/dist/actions/create-task.mjs +1 -1
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-workflow.cjs +4 -4
- package/dist/actions/create-workflow.cjs.map +1 -1
- package/dist/actions/create-workflow.d.cts +7 -4
- package/dist/actions/create-workflow.d.mts +7 -4
- package/dist/actions/create-workflow.mjs +4 -4
- package/dist/actions/create-workflow.mjs.map +1 -1
- package/dist/actions/delete-account.cjs +1 -1
- package/dist/actions/delete-account.cjs.map +1 -1
- package/dist/actions/delete-account.d.cts +1 -1
- package/dist/actions/delete-account.d.mts +1 -1
- package/dist/actions/delete-account.mjs +1 -1
- package/dist/actions/delete-account.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +1 -1
- package/dist/actions/delete-custom-field.d.mts +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-internal-note.cjs +1 -1
- package/dist/actions/delete-internal-note.cjs.map +1 -1
- package/dist/actions/delete-internal-note.d.cts +1 -1
- package/dist/actions/delete-internal-note.d.mts +1 -1
- package/dist/actions/delete-internal-note.mjs +1 -1
- package/dist/actions/delete-internal-note.mjs.map +1 -1
- package/dist/actions/delete-meeting.cjs +1 -1
- package/dist/actions/delete-meeting.cjs.map +1 -1
- package/dist/actions/delete-meeting.d.cts +1 -1
- package/dist/actions/delete-meeting.d.mts +1 -1
- package/dist/actions/delete-meeting.mjs +1 -1
- package/dist/actions/delete-meeting.mjs.map +1 -1
- package/dist/actions/delete-opportunity.cjs +1 -1
- package/dist/actions/delete-opportunity.cjs.map +1 -1
- package/dist/actions/delete-opportunity.d.cts +1 -1
- package/dist/actions/delete-opportunity.d.mts +1 -1
- package/dist/actions/delete-opportunity.mjs +1 -1
- package/dist/actions/delete-opportunity.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +1 -1
- package/dist/actions/delete-tag.d.mts +1 -1
- package/dist/actions/delete-tag.mjs +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -1
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +1 -1
- package/dist/actions/delete-task.d.mts +1 -1
- package/dist/actions/delete-task.mjs +1 -1
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/get-account.cjs +9 -9
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +10 -10
- package/dist/actions/get-account.d.mts +10 -10
- package/dist/actions/get-account.mjs +9 -9
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-ai-settings.cjs +3 -3
- package/dist/actions/get-ai-settings.cjs.map +1 -1
- package/dist/actions/get-ai-settings.d.cts +3 -3
- package/dist/actions/get-ai-settings.d.mts +3 -3
- package/dist/actions/get-ai-settings.mjs +3 -3
- package/dist/actions/get-ai-settings.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +11 -11
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +13 -13
- package/dist/actions/get-contact.d.mts +13 -13
- package/dist/actions/get-contact.mjs +11 -11
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +15 -15
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +16 -16
- package/dist/actions/get-current-user.d.mts +16 -16
- package/dist/actions/get-current-user.mjs +15 -15
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +3 -3
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +3 -3
- package/dist/actions/get-custom-field.d.mts +3 -3
- package/dist/actions/get-custom-field.mjs +3 -3
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-meeting.cjs +1 -1
- package/dist/actions/get-meeting.cjs.map +1 -1
- package/dist/actions/get-meeting.d.cts +1 -1
- package/dist/actions/get-meeting.d.mts +1 -1
- package/dist/actions/get-meeting.mjs +1 -1
- package/dist/actions/get-meeting.mjs.map +1 -1
- package/dist/actions/get-opportunity.cjs +14 -14
- package/dist/actions/get-opportunity.cjs.map +1 -1
- package/dist/actions/get-opportunity.d.cts +14 -14
- package/dist/actions/get-opportunity.d.mts +14 -14
- package/dist/actions/get-opportunity.mjs +14 -14
- package/dist/actions/get-opportunity.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +2 -2
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +2 -2
- package/dist/actions/get-stage.d.mts +2 -2
- package/dist/actions/get-stage.mjs +2 -2
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-tag-usage.cjs +4 -4
- package/dist/actions/get-tag-usage.cjs.map +1 -1
- package/dist/actions/get-tag-usage.d.cts +4 -4
- package/dist/actions/get-tag-usage.d.mts +4 -4
- package/dist/actions/get-tag-usage.mjs +4 -4
- package/dist/actions/get-tag-usage.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +8 -8
- package/dist/actions/get-user.d.mts +8 -8
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.cjs +2 -2
- package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.d.cts +3 -3
- package/dist/actions/get-workflow-merge-fields.d.mts +3 -3
- package/dist/actions/get-workflow-merge-fields.mjs +2 -2
- package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
- package/dist/actions/get-workflow.cjs +7 -7
- package/dist/actions/get-workflow.cjs.map +1 -1
- package/dist/actions/get-workflow.d.cts +12 -12
- package/dist/actions/get-workflow.d.mts +12 -12
- package/dist/actions/get-workflow.mjs +7 -7
- package/dist/actions/get-workflow.mjs.map +1 -1
- package/dist/actions/list-account-messages.cjs +3 -3
- package/dist/actions/list-account-messages.cjs.map +1 -1
- package/dist/actions/list-account-messages.d.cts +3 -3
- package/dist/actions/list-account-messages.d.mts +3 -3
- package/dist/actions/list-account-messages.mjs +3 -3
- package/dist/actions/list-account-messages.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +7 -7
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +7 -7
- package/dist/actions/list-accounts.d.mts +7 -7
- package/dist/actions/list-accounts.mjs +7 -7
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +11 -11
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +11 -11
- package/dist/actions/list-contacts.d.mts +11 -11
- package/dist/actions/list-contacts.mjs +11 -11
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +2 -2
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +2 -2
- package/dist/actions/list-currencies.d.mts +2 -2
- package/dist/actions/list-currencies.mjs +2 -2
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-custom-field-options.cjs +1 -1
- package/dist/actions/list-custom-field-options.cjs.map +1 -1
- package/dist/actions/list-custom-field-options.d.cts +1 -1
- package/dist/actions/list-custom-field-options.d.mts +1 -1
- package/dist/actions/list-custom-field-options.mjs +1 -1
- package/dist/actions/list-custom-field-options.mjs.map +1 -1
- package/dist/actions/list-custom-field-types.cjs +2 -2
- package/dist/actions/list-custom-field-types.cjs.map +1 -1
- package/dist/actions/list-custom-field-types.d.cts +2 -2
- package/dist/actions/list-custom-field-types.d.mts +2 -2
- package/dist/actions/list-custom-field-types.mjs +2 -2
- package/dist/actions/list-custom-field-types.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +4 -4
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +4 -4
- package/dist/actions/list-custom-fields.d.mts +4 -4
- package/dist/actions/list-custom-fields.mjs +4 -4
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-email-datasources.cjs +3 -3
- package/dist/actions/list-email-datasources.cjs.map +1 -1
- package/dist/actions/list-email-datasources.d.cts +3 -3
- package/dist/actions/list-email-datasources.d.mts +3 -3
- package/dist/actions/list-email-datasources.mjs +3 -3
- package/dist/actions/list-email-datasources.mjs.map +1 -1
- package/dist/actions/list-filter-fields.cjs +5 -5
- package/dist/actions/list-filter-fields.cjs.map +1 -1
- package/dist/actions/list-filter-fields.d.cts +10 -10
- package/dist/actions/list-filter-fields.d.mts +10 -10
- package/dist/actions/list-filter-fields.mjs +5 -5
- package/dist/actions/list-filter-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +2 -2
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +2 -2
- package/dist/actions/list-groups.d.mts +2 -2
- package/dist/actions/list-groups.mjs +2 -2
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-my-contacts.cjs +11 -11
- package/dist/actions/list-my-contacts.cjs.map +1 -1
- package/dist/actions/list-my-contacts.d.cts +11 -11
- package/dist/actions/list-my-contacts.d.mts +11 -11
- package/dist/actions/list-my-contacts.mjs +11 -11
- package/dist/actions/list-my-contacts.mjs.map +1 -1
- package/dist/actions/list-opportunities.cjs +8 -8
- package/dist/actions/list-opportunities.cjs.map +1 -1
- package/dist/actions/list-opportunities.d.cts +9 -9
- package/dist/actions/list-opportunities.d.mts +9 -9
- package/dist/actions/list-opportunities.mjs +8 -8
- package/dist/actions/list-opportunities.mjs.map +1 -1
- package/dist/actions/list-persons.cjs +6 -6
- package/dist/actions/list-persons.cjs.map +1 -1
- package/dist/actions/list-persons.d.cts +6 -6
- package/dist/actions/list-persons.d.mts +6 -6
- package/dist/actions/list-persons.mjs +6 -6
- package/dist/actions/list-persons.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +5 -5
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +5 -5
- package/dist/actions/list-pipelines.d.mts +5 -5
- package/dist/actions/list-pipelines.mjs +5 -5
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +3 -3
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +3 -3
- package/dist/actions/list-stages.d.mts +3 -3
- package/dist/actions/list-stages.mjs +3 -3
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +2 -2
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +2 -2
- package/dist/actions/list-tags.d.mts +2 -2
- package/dist/actions/list-tags.mjs +2 -2
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +7 -7
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +7 -7
- package/dist/actions/list-tasks.d.mts +7 -7
- package/dist/actions/list-tasks.mjs +7 -7
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-users.cjs +9 -9
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +9 -9
- package/dist/actions/list-users.d.mts +9 -9
- package/dist/actions/list-users.mjs +9 -9
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-workflows.cjs +11 -11
- package/dist/actions/list-workflows.cjs.map +1 -1
- package/dist/actions/list-workflows.d.cts +12 -12
- package/dist/actions/list-workflows.d.mts +12 -12
- package/dist/actions/list-workflows.mjs +11 -11
- package/dist/actions/list-workflows.mjs.map +1 -1
- package/dist/actions/update-account-contacts.cjs +2 -2
- package/dist/actions/update-account-contacts.cjs.map +1 -1
- package/dist/actions/update-account-contacts.d.cts +3 -2
- package/dist/actions/update-account-contacts.d.mts +3 -2
- package/dist/actions/update-account-contacts.mjs +2 -2
- package/dist/actions/update-account-contacts.mjs.map +1 -1
- package/dist/actions/update-account-users.cjs +2 -2
- package/dist/actions/update-account-users.cjs.map +1 -1
- package/dist/actions/update-account-users.d.cts +3 -2
- package/dist/actions/update-account-users.d.mts +3 -2
- package/dist/actions/update-account-users.mjs +2 -2
- package/dist/actions/update-account-users.mjs.map +1 -1
- package/dist/actions/update-account.cjs +12 -12
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +17 -14
- package/dist/actions/update-account.d.mts +17 -14
- package/dist/actions/update-account.mjs +12 -12
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-ai-settings.cjs +1 -1
- package/dist/actions/update-ai-settings.cjs.map +1 -1
- package/dist/actions/update-ai-settings.d.cts +1 -1
- package/dist/actions/update-ai-settings.d.mts +1 -1
- package/dist/actions/update-ai-settings.mjs +1 -1
- package/dist/actions/update-ai-settings.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +4 -4
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +7 -4
- package/dist/actions/update-contact.d.mts +7 -4
- package/dist/actions/update-contact.mjs +4 -4
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +3 -3
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +4 -3
- package/dist/actions/update-custom-field.d.mts +4 -3
- package/dist/actions/update-custom-field.mjs +3 -3
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-email-datasource.cjs +1 -1
- package/dist/actions/update-email-datasource.cjs.map +1 -1
- package/dist/actions/update-email-datasource.d.cts +1 -1
- package/dist/actions/update-email-datasource.d.mts +1 -1
- package/dist/actions/update-email-datasource.mjs +1 -1
- package/dist/actions/update-email-datasource.mjs.map +1 -1
- package/dist/actions/update-internal-note.cjs +1 -1
- package/dist/actions/update-internal-note.cjs.map +1 -1
- package/dist/actions/update-internal-note.d.cts +1 -1
- package/dist/actions/update-internal-note.d.mts +1 -1
- package/dist/actions/update-internal-note.mjs +1 -1
- package/dist/actions/update-internal-note.mjs.map +1 -1
- package/dist/actions/update-opportunity.cjs +3 -3
- package/dist/actions/update-opportunity.cjs.map +1 -1
- package/dist/actions/update-opportunity.d.cts +5 -5
- package/dist/actions/update-opportunity.d.mts +5 -5
- package/dist/actions/update-opportunity.mjs +3 -3
- package/dist/actions/update-opportunity.mjs.map +1 -1
- package/dist/actions/update-tag.cjs +1 -1
- package/dist/actions/update-tag.cjs.map +1 -1
- package/dist/actions/update-tag.d.cts +1 -1
- package/dist/actions/update-tag.d.mts +1 -1
- package/dist/actions/update-tag.mjs +1 -1
- package/dist/actions/update-tag.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -1
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +1 -1
- package/dist/actions/update-task.d.mts +1 -1
- package/dist/actions/update-task.mjs +1 -1
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-workflow-audience.cjs +1 -1
- package/dist/actions/update-workflow-audience.cjs.map +1 -1
- package/dist/actions/update-workflow-audience.d.cts +1 -1
- package/dist/actions/update-workflow-audience.d.mts +1 -1
- package/dist/actions/update-workflow-audience.mjs +1 -1
- package/dist/actions/update-workflow-audience.mjs.map +1 -1
- package/dist/actions/update-workflow.cjs +7 -7
- package/dist/actions/update-workflow.cjs.map +1 -1
- package/dist/actions/update-workflow.d.cts +13 -12
- package/dist/actions/update-workflow.d.mts +13 -12
- package/dist/actions/update-workflow.mjs +7 -7
- package/dist/actions/update-workflow.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/add-account-contacts.ts
|
|
4
4
|
const SalesflareAddAccountContactsInput = zod.z.object({
|
|
5
|
-
contacts: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("The unique ID of the contact to add to the account") }).describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
|
|
5
|
+
contacts: zod.z.array(zod.z.object({ id: zod.z.number().int().describe("The unique ID of the contact to add to the account") }).passthrough().describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
|
|
6
6
|
account_id: zod.z.number().int().describe("The unique ID of the account to add contacts to")
|
|
7
7
|
}).describe("Request model for adding contacts to an account.");
|
|
8
|
-
const SalesflareAddAccountContactsOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or failure").nullable() }).describe("Response model for adding contacts to an account.");
|
|
8
|
+
const SalesflareAddAccountContactsOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or failure").nullable() }).passthrough().describe("Response model for adding contacts to an account.");
|
|
9
9
|
const salesflareAddAccountContacts = require_action.action("SALESFLARE_ADD_ACCOUNT_CONTACTS", {
|
|
10
10
|
slug: "salesflare-add-account-contacts",
|
|
11
11
|
name: "Add Account Contacts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-account-contacts.cjs","names":["z","action"],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\").nullable(),\n}).describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;
|
|
1
|
+
{"version":3,"file":"add-account-contacts.cjs","names":["z","action"],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).passthrough().describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;CACtJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AACzF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,14 +4,15 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesflareAddAccountContactsInput: z.ZodObject<{
|
|
5
5
|
contacts: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodNumber;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
account_id: z.ZodNumber;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const SalesflareAddAccountContactsOutput: z.ZodObject<{
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const salesflareAddAccountContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
contacts: {
|
|
15
|
+
[x: string]: unknown;
|
|
15
16
|
id: number;
|
|
16
17
|
}[];
|
|
17
18
|
account_id: number;
|
|
@@ -4,14 +4,15 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesflareAddAccountContactsInput: z.ZodObject<{
|
|
5
5
|
contacts: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodNumber;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>>;
|
|
8
8
|
account_id: z.ZodNumber;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const SalesflareAddAccountContactsOutput: z.ZodObject<{
|
|
11
11
|
message: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const salesflareAddAccountContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
contacts: {
|
|
15
|
+
[x: string]: unknown;
|
|
15
16
|
id: number;
|
|
16
17
|
}[];
|
|
17
18
|
account_id: number;
|
|
@@ -5,10 +5,10 @@ const salesflareAddAccountContacts = action("SALESFLARE_ADD_ACCOUNT_CONTACTS", {
|
|
|
5
5
|
name: "Add Account Contacts",
|
|
6
6
|
description: "Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.",
|
|
7
7
|
input: z.object({
|
|
8
|
-
contacts: z.array(z.object({ id: z.number().int().describe("The unique ID of the contact to add to the account") }).describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
|
|
8
|
+
contacts: z.array(z.object({ id: z.number().int().describe("The unique ID of the contact to add to the account") }).passthrough().describe("Contact identifier model.")).describe("List of contact objects to add to the account. Each object must contain a contact ID."),
|
|
9
9
|
account_id: z.number().int().describe("The unique ID of the account to add contacts to")
|
|
10
10
|
}).describe("Request model for adding contacts to an account."),
|
|
11
|
-
output: z.object({ message: z.string().describe("Response message from the API indicating success or failure").nullable() }).describe("Response model for adding contacts to an account.")
|
|
11
|
+
output: z.object({ message: z.string().describe("Response message from the API indicating success or failure").nullable() }).passthrough().describe("Response model for adding contacts to an account.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { salesflareAddAccountContacts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-account-contacts.mjs","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\").nullable(),\n}).describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;
|
|
1
|
+
{"version":3,"file":"add-account-contacts.mjs","names":[],"sources":["../../src/actions/add-account-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareAddAccountContactsInput = z.object({\n contacts: z.array(z.object({\n id: z.number().int().describe(\"The unique ID of the contact to add to the account\"),\n}).passthrough().describe(\"Contact identifier model.\")).describe(\"List of contact objects to add to the account. Each object must contain a contact ID.\"),\n account_id: z.number().int().describe(\"The unique ID of the account to add contacts to\"),\n}).describe(\"Request model for adding contacts to an account.\");\nexport const SalesflareAddAccountContactsOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for adding contacts to an account.\");\n\nexport const salesflareAddAccountContacts = action(\"SALESFLARE_ADD_ACCOUNT_CONTACTS\", {\n slug: \"salesflare-add-account-contacts\",\n name: \"Add Account Contacts\",\n description: \"Tool to add contacts to a specific account in Salesflare. Use when you need to link existing contacts to an account.\",\n input: SalesflareAddAccountContactsInput,\n output: SalesflareAddAccountContactsOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,UAAU,EAAE,MAAM,EAAE,OAAO,EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,uFAAuF;EACtJ,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACzF,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SalesflareCreateAccountInput = zod.z.object({
|
|
|
8
8
|
email: zod.z.string().describe("Primary email address for the account").optional(),
|
|
9
9
|
links: zod.z.string().describe("Additional links related to the account").optional(),
|
|
10
10
|
owner: zod.z.number().int().describe("User ID of the account owner in Salesflare").optional(),
|
|
11
|
-
custom: zod.z.
|
|
11
|
+
custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.").optional(),
|
|
12
12
|
domain: zod.z.string().describe("Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.").optional(),
|
|
13
13
|
picture: zod.z.string().describe("URL to company logo or picture").optional(),
|
|
14
14
|
website: zod.z.string().describe("Company website URL").optional(),
|
|
@@ -19,20 +19,20 @@ const SalesflareCreateAccountInput = zod.z.object({
|
|
|
19
19
|
street: zod.z.string().describe("Street address").optional(),
|
|
20
20
|
country: zod.z.string().describe("Country name").optional(),
|
|
21
21
|
state_region: zod.z.string().describe("State or region").optional()
|
|
22
|
-
}).describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
|
|
22
|
+
}).passthrough().describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
|
|
23
23
|
customers: zod.z.array(zod.z.object({
|
|
24
24
|
id: zod.z.number().int().describe("Customer ID"),
|
|
25
25
|
name: zod.z.string().describe("Customer name").optional(),
|
|
26
26
|
email: zod.z.string().describe("Customer email address").optional()
|
|
27
|
-
}).describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
|
|
27
|
+
}).passthrough().describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
|
|
28
28
|
description: zod.z.string().describe("Description or notes about the account").optional(),
|
|
29
29
|
phone_number: zod.z.string().describe("Primary phone number for the account").optional(),
|
|
30
30
|
phone_numbers: zod.z.array(zod.z.object({
|
|
31
31
|
type: zod.z.string().describe("Type of phone number (e.g., mobile, work, home)").optional(),
|
|
32
32
|
number: zod.z.string().describe("Phone number")
|
|
33
|
-
}).describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
|
|
33
|
+
}).passthrough().describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
|
|
34
34
|
parent_account: zod.z.number().int().describe("ID of the parent account if this is a subsidiary or child account").optional(),
|
|
35
|
-
email_addresses: zod.z.array(zod.z.object({ email: zod.z.string().describe("Email address") }).describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
|
|
35
|
+
email_addresses: zod.z.array(zod.z.object({ email: zod.z.string().describe("Email address") }).passthrough().describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
|
|
36
36
|
social_profiles: zod.z.array(zod.z.string()).describe("List of social media profile URLs (LinkedIn, Twitter, etc.)").optional(),
|
|
37
37
|
update_if_exists: zod.z.boolean().default(false).describe("If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.").optional()
|
|
38
38
|
}).describe("Request parameters for creating a new account in Salesflare.");
|
|
@@ -43,12 +43,12 @@ const SalesflareCreateAccount_AddressInfoSchema = zod.z.object({
|
|
|
43
43
|
street: zod.z.string().describe("Street address").nullable().optional(),
|
|
44
44
|
country: zod.z.string().describe("Country name").nullable().optional(),
|
|
45
45
|
state_region: zod.z.string().describe("State or region").nullable().optional()
|
|
46
|
-
}).describe("Address information for an account.");
|
|
46
|
+
}).passthrough().describe("Address information for an account.");
|
|
47
47
|
const SalesflareCreateAccount_PhoneNumberInfoSchema = zod.z.object({
|
|
48
48
|
type: zod.z.string().describe("Type of phone number (e.g., mobile, work, home)").nullable().optional(),
|
|
49
49
|
number: zod.z.string().describe("Phone number").nullable()
|
|
50
|
-
}).describe("Phone number information.");
|
|
51
|
-
const SalesflareCreateAccount_EmailAddressInfoSchema = zod.z.object({ email: zod.z.string().describe("Email address").nullable() }).describe("Email address information.");
|
|
50
|
+
}).passthrough().describe("Phone number information.");
|
|
51
|
+
const SalesflareCreateAccount_EmailAddressInfoSchema = zod.z.object({ email: zod.z.string().describe("Email address").nullable() }).passthrough().describe("Email address information.");
|
|
52
52
|
const SalesflareCreateAccountOutput = zod.z.object({
|
|
53
53
|
id: zod.z.number().int().describe("Unique identifier for the created account").nullable().optional(),
|
|
54
54
|
name: zod.z.string().describe("Name of the account").nullable().optional(),
|
|
@@ -56,7 +56,7 @@ const SalesflareCreateAccountOutput = zod.z.object({
|
|
|
56
56
|
tags: zod.z.array(zod.z.string()).describe("List of tags").nullable().optional(),
|
|
57
57
|
email: zod.z.string().describe("Primary email address").nullable().optional(),
|
|
58
58
|
owner: zod.z.number().int().describe("User ID of the account owner").nullable().optional(),
|
|
59
|
-
custom: zod.z.
|
|
59
|
+
custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields").nullable().optional(),
|
|
60
60
|
domain: zod.z.string().describe("Company domain name").nullable().optional(),
|
|
61
61
|
picture: zod.z.string().describe("URL to company logo").nullable().optional(),
|
|
62
62
|
website: zod.z.string().describe("Company website URL").nullable().optional(),
|
|
@@ -69,7 +69,7 @@ const SalesflareCreateAccountOutput = zod.z.object({
|
|
|
69
69
|
email_addresses: zod.z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe("List of email addresses").nullable().optional(),
|
|
70
70
|
social_profiles: zod.z.array(zod.z.string()).describe("List of social media profiles").nullable().optional(),
|
|
71
71
|
modification_date: zod.z.string().describe("ISO 8601 timestamp when the account was last modified").nullable().optional()
|
|
72
|
-
}).describe("Response returned after creating an account in Salesflare.");
|
|
72
|
+
}).passthrough().describe("Response returned after creating an account in Salesflare.");
|
|
73
73
|
const salesflareCreateAccount = require_action.action("SALESFLARE_CREATE_ACCOUNT", {
|
|
74
74
|
slug: "salesflare-create-account",
|
|
75
75
|
name: "Create Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateAccountInput = z.object({\n name: z.string().describe(\"Name of the account/company. This is the primary identifier for the account.\").optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags for categorizing the account\").optional(),\n email: z.string().describe(\"Primary email address for the account\").optional(),\n links: z.string().describe(\"Additional links related to the account\").optional(),\n owner: z.number().int().describe(\"User ID of the account owner in Salesflare\").optional(),\n custom: z.object({}).describe(\"Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.\").optional(),\n domain: z.string().describe(\"Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.\").optional(),\n picture: z.string().describe(\"URL to company logo or picture\").optional(),\n website: z.string().describe(\"Company website URL\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).describe(\"Address information for an account.\")).describe(\"List of addresses associated with the account\").optional(),\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID\"),\n name: z.string().describe(\"Customer name\").optional(),\n email: z.string().describe(\"Customer email address\").optional(),\n}).describe(\"Customer information for an account.\")).describe(\"List of customers associated with this account\").optional(),\n description: z.string().describe(\"Description or notes about the account\").optional(),\n phone_number: z.string().describe(\"Primary phone number for the account\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").optional(),\n number: z.string().describe(\"Phone number\"),\n}).describe(\"Phone number information.\")).describe(\"List of phone numbers associated with the account\").optional(),\n parent_account: z.number().int().describe(\"ID of the parent account if this is a subsidiary or child account\").optional(),\n email_addresses: z.array(z.object({\n email: z.string().describe(\"Email address\"),\n}).describe(\"Email address information.\")).describe(\"List of email addresses associated with the account\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs (LinkedIn, Twitter, etc.)\").optional(),\n update_if_exists: z.boolean().default(false).describe(\"If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.\").optional(),\n}).describe(\"Request parameters for creating a new account in Salesflare.\");\nconst SalesflareCreateAccount_AddressInfoSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information for an account.\");\nconst SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable(),\n}).describe(\"Phone number information.\");\nconst SalesflareCreateAccount_EmailAddressInfoSchema = z.object({\n email: z.string().describe(\"Email address\").nullable(),\n}).describe(\"Email address information.\");\nexport const SalesflareCreateAccountOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created account\").nullable().optional(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n size: z.number().int().describe(\"Company size\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the account owner\").nullable().optional(),\n custom: z.object({}).describe(\"Custom fields\").nullable().optional(),\n domain: z.string().describe(\"Company domain name\").nullable().optional(),\n picture: z.string().describe(\"URL to company logo\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n addresses: z.array(SalesflareCreateAccount_AddressInfoSchema).describe(\"List of addresses\").nullable().optional(),\n description: z.string().describe(\"Description of the account\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareCreateAccount_PhoneNumberInfoSchema).describe(\"List of phone numbers\").nullable().optional(),\n parent_account: z.number().int().describe(\"ID of the parent account\").nullable().optional(),\n email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe(\"List of email addresses\").nullable().optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n}).describe(\"Response returned after creating an account in Salesflare.\");\n\nexport const salesflareCreateAccount = action(\"SALESFLARE_CREATE_ACCOUNT\", {\n slug: \"salesflare-create-account\",\n name: \"Create Account\",\n description: \"Tool to create a new account in Salesflare. Use when you need to add a new company or organization to your CRM. If update_if_exists is true and an account with matching domain exists, it will be updated instead of creating a duplicate.\",\n input: SalesflareCreateAccountInput,\n output: SalesflareCreateAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI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AAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateAccountInput = z.object({\n name: z.string().describe(\"Name of the account/company. This is the primary identifier for the account.\").optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags for categorizing the account\").optional(),\n email: z.string().describe(\"Primary email address for the account\").optional(),\n links: z.string().describe(\"Additional links related to the account\").optional(),\n owner: z.number().int().describe(\"User ID of the account owner in Salesflare\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.\").optional(),\n domain: z.string().describe(\"Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.\").optional(),\n picture: z.string().describe(\"URL to company logo or picture\").optional(),\n website: z.string().describe(\"Company website URL\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).passthrough().describe(\"Address information for an account.\")).describe(\"List of addresses associated with the account\").optional(),\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID\"),\n name: z.string().describe(\"Customer name\").optional(),\n email: z.string().describe(\"Customer email address\").optional(),\n}).passthrough().describe(\"Customer information for an account.\")).describe(\"List of customers associated with this account\").optional(),\n description: z.string().describe(\"Description or notes about the account\").optional(),\n phone_number: z.string().describe(\"Primary phone number for the account\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").optional(),\n number: z.string().describe(\"Phone number\"),\n}).passthrough().describe(\"Phone number information.\")).describe(\"List of phone numbers associated with the account\").optional(),\n parent_account: z.number().int().describe(\"ID of the parent account if this is a subsidiary or child account\").optional(),\n email_addresses: z.array(z.object({\n email: z.string().describe(\"Email address\"),\n}).passthrough().describe(\"Email address information.\")).describe(\"List of email addresses associated with the account\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs (LinkedIn, Twitter, etc.)\").optional(),\n update_if_exists: z.boolean().default(false).describe(\"If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.\").optional(),\n}).describe(\"Request parameters for creating a new account in Salesflare.\");\nconst SalesflareCreateAccount_AddressInfoSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).passthrough().describe(\"Address information for an account.\");\nconst SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number information.\");\nconst SalesflareCreateAccount_EmailAddressInfoSchema = z.object({\n email: z.string().describe(\"Email address\").nullable(),\n}).passthrough().describe(\"Email address information.\");\nexport const SalesflareCreateAccountOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created account\").nullable().optional(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n size: z.number().int().describe(\"Company size\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the account owner\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields\").nullable().optional(),\n domain: z.string().describe(\"Company domain name\").nullable().optional(),\n picture: z.string().describe(\"URL to company logo\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n addresses: z.array(SalesflareCreateAccount_AddressInfoSchema).describe(\"List of addresses\").nullable().optional(),\n description: z.string().describe(\"Description of the account\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareCreateAccount_PhoneNumberInfoSchema).describe(\"List of phone numbers\").nullable().optional(),\n parent_account: z.number().int().describe(\"ID of the parent account\").nullable().optional(),\n email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe(\"List of email addresses\").nullable().optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response returned after creating an account in Salesflare.\");\n\nexport const salesflareCreateAccount = action(\"SALESFLARE_CREATE_ACCOUNT\", {\n slug: \"salesflare-create-account\",\n name: \"Create Account\",\n description: \"Tool to create a new account in Salesflare. Use when you need to add a new company or organization to your CRM. If update_if_exists is true and an account with matching domain exists, it will be updated instead of creating a duplicate.\",\n input: SalesflareCreateAccountInput,\n output: SalesflareCreateAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CACvN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AC5H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,iBAAiBA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SalesflareCreateAccountInput: z.ZodObject<{
|
|
|
8
8
|
email: z.ZodOptional<z.ZodString>;
|
|
9
9
|
links: z.ZodOptional<z.ZodString>;
|
|
10
10
|
owner: z.ZodOptional<z.ZodNumber>;
|
|
11
|
-
custom: z.ZodOptional<z.
|
|
11
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
12
|
domain: z.ZodOptional<z.ZodString>;
|
|
13
13
|
picture: z.ZodOptional<z.ZodString>;
|
|
14
14
|
website: z.ZodOptional<z.ZodString>;
|
|
@@ -19,22 +19,22 @@ declare const SalesflareCreateAccountInput: z.ZodObject<{
|
|
|
19
19
|
street: z.ZodOptional<z.ZodString>;
|
|
20
20
|
country: z.ZodOptional<z.ZodString>;
|
|
21
21
|
state_region: z.ZodOptional<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
customers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
24
|
id: z.ZodNumber;
|
|
25
25
|
name: z.ZodOptional<z.ZodString>;
|
|
26
26
|
email: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
description: z.ZodOptional<z.ZodString>;
|
|
29
29
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
30
30
|
phone_numbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
31
|
type: z.ZodOptional<z.ZodString>;
|
|
32
32
|
number: z.ZodString;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
parent_account: z.ZodOptional<z.ZodNumber>;
|
|
35
35
|
email_addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
36
|
email: z.ZodString;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
social_profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
39
|
update_if_exists: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
40
40
|
}, z.core.$strip>;
|
|
@@ -45,7 +45,7 @@ declare const SalesflareCreateAccountOutput: z.ZodObject<{
|
|
|
45
45
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
46
46
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
owner: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
custom: z.ZodOptional<z.ZodNullable<z.
|
|
48
|
+
custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
49
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -56,21 +56,21 @@ declare const SalesflareCreateAccountOutput: z.ZodObject<{
|
|
|
56
56
|
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>>>;
|
|
60
60
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
64
64
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
number: z.ZodNullable<z.ZodString>;
|
|
66
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$loose>>>>;
|
|
67
67
|
parent_account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
68
|
email_addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
69
69
|
email: z.ZodNullable<z.ZodString>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>>>;
|
|
71
71
|
social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
72
72
|
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$loose>;
|
|
74
74
|
declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
75
75
|
name?: string | undefined;
|
|
76
76
|
size?: number | undefined;
|
|
@@ -78,11 +78,12 @@ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowAct
|
|
|
78
78
|
email?: string | undefined;
|
|
79
79
|
links?: string | undefined;
|
|
80
80
|
owner?: number | undefined;
|
|
81
|
-
custom?: Record<string,
|
|
81
|
+
custom?: Record<string, unknown> | undefined;
|
|
82
82
|
domain?: string | undefined;
|
|
83
83
|
picture?: string | undefined;
|
|
84
84
|
website?: string | undefined;
|
|
85
85
|
addresses?: {
|
|
86
|
+
[x: string]: unknown;
|
|
86
87
|
zip?: string | undefined;
|
|
87
88
|
city?: string | undefined;
|
|
88
89
|
region?: string | undefined;
|
|
@@ -91,6 +92,7 @@ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowAct
|
|
|
91
92
|
state_region?: string | undefined;
|
|
92
93
|
}[] | undefined;
|
|
93
94
|
customers?: {
|
|
95
|
+
[x: string]: unknown;
|
|
94
96
|
id: number;
|
|
95
97
|
name?: string | undefined;
|
|
96
98
|
email?: string | undefined;
|
|
@@ -98,11 +100,13 @@ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowAct
|
|
|
98
100
|
description?: string | undefined;
|
|
99
101
|
phone_number?: string | undefined;
|
|
100
102
|
phone_numbers?: {
|
|
103
|
+
[x: string]: unknown;
|
|
101
104
|
number: string;
|
|
102
105
|
type?: string | undefined;
|
|
103
106
|
}[] | undefined;
|
|
104
107
|
parent_account?: number | undefined;
|
|
105
108
|
email_addresses?: {
|
|
109
|
+
[x: string]: unknown;
|
|
106
110
|
email: string;
|
|
107
111
|
}[] | undefined;
|
|
108
112
|
social_profiles?: string[] | undefined;
|
|
@@ -8,7 +8,7 @@ declare const SalesflareCreateAccountInput: z.ZodObject<{
|
|
|
8
8
|
email: z.ZodOptional<z.ZodString>;
|
|
9
9
|
links: z.ZodOptional<z.ZodString>;
|
|
10
10
|
owner: z.ZodOptional<z.ZodNumber>;
|
|
11
|
-
custom: z.ZodOptional<z.
|
|
11
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
12
|
domain: z.ZodOptional<z.ZodString>;
|
|
13
13
|
picture: z.ZodOptional<z.ZodString>;
|
|
14
14
|
website: z.ZodOptional<z.ZodString>;
|
|
@@ -19,22 +19,22 @@ declare const SalesflareCreateAccountInput: z.ZodObject<{
|
|
|
19
19
|
street: z.ZodOptional<z.ZodString>;
|
|
20
20
|
country: z.ZodOptional<z.ZodString>;
|
|
21
21
|
state_region: z.ZodOptional<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
customers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
24
|
id: z.ZodNumber;
|
|
25
25
|
name: z.ZodOptional<z.ZodString>;
|
|
26
26
|
email: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
28
|
description: z.ZodOptional<z.ZodString>;
|
|
29
29
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
30
30
|
phone_numbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
31
|
type: z.ZodOptional<z.ZodString>;
|
|
32
32
|
number: z.ZodString;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
parent_account: z.ZodOptional<z.ZodNumber>;
|
|
35
35
|
email_addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
36
36
|
email: z.ZodString;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>;
|
|
38
38
|
social_profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
39
|
update_if_exists: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
40
40
|
}, z.core.$strip>;
|
|
@@ -45,7 +45,7 @@ declare const SalesflareCreateAccountOutput: z.ZodObject<{
|
|
|
45
45
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
46
46
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
owner: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
custom: z.ZodOptional<z.ZodNullable<z.
|
|
48
|
+
custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
49
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -56,21 +56,21 @@ declare const SalesflareCreateAccountOutput: z.ZodObject<{
|
|
|
56
56
|
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>>>;
|
|
60
60
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
62
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
63
|
phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
64
64
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
number: z.ZodNullable<z.ZodString>;
|
|
66
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$loose>>>>;
|
|
67
67
|
parent_account: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
68
|
email_addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
69
69
|
email: z.ZodNullable<z.ZodString>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>>>;
|
|
71
71
|
social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
72
72
|
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$loose>;
|
|
74
74
|
declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
75
75
|
name?: string | undefined;
|
|
76
76
|
size?: number | undefined;
|
|
@@ -78,11 +78,12 @@ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowAct
|
|
|
78
78
|
email?: string | undefined;
|
|
79
79
|
links?: string | undefined;
|
|
80
80
|
owner?: number | undefined;
|
|
81
|
-
custom?: Record<string,
|
|
81
|
+
custom?: Record<string, unknown> | undefined;
|
|
82
82
|
domain?: string | undefined;
|
|
83
83
|
picture?: string | undefined;
|
|
84
84
|
website?: string | undefined;
|
|
85
85
|
addresses?: {
|
|
86
|
+
[x: string]: unknown;
|
|
86
87
|
zip?: string | undefined;
|
|
87
88
|
city?: string | undefined;
|
|
88
89
|
region?: string | undefined;
|
|
@@ -91,6 +92,7 @@ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowAct
|
|
|
91
92
|
state_region?: string | undefined;
|
|
92
93
|
}[] | undefined;
|
|
93
94
|
customers?: {
|
|
95
|
+
[x: string]: unknown;
|
|
94
96
|
id: number;
|
|
95
97
|
name?: string | undefined;
|
|
96
98
|
email?: string | undefined;
|
|
@@ -98,11 +100,13 @@ declare const salesflareCreateAccount: import("@keystrokehq/action").WorkflowAct
|
|
|
98
100
|
description?: string | undefined;
|
|
99
101
|
phone_number?: string | undefined;
|
|
100
102
|
phone_numbers?: {
|
|
103
|
+
[x: string]: unknown;
|
|
101
104
|
number: string;
|
|
102
105
|
type?: string | undefined;
|
|
103
106
|
}[] | undefined;
|
|
104
107
|
parent_account?: number | undefined;
|
|
105
108
|
email_addresses?: {
|
|
109
|
+
[x: string]: unknown;
|
|
106
110
|
email: string;
|
|
107
111
|
}[] | undefined;
|
|
108
112
|
social_profiles?: string[] | undefined;
|
|
@@ -8,7 +8,7 @@ const SalesflareCreateAccountInput = z.object({
|
|
|
8
8
|
email: z.string().describe("Primary email address for the account").optional(),
|
|
9
9
|
links: z.string().describe("Additional links related to the account").optional(),
|
|
10
10
|
owner: z.number().int().describe("User ID of the account owner in Salesflare").optional(),
|
|
11
|
-
custom: z.
|
|
11
|
+
custom: z.record(z.string(), z.unknown()).describe("Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.").optional(),
|
|
12
12
|
domain: z.string().describe("Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.").optional(),
|
|
13
13
|
picture: z.string().describe("URL to company logo or picture").optional(),
|
|
14
14
|
website: z.string().describe("Company website URL").optional(),
|
|
@@ -19,20 +19,20 @@ const SalesflareCreateAccountInput = z.object({
|
|
|
19
19
|
street: z.string().describe("Street address").optional(),
|
|
20
20
|
country: z.string().describe("Country name").optional(),
|
|
21
21
|
state_region: z.string().describe("State or region").optional()
|
|
22
|
-
}).describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
|
|
22
|
+
}).passthrough().describe("Address information for an account.")).describe("List of addresses associated with the account").optional(),
|
|
23
23
|
customers: z.array(z.object({
|
|
24
24
|
id: z.number().int().describe("Customer ID"),
|
|
25
25
|
name: z.string().describe("Customer name").optional(),
|
|
26
26
|
email: z.string().describe("Customer email address").optional()
|
|
27
|
-
}).describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
|
|
27
|
+
}).passthrough().describe("Customer information for an account.")).describe("List of customers associated with this account").optional(),
|
|
28
28
|
description: z.string().describe("Description or notes about the account").optional(),
|
|
29
29
|
phone_number: z.string().describe("Primary phone number for the account").optional(),
|
|
30
30
|
phone_numbers: z.array(z.object({
|
|
31
31
|
type: z.string().describe("Type of phone number (e.g., mobile, work, home)").optional(),
|
|
32
32
|
number: z.string().describe("Phone number")
|
|
33
|
-
}).describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
|
|
33
|
+
}).passthrough().describe("Phone number information.")).describe("List of phone numbers associated with the account").optional(),
|
|
34
34
|
parent_account: z.number().int().describe("ID of the parent account if this is a subsidiary or child account").optional(),
|
|
35
|
-
email_addresses: z.array(z.object({ email: z.string().describe("Email address") }).describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
|
|
35
|
+
email_addresses: z.array(z.object({ email: z.string().describe("Email address") }).passthrough().describe("Email address information.")).describe("List of email addresses associated with the account").optional(),
|
|
36
36
|
social_profiles: z.array(z.string()).describe("List of social media profile URLs (LinkedIn, Twitter, etc.)").optional(),
|
|
37
37
|
update_if_exists: z.boolean().default(false).describe("If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.").optional()
|
|
38
38
|
}).describe("Request parameters for creating a new account in Salesflare.");
|
|
@@ -43,12 +43,12 @@ const SalesflareCreateAccount_AddressInfoSchema = z.object({
|
|
|
43
43
|
street: z.string().describe("Street address").nullable().optional(),
|
|
44
44
|
country: z.string().describe("Country name").nullable().optional(),
|
|
45
45
|
state_region: z.string().describe("State or region").nullable().optional()
|
|
46
|
-
}).describe("Address information for an account.");
|
|
46
|
+
}).passthrough().describe("Address information for an account.");
|
|
47
47
|
const SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({
|
|
48
48
|
type: z.string().describe("Type of phone number (e.g., mobile, work, home)").nullable().optional(),
|
|
49
49
|
number: z.string().describe("Phone number").nullable()
|
|
50
|
-
}).describe("Phone number information.");
|
|
51
|
-
const SalesflareCreateAccount_EmailAddressInfoSchema = z.object({ email: z.string().describe("Email address").nullable() }).describe("Email address information.");
|
|
50
|
+
}).passthrough().describe("Phone number information.");
|
|
51
|
+
const SalesflareCreateAccount_EmailAddressInfoSchema = z.object({ email: z.string().describe("Email address").nullable() }).passthrough().describe("Email address information.");
|
|
52
52
|
const salesflareCreateAccount = action("SALESFLARE_CREATE_ACCOUNT", {
|
|
53
53
|
slug: "salesflare-create-account",
|
|
54
54
|
name: "Create Account",
|
|
@@ -61,7 +61,7 @@ const salesflareCreateAccount = action("SALESFLARE_CREATE_ACCOUNT", {
|
|
|
61
61
|
tags: z.array(z.string()).describe("List of tags").nullable().optional(),
|
|
62
62
|
email: z.string().describe("Primary email address").nullable().optional(),
|
|
63
63
|
owner: z.number().int().describe("User ID of the account owner").nullable().optional(),
|
|
64
|
-
custom: z.
|
|
64
|
+
custom: z.record(z.string(), z.unknown()).describe("Custom fields").nullable().optional(),
|
|
65
65
|
domain: z.string().describe("Company domain name").nullable().optional(),
|
|
66
66
|
picture: z.string().describe("URL to company logo").nullable().optional(),
|
|
67
67
|
website: z.string().describe("Company website URL").nullable().optional(),
|
|
@@ -74,7 +74,7 @@ const salesflareCreateAccount = action("SALESFLARE_CREATE_ACCOUNT", {
|
|
|
74
74
|
email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe("List of email addresses").nullable().optional(),
|
|
75
75
|
social_profiles: z.array(z.string()).describe("List of social media profiles").nullable().optional(),
|
|
76
76
|
modification_date: z.string().describe("ISO 8601 timestamp when the account was last modified").nullable().optional()
|
|
77
|
-
}).describe("Response returned after creating an account in Salesflare.")
|
|
77
|
+
}).passthrough().describe("Response returned after creating an account in Salesflare.")
|
|
78
78
|
});
|
|
79
79
|
//#endregion
|
|
80
80
|
export { salesflareCreateAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account.mjs","names":[],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateAccountInput = z.object({\n name: z.string().describe(\"Name of the account/company. This is the primary identifier for the account.\").optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags for categorizing the account\").optional(),\n email: z.string().describe(\"Primary email address for the account\").optional(),\n links: z.string().describe(\"Additional links related to the account\").optional(),\n owner: z.number().int().describe(\"User ID of the account owner in Salesflare\").optional(),\n custom: z.object({}).describe(\"Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.\").optional(),\n domain: z.string().describe(\"Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.\").optional(),\n picture: z.string().describe(\"URL to company logo or picture\").optional(),\n website: z.string().describe(\"Company website URL\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).describe(\"Address information for an account.\")).describe(\"List of addresses associated with the account\").optional(),\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID\"),\n name: z.string().describe(\"Customer name\").optional(),\n email: z.string().describe(\"Customer email address\").optional(),\n}).describe(\"Customer information for an account.\")).describe(\"List of customers associated with this account\").optional(),\n description: z.string().describe(\"Description or notes about the account\").optional(),\n phone_number: z.string().describe(\"Primary phone number for the account\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").optional(),\n number: z.string().describe(\"Phone number\"),\n}).describe(\"Phone number information.\")).describe(\"List of phone numbers associated with the account\").optional(),\n parent_account: z.number().int().describe(\"ID of the parent account if this is a subsidiary or child account\").optional(),\n email_addresses: z.array(z.object({\n email: z.string().describe(\"Email address\"),\n}).describe(\"Email address information.\")).describe(\"List of email addresses associated with the account\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs (LinkedIn, Twitter, etc.)\").optional(),\n update_if_exists: z.boolean().default(false).describe(\"If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.\").optional(),\n}).describe(\"Request parameters for creating a new account in Salesflare.\");\nconst SalesflareCreateAccount_AddressInfoSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).describe(\"Address information for an account.\");\nconst SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable(),\n}).describe(\"Phone number information.\");\nconst SalesflareCreateAccount_EmailAddressInfoSchema = z.object({\n email: z.string().describe(\"Email address\").nullable(),\n}).describe(\"Email address information.\");\nexport const SalesflareCreateAccountOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created account\").nullable().optional(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n size: z.number().int().describe(\"Company size\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the account owner\").nullable().optional(),\n custom: z.object({}).describe(\"Custom fields\").nullable().optional(),\n domain: z.string().describe(\"Company domain name\").nullable().optional(),\n picture: z.string().describe(\"URL to company logo\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n addresses: z.array(SalesflareCreateAccount_AddressInfoSchema).describe(\"List of addresses\").nullable().optional(),\n description: z.string().describe(\"Description of the account\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareCreateAccount_PhoneNumberInfoSchema).describe(\"List of phone numbers\").nullable().optional(),\n parent_account: z.number().int().describe(\"ID of the parent account\").nullable().optional(),\n email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe(\"List of email addresses\").nullable().optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n}).describe(\"Response returned after creating an account in Salesflare.\");\n\nexport const salesflareCreateAccount = action(\"SALESFLARE_CREATE_ACCOUNT\", {\n slug: \"salesflare-create-account\",\n name: \"Create Account\",\n description: \"Tool to create a new account in Salesflare. Use when you need to add a new company or organization to your CRM. If update_if_exists is true and an account with matching domain exists, it will be updated instead of creating a duplicate.\",\n input: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AC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,iBAAiB,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-account.mjs","names":[],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateAccountInput = z.object({\n name: z.string().describe(\"Name of the account/company. This is the primary identifier for the account.\").optional(),\n size: z.number().int().describe(\"Company size (number of employees)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags for categorizing the account\").optional(),\n email: z.string().describe(\"Primary email address for the account\").optional(),\n links: z.string().describe(\"Additional links related to the account\").optional(),\n owner: z.number().int().describe(\"User ID of the account owner in Salesflare\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs. Keys should match custom field names defined in your Salesflare account. Values can be strings, numbers, or booleans.\").optional(),\n domain: z.string().describe(\"Company domain name. Used for matching and enrichment. If update_if_exists is true, accounts with matching domain will be updated instead of creating duplicates.\").optional(),\n picture: z.string().describe(\"URL to company logo or picture\").optional(),\n website: z.string().describe(\"Company website URL\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"Region or state\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).passthrough().describe(\"Address information for an account.\")).describe(\"List of addresses associated with the account\").optional(),\n customers: z.array(z.object({\n id: z.number().int().describe(\"Customer ID\"),\n name: z.string().describe(\"Customer name\").optional(),\n email: z.string().describe(\"Customer email address\").optional(),\n}).passthrough().describe(\"Customer information for an account.\")).describe(\"List of customers associated with this account\").optional(),\n description: z.string().describe(\"Description or notes about the account\").optional(),\n phone_number: z.string().describe(\"Primary phone number for the account\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").optional(),\n number: z.string().describe(\"Phone number\"),\n}).passthrough().describe(\"Phone number information.\")).describe(\"List of phone numbers associated with the account\").optional(),\n parent_account: z.number().int().describe(\"ID of the parent account if this is a subsidiary or child account\").optional(),\n email_addresses: z.array(z.object({\n email: z.string().describe(\"Email address\"),\n}).passthrough().describe(\"Email address information.\")).describe(\"List of email addresses associated with the account\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs (LinkedIn, Twitter, etc.)\").optional(),\n update_if_exists: z.boolean().default(false).describe(\"If true and an account with matching domain exists, update it instead of creating a new one. If false, always create a new account.\").optional(),\n}).describe(\"Request parameters for creating a new account in Salesflare.\");\nconst SalesflareCreateAccount_AddressInfoSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n street: z.string().describe(\"Street address\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n state_region: z.string().describe(\"State or region\").nullable().optional(),\n}).passthrough().describe(\"Address information for an account.\");\nconst SalesflareCreateAccount_PhoneNumberInfoSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., mobile, work, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable(),\n}).passthrough().describe(\"Phone number information.\");\nconst SalesflareCreateAccount_EmailAddressInfoSchema = z.object({\n email: z.string().describe(\"Email address\").nullable(),\n}).passthrough().describe(\"Email address information.\");\nexport const SalesflareCreateAccountOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the created account\").nullable().optional(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n size: z.number().int().describe(\"Company size\").nullable().optional(),\n tags: z.array(z.string()).describe(\"List of tags\").nullable().optional(),\n email: z.string().describe(\"Primary email address\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the account owner\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields\").nullable().optional(),\n domain: z.string().describe(\"Company domain name\").nullable().optional(),\n picture: z.string().describe(\"URL to company logo\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n addresses: z.array(SalesflareCreateAccount_AddressInfoSchema).describe(\"List of addresses\").nullable().optional(),\n description: z.string().describe(\"Description of the account\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number\").nullable().optional(),\n creation_date: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n phone_numbers: z.array(SalesflareCreateAccount_PhoneNumberInfoSchema).describe(\"List of phone numbers\").nullable().optional(),\n parent_account: z.number().int().describe(\"ID of the parent account\").nullable().optional(),\n email_addresses: z.array(SalesflareCreateAccount_EmailAddressInfoSchema).describe(\"List of email addresses\").nullable().optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"ISO 8601 timestamp when the account was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response returned after creating an account in Salesflare.\");\n\nexport const salesflareCreateAccount = action(\"SALESFLARE_CREATE_ACCOUNT\", {\n slug: \"salesflare-create-account\",\n name: \"Create Account\",\n description: \"Tool to create a new account in Salesflare. Use when you need to add a new company or organization to your CRM. If update_if_exists is true and an account with matching dom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CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,iBAAiB,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -10,14 +10,14 @@ const SalesflareCreateCallInput = zod.z.object({ calls: zod.z.array(zod.z.object
|
|
|
10
10
|
description: zod.z.string().describe("Additional description for the call.").optional(),
|
|
11
11
|
participants: zod.z.array(zod.z.number().int()).describe("List of participant IDs (contact/account IDs) for the call. Can be an empty list for call log sync."),
|
|
12
12
|
phone_number_hash: zod.z.string().describe("Hash of the phone number associated with the call.").optional()
|
|
13
|
-
}).describe("Individual call record to be created.")).describe("List of call records to create. Each call must have a date and participants list.") });
|
|
13
|
+
}).passthrough().describe("Individual call record to be created.")).describe("List of call records to create. Each call must have a date and participants list.") });
|
|
14
14
|
const SalesflareCreateCall_CreatedCallSchema = zod.z.object({
|
|
15
15
|
id: zod.z.number().int().describe("Unique identifier of the created call.").nullable().optional(),
|
|
16
16
|
date: zod.z.string().describe("Date and time of the call in ISO 8601 format.").nullable().optional(),
|
|
17
17
|
notes: zod.z.string().describe("Notes or details about the call.").nullable().optional(),
|
|
18
18
|
subject: zod.z.string().describe("Subject or title of the call.").nullable().optional()
|
|
19
|
-
}).describe("Represents a created call record returned by the API.");
|
|
20
|
-
const SalesflareCreateCallOutput = zod.z.object({ calls: zod.z.array(SalesflareCreateCall_CreatedCallSchema).describe("List of created call records.") });
|
|
19
|
+
}).passthrough().describe("Represents a created call record returned by the API.");
|
|
20
|
+
const SalesflareCreateCallOutput = zod.z.object({ calls: zod.z.array(SalesflareCreateCall_CreatedCallSchema).describe("List of created call records.") }).passthrough();
|
|
21
21
|
const salesflareCreateCall = require_action.action("SALESFLARE_CREATE_CALL", {
|
|
22
22
|
slug: "salesflare-create-call",
|
|
23
23
|
name: "Create call",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-call.cjs","names":["z","action"],"sources":["../../src/actions/create-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateCallInput = z.object({\n calls: z.array(z.object({\n date: z.string().describe(\"Date and time of the call in ISO 8601 format (e.g., '2026-02-12T14:00:00Z'). Required field.\"),\n notes: z.string().describe(\"Notes or details about the call. Use this field for call content instead of the deprecated 'minutes' field.\").optional(),\n subject: z.string().describe(\"Subject or title of the call. Maximum length is 200 characters.\").optional(),\n end_date: z.string().describe(\"End date and time of the call in ISO 8601 format (e.g., '2026-02-12T15:00:00Z').\").optional(),\n phone_type: z.string().describe(\"Type of phone number used for the call.\").optional(),\n description: z.string().describe(\"Additional description for the call.\").optional(),\n participants: z.array(z.number().int()).describe(\"List of participant IDs (contact/account IDs) for the call. Can be an empty list for call log sync.\"),\n phone_number_hash: z.string().describe(\"Hash of the phone number associated with the call.\").optional(),\n}).describe(\"Individual call record to be created.\")).describe(\"List of call records to create. Each call must have a date and participants list.\"),\n});\nconst SalesflareCreateCall_CreatedCallSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the created call.\").nullable().optional(),\n date: z.string().describe(\"Date and time of the call in ISO 8601 format.\").nullable().optional(),\n notes: z.string().describe(\"Notes or details about the call.\").nullable().optional(),\n subject: z.string().describe(\"Subject or title of the call.\").nullable().optional(),\n}).describe(\"Represents a created call record returned by the API.\");\nexport const SalesflareCreateCallOutput = z.object({\n calls: z.array(SalesflareCreateCall_CreatedCallSchema).describe(\"List of created call records.\"),\n});\n\nexport const salesflareCreateCall = action(\"SALESFLARE_CREATE_CALL\", {\n slug: \"salesflare-create-call\",\n name: \"Create call\",\n description: \"Tool to create one or more call records in Salesflare. Use when logging calls with contacts or accounts. Each call requires a date and participants list (can be empty for call log sync).\",\n input: SalesflareCreateCallInput,\n output: SalesflareCreateCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qGAAqG;CACtJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,mFAAmF,
|
|
1
|
+
{"version":3,"file":"create-call.cjs","names":["z","action"],"sources":["../../src/actions/create-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateCallInput = z.object({\n calls: z.array(z.object({\n date: z.string().describe(\"Date and time of the call in ISO 8601 format (e.g., '2026-02-12T14:00:00Z'). Required field.\"),\n notes: z.string().describe(\"Notes or details about the call. Use this field for call content instead of the deprecated 'minutes' field.\").optional(),\n subject: z.string().describe(\"Subject or title of the call. Maximum length is 200 characters.\").optional(),\n end_date: z.string().describe(\"End date and time of the call in ISO 8601 format (e.g., '2026-02-12T15:00:00Z').\").optional(),\n phone_type: z.string().describe(\"Type of phone number used for the call.\").optional(),\n description: z.string().describe(\"Additional description for the call.\").optional(),\n participants: z.array(z.number().int()).describe(\"List of participant IDs (contact/account IDs) for the call. Can be an empty list for call log sync.\"),\n phone_number_hash: z.string().describe(\"Hash of the phone number associated with the call.\").optional(),\n}).passthrough().describe(\"Individual call record to be created.\")).describe(\"List of call records to create. Each call must have a date and participants list.\"),\n});\nconst SalesflareCreateCall_CreatedCallSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the created call.\").nullable().optional(),\n date: z.string().describe(\"Date and time of the call in ISO 8601 format.\").nullable().optional(),\n notes: z.string().describe(\"Notes or details about the call.\").nullable().optional(),\n subject: z.string().describe(\"Subject or title of the call.\").nullable().optional(),\n}).passthrough().describe(\"Represents a created call record returned by the API.\");\nexport const SalesflareCreateCallOutput = z.object({\n calls: z.array(SalesflareCreateCall_CreatedCallSchema).describe(\"List of created call records.\"),\n}).passthrough();\n\nexport const salesflareCreateCall = action(\"SALESFLARE_CREATE_CALL\", {\n slug: \"salesflare-create-call\",\n name: \"Create call\",\n description: \"Tool to create one or more call records in Salesflare. Use when logging calls with contacts or accounts. Each call requires a date and participants list (can be empty for call log sync).\",\n input: SalesflareCreateCallInput,\n output: SalesflareCreateCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qGAAqG;CACtJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,mFAAmF,EAChK,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,C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