@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListContactsInput = z.object({\n q: z.string().describe(\"Query string for advanced filtering. Use for complex search queries.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter contacts by tag IDs. Provide a list of tag IDs.\").optional(),\n name: z.string().describe(\"Filter contacts by name. Partial matches are supported.\").optional(),\n type: z.enum([\"customer\", \"mycontacts\"]).describe(\"Contact type filter options.\").optional(),\n email: z.string().describe(\"Filter contacts by email address. Partial matches are supported.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of contacts to return. Defaults to 20.\").optional(),\n custom: z.string().describe(\"Filter by custom fields. Format depends on your custom field configuration.\").optional(),\n domain: z.string().describe(\"Filter contacts by domain. Useful for finding contacts from specific companies.\").optional(),\n \"export\": z.string().describe(\"Export format for the contacts. Specify the desired export format.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of contacts to skip for pagination. Defaults to 0.\").optional(),\n search: z.string().describe(\"Search contacts by keyword. Searches across multiple fields like name, email, and company.\").optional(),\n account: z.array(z.number().int()).describe(\"Filter contacts by account IDs. Provide a list of account IDs.\").optional(),\n order_by: z.array(z.string()).describe(\"Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter contacts by tag names. Provide a list of tag names.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter contacts by city. Provide a list of city names.\").optional(),\n phone_number: z.string().describe(\"Filter contacts by phone number. Partial matches are supported.\").optional(),\n \"position.role\": z.array(z.string()).describe(\"Filter contacts by their position/role. Provide a list of role names.\").optional(),\n creation_after: z.string().describe(\"Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter contacts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n include_archived: z.boolean().describe(\"Include archived contacts in the results. Set to true to include archived contacts.\").optional(),\n modification_after: z.string().describe(\"Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n modification_before: z.string().describe(\"Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter contacts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request model for listing contacts with filtering options.\");\nconst SalesflareListContacts_TagSchema = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).describe(\"Tag information.\");\nconst SalesflareListContacts_ContactFileSchema = z.object({\n id: z.number().int().describe(\"File ID\").nullable().optional(),\n url: z.string().describe(\"URL to download the file\").nullable().optional(),\n name: z.string().describe(\"File name\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"File MIME type\").nullable().optional(),\n}).describe(\"File attachment information.\");\nconst SalesflareListContacts_OwnerSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\").nullable(),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n}).describe(\"Summary information about the contact owner.\");\nconst SalesflareListContacts_AccountSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n domain: z.string().describe(\"Domain of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).describe(\"Summary information about an account.\");\nconst SalesflareListContacts_AddressSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").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.\");\nconst SalesflareListContacts_PositionSchema = z.object({\n role: z.string().describe(\"Role or job title\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with this position\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).describe(\"Position information.\");\nconst SalesflareListContacts_PhoneNumberSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., work, mobile, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).describe(\"Phone number information.\");\nconst SalesflareListContacts_SocialProfileSchema = z.object({\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social profile (e.g., linkedin, twitter)\").nullable().optional(),\n}).describe(\"Social media profile information.\");\nconst SalesflareListContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the contact\").nullable().optional(),\n tags: z.array(SalesflareListContacts_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n type: z.string().describe(\"Type of the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n files: z.array(SalesflareListContacts_ContactFileSchema).describe(\"List of files attached to the contact\").nullable().optional(),\n owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),\n custom: z.object({}).describe(\"Custom fields for the contact\").nullable().optional(),\n domain: z.string().describe(\"Domain of the contact's organization\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Dr.)\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr.)\").nullable().optional(),\n account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this contact have bounced\").nullable().optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\").nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this contact\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n addresses: z.array(SalesflareListContacts_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareListContacts_PositionSchema).describe(\"List of positions held by the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date of the contact\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n not_viewed: z.boolean().describe(\"Whether the contact has not been viewed\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when the email bounced (ISO 8601 format)\").nullable().optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe(\"List of all phone numbers associated with the contact\").nullable().optional(),\n last_email_date: z.string().describe(\"Date of last email interaction (ISO 8601 format)\").nullable().optional(),\n social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").nullable().optional(),\n home_phone_number: z.string().describe(\"Home phone number\").nullable().optional(),\n last_meeting_date: z.string().describe(\"Date of last meeting (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the contact was last modified (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection with the contact (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n}).describe(\"Detailed information about a contact.\");\nexport const SalesflareListContactsOutput = z.object({\n contacts: z.array(SalesflareListContacts_ContactSchema).describe(\"List of contacts matching the filter criteria\"),\n}).describe(\"Response model containing a list of contacts.\");\n\nexport const salesflareListContacts = action(\"SALESFLARE_LIST_CONTACTS\", {\n slug: \"salesflare-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.\",\n input: SalesflareListContactsInput,\n output: SalesflareListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACxG,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,MAAM,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC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AAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListContactsInput = z.object({\n q: z.string().describe(\"Query string for advanced filtering. Use for complex search queries.\").optional(),\n id: z.array(z.number().int()).describe(\"Filter contacts by specific IDs. Provide a list of contact IDs to retrieve.\").optional(),\n tag: z.array(z.number().int()).describe(\"Filter contacts by tag IDs. Provide a list of tag IDs.\").optional(),\n name: z.string().describe(\"Filter contacts by name. Partial matches are supported.\").optional(),\n type: z.enum([\"customer\", \"mycontacts\"]).describe(\"Contact type filter options.\").optional(),\n email: z.string().describe(\"Filter contacts by email address. Partial matches are supported.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of contacts to return. Defaults to 20.\").optional(),\n custom: z.string().describe(\"Filter by custom fields. Format depends on your custom field configuration.\").optional(),\n domain: z.string().describe(\"Filter contacts by domain. Useful for finding contacts from specific companies.\").optional(),\n \"export\": z.string().describe(\"Export format for the contacts. Specify the desired export format.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of contacts to skip for pagination. Defaults to 0.\").optional(),\n search: z.string().describe(\"Search contacts by keyword. Searches across multiple fields like name, email, and company.\").optional(),\n account: z.array(z.number().int()).describe(\"Filter contacts by account IDs. Provide a list of account IDs.\").optional(),\n order_by: z.array(z.string()).describe(\"Order results by specified fields. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order.\").optional(),\n \"tag.name\": z.array(z.string()).describe(\"Filter contacts by tag names. Provide a list of tag names.\").optional(),\n \"address.city\": z.array(z.string()).describe(\"Filter contacts by city. Provide a list of city names.\").optional(),\n phone_number: z.string().describe(\"Filter contacts by phone number. Partial matches are supported.\").optional(),\n \"position.role\": z.array(z.string()).describe(\"Filter contacts by their position/role. Provide a list of role names.\").optional(),\n creation_after: z.string().describe(\"Filter contacts created after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.country\": z.array(z.string()).describe(\"Filter contacts by country. Provide a list of country names or codes.\").optional(),\n creation_before: z.string().describe(\"Filter contacts created before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n include_archived: z.boolean().describe(\"Include archived contacts in the results. Set to true to include archived contacts.\").optional(),\n modification_after: z.string().describe(\"Filter contacts modified after this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n modification_before: z.string().describe(\"Filter contacts modified before this date. Use ISO 8601 date format (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ).\").optional(),\n \"address.state_region\": z.array(z.string()).describe(\"Filter contacts by state or region. Provide a list of state/region names.\").optional(),\n}).describe(\"Request model for listing contacts with filtering options.\");\nconst SalesflareListContacts_TagSchema = z.object({\n id: z.number().int().describe(\"Tag ID\").nullable().optional(),\n name: z.string().describe(\"Tag name\").nullable().optional(),\n}).passthrough().describe(\"Tag information.\");\nconst SalesflareListContacts_ContactFileSchema = z.object({\n id: z.number().int().describe(\"File ID\").nullable().optional(),\n url: z.string().describe(\"URL to download the file\").nullable().optional(),\n name: z.string().describe(\"File name\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes\").nullable().optional(),\n type: z.string().describe(\"File MIME type\").nullable().optional(),\n}).passthrough().describe(\"File attachment information.\");\nconst SalesflareListContacts_OwnerSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the owner\").nullable(),\n name: z.string().describe(\"Name of the owner\").nullable().optional(),\n email: z.string().describe(\"Email address of the owner\").nullable().optional(),\n picture: z.string().describe(\"URL to the owner's picture\").nullable().optional(),\n}).passthrough().describe(\"Summary information about the contact owner.\");\nconst SalesflareListContacts_AccountSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the account\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable().optional(),\n domain: z.string().describe(\"Domain of the account\").nullable().optional(),\n picture: z.string().describe(\"URL to the account's picture\").nullable().optional(),\n}).passthrough().describe(\"Summary information about an account.\");\nconst SalesflareListContacts_AddressSchema = z.object({\n zip: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n type: z.string().describe(\"Address type (e.g., home, work)\").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.\");\nconst SalesflareListContacts_PositionSchema = z.object({\n role: z.string().describe(\"Role or job title\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with this position\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n}).passthrough().describe(\"Position information.\");\nconst SalesflareListContacts_PhoneNumberSchema = z.object({\n type: z.string().describe(\"Type of phone number (e.g., work, mobile, home)\").nullable().optional(),\n number: z.string().describe(\"Phone number\").nullable().optional(),\n}).passthrough().describe(\"Phone number information.\");\nconst SalesflareListContacts_SocialProfileSchema = z.object({\n url: z.string().describe(\"URL to the social profile\").nullable().optional(),\n type: z.string().describe(\"Type of social profile (e.g., linkedin, twitter)\").nullable().optional(),\n}).passthrough().describe(\"Social media profile information.\");\nconst SalesflareListContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the contact\").nullable().optional(),\n tags: z.array(SalesflareListContacts_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n type: z.string().describe(\"Type of the contact\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact\").nullable().optional(),\n files: z.array(SalesflareListContacts_ContactFileSchema).describe(\"List of files attached to the contact\").nullable().optional(),\n owner: SalesflareListContacts_OwnerSummarySchema.nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the contact\").nullable().optional(),\n domain: z.string().describe(\"Domain of the contact's organization\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the contact\").nullable().optional(),\n prefix: z.string().describe(\"Name prefix (e.g., Mr., Dr.)\").nullable().optional(),\n suffix: z.string().describe(\"Name suffix (e.g., Jr., Sr.)\").nullable().optional(),\n account: SalesflareListContacts_AccountSummarySchema.nullable().optional(),\n bounced: z.boolean().describe(\"Whether emails to this contact have bounced\").nullable().optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived\").nullable().optional(),\n can_edit: z.boolean().describe(\"Whether the current user can edit this contact\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact\").nullable().optional(),\n addresses: z.array(SalesflareListContacts_AddressSchema).describe(\"List of addresses associated with the contact\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact\").nullable().optional(),\n positions: z.array(SalesflareListContacts_PositionSchema).describe(\"List of positions held by the contact\").nullable().optional(),\n birth_date: z.string().describe(\"Birth date of the contact\").nullable().optional(),\n fax_number: z.string().describe(\"Fax number\").nullable().optional(),\n not_viewed: z.boolean().describe(\"Whether the contact has not been viewed\").nullable().optional(),\n bounced_date: z.string().describe(\"Date when the email bounced (ISO 8601 format)\").nullable().optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out (ISO 8601 format)\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListContacts_PhoneNumberSchema).describe(\"List of all phone numbers associated with the contact\").nullable().optional(),\n last_email_date: z.string().describe(\"Date of last email interaction (ISO 8601 format)\").nullable().optional(),\n social_profiles: z.array(SalesflareListContacts_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out\").nullable().optional(),\n home_phone_number: z.string().describe(\"Home phone number\").nullable().optional(),\n last_meeting_date: z.string().describe(\"Date of last meeting (ISO 8601 format)\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the contact was last modified (ISO 8601 format)\").nullable().optional(),\n connection_strength: z.number().describe(\"Strength of connection with the contact (0-1)\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a contact.\");\nexport const SalesflareListContactsOutput = z.object({\n contacts: z.array(SalesflareListContacts_ContactSchema).describe(\"List of contacts matching the filter criteria\"),\n}).passthrough().describe(\"Response model containing a list of contacts.\");\n\nexport const salesflareListContacts = action(\"SALESFLARE_LIST_CONTACTS\", {\n slug: \"salesflare-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list contacts with filtering options. Use when you need to retrieve, search, or filter contacts from Salesflare. Supports extensive filtering by name, email, phone, domain, dates, account, tags, position, and address fields.\",\n input: SalesflareListContactsInput,\n output: SalesflareListContactsOutput,\n});\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AwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const SalesflareListCurrencies_CurrencySchema = zod.z.object({
|
|
|
6
6
|
id: zod.z.number().describe("Unique identifier for the currency").nullable(),
|
|
7
7
|
iso: zod.z.string().describe("ISO 4217 currency code (e.g., USD, EUR, GBP)").nullable(),
|
|
8
8
|
html: zod.z.string().describe("HTML representation of the currency symbol").nullable()
|
|
9
|
-
}).describe("Model representing a currency in Salesflare.");
|
|
10
|
-
const SalesflareListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).describe("Response model containing the list of supported currencies.");
|
|
9
|
+
}).passthrough().describe("Model representing a currency in Salesflare.");
|
|
10
|
+
const SalesflareListCurrenciesOutput = zod.z.object({ currencies: zod.z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).passthrough().describe("Response model containing the list of supported currencies.");
|
|
11
11
|
const salesflareListCurrencies = require_action.action("SALESFLARE_LIST_CURRENCIES", {
|
|
12
12
|
slug: "salesflare-list-currencies",
|
|
13
13
|
name: "List Supported Currencies",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"list-currencies.cjs","names":["z","action"],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).passthrough().describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).passthrough().describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ declare const SalesflareListCurrenciesOutput: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
iso: z.ZodNullable<z.ZodString>;
|
|
9
9
|
html: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const salesflareListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { salesflareListCurrencies };
|
|
@@ -7,8 +7,8 @@ declare const SalesflareListCurrenciesOutput: z.ZodObject<{
|
|
|
7
7
|
id: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
iso: z.ZodNullable<z.ZodString>;
|
|
9
9
|
html: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const salesflareListCurrencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { salesflareListCurrencies };
|
|
@@ -6,13 +6,13 @@ const SalesflareListCurrencies_CurrencySchema = z.object({
|
|
|
6
6
|
id: z.number().describe("Unique identifier for the currency").nullable(),
|
|
7
7
|
iso: z.string().describe("ISO 4217 currency code (e.g., USD, EUR, GBP)").nullable(),
|
|
8
8
|
html: z.string().describe("HTML representation of the currency symbol").nullable()
|
|
9
|
-
}).describe("Model representing a currency in Salesflare.");
|
|
9
|
+
}).passthrough().describe("Model representing a currency in Salesflare.");
|
|
10
10
|
const salesflareListCurrencies = action("SALESFLARE_LIST_CURRENCIES", {
|
|
11
11
|
slug: "salesflare-list-currencies",
|
|
12
12
|
name: "List Supported Currencies",
|
|
13
13
|
description: "Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.",
|
|
14
14
|
input: SalesflareListCurrenciesInput,
|
|
15
|
-
output: z.object({ currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).describe("Response model containing the list of supported currencies.")
|
|
15
|
+
output: z.object({ currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe("List of supported currencies in Salesflare") }).passthrough().describe("Response model containing the list of supported currencies.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { salesflareListCurrencies };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"list-currencies.mjs","names":[],"sources":["../../src/actions/list-currencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCurrenciesInput = z.object({}).describe(\"Request model for listing supported currencies.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCurrencies_CurrencySchema = z.object({\n id: z.number().describe(\"Unique identifier for the currency\").nullable(),\n iso: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").nullable(),\n html: z.string().describe(\"HTML representation of the currency symbol\").nullable(),\n}).passthrough().describe(\"Model representing a currency in Salesflare.\");\nexport const SalesflareListCurrenciesOutput = z.object({\n currencies: z.array(SalesflareListCurrencies_CurrencySchema).describe(\"List of supported currencies in Salesflare\"),\n}).passthrough().describe(\"Response model containing the list of supported currencies.\");\n\nexport const salesflareListCurrencies = action(\"SALESFLARE_LIST_CURRENCIES\", {\n slug: \"salesflare-list-currencies\",\n name: \"List Supported Currencies\",\n description: \"Tool to retrieve a list of supported currencies in Salesflare. Use when you need to know which currencies are available for use in accounts, opportunities, or other financial data.\",\n input: SalesflareListCurrenciesInput,\n output: SalesflareListCurrenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC3J,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,YAAY,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SalesflareListCustomFieldOptionsInput = zod.z.object({
|
|
|
10
10
|
search_string: zod.z.string().describe("Optional search string to filter the options. Only options matching this search string will be returned.").optional(),
|
|
11
11
|
custom_field_api_field: zod.z.string().describe("The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').")
|
|
12
12
|
}).describe("Request parameters for listing custom field options.");
|
|
13
|
-
const SalesflareListCustomFieldOptionsOutput = zod.z.object({ options: zod.z.array(zod.z.string()).describe("List of available options for the specified custom field.") }).describe("Response containing the list of custom field options.");
|
|
13
|
+
const SalesflareListCustomFieldOptionsOutput = zod.z.object({ options: zod.z.array(zod.z.string()).describe("List of available options for the specified custom field.") }).passthrough().describe("Response containing the list of custom field options.");
|
|
14
14
|
const salesflareListCustomFieldOptions = require_action.action("SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS", {
|
|
15
15
|
slug: "salesflare-list-custom-field-options",
|
|
16
16
|
name: "List Custom Field Options",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-field-options.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;CAClR,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;AAC5N,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"list-custom-field-options.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).passthrough().describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;CAClR,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxJ,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;AAC5N,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SalesflareListCustomFieldOptionsInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SalesflareListCustomFieldOptionsOutput: z.ZodObject<{
|
|
14
14
|
options: z.ZodArray<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const salesflareListCustomFieldOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
item_class: "contacts" | "accounts" | "opportunities";
|
|
18
18
|
custom_field_api_field: string;
|
|
@@ -12,7 +12,7 @@ declare const SalesflareListCustomFieldOptionsInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const SalesflareListCustomFieldOptionsOutput: z.ZodObject<{
|
|
14
14
|
options: z.ZodArray<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const salesflareListCustomFieldOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
item_class: "contacts" | "accounts" | "opportunities";
|
|
18
18
|
custom_field_api_field: string;
|
|
@@ -13,7 +13,7 @@ const salesflareListCustomFieldOptions = action("SALESFLARE_LIST_CUSTOM_FIELD_OP
|
|
|
13
13
|
search_string: z.string().describe("Optional search string to filter the options. Only options matching this search string will be returned.").optional(),
|
|
14
14
|
custom_field_api_field: z.string().describe("The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').")
|
|
15
15
|
}).describe("Request parameters for listing custom field options."),
|
|
16
|
-
output: z.object({ options: z.array(z.string()).describe("List of available options for the specified custom field.") }).describe("Response containing the list of custom field options.")
|
|
16
|
+
output: z.object({ options: z.array(z.string()).describe("List of available options for the specified custom field.") }).passthrough().describe("Response containing the list of custom field options.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { salesflareListCustomFieldOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-field-options.mjs","names":[],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO;EAC5D,YAAY,EAAE,KAAK;GAAC;GAAY;GAAY;EAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;EAClR,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACxJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAC5N,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"list-custom-field-options.mjs","names":[],"sources":["../../src/actions/list-custom-field-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldOptionsInput = z.object({\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which to retrieve custom field options. Must be one of: accounts (for account custom fields), contacts (for contact custom fields), or opportunities (for opportunity custom fields).\"),\n search_string: z.string().describe(\"Optional search string to filter the options. Only options matching this search string will be returned.\").optional(),\n custom_field_api_field: z.string().describe(\"The API field name of the custom field to retrieve options for. This is the unique identifier for the custom field (e.g., 'lost_reason', 'priority_level', 'customer_type').\"),\n}).describe(\"Request parameters for listing custom field options.\");\nexport const SalesflareListCustomFieldOptionsOutput = z.object({\n options: z.array(z.string()).describe(\"List of available options for the specified custom field.\"),\n}).passthrough().describe(\"Response containing the list of custom field options.\");\n\nexport const salesflareListCustomFieldOptions = action(\"SALESFLARE_LIST_CUSTOM_FIELD_OPTIONS\", {\n slug: \"salesflare-list-custom-field-options\",\n name: \"List Custom Field Options\",\n description: \"Tool to list available options for a specific custom field in Salesflare. Use when you need to retrieve the available values for select or multi-select custom fields. Supports filtering options by search string.\",\n input: SalesflareListCustomFieldOptionsInput,\n output: SalesflareListCustomFieldOptionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbmD,EAAE,OAAO;EAC5D,YAAY,EAAE,KAAK;GAAC;GAAY;GAAY;EAAe,CAAC,CAAC,CAAC,SAAS,2MAA2M;EAClR,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EACxJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CAC5N,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,EACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SalesflareListCustomFieldTypes_CustomFieldTypeSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Human-readable name of the field type").nullable(),
|
|
8
8
|
type: zod.z.string().describe("The type identifier (e.g., 'text', 'number', 'select', 'boolean')").nullable(),
|
|
9
9
|
displayName: zod.z.string().describe("Display name shown in the UI").nullable()
|
|
10
|
-
}).describe("Model representing a single custom field type.");
|
|
11
|
-
const SalesflareListCustomFieldTypesOutput = zod.z.object({ types: zod.z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).describe("Response model containing the list of available custom field types.");
|
|
10
|
+
}).passthrough().describe("Model representing a single custom field type.");
|
|
11
|
+
const SalesflareListCustomFieldTypesOutput = zod.z.object({ types: zod.z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).passthrough().describe("Response model containing the list of available custom field types.");
|
|
12
12
|
const salesflareListCustomFieldTypes = require_action.action("SALESFLARE_LIST_CUSTOM_FIELD_TYPES", {
|
|
13
13
|
slug: "salesflare-list-custom-field-types",
|
|
14
14
|
name: "List Custom Field Types",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-field-types.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-custom-field-types.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).passthrough().describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).passthrough().describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const SalesflareListCustomFieldTypesOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
type: z.ZodNullable<z.ZodString>;
|
|
10
10
|
displayName: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const salesflareListCustomFieldTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { salesflareListCustomFieldTypes };
|
|
@@ -8,8 +8,8 @@ declare const SalesflareListCustomFieldTypesOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
type: z.ZodNullable<z.ZodString>;
|
|
10
10
|
displayName: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const salesflareListCustomFieldTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { salesflareListCustomFieldTypes };
|
|
@@ -7,13 +7,13 @@ const SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Human-readable name of the field type").nullable(),
|
|
8
8
|
type: z.string().describe("The type identifier (e.g., 'text', 'number', 'select', 'boolean')").nullable(),
|
|
9
9
|
displayName: z.string().describe("Display name shown in the UI").nullable()
|
|
10
|
-
}).describe("Model representing a single custom field type.");
|
|
10
|
+
}).passthrough().describe("Model representing a single custom field type.");
|
|
11
11
|
const salesflareListCustomFieldTypes = action("SALESFLARE_LIST_CUSTOM_FIELD_TYPES", {
|
|
12
12
|
slug: "salesflare-list-custom-field-types",
|
|
13
13
|
name: "List Custom Field Types",
|
|
14
14
|
description: "Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.",
|
|
15
15
|
input: SalesflareListCustomFieldTypesInput,
|
|
16
|
-
output: z.object({ types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).describe("Response model containing the list of available custom field types.")
|
|
16
|
+
output: z.object({ types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe("List of available custom field type objects") }).passthrough().describe("Response model containing the list of available custom field types.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { salesflareListCustomFieldTypes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-field-types.mjs","names":[],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"list-custom-field-types.mjs","names":[],"sources":["../../src/actions/list-custom-field-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldTypesInput = z.object({}).describe(\"Request model for listing custom field types.\\nThis endpoint requires no parameters.\");\nconst SalesflareListCustomFieldTypes_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the custom field type\").nullable(),\n name: z.string().describe(\"Human-readable name of the field type\").nullable(),\n type: z.string().describe(\"The type identifier (e.g., 'text', 'number', 'select', 'boolean')\").nullable(),\n displayName: z.string().describe(\"Display name shown in the UI\").nullable(),\n}).passthrough().describe(\"Model representing a single custom field type.\");\nexport const SalesflareListCustomFieldTypesOutput = z.object({\n types: z.array(SalesflareListCustomFieldTypes_CustomFieldTypeSchema).describe(\"List of available custom field type objects\"),\n}).passthrough().describe(\"Response model containing the list of available custom field types.\");\n\nexport const salesflareListCustomFieldTypes = action(\"SALESFLARE_LIST_CUSTOM_FIELD_TYPES\", {\n slug: \"salesflare-list-custom-field-types\",\n name: \"List Custom Field Types\",\n description: \"Tool to retrieve a list of available custom field types in Salesflare. Use when you need to know which field types are supported for creating custom fields.\",\n input: SalesflareListCustomFieldTypesInput,\n output: SalesflareListCustomFieldTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAC/J,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6CAA6C,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -16,14 +16,14 @@ const SalesflareListCustomFields_CustomFieldTypeSchema = zod.z.object({
|
|
|
16
16
|
name: zod.z.string().describe("The name of the custom field type.").nullable().optional(),
|
|
17
17
|
type: zod.z.string().describe("The type identifier (e.g., text, number, date, select, etc.).").nullable().optional(),
|
|
18
18
|
displayName: zod.z.string().describe("The display name of the custom field type.").nullable().optional()
|
|
19
|
-
}).describe("Model representing a custom field type.");
|
|
19
|
+
}).passthrough().describe("Model representing a custom field type.");
|
|
20
20
|
const SalesflareListCustomFields_CustomFieldSchema = zod.z.object({
|
|
21
21
|
id: zod.z.number().int().describe("The unique identifier of the custom field.").nullable().optional(),
|
|
22
22
|
name: zod.z.string().describe("The name of the custom field.").nullable().optional(),
|
|
23
23
|
type: zod.z.union([zod.z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),
|
|
24
24
|
order: zod.z.number().int().describe("The display order of the custom field.").nullable().optional(),
|
|
25
25
|
enabled: zod.z.boolean().describe("Whether the custom field is currently enabled.").nullable().optional(),
|
|
26
|
-
options: zod.z.array(zod.z.
|
|
26
|
+
options: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Available options for select-type custom fields.").nullable().optional(),
|
|
27
27
|
max_date: zod.z.string().describe("Maximum date value for date custom fields.").nullable().optional(),
|
|
28
28
|
min_date: zod.z.string().describe("Minimum date value for date custom fields.").nullable().optional(),
|
|
29
29
|
pipeline: zod.z.number().int().describe("The pipeline ID this custom field is associated with, if applicable.").nullable().optional(),
|
|
@@ -38,8 +38,8 @@ const SalesflareListCustomFields_CustomFieldSchema = zod.z.object({
|
|
|
38
38
|
users_can_add_options: zod.z.boolean().describe("Whether users can add their own options for this custom field.").nullable().optional(),
|
|
39
39
|
predefined_customfield: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
40
40
|
isRecurringPipelineField: zod.z.boolean().describe("Whether this is a recurring pipeline field (for recurring revenue tracking).").nullable().optional()
|
|
41
|
-
}).describe("Model representing a custom field.");
|
|
42
|
-
const SalesflareListCustomFieldsOutput = zod.z.object({ custom_fields: zod.z.array(SalesflareListCustomFields_CustomFieldSchema).describe("List of custom fields for the specified item class.").nullable().optional() }).describe("Response model for the ListCustomFields action.");
|
|
41
|
+
}).passthrough().describe("Model representing a custom field.");
|
|
42
|
+
const SalesflareListCustomFieldsOutput = zod.z.object({ custom_fields: zod.z.array(SalesflareListCustomFields_CustomFieldSchema).describe("List of custom fields for the specified item class.").nullable().optional() }).passthrough().describe("Response model for the ListCustomFields action.");
|
|
43
43
|
const salesflareListCustomFields = require_action.action("SALESFLARE_LIST_CUSTOM_FIELDS", {
|
|
44
44
|
slug: "salesflare-list-custom-fields",
|
|
45
45
|
name: "List Custom Fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldsInput = z.object({\n name: z.string().describe(\"Filter custom fields by name. Returns custom fields whose name matches this value.\").optional(),\n pipeline: z.number().int().describe(\"Filter custom fields by pipeline ID. Only custom fields associated with the specified pipeline will be returned.\").optional(),\n itemClass: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of items to retrieve custom fields for. Must be one of: accounts, contacts, or opportunities.\"),\n includeDisabled: z.boolean().describe(\"Whether to include disabled custom fields in the response. If true, disabled fields are included; if false or omitted, only enabled fields are returned.\").optional(),\n}).describe(\"Request model for the ListCustomFields action.\");\nconst SalesflareListCustomFields_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field type.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field type.\").nullable().optional(),\n type: z.string().describe(\"The type identifier (e.g., text, number, date, select, etc.).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the custom field type.\").nullable().optional(),\n}).describe(\"Model representing a custom field type.\");\nconst SalesflareListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field.\").nullable().optional(),\n type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),\n order: z.number().int().describe(\"The display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is currently enabled.\").nullable().optional(),\n options: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldsInput = z.object({\n name: z.string().describe(\"Filter custom fields by name. Returns custom fields whose name matches this value.\").optional(),\n pipeline: z.number().int().describe(\"Filter custom fields by pipeline ID. Only custom fields associated with the specified pipeline will be returned.\").optional(),\n itemClass: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of items to retrieve custom fields for. Must be one of: accounts, contacts, or opportunities.\"),\n includeDisabled: z.boolean().describe(\"Whether to include disabled custom fields in the response. If true, disabled fields are included; if false or omitted, only enabled fields are returned.\").optional(),\n}).describe(\"Request model for the ListCustomFields action.\");\nconst SalesflareListCustomFields_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field type.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field type.\").nullable().optional(),\n type: z.string().describe(\"The type identifier (e.g., text, number, date, select, etc.).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the custom field type.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a custom field type.\");\nconst SalesflareListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field.\").nullable().optional(),\n type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),\n order: z.number().int().describe(\"The display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is currently enabled.\").nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for select-type custom fields.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date value for date custom fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date value for date custom fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"The pipeline ID this custom field is associated with, if applicable.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n api_field: z.string().describe(\"The API field name used to reference this custom field in API calls.\").nullable().optional(),\n max_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n min_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n pipelineName: z.string().describe(\"The name of the pipeline this custom field is associated with, if applicable.\").nullable().optional(),\n isStandardField: z.boolean().describe(\"Whether this is a standard field provided by Salesflare.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").nullable().optional(),\n default_boolean_value: z.boolean().describe(\"Default boolean value for boolean-type custom fields.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add their own options for this custom field.\").nullable().optional(),\n predefined_customfield: z.union([z.number().int(), z.string()]).nullable().optional(),\n isRecurringPipelineField: z.boolean().describe(\"Whether this is a recurring pipeline field (for recurring revenue tracking).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a custom field.\");\nexport const SalesflareListCustomFieldsOutput = z.object({\n custom_fields: z.array(SalesflareListCustomFields_CustomFieldSchema).describe(\"List of custom fields for the specified item class.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the ListCustomFields action.\");\n\nexport const salesflareListCustomFields = action(\"SALESFLARE_LIST_CUSTOM_FIELDS\", {\n slug: \"salesflare-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to list custom fields for a specified item class (accounts, contacts, or opportunities). Use when you need to retrieve available custom fields for an item type to understand what custom data can be stored or queried.\",\n input: SalesflareListCustomFieldsInput,\n output: SalesflareListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACjK,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAY;CAAe,CAAC,CAAC,CAAC,SAAS,yGAAyG;CAC/K,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI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,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,10 +20,10 @@ declare const SalesflareListCustomFieldsOutput: z.ZodObject<{
|
|
|
20
20
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>]>>>;
|
|
24
24
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
26
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
27
27
|
max_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
min_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -38,8 +38,8 @@ declare const SalesflareListCustomFieldsOutput: z.ZodObject<{
|
|
|
38
38
|
users_can_add_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
39
|
predefined_customfield: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
40
40
|
isRecurringPipelineField: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const salesflareListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
itemClass: "contacts" | "accounts" | "opportunities";
|
|
45
45
|
name?: string | undefined;
|
|
@@ -20,10 +20,10 @@ declare const SalesflareListCustomFieldsOutput: z.ZodObject<{
|
|
|
20
20
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>]>>>;
|
|
24
24
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
|
-
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
26
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
27
27
|
max_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
min_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -38,8 +38,8 @@ declare const SalesflareListCustomFieldsOutput: z.ZodObject<{
|
|
|
38
38
|
users_can_add_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
39
|
predefined_customfield: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
40
40
|
isRecurringPipelineField: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const salesflareListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
itemClass: "contacts" | "accounts" | "opportunities";
|
|
45
45
|
name?: string | undefined;
|
|
@@ -16,14 +16,14 @@ const SalesflareListCustomFields_CustomFieldTypeSchema = z.object({
|
|
|
16
16
|
name: z.string().describe("The name of the custom field type.").nullable().optional(),
|
|
17
17
|
type: z.string().describe("The type identifier (e.g., text, number, date, select, etc.).").nullable().optional(),
|
|
18
18
|
displayName: z.string().describe("The display name of the custom field type.").nullable().optional()
|
|
19
|
-
}).describe("Model representing a custom field type.");
|
|
19
|
+
}).passthrough().describe("Model representing a custom field type.");
|
|
20
20
|
const SalesflareListCustomFields_CustomFieldSchema = z.object({
|
|
21
21
|
id: z.number().int().describe("The unique identifier of the custom field.").nullable().optional(),
|
|
22
22
|
name: z.string().describe("The name of the custom field.").nullable().optional(),
|
|
23
23
|
type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),
|
|
24
24
|
order: z.number().int().describe("The display order of the custom field.").nullable().optional(),
|
|
25
25
|
enabled: z.boolean().describe("Whether the custom field is currently enabled.").nullable().optional(),
|
|
26
|
-
options: z.array(z.
|
|
26
|
+
options: z.array(z.record(z.string(), z.unknown())).describe("Available options for select-type custom fields.").nullable().optional(),
|
|
27
27
|
max_date: z.string().describe("Maximum date value for date custom fields.").nullable().optional(),
|
|
28
28
|
min_date: z.string().describe("Minimum date value for date custom fields.").nullable().optional(),
|
|
29
29
|
pipeline: z.number().int().describe("The pipeline ID this custom field is associated with, if applicable.").nullable().optional(),
|
|
@@ -38,13 +38,13 @@ const SalesflareListCustomFields_CustomFieldSchema = z.object({
|
|
|
38
38
|
users_can_add_options: z.boolean().describe("Whether users can add their own options for this custom field.").nullable().optional(),
|
|
39
39
|
predefined_customfield: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
40
40
|
isRecurringPipelineField: z.boolean().describe("Whether this is a recurring pipeline field (for recurring revenue tracking).").nullable().optional()
|
|
41
|
-
}).describe("Model representing a custom field.");
|
|
41
|
+
}).passthrough().describe("Model representing a custom field.");
|
|
42
42
|
const salesflareListCustomFields = action("SALESFLARE_LIST_CUSTOM_FIELDS", {
|
|
43
43
|
slug: "salesflare-list-custom-fields",
|
|
44
44
|
name: "List Custom Fields",
|
|
45
45
|
description: "Tool to list custom fields for a specified item class (accounts, contacts, or opportunities). Use when you need to retrieve available custom fields for an item type to understand what custom data can be stored or queried.",
|
|
46
46
|
input: SalesflareListCustomFieldsInput,
|
|
47
|
-
output: z.object({ custom_fields: z.array(SalesflareListCustomFields_CustomFieldSchema).describe("List of custom fields for the specified item class.").nullable().optional() }).describe("Response model for the ListCustomFields action.")
|
|
47
|
+
output: z.object({ custom_fields: z.array(SalesflareListCustomFields_CustomFieldSchema).describe("List of custom fields for the specified item class.").nullable().optional() }).passthrough().describe("Response model for the ListCustomFields action.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { salesflareListCustomFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldsInput = z.object({\n name: z.string().describe(\"Filter custom fields by name. Returns custom fields whose name matches this value.\").optional(),\n pipeline: z.number().int().describe(\"Filter custom fields by pipeline ID. Only custom fields associated with the specified pipeline will be returned.\").optional(),\n itemClass: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of items to retrieve custom fields for. Must be one of: accounts, contacts, or opportunities.\"),\n includeDisabled: z.boolean().describe(\"Whether to include disabled custom fields in the response. If true, disabled fields are included; if false or omitted, only enabled fields are returned.\").optional(),\n}).describe(\"Request model for the ListCustomFields action.\");\nconst SalesflareListCustomFields_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field type.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field type.\").nullable().optional(),\n type: z.string().describe(\"The type identifier (e.g., text, number, date, select, etc.).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the custom field type.\").nullable().optional(),\n}).describe(\"Model representing a custom field type.\");\nconst SalesflareListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field.\").nullable().optional(),\n type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),\n order: z.number().int().describe(\"The display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is currently enabled.\").nullable().optional(),\n options: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListCustomFieldsInput = z.object({\n name: z.string().describe(\"Filter custom fields by name. Returns custom fields whose name matches this value.\").optional(),\n pipeline: z.number().int().describe(\"Filter custom fields by pipeline ID. Only custom fields associated with the specified pipeline will be returned.\").optional(),\n itemClass: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The class of items to retrieve custom fields for. Must be one of: accounts, contacts, or opportunities.\"),\n includeDisabled: z.boolean().describe(\"Whether to include disabled custom fields in the response. If true, disabled fields are included; if false or omitted, only enabled fields are returned.\").optional(),\n}).describe(\"Request model for the ListCustomFields action.\");\nconst SalesflareListCustomFields_CustomFieldTypeSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field type.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field type.\").nullable().optional(),\n type: z.string().describe(\"The type identifier (e.g., text, number, date, select, etc.).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the custom field type.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a custom field type.\");\nconst SalesflareListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the custom field.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom field.\").nullable().optional(),\n type: z.union([z.string(), SalesflareListCustomFields_CustomFieldTypeSchema]).nullable().optional(),\n order: z.number().int().describe(\"The display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is currently enabled.\").nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for select-type custom fields.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date value for date custom fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date value for date custom fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"The pipeline ID this custom field is associated with, if applicable.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n api_field: z.string().describe(\"The API field name used to reference this custom field in API calls.\").nullable().optional(),\n max_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n min_number: z.union([z.number().int(), z.number()]).nullable().optional(),\n pipelineName: z.string().describe(\"The name of the pipeline this custom field is associated with, if applicable.\").nullable().optional(),\n isStandardField: z.boolean().describe(\"Whether this is a standard field provided by Salesflare.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").nullable().optional(),\n default_boolean_value: z.boolean().describe(\"Default boolean value for boolean-type custom fields.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add their own options for this custom field.\").nullable().optional(),\n predefined_customfield: z.union([z.number().int(), z.string()]).nullable().optional(),\n isRecurringPipelineField: z.boolean().describe(\"Whether this is a recurring pipeline field (for recurring revenue tracking).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a custom field.\");\nexport const SalesflareListCustomFieldsOutput = z.object({\n custom_fields: z.array(SalesflareListCustomFields_CustomFieldSchema).describe(\"List of custom fields for the specified item class.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the ListCustomFields action.\");\n\nexport const salesflareListCustomFields = action(\"SALESFLARE_LIST_CUSTOM_FIELDS\", {\n slug: \"salesflare-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to list custom fields for a specified item class (accounts, contacts, or opportunities). Use when you need to retrieve available custom fields for an item type to understand what custom data can be stored or queried.\",\n input: SalesflareListCustomFieldsInput,\n output: SalesflareListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,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B,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,0BAA0B,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -30,7 +30,7 @@ const SalesflareListEmailDatasources_EmailDataSourceSchema = zod.z.object({
|
|
|
30
30
|
user: zod.z.number().int().describe("User ID associated with this data source").nullable(),
|
|
31
31
|
email: zod.z.string().describe("Email address of the data source").nullable(),
|
|
32
32
|
status: SalesflareListEmailDatasources_DataSourceStatusSchema.nullable(),
|
|
33
|
-
aliases: zod.z.array(zod.z.
|
|
33
|
+
aliases: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of email aliases associated with this data source"),
|
|
34
34
|
primary: zod.z.boolean().describe("Whether this is the primary email data source").nullable(),
|
|
35
35
|
smtp_host: zod.z.string().describe("SMTP host address").nullable().optional(),
|
|
36
36
|
smtp_port: zod.z.number().int().describe("SMTP port number").nullable().optional(),
|
|
@@ -41,8 +41,8 @@ const SalesflareListEmailDatasources_EmailDataSourceSchema = zod.z.object({
|
|
|
41
41
|
store_sent_emails: zod.z.boolean().describe("Whether to store sent emails").nullable().optional(),
|
|
42
42
|
add_signature_to_replies: zod.z.boolean().describe("Whether to add signature to reply emails").nullable(),
|
|
43
43
|
add_signature_to_campaign: zod.z.boolean().describe("Whether to add signature to campaign emails").nullable()
|
|
44
|
-
}).describe("Represents a single email data source.");
|
|
45
|
-
const SalesflareListEmailDatasourcesOutput = zod.z.object({ datasources: zod.z.array(SalesflareListEmailDatasources_EmailDataSourceSchema).describe("List of email data sources associated with the user") }).describe("Response model for listing email data sources.");
|
|
44
|
+
}).passthrough().describe("Represents a single email data source.");
|
|
45
|
+
const SalesflareListEmailDatasourcesOutput = zod.z.object({ datasources: zod.z.array(SalesflareListEmailDatasources_EmailDataSourceSchema).describe("List of email data sources associated with the user") }).passthrough().describe("Response model for listing email data sources.");
|
|
46
46
|
const salesflareListEmailDatasources = require_action.action("SALESFLARE_LIST_EMAIL_DATASOURCES", {
|
|
47
47
|
slug: "salesflare-list-email-datasources",
|
|
48
48
|
name: "List Email Data Sources",
|