@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
|
@@ -11,7 +11,7 @@ declare const SalesflareCreateCallInput: z.ZodObject<{
|
|
|
11
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
12
|
participants: z.ZodArray<z.ZodNumber>;
|
|
13
13
|
phone_number_hash: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const SalesflareCreateCallOutput: z.ZodObject<{
|
|
17
17
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -19,10 +19,11 @@ declare const SalesflareCreateCallOutput: z.ZodObject<{
|
|
|
19
19
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const salesflareCreateCall: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
calls: {
|
|
26
|
+
[x: string]: unknown;
|
|
26
27
|
date: string;
|
|
27
28
|
participants: number[];
|
|
28
29
|
notes?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const SalesflareCreateCallInput: z.ZodObject<{
|
|
|
11
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
12
|
participants: z.ZodArray<z.ZodNumber>;
|
|
13
13
|
phone_number_hash: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
declare const SalesflareCreateCallOutput: z.ZodObject<{
|
|
17
17
|
calls: z.ZodArray<z.ZodObject<{
|
|
@@ -19,10 +19,11 @@ declare const SalesflareCreateCallOutput: z.ZodObject<{
|
|
|
19
19
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const salesflareCreateCall: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
calls: {
|
|
26
|
+
[x: string]: unknown;
|
|
26
27
|
date: string;
|
|
27
28
|
participants: number[];
|
|
28
29
|
notes?: string | undefined;
|
|
@@ -10,19 +10,19 @@ const SalesflareCreateCallInput = z.object({ calls: z.array(z.object({
|
|
|
10
10
|
description: z.string().describe("Additional description for the call.").optional(),
|
|
11
11
|
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."),
|
|
12
12
|
phone_number_hash: 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 = z.object({
|
|
15
15
|
id: z.number().int().describe("Unique identifier of the created call.").nullable().optional(),
|
|
16
16
|
date: z.string().describe("Date and time of the call in ISO 8601 format.").nullable().optional(),
|
|
17
17
|
notes: z.string().describe("Notes or details about the call.").nullable().optional(),
|
|
18
18
|
subject: z.string().describe("Subject or title of the call.").nullable().optional()
|
|
19
|
-
}).describe("Represents a created call record returned by the API.");
|
|
19
|
+
}).passthrough().describe("Represents a created call record returned by the API.");
|
|
20
20
|
const salesflareCreateCall = action("SALESFLARE_CREATE_CALL", {
|
|
21
21
|
slug: "salesflare-create-call",
|
|
22
22
|
name: "Create call",
|
|
23
23
|
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).",
|
|
24
24
|
input: SalesflareCreateCallInput,
|
|
25
|
-
output: z.object({ calls: z.array(SalesflareCreateCall_CreatedCallSchema).describe("List of created call records.") })
|
|
25
|
+
output: z.object({ calls: z.array(SalesflareCreateCall_CreatedCallSchema).describe("List of created call records.") }).passthrough()
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { salesflareCreateCall };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-call.mjs","names":[],"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,4BAA4B,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACnJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qGAAqG;CACtJ,mBAAmB,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.mjs","names":[],"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,4BAA4B,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,EAAE,OAAO;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACnJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qGAAqG;CACtJ,mBAAmB,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,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAKjF,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,+BAA+B,EACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SalesflareCreateContactInput = zod.z.object({
|
|
|
8
8
|
tags: zod.z.array(zod.z.string()).describe("List of tags").optional(),
|
|
9
9
|
email: zod.z.string().describe("Email address of the contact").optional(),
|
|
10
10
|
owner: zod.z.number().int().describe("User ID of the contact owner").optional(),
|
|
11
|
-
custom: zod.z.
|
|
11
|
+
custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields as key-value pairs").optional(),
|
|
12
12
|
domain: zod.z.string().describe("Domain of the contact's email").optional(),
|
|
13
13
|
middle: zod.z.string().describe("Middle name or initial").optional(),
|
|
14
14
|
prefix: zod.z.string().describe("Name prefix (e.g., Mr., Ms., Dr.)").optional(),
|
|
@@ -39,12 +39,12 @@ const SalesflareCreateContactInput = zod.z.object({
|
|
|
39
39
|
street: zod.z.string().describe("Street address").optional(),
|
|
40
40
|
country: zod.z.string().describe("Country name").optional(),
|
|
41
41
|
state_region: zod.z.string().describe("State or region").optional()
|
|
42
|
-
}).describe("Address information for a contact.")).describe("List of addresses").optional(),
|
|
42
|
+
}).passthrough().describe("Address information for a contact.")).describe("List of addresses").optional(),
|
|
43
43
|
firstname: zod.z.string().describe("First name of the contact").optional(),
|
|
44
44
|
positions: zod.z.array(zod.z.object({
|
|
45
45
|
role: zod.z.string().describe("Role or job title").optional(),
|
|
46
46
|
organisation: zod.z.string().describe("Organization name").optional()
|
|
47
|
-
}).describe("Position information for a contact.")).describe("List of positions (for multiple roles)").optional(),
|
|
47
|
+
}).passthrough().describe("Position information for a contact.")).describe("List of positions (for multiple roles)").optional(),
|
|
48
48
|
birth_date: zod.z.string().describe("Birth date in ISO 8601 format (e.g., 1990-01-15T00:00:00Z)").optional(),
|
|
49
49
|
fax_number: zod.z.string().describe("Fax number").optional(),
|
|
50
50
|
bounced_date: zod.z.string().describe("Date when email bounced in ISO 8601 format").optional(),
|
|
@@ -54,10 +54,10 @@ const SalesflareCreateContactInput = zod.z.object({
|
|
|
54
54
|
"opt-out_campaign": zod.z.string().describe("Campaign from which the contact opted out").optional(),
|
|
55
55
|
home_phone_number: zod.z.string().describe("Home phone number").optional(),
|
|
56
56
|
mobile_phone_number: zod.z.string().describe("Mobile phone number").optional()
|
|
57
|
-
}).describe("Contact information for creating a new contact.")).describe("List of contacts to create. If a single contact is provided, the response will be a single object; if multiple, an array will be returned.")
|
|
57
|
+
}).passthrough().describe("Contact information for creating a new contact.")).describe("List of contacts to create. If a single contact is provided, the response will be a single object; if multiple, an array will be returned.")
|
|
58
58
|
}).describe("Request model for creating one or more contacts in Salesflare.");
|
|
59
|
-
const SalesflareCreateContact_CreatedContactSchema = zod.z.object({ id: zod.z.number().int().describe("ID of the newly created contact").nullable() }).describe("Response data for a successfully created contact.");
|
|
60
|
-
const SalesflareCreateContactOutput = zod.z.object({ contacts: zod.z.union([SalesflareCreateContact_CreatedContactSchema, zod.z.array(SalesflareCreateContact_CreatedContactSchema)]) }).describe("Response model after creating contacts.\nReturns a single contact or list of contacts depending on input.");
|
|
59
|
+
const SalesflareCreateContact_CreatedContactSchema = zod.z.object({ id: zod.z.number().int().describe("ID of the newly created contact").nullable() }).passthrough().describe("Response data for a successfully created contact.");
|
|
60
|
+
const SalesflareCreateContactOutput = zod.z.object({ contacts: zod.z.union([SalesflareCreateContact_CreatedContactSchema, zod.z.array(SalesflareCreateContact_CreatedContactSchema)]) }).passthrough().describe("Response model after creating contacts.\nReturns a single contact or list of contacts depending on input.");
|
|
61
61
|
const salesflareCreateContact = require_action.action("SALESFLARE_CREATE_CONTACT", {
|
|
62
62
|
slug: "salesflare-create-contact",
|
|
63
63
|
name: "Create Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateContactInput = z.object({\n force: z.boolean().default(true).describe(\"When false, the contact will not be created if a contact with the same email address used to exist. Defaults to true.\").optional(),\n contacts: z.array(z.object({\n name: z.string().describe(\"Full name of the contact (alternative to firstname/lastname)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags\").optional(),\n email: z.string().describe(\"Email address of the contact\").optional(),\n owner: z.number().int().describe(\"User ID of the contact owner\").optional(),\n custom: z.
|
|
1
|
+
{"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateContactInput = z.object({\n force: z.boolean().default(true).describe(\"When false, the contact will not be created if a contact with the same email address used to exist. Defaults to true.\").optional(),\n contacts: z.array(z.object({\n name: z.string().describe(\"Full name of the contact (alternative to firstname/lastname)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags\").optional(),\n email: z.string().describe(\"Email address of the contact\").optional(),\n owner: z.number().int().describe(\"User ID of the contact owner\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs\").optional(),\n domain: z.string().describe(\"Domain of the contact's email\").optional(),\n middle: z.string().describe(\"Middle name or initial\").optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Ms., Dr.)\").optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr., III)\").optional(),\n account: z.number().int().describe(\"Account ID to associate with the contact. Pass null to remove existing account association.\").optional(),\n address: z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").optional(),\n region: z.string().describe(\"Region name\").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 a contact.\").optional(),\n bounced: z.boolean().describe(\"Whether the contact's email has bounced\").optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").optional(),\n picture: z.string().describe(\"URL to contact's picture\").optional(),\n lastname: z.string().describe(\"Last name of the contact\").optional(),\n position: z.object({\n role: z.string().describe(\"Role or job title\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).describe(\"Position information for a contact.\").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 type: z.string().describe(\"Address type (e.g., home, work)\").optional(),\n region: z.string().describe(\"Region name\").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 a contact.\")).describe(\"List of addresses\").optional(),\n firstname: z.string().describe(\"First name of the contact\").optional(),\n positions: z.array(z.object({\n role: z.string().describe(\"Role or job title\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).passthrough().describe(\"Position information for a contact.\")).describe(\"List of positions (for multiple roles)\").optional(),\n birth_date: z.string().describe(\"Birth date in ISO 8601 format (e.g., 1990-01-15T00:00:00Z)\").optional(),\n fax_number: z.string().describe(\"Fax number\").optional(),\n bounced_date: z.string().describe(\"Date when email bounced in ISO 8601 format\").optional(),\n \"opt-out_date\": z.string().describe(\"Date when contact opted out in ISO 8601 format\").optional(),\n phone_number: z.string().describe(\"Primary phone number\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social profile URLs\").optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").optional(),\n home_phone_number: z.string().describe(\"Home phone number\").optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").optional(),\n}).passthrough().describe(\"Contact information for creating a new contact.\")).describe(\"List of contacts to create. If a single contact is provided, the response will be a single object; if multiple, an array will be returned.\"),\n}).describe(\"Request model for creating one or more contacts in Salesflare.\");\nconst SalesflareCreateContact_CreatedContactSchema = z.object({\n id: z.number().int().describe(\"ID of the newly created contact\").nullable(),\n}).passthrough().describe(\"Response data for a successfully created contact.\");\nexport const SalesflareCreateContactOutput = z.object({\n contacts: z.union([SalesflareCreateContact_CreatedContactSchema, z.array(SalesflareCreateContact_CreatedContactSchema)]),\n}).passthrough().describe(\"Response model after creating contacts.\\nReturns a single contact or list of contacts depending on input.\");\n\nexport const salesflareCreateContact = action(\"SALESFLARE_CREATE_CONTACT\", {\n slug: \"salesflare-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create new contacts in Salesflare. Use when you need to add contact records to the system. Accepts single or multiple contacts. If creating one contact, response contains a single object; if multiple, an array is returned.\",\n input: SalesflareCreateContactInput,\n output: SalesflareCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC5K,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,MAAMA,IAAAA,EAAE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EACrE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACnO,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,CAAC,8CAA8CA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AAErI,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SalesflareCreateContactInput: z.ZodObject<{
|
|
|
8
8
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
9
|
email: 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
|
middle: z.ZodOptional<z.ZodString>;
|
|
14
14
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -39,12 +39,12 @@ declare const SalesflareCreateContactInput: z.ZodObject<{
|
|
|
39
39
|
street: z.ZodOptional<z.ZodString>;
|
|
40
40
|
country: z.ZodOptional<z.ZodString>;
|
|
41
41
|
state_region: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
43
|
firstname: z.ZodOptional<z.ZodString>;
|
|
44
44
|
positions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
45
45
|
role: z.ZodOptional<z.ZodString>;
|
|
46
46
|
organisation: z.ZodOptional<z.ZodString>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
49
49
|
fax_number: z.ZodOptional<z.ZodString>;
|
|
50
50
|
bounced_date: z.ZodOptional<z.ZodString>;
|
|
@@ -54,22 +54,23 @@ declare const SalesflareCreateContactInput: z.ZodObject<{
|
|
|
54
54
|
"opt-out_campaign": z.ZodOptional<z.ZodString>;
|
|
55
55
|
home_phone_number: z.ZodOptional<z.ZodString>;
|
|
56
56
|
mobile_phone_number: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
59
|
declare const SalesflareCreateContactOutput: z.ZodObject<{
|
|
60
60
|
contacts: z.ZodUnion<readonly [z.ZodObject<{
|
|
61
61
|
id: z.ZodNullable<z.ZodNumber>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>, z.ZodArray<z.ZodObject<{
|
|
63
63
|
id: z.ZodNullable<z.ZodNumber>;
|
|
64
|
-
}, z.core.$
|
|
65
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>]>;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
66
|
declare const salesflareCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
67
|
contacts: {
|
|
68
|
+
[x: string]: unknown;
|
|
68
69
|
name?: string | undefined;
|
|
69
70
|
tags?: string[] | undefined;
|
|
70
71
|
email?: string | undefined;
|
|
71
72
|
owner?: number | undefined;
|
|
72
|
-
custom?: Record<string,
|
|
73
|
+
custom?: Record<string, unknown> | undefined;
|
|
73
74
|
domain?: string | undefined;
|
|
74
75
|
middle?: string | undefined;
|
|
75
76
|
prefix?: string | undefined;
|
|
@@ -93,6 +94,7 @@ declare const salesflareCreateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
93
94
|
organisation?: string | undefined;
|
|
94
95
|
} | undefined;
|
|
95
96
|
addresses?: {
|
|
97
|
+
[x: string]: unknown;
|
|
96
98
|
zip?: string | undefined;
|
|
97
99
|
city?: string | undefined;
|
|
98
100
|
type?: string | undefined;
|
|
@@ -103,6 +105,7 @@ declare const salesflareCreateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
103
105
|
}[] | undefined;
|
|
104
106
|
firstname?: string | undefined;
|
|
105
107
|
positions?: {
|
|
108
|
+
[x: string]: unknown;
|
|
106
109
|
role?: string | undefined;
|
|
107
110
|
organisation?: string | undefined;
|
|
108
111
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA;;;;;;;aAMlC,MAAA"}
|
|
@@ -8,7 +8,7 @@ declare const SalesflareCreateContactInput: z.ZodObject<{
|
|
|
8
8
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
9
|
email: 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
|
middle: z.ZodOptional<z.ZodString>;
|
|
14
14
|
prefix: z.ZodOptional<z.ZodString>;
|
|
@@ -39,12 +39,12 @@ declare const SalesflareCreateContactInput: z.ZodObject<{
|
|
|
39
39
|
street: z.ZodOptional<z.ZodString>;
|
|
40
40
|
country: z.ZodOptional<z.ZodString>;
|
|
41
41
|
state_region: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
43
|
firstname: z.ZodOptional<z.ZodString>;
|
|
44
44
|
positions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
45
45
|
role: z.ZodOptional<z.ZodString>;
|
|
46
46
|
organisation: z.ZodOptional<z.ZodString>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>>;
|
|
48
48
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
49
49
|
fax_number: z.ZodOptional<z.ZodString>;
|
|
50
50
|
bounced_date: z.ZodOptional<z.ZodString>;
|
|
@@ -54,22 +54,23 @@ declare const SalesflareCreateContactInput: z.ZodObject<{
|
|
|
54
54
|
"opt-out_campaign": z.ZodOptional<z.ZodString>;
|
|
55
55
|
home_phone_number: z.ZodOptional<z.ZodString>;
|
|
56
56
|
mobile_phone_number: z.ZodOptional<z.ZodString>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
59
|
declare const SalesflareCreateContactOutput: z.ZodObject<{
|
|
60
60
|
contacts: z.ZodUnion<readonly [z.ZodObject<{
|
|
61
61
|
id: z.ZodNullable<z.ZodNumber>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>, z.ZodArray<z.ZodObject<{
|
|
63
63
|
id: z.ZodNullable<z.ZodNumber>;
|
|
64
|
-
}, z.core.$
|
|
65
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$loose>>]>;
|
|
65
|
+
}, z.core.$loose>;
|
|
66
66
|
declare const salesflareCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
67
|
contacts: {
|
|
68
|
+
[x: string]: unknown;
|
|
68
69
|
name?: string | undefined;
|
|
69
70
|
tags?: string[] | undefined;
|
|
70
71
|
email?: string | undefined;
|
|
71
72
|
owner?: number | undefined;
|
|
72
|
-
custom?: Record<string,
|
|
73
|
+
custom?: Record<string, unknown> | undefined;
|
|
73
74
|
domain?: string | undefined;
|
|
74
75
|
middle?: string | undefined;
|
|
75
76
|
prefix?: string | undefined;
|
|
@@ -93,6 +94,7 @@ declare const salesflareCreateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
93
94
|
organisation?: string | undefined;
|
|
94
95
|
} | undefined;
|
|
95
96
|
addresses?: {
|
|
97
|
+
[x: string]: unknown;
|
|
96
98
|
zip?: string | undefined;
|
|
97
99
|
city?: string | undefined;
|
|
98
100
|
type?: string | undefined;
|
|
@@ -103,6 +105,7 @@ declare const salesflareCreateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
103
105
|
}[] | undefined;
|
|
104
106
|
firstname?: string | undefined;
|
|
105
107
|
positions?: {
|
|
108
|
+
[x: string]: unknown;
|
|
106
109
|
role?: string | undefined;
|
|
107
110
|
organisation?: string | undefined;
|
|
108
111
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0D5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA;;;;;;;aAMlC,MAAA"}
|
|
@@ -8,7 +8,7 @@ const SalesflareCreateContactInput = z.object({
|
|
|
8
8
|
tags: z.array(z.string()).describe("List of tags").optional(),
|
|
9
9
|
email: z.string().describe("Email address of the contact").optional(),
|
|
10
10
|
owner: z.number().int().describe("User ID of the contact owner").optional(),
|
|
11
|
-
custom: z.
|
|
11
|
+
custom: z.record(z.string(), z.unknown()).describe("Custom fields as key-value pairs").optional(),
|
|
12
12
|
domain: z.string().describe("Domain of the contact's email").optional(),
|
|
13
13
|
middle: z.string().describe("Middle name or initial").optional(),
|
|
14
14
|
prefix: z.string().describe("Name prefix (e.g., Mr., Ms., Dr.)").optional(),
|
|
@@ -39,12 +39,12 @@ const SalesflareCreateContactInput = z.object({
|
|
|
39
39
|
street: z.string().describe("Street address").optional(),
|
|
40
40
|
country: z.string().describe("Country name").optional(),
|
|
41
41
|
state_region: z.string().describe("State or region").optional()
|
|
42
|
-
}).describe("Address information for a contact.")).describe("List of addresses").optional(),
|
|
42
|
+
}).passthrough().describe("Address information for a contact.")).describe("List of addresses").optional(),
|
|
43
43
|
firstname: z.string().describe("First name of the contact").optional(),
|
|
44
44
|
positions: z.array(z.object({
|
|
45
45
|
role: z.string().describe("Role or job title").optional(),
|
|
46
46
|
organisation: z.string().describe("Organization name").optional()
|
|
47
|
-
}).describe("Position information for a contact.")).describe("List of positions (for multiple roles)").optional(),
|
|
47
|
+
}).passthrough().describe("Position information for a contact.")).describe("List of positions (for multiple roles)").optional(),
|
|
48
48
|
birth_date: z.string().describe("Birth date in ISO 8601 format (e.g., 1990-01-15T00:00:00Z)").optional(),
|
|
49
49
|
fax_number: z.string().describe("Fax number").optional(),
|
|
50
50
|
bounced_date: z.string().describe("Date when email bounced in ISO 8601 format").optional(),
|
|
@@ -54,15 +54,15 @@ const SalesflareCreateContactInput = z.object({
|
|
|
54
54
|
"opt-out_campaign": z.string().describe("Campaign from which the contact opted out").optional(),
|
|
55
55
|
home_phone_number: z.string().describe("Home phone number").optional(),
|
|
56
56
|
mobile_phone_number: z.string().describe("Mobile phone number").optional()
|
|
57
|
-
}).describe("Contact information for creating a new contact.")).describe("List of contacts to create. If a single contact is provided, the response will be a single object; if multiple, an array will be returned.")
|
|
57
|
+
}).passthrough().describe("Contact information for creating a new contact.")).describe("List of contacts to create. If a single contact is provided, the response will be a single object; if multiple, an array will be returned.")
|
|
58
58
|
}).describe("Request model for creating one or more contacts in Salesflare.");
|
|
59
|
-
const SalesflareCreateContact_CreatedContactSchema = z.object({ id: z.number().int().describe("ID of the newly created contact").nullable() }).describe("Response data for a successfully created contact.");
|
|
59
|
+
const SalesflareCreateContact_CreatedContactSchema = z.object({ id: z.number().int().describe("ID of the newly created contact").nullable() }).passthrough().describe("Response data for a successfully created contact.");
|
|
60
60
|
const salesflareCreateContact = action("SALESFLARE_CREATE_CONTACT", {
|
|
61
61
|
slug: "salesflare-create-contact",
|
|
62
62
|
name: "Create Contact",
|
|
63
63
|
description: "Tool to create new contacts in Salesflare. Use when you need to add contact records to the system. Accepts single or multiple contacts. If creating one contact, response contains a single object; if multiple, an array is returned.",
|
|
64
64
|
input: SalesflareCreateContactInput,
|
|
65
|
-
output: z.object({ contacts: z.union([SalesflareCreateContact_CreatedContactSchema, z.array(SalesflareCreateContact_CreatedContactSchema)]) }).describe("Response model after creating contacts.\nReturns a single contact or list of contacts depending on input.")
|
|
65
|
+
output: z.object({ contacts: z.union([SalesflareCreateContact_CreatedContactSchema, z.array(SalesflareCreateContact_CreatedContactSchema)]) }).passthrough().describe("Response model after creating contacts.\nReturns a single contact or list of contacts depending on input.")
|
|
66
66
|
});
|
|
67
67
|
//#endregion
|
|
68
68
|
export { salesflareCreateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateContactInput = z.object({\n force: z.boolean().default(true).describe(\"When false, the contact will not be created if a contact with the same email address used to exist. Defaults to true.\").optional(),\n contacts: z.array(z.object({\n name: z.string().describe(\"Full name of the contact (alternative to firstname/lastname)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags\").optional(),\n email: z.string().describe(\"Email address of the contact\").optional(),\n owner: z.number().int().describe(\"User ID of the contact owner\").optional(),\n custom: z.
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateContactInput = z.object({\n force: z.boolean().default(true).describe(\"When false, the contact will not be created if a contact with the same email address used to exist. Defaults to true.\").optional(),\n contacts: z.array(z.object({\n name: z.string().describe(\"Full name of the contact (alternative to firstname/lastname)\").optional(),\n tags: z.array(z.string()).describe(\"List of tags\").optional(),\n email: z.string().describe(\"Email address of the contact\").optional(),\n owner: z.number().int().describe(\"User ID of the contact owner\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs\").optional(),\n domain: z.string().describe(\"Domain of the contact's email\").optional(),\n middle: z.string().describe(\"Middle name or initial\").optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Ms., Dr.)\").optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr., III)\").optional(),\n account: z.number().int().describe(\"Account ID to associate with the contact. Pass null to remove existing account association.\").optional(),\n address: z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").optional(),\n region: z.string().describe(\"Region name\").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 a contact.\").optional(),\n bounced: z.boolean().describe(\"Whether the contact's email has bounced\").optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").optional(),\n picture: z.string().describe(\"URL to contact's picture\").optional(),\n lastname: z.string().describe(\"Last name of the contact\").optional(),\n position: z.object({\n role: z.string().describe(\"Role or job title\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).describe(\"Position information for a contact.\").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 type: z.string().describe(\"Address type (e.g., home, work)\").optional(),\n region: z.string().describe(\"Region name\").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 a contact.\")).describe(\"List of addresses\").optional(),\n firstname: z.string().describe(\"First name of the contact\").optional(),\n positions: z.array(z.object({\n role: z.string().describe(\"Role or job title\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).passthrough().describe(\"Position information for a contact.\")).describe(\"List of positions (for multiple roles)\").optional(),\n birth_date: z.string().describe(\"Birth date in ISO 8601 format (e.g., 1990-01-15T00:00:00Z)\").optional(),\n fax_number: z.string().describe(\"Fax number\").optional(),\n bounced_date: z.string().describe(\"Date when email bounced in ISO 8601 format\").optional(),\n \"opt-out_date\": z.string().describe(\"Date when contact opted out in ISO 8601 format\").optional(),\n phone_number: z.string().describe(\"Primary phone number\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social profile URLs\").optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").optional(),\n home_phone_number: z.string().describe(\"Home phone number\").optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").optional(),\n}).passthrough().describe(\"Contact information for creating a new contact.\")).describe(\"List of contacts to create. If a single contact is provided, the response will be a single object; if multiple, an array will be returned.\"),\n}).describe(\"Request model for creating one or more contacts in Salesflare.\");\nconst SalesflareCreateContact_CreatedContactSchema = z.object({\n id: z.number().int().describe(\"ID of the newly created contact\").nullable(),\n}).passthrough().describe(\"Response data for a successfully created contact.\");\nexport const SalesflareCreateContactOutput = z.object({\n contacts: z.union([SalesflareCreateContact_CreatedContactSchema, z.array(SalesflareCreateContact_CreatedContactSchema)]),\n}).passthrough().describe(\"Response model after creating contacts.\\nReturns a single contact or list of contacts depending on input.\");\n\nexport const salesflareCreateContact = action(\"SALESFLARE_CREATE_CONTACT\", {\n slug: \"salesflare-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create new contacts in Salesflare. Use when you need to add contact records to the system. Accepts single or multiple contacts. If creating one contact, response contains a single object; if multiple, an array is returned.\",\n input: SalesflareCreateContactInput,\n output: SalesflareCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC5K,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,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name: zod.z.string().describe("Name of the option."),
|
|
11
11
|
order: zod.z.number().int().describe("Display order of the option.").optional(),
|
|
12
12
|
archived: zod.z.boolean().describe("Whether the option is archived.").optional()
|
|
13
|
-
}).describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
13
|
+
}).passthrough().describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
14
14
|
archived: zod.z.boolean().describe("Whether the custom field is archived.").optional(),
|
|
15
15
|
max_date: zod.z.string().describe("Maximum date for date type fields in ISO 8601 format.").optional(),
|
|
16
16
|
min_date: zod.z.string().describe("Minimum date for date type fields in ISO 8601 format.").optional(),
|
|
@@ -28,7 +28,7 @@ const SalesflareCreateCustomFieldInput = zod.z.object({
|
|
|
28
28
|
users_can_add_options: zod.z.boolean().describe("Whether users can add new options to select/multi-select fields.").optional(),
|
|
29
29
|
predefined_customfield: zod.z.number().int().describe("ID of a predefined custom field template to use.").optional()
|
|
30
30
|
}).describe("Request schema for creating a custom field in Salesflare.");
|
|
31
|
-
const SalesflareCreateCustomFieldOutput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the created custom field.").nullable().optional() }).describe("Response from creating a custom field in Salesflare.");
|
|
31
|
+
const SalesflareCreateCustomFieldOutput = zod.z.object({ id: zod.z.number().int().describe("Unique identifier of the created custom field.").nullable().optional() }).passthrough().describe("Response from creating a custom field in Salesflare.");
|
|
32
32
|
const salesflareCreateCustomField = require_action.action("SALESFLARE_CREATE_CUSTOM_FIELD", {
|
|
33
33
|
slug: "salesflare-create-custom-field",
|
|
34
34
|
name: "Create Custom Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateCustomFieldInput = z.object({\n name: z.string().describe(\"Name of the custom field.\").optional(),\n type: z.number().int().describe(\"Type of the custom field. Common values: 1 for text, 2 for number, 3 for date, 4 for checkbox, 5 for select, 6 for multi-select.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is created. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically. Default is false.\").optional(),\n default_boolean_value: z.boolean().describe(\"Default value for boolean/checkbox type fields.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template to use.\").optional(),\n}).describe(\"Request schema for creating a custom field in Salesflare.\");\nexport const SalesflareCreateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created custom field.\").nullable().optional(),\n}).describe(\"Response from creating a custom field in Salesflare.\");\n\nexport const salesflareCreateCustomField = action(\"SALESFLARE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesflare-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Creates a new custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to add custom data fields to track specific information.\",\n input: SalesflareCreateCustomFieldInput,\n output: SalesflareCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC7K,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateCustomFieldInput = z.object({\n name: z.string().describe(\"Name of the custom field.\").optional(),\n type: z.number().int().describe(\"Type of the custom field. Common values: 1 for text, 2 for number, 3 for date, 4 for checkbox, 5 for select, 6 for multi-select.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).passthrough().describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is created. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically. Default is false.\").optional(),\n default_boolean_value: z.boolean().describe(\"Default value for boolean/checkbox type fields.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template to use.\").optional(),\n}).describe(\"Request schema for creating a custom field in Salesflare.\");\nexport const SalesflareCreateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created custom field.\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a custom field in Salesflare.\");\n\nexport const salesflareCreateCustomField = action(\"SALESFLARE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesflare-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Creates a new custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to add custom data fields to track specific information.\",\n input: SalesflareCreateCustomFieldInput,\n output: SalesflareCreateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAA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AE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3H,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SalesflareCreateCustomFieldInput: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodString;
|
|
11
11
|
order: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
14
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
max_date: z.ZodOptional<z.ZodString>;
|
|
16
16
|
min_date: z.ZodOptional<z.ZodString>;
|
|
@@ -30,13 +30,14 @@ declare const SalesflareCreateCustomFieldInput: z.ZodObject<{
|
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
declare const SalesflareCreateCustomFieldOutput: z.ZodObject<{
|
|
32
32
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const salesflareCreateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
item_class: "contacts" | "accounts" | "opportunities";
|
|
36
36
|
name?: string | undefined;
|
|
37
37
|
type?: number | undefined;
|
|
38
38
|
enabled?: boolean | undefined;
|
|
39
39
|
options?: {
|
|
40
|
+
[x: string]: unknown;
|
|
40
41
|
name: string;
|
|
41
42
|
id?: number | undefined;
|
|
42
43
|
order?: number | undefined;
|
|
@@ -10,7 +10,7 @@ declare const SalesflareCreateCustomFieldInput: z.ZodObject<{
|
|
|
10
10
|
name: z.ZodString;
|
|
11
11
|
order: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>;
|
|
14
14
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
max_date: z.ZodOptional<z.ZodString>;
|
|
16
16
|
min_date: z.ZodOptional<z.ZodString>;
|
|
@@ -30,13 +30,14 @@ declare const SalesflareCreateCustomFieldInput: z.ZodObject<{
|
|
|
30
30
|
}, z.core.$strip>;
|
|
31
31
|
declare const SalesflareCreateCustomFieldOutput: z.ZodObject<{
|
|
32
32
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const salesflareCreateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
item_class: "contacts" | "accounts" | "opportunities";
|
|
36
36
|
name?: string | undefined;
|
|
37
37
|
type?: number | undefined;
|
|
38
38
|
enabled?: boolean | undefined;
|
|
39
39
|
options?: {
|
|
40
|
+
[x: string]: unknown;
|
|
40
41
|
name: string;
|
|
41
42
|
id?: number | undefined;
|
|
42
43
|
order?: number | undefined;
|
|
@@ -13,7 +13,7 @@ const salesflareCreateCustomField = action("SALESFLARE_CREATE_CUSTOM_FIELD", {
|
|
|
13
13
|
name: z.string().describe("Name of the option."),
|
|
14
14
|
order: z.number().int().describe("Display order of the option.").optional(),
|
|
15
15
|
archived: z.boolean().describe("Whether the option is archived.").optional()
|
|
16
|
-
}).describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
16
|
+
}).passthrough().describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
17
17
|
archived: z.boolean().describe("Whether the custom field is archived.").optional(),
|
|
18
18
|
max_date: z.string().describe("Maximum date for date type fields in ISO 8601 format.").optional(),
|
|
19
19
|
min_date: z.string().describe("Minimum date for date type fields in ISO 8601 format.").optional(),
|
|
@@ -31,7 +31,7 @@ const salesflareCreateCustomField = action("SALESFLARE_CREATE_CUSTOM_FIELD", {
|
|
|
31
31
|
users_can_add_options: z.boolean().describe("Whether users can add new options to select/multi-select fields.").optional(),
|
|
32
32
|
predefined_customfield: z.number().int().describe("ID of a predefined custom field template to use.").optional()
|
|
33
33
|
}).describe("Request schema for creating a custom field in Salesflare."),
|
|
34
|
-
output: z.object({ id: z.number().int().describe("Unique identifier of the created custom field.").nullable().optional() }).describe("Response from creating a custom field in Salesflare.")
|
|
34
|
+
output: z.object({ id: z.number().int().describe("Unique identifier of the created custom field.").nullable().optional() }).passthrough().describe("Response from creating a custom field in Salesflare.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { salesflareCreateCustomField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateCustomFieldInput = z.object({\n name: z.string().describe(\"Name of the custom field.\").optional(),\n type: z.number().int().describe(\"Type of the custom field. Common values: 1 for text, 2 for number, 3 for date, 4 for checkbox, 5 for select, 6 for multi-select.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is created. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically. Default is false.\").optional(),\n default_boolean_value: z.boolean().describe(\"Default value for boolean/checkbox type fields.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template to use.\").optional(),\n}).describe(\"Request schema for creating a custom field in Salesflare.\");\nexport const SalesflareCreateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created custom field.\").nullable().optional(),\n}).describe(\"Response from creating a custom field in Salesflare.\");\n\nexport const salesflareCreateCustomField = action(\"SALESFLARE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesflare-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Creates a new custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to add custom data fields to track specific information.\",\n input: SalesflareCreateCustomFieldInput,\n output: SalesflareCreateCustomFieldOutput,\n});\n"],"mappings":";;AA+BA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC7K,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;GAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC7E,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-custom-field.mjs","names":[],"sources":["../../src/actions/create-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateCustomFieldInput = z.object({\n name: z.string().describe(\"Name of the custom field.\").optional(),\n type: z.number().int().describe(\"Type of the custom field. Common values: 1 for text, 2 for number, 3 for date, 4 for checkbox, 5 for select, 6 for multi-select.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).passthrough().describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is created. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically. Default is false.\").optional(),\n default_boolean_value: z.boolean().describe(\"Default value for boolean/checkbox type fields.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template to use.\").optional(),\n}).describe(\"Request schema for creating a custom field in Salesflare.\");\nexport const SalesflareCreateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created custom field.\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a custom field in Salesflare.\");\n\nexport const salesflareCreateCustomField = action(\"SALESFLARE_CREATE_CUSTOM_FIELD\", {\n slug: \"salesflare-create-custom-field\",\n name: \"Create Custom Field\",\n description: \"Creates a new custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to add custom data fields to track specific information.\",\n input: SalesflareCreateCustomFieldInput,\n output: SalesflareCreateCustomFieldOutput,\n});\n"],"mappings":";;AA+BA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN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,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC3H,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACxG,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzH,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT+C,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const SalesflareCreateInternalNoteOutput = zod.z.object({
|
|
|
15
15
|
mentions: zod.z.array(zod.z.number().int()).describe("List of user IDs mentioned in the note").nullable().optional(),
|
|
16
16
|
created_at: zod.z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
17
17
|
updated_at: zod.z.string().describe("Timestamp when the note was last updated").nullable().optional()
|
|
18
|
-
}).describe("Response model for a created internal note in Salesflare.");
|
|
18
|
+
}).passthrough().describe("Response model for a created internal note in Salesflare.");
|
|
19
19
|
const salesflareCreateInternalNote = require_action.action("SALESFLARE_CREATE_INTERNAL_NOTE", {
|
|
20
20
|
slug: "salesflare-create-internal-note",
|
|
21
21
|
name: "Create Internal Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-internal-note.cjs","names":["z","action"],"sources":["../../src/actions/create-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateInternalNoteInput = z.object({\n body: z.string().describe(\"Content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, current timestamp will be used.\").optional(),\n account: z.number().int().describe(\"Account ID to associate the internal note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n}).describe(\"Request model for creating an internal note in Salesflare.\");\nexport const SalesflareCreateInternalNoteOutput = z.object({\n id: z.number().int().describe(\"ID of the created note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).describe(\"Response model for a created internal note in Salesflare.\");\n\nexport const salesflareCreateInternalNote = action(\"SALESFLARE_CREATE_INTERNAL_NOTE\", {\n slug: \"salesflare-create-internal-note\",\n name: \"Create Internal Note\",\n description: \"Tool to create an internal note in Salesflare associated with an account. Use when you need to add notes for tracking interactions or important information about an account.\",\n input: SalesflareCreateInternalNoteInput,\n output: SalesflareCreateInternalNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"create-internal-note.cjs","names":["z","action"],"sources":["../../src/actions/create-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareCreateInternalNoteInput = z.object({\n body: z.string().describe(\"Content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z'). If not provided, current timestamp will be used.\").optional(),\n account: z.number().int().describe(\"Account ID to associate the internal note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n}).describe(\"Request model for creating an internal note in Salesflare.\");\nexport const SalesflareCreateInternalNoteOutput = z.object({\n id: z.number().int().describe(\"ID of the created note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created internal note in Salesflare.\");\n\nexport const salesflareCreateInternalNote = action(\"SALESFLARE_CREATE_INTERNAL_NOTE\", {\n slug: \"salesflare-create-internal-note\",\n name: \"Create Internal Note\",\n description: \"Tool to create an internal note in Salesflare associated with an account. Use when you need to add notes for tracking interactions or important information about an account.\",\n input: SalesflareCreateInternalNoteInput,\n output: SalesflareCreateInternalNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACrK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC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