@keystrokehq/salesflare 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-account-contacts.cjs +2 -2
- package/dist/actions/add-account-contacts.cjs.map +1 -1
- package/dist/actions/add-account-contacts.d.cts +3 -2
- package/dist/actions/add-account-contacts.d.mts +3 -2
- package/dist/actions/add-account-contacts.mjs +2 -2
- package/dist/actions/add-account-contacts.mjs.map +1 -1
- package/dist/actions/create-account.cjs +10 -10
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +15 -11
- package/dist/actions/create-account.d.mts +15 -11
- package/dist/actions/create-account.mjs +10 -10
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/create-call.cjs +3 -3
- package/dist/actions/create-call.cjs.map +1 -1
- package/dist/actions/create-call.d.cts +4 -3
- package/dist/actions/create-call.d.mts +4 -3
- package/dist/actions/create-call.mjs +3 -3
- package/dist/actions/create-call.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +6 -6
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +11 -8
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +11 -8
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +6 -6
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +2 -2
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +3 -2
- package/dist/actions/create-custom-field.d.mts +3 -2
- package/dist/actions/create-custom-field.mjs +2 -2
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-internal-note.cjs +1 -1
- package/dist/actions/create-internal-note.cjs.map +1 -1
- package/dist/actions/create-internal-note.d.cts +1 -1
- package/dist/actions/create-internal-note.d.mts +1 -1
- package/dist/actions/create-internal-note.mjs +1 -1
- package/dist/actions/create-internal-note.mjs.map +1 -1
- package/dist/actions/create-meeting.cjs +1 -1
- package/dist/actions/create-meeting.cjs.map +1 -1
- package/dist/actions/create-meeting.d.cts +1 -1
- package/dist/actions/create-meeting.d.mts +1 -1
- package/dist/actions/create-meeting.mjs +1 -1
- package/dist/actions/create-meeting.mjs.map +1 -1
- package/dist/actions/create-opportunity.cjs +2 -2
- package/dist/actions/create-opportunity.cjs.map +1 -1
- package/dist/actions/create-opportunity.d.cts +3 -3
- package/dist/actions/create-opportunity.d.mts +3 -3
- package/dist/actions/create-opportunity.mjs +2 -2
- package/dist/actions/create-opportunity.mjs.map +1 -1
- package/dist/actions/create-tag.cjs +1 -1
- package/dist/actions/create-tag.cjs.map +1 -1
- package/dist/actions/create-tag.d.cts +1 -1
- package/dist/actions/create-tag.d.mts +1 -1
- package/dist/actions/create-tag.mjs +1 -1
- package/dist/actions/create-tag.mjs.map +1 -1
- package/dist/actions/create-task.cjs +1 -1
- package/dist/actions/create-task.cjs.map +1 -1
- package/dist/actions/create-task.d.cts +1 -1
- package/dist/actions/create-task.d.mts +1 -1
- package/dist/actions/create-task.mjs +1 -1
- package/dist/actions/create-task.mjs.map +1 -1
- package/dist/actions/create-workflow.cjs +4 -4
- package/dist/actions/create-workflow.cjs.map +1 -1
- package/dist/actions/create-workflow.d.cts +7 -4
- package/dist/actions/create-workflow.d.mts +7 -4
- package/dist/actions/create-workflow.mjs +4 -4
- package/dist/actions/create-workflow.mjs.map +1 -1
- package/dist/actions/delete-account.cjs +1 -1
- package/dist/actions/delete-account.cjs.map +1 -1
- package/dist/actions/delete-account.d.cts +1 -1
- package/dist/actions/delete-account.d.mts +1 -1
- package/dist/actions/delete-account.mjs +1 -1
- package/dist/actions/delete-account.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +1 -1
- package/dist/actions/delete-custom-field.d.mts +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-internal-note.cjs +1 -1
- package/dist/actions/delete-internal-note.cjs.map +1 -1
- package/dist/actions/delete-internal-note.d.cts +1 -1
- package/dist/actions/delete-internal-note.d.mts +1 -1
- package/dist/actions/delete-internal-note.mjs +1 -1
- package/dist/actions/delete-internal-note.mjs.map +1 -1
- package/dist/actions/delete-meeting.cjs +1 -1
- package/dist/actions/delete-meeting.cjs.map +1 -1
- package/dist/actions/delete-meeting.d.cts +1 -1
- package/dist/actions/delete-meeting.d.mts +1 -1
- package/dist/actions/delete-meeting.mjs +1 -1
- package/dist/actions/delete-meeting.mjs.map +1 -1
- package/dist/actions/delete-opportunity.cjs +1 -1
- package/dist/actions/delete-opportunity.cjs.map +1 -1
- package/dist/actions/delete-opportunity.d.cts +1 -1
- package/dist/actions/delete-opportunity.d.mts +1 -1
- package/dist/actions/delete-opportunity.mjs +1 -1
- package/dist/actions/delete-opportunity.mjs.map +1 -1
- package/dist/actions/delete-tag.cjs +1 -1
- package/dist/actions/delete-tag.cjs.map +1 -1
- package/dist/actions/delete-tag.d.cts +1 -1
- package/dist/actions/delete-tag.d.mts +1 -1
- package/dist/actions/delete-tag.mjs +1 -1
- package/dist/actions/delete-tag.mjs.map +1 -1
- package/dist/actions/delete-task.cjs +1 -1
- package/dist/actions/delete-task.cjs.map +1 -1
- package/dist/actions/delete-task.d.cts +1 -1
- package/dist/actions/delete-task.d.mts +1 -1
- package/dist/actions/delete-task.mjs +1 -1
- package/dist/actions/delete-task.mjs.map +1 -1
- package/dist/actions/get-account.cjs +9 -9
- package/dist/actions/get-account.cjs.map +1 -1
- package/dist/actions/get-account.d.cts +10 -10
- package/dist/actions/get-account.d.mts +10 -10
- package/dist/actions/get-account.mjs +9 -9
- package/dist/actions/get-account.mjs.map +1 -1
- package/dist/actions/get-ai-settings.cjs +3 -3
- package/dist/actions/get-ai-settings.cjs.map +1 -1
- package/dist/actions/get-ai-settings.d.cts +3 -3
- package/dist/actions/get-ai-settings.d.mts +3 -3
- package/dist/actions/get-ai-settings.mjs +3 -3
- package/dist/actions/get-ai-settings.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +11 -11
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +13 -13
- package/dist/actions/get-contact.d.mts +13 -13
- package/dist/actions/get-contact.mjs +11 -11
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +15 -15
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +16 -16
- package/dist/actions/get-current-user.d.mts +16 -16
- package/dist/actions/get-current-user.mjs +15 -15
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-custom-field.cjs +3 -3
- package/dist/actions/get-custom-field.cjs.map +1 -1
- package/dist/actions/get-custom-field.d.cts +3 -3
- package/dist/actions/get-custom-field.d.mts +3 -3
- package/dist/actions/get-custom-field.mjs +3 -3
- package/dist/actions/get-custom-field.mjs.map +1 -1
- package/dist/actions/get-meeting.cjs +1 -1
- package/dist/actions/get-meeting.cjs.map +1 -1
- package/dist/actions/get-meeting.d.cts +1 -1
- package/dist/actions/get-meeting.d.mts +1 -1
- package/dist/actions/get-meeting.mjs +1 -1
- package/dist/actions/get-meeting.mjs.map +1 -1
- package/dist/actions/get-opportunity.cjs +14 -14
- package/dist/actions/get-opportunity.cjs.map +1 -1
- package/dist/actions/get-opportunity.d.cts +14 -14
- package/dist/actions/get-opportunity.d.mts +14 -14
- package/dist/actions/get-opportunity.mjs +14 -14
- package/dist/actions/get-opportunity.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +2 -2
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +2 -2
- package/dist/actions/get-stage.d.mts +2 -2
- package/dist/actions/get-stage.mjs +2 -2
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-tag-usage.cjs +4 -4
- package/dist/actions/get-tag-usage.cjs.map +1 -1
- package/dist/actions/get-tag-usage.d.cts +4 -4
- package/dist/actions/get-tag-usage.d.mts +4 -4
- package/dist/actions/get-tag-usage.mjs +4 -4
- package/dist/actions/get-tag-usage.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +8 -8
- package/dist/actions/get-user.d.mts +8 -8
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.cjs +2 -2
- package/dist/actions/get-workflow-merge-fields.cjs.map +1 -1
- package/dist/actions/get-workflow-merge-fields.d.cts +3 -3
- package/dist/actions/get-workflow-merge-fields.d.mts +3 -3
- package/dist/actions/get-workflow-merge-fields.mjs +2 -2
- package/dist/actions/get-workflow-merge-fields.mjs.map +1 -1
- package/dist/actions/get-workflow.cjs +7 -7
- package/dist/actions/get-workflow.cjs.map +1 -1
- package/dist/actions/get-workflow.d.cts +12 -12
- package/dist/actions/get-workflow.d.mts +12 -12
- package/dist/actions/get-workflow.mjs +7 -7
- package/dist/actions/get-workflow.mjs.map +1 -1
- package/dist/actions/list-account-messages.cjs +3 -3
- package/dist/actions/list-account-messages.cjs.map +1 -1
- package/dist/actions/list-account-messages.d.cts +3 -3
- package/dist/actions/list-account-messages.d.mts +3 -3
- package/dist/actions/list-account-messages.mjs +3 -3
- package/dist/actions/list-account-messages.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +7 -7
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +7 -7
- package/dist/actions/list-accounts.d.mts +7 -7
- package/dist/actions/list-accounts.mjs +7 -7
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +11 -11
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +11 -11
- package/dist/actions/list-contacts.d.mts +11 -11
- package/dist/actions/list-contacts.mjs +11 -11
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-currencies.cjs +2 -2
- package/dist/actions/list-currencies.cjs.map +1 -1
- package/dist/actions/list-currencies.d.cts +2 -2
- package/dist/actions/list-currencies.d.mts +2 -2
- package/dist/actions/list-currencies.mjs +2 -2
- package/dist/actions/list-currencies.mjs.map +1 -1
- package/dist/actions/list-custom-field-options.cjs +1 -1
- package/dist/actions/list-custom-field-options.cjs.map +1 -1
- package/dist/actions/list-custom-field-options.d.cts +1 -1
- package/dist/actions/list-custom-field-options.d.mts +1 -1
- package/dist/actions/list-custom-field-options.mjs +1 -1
- package/dist/actions/list-custom-field-options.mjs.map +1 -1
- package/dist/actions/list-custom-field-types.cjs +2 -2
- package/dist/actions/list-custom-field-types.cjs.map +1 -1
- package/dist/actions/list-custom-field-types.d.cts +2 -2
- package/dist/actions/list-custom-field-types.d.mts +2 -2
- package/dist/actions/list-custom-field-types.mjs +2 -2
- package/dist/actions/list-custom-field-types.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +4 -4
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +4 -4
- package/dist/actions/list-custom-fields.d.mts +4 -4
- package/dist/actions/list-custom-fields.mjs +4 -4
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-email-datasources.cjs +3 -3
- package/dist/actions/list-email-datasources.cjs.map +1 -1
- package/dist/actions/list-email-datasources.d.cts +3 -3
- package/dist/actions/list-email-datasources.d.mts +3 -3
- package/dist/actions/list-email-datasources.mjs +3 -3
- package/dist/actions/list-email-datasources.mjs.map +1 -1
- package/dist/actions/list-filter-fields.cjs +5 -5
- package/dist/actions/list-filter-fields.cjs.map +1 -1
- package/dist/actions/list-filter-fields.d.cts +10 -10
- package/dist/actions/list-filter-fields.d.mts +10 -10
- package/dist/actions/list-filter-fields.mjs +5 -5
- package/dist/actions/list-filter-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +2 -2
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +2 -2
- package/dist/actions/list-groups.d.mts +2 -2
- package/dist/actions/list-groups.mjs +2 -2
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-my-contacts.cjs +11 -11
- package/dist/actions/list-my-contacts.cjs.map +1 -1
- package/dist/actions/list-my-contacts.d.cts +11 -11
- package/dist/actions/list-my-contacts.d.mts +11 -11
- package/dist/actions/list-my-contacts.mjs +11 -11
- package/dist/actions/list-my-contacts.mjs.map +1 -1
- package/dist/actions/list-opportunities.cjs +8 -8
- package/dist/actions/list-opportunities.cjs.map +1 -1
- package/dist/actions/list-opportunities.d.cts +9 -9
- package/dist/actions/list-opportunities.d.mts +9 -9
- package/dist/actions/list-opportunities.mjs +8 -8
- package/dist/actions/list-opportunities.mjs.map +1 -1
- package/dist/actions/list-persons.cjs +6 -6
- package/dist/actions/list-persons.cjs.map +1 -1
- package/dist/actions/list-persons.d.cts +6 -6
- package/dist/actions/list-persons.d.mts +6 -6
- package/dist/actions/list-persons.mjs +6 -6
- package/dist/actions/list-persons.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +5 -5
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +5 -5
- package/dist/actions/list-pipelines.d.mts +5 -5
- package/dist/actions/list-pipelines.mjs +5 -5
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +3 -3
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +3 -3
- package/dist/actions/list-stages.d.mts +3 -3
- package/dist/actions/list-stages.mjs +3 -3
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +2 -2
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +2 -2
- package/dist/actions/list-tags.d.mts +2 -2
- package/dist/actions/list-tags.mjs +2 -2
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-tasks.cjs +7 -7
- package/dist/actions/list-tasks.cjs.map +1 -1
- package/dist/actions/list-tasks.d.cts +7 -7
- package/dist/actions/list-tasks.d.mts +7 -7
- package/dist/actions/list-tasks.mjs +7 -7
- package/dist/actions/list-tasks.mjs.map +1 -1
- package/dist/actions/list-users.cjs +9 -9
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +9 -9
- package/dist/actions/list-users.d.mts +9 -9
- package/dist/actions/list-users.mjs +9 -9
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-workflows.cjs +11 -11
- package/dist/actions/list-workflows.cjs.map +1 -1
- package/dist/actions/list-workflows.d.cts +12 -12
- package/dist/actions/list-workflows.d.mts +12 -12
- package/dist/actions/list-workflows.mjs +11 -11
- package/dist/actions/list-workflows.mjs.map +1 -1
- package/dist/actions/update-account-contacts.cjs +2 -2
- package/dist/actions/update-account-contacts.cjs.map +1 -1
- package/dist/actions/update-account-contacts.d.cts +3 -2
- package/dist/actions/update-account-contacts.d.mts +3 -2
- package/dist/actions/update-account-contacts.mjs +2 -2
- package/dist/actions/update-account-contacts.mjs.map +1 -1
- package/dist/actions/update-account-users.cjs +2 -2
- package/dist/actions/update-account-users.cjs.map +1 -1
- package/dist/actions/update-account-users.d.cts +3 -2
- package/dist/actions/update-account-users.d.mts +3 -2
- package/dist/actions/update-account-users.mjs +2 -2
- package/dist/actions/update-account-users.mjs.map +1 -1
- package/dist/actions/update-account.cjs +12 -12
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +17 -14
- package/dist/actions/update-account.d.mts +17 -14
- package/dist/actions/update-account.mjs +12 -12
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-ai-settings.cjs +1 -1
- package/dist/actions/update-ai-settings.cjs.map +1 -1
- package/dist/actions/update-ai-settings.d.cts +1 -1
- package/dist/actions/update-ai-settings.d.mts +1 -1
- package/dist/actions/update-ai-settings.mjs +1 -1
- package/dist/actions/update-ai-settings.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +4 -4
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +7 -4
- package/dist/actions/update-contact.d.mts +7 -4
- package/dist/actions/update-contact.mjs +4 -4
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +3 -3
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +4 -3
- package/dist/actions/update-custom-field.d.mts +4 -3
- package/dist/actions/update-custom-field.mjs +3 -3
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-email-datasource.cjs +1 -1
- package/dist/actions/update-email-datasource.cjs.map +1 -1
- package/dist/actions/update-email-datasource.d.cts +1 -1
- package/dist/actions/update-email-datasource.d.mts +1 -1
- package/dist/actions/update-email-datasource.mjs +1 -1
- package/dist/actions/update-email-datasource.mjs.map +1 -1
- package/dist/actions/update-internal-note.cjs +1 -1
- package/dist/actions/update-internal-note.cjs.map +1 -1
- package/dist/actions/update-internal-note.d.cts +1 -1
- package/dist/actions/update-internal-note.d.mts +1 -1
- package/dist/actions/update-internal-note.mjs +1 -1
- package/dist/actions/update-internal-note.mjs.map +1 -1
- package/dist/actions/update-opportunity.cjs +3 -3
- package/dist/actions/update-opportunity.cjs.map +1 -1
- package/dist/actions/update-opportunity.d.cts +5 -5
- package/dist/actions/update-opportunity.d.mts +5 -5
- package/dist/actions/update-opportunity.mjs +3 -3
- package/dist/actions/update-opportunity.mjs.map +1 -1
- package/dist/actions/update-tag.cjs +1 -1
- package/dist/actions/update-tag.cjs.map +1 -1
- package/dist/actions/update-tag.d.cts +1 -1
- package/dist/actions/update-tag.d.mts +1 -1
- package/dist/actions/update-tag.mjs +1 -1
- package/dist/actions/update-tag.mjs.map +1 -1
- package/dist/actions/update-task.cjs +1 -1
- package/dist/actions/update-task.cjs.map +1 -1
- package/dist/actions/update-task.d.cts +1 -1
- package/dist/actions/update-task.d.mts +1 -1
- package/dist/actions/update-task.mjs +1 -1
- package/dist/actions/update-task.mjs.map +1 -1
- package/dist/actions/update-workflow-audience.cjs +1 -1
- package/dist/actions/update-workflow-audience.cjs.map +1 -1
- package/dist/actions/update-workflow-audience.d.cts +1 -1
- package/dist/actions/update-workflow-audience.d.mts +1 -1
- package/dist/actions/update-workflow-audience.mjs +1 -1
- package/dist/actions/update-workflow-audience.mjs.map +1 -1
- package/dist/actions/update-workflow.cjs +7 -7
- package/dist/actions/update-workflow.cjs.map +1 -1
- package/dist/actions/update-workflow.d.cts +13 -12
- package/dist/actions/update-workflow.d.mts +13 -12
- package/dist/actions/update-workflow.mjs +7 -7
- package/dist/actions/update-workflow.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -37,12 +37,12 @@ declare const SalesflareUpdateContactInput: z.ZodObject<{
|
|
|
37
37
|
street: z.ZodOptional<z.ZodString>;
|
|
38
38
|
country: z.ZodOptional<z.ZodString>;
|
|
39
39
|
state_region: z.ZodOptional<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
firstname: z.ZodOptional<z.ZodString>;
|
|
42
42
|
positions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
43
|
role: z.ZodOptional<z.ZodString>;
|
|
44
44
|
organisation: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
47
47
|
contact_id: z.ZodNumber;
|
|
48
48
|
fax_number: z.ZodOptional<z.ZodString>;
|
|
@@ -52,7 +52,7 @@ declare const SalesflareUpdateContactInput: z.ZodObject<{
|
|
|
52
52
|
phone_numbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
53
|
type: z.ZodOptional<z.ZodString>;
|
|
54
54
|
number: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
56
|
social_profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
57
|
"opt-out_campaign": z.ZodOptional<z.ZodString>;
|
|
58
58
|
home_phone_number: z.ZodOptional<z.ZodString>;
|
|
@@ -74,7 +74,7 @@ declare const SalesflareUpdateContactOutput: z.ZodObject<{
|
|
|
74
74
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
76
|
mobile_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
contact_id: number;
|
|
80
80
|
name?: string | undefined;
|
|
@@ -106,6 +106,7 @@ declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
106
106
|
organisation?: string | undefined;
|
|
107
107
|
} | undefined;
|
|
108
108
|
addresses?: {
|
|
109
|
+
[x: string]: unknown;
|
|
109
110
|
zip?: string | undefined;
|
|
110
111
|
city?: string | undefined;
|
|
111
112
|
type?: string | undefined;
|
|
@@ -115,6 +116,7 @@ declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
115
116
|
}[] | undefined;
|
|
116
117
|
firstname?: string | undefined;
|
|
117
118
|
positions?: {
|
|
119
|
+
[x: string]: unknown;
|
|
118
120
|
role?: string | undefined;
|
|
119
121
|
organisation?: string | undefined;
|
|
120
122
|
}[] | undefined;
|
|
@@ -124,6 +126,7 @@ declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
124
126
|
"opt-out_date"?: string | undefined;
|
|
125
127
|
phone_number?: string | undefined;
|
|
126
128
|
phone_numbers?: {
|
|
129
|
+
[x: string]: unknown;
|
|
127
130
|
type?: string | undefined;
|
|
128
131
|
number?: string | undefined;
|
|
129
132
|
}[] | undefined;
|
|
@@ -37,12 +37,12 @@ declare const SalesflareUpdateContactInput: z.ZodObject<{
|
|
|
37
37
|
street: z.ZodOptional<z.ZodString>;
|
|
38
38
|
country: z.ZodOptional<z.ZodString>;
|
|
39
39
|
state_region: z.ZodOptional<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
firstname: z.ZodOptional<z.ZodString>;
|
|
42
42
|
positions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
43
|
role: z.ZodOptional<z.ZodString>;
|
|
44
44
|
organisation: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
47
47
|
contact_id: z.ZodNumber;
|
|
48
48
|
fax_number: z.ZodOptional<z.ZodString>;
|
|
@@ -52,7 +52,7 @@ declare const SalesflareUpdateContactInput: z.ZodObject<{
|
|
|
52
52
|
phone_numbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
53
|
type: z.ZodOptional<z.ZodString>;
|
|
54
54
|
number: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
56
|
social_profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
57
|
"opt-out_campaign": z.ZodOptional<z.ZodString>;
|
|
58
58
|
home_phone_number: z.ZodOptional<z.ZodString>;
|
|
@@ -74,7 +74,7 @@ declare const SalesflareUpdateContactOutput: z.ZodObject<{
|
|
|
74
74
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
creation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
76
|
mobile_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>;
|
|
78
78
|
declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
79
79
|
contact_id: number;
|
|
80
80
|
name?: string | undefined;
|
|
@@ -106,6 +106,7 @@ declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
106
106
|
organisation?: string | undefined;
|
|
107
107
|
} | undefined;
|
|
108
108
|
addresses?: {
|
|
109
|
+
[x: string]: unknown;
|
|
109
110
|
zip?: string | undefined;
|
|
110
111
|
city?: string | undefined;
|
|
111
112
|
type?: string | undefined;
|
|
@@ -115,6 +116,7 @@ declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
115
116
|
}[] | undefined;
|
|
116
117
|
firstname?: string | undefined;
|
|
117
118
|
positions?: {
|
|
119
|
+
[x: string]: unknown;
|
|
118
120
|
role?: string | undefined;
|
|
119
121
|
organisation?: string | undefined;
|
|
120
122
|
}[] | undefined;
|
|
@@ -124,6 +126,7 @@ declare const salesflareUpdateContact: import("@keystrokehq/action").WorkflowAct
|
|
|
124
126
|
"opt-out_date"?: string | undefined;
|
|
125
127
|
phone_number?: string | undefined;
|
|
126
128
|
phone_numbers?: {
|
|
129
|
+
[x: string]: unknown;
|
|
127
130
|
type?: string | undefined;
|
|
128
131
|
number?: string | undefined;
|
|
129
132
|
}[] | undefined;
|
|
@@ -40,12 +40,12 @@ const salesflareUpdateContact = action("SALESFLARE_UPDATE_CONTACT", {
|
|
|
40
40
|
street: z.string().describe("Street address").optional(),
|
|
41
41
|
country: z.string().describe("Country name").optional(),
|
|
42
42
|
state_region: z.string().describe("State or region").optional()
|
|
43
|
-
}).describe("Address information for a contact")).describe("List of all addresses for the contact.").optional(),
|
|
43
|
+
}).passthrough().describe("Address information for a contact")).describe("List of all addresses for the contact.").optional(),
|
|
44
44
|
firstname: z.string().describe("First name of the contact.").optional(),
|
|
45
45
|
positions: z.array(z.object({
|
|
46
46
|
role: z.string().describe("Role or job title at the organization").optional(),
|
|
47
47
|
organisation: z.string().describe("Organization name").optional()
|
|
48
|
-
}).describe("Position information for a contact")).describe("List of all positions for the contact.").optional(),
|
|
48
|
+
}).passthrough().describe("Position information for a contact")).describe("List of all positions for the contact.").optional(),
|
|
49
49
|
birth_date: z.string().describe("Birth date of the contact in ISO 8601 format (e.g., '1990-01-15T00:00:00Z').").optional(),
|
|
50
50
|
contact_id: z.number().int().describe("The unique identifier of the contact to update (used in the URL path)."),
|
|
51
51
|
fax_number: z.string().describe("Fax number of the contact.").optional(),
|
|
@@ -55,7 +55,7 @@ const salesflareUpdateContact = action("SALESFLARE_UPDATE_CONTACT", {
|
|
|
55
55
|
phone_numbers: z.array(z.object({
|
|
56
56
|
type: z.string().describe("Type of phone number (e.g., 'work', 'mobile', 'home')").optional(),
|
|
57
57
|
number: z.string().describe("Phone number").optional()
|
|
58
|
-
}).describe("Phone number information for a contact")).describe("List of all phone numbers for the contact.").optional(),
|
|
58
|
+
}).passthrough().describe("Phone number information for a contact")).describe("List of all phone numbers for the contact.").optional(),
|
|
59
59
|
social_profiles: z.array(z.string()).describe("List of social media profile URLs.").optional(),
|
|
60
60
|
"opt-out_campaign": z.string().describe("Campaign from which the contact opted out.").optional(),
|
|
61
61
|
home_phone_number: z.string().describe("Home phone number of the contact.").optional(),
|
|
@@ -77,7 +77,7 @@ const salesflareUpdateContact = action("SALESFLARE_UPDATE_CONTACT", {
|
|
|
77
77
|
phone_number: z.string().describe("Primary phone number of the contact.").nullable().optional(),
|
|
78
78
|
creation_date: z.string().describe("Date when the contact was created in ISO 8601 format.").nullable().optional(),
|
|
79
79
|
mobile_phone_number: z.string().describe("Mobile phone number of the contact.").nullable().optional()
|
|
80
|
-
}).describe("Response model for updating a Salesflare contact")
|
|
80
|
+
}).passthrough().describe("Response model for updating a Salesflare contact")
|
|
81
81
|
});
|
|
82
82
|
//#endregion
|
|
83
83
|
export { salesflareUpdateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact.\").optional(),\n role: z.string().describe(\"Job role or title of the contact.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to apply to the contact.\").optional(),\n email: z.string().describe(\"Primary email address of the contact.\").optional(),\n force: z.boolean().default(true).describe(\"When false, the contact's name will not be updated if the name in the update is just the first part of the email address. Default is true.\").optional(),\n owner: z.number().int().describe(\"User ID of the contact owner.\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs.\").optional(),\n middle: z.string().describe(\"Middle name of the contact.\").optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.', 'Ms.', 'Dr.').\").optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.', 'Sr.', 'III').\").optional(),\n account: z.number().int().describe(\"Account ID to associate with the contact. Pass null to remove the existing account association.\").optional(),\n address: z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n type: z.string().describe(\"Type of address (e.g., 'work', 'home')\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).describe(\"Address information for a contact\").optional(),\n bounced: z.boolean().describe(\"Whether email to this contact has bounced.\").optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications.\").optional(),\n picture: z.string().describe(\"URL to the contact's picture.\").optional(),\n archived: z.boolean().describe(\"Whether the contact is archived.\").optional(),\n lastname: z.string().describe(\"Last name of the contact.\").optional(),\n position: z.object({\n role: z.string().describe(\"Role or job title at the organization\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).describe(\"Position information for a contact\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n type: z.string().describe(\"Type of address (e.g., 'work', 'home')\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).describe(\"Address information for a contact\")).describe(\"List of all addresses for the contact.\").optional(),\n firstname: z.string().describe(\"First name of the contact.\").optional(),\n positions: z.array(z.object({\n role: z.string().describe(\"Role or job title at the organization\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).describe(\"Position information for a contact\")).describe(\"List of all positions for the contact.\").optional(),\n birth_date: z.string().describe(\"Birth date of the contact in ISO 8601 format (e.g., '1990-01-15T00:00:00Z').\").optional(),\n contact_id: z.number().int().describe(\"The unique identifier of the contact to update (used in the URL path).\"),\n fax_number: z.string().describe(\"Fax number of the contact.\").optional(),\n bounced_date: z.string().describe(\"Date when email bounced in ISO 8601 format.\").optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out in ISO 8601 format.\").optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact.\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., 'work', 'mobile', 'home')\").optional(),\n number: z.string().describe(\"Phone number\").optional(),\n}).describe(\"Phone number information for a contact\")).describe(\"List of all phone numbers for the contact.\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs.\").optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out.\").optional(),\n home_phone_number: z.string().describe(\"Home phone number of the contact.\").optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n}).describe(\"Request model for updating a Salesflare contact\");\nexport const SalesflareUpdateContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the updated contact.\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags applied to the contact.\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact.\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the contact owner.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs.\").nullable().optional(),\n account: z.number().int().describe(\"Associated account ID.\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived.\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact.\").nullable().optional(),\n update_date: z.string().describe(\"Date when the contact was last updated in ISO 8601 format.\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact.\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created in ISO 8601 format.\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number of the contact.\").nullable().optional(),\n}).describe(\"Response model for updating a Salesflare contact\");\n\nexport const salesflareUpdateContact = action(\"SALESFLARE_UPDATE_CONTACT\", {\n slug: \"salesflare-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Salesflare. Use when you need to modify contact details such as name, email, phone, tags, or custom fields.\",\n input: SalesflareUpdateContactInput,\n output: SalesflareUpdateContactOutput,\n});\n"],"mappings":";;AA+EA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/E0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,M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,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact.\").optional(),\n role: z.string().describe(\"Job role or title of the contact.\").optional(),\n tags: z.array(z.string()).describe(\"List of tags to apply to the contact.\").optional(),\n email: z.string().describe(\"Primary email address of the contact.\").optional(),\n force: z.boolean().default(true).describe(\"When false, the contact's name will not be updated if the name in the update is just the first part of the email address. Default is true.\").optional(),\n owner: z.number().int().describe(\"User ID of the contact owner.\").optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs.\").optional(),\n middle: z.string().describe(\"Middle name of the contact.\").optional(),\n prefix: z.string().describe(\"Name prefix (e.g., 'Mr.', 'Ms.', 'Dr.').\").optional(),\n suffix: z.string().describe(\"Name suffix (e.g., 'Jr.', 'Sr.', 'III').\").optional(),\n account: z.number().int().describe(\"Account ID to associate with the contact. Pass null to remove the existing account association.\").optional(),\n address: z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n type: z.string().describe(\"Type of address (e.g., 'work', 'home')\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).describe(\"Address information for a contact\").optional(),\n bounced: z.boolean().describe(\"Whether email to this contact has bounced.\").optional(),\n \"opt-out\": z.boolean().describe(\"Whether the contact has opted out of communications.\").optional(),\n picture: z.string().describe(\"URL to the contact's picture.\").optional(),\n archived: z.boolean().describe(\"Whether the contact is archived.\").optional(),\n lastname: z.string().describe(\"Last name of the contact.\").optional(),\n position: z.object({\n role: z.string().describe(\"Role or job title at the organization\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).describe(\"Position information for a contact\").optional(),\n addresses: z.array(z.object({\n zip: z.string().describe(\"ZIP or postal code\").optional(),\n city: z.string().describe(\"City name\").optional(),\n type: z.string().describe(\"Type of address (e.g., 'work', 'home')\").optional(),\n street: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n state_region: z.string().describe(\"State or region\").optional(),\n}).passthrough().describe(\"Address information for a contact\")).describe(\"List of all addresses for the contact.\").optional(),\n firstname: z.string().describe(\"First name of the contact.\").optional(),\n positions: z.array(z.object({\n role: z.string().describe(\"Role or job title at the organization\").optional(),\n organisation: z.string().describe(\"Organization name\").optional(),\n}).passthrough().describe(\"Position information for a contact\")).describe(\"List of all positions for the contact.\").optional(),\n birth_date: z.string().describe(\"Birth date of the contact in ISO 8601 format (e.g., '1990-01-15T00:00:00Z').\").optional(),\n contact_id: z.number().int().describe(\"The unique identifier of the contact to update (used in the URL path).\"),\n fax_number: z.string().describe(\"Fax number of the contact.\").optional(),\n bounced_date: z.string().describe(\"Date when email bounced in ISO 8601 format.\").optional(),\n \"opt-out_date\": z.string().describe(\"Date when the contact opted out in ISO 8601 format.\").optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact.\").optional(),\n phone_numbers: z.array(z.object({\n type: z.string().describe(\"Type of phone number (e.g., 'work', 'mobile', 'home')\").optional(),\n number: z.string().describe(\"Phone number\").optional(),\n}).passthrough().describe(\"Phone number information for a contact\")).describe(\"List of all phone numbers for the contact.\").optional(),\n social_profiles: z.array(z.string()).describe(\"List of social media profile URLs.\").optional(),\n \"opt-out_campaign\": z.string().describe(\"Campaign from which the contact opted out.\").optional(),\n home_phone_number: z.string().describe(\"Home phone number of the contact.\").optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n}).describe(\"Request model for updating a Salesflare contact\");\nexport const SalesflareUpdateContactOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the updated contact.\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags applied to the contact.\").nullable().optional(),\n email: z.string().describe(\"Primary email address of the contact.\").nullable().optional(),\n owner: z.number().int().describe(\"User ID of the contact owner.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields as key-value pairs.\").nullable().optional(),\n account: z.number().int().describe(\"Associated account ID.\").nullable().optional(),\n picture: z.string().describe(\"URL to the contact's picture.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the contact is archived.\").nullable().optional(),\n lastname: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n firstname: z.string().describe(\"First name of the contact.\").nullable().optional(),\n update_date: z.string().describe(\"Date when the contact was last updated in ISO 8601 format.\").nullable().optional(),\n phone_number: z.string().describe(\"Primary phone number of the contact.\").nullable().optional(),\n creation_date: z.string().describe(\"Date when the contact was created in ISO 8601 format.\").nullable().optional(),\n mobile_phone_number: z.string().describe(\"Mobile phone number of the contact.\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating a Salesflare contact\");\n\nexport const salesflareUpdateContact = action(\"SALESFLARE_UPDATE_CONTACT\", {\n slug: \"salesflare-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Salesflare. Use when you need to modify contact details such as name, email, phone, tags, or custom fields.\",\n input: SalesflareUpdateContactInput,\n output: SalesflareUpdateContactOutput,\n});\n"],"mappings":";;AA+EA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/E0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS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AC,SAAS,CAAC,CAAC,SAAS;EACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const SalesflareUpdateCustomFieldInput = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Name of the option."),
|
|
12
12
|
order: zod.z.number().int().describe("Display order of the option.").optional(),
|
|
13
13
|
archived: zod.z.boolean().describe("Whether the option is archived.").optional()
|
|
14
|
-
}).describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
14
|
+
}).passthrough().describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
15
15
|
archived: zod.z.boolean().describe("Whether the custom field is archived.").optional(),
|
|
16
16
|
max_date: zod.z.string().describe("Maximum date for date type fields in ISO 8601 format.").optional(),
|
|
17
17
|
min_date: zod.z.string().describe("Minimum date for date type fields in ISO 8601 format.").optional(),
|
|
@@ -34,7 +34,7 @@ const SalesflareUpdateCustomField_CustomFieldOptionSchema = zod.z.object({
|
|
|
34
34
|
name: zod.z.string().describe("Name of the option.").nullable(),
|
|
35
35
|
order: zod.z.number().int().describe("Display order of the option.").nullable().optional(),
|
|
36
36
|
archived: zod.z.boolean().describe("Whether the option is archived.").nullable().optional()
|
|
37
|
-
}).describe("Option for select/multi-select type custom fields.");
|
|
37
|
+
}).passthrough().describe("Option for select/multi-select type custom fields.");
|
|
38
38
|
const SalesflareUpdateCustomFieldOutput = zod.z.object({
|
|
39
39
|
id: zod.z.number().int().describe("Unique identifier of the updated custom field.").nullable().optional(),
|
|
40
40
|
name: zod.z.string().describe("Name of the custom field.").nullable().optional(),
|
|
@@ -53,7 +53,7 @@ const SalesflareUpdateCustomFieldOutput = zod.z.object({
|
|
|
53
53
|
order_alphabetically: zod.z.boolean().describe("Whether options are ordered alphabetically.").nullable().optional(),
|
|
54
54
|
users_can_add_options: zod.z.boolean().describe("Whether users can add new options.").nullable().optional(),
|
|
55
55
|
predefined_customfield: zod.z.number().int().describe("ID of a predefined custom field template.").nullable().optional()
|
|
56
|
-
}).describe("Response from updating a custom field in Salesflare.");
|
|
56
|
+
}).passthrough().describe("Response from updating a custom field in Salesflare.");
|
|
57
57
|
const salesflareUpdateCustomField = require_action.action("SALESFLARE_UPDATE_CUSTOM_FIELD", {
|
|
58
58
|
slug: "salesflare-update-custom-field",
|
|
59
59
|
name: "Update Custom Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to update.\"),\n name: z.string().describe(\"Updated name of the custom field.\").optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is being updated. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").optional(),\n}).describe(\"Request schema for updating a custom field in Salesflare.\");\nconst SalesflareUpdateCustomField_CustomFieldOptionSchema = z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").nullable().optional(),\n name: z.string().describe(\"Name of the option.\").nullable(),\n order: z.number().int().describe(\"Display order of the option.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").nullable().optional(),\n}).describe(\"Option for select/multi-select type custom fields.\");\nexport const SalesflareUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the updated custom field.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom field.\").nullable().optional(),\n type: z.number().int().describe(\"Type of the custom field.\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").nullable().optional(),\n options: z.array(SalesflareUpdateCustomField_CustomFieldOptionSchema).describe(\"List of options for select/multi-select type fields.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date for date type fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date for date type fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID associated with the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n max_number: z.number().describe(\"Maximum value for number type fields.\").nullable().optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").nullable().optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options are ordered alphabetically.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options.\").nullable().optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").nullable().optional(),\n}).describe(\"Response from updating a custom field in Salesflare.\");\n\nexport const salesflareUpdateCustomField = action(\"SALESFLARE_UPDATE_CUSTOM_FIELD\", {\n slug: \"salesflare-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Updates an existing custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to modify the properties or settings of a custom field.\",\n input: SalesflareUpdateCustomFieldInput,\n output: SalesflareUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to update.\"),\n name: z.string().describe(\"Updated name of the custom field.\").optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).passthrough().describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is being updated. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").optional(),\n}).describe(\"Request schema for updating a custom field in Salesflare.\");\nconst SalesflareUpdateCustomField_CustomFieldOptionSchema = z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").nullable().optional(),\n name: z.string().describe(\"Name of the option.\").nullable(),\n order: z.number().int().describe(\"Display order of the option.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").nullable().optional(),\n}).passthrough().describe(\"Option for select/multi-select type custom fields.\");\nexport const SalesflareUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the updated custom field.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom field.\").nullable().optional(),\n type: z.number().int().describe(\"Type of the custom field.\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").nullable().optional(),\n options: z.array(SalesflareUpdateCustomField_CustomFieldOptionSchema).describe(\"List of options for select/multi-select type fields.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date for date type fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date for date type fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID associated with the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n max_number: z.number().describe(\"Maximum value for number type fields.\").nullable().optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").nullable().optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options are ordered alphabetically.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options.\").nullable().optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a custom field in Salesflare.\");\n\nexport const salesflareUpdateCustomField = action(\"SALESFLARE_UPDATE_CUSTOM_FIELD\", {\n slug: \"salesflare-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Updates an existing custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to modify the properties or settings of a custom field.\",\n input: SalesflareUpdateCustomFieldInput,\n output: SalesflareUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzJ,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,u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C,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SalesflareUpdateCustomFieldInput: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
order: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
max_date: z.ZodOptional<z.ZodString>;
|
|
17
17
|
min_date: z.ZodOptional<z.ZodString>;
|
|
@@ -40,7 +40,7 @@ declare const SalesflareUpdateCustomFieldOutput: z.ZodObject<{
|
|
|
40
40
|
name: z.ZodNullable<z.ZodString>;
|
|
41
41
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>>;
|
|
44
44
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
45
45
|
max_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
min_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52,7 +52,7 @@ declare const SalesflareUpdateCustomFieldOutput: z.ZodObject<{
|
|
|
52
52
|
order_alphabetically: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
53
53
|
users_can_add_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
54
|
predefined_customfield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const salesflareUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
id: number;
|
|
58
58
|
item_class: "contacts" | "accounts" | "opportunities";
|
|
@@ -60,6 +60,7 @@ declare const salesflareUpdateCustomField: import("@keystrokehq/action").Workflo
|
|
|
60
60
|
order?: number | undefined;
|
|
61
61
|
enabled?: boolean | undefined;
|
|
62
62
|
options?: {
|
|
63
|
+
[x: string]: unknown;
|
|
63
64
|
name: string;
|
|
64
65
|
id?: number | undefined;
|
|
65
66
|
order?: number | undefined;
|
|
@@ -11,7 +11,7 @@ declare const SalesflareUpdateCustomFieldInput: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
order: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
max_date: z.ZodOptional<z.ZodString>;
|
|
17
17
|
min_date: z.ZodOptional<z.ZodString>;
|
|
@@ -40,7 +40,7 @@ declare const SalesflareUpdateCustomFieldOutput: z.ZodObject<{
|
|
|
40
40
|
name: z.ZodNullable<z.ZodString>;
|
|
41
41
|
order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>>;
|
|
44
44
|
archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
45
45
|
max_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
min_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52,7 +52,7 @@ declare const SalesflareUpdateCustomFieldOutput: z.ZodObject<{
|
|
|
52
52
|
order_alphabetically: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
53
53
|
users_can_add_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
54
|
predefined_customfield: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const salesflareUpdateCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
id: number;
|
|
58
58
|
item_class: "contacts" | "accounts" | "opportunities";
|
|
@@ -60,6 +60,7 @@ declare const salesflareUpdateCustomField: import("@keystrokehq/action").Workflo
|
|
|
60
60
|
order?: number | undefined;
|
|
61
61
|
enabled?: boolean | undefined;
|
|
62
62
|
options?: {
|
|
63
|
+
[x: string]: unknown;
|
|
63
64
|
name: string;
|
|
64
65
|
id?: number | undefined;
|
|
65
66
|
order?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const SalesflareUpdateCustomFieldInput = z.object({
|
|
|
11
11
|
name: z.string().describe("Name of the option."),
|
|
12
12
|
order: z.number().int().describe("Display order of the option.").optional(),
|
|
13
13
|
archived: z.boolean().describe("Whether the option is archived.").optional()
|
|
14
|
-
}).describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
14
|
+
}).passthrough().describe("Option for select/multi-select type custom fields.")).describe("List of options for select/multi-select type fields.").optional(),
|
|
15
15
|
archived: z.boolean().describe("Whether the custom field is archived.").optional(),
|
|
16
16
|
max_date: z.string().describe("Maximum date for date type fields in ISO 8601 format.").optional(),
|
|
17
17
|
min_date: z.string().describe("Minimum date for date type fields in ISO 8601 format.").optional(),
|
|
@@ -34,7 +34,7 @@ const SalesflareUpdateCustomField_CustomFieldOptionSchema = z.object({
|
|
|
34
34
|
name: z.string().describe("Name of the option.").nullable(),
|
|
35
35
|
order: z.number().int().describe("Display order of the option.").nullable().optional(),
|
|
36
36
|
archived: z.boolean().describe("Whether the option is archived.").nullable().optional()
|
|
37
|
-
}).describe("Option for select/multi-select type custom fields.");
|
|
37
|
+
}).passthrough().describe("Option for select/multi-select type custom fields.");
|
|
38
38
|
const salesflareUpdateCustomField = action("SALESFLARE_UPDATE_CUSTOM_FIELD", {
|
|
39
39
|
slug: "salesflare-update-custom-field",
|
|
40
40
|
name: "Update Custom Field",
|
|
@@ -58,7 +58,7 @@ const salesflareUpdateCustomField = action("SALESFLARE_UPDATE_CUSTOM_FIELD", {
|
|
|
58
58
|
order_alphabetically: z.boolean().describe("Whether options are ordered alphabetically.").nullable().optional(),
|
|
59
59
|
users_can_add_options: z.boolean().describe("Whether users can add new options.").nullable().optional(),
|
|
60
60
|
predefined_customfield: z.number().int().describe("ID of a predefined custom field template.").nullable().optional()
|
|
61
|
-
}).describe("Response from updating a custom field in Salesflare.")
|
|
61
|
+
}).passthrough().describe("Response from updating a custom field in Salesflare.")
|
|
62
62
|
});
|
|
63
63
|
//#endregion
|
|
64
64
|
export { salesflareUpdateCustomField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to update.\"),\n name: z.string().describe(\"Updated name of the custom field.\").optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is being updated. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").optional(),\n}).describe(\"Request schema for updating a custom field in Salesflare.\");\nconst SalesflareUpdateCustomField_CustomFieldOptionSchema = z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").nullable().optional(),\n name: z.string().describe(\"Name of the option.\").nullable(),\n order: z.number().int().describe(\"Display order of the option.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").nullable().optional(),\n}).describe(\"Option for select/multi-select type custom fields.\");\nexport const SalesflareUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the updated custom field.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom field.\").nullable().optional(),\n type: z.number().int().describe(\"Type of the custom field.\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").nullable().optional(),\n options: z.array(SalesflareUpdateCustomField_CustomFieldOptionSchema).describe(\"List of options for select/multi-select type fields.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date for date type fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date for date type fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID associated with the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n max_number: z.number().describe(\"Maximum value for number type fields.\").nullable().optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").nullable().optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options are ordered alphabetically.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options.\").nullable().optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").nullable().optional(),\n}).describe(\"Response from updating a custom field in Salesflare.\");\n\nexport const salesflareUpdateCustomField = action(\"SALESFLARE_UPDATE_CUSTOM_FIELD\", {\n slug: \"salesflare-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Updates an existing custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to modify the properties or settings of a custom field.\",\n input: SalesflareUpdateCustomFieldInput,\n output: SalesflareUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateCustomFieldInput = z.object({\n id: z.number().int().describe(\"ID of the custom field to update.\"),\n name: z.string().describe(\"Updated name of the custom field.\").optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").optional(),\n options: z.array(z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").optional(),\n name: z.string().describe(\"Name of the option.\"),\n order: z.number().int().describe(\"Display order of the option.\").optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").optional(),\n}).passthrough().describe(\"Option for select/multi-select type custom fields.\")).describe(\"List of options for select/multi-select type fields.\").optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").optional(),\n max_date: z.string().describe(\"Maximum date for date type fields in ISO 8601 format.\").optional(),\n min_date: z.string().describe(\"Minimum date for date type fields in ISO 8601 format.\").optional(),\n pipeline: z.number().int().describe(\"Pipeline ID to associate with the custom field (for opportunities).\").optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").optional(),\n item_class: z.enum([\"accounts\", \"contacts\", \"opportunities\"]).describe(\"The entity type for which the custom field is being updated. Must be one of: accounts, contacts, or opportunities.\"),\n max_number: z.number().describe(\"Maximum value for number type fields.\").optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").optional(),\n order_alphabetically: z.boolean().describe(\"Whether options should be ordered alphabetically.\").optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options to select/multi-select fields.\").optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").optional(),\n}).describe(\"Request schema for updating a custom field in Salesflare.\");\nconst SalesflareUpdateCustomField_CustomFieldOptionSchema = z.object({\n id: z.number().int().describe(\"ID of the option (for updates).\").nullable().optional(),\n name: z.string().describe(\"Name of the option.\").nullable(),\n order: z.number().int().describe(\"Display order of the option.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the option is archived.\").nullable().optional(),\n}).passthrough().describe(\"Option for select/multi-select type custom fields.\");\nexport const SalesflareUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the updated custom field.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom field.\").nullable().optional(),\n type: z.number().int().describe(\"Type of the custom field.\").nullable().optional(),\n order: z.number().int().describe(\"Display order of the custom field.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the custom field is enabled.\").nullable().optional(),\n options: z.array(SalesflareUpdateCustomField_CustomFieldOptionSchema).describe(\"List of options for select/multi-select type fields.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the custom field is archived.\").nullable().optional(),\n max_date: z.string().describe(\"Maximum date for date type fields.\").nullable().optional(),\n min_date: z.string().describe(\"Minimum date for date type fields.\").nullable().optional(),\n pipeline: z.number().int().describe(\"Pipeline ID associated with the custom field.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the custom field is required.\").nullable().optional(),\n max_number: z.number().describe(\"Maximum value for number type fields.\").nullable().optional(),\n min_number: z.number().describe(\"Minimum value for number type fields.\").nullable().optional(),\n pipelineName: z.string().describe(\"Name of the pipeline associated with the custom field.\").nullable().optional(),\n order_alphabetically: z.boolean().describe(\"Whether options are ordered alphabetically.\").nullable().optional(),\n users_can_add_options: z.boolean().describe(\"Whether users can add new options.\").nullable().optional(),\n predefined_customfield: z.number().int().describe(\"ID of a predefined custom field template.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a custom field in Salesflare.\");\n\nexport const salesflareUpdateCustomField = action(\"SALESFLARE_UPDATE_CUSTOM_FIELD\", {\n slug: \"salesflare-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Updates an existing custom field for accounts, contacts, or opportunities in Salesflare. Use when you need to modify the properties or settings of a custom field.\",\n input: SalesflareUpdateCustomFieldInput,\n output: SalesflareUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,OAAO,CAAC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,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SalesflareUpdateEmailDatasourceInput = zod.z.object({
|
|
|
9
9
|
add_signature_to_replies: zod.z.boolean().describe("Whether to add email signature to reply emails.").optional(),
|
|
10
10
|
add_signature_to_campaign: zod.z.boolean().describe("Whether to add email signature to campaign emails.").optional()
|
|
11
11
|
}).describe("Request model for updating an email data source in Salesflare.");
|
|
12
|
-
const SalesflareUpdateEmailDatasourceOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or providing details.").nullable() }).describe("Response model for the update email data source action.");
|
|
12
|
+
const SalesflareUpdateEmailDatasourceOutput = zod.z.object({ message: zod.z.string().describe("Response message from the API indicating success or providing details.").nullable() }).passthrough().describe("Response model for the update email data source action.");
|
|
13
13
|
const salesflareUpdateEmailDatasource = require_action.action("SALESFLARE_UPDATE_EMAIL_DATASOURCE", {
|
|
14
14
|
slug: "salesflare-update-email-datasource",
|
|
15
15
|
name: "Update Email Data Source",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-email-datasource.cjs","names":["z","action"],"sources":["../../src/actions/update-email-datasource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateEmailDatasourceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the email data source to update.\"),\n max_emails_day: z.number().int().describe(\"Maximum number of emails to send per day. Must be between 0 and 2000.\").optional(),\n email_signature: z.string().describe(\"The email signature text to be used.\").optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails to send per hour. Must be between 0 and 200.\").optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add email signature to reply emails.\").optional(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add email signature to campaign emails.\").optional(),\n}).describe(\"Request model for updating an email data source in Salesflare.\");\nexport const SalesflareUpdateEmailDatasourceOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or providing details.\").nullable(),\n}).describe(\"Response model for the update email data source action.\");\n\nexport const salesflareUpdateEmailDatasource = action(\"SALESFLARE_UPDATE_EMAIL_DATASOURCE\", {\n slug: \"salesflare-update-email-datasource\",\n name: \"Update Email Data Source\",\n description: \"Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.\",\n input: SalesflareUpdateEmailDatasourceInput,\n output: SalesflareUpdateEmailDatasourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7H,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"update-email-datasource.cjs","names":["z","action"],"sources":["../../src/actions/update-email-datasource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateEmailDatasourceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the email data source to update.\"),\n max_emails_day: z.number().int().describe(\"Maximum number of emails to send per day. Must be between 0 and 2000.\").optional(),\n email_signature: z.string().describe(\"The email signature text to be used.\").optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails to send per hour. Must be between 0 and 200.\").optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add email signature to reply emails.\").optional(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add email signature to campaign emails.\").optional(),\n}).describe(\"Request model for updating an email data source in Salesflare.\");\nexport const SalesflareUpdateEmailDatasourceOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or providing details.\").nullable(),\n}).passthrough().describe(\"Response model for the update email data source action.\");\n\nexport const salesflareUpdateEmailDatasource = action(\"SALESFLARE_UPDATE_EMAIL_DATASOURCE\", {\n slug: \"salesflare-update-email-datasource\",\n name: \"Update Email Data Source\",\n description: \"Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.\",\n input: SalesflareUpdateEmailDatasourceInput,\n output: SalesflareUpdateEmailDatasourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7H,0BAA0BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SalesflareUpdateEmailDatasourceInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SalesflareUpdateEmailDatasourceOutput: z.ZodObject<{
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesflareUpdateEmailDatasource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: number;
|
|
17
17
|
max_emails_day?: number | undefined;
|
|
@@ -11,7 +11,7 @@ declare const SalesflareUpdateEmailDatasourceInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SalesflareUpdateEmailDatasourceOutput: z.ZodObject<{
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesflareUpdateEmailDatasource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
id: number;
|
|
17
17
|
max_emails_day?: number | undefined;
|
|
@@ -12,7 +12,7 @@ const salesflareUpdateEmailDatasource = action("SALESFLARE_UPDATE_EMAIL_DATASOUR
|
|
|
12
12
|
add_signature_to_replies: z.boolean().describe("Whether to add email signature to reply emails.").optional(),
|
|
13
13
|
add_signature_to_campaign: z.boolean().describe("Whether to add email signature to campaign emails.").optional()
|
|
14
14
|
}).describe("Request model for updating an email data source in Salesflare."),
|
|
15
|
-
output: z.object({ message: z.string().describe("Response message from the API indicating success or providing details.").nullable() }).describe("Response model for the update email data source action.")
|
|
15
|
+
output: z.object({ message: z.string().describe("Response message from the API indicating success or providing details.").nullable() }).passthrough().describe("Response model for the update email data source action.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { salesflareUpdateEmailDatasource };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-email-datasource.mjs","names":[],"sources":["../../src/actions/update-email-datasource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateEmailDatasourceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the email data source to update.\"),\n max_emails_day: z.number().int().describe(\"Maximum number of emails to send per day. Must be between 0 and 2000.\").optional(),\n email_signature: z.string().describe(\"The email signature text to be used.\").optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails to send per hour. Must be between 0 and 200.\").optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add email signature to reply emails.\").optional(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add email signature to campaign emails.\").optional(),\n}).describe(\"Request model for updating an email data source in Salesflare.\");\nexport const SalesflareUpdateEmailDatasourceOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or providing details.\").nullable(),\n}).describe(\"Response model for the update email data source action.\");\n\nexport const salesflareUpdateEmailDatasource = action(\"SALESFLARE_UPDATE_EMAIL_DATASOURCE\", {\n slug: \"salesflare-update-email-datasource\",\n name: \"Update Email Data Source\",\n description: \"Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.\",\n input: SalesflareUpdateEmailDatasourceInput,\n output: SalesflareUpdateEmailDatasourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC7H,0BAA0B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-email-datasource.mjs","names":[],"sources":["../../src/actions/update-email-datasource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateEmailDatasourceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the email data source to update.\"),\n max_emails_day: z.number().int().describe(\"Maximum number of emails to send per day. Must be between 0 and 2000.\").optional(),\n email_signature: z.string().describe(\"The email signature text to be used.\").optional(),\n max_emails_hour: z.number().int().describe(\"Maximum number of emails to send per hour. Must be between 0 and 200.\").optional(),\n add_signature_to_replies: z.boolean().describe(\"Whether to add email signature to reply emails.\").optional(),\n add_signature_to_campaign: z.boolean().describe(\"Whether to add email signature to campaign emails.\").optional(),\n}).describe(\"Request model for updating an email data source in Salesflare.\");\nexport const SalesflareUpdateEmailDatasourceOutput = z.object({\n message: z.string().describe(\"Response message from the API indicating success or providing details.\").nullable(),\n}).passthrough().describe(\"Response model for the update email data source action.\");\n\nexport const salesflareUpdateEmailDatasource = action(\"SALESFLARE_UPDATE_EMAIL_DATASOURCE\", {\n slug: \"salesflare-update-email-datasource\",\n name: \"Update Email Data Source\",\n description: \"Tool to update the settings of an email data source in Salesflare. Use when you need to modify email sending limits, signature settings, or signature content for a specific email data source.\",\n input: SalesflareUpdateEmailDatasourceInput,\n output: SalesflareUpdateEmailDatasourceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC7H,0BAA0B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const SalesflareUpdateInternalNoteOutput = zod.z.object({
|
|
|
16
16
|
mentions: zod.z.array(zod.z.number().int()).describe("List of user IDs mentioned in the note").nullable().optional(),
|
|
17
17
|
created_at: zod.z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
18
18
|
updated_at: zod.z.string().describe("Timestamp when the note was last updated").nullable().optional()
|
|
19
|
-
}).describe("Response model for an updated internal note in Salesflare.");
|
|
19
|
+
}).passthrough().describe("Response model for an updated internal note in Salesflare.");
|
|
20
20
|
const salesflareUpdateInternalNote = require_action.action("SALESFLARE_UPDATE_INTERNAL_NOTE", {
|
|
21
21
|
slug: "salesflare-update-internal-note",
|
|
22
22
|
name: "Update Internal Note",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-internal-note.cjs","names":["z","action"],"sources":["../../src/actions/update-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateInternalNoteInput = z.object({\n body: z.string().describe(\"Updated content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n account: z.number().int().describe(\"Account ID to associate the note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n message_id: z.number().int().describe(\"ID of the internal note (message) to update\"),\n}).describe(\"Request model for updating an internal note in Salesflare.\");\nexport const SalesflareUpdateInternalNoteOutput = z.object({\n id: z.number().int().describe(\"ID of the updated note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).describe(\"Response model for an updated internal note in Salesflare.\");\n\nexport const salesflareUpdateInternalNote = action(\"SALESFLARE_UPDATE_INTERNAL_NOTE\", {\n slug: \"salesflare-update-internal-note\",\n name: \"Update Internal Note\",\n description: \"Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.\",\n input: SalesflareUpdateInternalNoteInput,\n output: SalesflareUpdateInternalNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC1E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AACrF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"update-internal-note.cjs","names":["z","action"],"sources":["../../src/actions/update-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateInternalNoteInput = z.object({\n body: z.string().describe(\"Updated content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n account: z.number().int().describe(\"Account ID to associate the note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n message_id: z.number().int().describe(\"ID of the internal note (message) to update\"),\n}).describe(\"Request model for updating an internal note in Salesflare.\");\nexport const SalesflareUpdateInternalNoteOutput = z.object({\n id: z.number().int().describe(\"ID of the updated note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated internal note in Salesflare.\");\n\nexport const salesflareUpdateInternalNote = action(\"SALESFLARE_UPDATE_INTERNAL_NOTE\", {\n slug: \"salesflare-update-internal-note\",\n name: \"Update Internal Note\",\n description: \"Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.\",\n input: SalesflareUpdateInternalNoteInput,\n output: SalesflareUpdateInternalNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC1E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CA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ZodArray<z.ZodNumber>>>;
|
|
17
17
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const salesflareUpdateInternalNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
body: string;
|
|
22
22
|
account: number;
|
|
@@ -16,7 +16,7 @@ declare const SalesflareUpdateInternalNoteOutput: z.ZodObject<{
|
|
|
16
16
|
mentions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
17
17
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const salesflareUpdateInternalNote: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
body: string;
|
|
22
22
|
account: number;
|
|
@@ -19,7 +19,7 @@ const salesflareUpdateInternalNote = action("SALESFLARE_UPDATE_INTERNAL_NOTE", {
|
|
|
19
19
|
mentions: z.array(z.number().int()).describe("List of user IDs mentioned in the note").nullable().optional(),
|
|
20
20
|
created_at: z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
21
21
|
updated_at: z.string().describe("Timestamp when the note was last updated").nullable().optional()
|
|
22
|
-
}).describe("Response model for an updated internal note in Salesflare.")
|
|
22
|
+
}).passthrough().describe("Response model for an updated internal note in Salesflare.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { salesflareUpdateInternalNote };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-internal-note.mjs","names":[],"sources":["../../src/actions/update-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateInternalNoteInput = z.object({\n body: z.string().describe(\"Updated content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n account: z.number().int().describe(\"Account ID to associate the note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n message_id: z.number().int().describe(\"ID of the internal note (message) to update\"),\n}).describe(\"Request model for updating an internal note in Salesflare.\");\nexport const SalesflareUpdateInternalNoteOutput = z.object({\n id: z.number().int().describe(\"ID of the updated note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).describe(\"Response model for an updated internal note in Salesflare.\");\n\nexport const salesflareUpdateInternalNote = action(\"SALESFLARE_UPDATE_INTERNAL_NOTE\", {\n slug: \"salesflare-update-internal-note\",\n name: \"Update Internal Note\",\n description: \"Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.\",\n input: SalesflareUpdateInternalNoteInput,\n output: SalesflareUpdateInternalNoteOutput,\n});\n"],"mappings":";;AAqBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC1E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,4DAeH;CACP,QAfgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"update-internal-note.mjs","names":[],"sources":["../../src/actions/update-internal-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesflareUpdateInternalNoteInput = z.object({\n body: z.string().describe(\"Updated content of the internal note\"),\n date: z.string().describe(\"Date and time for the note in ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n account: z.number().int().describe(\"Account ID to associate the note with\"),\n mentions: z.array(z.number().int()).describe(\"List of user IDs to mention in the note\").optional(),\n message_id: z.number().int().describe(\"ID of the internal note (message) to update\"),\n}).describe(\"Request model for updating an internal note in Salesflare.\");\nexport const SalesflareUpdateInternalNoteOutput = z.object({\n id: z.number().int().describe(\"ID of the updated note\").nullable().optional(),\n body: z.string().describe(\"Content of the note\").nullable().optional(),\n date: z.string().describe(\"Date and time of the note\").nullable().optional(),\n account: z.number().int().describe(\"Account ID associated with the note\").nullable().optional(),\n mentions: z.array(z.number().int()).describe(\"List of user IDs mentioned in the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated internal note in Salesflare.\");\n\nexport const salesflareUpdateInternalNote = action(\"SALESFLARE_UPDATE_INTERNAL_NOTE\", {\n slug: \"salesflare-update-internal-note\",\n name: \"Update Internal Note\",\n description: \"Tool to update an existing internal note in Salesflare. Use when modifying the content or properties of an existing note.\",\n input: SalesflareUpdateInternalNoteInput,\n output: SalesflareUpdateInternalNoteOutput,\n});\n"],"mappings":";;AAqBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EAC1E,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACrF,CAAC,CAAC,CAAC,SAAS,4DAeH;CACP,QAfgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAA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