@keystrokehq/salesflare 0.1.2 → 0.1.3
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 +5 -4
- package/dist/actions/create-custom-field.d.mts +5 -4
- 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 +3 -3
- package/dist/actions/delete-custom-field.d.mts +3 -3
- 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 +5 -5
- package/dist/actions/get-custom-field.d.mts +5 -5
- 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 +8 -8
- package/dist/actions/list-accounts.d.mts +8 -8
- 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 +3 -3
- package/dist/actions/list-custom-field-options.d.mts +3 -3
- 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 +6 -6
- package/dist/actions/list-custom-fields.d.mts +6 -6
- 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 +13 -13
- package/dist/actions/list-filter-fields.d.mts +13 -13
- 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 +10 -10
- package/dist/actions/list-opportunities.d.mts +10 -10
- 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 +6 -5
- package/dist/actions/update-custom-field.d.mts +6 -5
- 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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-persons.cjs","names":["z","action"],"sources":["../../src/actions/list-persons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPersonsInput = z.object({\n id: z.array(z.number().int()).describe(\"Filter persons by specific IDs. Provide a list of person IDs to retrieve.\").optional(),\n name: z.string().describe(\"Filter persons by name. Partial matches are supported.\").optional(),\n email: z.string().describe(\"Filter persons by email address. Partial matches are supported.\").optional(),\n search: z.string().describe(\"Search persons by keyword. Searches across multiple fields like name and email.\").optional(),\n}).describe(\"Request model for listing persons with filtering options.\");\nconst SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_PersonSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable(),\n name: z.string().describe(\"Full name of the person\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the person\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the person\").nullable().optional(),\n custom: z.
|
|
1
|
+
{"version":3,"file":"list-persons.cjs","names":["z","action"],"sources":["../../src/actions/list-persons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPersonsInput = z.object({\n id: z.array(z.number().int()).describe(\"Filter persons by specific IDs. Provide a list of person IDs to retrieve.\").optional(),\n name: z.string().describe(\"Filter persons by name. Partial matches are supported.\").optional(),\n email: z.string().describe(\"Filter persons by email address. Partial matches are supported.\").optional(),\n search: z.string().describe(\"Search persons by keyword. Searches across multiple fields like name and email.\").optional(),\n}).describe(\"Request model for listing persons with filtering options.\");\nconst SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_PersonSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable(),\n name: z.string().describe(\"Full name of the person\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the person\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the person\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the person\").nullable().optional(),\n domain: z.string().describe(\"Domain associated with the person\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the person\").nullable().optional(),\n picture: z.string().describe(\"URL to the person's picture\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the person\").nullable().optional(),\n addresses: z.array(SalesflareListPersons_AddressSchema).describe(\"List of addresses associated with the person\").nullable().optional(),\n firstname: z.string().describe(\"First name of the person\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the person\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the person was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListPersons_PhoneNumberSchema).describe(\"List of all phone numbers associated with the person\").nullable().optional(),\n social_profiles: z.array(SalesflareListPersons_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the person was last modified (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a person.\");\nexport const SalesflareListPersonsOutput = z.object({\n persons: z.array(SalesflareListPersons_PersonSchema).describe(\"List of persons matching the filter criteria\"),\n}).passthrough().describe(\"Response model containing a list of persons.\");\n\nexport const salesflareListPersons = action(\"SALESFLARE_LIST_PERSONS\", {\n slug: \"salesflare-list-persons\",\n name: \"List Persons\",\n description: \"Tool to list persons (non-contact people found in communications) from Salesflare. Use when you need to retrieve or search persons by name, email, ID, or keyword.\",\n input: SalesflareListPersonsInput,\n output: SalesflareListPersonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC7H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,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D,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SalesflareListPersonsOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
custom: z.ZodOptional<z.ZodNullable<z.
|
|
16
|
+
custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
17
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
middle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,7 +25,7 @@ declare const SalesflareListPersonsOutput: z.ZodObject<{
|
|
|
25
25
|
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
organisation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,14 +33,14 @@ declare const SalesflareListPersonsOutput: z.ZodObject<{
|
|
|
33
33
|
phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
38
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
41
|
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const salesflareListPersons: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
id?: number[] | undefined;
|
|
46
46
|
name?: string | undefined;
|
|
@@ -13,7 +13,7 @@ declare const SalesflareListPersonsOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
custom: z.ZodOptional<z.ZodNullable<z.
|
|
16
|
+
custom: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
17
|
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
middle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,7 +25,7 @@ declare const SalesflareListPersonsOutput: z.ZodObject<{
|
|
|
25
25
|
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
state_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
organisation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,14 +33,14 @@ declare const SalesflareListPersonsOutput: z.ZodObject<{
|
|
|
33
33
|
phone_numbers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
34
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
social_profiles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
38
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
41
|
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const salesflareListPersons: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
id?: number[] | undefined;
|
|
46
46
|
name?: string | undefined;
|
|
@@ -14,21 +14,21 @@ const SalesflareListPersons_AddressSchema = z.object({
|
|
|
14
14
|
street: z.string().describe("Street address").nullable().optional(),
|
|
15
15
|
country: z.string().describe("Country name").nullable().optional(),
|
|
16
16
|
state_region: z.string().describe("State or region").nullable().optional()
|
|
17
|
-
}).describe("Address information.");
|
|
17
|
+
}).passthrough().describe("Address information.");
|
|
18
18
|
const SalesflareListPersons_PhoneNumberSchema = z.object({
|
|
19
19
|
type: z.string().describe("Type of phone number (e.g., work, mobile, home)").nullable().optional(),
|
|
20
20
|
number: z.string().describe("Phone number").nullable().optional()
|
|
21
|
-
}).describe("Phone number information.");
|
|
21
|
+
}).passthrough().describe("Phone number information.");
|
|
22
22
|
const SalesflareListPersons_SocialProfileSchema = z.object({
|
|
23
23
|
url: z.string().describe("URL to the social profile").nullable().optional(),
|
|
24
24
|
type: z.string().describe("Type of social profile (e.g., linkedin, twitter)").nullable().optional()
|
|
25
|
-
}).describe("Social media profile information.");
|
|
25
|
+
}).passthrough().describe("Social media profile information.");
|
|
26
26
|
const SalesflareListPersons_PersonSchema = z.object({
|
|
27
27
|
id: z.number().int().describe("Unique identifier of the person").nullable(),
|
|
28
28
|
name: z.string().describe("Full name of the person").nullable().optional(),
|
|
29
29
|
role: z.string().describe("Role or job title of the person").nullable().optional(),
|
|
30
30
|
email: z.string().describe("Primary email address of the person").nullable().optional(),
|
|
31
|
-
custom: z.
|
|
31
|
+
custom: z.record(z.string(), z.unknown()).describe("Custom fields for the person").nullable().optional(),
|
|
32
32
|
domain: z.string().describe("Domain associated with the person").nullable().optional(),
|
|
33
33
|
middle: z.string().describe("Middle name of the person").nullable().optional(),
|
|
34
34
|
picture: z.string().describe("URL to the person's picture").nullable().optional(),
|
|
@@ -41,13 +41,13 @@ const SalesflareListPersons_PersonSchema = z.object({
|
|
|
41
41
|
phone_numbers: z.array(SalesflareListPersons_PhoneNumberSchema).describe("List of all phone numbers associated with the person").nullable().optional(),
|
|
42
42
|
social_profiles: z.array(SalesflareListPersons_SocialProfileSchema).describe("List of social media profiles").nullable().optional(),
|
|
43
43
|
modification_date: z.string().describe("Date when the person was last modified (ISO 8601 format)").nullable().optional()
|
|
44
|
-
}).describe("Detailed information about a person.");
|
|
44
|
+
}).passthrough().describe("Detailed information about a person.");
|
|
45
45
|
const salesflareListPersons = action("SALESFLARE_LIST_PERSONS", {
|
|
46
46
|
slug: "salesflare-list-persons",
|
|
47
47
|
name: "List Persons",
|
|
48
48
|
description: "Tool to list persons (non-contact people found in communications) from Salesflare. Use when you need to retrieve or search persons by name, email, ID, or keyword.",
|
|
49
49
|
input: SalesflareListPersonsInput,
|
|
50
|
-
output: z.object({ persons: z.array(SalesflareListPersons_PersonSchema).describe("List of persons matching the filter criteria") }).describe("Response model containing a list of persons.")
|
|
50
|
+
output: z.object({ persons: z.array(SalesflareListPersons_PersonSchema).describe("List of persons matching the filter criteria") }).passthrough().describe("Response model containing a list of persons.")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { salesflareListPersons };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-persons.mjs","names":[],"sources":["../../src/actions/list-persons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPersonsInput = z.object({\n id: z.array(z.number().int()).describe(\"Filter persons by specific IDs. Provide a list of person IDs to retrieve.\").optional(),\n name: z.string().describe(\"Filter persons by name. Partial matches are supported.\").optional(),\n email: z.string().describe(\"Filter persons by email address. Partial matches are supported.\").optional(),\n search: z.string().describe(\"Search persons by keyword. Searches across multiple fields like name and email.\").optional(),\n}).describe(\"Request model for listing persons with filtering options.\");\nconst SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_PersonSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable(),\n name: z.string().describe(\"Full name of the person\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the person\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the person\").nullable().optional(),\n custom: z.
|
|
1
|
+
{"version":3,"file":"list-persons.mjs","names":[],"sources":["../../src/actions/list-persons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPersonsInput = z.object({\n id: z.array(z.number().int()).describe(\"Filter persons by specific IDs. Provide a list of person IDs to retrieve.\").optional(),\n name: z.string().describe(\"Filter persons by name. Partial matches are supported.\").optional(),\n email: z.string().describe(\"Filter persons by email address. Partial matches are supported.\").optional(),\n search: z.string().describe(\"Search persons by keyword. Searches across multiple fields like name and email.\").optional(),\n}).describe(\"Request model for listing persons with filtering options.\");\nconst SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_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 SalesflareListPersons_PersonSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the person\").nullable(),\n name: z.string().describe(\"Full name of the person\").nullable().optional(),\n role: z.string().describe(\"Role or job title of the person\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the person\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields for the person\").nullable().optional(),\n domain: z.string().describe(\"Domain associated with the person\").nullable().optional(),\n middle: z.string().describe(\"Middle name of the person\").nullable().optional(),\n picture: z.string().describe(\"URL to the person's picture\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the person\").nullable().optional(),\n addresses: z.array(SalesflareListPersons_AddressSchema).describe(\"List of addresses associated with the person\").nullable().optional(),\n firstname: z.string().describe(\"First name of the person\").nullable().optional(),\n organisation: z.string().describe(\"Organization name\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the person\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the person was created (ISO 8601 format)\").nullable().optional(),\n phone_numbers: z.array(SalesflareListPersons_PhoneNumberSchema).describe(\"List of all phone numbers associated with the person\").nullable().optional(),\n social_profiles: z.array(SalesflareListPersons_SocialProfileSchema).describe(\"List of social media profiles\").nullable().optional(),\n modification_date: z.string().describe(\"Date when the person was last modified (ISO 8601 format)\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a person.\");\nexport const SalesflareListPersonsOutput = z.object({\n persons: z.array(SalesflareListPersons_PersonSchema).describe(\"List of persons matching the filter criteria\"),\n}).passthrough().describe(\"Response model containing a list of persons.\");\n\nexport const salesflareListPersons = action(\"SALESFLARE_LIST_PERSONS\", {\n slug: \"salesflare-list-persons\",\n name: \"List Persons\",\n description: \"Tool to list persons (non-contact people found in communications) from Salesflare. Use when you need to retrieve or search persons by name, email, ID, or keyword.\",\n input: SalesflareListPersonsInput,\n output: SalesflareListPersonsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CA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AAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAe,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,iBAAiB,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -9,18 +9,18 @@ const SalesflareListPipelinesInput = zod.z.object({
|
|
|
9
9
|
const SalesflareListPipelines_PipelineGroupSchema = zod.z.object({
|
|
10
10
|
id: zod.z.number().int().describe("Group ID").nullable().optional(),
|
|
11
11
|
name: zod.z.string().describe("Group name").nullable().optional()
|
|
12
|
-
}).describe("Group information within a pipeline.");
|
|
12
|
+
}).passthrough().describe("Group information within a pipeline.");
|
|
13
13
|
const SalesflareListPipelines_PipelineStageSchema = zod.z.object({
|
|
14
14
|
id: zod.z.number().int().describe("Stage ID").nullable().optional(),
|
|
15
15
|
name: zod.z.string().describe("Stage name").nullable().optional(),
|
|
16
16
|
order: zod.z.number().int().describe("Order of the stage within the pipeline").nullable().optional(),
|
|
17
17
|
probability: zod.z.number().describe("Probability percentage for this stage").nullable().optional()
|
|
18
|
-
}).describe("Stage information within a pipeline.");
|
|
18
|
+
}).passthrough().describe("Stage information within a pipeline.");
|
|
19
19
|
const SalesflareListPipelines_PipelineCurrencySchema = zod.z.object({
|
|
20
20
|
id: zod.z.number().int().describe("Currency ID").nullable().optional(),
|
|
21
21
|
iso: zod.z.string().describe("ISO currency code (e.g., USD, EUR)").nullable().optional(),
|
|
22
22
|
html: zod.z.string().describe("HTML representation of currency symbol").nullable().optional()
|
|
23
|
-
}).describe("Currency information for a pipeline.");
|
|
23
|
+
}).passthrough().describe("Currency information for a pipeline.");
|
|
24
24
|
const SalesflareListPipelines_PipelineSchema = zod.z.object({
|
|
25
25
|
id: zod.z.number().int().describe("Unique pipeline identifier").nullable().optional(),
|
|
26
26
|
name: zod.z.string().describe("Pipeline name").nullable().optional(),
|
|
@@ -40,8 +40,8 @@ const SalesflareListPipelines_PipelineSchema = zod.z.object({
|
|
|
40
40
|
standard_price_per_unit_monthly: zod.z.number().describe("Standard price per unit per month for recurring pipelines").nullable().optional(),
|
|
41
41
|
standard_price_per_unit_annually: zod.z.number().describe("Standard price per unit per year for recurring pipelines").nullable().optional(),
|
|
42
42
|
expected_customer_lifetime_months: zod.z.number().int().describe("Expected customer lifetime in months for recurring pipelines").nullable().optional()
|
|
43
|
-
}).describe("Pipeline object with all details.");
|
|
44
|
-
const SalesflareListPipelinesOutput = zod.z.object({ pipelines: zod.z.array(SalesflareListPipelines_PipelineSchema).describe("Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.").nullable().optional() }).describe("Response model containing list of pipelines.");
|
|
43
|
+
}).passthrough().describe("Pipeline object with all details.");
|
|
44
|
+
const SalesflareListPipelinesOutput = zod.z.object({ pipelines: zod.z.array(SalesflareListPipelines_PipelineSchema).describe("Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.").nullable().optional() }).passthrough().describe("Response model containing list of pipelines.");
|
|
45
45
|
const salesflareListPipelines = require_action.action("SALESFLARE_LIST_PIPELINES", {
|
|
46
46
|
slug: "salesflare-list-pipelines",
|
|
47
47
|
name: "List Pipelines",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pipelines.cjs","names":["z","action"],"sources":["../../src/actions/list-pipelines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPipelinesInput = z.object({\n q: z.string().describe(\"Quick search query parameter for filtering pipelines.\").optional(),\n search: z.string().describe(\"Search term to filter pipelines. Searches across pipeline name and other text fields.\").optional(),\n order_by: z.array(z.string()).describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n}).describe(\"Request model for listing pipelines with filtering options.\");\nconst SalesflareListPipelines_PipelineGroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).describe(\"Group information within a pipeline.\");\nconst SalesflareListPipelines_PipelineStageSchema = z.object({\n id: z.number().int().describe(\"Stage ID\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage\").nullable().optional(),\n}).describe(\"Stage information within a pipeline.\");\nconst SalesflareListPipelines_PipelineCurrencySchema = z.object({\n id: z.number().int().describe(\"Currency ID\").nullable().optional(),\n iso: z.string().describe(\"ISO currency code (e.g., USD, EUR)\").nullable().optional(),\n html: z.string().describe(\"HTML representation of currency symbol\").nullable().optional(),\n}).describe(\"Currency information for a pipeline.\");\nconst SalesflareListPipelines_PipelineSchema = z.object({\n id: z.number().int().describe(\"Unique pipeline identifier\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with the pipeline\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n groups: z.array(SalesflareListPipelines_PipelineGroupSchema).describe(\"List of groups in the pipeline\").nullable().optional(),\n stages: z.array(SalesflareListPipelines_PipelineStageSchema).describe(\"List of stages in the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n currency: SalesflareListPipelines_PipelineCurrencySchema.nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n creation_date: z.string().describe(\"Pipeline creation date in ISO 8601 format\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n follows_default_team_currency: z.boolean().describe(\"Whether the pipeline follows the default team currency\").nullable().optional(),\n standard_price_per_unit_daily: z.number().describe(\"Standard price per unit per day for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_weekly: z.number().describe(\"Standard price per unit per week for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_monthly: z.number().describe(\"Standard price per unit per month for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_annually: z.number().describe(\"Standard price per unit per year for recurring pipelines\").nullable().optional(),\n expected_customer_lifetime_months: z.number().int().describe(\"Expected customer lifetime in months for recurring pipelines\").nullable().optional(),\n}).describe(\"Pipeline object with all details.\");\nexport const SalesflareListPipelinesOutput = z.object({\n pipelines: z.array(SalesflareListPipelines_PipelineSchema).describe(\"Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.\").nullable().optional(),\n}).describe(\"Response model containing list of pipelines.\");\n\nexport const salesflareListPipelines = action(\"SALESFLARE_LIST_PIPELINES\", {\n slug: \"salesflare-list-pipelines\",\n name: \"List Pipelines\",\n description: \"Tool to list pipelines in the Salesflare system with filtering and sorting options. Use when you need to retrieve available pipelines for organizing opportunities and sales processes.\",\n input: SalesflareListPipelinesInput,\n output: SalesflareListPipelinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-pipelines.cjs","names":["z","action"],"sources":["../../src/actions/list-pipelines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPipelinesInput = z.object({\n q: z.string().describe(\"Quick search query parameter for filtering pipelines.\").optional(),\n search: z.string().describe(\"Search term to filter pipelines. Searches across pipeline name and other text fields.\").optional(),\n order_by: z.array(z.string()).describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n}).describe(\"Request model for listing pipelines with filtering options.\");\nconst SalesflareListPipelines_PipelineGroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).passthrough().describe(\"Group information within a pipeline.\");\nconst SalesflareListPipelines_PipelineStageSchema = z.object({\n id: z.number().int().describe(\"Stage ID\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage\").nullable().optional(),\n}).passthrough().describe(\"Stage information within a pipeline.\");\nconst SalesflareListPipelines_PipelineCurrencySchema = z.object({\n id: z.number().int().describe(\"Currency ID\").nullable().optional(),\n iso: z.string().describe(\"ISO currency code (e.g., USD, EUR)\").nullable().optional(),\n html: z.string().describe(\"HTML representation of currency symbol\").nullable().optional(),\n}).passthrough().describe(\"Currency information for a pipeline.\");\nconst SalesflareListPipelines_PipelineSchema = z.object({\n id: z.number().int().describe(\"Unique pipeline identifier\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with the pipeline\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n groups: z.array(SalesflareListPipelines_PipelineGroupSchema).describe(\"List of groups in the pipeline\").nullable().optional(),\n stages: z.array(SalesflareListPipelines_PipelineStageSchema).describe(\"List of stages in the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n currency: SalesflareListPipelines_PipelineCurrencySchema.nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n creation_date: z.string().describe(\"Pipeline creation date in ISO 8601 format\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n follows_default_team_currency: z.boolean().describe(\"Whether the pipeline follows the default team currency\").nullable().optional(),\n standard_price_per_unit_daily: z.number().describe(\"Standard price per unit per day for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_weekly: z.number().describe(\"Standard price per unit per week for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_monthly: z.number().describe(\"Standard price per unit per month for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_annually: z.number().describe(\"Standard price per unit per year for recurring pipelines\").nullable().optional(),\n expected_customer_lifetime_months: z.number().int().describe(\"Expected customer lifetime in months for recurring pipelines\").nullable().optional(),\n}).passthrough().describe(\"Pipeline object with all details.\");\nexport const SalesflareListPipelinesOutput = z.object({\n pipelines: z.array(SalesflareListPipelines_PipelineSchema).describe(\"Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of pipelines.\");\n\nexport const salesflareListPipelines = action(\"SALESFLARE_LIST_PIPELINES\", {\n slug: \"salesflare-list-pipelines\",\n name: \"List Pipelines\",\n description: \"Tool to list pipelines in the Salesflare system with filtering and sorting options. Use when you need to retrieve available pipelines for organizing opportunities and sales processes.\",\n input: SalesflareListPipelinesInput,\n output: SalesflareListPipelinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA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,kCAAkCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,19 +15,19 @@ declare const SalesflareListPipelinesOutput: z.ZodObject<{
|
|
|
15
15
|
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
16
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
19
|
stages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
26
|
currency: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
iso: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
recurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
32
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
default_pipeline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -38,8 +38,8 @@ declare const SalesflareListPipelinesOutput: z.ZodObject<{
|
|
|
38
38
|
standard_price_per_unit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
standard_price_per_unit_annually: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
expected_customer_lifetime_months: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const salesflareListPipelines: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
q?: string | undefined;
|
|
45
45
|
search?: string | undefined;
|
|
@@ -15,19 +15,19 @@ declare const SalesflareListPipelinesOutput: z.ZodObject<{
|
|
|
15
15
|
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16
16
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
17
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
19
|
stages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
26
|
currency: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
27
27
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
iso: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
recurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
32
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
default_pipeline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -38,8 +38,8 @@ declare const SalesflareListPipelinesOutput: z.ZodObject<{
|
|
|
38
38
|
standard_price_per_unit_monthly: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
standard_price_per_unit_annually: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
40
|
expected_customer_lifetime_months: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
-
}, z.core.$
|
|
42
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const salesflareListPipelines: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
q?: string | undefined;
|
|
45
45
|
search?: string | undefined;
|
|
@@ -9,18 +9,18 @@ const SalesflareListPipelinesInput = z.object({
|
|
|
9
9
|
const SalesflareListPipelines_PipelineGroupSchema = z.object({
|
|
10
10
|
id: z.number().int().describe("Group ID").nullable().optional(),
|
|
11
11
|
name: z.string().describe("Group name").nullable().optional()
|
|
12
|
-
}).describe("Group information within a pipeline.");
|
|
12
|
+
}).passthrough().describe("Group information within a pipeline.");
|
|
13
13
|
const SalesflareListPipelines_PipelineStageSchema = z.object({
|
|
14
14
|
id: z.number().int().describe("Stage ID").nullable().optional(),
|
|
15
15
|
name: z.string().describe("Stage name").nullable().optional(),
|
|
16
16
|
order: z.number().int().describe("Order of the stage within the pipeline").nullable().optional(),
|
|
17
17
|
probability: z.number().describe("Probability percentage for this stage").nullable().optional()
|
|
18
|
-
}).describe("Stage information within a pipeline.");
|
|
18
|
+
}).passthrough().describe("Stage information within a pipeline.");
|
|
19
19
|
const SalesflareListPipelines_PipelineCurrencySchema = z.object({
|
|
20
20
|
id: z.number().int().describe("Currency ID").nullable().optional(),
|
|
21
21
|
iso: z.string().describe("ISO currency code (e.g., USD, EUR)").nullable().optional(),
|
|
22
22
|
html: z.string().describe("HTML representation of currency symbol").nullable().optional()
|
|
23
|
-
}).describe("Currency information for a pipeline.");
|
|
23
|
+
}).passthrough().describe("Currency information for a pipeline.");
|
|
24
24
|
const SalesflareListPipelines_PipelineSchema = z.object({
|
|
25
25
|
id: z.number().int().describe("Unique pipeline identifier").nullable().optional(),
|
|
26
26
|
name: z.string().describe("Pipeline name").nullable().optional(),
|
|
@@ -40,13 +40,13 @@ const SalesflareListPipelines_PipelineSchema = z.object({
|
|
|
40
40
|
standard_price_per_unit_monthly: z.number().describe("Standard price per unit per month for recurring pipelines").nullable().optional(),
|
|
41
41
|
standard_price_per_unit_annually: z.number().describe("Standard price per unit per year for recurring pipelines").nullable().optional(),
|
|
42
42
|
expected_customer_lifetime_months: z.number().int().describe("Expected customer lifetime in months for recurring pipelines").nullable().optional()
|
|
43
|
-
}).describe("Pipeline object with all details.");
|
|
43
|
+
}).passthrough().describe("Pipeline object with all details.");
|
|
44
44
|
const salesflareListPipelines = action("SALESFLARE_LIST_PIPELINES", {
|
|
45
45
|
slug: "salesflare-list-pipelines",
|
|
46
46
|
name: "List Pipelines",
|
|
47
47
|
description: "Tool to list pipelines in the Salesflare system with filtering and sorting options. Use when you need to retrieve available pipelines for organizing opportunities and sales processes.",
|
|
48
48
|
input: SalesflareListPipelinesInput,
|
|
49
|
-
output: z.object({ pipelines: z.array(SalesflareListPipelines_PipelineSchema).describe("Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.").nullable().optional() }).describe("Response model containing list of pipelines.")
|
|
49
|
+
output: z.object({ pipelines: z.array(SalesflareListPipelines_PipelineSchema).describe("Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.").nullable().optional() }).passthrough().describe("Response model containing list of pipelines.")
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
export { salesflareListPipelines };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pipelines.mjs","names":[],"sources":["../../src/actions/list-pipelines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPipelinesInput = z.object({\n q: z.string().describe(\"Quick search query parameter for filtering pipelines.\").optional(),\n search: z.string().describe(\"Search term to filter pipelines. Searches across pipeline name and other text fields.\").optional(),\n order_by: z.array(z.string()).describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n}).describe(\"Request model for listing pipelines with filtering options.\");\nconst SalesflareListPipelines_PipelineGroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).describe(\"Group information within a pipeline.\");\nconst SalesflareListPipelines_PipelineStageSchema = z.object({\n id: z.number().int().describe(\"Stage ID\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage\").nullable().optional(),\n}).describe(\"Stage information within a pipeline.\");\nconst SalesflareListPipelines_PipelineCurrencySchema = z.object({\n id: z.number().int().describe(\"Currency ID\").nullable().optional(),\n iso: z.string().describe(\"ISO currency code (e.g., USD, EUR)\").nullable().optional(),\n html: z.string().describe(\"HTML representation of currency symbol\").nullable().optional(),\n}).describe(\"Currency information for a pipeline.\");\nconst SalesflareListPipelines_PipelineSchema = z.object({\n id: z.number().int().describe(\"Unique pipeline identifier\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with the pipeline\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n groups: z.array(SalesflareListPipelines_PipelineGroupSchema).describe(\"List of groups in the pipeline\").nullable().optional(),\n stages: z.array(SalesflareListPipelines_PipelineStageSchema).describe(\"List of stages in the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n currency: SalesflareListPipelines_PipelineCurrencySchema.nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n creation_date: z.string().describe(\"Pipeline creation date in ISO 8601 format\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n follows_default_team_currency: z.boolean().describe(\"Whether the pipeline follows the default team currency\").nullable().optional(),\n standard_price_per_unit_daily: z.number().describe(\"Standard price per unit per day for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_weekly: z.number().describe(\"Standard price per unit per week for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_monthly: z.number().describe(\"Standard price per unit per month for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_annually: z.number().describe(\"Standard price per unit per year for recurring pipelines\").nullable().optional(),\n expected_customer_lifetime_months: z.number().int().describe(\"Expected customer lifetime in months for recurring pipelines\").nullable().optional(),\n}).describe(\"Pipeline object with all details.\");\nexport const SalesflareListPipelinesOutput = z.object({\n pipelines: z.array(SalesflareListPipelines_PipelineSchema).describe(\"Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.\").nullable().optional(),\n}).describe(\"Response model containing list of pipelines.\");\n\nexport const salesflareListPipelines = action(\"SALESFLARE_LIST_PIPELINES\", {\n slug: \"salesflare-list-pipelines\",\n name: \"List Pipelines\",\n description: \"Tool to list pipelines in the Salesflare system with filtering and sorting options. Use when you need to retrieve available pipelines for organizing opportunities and sales processes.\",\n input: SalesflareListPipelinesInput,\n output: SalesflareListPipelinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-pipelines.mjs","names":[],"sources":["../../src/actions/list-pipelines.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListPipelinesInput = z.object({\n q: z.string().describe(\"Quick search query parameter for filtering pipelines.\").optional(),\n search: z.string().describe(\"Search term to filter pipelines. Searches across pipeline name and other text fields.\").optional(),\n order_by: z.array(z.string()).describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n}).describe(\"Request model for listing pipelines with filtering options.\");\nconst SalesflareListPipelines_PipelineGroupSchema = z.object({\n id: z.number().int().describe(\"Group ID\").nullable().optional(),\n name: z.string().describe(\"Group name\").nullable().optional(),\n}).passthrough().describe(\"Group information within a pipeline.\");\nconst SalesflareListPipelines_PipelineStageSchema = z.object({\n id: z.number().int().describe(\"Stage ID\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage\").nullable().optional(),\n}).passthrough().describe(\"Stage information within a pipeline.\");\nconst SalesflareListPipelines_PipelineCurrencySchema = z.object({\n id: z.number().int().describe(\"Currency ID\").nullable().optional(),\n iso: z.string().describe(\"ISO currency code (e.g., USD, EUR)\").nullable().optional(),\n html: z.string().describe(\"HTML representation of currency symbol\").nullable().optional(),\n}).passthrough().describe(\"Currency information for a pipeline.\");\nconst SalesflareListPipelines_PipelineSchema = z.object({\n id: z.number().int().describe(\"Unique pipeline identifier\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n team: z.number().int().describe(\"Team ID associated with the pipeline\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n groups: z.array(SalesflareListPipelines_PipelineGroupSchema).describe(\"List of groups in the pipeline\").nullable().optional(),\n stages: z.array(SalesflareListPipelines_PipelineStageSchema).describe(\"List of stages in the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n currency: SalesflareListPipelines_PipelineCurrencySchema.nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n creation_date: z.string().describe(\"Pipeline creation date in ISO 8601 format\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n follows_default_team_currency: z.boolean().describe(\"Whether the pipeline follows the default team currency\").nullable().optional(),\n standard_price_per_unit_daily: z.number().describe(\"Standard price per unit per day for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_weekly: z.number().describe(\"Standard price per unit per week for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_monthly: z.number().describe(\"Standard price per unit per month for recurring pipelines\").nullable().optional(),\n standard_price_per_unit_annually: z.number().describe(\"Standard price per unit per year for recurring pipelines\").nullable().optional(),\n expected_customer_lifetime_months: z.number().int().describe(\"Expected customer lifetime in months for recurring pipelines\").nullable().optional(),\n}).passthrough().describe(\"Pipeline object with all details.\");\nexport const SalesflareListPipelinesOutput = z.object({\n pipelines: z.array(SalesflareListPipelines_PipelineSchema).describe(\"Array of pipeline objects matching the filter criteria. May be empty if no pipelines match.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of pipelines.\");\n\nexport const salesflareListPipelines = action(\"SALESFLARE_LIST_PIPELINES\", {\n slug: \"salesflare-list-pipelines\",\n name: \"List Pipelines\",\n description: \"Tool to list pipelines in the Salesflare system with filtering and sorting options. Use when you need to retrieve available pipelines for organizing opportunities and sales processes.\",\n input: SalesflareListPipelinesInput,\n output: SalesflareListPipelinesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC9H,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;AACpM,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,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AAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,WAAW,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const SalesflareListStages_StagePipelineSchema = zod.z.object({
|
|
|
15
15
|
archived: zod.z.boolean().describe("Whether the pipeline is archived").nullable().optional(),
|
|
16
16
|
recurring: zod.z.boolean().describe("Whether the pipeline is for recurring opportunities").nullable().optional(),
|
|
17
17
|
default_pipeline: zod.z.boolean().describe("Whether this is the default pipeline").nullable().optional()
|
|
18
|
-
}).describe("Pipeline information for a stage.");
|
|
18
|
+
}).passthrough().describe("Pipeline information for a stage.");
|
|
19
19
|
const SalesflareListStages_StageSchema = zod.z.object({
|
|
20
20
|
id: zod.z.number().int().describe("Unique stage identifier").nullable().optional(),
|
|
21
21
|
name: zod.z.string().describe("Stage name").nullable().optional(),
|
|
@@ -24,8 +24,8 @@ const SalesflareListStages_StageSchema = zod.z.object({
|
|
|
24
24
|
probability: zod.z.number().describe("Probability percentage for this stage (0-100)").nullable().optional(),
|
|
25
25
|
creation_date: zod.z.string().describe("Stage creation date in ISO 8601 format").nullable().optional(),
|
|
26
26
|
modification_date: zod.z.string().describe("Last modification date in ISO 8601 format").nullable().optional()
|
|
27
|
-
}).describe("Stage object with all details.");
|
|
28
|
-
const SalesflareListStagesOutput = zod.z.object({ stages: zod.z.array(SalesflareListStages_StageSchema).describe("Array of stage objects matching the filter criteria. May be empty if no stages match.").nullable().optional() }).describe("Response model containing list of stages.");
|
|
27
|
+
}).passthrough().describe("Stage object with all details.");
|
|
28
|
+
const SalesflareListStagesOutput = zod.z.object({ stages: zod.z.array(SalesflareListStages_StageSchema).describe("Array of stage objects matching the filter criteria. May be empty if no stages match.").nullable().optional() }).passthrough().describe("Response model containing list of stages.");
|
|
29
29
|
const salesflareListStages = require_action.action("SALESFLARE_LIST_STAGES", {
|
|
30
30
|
slug: "salesflare-list-stages",
|
|
31
31
|
name: "List Stages",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-stages.cjs","names":["z","action"],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListStagesInput = z.object({\n id: z.number().int().describe(\"Filter by stage ID. Returns the specific stage matching this ID.\").optional(),\n name: z.string().describe(\"Filter by stage name. Searches for stages with names matching this value.\").optional(),\n order_by: z.string().describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n \"pipeline.id\": z.number().int().describe(\"Filter by pipeline ID. Returns stages belonging to the specified pipeline.\").optional(),\n \"pipeline.name\": z.string().describe(\"Filter by pipeline name. Returns stages belonging to pipelines with names matching this value.\").optional(),\n}).describe(\"Request model for listing stages with filtering options.\");\nconst SalesflareListStages_StagePipelineSchema = z.object({\n id: z.number().int().describe(\"Pipeline ID\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n}).describe(\"Pipeline information for a stage.\");\nconst SalesflareListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique stage identifier\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n pipeline: SalesflareListStages_StagePipelineSchema.nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage (0-100)\").nullable().optional(),\n creation_date: z.string().describe(\"Stage creation date in ISO 8601 format\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n}).describe(\"Stage object with all details.\");\nexport const SalesflareListStagesOutput = z.object({\n stages: z.array(SalesflareListStages_StageSchema).describe(\"Array of stage objects matching the filter criteria. May be empty if no stages match.\").nullable().optional(),\n}).describe(\"Response model containing list of stages.\");\n\nexport const salesflareListStages = action(\"SALESFLARE_LIST_STAGES\", {\n slug: \"salesflare-list-stages\",\n name: \"List Stages\",\n description: \"Tool to list pipeline stages in the Salesflare system with filtering and sorting options. Use when you need to retrieve available stages for organizing opportunities in pipelines.\",\n input: SalesflareListStagesInput,\n output: SalesflareListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-stages.cjs","names":["z","action"],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListStagesInput = z.object({\n id: z.number().int().describe(\"Filter by stage ID. Returns the specific stage matching this ID.\").optional(),\n name: z.string().describe(\"Filter by stage name. Searches for stages with names matching this value.\").optional(),\n order_by: z.string().describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n \"pipeline.id\": z.number().int().describe(\"Filter by pipeline ID. Returns stages belonging to the specified pipeline.\").optional(),\n \"pipeline.name\": z.string().describe(\"Filter by pipeline name. Returns stages belonging to pipelines with names matching this value.\").optional(),\n}).describe(\"Request model for listing stages with filtering options.\");\nconst SalesflareListStages_StagePipelineSchema = z.object({\n id: z.number().int().describe(\"Pipeline ID\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n}).passthrough().describe(\"Pipeline information for a stage.\");\nconst SalesflareListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique stage identifier\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n pipeline: SalesflareListStages_StagePipelineSchema.nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage (0-100)\").nullable().optional(),\n creation_date: z.string().describe(\"Stage creation date in ISO 8601 format\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Stage object with all details.\");\nexport const SalesflareListStagesOutput = z.object({\n stages: z.array(SalesflareListStages_StageSchema).describe(\"Array of stage objects matching the filter criteria. May be empty if no stages match.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of stages.\");\n\nexport const salesflareListStages = action(\"SALESFLARE_LIST_STAGES\", {\n slug: \"salesflare-list-stages\",\n name: \"List Stages\",\n description: \"Tool to list pipeline stages in the Salesflare system with filtering and sorting options. Use when you need to retrieve available stages for organizing opportunities in pipelines.\",\n input: SalesflareListStagesInput,\n output: SalesflareListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,O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OA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,12 +20,12 @@ declare const SalesflareListStagesOutput: z.ZodObject<{
|
|
|
20
20
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
21
|
recurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
22
|
default_pipeline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const salesflareListStages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
id?: number | undefined;
|
|
31
31
|
name?: string | undefined;
|
|
@@ -20,12 +20,12 @@ declare const SalesflareListStagesOutput: z.ZodObject<{
|
|
|
20
20
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
21
|
recurring: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
22
|
default_pipeline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
modification_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const salesflareListStages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
id?: number | undefined;
|
|
31
31
|
name?: string | undefined;
|
|
@@ -15,7 +15,7 @@ const SalesflareListStages_StagePipelineSchema = z.object({
|
|
|
15
15
|
archived: z.boolean().describe("Whether the pipeline is archived").nullable().optional(),
|
|
16
16
|
recurring: z.boolean().describe("Whether the pipeline is for recurring opportunities").nullable().optional(),
|
|
17
17
|
default_pipeline: z.boolean().describe("Whether this is the default pipeline").nullable().optional()
|
|
18
|
-
}).describe("Pipeline information for a stage.");
|
|
18
|
+
}).passthrough().describe("Pipeline information for a stage.");
|
|
19
19
|
const SalesflareListStages_StageSchema = z.object({
|
|
20
20
|
id: z.number().int().describe("Unique stage identifier").nullable().optional(),
|
|
21
21
|
name: z.string().describe("Stage name").nullable().optional(),
|
|
@@ -24,13 +24,13 @@ const SalesflareListStages_StageSchema = z.object({
|
|
|
24
24
|
probability: z.number().describe("Probability percentage for this stage (0-100)").nullable().optional(),
|
|
25
25
|
creation_date: z.string().describe("Stage creation date in ISO 8601 format").nullable().optional(),
|
|
26
26
|
modification_date: z.string().describe("Last modification date in ISO 8601 format").nullable().optional()
|
|
27
|
-
}).describe("Stage object with all details.");
|
|
27
|
+
}).passthrough().describe("Stage object with all details.");
|
|
28
28
|
const salesflareListStages = action("SALESFLARE_LIST_STAGES", {
|
|
29
29
|
slug: "salesflare-list-stages",
|
|
30
30
|
name: "List Stages",
|
|
31
31
|
description: "Tool to list pipeline stages in the Salesflare system with filtering and sorting options. Use when you need to retrieve available stages for organizing opportunities in pipelines.",
|
|
32
32
|
input: SalesflareListStagesInput,
|
|
33
|
-
output: z.object({ stages: z.array(SalesflareListStages_StageSchema).describe("Array of stage objects matching the filter criteria. May be empty if no stages match.").nullable().optional() }).describe("Response model containing list of stages.")
|
|
33
|
+
output: z.object({ stages: z.array(SalesflareListStages_StageSchema).describe("Array of stage objects matching the filter criteria. May be empty if no stages match.").nullable().optional() }).passthrough().describe("Response model containing list of stages.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { salesflareListStages };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-stages.mjs","names":[],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListStagesInput = z.object({\n id: z.number().int().describe(\"Filter by stage ID. Returns the specific stage matching this ID.\").optional(),\n name: z.string().describe(\"Filter by stage name. Searches for stages with names matching this value.\").optional(),\n order_by: z.string().describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n \"pipeline.id\": z.number().int().describe(\"Filter by pipeline ID. Returns stages belonging to the specified pipeline.\").optional(),\n \"pipeline.name\": z.string().describe(\"Filter by pipeline name. Returns stages belonging to pipelines with names matching this value.\").optional(),\n}).describe(\"Request model for listing stages with filtering options.\");\nconst SalesflareListStages_StagePipelineSchema = z.object({\n id: z.number().int().describe(\"Pipeline ID\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n}).describe(\"Pipeline information for a stage.\");\nconst SalesflareListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique stage identifier\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n pipeline: SalesflareListStages_StagePipelineSchema.nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage (0-100)\").nullable().optional(),\n creation_date: z.string().describe(\"Stage creation date in ISO 8601 format\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n}).describe(\"Stage object with all details.\");\nexport const SalesflareListStagesOutput = z.object({\n stages: z.array(SalesflareListStages_StageSchema).describe(\"Array of stage objects matching the filter criteria. May be empty if no stages match.\").nullable().optional(),\n}).describe(\"Response model containing list of stages.\");\n\nexport const salesflareListStages = action(\"SALESFLARE_LIST_STAGES\", {\n slug: \"salesflare-list-stages\",\n name: \"List Stages\",\n description: \"Tool to list pipeline stages in the Salesflare system with filtering and sorting options. Use when you need to retrieve available stages for organizing opportunities in pipelines.\",\n input: SalesflareListStagesInput,\n output: SalesflareListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAChI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-stages.mjs","names":[],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareListStagesInput = z.object({\n id: z.number().int().describe(\"Filter by stage ID. Returns the specific stage matching this ID.\").optional(),\n name: z.string().describe(\"Filter by stage name. Searches for stages with names matching this value.\").optional(),\n order_by: z.string().describe(\"Sort order for results. Can be just 'key' (e.g., 'name') or 'key sortOrder' (e.g., 'name desc'). Defaults to ascending order if not specified.\").optional(),\n \"pipeline.id\": z.number().int().describe(\"Filter by pipeline ID. Returns stages belonging to the specified pipeline.\").optional(),\n \"pipeline.name\": z.string().describe(\"Filter by pipeline name. Returns stages belonging to pipelines with names matching this value.\").optional(),\n}).describe(\"Request model for listing stages with filtering options.\");\nconst SalesflareListStages_StagePipelineSchema = z.object({\n id: z.number().int().describe(\"Pipeline ID\").nullable().optional(),\n name: z.string().describe(\"Pipeline name\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the pipeline\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the pipeline is archived\").nullable().optional(),\n recurring: z.boolean().describe(\"Whether the pipeline is for recurring opportunities\").nullable().optional(),\n default_pipeline: z.boolean().describe(\"Whether this is the default pipeline\").nullable().optional(),\n}).passthrough().describe(\"Pipeline information for a stage.\");\nconst SalesflareListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique stage identifier\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n order: z.number().int().describe(\"Order of the stage within the pipeline\").nullable().optional(),\n pipeline: SalesflareListStages_StagePipelineSchema.nullable().optional(),\n probability: z.number().describe(\"Probability percentage for this stage (0-100)\").nullable().optional(),\n creation_date: z.string().describe(\"Stage creation date in ISO 8601 format\").nullable().optional(),\n modification_date: z.string().describe(\"Last modification date in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Stage object with all details.\");\nexport const SalesflareListStagesOutput = z.object({\n stages: z.array(SalesflareListStages_StageSchema).describe(\"Array of stage objects matching the filter criteria. May be empty if no stages match.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of stages.\");\n\nexport const salesflareListStages = action(\"SALESFLARE_LIST_STAGES\", {\n slug: \"salesflare-list-stages\",\n name: \"List Stages\",\n description: \"Tool to list pipeline stages in the Salesflare system with filtering and sorting options. Use when you need to retrieve available stages for organizing opportunities in pipel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AAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ const SalesflareListTags_TagSchema = zod.z.object({
|
|
|
19
19
|
creation_date: zod.z.string().describe("Tag creation date in ISO 8601 format").nullable().optional(),
|
|
20
20
|
modification_date: zod.z.string().describe("Last modification date in ISO 8601 format").nullable().optional(),
|
|
21
21
|
opportunity_count: zod.z.number().describe("Number of opportunities associated with this tag").nullable().optional()
|
|
22
|
-
}).describe("Tag object with all details.");
|
|
23
|
-
const SalesflareListTagsOutput = zod.z.object({ tags: zod.z.array(SalesflareListTags_TagSchema).describe("Array of tag objects matching the filter criteria. May be empty if no tags match.") }).describe("Response schema for listing tags. Returns an array of tag objects.");
|
|
22
|
+
}).passthrough().describe("Tag object with all details.");
|
|
23
|
+
const SalesflareListTagsOutput = zod.z.object({ tags: zod.z.array(SalesflareListTags_TagSchema).describe("Array of tag objects matching the filter criteria. May be empty if no tags match.") }).passthrough().describe("Response schema for listing tags. Returns an array of tag objects.");
|
|
24
24
|
const salesflareListTags = require_action.action("SALESFLARE_LIST_TAGS", {
|
|
25
25
|
slug: "salesflare-list-tags",
|
|
26
26
|
name: "List tags",
|