@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-email-datasources.cjs","names":["z","action"],"sources":["../../src/actions/list-email-datasources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListEmailDatasourcesInput = z.object({\n include_team_datasources: z.boolean().default(false).describe(\"Team data sources will only be included when the session user is an admin.\").optional(),\n}).describe(\"Request model for listing email data sources.\");\nconst SalesflareListEmailDatasources_DataSourceTypeSchema = z.enum([\"google\", \"office365\", \"nylas\", \"imap\"]).describe(\"Type of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceStatusSchema = z.enum([\"OK\", \"RECONNECT\", \"ERROR\"]).describe(\"Status of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceSyncStatusSchema = z.enum([\"initial\", \"cache\", \"sync\", \"enrich\", \"done\"]).describe(\"Sync status of the email data source.\");\nconst SalesflareListEmailDatasources_EmailDataSourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the email data source\").nullable(),\n host: z.string().describe(\"IMAP host address\").nullable().optional(),\n name: z.string().describe(\"Display name of the email data source\").nullable(),\n port: z.number().int().describe(\"IMAP port number\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with this data source\").nullable(),\n type: SalesflareListEmailDatasources_DataSourceTypeSchema.nullable(),\n user: z.number().int().describe(\"User ID associated with this data source\").nullable(),\n email: z.string().describe(\"Email address of the data source\").nullable(),\n status: SalesflareListEmailDatasources_DataSourceStatusSchema.nullable(),\n aliases: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-email-datasources.cjs","names":["z","action"],"sources":["../../src/actions/list-email-datasources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListEmailDatasourcesInput = z.object({\n include_team_datasources: z.boolean().default(false).describe(\"Team data sources will only be included when the session user is an admin.\").optional(),\n}).describe(\"Request model for listing email data sources.\");\nconst SalesflareListEmailDatasources_DataSourceTypeSchema = z.enum([\"google\", \"office365\", \"nylas\", \"imap\"]).describe(\"Type of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceStatusSchema = z.enum([\"OK\", \"RECONNECT\", \"ERROR\"]).describe(\"Status of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceSyncStatusSchema = z.enum([\"initial\", \"cache\", \"sync\", \"enrich\", \"done\"]).describe(\"Sync status of the email data source.\");\nconst SalesflareListEmailDatasources_EmailDataSourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the email data source\").nullable(),\n host: z.string().describe(\"IMAP host address\").nullable().optional(),\n name: z.string().describe(\"Display name of the email data source\").nullable(),\n port: z.number().int().describe(\"IMAP port number\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with this data source\").nullable(),\n type: SalesflareListEmailDatasources_DataSourceTypeSchema.nullable(),\n user: z.number().int().describe(\"User ID associated with this data source\").nullable(),\n email: z.string().describe(\"Email address of the data source\").nullable(),\n status: SalesflareListEmailDatasources_DataSourceStatusSchema.nullable(),\n aliases: z.array(z.record(z.string(), z.unknown())).describe(\"List of email aliases associated with this data source\"),\n primary: z.boolean().describe(\"Whether this is the primary email data source\").nullable(),\n smtp_host: z.string().describe(\"SMTP host address\").nullable().optional(),\n smtp_port: z.number().int().describe(\"SMTP port number\").nullable().optional(),\n sync_status: SalesflareListEmailDatasources_DataSourceSyncStatusSchema.nullable(),\n max_emails_day: z.number().int().describe(\"Maximum number of emails allowed per day\").nullable(),\n email_signature: z.string().describe(\"Email signature text\").nullable().optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails allowed per hour\").nullable(),\n store_sent_emails: z.boolean().describe(\"Whether to store sent emails\").nullable().optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add signature to reply emails\").nullable(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add signature to campaign emails\").nullable(),\n}).passthrough().describe(\"Represents a single email data source.\");\nexport const SalesflareListEmailDatasourcesOutput = z.object({\n datasources: z.array(SalesflareListEmailDatasources_EmailDataSourceSchema).describe(\"List of email data sources associated with the user\"),\n}).passthrough().describe(\"Response model for listing email data sources.\");\n\nexport const salesflareListEmailDatasources = action(\"SALESFLARE_LIST_EMAIL_DATASOURCES\", {\n slug: \"salesflare-list-email-datasources\",\n name: \"List Email Data Sources\",\n description: \"Tool to list email data sources. Use when you need to retrieve all email data sources associated with the user.\",\n input: SalesflareListEmailDatasourcesInput,\n output: SalesflareListEmailDatasourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SA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,7 @@ declare const SalesflareListEmailDatasourcesOutput: z.ZodObject<{
|
|
|
24
24
|
RECONNECT: "RECONNECT";
|
|
25
25
|
ERROR: "ERROR";
|
|
26
26
|
}>>;
|
|
27
|
-
aliases: z.ZodArray<z.
|
|
27
|
+
aliases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
28
28
|
primary: z.ZodNullable<z.ZodBoolean>;
|
|
29
29
|
smtp_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
smtp_port: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -41,8 +41,8 @@ declare const SalesflareListEmailDatasourcesOutput: z.ZodObject<{
|
|
|
41
41
|
store_sent_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
42
|
add_signature_to_replies: z.ZodNullable<z.ZodBoolean>;
|
|
43
43
|
add_signature_to_campaign: z.ZodNullable<z.ZodBoolean>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const salesflareListEmailDatasources: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
include_team_datasources?: boolean | undefined;
|
|
48
48
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -24,7 +24,7 @@ declare const SalesflareListEmailDatasourcesOutput: z.ZodObject<{
|
|
|
24
24
|
RECONNECT: "RECONNECT";
|
|
25
25
|
ERROR: "ERROR";
|
|
26
26
|
}>>;
|
|
27
|
-
aliases: z.ZodArray<z.
|
|
27
|
+
aliases: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
28
28
|
primary: z.ZodNullable<z.ZodBoolean>;
|
|
29
29
|
smtp_host: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
smtp_port: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -41,8 +41,8 @@ declare const SalesflareListEmailDatasourcesOutput: z.ZodObject<{
|
|
|
41
41
|
store_sent_emails: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
42
42
|
add_signature_to_replies: z.ZodNullable<z.ZodBoolean>;
|
|
43
43
|
add_signature_to_campaign: z.ZodNullable<z.ZodBoolean>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const salesflareListEmailDatasources: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
include_team_datasources?: boolean | undefined;
|
|
48
48
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -30,7 +30,7 @@ const SalesflareListEmailDatasources_EmailDataSourceSchema = z.object({
|
|
|
30
30
|
user: z.number().int().describe("User ID associated with this data source").nullable(),
|
|
31
31
|
email: z.string().describe("Email address of the data source").nullable(),
|
|
32
32
|
status: SalesflareListEmailDatasources_DataSourceStatusSchema.nullable(),
|
|
33
|
-
aliases: z.array(z.
|
|
33
|
+
aliases: z.array(z.record(z.string(), z.unknown())).describe("List of email aliases associated with this data source"),
|
|
34
34
|
primary: z.boolean().describe("Whether this is the primary email data source").nullable(),
|
|
35
35
|
smtp_host: z.string().describe("SMTP host address").nullable().optional(),
|
|
36
36
|
smtp_port: z.number().int().describe("SMTP port number").nullable().optional(),
|
|
@@ -41,13 +41,13 @@ const SalesflareListEmailDatasources_EmailDataSourceSchema = z.object({
|
|
|
41
41
|
store_sent_emails: z.boolean().describe("Whether to store sent emails").nullable().optional(),
|
|
42
42
|
add_signature_to_replies: z.boolean().describe("Whether to add signature to reply emails").nullable(),
|
|
43
43
|
add_signature_to_campaign: z.boolean().describe("Whether to add signature to campaign emails").nullable()
|
|
44
|
-
}).describe("Represents a single email data source.");
|
|
44
|
+
}).passthrough().describe("Represents a single email data source.");
|
|
45
45
|
const salesflareListEmailDatasources = action("SALESFLARE_LIST_EMAIL_DATASOURCES", {
|
|
46
46
|
slug: "salesflare-list-email-datasources",
|
|
47
47
|
name: "List Email Data Sources",
|
|
48
48
|
description: "Tool to list email data sources. Use when you need to retrieve all email data sources associated with the user.",
|
|
49
49
|
input: SalesflareListEmailDatasourcesInput,
|
|
50
|
-
output: z.object({ datasources: z.array(SalesflareListEmailDatasources_EmailDataSourceSchema).describe("List of email data sources associated with the user") }).describe("Response model for listing email data sources.")
|
|
50
|
+
output: z.object({ datasources: z.array(SalesflareListEmailDatasources_EmailDataSourceSchema).describe("List of email data sources associated with the user") }).passthrough().describe("Response model for listing email data sources.")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { salesflareListEmailDatasources };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-email-datasources.mjs","names":[],"sources":["../../src/actions/list-email-datasources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListEmailDatasourcesInput = z.object({\n include_team_datasources: z.boolean().default(false).describe(\"Team data sources will only be included when the session user is an admin.\").optional(),\n}).describe(\"Request model for listing email data sources.\");\nconst SalesflareListEmailDatasources_DataSourceTypeSchema = z.enum([\"google\", \"office365\", \"nylas\", \"imap\"]).describe(\"Type of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceStatusSchema = z.enum([\"OK\", \"RECONNECT\", \"ERROR\"]).describe(\"Status of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceSyncStatusSchema = z.enum([\"initial\", \"cache\", \"sync\", \"enrich\", \"done\"]).describe(\"Sync status of the email data source.\");\nconst SalesflareListEmailDatasources_EmailDataSourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the email data source\").nullable(),\n host: z.string().describe(\"IMAP host address\").nullable().optional(),\n name: z.string().describe(\"Display name of the email data source\").nullable(),\n port: z.number().int().describe(\"IMAP port number\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with this data source\").nullable(),\n type: SalesflareListEmailDatasources_DataSourceTypeSchema.nullable(),\n user: z.number().int().describe(\"User ID associated with this data source\").nullable(),\n email: z.string().describe(\"Email address of the data source\").nullable(),\n status: SalesflareListEmailDatasources_DataSourceStatusSchema.nullable(),\n aliases: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-email-datasources.mjs","names":[],"sources":["../../src/actions/list-email-datasources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListEmailDatasourcesInput = z.object({\n include_team_datasources: z.boolean().default(false).describe(\"Team data sources will only be included when the session user is an admin.\").optional(),\n}).describe(\"Request model for listing email data sources.\");\nconst SalesflareListEmailDatasources_DataSourceTypeSchema = z.enum([\"google\", \"office365\", \"nylas\", \"imap\"]).describe(\"Type of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceStatusSchema = z.enum([\"OK\", \"RECONNECT\", \"ERROR\"]).describe(\"Status of the email data source.\");\nconst SalesflareListEmailDatasources_DataSourceSyncStatusSchema = z.enum([\"initial\", \"cache\", \"sync\", \"enrich\", \"done\"]).describe(\"Sync status of the email data source.\");\nconst SalesflareListEmailDatasources_EmailDataSourceSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the email data source\").nullable(),\n host: z.string().describe(\"IMAP host address\").nullable().optional(),\n name: z.string().describe(\"Display name of the email data source\").nullable(),\n port: z.number().int().describe(\"IMAP port number\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with this data source\").nullable(),\n type: SalesflareListEmailDatasources_DataSourceTypeSchema.nullable(),\n user: z.number().int().describe(\"User ID associated with this data source\").nullable(),\n email: z.string().describe(\"Email address of the data source\").nullable(),\n status: SalesflareListEmailDatasources_DataSourceStatusSchema.nullable(),\n aliases: z.array(z.record(z.string(), z.unknown())).describe(\"List of email aliases associated with this data source\"),\n primary: z.boolean().describe(\"Whether this is the primary email data source\").nullable(),\n smtp_host: z.string().describe(\"SMTP host address\").nullable().optional(),\n smtp_port: z.number().int().describe(\"SMTP port number\").nullable().optional(),\n sync_status: SalesflareListEmailDatasources_DataSourceSyncStatusSchema.nullable(),\n max_emails_day: z.number().int().describe(\"Maximum number of emails allowed per day\").nullable(),\n email_signature: z.string().describe(\"Email signature text\").nullable().optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails allowed per hour\").nullable(),\n store_sent_emails: z.boolean().describe(\"Whether to store sent emails\").nullable().optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add signature to reply emails\").nullable(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add signature to campaign emails\").nullable(),\n}).passthrough().describe(\"Represents a single email data source.\");\nexport const SalesflareListEmailDatasourcesOutput = z.object({\n datasources: z.array(SalesflareListEmailDatasources_EmailDataSourceSchema).describe(\"List of email data sources associated with the user\"),\n}).passthrough().describe(\"Response model for listing email data sources.\");\n\nexport const salesflareListEmailDatasources = action(\"SALESFLARE_LIST_EMAIL_DATASOURCES\", {\n slug: \"salesflare-list-email-datasources\",\n name: \"List Email Data Sources\",\n description: \"Tool to list email data sources. Use when you need to retrieve all email data sources associated with the user.\",\n input: SalesflareListEmailDatasourcesInput,\n output: SalesflareListEmailDatasourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,0BAA0B,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,sDAAsD,EAAE,KAAK;CAAC;CAAU;CAAa;CAAS;AAAM,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACtJ,MAAM,wDAAwD,EAAE,KAAK;CAAC;CAAM;CAAa;AAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9I,MAAM,4DAA4D,EAAE,KAAK;CAA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,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,0BAA0B,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpG,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,aAAa,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,qDAAqD,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -101,23 +101,23 @@ const SalesflareListFilterFields_FilterFieldSchema = zod.z.object({
|
|
|
101
101
|
input: zod.z.string().describe("Input type for the filter field").nullable().optional(),
|
|
102
102
|
label: zod.z.string().describe("Display label for the filter field").nullable(),
|
|
103
103
|
entity: SalesflareListFilterFields_FilterFieldEntitySchema.nullable().optional(),
|
|
104
|
-
values: zod.z.
|
|
104
|
+
values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Predefined values for the filter field").nullable().optional(),
|
|
105
105
|
enabled: zod.z.union([zod.z.string(), zod.z.boolean()]).nullable().optional(),
|
|
106
|
-
options: zod.z.array(zod.z.
|
|
106
|
+
options: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Available options for the filter field if applicable").nullable().optional(),
|
|
107
107
|
pipeline: zod.z.number().describe("Pipeline ID this filter field is specific to").nullable().optional(),
|
|
108
108
|
operators: zod.z.array(zod.z.string()).describe("List of available operators for this filter field").nullable().optional(),
|
|
109
109
|
param_less: zod.z.boolean().describe("Whether this filter field requires parameters").nullable().optional(),
|
|
110
|
-
validation: zod.z.
|
|
110
|
+
validation: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Validation rules for the filter field").nullable().optional(),
|
|
111
111
|
search_entity: SalesflareListFilterFields_SearchEntitySchema.nullable().optional(),
|
|
112
112
|
customfield_id: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
113
113
|
display_entity: SalesflareListFilterFields_DisplayEntitySchema.nullable().optional(),
|
|
114
114
|
fixed_operator: SalesflareListFilterFields_FixedOperatorSchema.nullable().optional(),
|
|
115
115
|
query_builder_id: zod.z.string().describe("Query builder identifier for this filter field").nullable().optional()
|
|
116
|
-
}).describe("Represents a single filter field.");
|
|
116
|
+
}).passthrough().describe("Represents a single filter field.");
|
|
117
117
|
const SalesflareListFilterFieldsOutput = zod.z.object({
|
|
118
118
|
total: zod.z.number().int().describe("Total number of filter fields returned").nullable(),
|
|
119
119
|
filter_fields: zod.z.array(SalesflareListFilterFields_FilterFieldSchema).describe("List of filter fields available for the specified entity type")
|
|
120
|
-
}).describe("Response model containing filter fields.");
|
|
120
|
+
}).passthrough().describe("Response model containing filter fields.");
|
|
121
121
|
const salesflareListFilterFields = require_action.action("SALESFLARE_LIST_FILTER_FIELDS", {
|
|
122
122
|
slug: "salesflare-list-filter-fields",
|
|
123
123
|
name: "List Filter Fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-filter-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-filter-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListFilterFieldsInput = z.object({\n entity: z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"The entity type to retrieve filter fields for. Must be one of: account, person, opportunity, campaign, tag, task, workflow, workflow_record, workflow_step_record, lead.\"),\n pipeline: z.number().int().describe(\"Optional pipeline ID to filter results by specific pipeline.\").optional(),\n includePipelineSpecificPredefinedFilterFields: z.boolean().default(true).describe(\"Whether to include pipeline-specific predefined filter fields in the response. Defaults to true.\").optional(),\n}).describe(\"Request model for listing filter fields.\");\nconst SalesflareListFilterFields_GroupTypeSchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Group types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldEntitySchema = z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"Filter field entity types.\");\nconst SalesflareListFilterFields_SearchEntitySchema = z.enum([\"account\", \"contact\", \"user\", \"tag\", \"pipeline\", \"workflow\", \"lead\"]).describe(\"Search entity types.\");\nconst SalesflareListFilterFields_DisplayEntitySchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Display entity types.\");\nconst SalesflareListFilterFields_FixedOperatorSchema = z.enum([\"equal\", \"not_equal\", \"in\", \"not_in\", \"less\", \"less_or_equal\", \"greater\", \"greater_or_equal\", \"between\", \"not_between\", \"begins_with\", \"not_begins_with\", \"contains\", \"not_contains\", \"ends_with\", \"not_ends_with\", \"is_empty\", \"is_not_empty\", \"is_null\", \"is_not_null\", \"true\", \"false\", \"past_less\", \"past_exactly\", \"past_more_than\", \"future_less\", \"future_exactly\", \"future_more_than\", \"after\", \"on\", \"before\", \"is\", \"is_not\"]).describe(\"Fixed operator types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the filter field\").nullable(),\n name: z.string().describe(\"Internal name of the filter field\").nullable().optional(),\n type: z.string().describe(\"Data type of the filter field (e.g., text, number, date)\").nullable(),\n group: SalesflareListFilterFields_GroupTypeSchema.nullable().optional(),\n input: z.string().describe(\"Input type for the filter field\").nullable().optional(),\n label: z.string().describe(\"Display label for the filter field\").nullable(),\n entity: SalesflareListFilterFields_FilterFieldEntitySchema.nullable().optional(),\n values: z.
|
|
1
|
+
{"version":3,"file":"list-filter-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-filter-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListFilterFieldsInput = z.object({\n entity: z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"The entity type to retrieve filter fields for. Must be one of: account, person, opportunity, campaign, tag, task, workflow, workflow_record, workflow_step_record, lead.\"),\n pipeline: z.number().int().describe(\"Optional pipeline ID to filter results by specific pipeline.\").optional(),\n includePipelineSpecificPredefinedFilterFields: z.boolean().default(true).describe(\"Whether to include pipeline-specific predefined filter fields in the response. Defaults to true.\").optional(),\n}).describe(\"Request model for listing filter fields.\");\nconst SalesflareListFilterFields_GroupTypeSchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Group types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldEntitySchema = z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"Filter field entity types.\");\nconst SalesflareListFilterFields_SearchEntitySchema = z.enum([\"account\", \"contact\", \"user\", \"tag\", \"pipeline\", \"workflow\", \"lead\"]).describe(\"Search entity types.\");\nconst SalesflareListFilterFields_DisplayEntitySchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Display entity types.\");\nconst SalesflareListFilterFields_FixedOperatorSchema = z.enum([\"equal\", \"not_equal\", \"in\", \"not_in\", \"less\", \"less_or_equal\", \"greater\", \"greater_or_equal\", \"between\", \"not_between\", \"begins_with\", \"not_begins_with\", \"contains\", \"not_contains\", \"ends_with\", \"not_ends_with\", \"is_empty\", \"is_not_empty\", \"is_null\", \"is_not_null\", \"true\", \"false\", \"past_less\", \"past_exactly\", \"past_more_than\", \"future_less\", \"future_exactly\", \"future_more_than\", \"after\", \"on\", \"before\", \"is\", \"is_not\"]).describe(\"Fixed operator types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the filter field\").nullable(),\n name: z.string().describe(\"Internal name of the filter field\").nullable().optional(),\n type: z.string().describe(\"Data type of the filter field (e.g., text, number, date)\").nullable(),\n group: SalesflareListFilterFields_GroupTypeSchema.nullable().optional(),\n input: z.string().describe(\"Input type for the filter field\").nullable().optional(),\n label: z.string().describe(\"Display label for the filter field\").nullable(),\n entity: SalesflareListFilterFields_FilterFieldEntitySchema.nullable().optional(),\n values: z.record(z.string(), z.unknown()).describe(\"Predefined values for the filter field\").nullable().optional(),\n enabled: z.union([z.string(), z.boolean()]).nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for the filter field if applicable\").nullable().optional(),\n pipeline: z.number().describe(\"Pipeline ID this filter field is specific to\").nullable().optional(),\n operators: z.array(z.string()).describe(\"List of available operators for this filter field\").nullable().optional(),\n param_less: z.boolean().describe(\"Whether this filter field requires parameters\").nullable().optional(),\n validation: z.record(z.string(), z.unknown()).describe(\"Validation rules for the filter field\").nullable().optional(),\n search_entity: SalesflareListFilterFields_SearchEntitySchema.nullable().optional(),\n customfield_id: z.union([z.number().int(), z.string()]).nullable().optional(),\n display_entity: SalesflareListFilterFields_DisplayEntitySchema.nullable().optional(),\n fixed_operator: SalesflareListFilterFields_FixedOperatorSchema.nullable().optional(),\n query_builder_id: z.string().describe(\"Query builder identifier for this filter field\").nullable().optional(),\n}).passthrough().describe(\"Represents a single filter field.\");\nexport const SalesflareListFilterFieldsOutput = z.object({\n total: z.number().int().describe(\"Total number of filter fields returned\").nullable(),\n filter_fields: z.array(SalesflareListFilterFields_FilterFieldSchema).describe(\"List of filter fields available for the specified entity type\"),\n}).passthrough().describe(\"Response model containing filter fields.\");\n\nexport const salesflareListFilterFields = action(\"SALESFLARE_LIST_FILTER_FIELDS\", {\n slug: \"salesflare-list-filter-fields\",\n name: \"List Filter Fields\",\n description: \"Tool to list available filter fields for a specific entity type in Salesflare. Use when you need to retrieve the available filter fields for accounts, contacts, opportunities, or other entities.\",\n input: SalesflareListFilterFieldsInput,\n output: SalesflareListFilterFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAe;EAAY;EAAO;EAAQ;EAAY;EAAmB;EAAwB;CAAM,CAAC,CAAC,CAAC,SAAS,0KAA0K;CAClU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,+CAA+CA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AACjM,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,6CAA6CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;CAAe;CAAY;CAAO;CAAQ;CAAY;AAAM,CAAC,CAAC,CAAC,SAAS,gCAAgC;AACzL,MAAM,qDAAqDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;CAAe;CAAY;CAAO;CAAQ;CAAY;CAAmB;CAAwB;AAAM,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACvO,MAAM,gDAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAW;CAAQ;CAAO;CAAY;CAAY;AAAM,CAAC,CAAC,CAAC,SAAS,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AS,wCAAwC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+DAA+D;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,10 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesflareListFilterFieldsInput: z.ZodObject<{
|
|
5
5
|
entity: z.ZodEnum<{
|
|
6
6
|
account: "account";
|
|
7
|
+
tag: "tag";
|
|
7
8
|
campaign: "campaign";
|
|
8
9
|
person: "person";
|
|
9
10
|
workflow: "workflow";
|
|
10
|
-
tag: "tag";
|
|
11
11
|
opportunity: "opportunity";
|
|
12
12
|
task: "task";
|
|
13
13
|
workflow_record: "workflow_record";
|
|
@@ -37,30 +37,30 @@ declare const SalesflareListFilterFieldsOutput: z.ZodObject<{
|
|
|
37
37
|
label: z.ZodNullable<z.ZodString>;
|
|
38
38
|
entity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
39
39
|
account: "account";
|
|
40
|
+
tag: "tag";
|
|
40
41
|
campaign: "campaign";
|
|
41
42
|
person: "person";
|
|
42
43
|
workflow: "workflow";
|
|
43
|
-
tag: "tag";
|
|
44
44
|
opportunity: "opportunity";
|
|
45
45
|
task: "task";
|
|
46
46
|
workflow_record: "workflow_record";
|
|
47
47
|
workflow_step_record: "workflow_step_record";
|
|
48
48
|
lead: "lead";
|
|
49
49
|
}>>>;
|
|
50
|
-
values: z.ZodOptional<z.ZodNullable<z.
|
|
50
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
51
51
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
52
|
-
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
52
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
53
53
|
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
54
|
operators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
55
55
|
param_less: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
56
|
-
validation: z.ZodOptional<z.ZodNullable<z.
|
|
56
|
+
validation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
57
57
|
search_entity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
58
58
|
user: "user";
|
|
59
|
-
contact: "contact";
|
|
60
59
|
account: "account";
|
|
60
|
+
contact: "contact";
|
|
61
|
+
tag: "tag";
|
|
61
62
|
pipeline: "pipeline";
|
|
62
63
|
workflow: "workflow";
|
|
63
|
-
tag: "tag";
|
|
64
64
|
lead: "lead";
|
|
65
65
|
}>>>;
|
|
66
66
|
customfield_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
@@ -110,10 +110,10 @@ declare const SalesflareListFilterFieldsOutput: z.ZodObject<{
|
|
|
110
110
|
is_not: "is_not";
|
|
111
111
|
}>>>;
|
|
112
112
|
query_builder_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
|
-
}, z.core.$
|
|
114
|
-
}, z.core.$
|
|
113
|
+
}, z.core.$loose>>;
|
|
114
|
+
}, z.core.$loose>;
|
|
115
115
|
declare const salesflareListFilterFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
116
|
-
entity: "account" | "
|
|
116
|
+
entity: "account" | "tag" | "campaign" | "person" | "workflow" | "opportunity" | "task" | "workflow_record" | "workflow_step_record" | "lead";
|
|
117
117
|
pipeline?: number | undefined;
|
|
118
118
|
includePipelineSpecificPredefinedFilterFields?: boolean | undefined;
|
|
119
119
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -4,10 +4,10 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesflareListFilterFieldsInput: z.ZodObject<{
|
|
5
5
|
entity: z.ZodEnum<{
|
|
6
6
|
account: "account";
|
|
7
|
+
tag: "tag";
|
|
7
8
|
campaign: "campaign";
|
|
8
9
|
person: "person";
|
|
9
10
|
workflow: "workflow";
|
|
10
|
-
tag: "tag";
|
|
11
11
|
opportunity: "opportunity";
|
|
12
12
|
task: "task";
|
|
13
13
|
workflow_record: "workflow_record";
|
|
@@ -37,30 +37,30 @@ declare const SalesflareListFilterFieldsOutput: z.ZodObject<{
|
|
|
37
37
|
label: z.ZodNullable<z.ZodString>;
|
|
38
38
|
entity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
39
39
|
account: "account";
|
|
40
|
+
tag: "tag";
|
|
40
41
|
campaign: "campaign";
|
|
41
42
|
person: "person";
|
|
42
43
|
workflow: "workflow";
|
|
43
|
-
tag: "tag";
|
|
44
44
|
opportunity: "opportunity";
|
|
45
45
|
task: "task";
|
|
46
46
|
workflow_record: "workflow_record";
|
|
47
47
|
workflow_step_record: "workflow_step_record";
|
|
48
48
|
lead: "lead";
|
|
49
49
|
}>>>;
|
|
50
|
-
values: z.ZodOptional<z.ZodNullable<z.
|
|
50
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
51
51
|
enabled: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>>;
|
|
52
|
-
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
52
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
53
53
|
pipeline: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
54
|
operators: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
55
55
|
param_less: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
56
|
-
validation: z.ZodOptional<z.ZodNullable<z.
|
|
56
|
+
validation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
57
57
|
search_entity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
58
58
|
user: "user";
|
|
59
|
-
contact: "contact";
|
|
60
59
|
account: "account";
|
|
60
|
+
contact: "contact";
|
|
61
|
+
tag: "tag";
|
|
61
62
|
pipeline: "pipeline";
|
|
62
63
|
workflow: "workflow";
|
|
63
|
-
tag: "tag";
|
|
64
64
|
lead: "lead";
|
|
65
65
|
}>>>;
|
|
66
66
|
customfield_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
@@ -110,10 +110,10 @@ declare const SalesflareListFilterFieldsOutput: z.ZodObject<{
|
|
|
110
110
|
is_not: "is_not";
|
|
111
111
|
}>>>;
|
|
112
112
|
query_builder_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
|
-
}, z.core.$
|
|
114
|
-
}, z.core.$
|
|
113
|
+
}, z.core.$loose>>;
|
|
114
|
+
}, z.core.$loose>;
|
|
115
115
|
declare const salesflareListFilterFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
116
|
-
entity: "account" | "
|
|
116
|
+
entity: "account" | "tag" | "campaign" | "person" | "workflow" | "opportunity" | "task" | "workflow_record" | "workflow_step_record" | "lead";
|
|
117
117
|
pipeline?: number | undefined;
|
|
118
118
|
includePipelineSpecificPredefinedFilterFields?: boolean | undefined;
|
|
119
119
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -101,19 +101,19 @@ const SalesflareListFilterFields_FilterFieldSchema = z.object({
|
|
|
101
101
|
input: z.string().describe("Input type for the filter field").nullable().optional(),
|
|
102
102
|
label: z.string().describe("Display label for the filter field").nullable(),
|
|
103
103
|
entity: SalesflareListFilterFields_FilterFieldEntitySchema.nullable().optional(),
|
|
104
|
-
values: z.
|
|
104
|
+
values: z.record(z.string(), z.unknown()).describe("Predefined values for the filter field").nullable().optional(),
|
|
105
105
|
enabled: z.union([z.string(), z.boolean()]).nullable().optional(),
|
|
106
|
-
options: z.array(z.
|
|
106
|
+
options: z.array(z.record(z.string(), z.unknown())).describe("Available options for the filter field if applicable").nullable().optional(),
|
|
107
107
|
pipeline: z.number().describe("Pipeline ID this filter field is specific to").nullable().optional(),
|
|
108
108
|
operators: z.array(z.string()).describe("List of available operators for this filter field").nullable().optional(),
|
|
109
109
|
param_less: z.boolean().describe("Whether this filter field requires parameters").nullable().optional(),
|
|
110
|
-
validation: z.
|
|
110
|
+
validation: z.record(z.string(), z.unknown()).describe("Validation rules for the filter field").nullable().optional(),
|
|
111
111
|
search_entity: SalesflareListFilterFields_SearchEntitySchema.nullable().optional(),
|
|
112
112
|
customfield_id: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
113
113
|
display_entity: SalesflareListFilterFields_DisplayEntitySchema.nullable().optional(),
|
|
114
114
|
fixed_operator: SalesflareListFilterFields_FixedOperatorSchema.nullable().optional(),
|
|
115
115
|
query_builder_id: z.string().describe("Query builder identifier for this filter field").nullable().optional()
|
|
116
|
-
}).describe("Represents a single filter field.");
|
|
116
|
+
}).passthrough().describe("Represents a single filter field.");
|
|
117
117
|
const salesflareListFilterFields = action("SALESFLARE_LIST_FILTER_FIELDS", {
|
|
118
118
|
slug: "salesflare-list-filter-fields",
|
|
119
119
|
name: "List Filter Fields",
|
|
@@ -122,7 +122,7 @@ const salesflareListFilterFields = action("SALESFLARE_LIST_FILTER_FIELDS", {
|
|
|
122
122
|
output: z.object({
|
|
123
123
|
total: z.number().int().describe("Total number of filter fields returned").nullable(),
|
|
124
124
|
filter_fields: z.array(SalesflareListFilterFields_FilterFieldSchema).describe("List of filter fields available for the specified entity type")
|
|
125
|
-
}).describe("Response model containing filter fields.")
|
|
125
|
+
}).passthrough().describe("Response model containing filter fields.")
|
|
126
126
|
});
|
|
127
127
|
//#endregion
|
|
128
128
|
export { salesflareListFilterFields };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-filter-fields.mjs","names":[],"sources":["../../src/actions/list-filter-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListFilterFieldsInput = z.object({\n entity: z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"The entity type to retrieve filter fields for. Must be one of: account, person, opportunity, campaign, tag, task, workflow, workflow_record, workflow_step_record, lead.\"),\n pipeline: z.number().int().describe(\"Optional pipeline ID to filter results by specific pipeline.\").optional(),\n includePipelineSpecificPredefinedFilterFields: z.boolean().default(true).describe(\"Whether to include pipeline-specific predefined filter fields in the response. Defaults to true.\").optional(),\n}).describe(\"Request model for listing filter fields.\");\nconst SalesflareListFilterFields_GroupTypeSchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Group types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldEntitySchema = z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"Filter field entity types.\");\nconst SalesflareListFilterFields_SearchEntitySchema = z.enum([\"account\", \"contact\", \"user\", \"tag\", \"pipeline\", \"workflow\", \"lead\"]).describe(\"Search entity types.\");\nconst SalesflareListFilterFields_DisplayEntitySchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Display entity types.\");\nconst SalesflareListFilterFields_FixedOperatorSchema = z.enum([\"equal\", \"not_equal\", \"in\", \"not_in\", \"less\", \"less_or_equal\", \"greater\", \"greater_or_equal\", \"between\", \"not_between\", \"begins_with\", \"not_begins_with\", \"contains\", \"not_contains\", \"ends_with\", \"not_ends_with\", \"is_empty\", \"is_not_empty\", \"is_null\", \"is_not_null\", \"true\", \"false\", \"past_less\", \"past_exactly\", \"past_more_than\", \"future_less\", \"future_exactly\", \"future_more_than\", \"after\", \"on\", \"before\", \"is\", \"is_not\"]).describe(\"Fixed operator types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the filter field\").nullable(),\n name: z.string().describe(\"Internal name of the filter field\").nullable().optional(),\n type: z.string().describe(\"Data type of the filter field (e.g., text, number, date)\").nullable(),\n group: SalesflareListFilterFields_GroupTypeSchema.nullable().optional(),\n input: z.string().describe(\"Input type for the filter field\").nullable().optional(),\n label: z.string().describe(\"Display label for the filter field\").nullable(),\n entity: SalesflareListFilterFields_FilterFieldEntitySchema.nullable().optional(),\n values: z.
|
|
1
|
+
{"version":3,"file":"list-filter-fields.mjs","names":[],"sources":["../../src/actions/list-filter-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListFilterFieldsInput = z.object({\n entity: z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"The entity type to retrieve filter fields for. Must be one of: account, person, opportunity, campaign, tag, task, workflow, workflow_record, workflow_step_record, lead.\"),\n pipeline: z.number().int().describe(\"Optional pipeline ID to filter results by specific pipeline.\").optional(),\n includePipelineSpecificPredefinedFilterFields: z.boolean().default(true).describe(\"Whether to include pipeline-specific predefined filter fields in the response. Defaults to true.\").optional(),\n}).describe(\"Request model for listing filter fields.\");\nconst SalesflareListFilterFields_GroupTypeSchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Group types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldEntitySchema = z.enum([\"account\", \"person\", \"opportunity\", \"campaign\", \"tag\", \"task\", \"workflow\", \"workflow_record\", \"workflow_step_record\", \"lead\"]).describe(\"Filter field entity types.\");\nconst SalesflareListFilterFields_SearchEntitySchema = z.enum([\"account\", \"contact\", \"user\", \"tag\", \"pipeline\", \"workflow\", \"lead\"]).describe(\"Search entity types.\");\nconst SalesflareListFilterFields_DisplayEntitySchema = z.enum([\"Account\", \"Contact\", \"Opportunity\", \"Campaign\", \"Tag\", \"Task\", \"Workflow\", \"Lead\"]).describe(\"Display entity types.\");\nconst SalesflareListFilterFields_FixedOperatorSchema = z.enum([\"equal\", \"not_equal\", \"in\", \"not_in\", \"less\", \"less_or_equal\", \"greater\", \"greater_or_equal\", \"between\", \"not_between\", \"begins_with\", \"not_begins_with\", \"contains\", \"not_contains\", \"ends_with\", \"not_ends_with\", \"is_empty\", \"is_not_empty\", \"is_null\", \"is_not_null\", \"true\", \"false\", \"past_less\", \"past_exactly\", \"past_more_than\", \"future_less\", \"future_exactly\", \"future_more_than\", \"after\", \"on\", \"before\", \"is\", \"is_not\"]).describe(\"Fixed operator types for filter fields.\");\nconst SalesflareListFilterFields_FilterFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the filter field\").nullable(),\n name: z.string().describe(\"Internal name of the filter field\").nullable().optional(),\n type: z.string().describe(\"Data type of the filter field (e.g., text, number, date)\").nullable(),\n group: SalesflareListFilterFields_GroupTypeSchema.nullable().optional(),\n input: z.string().describe(\"Input type for the filter field\").nullable().optional(),\n label: z.string().describe(\"Display label for the filter field\").nullable(),\n entity: SalesflareListFilterFields_FilterFieldEntitySchema.nullable().optional(),\n values: z.record(z.string(), z.unknown()).describe(\"Predefined values for the filter field\").nullable().optional(),\n enabled: z.union([z.string(), z.boolean()]).nullable().optional(),\n options: z.array(z.record(z.string(), z.unknown())).describe(\"Available options for the filter field if applicable\").nullable().optional(),\n pipeline: z.number().describe(\"Pipeline ID this filter field is specific to\").nullable().optional(),\n operators: z.array(z.string()).describe(\"List of available operators for this filter field\").nullable().optional(),\n param_less: z.boolean().describe(\"Whether this filter field requires parameters\").nullable().optional(),\n validation: z.record(z.string(), z.unknown()).describe(\"Validation rules for the filter field\").nullable().optional(),\n search_entity: SalesflareListFilterFields_SearchEntitySchema.nullable().optional(),\n customfield_id: z.union([z.number().int(), z.string()]).nullable().optional(),\n display_entity: SalesflareListFilterFields_DisplayEntitySchema.nullable().optional(),\n fixed_operator: SalesflareListFilterFields_FixedOperatorSchema.nullable().optional(),\n query_builder_id: z.string().describe(\"Query builder identifier for this filter field\").nullable().optional(),\n}).passthrough().describe(\"Represents a single filter field.\");\nexport const SalesflareListFilterFieldsOutput = z.object({\n total: z.number().int().describe(\"Total number of filter fields returned\").nullable(),\n filter_fields: z.array(SalesflareListFilterFields_FilterFieldSchema).describe(\"List of filter fields available for the specified entity type\"),\n}).passthrough().describe(\"Response model containing filter fields.\");\n\nexport const salesflareListFilterFields = action(\"SALESFLARE_LIST_FILTER_FIELDS\", {\n slug: \"salesflare-list-filter-fields\",\n name: \"List Filter Fields\",\n description: \"Tool to list available filter fields for a specific entity type in Salesflare. Use when you need to retrieve the available filter fields for accounts, contacts, opportunities, or other entities.\",\n input: SalesflareListFilterFieldsInput,\n output: SalesflareListFilterFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAU;EAAe;EAAY;EAAO;EAAQ;EAAY;EAAmB;EAAwB;CAAM,CAAC,CAAC,CAAC,SAAS,0KAA0K;CAClU,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC7G,+CAA+C,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SA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C,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,+DAA+D;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ const SalesflareListGroupsInput = zod.z.object({}).describe("Request model for l
|
|
|
5
5
|
const SalesflareListGroups_GroupSchema = zod.z.object({
|
|
6
6
|
id: zod.z.number().int().describe("Unique identifier of the group").nullable().optional(),
|
|
7
7
|
name: zod.z.string().describe("Name of the group").nullable().optional()
|
|
8
|
-
}).describe("Represents a group in Salesflare.");
|
|
9
|
-
const SalesflareListGroupsOutput = zod.z.object({ groups: zod.z.array(SalesflareListGroups_GroupSchema).describe("List of groups in the Salesflare team").nullable().optional() }).describe("Response model for listing groups.");
|
|
8
|
+
}).passthrough().describe("Represents a group in Salesflare.");
|
|
9
|
+
const SalesflareListGroupsOutput = zod.z.object({ groups: zod.z.array(SalesflareListGroups_GroupSchema).describe("List of groups in the Salesflare team").nullable().optional() }).passthrough().describe("Response model for listing groups.");
|
|
10
10
|
const salesflareListGroups = require_action.action("SALESFLARE_LIST_GROUPS", {
|
|
11
11
|
slug: "salesflare-list-groups",
|
|
12
12
|
name: "List Groups",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListGroupsInput = z.object({}).describe(\"Request model for listing groups. No parameters required.\");\nconst SalesflareListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group\").nullable().optional(),\n name: z.string().describe(\"Name of the group\").nullable().optional(),\n}).describe(\"Represents a group in Salesflare.\");\nexport const SalesflareListGroupsOutput = z.object({\n groups: z.array(SalesflareListGroups_GroupSchema).describe(\"List of groups in the Salesflare team\").nullable().optional(),\n}).describe(\"Response model for listing groups.\");\n\nexport const salesflareListGroups = action(\"SALESFLARE_LIST_GROUPS\", {\n slug: \"salesflare-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list groups in Salesflare. Use when you need to retrieve all groups in the team.\",\n input: SalesflareListGroupsInput,\n output: SalesflareListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListGroupsInput = z.object({}).describe(\"Request model for listing groups. No parameters required.\");\nconst SalesflareListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group\").nullable().optional(),\n name: z.string().describe(\"Name of the group\").nullable().optional(),\n}).passthrough().describe(\"Represents a group in Salesflare.\");\nexport const SalesflareListGroupsOutput = z.object({\n groups: z.array(SalesflareListGroups_GroupSchema).describe(\"List of groups in the Salesflare team\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing groups.\");\n\nexport const salesflareListGroups = action(\"SALESFLARE_LIST_GROUPS\", {\n slug: \"salesflare-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list groups in Salesflare. Use when you need to retrieve all groups in the team.\",\n input: SalesflareListGroupsInput,\n output: SalesflareListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ declare const SalesflareListGroupsOutput: z.ZodObject<{
|
|
|
6
6
|
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
8
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const salesflareListGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { salesflareListGroups };
|
|
@@ -6,8 +6,8 @@ declare const SalesflareListGroupsOutput: z.ZodObject<{
|
|
|
6
6
|
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
8
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const salesflareListGroups: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { salesflareListGroups };
|
|
@@ -5,13 +5,13 @@ const SalesflareListGroupsInput = z.object({}).describe("Request model for listi
|
|
|
5
5
|
const SalesflareListGroups_GroupSchema = z.object({
|
|
6
6
|
id: z.number().int().describe("Unique identifier of the group").nullable().optional(),
|
|
7
7
|
name: z.string().describe("Name of the group").nullable().optional()
|
|
8
|
-
}).describe("Represents a group in Salesflare.");
|
|
8
|
+
}).passthrough().describe("Represents a group in Salesflare.");
|
|
9
9
|
const salesflareListGroups = action("SALESFLARE_LIST_GROUPS", {
|
|
10
10
|
slug: "salesflare-list-groups",
|
|
11
11
|
name: "List Groups",
|
|
12
12
|
description: "Tool to list groups in Salesflare. Use when you need to retrieve all groups in the team.",
|
|
13
13
|
input: SalesflareListGroupsInput,
|
|
14
|
-
output: z.object({ groups: z.array(SalesflareListGroups_GroupSchema).describe("List of groups in the Salesflare team").nullable().optional() }).describe("Response model for listing groups.")
|
|
14
|
+
output: z.object({ groups: z.array(SalesflareListGroups_GroupSchema).describe("List of groups in the Salesflare team").nullable().optional() }).passthrough().describe("Response model for listing groups.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { salesflareListGroups };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListGroupsInput = z.object({}).describe(\"Request model for listing groups. No parameters required.\");\nconst SalesflareListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group\").nullable().optional(),\n name: z.string().describe(\"Name of the group\").nullable().optional(),\n}).describe(\"Represents a group in Salesflare.\");\nexport const SalesflareListGroupsOutput = z.object({\n groups: z.array(SalesflareListGroups_GroupSchema).describe(\"List of groups in the Salesflare team\").nullable().optional(),\n}).describe(\"Response model for listing groups.\");\n\nexport const salesflareListGroups = action(\"SALESFLARE_LIST_GROUPS\", {\n slug: \"salesflare-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list groups in Salesflare. Use when you need to retrieve all groups in the team.\",\n input: SalesflareListGroupsInput,\n output: SalesflareListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListGroupsInput = z.object({}).describe(\"Request model for listing groups. No parameters required.\");\nconst SalesflareListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group\").nullable().optional(),\n name: z.string().describe(\"Name of the group\").nullable().optional(),\n}).passthrough().describe(\"Represents a group in Salesflare.\");\nexport const SalesflareListGroupsOutput = z.object({\n groups: z.array(SalesflareListGroups_GroupSchema).describe(\"List of groups in the Salesflare team\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing groups.\");\n\nexport const salesflareListGroups = action(\"SALESFLARE_LIST_GROUPS\", {\n slug: \"salesflare-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list groups in Salesflare. Use when you need to retrieve all groups in the team.\",\n input: SalesflareListGroupsInput,\n output: SalesflareListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC1H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -34,19 +34,19 @@ const SalesflareListMyContacts_TagSchema = zod.z.object({
|
|
|
34
34
|
team: zod.z.number().int().describe("Team ID associated with the tag").nullable().optional(),
|
|
35
35
|
creation_date: zod.z.string().describe("Date when tag was created").nullable().optional(),
|
|
36
36
|
modification_date: zod.z.string().describe("Date when tag was last modified").nullable().optional()
|
|
37
|
-
}).describe("Tag information.");
|
|
37
|
+
}).passthrough().describe("Tag information.");
|
|
38
38
|
const SalesflareListMyContacts_OwnerSummarySchema = zod.z.object({
|
|
39
39
|
id: zod.z.number().int().describe("Unique identifier of the owner").nullable(),
|
|
40
40
|
name: zod.z.string().describe("Name of the owner").nullable().optional(),
|
|
41
41
|
email: zod.z.string().describe("Email address of the owner").nullable().optional(),
|
|
42
42
|
picture: zod.z.string().describe("URL to the owner's picture").nullable().optional()
|
|
43
|
-
}).describe("Summary information about the contact owner.");
|
|
43
|
+
}).passthrough().describe("Summary information about the contact owner.");
|
|
44
44
|
const SalesflareListMyContacts_AccountSummarySchema = zod.z.object({
|
|
45
45
|
id: zod.z.number().int().describe("Unique identifier of the account").nullable(),
|
|
46
46
|
name: zod.z.string().describe("Name of the account").nullable().optional(),
|
|
47
47
|
domain: zod.z.string().describe("Domain of the account").nullable().optional(),
|
|
48
48
|
picture: zod.z.string().describe("URL to the account's picture").nullable().optional()
|
|
49
|
-
}).describe("Summary information about an account.");
|
|
49
|
+
}).passthrough().describe("Summary information about an account.");
|
|
50
50
|
const SalesflareListMyContacts_AddressSchema = zod.z.object({
|
|
51
51
|
zip: zod.z.string().describe("Zip or postal code").nullable().optional(),
|
|
52
52
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -54,7 +54,7 @@ const SalesflareListMyContacts_AddressSchema = zod.z.object({
|
|
|
54
54
|
street: zod.z.string().describe("Street address").nullable().optional(),
|
|
55
55
|
country: zod.z.string().describe("Country name").nullable().optional(),
|
|
56
56
|
state_region: zod.z.string().describe("State or region").nullable().optional()
|
|
57
|
-
}).describe("Address information.");
|
|
57
|
+
}).passthrough().describe("Address information.");
|
|
58
58
|
const SalesflareListMyContacts_PositionSchema = zod.z.object({
|
|
59
59
|
role: zod.z.string().describe("Job role or title").nullable().optional(),
|
|
60
60
|
current: zod.z.boolean().describe("Whether this is the current position").nullable().optional(),
|
|
@@ -62,16 +62,16 @@ const SalesflareListMyContacts_PositionSchema = zod.z.object({
|
|
|
62
62
|
end_date: zod.z.string().describe("End date of position").nullable().optional(),
|
|
63
63
|
start_date: zod.z.string().describe("Start date of position").nullable().optional(),
|
|
64
64
|
organisation: zod.z.string().describe("Organization name").nullable().optional()
|
|
65
|
-
}).describe("Position or employment information.");
|
|
65
|
+
}).passthrough().describe("Position or employment information.");
|
|
66
66
|
const SalesflareListMyContacts_PhoneNumberSchema = zod.z.object({
|
|
67
67
|
type: zod.z.string().describe("Phone type (e.g., mobile, work, home)").nullable().optional(),
|
|
68
68
|
number: zod.z.string().describe("Phone number").nullable()
|
|
69
|
-
}).describe("Phone number information.");
|
|
69
|
+
}).passthrough().describe("Phone number information.");
|
|
70
70
|
const SalesflareListMyContacts_SocialProfileSchema = zod.z.object({
|
|
71
71
|
url: zod.z.string().describe("URL to the social profile").nullable().optional(),
|
|
72
72
|
type: zod.z.string().describe("Social media platform type (e.g., linkedin, twitter)").nullable().optional(),
|
|
73
73
|
username: zod.z.string().describe("Username on the platform").nullable().optional()
|
|
74
|
-
}).describe("Social media profile information.");
|
|
74
|
+
}).passthrough().describe("Social media profile information.");
|
|
75
75
|
const SalesflareListMyContacts_ContactSchema = zod.z.object({
|
|
76
76
|
id: zod.z.number().int().describe("Unique identifier of the contact").nullable(),
|
|
77
77
|
name: zod.z.string().describe("Full name of the contact").nullable().optional(),
|
|
@@ -79,9 +79,9 @@ const SalesflareListMyContacts_ContactSchema = zod.z.object({
|
|
|
79
79
|
tags: zod.z.array(SalesflareListMyContacts_TagSchema).describe("List of tags assigned to the contact").nullable().optional(),
|
|
80
80
|
type: zod.z.string().describe("Type of the contact").nullable().optional(),
|
|
81
81
|
email: zod.z.string().describe("Primary email address of the contact").nullable().optional(),
|
|
82
|
-
files: zod.z.array(zod.z.
|
|
82
|
+
files: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of files attached to the contact").nullable().optional(),
|
|
83
83
|
owner: SalesflareListMyContacts_OwnerSummarySchema.nullable().optional(),
|
|
84
|
-
custom: zod.z.
|
|
84
|
+
custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields for the contact").nullable().optional(),
|
|
85
85
|
domain: zod.z.string().describe("Domain of the contact's organization").nullable().optional(),
|
|
86
86
|
middle: zod.z.string().describe("Middle name of the contact").nullable().optional(),
|
|
87
87
|
prefix: zod.z.string().describe("Name prefix (e.g., Mr., Dr.)").nullable().optional(),
|
|
@@ -113,8 +113,8 @@ const SalesflareListMyContacts_ContactSchema = zod.z.object({
|
|
|
113
113
|
modification_date: zod.z.string().describe("Date when the contact was last modified (ISO 8601 format)").nullable().optional(),
|
|
114
114
|
connection_strength: zod.z.number().describe("Strength of connection with the contact (0-1)").nullable().optional(),
|
|
115
115
|
mobile_phone_number: zod.z.string().describe("Mobile phone number").nullable().optional()
|
|
116
|
-
}).describe("Detailed information about a contact.");
|
|
117
|
-
const SalesflareListMyContactsOutput = zod.z.object({ contacts: zod.z.array(SalesflareListMyContacts_ContactSchema).describe("List of contacts belonging to the current user") }).describe("Response model containing a list of contacts.");
|
|
116
|
+
}).passthrough().describe("Detailed information about a contact.");
|
|
117
|
+
const SalesflareListMyContactsOutput = zod.z.object({ contacts: zod.z.array(SalesflareListMyContacts_ContactSchema).describe("List of contacts belonging to the current user") }).passthrough().describe("Response model containing a list of contacts.");
|
|
118
118
|
const salesflareListMyContacts = require_action.action("SALESFLARE_LIST_MY_CONTACTS", {
|
|
119
119
|
slug: "salesflare-list-my-contacts",
|
|
120
120
|
name: "List My Contacts",
|