@besales/mcp 0.48.0 → 1.0.0-beta.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/README.md +117 -163
- package/README.onprem.ru.md +35 -0
- package/bin/besales-mcp-http.js +9 -0
- package/bin/besales-onprem.mjs +19 -0
- package/dist/auth/connection-store.d.ts +3 -1
- package/dist/auth/connection-store.js +9 -3
- package/dist/auth/connection-store.js.map +1 -1
- package/dist/auth/oauth-client.d.ts +20 -27
- package/dist/auth/oauth-client.js +31 -23
- package/dist/auth/oauth-client.js.map +1 -1
- package/dist/auth/session-workspace.d.ts +1 -0
- package/dist/auth/session-workspace.js +10 -1
- package/dist/auth/session-workspace.js.map +1 -1
- package/dist/auth/token-storage.js +4 -1
- package/dist/auth/token-storage.js.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +80 -19
- package/dist/cli.js.map +1 -1
- package/dist/constants/crm-catalog.d.ts +2 -0
- package/dist/constants/crm-catalog.js +3 -0
- package/dist/constants/crm-catalog.js.map +1 -0
- package/dist/http/api-client.d.ts +54 -7
- package/dist/http/api-client.js +132 -66
- package/dist/http/api-client.js.map +1 -1
- package/dist/http/feedback-document-error.d.ts +26 -0
- package/dist/http/feedback-document-error.js +22 -0
- package/dist/http/feedback-document-error.js.map +1 -0
- package/dist/http-server.d.ts +15 -0
- package/dist/http-server.js +378 -0
- package/dist/http-server.js.map +1 -0
- package/dist/instructions/server-instructions.d.ts +1 -1
- package/dist/instructions/server-instructions.js +6 -3
- package/dist/instructions/server-instructions.js.map +1 -1
- package/dist/network/constants.d.ts +25 -0
- package/dist/network/constants.js +26 -0
- package/dist/network/constants.js.map +1 -0
- package/dist/network/failed-verifications.d.ts +10 -0
- package/dist/network/failed-verifications.js +37 -0
- package/dist/network/failed-verifications.js.map +1 -0
- package/dist/network/http-test-fixture.d.ts +3 -0
- package/dist/network/http-test-fixture.js +86 -0
- package/dist/network/http-test-fixture.js.map +1 -0
- package/dist/network/known-keys.d.ts +10 -0
- package/dist/network/known-keys.js +38 -0
- package/dist/network/known-keys.js.map +1 -0
- package/dist/network/memory-credentials.d.ts +11 -0
- package/dist/network/memory-credentials.js +24 -0
- package/dist/network/memory-credentials.js.map +1 -0
- package/dist/network/rate-limit.d.ts +23 -0
- package/dist/network/rate-limit.js +62 -0
- package/dist/network/rate-limit.js.map +1 -0
- package/dist/network/rejected-keys.d.ts +9 -0
- package/dist/network/rejected-keys.js +39 -0
- package/dist/network/rejected-keys.js.map +1 -0
- package/dist/network/request-work.d.ts +8 -0
- package/dist/network/request-work.js +20 -0
- package/dist/network/request-work.js.map +1 -0
- package/dist/network/successful-keys.d.ts +17 -0
- package/dist/network/successful-keys.js +47 -0
- package/dist/network/successful-keys.js.map +1 -0
- package/dist/resources/concepts/external-execution.md +3 -1
- package/dist/resources/concepts/feedback-sheets.md +21 -12
- package/dist/resources/concepts/icp.md +8 -1
- package/dist/resources/concepts/sandbox.md +15 -6
- package/dist/resources/concepts/triggers.md +43 -0
- package/dist/resources/concepts/workbook-classification.md +104 -50
- package/dist/resources/docs/agent-behavior.md +51 -382
- package/dist/resources/docs/campaigns.md +9 -16
- package/dist/resources/docs/crm-integration.md +39 -523
- package/dist/resources/docs/files-and-uploads.md +23 -286
- package/dist/resources/docs/follow-up.md +47 -12
- package/dist/resources/docs/knowledge-base.md +52 -521
- package/dist/resources/docs/pipeline-builder.md +26 -216
- package/dist/resources/docs/pipeline-settings-deep.md +27 -220
- package/dist/resources/docs/platforms.md +149 -519
- package/dist/resources/docs/prompt-anatomy.md +39 -285
- package/dist/resources/docs/routing.md +8 -16
- package/dist/resources/docs/trigger-actions.md +40 -24
- package/dist/resources/docs/variables.md +8 -12
- package/dist/resources/operator-edit.contract.d.ts +7 -0
- package/dist/resources/operator-edit.contract.js +8 -0
- package/dist/resources/operator-edit.contract.js.map +1 -0
- package/dist/resources/registry.js +20 -4
- package/dist/resources/registry.js.map +1 -1
- package/dist/resources/workflows/audit-dialogues.md +23 -12
- package/dist/resources/workflows/compare-models.md +6 -6
- package/dist/resources/workflows/connect-crm-from-scratch.md +15 -12
- package/dist/resources/workflows/connect-datasource-from-scratch.md +5 -4
- package/dist/resources/workflows/extract-from-document.md +8 -6
- package/dist/resources/workflows/operator-edit.md +15 -0
- package/dist/resources/workflows/platform-setup-from-scratch.md +59 -70
- package/dist/resources/workflows/production-readiness-check.md +25 -15
- package/dist/schemas/mcp-tools.json +12389 -6657
- package/dist/schemas/voice-actions-api.contract.json +248 -0
- package/dist/shared/constants/broadcast-reason.constants.d.ts +2 -0
- package/dist/shared/constants/broadcast-reason.constants.js +47 -0
- package/dist/shared/constants/broadcast-reason.constants.js.map +1 -0
- package/dist/shared/constants/crm-stage-pool.constants.d.ts +2 -0
- package/dist/shared/constants/crm-stage-pool.constants.js +3 -0
- package/dist/shared/constants/crm-stage-pool.constants.js.map +1 -0
- package/dist/shared/constants/followup-note.constants.d.ts +3 -0
- package/dist/shared/constants/followup-note.constants.js +4 -0
- package/dist/shared/constants/followup-note.constants.js.map +1 -0
- package/dist/shared/constants/followup-session.constants.d.ts +2 -0
- package/dist/shared/constants/followup-session.constants.js +3 -0
- package/dist/shared/constants/followup-session.constants.js.map +1 -0
- package/dist/shared/constants/funnel-analytics.constants.d.ts +2 -0
- package/dist/shared/constants/funnel-analytics.constants.js +3 -0
- package/dist/shared/constants/funnel-analytics.constants.js.map +1 -0
- package/dist/shared/constants/message-filter.constants.d.ts +7 -0
- package/dist/shared/constants/message-filter.constants.js +8 -0
- package/dist/shared/constants/message-filter.constants.js.map +1 -0
- package/dist/shared/utils/trigger-repeat-mapping.d.ts +72 -0
- package/dist/shared/utils/trigger-repeat-mapping.js +53 -0
- package/dist/shared/utils/trigger-repeat-mapping.js.map +1 -0
- package/dist/skills/besales-dialogue-audit/SKILL.md +31 -20
- package/dist/tasks/task-state-store.js +5 -0
- package/dist/tasks/task-state-store.js.map +1 -1
- package/dist/tools/annotations.js +4 -3
- package/dist/tools/annotations.js.map +1 -1
- package/dist/tools/definitions/agent-design.d.ts +81 -24
- package/dist/tools/definitions/agent-design.js +246 -90
- package/dist/tools/definitions/agent-design.js.map +1 -1
- package/dist/tools/definitions/agent-model-notice.d.ts +5 -0
- package/dist/tools/definitions/agent-model-notice.js +31 -0
- package/dist/tools/definitions/agent-model-notice.js.map +1 -0
- package/dist/tools/definitions/agent-models.d.ts +5 -0
- package/dist/tools/definitions/agent-models.js +26 -0
- package/dist/tools/definitions/agent-models.js.map +1 -0
- package/dist/tools/definitions/agent-settings.d.ts +85 -0
- package/dist/tools/definitions/agent-settings.js +187 -0
- package/dist/tools/definitions/agent-settings.js.map +1 -0
- package/dist/tools/definitions/ai-costs.d.ts +12 -0
- package/dist/tools/definitions/ai-costs.js +142 -0
- package/dist/tools/definitions/ai-costs.js.map +1 -0
- package/dist/tools/definitions/api-tool-request.d.ts +15 -0
- package/dist/tools/definitions/api-tool-request.js +2 -0
- package/dist/tools/definitions/api-tool-request.js.map +1 -0
- package/dist/tools/definitions/behavior-shipped-form.d.ts +182 -0
- package/dist/tools/definitions/behavior-shipped-form.js +185 -0
- package/dist/tools/definitions/behavior-shipped-form.js.map +1 -0
- package/dist/tools/definitions/broadcast-alerts.d.ts +6 -0
- package/dist/tools/definitions/broadcast-alerts.js +72 -0
- package/dist/tools/definitions/broadcast-alerts.js.map +1 -0
- package/dist/tools/definitions/broadcast-analytics.d.ts +102 -18
- package/dist/tools/definitions/broadcast-analytics.js +732 -431
- package/dist/tools/definitions/broadcast-analytics.js.map +1 -1
- package/dist/tools/definitions/broadcast-scheduler.d.ts +10 -13
- package/dist/tools/definitions/broadcast-scheduler.js +196 -154
- package/dist/tools/definitions/broadcast-scheduler.js.map +1 -1
- package/dist/tools/definitions/call-operator-task.schema.d.ts +11 -0
- package/dist/tools/definitions/call-operator-task.schema.js +30 -0
- package/dist/tools/definitions/call-operator-task.schema.js.map +1 -0
- package/dist/tools/definitions/contacts.d.ts +3 -0
- package/dist/tools/definitions/contacts.js +57 -31
- package/dist/tools/definitions/contacts.js.map +1 -1
- package/dist/tools/definitions/crm-platform.d.ts +29 -39
- package/dist/tools/definitions/crm-platform.js +249 -352
- package/dist/tools/definitions/crm-platform.js.map +1 -1
- package/dist/tools/definitions/crm-stage-pool.messages.d.ts +39 -0
- package/dist/tools/definitions/crm-stage-pool.messages.js +43 -0
- package/dist/tools/definitions/crm-stage-pool.messages.js.map +1 -0
- package/dist/tools/definitions/crm-stage-pool.schema.d.ts +64 -0
- package/dist/tools/definitions/crm-stage-pool.schema.js +109 -0
- package/dist/tools/definitions/crm-stage-pool.schema.js.map +1 -0
- package/dist/tools/definitions/custom-reports.d.ts +12 -0
- package/dist/tools/definitions/custom-reports.js +68 -0
- package/dist/tools/definitions/custom-reports.js.map +1 -0
- package/dist/tools/definitions/datasource.d.ts +2 -1
- package/dist/tools/definitions/datasource.js +28 -13
- package/dist/tools/definitions/datasource.js.map +1 -1
- package/dist/tools/definitions/dialog-review-findings-response.d.ts +14 -0
- package/dist/tools/definitions/dialog-review-findings-response.js +23 -0
- package/dist/tools/definitions/dialog-review-findings-response.js.map +1 -0
- package/dist/tools/definitions/dialog-review-safe-response.d.ts +5 -0
- package/dist/tools/definitions/dialog-review-safe-response.js +152 -0
- package/dist/tools/definitions/dialog-review-safe-response.js.map +1 -0
- package/dist/tools/definitions/dialog-review.d.ts +49 -0
- package/dist/tools/definitions/dialog-review.js +383 -0
- package/dist/tools/definitions/dialog-review.js.map +1 -0
- package/dist/tools/definitions/dialogue-analysis.d.ts +46 -0
- package/dist/tools/definitions/dialogue-analysis.js +170 -0
- package/dist/tools/definitions/dialogue-analysis.js.map +1 -0
- package/dist/tools/definitions/dialogue-audit-agent-scope.d.ts +7 -0
- package/dist/tools/definitions/dialogue-audit-agent-scope.js +41 -0
- package/dist/tools/definitions/dialogue-audit-agent-scope.js.map +1 -0
- package/dist/tools/definitions/dialogue-audit-alias.d.ts +67 -0
- package/dist/tools/definitions/dialogue-audit-alias.js +559 -0
- package/dist/tools/definitions/dialogue-audit-alias.js.map +1 -0
- package/dist/tools/definitions/dialogue-export.d.ts +7 -1
- package/dist/tools/definitions/dialogue-export.js +89 -32
- package/dist/tools/definitions/dialogue-export.js.map +1 -1
- package/dist/tools/definitions/dialogue-followup-state.d.ts +9 -0
- package/dist/tools/definitions/dialogue-followup-state.js +69 -0
- package/dist/tools/definitions/dialogue-followup-state.js.map +1 -0
- package/dist/tools/definitions/dialogue-reprocess.d.ts +5 -0
- package/dist/tools/definitions/dialogue-reprocess.js +107 -0
- package/dist/tools/definitions/dialogue-reprocess.js.map +1 -0
- package/dist/tools/definitions/edit-version-transport.test-fixtures.d.ts +13 -0
- package/dist/tools/definitions/edit-version-transport.test-fixtures.js +292 -0
- package/dist/tools/definitions/edit-version-transport.test-fixtures.js.map +1 -0
- package/dist/tools/definitions/edit-version.d.ts +5 -0
- package/dist/tools/definitions/edit-version.js +20 -0
- package/dist/tools/definitions/edit-version.js.map +1 -0
- package/dist/tools/definitions/external-api-channels.js +17 -15
- package/dist/tools/definitions/external-api-channels.js.map +1 -1
- package/dist/tools/definitions/feedback-document-access.d.ts +16 -0
- package/dist/tools/definitions/feedback-document-access.js +63 -0
- package/dist/tools/definitions/feedback-document-access.js.map +1 -0
- package/dist/tools/definitions/fixtures/shipped-setup-status.d.ts +3 -0
- package/dist/tools/definitions/fixtures/shipped-setup-status.js +9 -0
- package/dist/tools/definitions/fixtures/shipped-setup-status.js.map +1 -0
- package/dist/tools/definitions/follow-up-config.d.ts +79 -0
- package/dist/tools/definitions/follow-up-config.js +258 -0
- package/dist/tools/definitions/follow-up-config.js.map +1 -0
- package/dist/tools/definitions/follow-up-funnel-test.d.ts +4 -3
- package/dist/tools/definitions/follow-up-funnel-test.js +65 -52
- package/dist/tools/definitions/follow-up-funnel-test.js.map +1 -1
- package/dist/tools/definitions/follow-up-promotion-instructions.d.ts +2 -0
- package/dist/tools/definitions/follow-up-promotion-instructions.js +7 -0
- package/dist/tools/definitions/follow-up-promotion-instructions.js.map +1 -0
- package/dist/tools/definitions/follow-up-setup.d.ts +4 -28
- package/dist/tools/definitions/follow-up-setup.js +20 -87
- package/dist/tools/definitions/follow-up-setup.js.map +1 -1
- package/dist/tools/definitions/follow-up.d.ts +20 -122
- package/dist/tools/definitions/follow-up.js +200 -357
- package/dist/tools/definitions/follow-up.js.map +1 -1
- package/dist/tools/definitions/followup-getcourse-compat.d.ts +29 -0
- package/dist/tools/definitions/followup-getcourse-compat.js +62 -0
- package/dist/tools/definitions/followup-getcourse-compat.js.map +1 -0
- package/dist/tools/definitions/followup-sequence-config.schema.d.ts +10 -0
- package/dist/tools/definitions/followup-sequence-config.schema.js +14 -0
- package/dist/tools/definitions/followup-sequence-config.schema.js.map +1 -0
- package/dist/tools/definitions/funnel-analytics.d.ts +18 -0
- package/dist/tools/definitions/funnel-analytics.js +150 -0
- package/dist/tools/definitions/funnel-analytics.js.map +1 -0
- package/dist/tools/definitions/getcourse-anchor-refresh.d.ts +5 -9
- package/dist/tools/definitions/getcourse-anchor-refresh.js +26 -31
- package/dist/tools/definitions/getcourse-anchor-refresh.js.map +1 -1
- package/dist/tools/definitions/getcourse-cold-outbound-settings.d.ts +46 -0
- package/dist/tools/definitions/getcourse-cold-outbound-settings.js +37 -0
- package/dist/tools/definitions/getcourse-cold-outbound-settings.js.map +1 -0
- package/dist/tools/definitions/getcourse-cold-welcome.d.ts +14 -29
- package/dist/tools/definitions/getcourse-cold-welcome.js +190 -253
- package/dist/tools/definitions/getcourse-cold-welcome.js.map +1 -1
- package/dist/tools/definitions/getcourse-wave-welcome.messages.d.ts +10 -0
- package/dist/tools/definitions/getcourse-wave-welcome.messages.js +17 -0
- package/dist/tools/definitions/getcourse-wave-welcome.messages.js.map +1 -0
- package/dist/tools/definitions/help.js.map +1 -1
- package/dist/tools/definitions/icp-import-source.d.ts +75 -0
- package/dist/tools/definitions/icp-import-source.js +88 -0
- package/dist/tools/definitions/icp-import-source.js.map +1 -0
- package/dist/tools/definitions/inbound-analytics.d.ts +13 -0
- package/dist/tools/definitions/inbound-analytics.js +55 -0
- package/dist/tools/definitions/inbound-analytics.js.map +1 -0
- package/dist/tools/definitions/instagram-comment.templates.d.ts +19 -0
- package/dist/tools/definitions/instagram-comment.templates.js +34 -0
- package/dist/tools/definitions/instagram-comment.templates.js.map +1 -0
- package/dist/tools/definitions/instagram-settings-compat.d.ts +33 -0
- package/dist/tools/definitions/instagram-settings-compat.js +7 -0
- package/dist/tools/definitions/instagram-settings-compat.js.map +1 -0
- package/dist/tools/definitions/knowledge-chunking.d.ts +42 -0
- package/dist/tools/definitions/knowledge-chunking.js +83 -0
- package/dist/tools/definitions/knowledge-chunking.js.map +1 -0
- package/dist/tools/definitions/knowledge-space-search-fields.d.ts +12 -0
- package/dist/tools/definitions/knowledge-space-search-fields.js +30 -0
- package/dist/tools/definitions/knowledge-space-search-fields.js.map +1 -0
- package/dist/tools/definitions/knowledge.d.ts +24 -14
- package/dist/tools/definitions/knowledge.js +342 -233
- package/dist/tools/definitions/knowledge.js.map +1 -1
- package/dist/tools/definitions/legacy-trigger-repeat.d.ts +17 -0
- package/dist/tools/definitions/legacy-trigger-repeat.js +53 -0
- package/dist/tools/definitions/legacy-trigger-repeat.js.map +1 -0
- package/dist/tools/definitions/link-tracking.d.ts +8 -0
- package/dist/tools/definitions/link-tracking.js +141 -38
- package/dist/tools/definitions/link-tracking.js.map +1 -1
- package/dist/tools/definitions/mailing-variant-content.d.ts +75 -0
- package/dist/tools/definitions/mailing-variant-content.js +73 -0
- package/dist/tools/definitions/mailing-variant-content.js.map +1 -0
- package/dist/tools/definitions/model-comparison.d.ts +2 -1
- package/dist/tools/definitions/model-comparison.js +4 -5
- package/dist/tools/definitions/model-comparison.js.map +1 -1
- package/dist/tools/definitions/money-currency.d.ts +5 -0
- package/dist/tools/definitions/money-currency.js +10 -0
- package/dist/tools/definitions/money-currency.js.map +1 -0
- package/dist/tools/definitions/operator-workflow.d.ts +5 -5
- package/dist/tools/definitions/operator-workflow.js +80 -27
- package/dist/tools/definitions/operator-workflow.js.map +1 -1
- package/dist/tools/definitions/platform-funnel-analytics.d.ts +42 -0
- package/dist/tools/definitions/platform-funnel-analytics.js +72 -0
- package/dist/tools/definitions/platform-funnel-analytics.js.map +1 -0
- package/dist/tools/definitions/platform-getcourse-wave-field-bindings.d.ts +42 -0
- package/dist/tools/definitions/platform-getcourse-wave-field-bindings.js +51 -0
- package/dist/tools/definitions/platform-getcourse-wave-field-bindings.js.map +1 -0
- package/dist/tools/definitions/platform-settings-limits.d.ts +5 -0
- package/dist/tools/definitions/platform-settings-limits.js +6 -0
- package/dist/tools/definitions/platform-settings-limits.js.map +1 -0
- package/dist/tools/definitions/platform-settings-shipped-form.d.ts +37 -0
- package/dist/tools/definitions/platform-settings-shipped-form.js +310 -0
- package/dist/tools/definitions/platform-settings-shipped-form.js.map +1 -0
- package/dist/tools/definitions/platform-settings-update.d.ts +300 -0
- package/dist/tools/definitions/platform-settings-update.js +134 -0
- package/dist/tools/definitions/platform-settings-update.js.map +1 -0
- package/dist/tools/definitions/{getcourse-wave.d.ts → platform-setup-wave.d.ts} +75 -6
- package/dist/tools/definitions/platform-setup-wave.js +1079 -0
- package/dist/tools/definitions/platform-setup-wave.js.map +1 -0
- package/dist/tools/definitions/platform-setup.d.ts +697 -224
- package/dist/tools/definitions/platform-setup.js +313 -752
- package/dist/tools/definitions/platform-setup.js.map +1 -1
- package/dist/tools/definitions/platform-widget-page-rules.schema.d.ts +10 -0
- package/dist/tools/definitions/platform-widget-page-rules.schema.js +7 -0
- package/dist/tools/definitions/platform-widget-page-rules.schema.js.map +1 -0
- package/dist/tools/definitions/prompt-authoring.constants.d.ts +2 -0
- package/dist/tools/definitions/prompt-authoring.constants.js +3 -0
- package/dist/tools/definitions/prompt-authoring.constants.js.map +1 -0
- package/dist/tools/definitions/prompt-batch-controls.d.ts +5 -0
- package/dist/tools/definitions/prompt-batch-controls.js +40 -0
- package/dist/tools/definitions/prompt-batch-controls.js.map +1 -0
- package/dist/tools/definitions/prompt-draft-authoring.d.ts +5 -0
- package/dist/tools/definitions/prompt-draft-authoring.js +24 -0
- package/dist/tools/definitions/prompt-draft-authoring.js.map +1 -0
- package/dist/tools/definitions/prompt-text-projection.d.ts +11 -0
- package/dist/tools/definitions/prompt-text-projection.js +62 -0
- package/dist/tools/definitions/prompt-text-projection.js.map +1 -0
- package/dist/tools/definitions/reviewer-paid.d.ts +19 -0
- package/dist/tools/definitions/reviewer-paid.js +115 -0
- package/dist/tools/definitions/reviewer-paid.js.map +1 -0
- package/dist/tools/definitions/routing-condition-projection.d.ts +31 -0
- package/dist/tools/definitions/routing-condition-projection.js +97 -0
- package/dist/tools/definitions/routing-condition-projection.js.map +1 -0
- package/dist/tools/definitions/schedule-selection-hints.d.ts +3 -0
- package/dist/tools/definitions/schedule-selection-hints.js +42 -0
- package/dist/tools/definitions/schedule-selection-hints.js.map +1 -0
- package/dist/tools/definitions/{scheduled-tasks.d.ts → scheduled-task-alias.d.ts} +12 -10
- package/dist/tools/definitions/scheduled-task-alias.js +207 -0
- package/dist/tools/definitions/scheduled-task-alias.js.map +1 -0
- package/dist/tools/definitions/session.js +3 -3
- package/dist/tools/definitions/session.js.map +1 -1
- package/dist/tools/definitions/setup-init-operation.schema.d.ts +2 -0
- package/dist/tools/definitions/setup-init-operation.schema.js +6 -0
- package/dist/tools/definitions/setup-init-operation.schema.js.map +1 -0
- package/dist/tools/definitions/shared-input.helpers.d.ts +51 -0
- package/dist/tools/definitions/shared-input.helpers.js +323 -0
- package/dist/tools/definitions/shared-input.helpers.js.map +1 -0
- package/dist/tools/definitions/shared.d.ts +401 -307
- package/dist/tools/definitions/shared.js +430 -652
- package/dist/tools/definitions/shared.js.map +1 -1
- package/dist/tools/definitions/shipped-output-names.d.ts +19 -0
- package/dist/tools/definitions/shipped-output-names.js +123 -0
- package/dist/tools/definitions/shipped-output-names.js.map +1 -0
- package/dist/tools/definitions/task-state.d.ts +4 -4
- package/dist/tools/definitions/task-state.js +2 -1
- package/dist/tools/definitions/task-state.js.map +1 -1
- package/dist/tools/definitions/telegram-personal-capacity.d.ts +4 -0
- package/dist/tools/definitions/telegram-personal-capacity.js +18 -0
- package/dist/tools/definitions/telegram-personal-capacity.js.map +1 -0
- package/dist/tools/definitions/telegram-personal-management.d.ts +34 -0
- package/dist/tools/definitions/telegram-personal-management.js +139 -0
- package/dist/tools/definitions/telegram-personal-management.js.map +1 -0
- package/dist/tools/definitions/telegram-personal-restrictions.d.ts +19 -0
- package/dist/tools/definitions/telegram-personal-restrictions.js +109 -0
- package/dist/tools/definitions/telegram-personal-restrictions.js.map +1 -0
- package/dist/tools/definitions/telegram-pool-policy.d.ts +8 -0
- package/dist/tools/definitions/telegram-pool-policy.js +56 -0
- package/dist/tools/definitions/telegram-pool-policy.js.map +1 -0
- package/dist/tools/definitions/touch-history-alias.d.ts +4 -0
- package/dist/tools/definitions/touch-history-alias.js +99 -0
- package/dist/tools/definitions/touch-history-alias.js.map +1 -0
- package/dist/tools/definitions/trigger-action-item.schema.d.ts +254 -0
- package/dist/tools/definitions/trigger-action-item.schema.js +121 -0
- package/dist/tools/definitions/trigger-action-item.schema.js.map +1 -0
- package/dist/tools/definitions/trigger-argument.schema.d.ts +14 -0
- package/dist/tools/definitions/trigger-argument.schema.js +23 -0
- package/dist/tools/definitions/trigger-argument.schema.js.map +1 -0
- package/dist/tools/definitions/trigger-claim-alias.d.ts +10 -0
- package/dist/tools/definitions/trigger-claim-alias.js +90 -0
- package/dist/tools/definitions/trigger-claim-alias.js.map +1 -0
- package/dist/tools/definitions/trigger-echo-projection.d.ts +1 -0
- package/dist/tools/definitions/trigger-echo-projection.js +41 -0
- package/dist/tools/definitions/trigger-echo-projection.js.map +1 -0
- package/dist/tools/definitions/trigger-upsert.tool.d.ts +41 -0
- package/dist/tools/definitions/trigger-upsert.tool.js +159 -0
- package/dist/tools/definitions/trigger-upsert.tool.js.map +1 -0
- package/dist/tools/definitions/v15-port-descriptions.d.ts +11 -0
- package/dist/tools/definitions/v15-port-descriptions.js +30 -0
- package/dist/tools/definitions/v15-port-descriptions.js.map +1 -0
- package/dist/tools/definitions/variables.d.ts +44 -0
- package/dist/tools/definitions/variables.js +310 -0
- package/dist/tools/definitions/variables.js.map +1 -0
- package/dist/tools/definitions/voice-action-input.d.ts +9 -0
- package/dist/tools/definitions/voice-action-input.js +141 -0
- package/dist/tools/definitions/voice-action-input.js.map +1 -0
- package/dist/tools/definitions/widget-customization-compat.d.ts +51 -0
- package/dist/tools/definitions/widget-customization-compat.js +23 -0
- package/dist/tools/definitions/widget-customization-compat.js.map +1 -0
- package/dist/tools/definitions.d.ts +1134 -617
- package/dist/tools/definitions.js +63 -27
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/description-localization.js +3 -2
- package/dist/tools/description-localization.js.map +1 -1
- package/dist/tools/follow-up-request.d.ts +19 -0
- package/dist/tools/follow-up-request.js +81 -0
- package/dist/tools/follow-up-request.js.map +1 -0
- package/dist/tools/followup-revision.d.ts +4 -0
- package/dist/tools/followup-revision.js +29 -0
- package/dist/tools/followup-revision.js.map +1 -0
- package/dist/tools/incomplete-list.js +4 -0
- package/dist/tools/incomplete-list.js.map +1 -1
- package/dist/tools/inventory.js +47 -11
- package/dist/tools/inventory.js.map +1 -1
- package/dist/tools/operation-recovery.d.ts +4 -0
- package/dist/tools/operation-recovery.js +33 -0
- package/dist/tools/operation-recovery.js.map +1 -0
- package/dist/tools/registry-mapping-primary.cases.d.ts +2 -0
- package/dist/tools/registry-mapping-primary.cases.js +765 -0
- package/dist/tools/registry-mapping-primary.cases.js.map +1 -0
- package/dist/tools/registry-mapping-secondary.cases.d.ts +2 -0
- package/dist/tools/registry-mapping-secondary.cases.js +626 -0
- package/dist/tools/registry-mapping-secondary.cases.js.map +1 -0
- package/dist/tools/registry-mapping.cases.d.ts +8 -0
- package/dist/tools/registry-mapping.cases.js +170 -0
- package/dist/tools/registry-mapping.cases.js.map +1 -0
- package/dist/tools/registry-test-fixtures.d.ts +50 -0
- package/dist/tools/registry-test-fixtures.js +120 -0
- package/dist/tools/registry-test-fixtures.js.map +1 -0
- package/dist/tools/registry.d.ts +2 -0
- package/dist/tools/registry.js +84 -52
- package/dist/tools/registry.js.map +1 -1
- package/dist/tools/result.d.ts +1 -0
- package/dist/tools/result.js +90 -22
- package/dist/tools/result.js.map +1 -1
- package/dist/tools/toolsets.d.ts +16 -0
- package/dist/tools/toolsets.js +25 -1
- package/dist/tools/toolsets.js.map +1 -1
- package/dist/types/api-contract.gen.d.ts +131892 -22453
- package/dist/utils/credential-signatures.d.ts +3 -0
- package/dist/utils/credential-signatures.js +10 -0
- package/dist/utils/credential-signatures.js.map +1 -0
- package/dist/utils/data-source-column-name.d.ts +10 -0
- package/dist/utils/data-source-column-name.js +36 -0
- package/dist/utils/data-source-column-name.js.map +1 -0
- package/dist/utils/logger.d.ts +1 -0
- package/dist/utils/logger.js +32 -8
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/secret-read-boundary.d.ts +2 -0
- package/dist/utils/secret-read-boundary.js +88 -0
- package/dist/utils/secret-read-boundary.js.map +1 -0
- package/dist/utils/setup-secrets.d.ts +4 -0
- package/dist/utils/setup-secrets.js +40 -0
- package/dist/utils/setup-secrets.js.map +1 -0
- package/docs/agent-models.md +9 -0
- package/docs/agent-usage-guide.full.ru.md +1 -4
- package/docs/analytics-contract.md +67 -0
- package/docs/async-operation-lifecycle.md +10 -3
- package/docs/connect.ru.md +144 -4
- package/docs/contact-company-profile.md +17 -0
- package/docs/contact-recommendations.md +7 -0
- package/docs/crm-stage-pool.md +73 -0
- package/docs/customer-data.md +61 -0
- package/docs/dialogue-reprocess.md +37 -0
- package/docs/edit-versions.md +36 -0
- package/docs/failure-semantics.md +17 -9
- package/docs/help-navigation.md +15 -42
- package/docs/host-compatibility-matrix.md +72 -93
- package/docs/host-setup.md +33 -35
- package/docs/invariants/public-api-and-contracts.md +16 -0
- package/docs/legacy-action-settings.md +21 -0
- package/docs/main-transfer-dependencies.md +38 -0
- package/docs/mcp2-parity.md +50 -0
- package/docs/modules/analytics.md +79 -0
- package/docs/modules/besales-mcp.md +144 -0
- package/docs/modules/dialog-review-report.md +38 -0
- package/docs/modules/dialogue-followup-adapters.md +39 -0
- package/docs/modules/message-reactions.md +17 -0
- package/docs/modules/network-mode.md +284 -0
- package/docs/modules/prompt-batch-and-dialogue-controls.md +69 -0
- package/docs/pii-policy.md +21 -16
- package/docs/response-size-budget.md +197 -7
- package/docs/secret-read-boundary.md +102 -0
- package/docs/task-state.md +7 -2
- package/docs/telegram-personal-management.md +50 -0
- package/docs/telegram-personal-restrictions.md +87 -0
- package/docs/telegram-pool-policy.md +19 -0
- package/docs/tool-effects.md +15 -9
- package/docs/tool-surface.md +205 -4
- package/docs/voice-actions-and-inbox.md +95 -0
- package/docs/wazzup-instagram-comments.md +26 -0
- package/package.json +17 -10
- package/scripts/api-source-loader.spec.mjs +40 -0
- package/scripts/audit-bridge-controls.mjs +129 -0
- package/scripts/audit-revert-mutants.mjs +107 -0
- package/scripts/bridge-api-input.spec.mjs +98 -0
- package/scripts/bridge-controls-mutants.mjs +130 -0
- package/scripts/brx3-shipped-refusals.spec.mjs +149 -0
- package/scripts/brx4-ledger-payload.spec.mjs +127 -0
- package/scripts/build-onprem.mjs +108 -0
- package/scripts/connect-clients.sh +141 -0
- package/scripts/connect-scopes.mjs +166 -0
- package/scripts/connect-scopes.spec.mjs +83 -0
- package/scripts/emit-personal-link-carrier.mjs +31 -0
- package/scripts/emit-setup-init-schemas.mjs +24 -0
- package/scripts/emit-tool-routes.mjs +878 -0
- package/scripts/emit-tool-routes.spec.mjs +300 -0
- package/scripts/followup-registry.spec.mjs +107 -0
- package/scripts/generate-crm-rotation-contract.mjs +98 -0
- package/scripts/generate-followup-session-contract.mjs +16 -0
- package/scripts/getcourse-text-source.spec.mjs +110 -0
- package/scripts/icp-import-verification/mutate.cjs +70 -0
- package/scripts/import-secret-read-contract.mjs +53 -0
- package/scripts/install-claude-desktop.js +1 -1
- package/scripts/lag-decisions.mjs +37 -0
- package/scripts/lag-decisions.spec.mjs +87 -0
- package/scripts/lag-open-task-owners.mjs +46 -0
- package/scripts/lag-open-task-owners.spec.mjs +78 -0
- package/scripts/lag-payload.mjs +10 -0
- package/scripts/legacy-action-lag.spec.mjs +22 -0
- package/scripts/legacy-field-refusal.shipped.spec.mjs +99 -0
- package/scripts/mcpcompat-handler.mjs +34 -0
- package/scripts/mcpcompat-loader.mjs +36 -0
- package/scripts/mcpcompat-typescript.mjs +3 -0
- package/scripts/platform-settings-shipped-parity.spec.mjs +89 -0
- package/scripts/prbr-round1-recheck.spec.mjs +605 -0
- package/scripts/prbr-shipped-compatibility.spec.mjs +276 -0
- package/scripts/publish-mcp-registry.mjs +98 -0
- package/scripts/publish-mcp-registry.spec.mjs +68 -0
- package/scripts/record-scheduled-task-call.mjs +26 -0
- package/scripts/refusal-probe.mjs +17 -0
- package/scripts/refusal-probe.spec.mjs +29 -0
- package/scripts/registry-diff.mjs +502 -0
- package/scripts/registry-diff.spec.mjs +787 -0
- package/scripts/request-query.mjs +43 -0
- package/scripts/request-query.spec.mjs +82 -0
- package/scripts/route-lag.mjs +23 -0
- package/scripts/route-lag.spec.mjs +30 -0
- package/scripts/sample-args.mjs +174 -0
- package/scripts/sample-args.spec.mjs +160 -0
- package/scripts/shipped-definitions.mjs +197 -0
- package/scripts/shipped-definitions.spec.mjs +57 -0
- package/scripts/shipped-inputs.spec.mjs +136 -0
- package/scripts/shipped-recordings.spec.mjs +19 -0
- package/scripts/shipped-ref.d.mts +5 -0
- package/scripts/shipped-ref.mjs +20 -0
- package/scripts/shipped-ref.spec.mjs +59 -0
- package/scripts/shipped-registry.mjs +107 -0
- package/scripts/shipped-sample-candidates.mjs +69 -0
- package/scripts/shipped-sample-candidates.spec.mjs +117 -0
- package/scripts/shipped-sample.mjs +871 -0
- package/scripts/shipped-sample.spec.mjs +451 -0
- package/scripts/sync-agent-model-schemas.mjs +72 -0
- package/scripts/sync-api-contracts.mjs +85 -0
- package/scripts/sync-api-contracts.spec.mjs +144 -0
- package/scripts/sync-contract-ledger-schemas.mjs +161 -0
- package/scripts/sync-crm-stage-pool-schema.mjs +85 -0
- package/scripts/sync-prompt-draft-schema.mjs +92 -0
- package/scripts/sync-route-map.mjs +94 -0
- package/scripts/sync-schema-descriptions.mjs +25 -0
- package/scripts/sync-tool-inventory.mjs +27 -0
- package/scripts/sync-trigger-argument-schema.mjs +97 -0
- package/scripts/sync-trigger-argument-schema.spec.mjs +91 -0
- package/scripts/sync-trigger-event-schema.mjs +20 -0
- package/scripts/sync-trigger-repeat-mapping.mjs +12 -0
- package/scripts/sync-trigger-task-schema.mjs +45 -0
- package/scripts/sync-voice-actions-contract.mjs +67 -0
- package/scripts/sync-voice-actions-tools.mjs +97 -0
- package/scripts/sync-wave-id-schemas.mjs +55 -0
- package/scripts/telegram-personal-confirmation-mutants.mjs +74 -0
- package/scripts/tool-input-schemas.mjs +46 -0
- package/scripts/tool-input-schemas.spec.mjs +50 -0
- package/scripts/verify-followup-adapters.mjs +235 -0
- package/scripts/verify-secret-read-import.mjs +84 -0
- package/scripts/verify-secret-read-mutants.mjs +143 -0
- package/dist/tools/definitions/analytics.d.ts +0 -40
- package/dist/tools/definitions/analytics.js +0 -233
- package/dist/tools/definitions/analytics.js.map +0 -1
- package/dist/tools/definitions/broadcast-mailing-variants.d.ts +0 -41
- package/dist/tools/definitions/broadcast-mailing-variants.js +0 -194
- package/dist/tools/definitions/broadcast-mailing-variants.js.map +0 -1
- package/dist/tools/definitions/dialogue-audit.d.ts +0 -38
- package/dist/tools/definitions/dialogue-audit.js +0 -292
- package/dist/tools/definitions/dialogue-audit.js.map +0 -1
- package/dist/tools/definitions/getcourse-wave.js +0 -519
- package/dist/tools/definitions/getcourse-wave.js.map +0 -1
- package/dist/tools/definitions/operational-overview.d.ts +0 -3
- package/dist/tools/definitions/operational-overview.js +0 -23
- package/dist/tools/definitions/operational-overview.js.map +0 -1
- package/dist/tools/definitions/scheduled-tasks.js +0 -173
- package/dist/tools/definitions/scheduled-tasks.js.map +0 -1
- package/dist/tools/definitions/trigger-contact-claims.d.ts +0 -7
- package/dist/tools/definitions/trigger-contact-claims.js +0 -60
- package/dist/tools/definitions/trigger-contact-claims.js.map +0 -1
- package/dist/tools/registry-mapping-cases-core.d.ts +0 -38
- package/dist/tools/registry-mapping-cases-core.js +0 -963
- package/dist/tools/registry-mapping-cases-core.js.map +0 -1
- package/dist/tools/registry-mapping-cases-platform.d.ts +0 -2
- package/dist/tools/registry-mapping-cases-platform.js +0 -1052
- package/dist/tools/registry-mapping-cases-platform.js.map +0 -1
- package/dist/tools/trigger-action-config.d.ts +0 -49
- package/dist/tools/trigger-action-config.js +0 -171
- package/dist/tools/trigger-action-config.js.map +0 -1
- package/docs/evals/model-behavior-scorecard.md +0 -80
- package/docs/operation-coverage.md +0 -114
- package/scripts/mock-credentials.js +0 -77
- package/scripts/model-eval-server.js +0 -213
- package/scripts/run-model-eval.js +0 -447
|
@@ -1,21 +1,153 @@
|
|
|
1
1
|
export declare const toolDefinitions: (import("./definitions/shared.js").ToolDefinition<{
|
|
2
|
+
channel_id: string;
|
|
3
|
+
idempotency_key: string;
|
|
4
|
+
workspace_id?: string | undefined;
|
|
5
|
+
account_ids?: string[] | undefined;
|
|
6
|
+
all?: true | undefined;
|
|
7
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
8
|
+
explicit_confirmation: true;
|
|
9
|
+
channel_id: string;
|
|
10
|
+
idempotency_key: string;
|
|
11
|
+
text?: string | undefined;
|
|
12
|
+
workspace_id?: string | undefined;
|
|
13
|
+
account_ids?: string[] | undefined;
|
|
14
|
+
all?: true | undefined;
|
|
15
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
16
|
+
channel_id: string;
|
|
17
|
+
task_id: string;
|
|
18
|
+
workspace_id?: string | undefined;
|
|
19
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
20
|
+
channel_id: string;
|
|
21
|
+
search?: string | undefined;
|
|
22
|
+
status?: "CONNECTED" | "ERROR" | "DISCONNECTED" | "CONNECTING" | "BANNED" | "NEEDS_CODE" | "NEEDS_PASSWORD" | "PENDING_VERIFICATION" | "SESSION_UPLOADED" | undefined;
|
|
23
|
+
page?: number | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
workspace_id?: string | undefined;
|
|
26
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
27
|
+
channel_id: string;
|
|
28
|
+
workspace_id?: string | undefined;
|
|
29
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
30
|
+
channel_id: string;
|
|
31
|
+
enabled?: boolean | undefined;
|
|
32
|
+
images_enabled?: boolean | undefined;
|
|
33
|
+
messages_per_day?: number | undefined;
|
|
34
|
+
time_variation_minutes?: number | undefined;
|
|
35
|
+
response_delay_min_minutes?: number | undefined;
|
|
36
|
+
response_delay_max_minutes?: number | undefined;
|
|
37
|
+
image_chance_percent?: number | undefined;
|
|
38
|
+
posts_to_react?: number | undefined;
|
|
39
|
+
max_accounts_per_channel_reaction?: number | undefined;
|
|
40
|
+
pairing_hour_utc?: number | undefined;
|
|
41
|
+
hourly_interval_hours?: number | undefined;
|
|
42
|
+
reaction_types?: string[] | undefined;
|
|
43
|
+
reaction_hours_utc?: number[] | undefined;
|
|
44
|
+
workspace_id?: string | undefined;
|
|
45
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
46
|
+
account_id: string;
|
|
47
|
+
is_warming_up: boolean;
|
|
48
|
+
channel_id: string;
|
|
49
|
+
workspace_id?: string | undefined;
|
|
50
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
51
|
+
workspace_id?: string | undefined;
|
|
52
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
53
|
+
workspace_id?: string | undefined;
|
|
54
|
+
agent_id?: string | undefined;
|
|
55
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
56
|
+
agent_id: string;
|
|
57
|
+
limit?: number | undefined;
|
|
58
|
+
cursor?: string | undefined;
|
|
59
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
60
|
+
agent_id: string;
|
|
61
|
+
workspace_id?: string | undefined;
|
|
62
|
+
period_from?: string | undefined;
|
|
63
|
+
period_to?: string | undefined;
|
|
64
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
65
|
+
idempotency_key: string;
|
|
66
|
+
explicit_confirmation: true;
|
|
67
|
+
confirmation_reason: string;
|
|
68
|
+
workspace_id?: string | undefined;
|
|
69
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
70
|
+
idempotency_key: string;
|
|
71
|
+
workspace_id?: string | undefined;
|
|
72
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
73
|
+
run_id: string;
|
|
74
|
+
workspace_id?: string | undefined;
|
|
75
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2
76
|
name: string;
|
|
3
77
|
source: "from_dialogues" | "from_files" | "from_scratch";
|
|
4
78
|
workspace_id?: string | undefined;
|
|
5
79
|
description?: string | undefined;
|
|
6
80
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
7
81
|
icp_id: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
82
|
+
request_key: string;
|
|
83
|
+
mode: "text" | "audio";
|
|
84
|
+
gdpr_confirmed: true;
|
|
85
|
+
source?: {
|
|
86
|
+
kind: "stored_crm_dialogues";
|
|
87
|
+
crmConnectionId: string;
|
|
88
|
+
outcomeFilter?: ("unknown" | "won" | "lost" | "in_progress")[] | undefined;
|
|
89
|
+
daysAgo?: number | undefined;
|
|
90
|
+
} | {
|
|
91
|
+
kind: "bitrix_open_lines";
|
|
92
|
+
crmConnectionId: string;
|
|
93
|
+
createdFrom: string;
|
|
94
|
+
createdTo: string;
|
|
95
|
+
categoryId?: number | undefined;
|
|
96
|
+
continuationStart?: number | undefined;
|
|
97
|
+
} | {
|
|
98
|
+
kind: "amocrm_calls";
|
|
99
|
+
crmConnectionId: string;
|
|
100
|
+
leadIds: string[];
|
|
101
|
+
defaultOutcome?: "unknown" | "won" | "lost" | "in_progress" | undefined;
|
|
102
|
+
} | {
|
|
103
|
+
kind: "onlinepbx_calls";
|
|
104
|
+
startedFrom: string;
|
|
105
|
+
startedTo: string;
|
|
106
|
+
trunkId?: string | undefined;
|
|
107
|
+
minTalkTimeSec?: number | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
kind: "xlsx_upload";
|
|
110
|
+
storedFileId: string;
|
|
111
|
+
crmConnectionId: string;
|
|
112
|
+
sheets?: {
|
|
113
|
+
sheetIndex: number;
|
|
114
|
+
outcome: "won" | "lost";
|
|
115
|
+
}[] | undefined;
|
|
116
|
+
} | undefined;
|
|
12
117
|
crm_connection_id?: string | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
118
|
+
outcome_filter?: ("unknown" | "won" | "lost" | "in_progress")[] | undefined;
|
|
119
|
+
days_ago?: number | undefined;
|
|
120
|
+
anonymize?: true | undefined;
|
|
121
|
+
audio_source_type?: "amocrm_calls" | "bitrix_open_lines" | "onlinepbx_calls" | "xlsx_upload" | "bitrix_openlines" | "onlinepbx_direct" | "amocrm_leads" | undefined;
|
|
15
122
|
audio_source_config?: {
|
|
16
|
-
|
|
123
|
+
crmConnectionId?: string | undefined;
|
|
124
|
+
storedFileId?: string | undefined;
|
|
125
|
+
leadIds?: string[] | undefined;
|
|
126
|
+
defaultOutcome?: "unknown" | "won" | "lost" | "in_progress" | undefined;
|
|
127
|
+
startDate?: string | undefined;
|
|
128
|
+
endDate?: string | undefined;
|
|
129
|
+
createdFrom?: string | undefined;
|
|
130
|
+
createdTo?: string | undefined;
|
|
131
|
+
startedFrom?: string | undefined;
|
|
132
|
+
startedTo?: string | undefined;
|
|
133
|
+
categoryId?: number | undefined;
|
|
134
|
+
continuationStart?: number | undefined;
|
|
135
|
+
trunkId?: string | undefined;
|
|
136
|
+
minTalkTimeSec?: number | undefined;
|
|
137
|
+
sheets?: {
|
|
138
|
+
sheetIndex: number;
|
|
139
|
+
outcome: "won" | "lost";
|
|
140
|
+
}[] | undefined;
|
|
17
141
|
} | undefined;
|
|
18
|
-
|
|
142
|
+
continuation_run_id?: string | undefined;
|
|
143
|
+
language?: "auto" | "kk-KZ" | "ru-RU" | "uz-UZ" | undefined;
|
|
144
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
145
|
+
icp_id: string;
|
|
146
|
+
request_key: string;
|
|
147
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
148
|
+
icp_id: string;
|
|
149
|
+
cursor?: string | undefined;
|
|
150
|
+
limit?: number | undefined;
|
|
19
151
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
20
152
|
run_id: string;
|
|
21
153
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -64,15 +196,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
64
196
|
sample_id: string;
|
|
65
197
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
66
198
|
agent_id: string;
|
|
199
|
+
output_language?: string | undefined;
|
|
67
200
|
icp_profile_id?: string | undefined;
|
|
68
201
|
business_context?: {
|
|
69
202
|
[x: string]: unknown;
|
|
70
203
|
} | undefined;
|
|
71
204
|
style_hints?: {
|
|
72
205
|
language: "ru" | "en";
|
|
73
|
-
formality?: "
|
|
74
|
-
verbosity?: "
|
|
75
|
-
message_direction?: "
|
|
206
|
+
formality?: "casual" | "formal" | "friendly" | undefined;
|
|
207
|
+
verbosity?: "detailed" | "balanced" | "concise" | undefined;
|
|
208
|
+
message_direction?: "OUTBOUND" | "INBOUND" | undefined;
|
|
76
209
|
} | undefined;
|
|
77
210
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
78
211
|
final_content: string | undefined;
|
|
@@ -91,7 +224,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
91
224
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
92
225
|
agent_id: string;
|
|
93
226
|
version_id: string;
|
|
94
|
-
modes: ("grammar" | "
|
|
227
|
+
modes: ("grammar" | "structure" | "industry" | "contradictions" | "completeness")[];
|
|
228
|
+
source_language?: string | undefined;
|
|
95
229
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
96
230
|
aggregated_issues: {
|
|
97
231
|
[x: string]: unknown;
|
|
@@ -99,7 +233,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
99
233
|
agent_id: string;
|
|
100
234
|
operation_id: string;
|
|
101
235
|
stages: {
|
|
102
|
-
name: "grammar" | "
|
|
236
|
+
name: "grammar" | "structure" | "industry" | "aggregation";
|
|
103
237
|
output: {
|
|
104
238
|
[x: string]: unknown;
|
|
105
239
|
};
|
|
@@ -124,16 +258,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
124
258
|
max_turns?: number | undefined;
|
|
125
259
|
} | undefined;
|
|
126
260
|
} | undefined;
|
|
127
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
128
|
-
agent_id: string;
|
|
129
|
-
limit?: number | undefined;
|
|
130
|
-
cursor?: string | undefined;
|
|
131
261
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
132
262
|
run_id: string;
|
|
133
263
|
reviewed_issues: {
|
|
134
264
|
scenario_id?: string | undefined;
|
|
135
265
|
turn_index?: number | undefined;
|
|
136
|
-
category?: "
|
|
266
|
+
category?: "hallucination" | "wrong_action" | "missed_context" | "bad_tone" | "other" | undefined;
|
|
137
267
|
description?: string | undefined;
|
|
138
268
|
}[];
|
|
139
269
|
general_comments?: string | undefined;
|
|
@@ -145,8 +275,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
145
275
|
run_id: string;
|
|
146
276
|
operation_id: string;
|
|
147
277
|
findings: {
|
|
148
|
-
category: "
|
|
149
|
-
severity: "
|
|
278
|
+
category: "hallucination" | "wrong_action" | "wrong_routing" | "missed_context" | "rag_miss" | "bad_tone" | "other";
|
|
279
|
+
severity: "low" | "medium" | "critical";
|
|
150
280
|
scenario_id?: string | undefined;
|
|
151
281
|
scenarioId?: string | undefined;
|
|
152
282
|
description?: string | undefined;
|
|
@@ -164,8 +294,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
164
294
|
agent_id: string;
|
|
165
295
|
operation_id: string;
|
|
166
296
|
findings: {
|
|
167
|
-
category: "
|
|
168
|
-
severity: "
|
|
297
|
+
category: "hallucination" | "wrong_action" | "missed_context" | "bad_tone" | "other" | "contradiction" | "off_topic";
|
|
298
|
+
severity: "low" | "medium" | "critical";
|
|
169
299
|
message: string;
|
|
170
300
|
dialogue_id?: string | undefined;
|
|
171
301
|
dialogueId?: string | undefined;
|
|
@@ -203,13 +333,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
203
333
|
segment_ids: string[] | undefined;
|
|
204
334
|
name: string;
|
|
205
335
|
situations: {
|
|
206
|
-
role: "
|
|
336
|
+
role: "agent" | "client";
|
|
207
337
|
text: string;
|
|
208
338
|
expect?: {
|
|
209
|
-
|
|
210
|
-
noTriggers?: string[] | undefined;
|
|
211
|
-
tools?: string[] | undefined;
|
|
212
|
-
noTools?: string[] | undefined;
|
|
339
|
+
noTools?: "call_operator"[] | undefined;
|
|
213
340
|
answerContains?: string[] | undefined;
|
|
214
341
|
answerNotContains?: string[] | undefined;
|
|
215
342
|
} | undefined;
|
|
@@ -240,11 +367,148 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
240
367
|
condition?: string | null | undefined;
|
|
241
368
|
}[];
|
|
242
369
|
};
|
|
243
|
-
preamble?: string | undefined;
|
|
370
|
+
preamble?: string | null | undefined;
|
|
371
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
372
|
+
platform_id: string;
|
|
373
|
+
operation: "set" | "get";
|
|
374
|
+
workspace_id?: string | undefined;
|
|
375
|
+
rebind_policy?: "escalate" | "rebind" | undefined;
|
|
376
|
+
idempotency_key?: string | undefined;
|
|
377
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
378
|
+
platform_id: string;
|
|
379
|
+
name: string;
|
|
380
|
+
model_lane: "CHEAP" | "STANDARD" | "DEEP";
|
|
381
|
+
description?: string | null | undefined;
|
|
382
|
+
model?: string | undefined;
|
|
383
|
+
default_icp_profile_id?: string | undefined;
|
|
384
|
+
agent_variable_overrides?: {
|
|
385
|
+
custom_variable_id: string;
|
|
386
|
+
override_value: string | number | boolean;
|
|
387
|
+
}[] | undefined;
|
|
388
|
+
agent_workspace_variable_overrides?: {
|
|
389
|
+
workspace_variable_id: string;
|
|
390
|
+
override_value: string | number | boolean;
|
|
391
|
+
}[] | undefined;
|
|
392
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
393
|
+
platform_id: string;
|
|
394
|
+
source_agent_id: string;
|
|
395
|
+
name: string;
|
|
396
|
+
display_name?: string | undefined;
|
|
397
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
398
|
+
platform_id: string;
|
|
399
|
+
agent_id: string;
|
|
400
|
+
expected_version?: string | undefined;
|
|
401
|
+
expected_routing_version?: string | undefined;
|
|
402
|
+
name?: string | undefined;
|
|
403
|
+
description?: string | null | undefined;
|
|
404
|
+
model_lane?: "CHEAP" | "STANDARD" | "DEEP" | undefined;
|
|
405
|
+
model?: string | undefined;
|
|
406
|
+
default_icp_profile_id?: string | null | undefined;
|
|
407
|
+
use_global_history?: boolean | undefined;
|
|
408
|
+
adapt_to_user_language?: boolean | undefined;
|
|
409
|
+
runtime_config?: {
|
|
410
|
+
temperature?: number | undefined;
|
|
411
|
+
max_tokens?: number | undefined;
|
|
412
|
+
memory_history_size?: number | undefined;
|
|
413
|
+
rag_top_k?: number | undefined;
|
|
414
|
+
rag_min_score?: number | undefined;
|
|
415
|
+
qa_min_score?: number | undefined;
|
|
416
|
+
qa_context_limit?: number | undefined;
|
|
417
|
+
max_response_symbols?: number | undefined;
|
|
418
|
+
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
419
|
+
verbosity?: "low" | "medium" | "high" | undefined;
|
|
420
|
+
enable_thinking?: boolean | undefined;
|
|
421
|
+
timezone?: string | undefined;
|
|
422
|
+
language_code?: string | undefined;
|
|
423
|
+
summarize_every?: number | undefined;
|
|
424
|
+
summary_max_size?: number | undefined;
|
|
425
|
+
use_summary?: boolean | undefined;
|
|
426
|
+
include_crm_fields_in_memory?: boolean | undefined;
|
|
427
|
+
include_trigger_context?: boolean | undefined;
|
|
428
|
+
} | undefined;
|
|
429
|
+
output_config?: {
|
|
430
|
+
display_name?: string | undefined;
|
|
431
|
+
response_mode?: "TEXT" | "SILENT" | undefined;
|
|
432
|
+
button_generator?: {
|
|
433
|
+
enabled?: boolean | undefined;
|
|
434
|
+
max_buttons?: number | undefined;
|
|
435
|
+
keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
436
|
+
dynamic?: boolean | undefined;
|
|
437
|
+
} | undefined;
|
|
438
|
+
} | undefined;
|
|
439
|
+
knowledge_space_ids?: string[] | undefined;
|
|
440
|
+
agent_scope?: "other" | "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" | undefined;
|
|
441
|
+
agent_variable_overrides?: {
|
|
442
|
+
custom_variable_id: string;
|
|
443
|
+
override_value: string | number | boolean;
|
|
444
|
+
}[] | undefined;
|
|
445
|
+
agent_workspace_variable_overrides?: {
|
|
446
|
+
workspace_variable_id: string;
|
|
447
|
+
override_value: string | number | boolean;
|
|
448
|
+
}[] | undefined;
|
|
449
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
450
|
+
platform_id: string;
|
|
451
|
+
agent_id: string;
|
|
452
|
+
tools: {
|
|
453
|
+
tool_id: string;
|
|
454
|
+
priority?: number | undefined;
|
|
455
|
+
is_enabled?: boolean | undefined;
|
|
456
|
+
agent_specific_conditions?: {
|
|
457
|
+
[x: string]: unknown;
|
|
458
|
+
} | null | undefined;
|
|
459
|
+
}[];
|
|
460
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
461
|
+
platform_id: string;
|
|
462
|
+
agent_id: string;
|
|
463
|
+
explicit_confirmation?: boolean | undefined;
|
|
464
|
+
confirmation_reason?: string | undefined;
|
|
465
|
+
arguments?: {
|
|
466
|
+
label: string;
|
|
467
|
+
description: string;
|
|
468
|
+
type: "TEXT" | "BOOLEAN" | "DATETIME" | "NUMBER";
|
|
469
|
+
key?: string | undefined;
|
|
470
|
+
required?: boolean | undefined;
|
|
471
|
+
}[] | undefined;
|
|
472
|
+
scope?: "ON_USER_MESSAGE" | undefined;
|
|
473
|
+
metadata?: {
|
|
474
|
+
[x: string]: unknown;
|
|
475
|
+
} | undefined;
|
|
476
|
+
actions?: unknown[] | undefined;
|
|
477
|
+
replace_actions?: boolean | undefined;
|
|
478
|
+
allow_repeated_calls?: boolean | undefined;
|
|
479
|
+
run_once_per_contact?: boolean | undefined;
|
|
480
|
+
trigger_id?: string | undefined;
|
|
481
|
+
trigger?: {
|
|
482
|
+
event: "AGENT_REPLY" | "CONTACT_MESSAGE" | "NEW_CONVERSATION" | "OPERATOR_REPLY";
|
|
483
|
+
condition?: {
|
|
484
|
+
schema_version: 1;
|
|
485
|
+
combinator: "AND" | "OR";
|
|
486
|
+
rules: {
|
|
487
|
+
[x: string]: unknown;
|
|
488
|
+
}[];
|
|
489
|
+
preset?: string | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
name?: string | undefined;
|
|
493
|
+
condition?: string | undefined;
|
|
494
|
+
is_enabled?: boolean | undefined;
|
|
495
|
+
priority?: number | undefined;
|
|
496
|
+
stop_propagation?: boolean | undefined;
|
|
497
|
+
instagram_comment_kind?: "COMPLAINT" | null | undefined;
|
|
498
|
+
allow_repeat_in_conversation?: boolean | undefined;
|
|
499
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
500
|
+
platform_id: string;
|
|
501
|
+
sequence_id: string;
|
|
502
|
+
step_index: number;
|
|
503
|
+
content: string;
|
|
504
|
+
expected_content: string;
|
|
505
|
+
expected_version?: string | undefined;
|
|
244
506
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
245
507
|
platform_id: string;
|
|
246
508
|
sequence_id?: string | undefined;
|
|
247
509
|
include_config?: boolean | undefined;
|
|
510
|
+
limit?: number | undefined;
|
|
511
|
+
cursor?: string | undefined;
|
|
248
512
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
249
513
|
platform_id: string;
|
|
250
514
|
sequence_id: string;
|
|
@@ -255,38 +519,42 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
255
519
|
from: string;
|
|
256
520
|
to: string;
|
|
257
521
|
sequence_id?: string[] | undefined;
|
|
258
|
-
horizon_minutes?:
|
|
259
|
-
run_window_days?: 1 | 3 |
|
|
522
|
+
horizon_minutes?: 60 | 30 | 90 | 180 | 1440 | 360 | 720 | undefined;
|
|
523
|
+
run_window_days?: 1 | 3 | 7 | 5 | 14 | undefined;
|
|
524
|
+
only_replied_contacts?: boolean | undefined;
|
|
260
525
|
segment?: string[] | undefined;
|
|
261
526
|
product?: string[] | undefined;
|
|
262
|
-
channel?:
|
|
527
|
+
channel?: ("SMS" | "VK" | "MAX" | "EMAIL" | "WHATSAPP" | "SITE" | "TELEGRAM" | "FACEBOOK" | "CHATIUM" | "VIBER")[] | undefined;
|
|
528
|
+
mailing_variant_id?: string[] | undefined;
|
|
529
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
530
|
+
intent: "AUDIT_DIALOGUES" | "CAMPAIGN_REPORT" | "CONFIGURE_FOLLOWUP" | "CONNECT_CRM" | "CONNECT_DATASOURCE" | "CONTINUE_TASK" | "CREATE_BOT" | "DIAGNOSE_CONTACT" | "FREEFORM" | "IMPROVE_AGENT";
|
|
531
|
+
workspace_id?: string | undefined;
|
|
532
|
+
bot_type?: "OUTBOUND" | "UNKNOWN" | "SUPPORT" | "FAQ" | "BOOKING" | "SALES" | undefined;
|
|
533
|
+
platform_id?: string | undefined;
|
|
534
|
+
agent_id?: string | undefined;
|
|
535
|
+
contact_id?: string | undefined;
|
|
536
|
+
task_id?: string | undefined;
|
|
537
|
+
question?: string | undefined;
|
|
263
538
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
264
539
|
platform_id: string;
|
|
265
|
-
|
|
266
|
-
type: "MEETING_REMINDER" | "INACTIVE_USER_REACTIVATION" | "LOST_CLIENTS";
|
|
267
|
-
trigger: "LOST_CLIENTS" | "USER_INACTIVITY" | "DEAL_CLOSED" | "BIRTHDAY_DATE" | "MEETING_TIME" | "CUSTOM_SCHEDULE";
|
|
268
|
-
config: {
|
|
269
|
-
[x: string]: unknown;
|
|
270
|
-
};
|
|
271
|
-
explicit_confirmation?: boolean | undefined;
|
|
272
|
-
confirmation_reason?: string | undefined;
|
|
273
|
-
sequence_id?: string | undefined;
|
|
274
|
-
description?: string | null | undefined;
|
|
275
|
-
enabled?: boolean | undefined;
|
|
540
|
+
sections?: ("behavior" | "router" | "platform" | "agent_summaries" | "agents_full" | "follow_up" | "pipeline_settings" | "readiness")[] | undefined;
|
|
276
541
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
277
542
|
platform_id: string;
|
|
278
|
-
|
|
279
|
-
|
|
543
|
+
action_type?: string | undefined;
|
|
544
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
545
|
+
platform_id: string;
|
|
546
|
+
limit?: number | undefined;
|
|
547
|
+
cursor?: string | undefined;
|
|
548
|
+
query?: string | undefined;
|
|
549
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
550
|
+
platform_id: string;
|
|
551
|
+
agent_id: string;
|
|
280
552
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
281
553
|
platform_id: string;
|
|
282
|
-
sequence_id: string;
|
|
283
|
-
step_index: number;
|
|
284
|
-
content: string;
|
|
285
|
-
expected_content: string;
|
|
286
554
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
287
555
|
platform_id: string;
|
|
288
556
|
crm_id: string;
|
|
289
|
-
channels:
|
|
557
|
+
channels: string[];
|
|
290
558
|
contacts: {
|
|
291
559
|
contact_id: string;
|
|
292
560
|
deal_id?: string | undefined;
|
|
@@ -300,7 +568,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
300
568
|
segment_entered_at?: string | undefined;
|
|
301
569
|
}[];
|
|
302
570
|
workspace_id?: string | undefined;
|
|
303
|
-
launch_type?: "status" | "
|
|
571
|
+
launch_type?: "status" | "group" | "board" | undefined;
|
|
304
572
|
funnel?: string | undefined;
|
|
305
573
|
segment?: string | undefined;
|
|
306
574
|
segment_description?: string | undefined;
|
|
@@ -328,10 +596,25 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
328
596
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
329
597
|
job_id: string;
|
|
330
598
|
workspace_id?: string | undefined;
|
|
599
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
600
|
+
platform_id: string;
|
|
601
|
+
contacts: {
|
|
602
|
+
contact_id: string;
|
|
603
|
+
deal_id?: string | undefined;
|
|
604
|
+
dialog_id?: string | undefined;
|
|
605
|
+
transport?: string | undefined;
|
|
606
|
+
email?: string | undefined;
|
|
607
|
+
phone?: string | undefined;
|
|
608
|
+
first_name?: string | undefined;
|
|
609
|
+
last_name?: string | undefined;
|
|
610
|
+
}[];
|
|
611
|
+
workspace_id?: string | undefined;
|
|
612
|
+
check_messenger_presence?: boolean | undefined;
|
|
613
|
+
channels?: string[] | undefined;
|
|
331
614
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
332
615
|
platform_id: string;
|
|
333
616
|
crm_id: string;
|
|
334
|
-
channels:
|
|
617
|
+
channels: string[];
|
|
335
618
|
contacts: {
|
|
336
619
|
contact_id: string;
|
|
337
620
|
deal_id?: string | undefined;
|
|
@@ -375,10 +658,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
375
658
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
376
659
|
run_id: string;
|
|
377
660
|
workspace_id?: string | undefined;
|
|
378
|
-
|
|
379
|
-
run_id: string;
|
|
380
|
-
workspace_id?: string | undefined;
|
|
381
|
-
status?: "PENDING" | "CLAIMED" | "SENT" | "SKIPPED" | "FAILED" | "UNKNOWN" | undefined;
|
|
661
|
+
status?: "PENDING" | "UNKNOWN" | "FAILED" | "SKIPPED" | "SENT" | "CLAIMED" | undefined;
|
|
382
662
|
cursor?: string | undefined;
|
|
383
663
|
limit?: number | undefined;
|
|
384
664
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -398,7 +678,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
398
678
|
lead_last_active_at?: string | undefined;
|
|
399
679
|
segment_entered_at?: string | undefined;
|
|
400
680
|
}[];
|
|
401
|
-
channels:
|
|
681
|
+
channels: string[];
|
|
402
682
|
deal_fields: Record<string, string | number | boolean | null>;
|
|
403
683
|
launch_type?: "status" | undefined;
|
|
404
684
|
funnel?: string | undefined;
|
|
@@ -429,33 +709,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
429
709
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
430
710
|
batch_id: string;
|
|
431
711
|
workspace_id?: string | undefined;
|
|
432
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
433
|
-
workspace_id?: string | undefined;
|
|
434
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
435
|
-
intent: "CREATE_BOT" | "IMPROVE_AGENT" | "DIAGNOSE_CONTACT" | "AUDIT_DIALOGUES" | "CAMPAIGN_REPORT" | "CONNECT_CRM" | "CONNECT_DATASOURCE" | "CONFIGURE_FOLLOWUP" | "CONTINUE_TASK" | "FREEFORM";
|
|
436
|
-
workspace_id?: string | undefined;
|
|
437
|
-
bot_type?: "OUTBOUND" | "UNKNOWN" | "FAQ" | "SALES" | "BOOKING" | "SUPPORT" | undefined;
|
|
438
|
-
platform_id?: string | undefined;
|
|
439
|
-
agent_id?: string | undefined;
|
|
440
|
-
contact_id?: string | undefined;
|
|
441
|
-
task_id?: string | undefined;
|
|
442
|
-
question?: string | undefined;
|
|
443
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
444
|
-
platform_id: string;
|
|
445
|
-
sections?: ("follow_up" | "platform" | "behavior" | "router" | "agent_summaries" | "agents_full" | "pipeline_settings" | "readiness")[] | undefined;
|
|
446
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
447
|
-
platform_id: string;
|
|
448
|
-
action_type?: string | undefined;
|
|
449
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
450
|
-
platform_id: string;
|
|
451
|
-
limit?: number | undefined;
|
|
452
|
-
cursor?: string | undefined;
|
|
453
|
-
query?: string | undefined;
|
|
454
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
455
|
-
platform_id: string;
|
|
456
|
-
agent_id: string;
|
|
457
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
458
|
-
platform_id: string;
|
|
459
712
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
460
713
|
platform_id: string;
|
|
461
714
|
workspace_id?: string | undefined;
|
|
@@ -477,90 +730,19 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
477
730
|
explicit_confirmation?: true | undefined;
|
|
478
731
|
confirmation_reason?: string | undefined;
|
|
479
732
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
480
|
-
platform_id: string;
|
|
481
|
-
name: string;
|
|
482
|
-
model_lane: "CHEAP" | "STANDARD" | "DEEP";
|
|
483
|
-
description?: string | null | undefined;
|
|
484
|
-
model?: string | undefined;
|
|
485
|
-
default_icp_profile_id?: string | undefined;
|
|
486
|
-
agent_variable_overrides?: {
|
|
487
|
-
custom_variable_id: string;
|
|
488
|
-
override_value: string | number | boolean;
|
|
489
|
-
}[] | undefined;
|
|
490
|
-
agent_workspace_variable_overrides?: {
|
|
491
|
-
workspace_variable_id: string;
|
|
492
|
-
override_value: string | number | boolean;
|
|
493
|
-
}[] | undefined;
|
|
494
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
495
|
-
platform_id: string;
|
|
496
|
-
source_agent_id: string;
|
|
497
|
-
name: string;
|
|
498
|
-
display_name?: string | undefined;
|
|
499
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
500
|
-
platform_id: string;
|
|
501
733
|
agent_id: string;
|
|
502
|
-
|
|
503
|
-
description?: string | null | undefined;
|
|
504
|
-
model_lane?: "CHEAP" | "STANDARD" | "DEEP" | undefined;
|
|
505
|
-
model?: string | undefined;
|
|
506
|
-
default_icp_profile_id?: string | null | undefined;
|
|
507
|
-
use_global_history?: boolean | undefined;
|
|
508
|
-
adapt_to_user_language?: boolean | undefined;
|
|
509
|
-
runtime_config?: {
|
|
510
|
-
temperature?: number | undefined;
|
|
511
|
-
max_tokens?: number | undefined;
|
|
512
|
-
memory_history_size?: number | undefined;
|
|
513
|
-
rag_top_k?: number | undefined;
|
|
514
|
-
rag_min_score?: number | undefined;
|
|
515
|
-
qa_min_score?: number | undefined;
|
|
516
|
-
qa_context_limit?: number | undefined;
|
|
517
|
-
max_response_symbols?: number | undefined;
|
|
518
|
-
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
519
|
-
verbosity?: "low" | "medium" | "high" | undefined;
|
|
520
|
-
enable_thinking?: boolean | undefined;
|
|
521
|
-
timezone?: string | undefined;
|
|
522
|
-
language_code?: string | undefined;
|
|
523
|
-
summarize_every?: number | undefined;
|
|
524
|
-
summary_max_size?: number | undefined;
|
|
525
|
-
use_summary?: boolean | undefined;
|
|
526
|
-
include_crm_fields_in_memory?: boolean | undefined;
|
|
527
|
-
include_trigger_context?: boolean | undefined;
|
|
528
|
-
} | undefined;
|
|
529
|
-
output_config?: {
|
|
530
|
-
display_name?: string | undefined;
|
|
531
|
-
response_mode?: "SILENT" | "TEXT" | undefined;
|
|
532
|
-
button_generator?: {
|
|
533
|
-
enabled?: boolean | undefined;
|
|
534
|
-
max_buttons?: number | undefined;
|
|
535
|
-
keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
536
|
-
dynamic?: boolean | undefined;
|
|
537
|
-
} | undefined;
|
|
538
|
-
} | undefined;
|
|
539
|
-
knowledge_space_ids?: string[] | undefined;
|
|
540
|
-
agent_scope?: "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" | "other" | undefined;
|
|
541
|
-
agent_variable_overrides?: {
|
|
542
|
-
custom_variable_id: string;
|
|
543
|
-
override_value: string | number | boolean;
|
|
544
|
-
}[] | undefined;
|
|
545
|
-
agent_workspace_variable_overrides?: {
|
|
546
|
-
workspace_variable_id: string;
|
|
547
|
-
override_value: string | number | boolean;
|
|
548
|
-
}[] | undefined;
|
|
734
|
+
source_url: string;
|
|
549
735
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
550
|
-
platform_id: string;
|
|
551
736
|
agent_id: string;
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
agent_specific_conditions?: {
|
|
557
|
-
[x: string]: unknown;
|
|
558
|
-
} | null | undefined;
|
|
559
|
-
}[];
|
|
737
|
+
source_url: string;
|
|
738
|
+
access_mode: "READ_ONLY" | "EDITABLE";
|
|
739
|
+
confirm_document_access_change: true;
|
|
740
|
+
expected_document_snapshot: string;
|
|
560
741
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
561
742
|
platform_id: string;
|
|
562
743
|
explicit_confirmation?: boolean | undefined;
|
|
563
744
|
confirmation_reason?: string | undefined;
|
|
745
|
+
expected_version?: string | undefined;
|
|
564
746
|
name?: string | undefined;
|
|
565
747
|
model?: string | undefined;
|
|
566
748
|
temperature?: number | undefined;
|
|
@@ -575,6 +757,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
575
757
|
custom_router_prompt: string;
|
|
576
758
|
explicit_confirmation?: boolean | undefined;
|
|
577
759
|
confirmation_reason?: string | undefined;
|
|
760
|
+
expected_version?: string | undefined;
|
|
578
761
|
routing_rule_id?: string | undefined;
|
|
579
762
|
deal_mode?: string | null | undefined;
|
|
580
763
|
custom_variable_id?: string | null | undefined;
|
|
@@ -595,27 +778,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
595
778
|
variable_value?: string | undefined;
|
|
596
779
|
}[] | undefined;
|
|
597
780
|
condition_logic?: "ALL" | "ANY" | undefined;
|
|
598
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
599
|
-
platform_id: string;
|
|
600
|
-
agent_id: string;
|
|
601
|
-
explicit_confirmation?: boolean | undefined;
|
|
602
|
-
confirmation_reason?: string | undefined;
|
|
603
|
-
trigger_id?: string | undefined;
|
|
604
|
-
name?: string | undefined;
|
|
605
|
-
condition?: string | undefined;
|
|
606
|
-
is_enabled?: boolean | undefined;
|
|
607
|
-
priority?: number | undefined;
|
|
608
|
-
stop_propagation?: boolean | undefined;
|
|
609
|
-
allow_repeated_calls?: boolean | undefined;
|
|
610
|
-
run_once_per_contact?: boolean | undefined;
|
|
611
|
-
scope?: "ON_USER_MESSAGE" | undefined;
|
|
612
|
-
metadata?: {
|
|
613
|
-
[x: string]: unknown;
|
|
614
|
-
} | undefined;
|
|
615
|
-
actions?: {
|
|
616
|
-
[x: string]: unknown;
|
|
617
|
-
}[] | undefined;
|
|
618
|
-
replace_actions?: boolean | undefined;
|
|
619
781
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
620
782
|
platform_id: string;
|
|
621
783
|
agent_id: string;
|
|
@@ -626,7 +788,20 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
626
788
|
platform_id: string;
|
|
627
789
|
explicit_confirmation?: boolean | undefined;
|
|
628
790
|
confirmation_reason?: string | undefined;
|
|
791
|
+
expected_version?: string | undefined;
|
|
629
792
|
greeting?: {
|
|
793
|
+
text?: string | undefined;
|
|
794
|
+
file_id?: string | null | undefined;
|
|
795
|
+
buttons?: {
|
|
796
|
+
id: string;
|
|
797
|
+
label: string;
|
|
798
|
+
text: string;
|
|
799
|
+
order: number;
|
|
800
|
+
}[] | undefined;
|
|
801
|
+
keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
802
|
+
popup_delay_seconds?: number | undefined;
|
|
803
|
+
send_off_message_when_ai_disabled?: boolean | undefined;
|
|
804
|
+
schema_version?: 1 | undefined;
|
|
630
805
|
bot_greeting?: string | undefined;
|
|
631
806
|
greeting_file_id?: string | null | undefined;
|
|
632
807
|
greeting_buttons?: {
|
|
@@ -636,119 +811,200 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
636
811
|
order: number;
|
|
637
812
|
}[] | undefined;
|
|
638
813
|
greeting_buttons_keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
639
|
-
popup_delay_seconds?: number | undefined;
|
|
640
814
|
} | undefined;
|
|
641
815
|
media_handling?: {
|
|
642
816
|
image?: {
|
|
643
|
-
|
|
644
|
-
fixed_response_text?: string | undefined;
|
|
817
|
+
fixed_response_text?: string | null | undefined;
|
|
645
818
|
call_operator?: boolean | undefined;
|
|
646
|
-
operator_comment?: string | undefined;
|
|
819
|
+
operator_comment?: string | null | undefined;
|
|
820
|
+
behavior?: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE" | undefined;
|
|
647
821
|
} | undefined;
|
|
648
822
|
video?: {
|
|
649
|
-
|
|
650
|
-
fixed_response_text?: string | undefined;
|
|
823
|
+
fixed_response_text?: string | null | undefined;
|
|
651
824
|
call_operator?: boolean | undefined;
|
|
652
|
-
operator_comment?: string | undefined;
|
|
825
|
+
operator_comment?: string | null | undefined;
|
|
826
|
+
behavior?: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE" | undefined;
|
|
653
827
|
} | undefined;
|
|
654
828
|
audio?: {
|
|
655
|
-
|
|
656
|
-
fixed_response_text?: string | undefined;
|
|
829
|
+
fixed_response_text?: string | null | undefined;
|
|
657
830
|
call_operator?: boolean | undefined;
|
|
658
|
-
operator_comment?: string | undefined;
|
|
831
|
+
operator_comment?: string | null | undefined;
|
|
832
|
+
behavior?: "SILENT" | "FIXED_RESPONSE" | undefined;
|
|
659
833
|
} | undefined;
|
|
660
834
|
document?: {
|
|
661
|
-
|
|
662
|
-
fixed_response_text?: string | undefined;
|
|
835
|
+
fixed_response_text?: string | null | undefined;
|
|
663
836
|
call_operator?: boolean | undefined;
|
|
664
|
-
operator_comment?: string | undefined;
|
|
837
|
+
operator_comment?: string | null | undefined;
|
|
838
|
+
behavior?: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE" | undefined;
|
|
665
839
|
} | undefined;
|
|
840
|
+
schema_version?: 1 | undefined;
|
|
841
|
+
} | undefined;
|
|
842
|
+
unsupported_input_handling?: {
|
|
843
|
+
behavior?: "SILENT" | "FIXED_RESPONSE" | "AS_TEXT" | undefined;
|
|
844
|
+
fixed_response_text?: string | null | undefined;
|
|
845
|
+
call_operator?: boolean | undefined;
|
|
846
|
+
operator_comment?: string | null | undefined;
|
|
847
|
+
schema_version?: 1 | undefined;
|
|
666
848
|
} | undefined;
|
|
667
849
|
url_handling?: {
|
|
668
|
-
behavior
|
|
669
|
-
fixed_response_text?: string | undefined;
|
|
850
|
+
behavior?: "SILENT" | "FIXED_RESPONSE" | "PASS_THROUGH" | "PROCESS_WITH_CRAWLER" | undefined;
|
|
851
|
+
fixed_response_text?: string | null | undefined;
|
|
670
852
|
call_operator?: boolean | undefined;
|
|
671
|
-
operator_comment?: string | undefined;
|
|
853
|
+
operator_comment?: string | null | undefined;
|
|
672
854
|
use_youtube_data_api?: boolean | undefined;
|
|
855
|
+
schema_version?: 1 | undefined;
|
|
673
856
|
} | undefined;
|
|
674
857
|
error_handling?: {
|
|
675
858
|
ai_error_behavior?: "SILENT" | "SEND_ERROR_MESSAGE" | undefined;
|
|
676
|
-
|
|
677
|
-
|
|
859
|
+
custom_message?: string | null | undefined;
|
|
860
|
+
call_operator?: boolean | undefined;
|
|
861
|
+
ai_error_target?: {
|
|
862
|
+
status_id: string;
|
|
863
|
+
pipeline_id?: string | undefined;
|
|
864
|
+
} | null | undefined;
|
|
678
865
|
ai_error_target_stage_id?: number | null | undefined;
|
|
866
|
+
schema_version?: 1 | undefined;
|
|
867
|
+
ai_error_custom_message?: string | null | undefined;
|
|
868
|
+
call_operator_with_error?: boolean | undefined;
|
|
679
869
|
} | undefined;
|
|
680
870
|
operator_schedule?: {
|
|
681
871
|
enabled?: boolean | undefined;
|
|
682
872
|
availability?: {
|
|
683
|
-
|
|
873
|
+
MON?: {
|
|
684
874
|
active: boolean;
|
|
685
875
|
start_time?: string | undefined;
|
|
686
876
|
end_time?: string | undefined;
|
|
687
877
|
} | undefined;
|
|
688
|
-
|
|
878
|
+
TUE?: {
|
|
689
879
|
active: boolean;
|
|
690
880
|
start_time?: string | undefined;
|
|
691
881
|
end_time?: string | undefined;
|
|
692
882
|
} | undefined;
|
|
693
|
-
|
|
883
|
+
WED?: {
|
|
694
884
|
active: boolean;
|
|
695
885
|
start_time?: string | undefined;
|
|
696
886
|
end_time?: string | undefined;
|
|
697
887
|
} | undefined;
|
|
698
|
-
|
|
888
|
+
THU?: {
|
|
699
889
|
active: boolean;
|
|
700
890
|
start_time?: string | undefined;
|
|
701
891
|
end_time?: string | undefined;
|
|
702
892
|
} | undefined;
|
|
703
|
-
|
|
893
|
+
FRI?: {
|
|
704
894
|
active: boolean;
|
|
705
895
|
start_time?: string | undefined;
|
|
706
896
|
end_time?: string | undefined;
|
|
707
897
|
} | undefined;
|
|
708
|
-
|
|
898
|
+
SAT?: {
|
|
709
899
|
active: boolean;
|
|
710
900
|
start_time?: string | undefined;
|
|
711
901
|
end_time?: string | undefined;
|
|
712
902
|
} | undefined;
|
|
713
|
-
|
|
903
|
+
SUN?: {
|
|
714
904
|
active: boolean;
|
|
715
905
|
start_time?: string | undefined;
|
|
716
906
|
end_time?: string | undefined;
|
|
717
907
|
} | undefined;
|
|
718
908
|
} | undefined;
|
|
719
|
-
unavailable_message?: string | undefined;
|
|
720
|
-
bot_waiting_return_hours?: 0 | 1 | 12 | 3 |
|
|
909
|
+
unavailable_message?: string | null | undefined;
|
|
910
|
+
bot_waiting_return_hours?: 0 | 1 | 12 | 3 | 6 | -1 | 24 | undefined;
|
|
911
|
+
followup_waiting_return_hours?: number | undefined;
|
|
912
|
+
pause_agent_on_operator_reply?: boolean | undefined;
|
|
913
|
+
schema_version?: 1 | undefined;
|
|
721
914
|
follow_up_waiting_return_hours?: number | undefined;
|
|
722
915
|
skip_task_creation_on_call_operator?: boolean | undefined;
|
|
723
916
|
} | undefined;
|
|
724
917
|
typing_behavior?: {
|
|
918
|
+
typing_speed?: "medium" | "slow" | "fast" | "instant" | undefined;
|
|
725
919
|
waiting_answer_time?: number | undefined;
|
|
726
920
|
can_interrupt?: boolean | undefined;
|
|
727
|
-
|
|
728
|
-
|
|
921
|
+
fake_delay_ms?: number | undefined;
|
|
922
|
+
message_open_delay_ms?: number | undefined;
|
|
923
|
+
schema_version?: 1 | undefined;
|
|
729
924
|
fake_delay?: number | undefined;
|
|
730
925
|
message_open_delay?: number | undefined;
|
|
926
|
+
message_devide?: boolean | undefined;
|
|
731
927
|
go_offline?: string | undefined;
|
|
732
928
|
} | undefined;
|
|
733
929
|
message_filters?: {
|
|
734
930
|
id: string;
|
|
735
|
-
source: string;
|
|
736
|
-
target: string;
|
|
737
931
|
enabled: boolean;
|
|
738
932
|
order: number;
|
|
739
|
-
|
|
933
|
+
source: string;
|
|
934
|
+
target: string;
|
|
935
|
+
}[] | {
|
|
936
|
+
skip_task_creation_on_call_operator?: boolean | undefined;
|
|
937
|
+
schema_version?: 1 | undefined;
|
|
938
|
+
rules?: {
|
|
939
|
+
id: string;
|
|
940
|
+
enabled: boolean;
|
|
941
|
+
order: number;
|
|
942
|
+
source: string;
|
|
943
|
+
target: string;
|
|
944
|
+
}[] | undefined;
|
|
945
|
+
} | undefined;
|
|
740
946
|
message_splitting?: {
|
|
947
|
+
enabled?: boolean | undefined;
|
|
948
|
+
mode?: "PARAGRAPH" | "SEPARATOR" | undefined;
|
|
949
|
+
separator?: string | undefined;
|
|
950
|
+
max_chunk_size?: number | undefined;
|
|
951
|
+
delay_between_ms?: number | undefined;
|
|
952
|
+
schema_version?: 1 | undefined;
|
|
741
953
|
message_chunk_separator?: string | undefined;
|
|
742
954
|
} | undefined;
|
|
743
955
|
privacy?: {
|
|
744
956
|
anonymization_enabled?: boolean | undefined;
|
|
745
|
-
|
|
957
|
+
personalization_mode?: "OFF" | "SHADOW" | "ENABLED" | undefined;
|
|
746
958
|
anonymization_disabled_types?: ("PHONE" | "EMAIL" | "INN" | "PASSPORT" | "CARD" | "DATE_OF_BIRTH" | "ACCOUNT" | "SNILS" | "OGRN" | "OGRNIP" | "SOCIAL_ID")[] | undefined;
|
|
959
|
+
schema_version?: 1 | undefined;
|
|
960
|
+
contact_name_personalization_mode?: "OFF" | "SHADOW" | "ENABLED" | undefined;
|
|
961
|
+
} | undefined;
|
|
962
|
+
crm_behavior?: {
|
|
963
|
+
inbound_deal_filter?: {
|
|
964
|
+
enabled: boolean;
|
|
965
|
+
type: "NONE" | "TAG" | "CUSTOM_FIELD";
|
|
966
|
+
value?: string | null | undefined;
|
|
967
|
+
field_id?: string | null | undefined;
|
|
968
|
+
} | undefined;
|
|
969
|
+
schema_version?: 1 | undefined;
|
|
747
970
|
} | undefined;
|
|
971
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
972
|
+
platform_id: string;
|
|
973
|
+
name: string;
|
|
974
|
+
type: "MEETING_REMINDER" | "INACTIVE_USER_REACTIVATION" | "LOST_CLIENTS";
|
|
975
|
+
trigger: "LOST_CLIENTS" | "USER_INACTIVITY" | "DEAL_CLOSED" | "BIRTHDAY_DATE" | "MEETING_TIME" | "CUSTOM_SCHEDULE";
|
|
976
|
+
config: {
|
|
977
|
+
[x: string]: unknown;
|
|
978
|
+
assign_responsible_operator_ids?: string[] | null | undefined;
|
|
979
|
+
assignResponsibleOperatorIds?: number[] | null | undefined;
|
|
980
|
+
steps?: {
|
|
981
|
+
[x: string]: unknown;
|
|
982
|
+
stepType?: string | undefined;
|
|
983
|
+
getcourse?: {
|
|
984
|
+
[x: string]: unknown;
|
|
985
|
+
delivery?: {
|
|
986
|
+
[x: string]: unknown;
|
|
987
|
+
mode: "all" | "contact" | "explicit";
|
|
988
|
+
transports?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
989
|
+
} | null | undefined;
|
|
990
|
+
} | null | undefined;
|
|
991
|
+
}[] | undefined;
|
|
992
|
+
};
|
|
993
|
+
explicit_confirmation?: boolean | undefined;
|
|
994
|
+
confirmation_reason?: string | undefined;
|
|
995
|
+
sequence_id?: string | undefined;
|
|
996
|
+
expected_version?: string | undefined;
|
|
997
|
+
description?: string | null | undefined;
|
|
998
|
+
enabled?: boolean | undefined;
|
|
999
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1000
|
+
platform_id: string;
|
|
1001
|
+
sequence_id: string;
|
|
1002
|
+
name?: string | undefined;
|
|
748
1003
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
749
1004
|
platform_id: string;
|
|
750
1005
|
explicit_confirmation?: boolean | undefined;
|
|
751
1006
|
confirmation_reason?: string | undefined;
|
|
1007
|
+
expected_version?: string | undefined;
|
|
752
1008
|
crm_pipeline_behavior?: {
|
|
753
1009
|
active_pipeline_ids?: string[] | undefined;
|
|
754
1010
|
filter_enabled?: boolean | undefined;
|
|
@@ -773,15 +1029,17 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
773
1029
|
platform_id: string;
|
|
774
1030
|
explicit_confirmation?: boolean | undefined;
|
|
775
1031
|
confirmation_reason?: string | undefined;
|
|
1032
|
+
workspace_id?: string | undefined;
|
|
1033
|
+
expected_version?: string | undefined;
|
|
776
1034
|
name?: string | null | undefined;
|
|
777
1035
|
off_message?: string | undefined;
|
|
778
1036
|
timezone?: string | undefined;
|
|
779
1037
|
access_control?: {
|
|
780
|
-
is_active?: boolean | undefined;
|
|
781
|
-
is_ai_enabled?: boolean | undefined;
|
|
782
1038
|
is_user_filter_enabled?: boolean | undefined;
|
|
783
1039
|
filtered_user_ids?: string[] | undefined;
|
|
784
1040
|
enable_cleanup_commands?: boolean | undefined;
|
|
1041
|
+
is_active?: boolean | undefined;
|
|
1042
|
+
is_ai_enabled?: boolean | undefined;
|
|
785
1043
|
} | undefined;
|
|
786
1044
|
variables_config?: {
|
|
787
1045
|
enable_dynamic_variables?: boolean | undefined;
|
|
@@ -789,6 +1047,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
789
1047
|
} | undefined;
|
|
790
1048
|
crm_behavior?: {
|
|
791
1049
|
send_to_crm?: boolean | undefined;
|
|
1050
|
+
create_deal_on_first_outbound?: boolean | undefined;
|
|
792
1051
|
use_cross_platform_history?: boolean | undefined;
|
|
793
1052
|
responsible_assignee_strategy?: "ROUND_ROBIN" | "LEAST_BUSY" | "RANDOM" | "FIXED" | "OPERATOR_SPECIFIC" | undefined;
|
|
794
1053
|
fixed_responsible_id?: string | null | undefined;
|
|
@@ -798,6 +1057,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
798
1057
|
failed_note_template?: string | null | undefined;
|
|
799
1058
|
send_operator_takeover_note_to_crm?: boolean | undefined;
|
|
800
1059
|
operator_takeover_note_template?: string | null | undefined;
|
|
1060
|
+
finish_auto_enabled?: boolean | undefined;
|
|
1061
|
+
finish_auto_days?: number | undefined;
|
|
1062
|
+
send_finish_auto_note_to_crm?: boolean | undefined;
|
|
1063
|
+
finish_auto_note_template?: string | null | undefined;
|
|
1064
|
+
getcourse_create_deal_payment_tracking_enabled?: boolean | undefined;
|
|
1065
|
+
getcourse_status_deal_fallback_enabled?: boolean | undefined;
|
|
801
1066
|
deal_marker_type?: "NONE" | "TAG" | "CUSTOM_FIELD" | undefined;
|
|
802
1067
|
deal_marker_value?: string | null | undefined;
|
|
803
1068
|
deal_marker_field_id?: string | null | undefined;
|
|
@@ -807,14 +1072,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
807
1072
|
inbound_deal_filter_field_id?: string | null | undefined;
|
|
808
1073
|
} | undefined;
|
|
809
1074
|
widget_marketing?: {
|
|
810
|
-
|
|
1075
|
+
marketing_field_mappings?: {
|
|
811
1076
|
[x: string]: unknown;
|
|
812
|
-
} |
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
entry_url_variable_mapping?: {
|
|
1079
|
+
[x: string]: unknown;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
web_widget_allowed_origins?: string[] | Record<string, unknown> | null | undefined;
|
|
813
1082
|
web_widget_show_page_info?: boolean | undefined;
|
|
814
1083
|
web_widget_rate_limit_per_minute?: number | undefined;
|
|
815
|
-
web_widget_customization?:
|
|
816
|
-
[x: string]: unknown;
|
|
817
|
-
} | null | undefined;
|
|
1084
|
+
web_widget_customization?: Record<string, unknown> | null | undefined;
|
|
818
1085
|
web_widget_marketing_field_mappings?: {
|
|
819
1086
|
[x: string]: unknown;
|
|
820
1087
|
} | null | undefined;
|
|
@@ -825,10 +1092,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
825
1092
|
instagram_comment_behavior?: {
|
|
826
1093
|
reply_to_instagram_comments?: boolean | undefined;
|
|
827
1094
|
instagram_comment_handling_mode?: string | null | undefined;
|
|
828
|
-
instagram_comment_reply_method?:
|
|
829
|
-
instagram_comment_keywords?: {
|
|
830
|
-
[x: string]: unknown;
|
|
831
|
-
} | null | undefined;
|
|
1095
|
+
instagram_comment_reply_method?: "DM_ONLY" | "PUBLIC_REPLY" | "BOTH" | "PUBLIC_AND_DM" | undefined;
|
|
832
1096
|
instagram_comment_templates?: {
|
|
833
1097
|
dm?: {
|
|
834
1098
|
ru?: string | undefined;
|
|
@@ -845,40 +1109,62 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
845
1109
|
uz?: string | undefined;
|
|
846
1110
|
uz_cyrl?: string | undefined;
|
|
847
1111
|
} | undefined;
|
|
848
|
-
} | undefined;
|
|
849
|
-
reply_to_story_mentions?: boolean | undefined;
|
|
850
|
-
} | undefined;
|
|
851
|
-
funnel_analytics?: {
|
|
852
|
-
decision_gate?: {
|
|
853
|
-
submitted: {
|
|
854
|
-
pipeline_crm_id: string;
|
|
855
|
-
pipeline_id: number;
|
|
856
|
-
status_id: number;
|
|
857
|
-
};
|
|
858
|
-
approved: {
|
|
859
|
-
pipeline_crm_id: string;
|
|
860
|
-
pipeline_id: number;
|
|
861
|
-
status_id: number;
|
|
862
|
-
};
|
|
863
|
-
rejected: {
|
|
864
|
-
pipeline_crm_id: string;
|
|
865
|
-
pipeline_id: number;
|
|
866
|
-
status_id: number;
|
|
867
|
-
};
|
|
868
|
-
} | null | undefined;
|
|
869
|
-
path_target_stage?: {
|
|
870
|
-
pipeline_crm_id: string;
|
|
871
|
-
pipeline_id: number;
|
|
872
|
-
status_id: number;
|
|
873
1112
|
} | null | undefined;
|
|
874
|
-
|
|
875
|
-
|
|
1113
|
+
instagram_comment_keywords?: string[] | null | undefined;
|
|
1114
|
+
reply_to_story_mentions?: boolean | undefined;
|
|
876
1115
|
} | undefined;
|
|
877
1116
|
general_settings?: {
|
|
878
1117
|
name?: string | null | undefined;
|
|
879
1118
|
off_message?: string | null | undefined;
|
|
880
1119
|
timezone?: string | undefined;
|
|
881
1120
|
is_active?: boolean | undefined;
|
|
1121
|
+
is_ai_enabled?: boolean | undefined;
|
|
1122
|
+
phone_parsing_country?: string | null | undefined;
|
|
1123
|
+
allowed_origins?: string[] | undefined;
|
|
1124
|
+
page_rules?: {
|
|
1125
|
+
mode: "ALL" | "ALLOW" | "DENY";
|
|
1126
|
+
patterns: string[];
|
|
1127
|
+
} | null | undefined;
|
|
1128
|
+
rate_limit?: number | undefined;
|
|
1129
|
+
show_page_info?: boolean | undefined;
|
|
1130
|
+
customization?: {
|
|
1131
|
+
button?: {
|
|
1132
|
+
[x: string]: unknown;
|
|
1133
|
+
} | undefined;
|
|
1134
|
+
window?: {
|
|
1135
|
+
[x: string]: unknown;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
theme?: {
|
|
1138
|
+
[x: string]: unknown;
|
|
1139
|
+
} | undefined;
|
|
1140
|
+
welcome_state?: {
|
|
1141
|
+
[x: string]: unknown;
|
|
1142
|
+
} | undefined;
|
|
1143
|
+
pre_chat_form?: {
|
|
1144
|
+
[x: string]: unknown;
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
offline_state?: {
|
|
1147
|
+
[x: string]: unknown;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
languages?: {
|
|
1150
|
+
[x: string]: unknown;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
widget_ux?: {
|
|
1153
|
+
[x: string]: unknown;
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
gdpr?: {
|
|
1156
|
+
[x: string]: unknown;
|
|
1157
|
+
} | undefined;
|
|
1158
|
+
embed?: {
|
|
1159
|
+
[x: string]: unknown;
|
|
1160
|
+
} | undefined;
|
|
1161
|
+
advanced?: {
|
|
1162
|
+
[x: string]: unknown;
|
|
1163
|
+
} | undefined;
|
|
1164
|
+
popup?: {
|
|
1165
|
+
[x: string]: unknown;
|
|
1166
|
+
} | undefined;
|
|
1167
|
+
} | undefined;
|
|
882
1168
|
} | undefined;
|
|
883
1169
|
salebot_settings?: {
|
|
884
1170
|
project_id?: string | null | undefined;
|
|
@@ -934,13 +1220,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
934
1220
|
variable_name: string;
|
|
935
1221
|
}[] | null | undefined;
|
|
936
1222
|
target_department_id?: number | null | undefined;
|
|
1223
|
+
operator_department_id?: number | null | undefined;
|
|
937
1224
|
delivery_check_enabled?: boolean | undefined;
|
|
938
|
-
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
939
|
-
guard_active_application?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
940
|
-
guard_paid?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
941
|
-
quiet_days?: number | null | undefined;
|
|
942
1225
|
reachability_ttl_days?: number | null | undefined;
|
|
943
|
-
delivery_field_map?: Record<"Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX", string
|
|
1226
|
+
delivery_field_map?: Partial<Record<"Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX", string>> | undefined;
|
|
944
1227
|
manual_mute_enabled?: boolean | undefined;
|
|
945
1228
|
manual_mute_field_id?: string | null | undefined;
|
|
946
1229
|
manual_mute_value?: string | null | undefined;
|
|
@@ -950,15 +1233,62 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
950
1233
|
create_missing_deal_funnel_id?: number | null | undefined;
|
|
951
1234
|
create_missing_deal_stage_id?: number | null | undefined;
|
|
952
1235
|
revenue_offer_ids?: number[] | undefined;
|
|
1236
|
+
revenue_offers_paid_since?: string | null | undefined;
|
|
1237
|
+
open_invoice_silence_enabled?: boolean | undefined;
|
|
1238
|
+
open_invoice_table_id?: string | null | undefined;
|
|
1239
|
+
open_invoice_product_column?: string | null | undefined;
|
|
1240
|
+
open_invoice_topic_column?: string | null | undefined;
|
|
1241
|
+
open_invoice_topic_variable?: string | null | undefined;
|
|
1242
|
+
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1243
|
+
guard_active_application?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1244
|
+
guard_paid?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1245
|
+
quiet_days?: number | null | undefined;
|
|
1246
|
+
} | undefined;
|
|
1247
|
+
funnel_analytics?: {
|
|
1248
|
+
decision_gate?: {
|
|
1249
|
+
submitted: {
|
|
1250
|
+
pipeline_crm_id: string;
|
|
1251
|
+
pipeline_id: string | number;
|
|
1252
|
+
status_id: string | number;
|
|
1253
|
+
} | {
|
|
1254
|
+
stage_id: string;
|
|
1255
|
+
};
|
|
1256
|
+
approved: {
|
|
1257
|
+
pipeline_crm_id: string;
|
|
1258
|
+
pipeline_id: string | number;
|
|
1259
|
+
status_id: string | number;
|
|
1260
|
+
} | {
|
|
1261
|
+
stage_id: string;
|
|
1262
|
+
};
|
|
1263
|
+
rejected: {
|
|
1264
|
+
pipeline_crm_id: string;
|
|
1265
|
+
pipeline_id: string | number;
|
|
1266
|
+
status_id: string | number;
|
|
1267
|
+
} | {
|
|
1268
|
+
stage_id: string;
|
|
1269
|
+
};
|
|
1270
|
+
} | null | undefined;
|
|
1271
|
+
path_target_stage?: {
|
|
1272
|
+
pipeline_crm_id: string;
|
|
1273
|
+
pipeline_id: string | number;
|
|
1274
|
+
status_id: string | number;
|
|
1275
|
+
} | {
|
|
1276
|
+
stage_id: string;
|
|
1277
|
+
} | null | undefined;
|
|
1278
|
+
engaged_inbound_count?: number | null | undefined;
|
|
1279
|
+
stuck_threshold_hours?: number | null | undefined;
|
|
953
1280
|
} | undefined;
|
|
954
1281
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
955
1282
|
audit_log_id: string;
|
|
956
1283
|
workspace_id?: string | undefined;
|
|
957
1284
|
platform_id?: string | undefined;
|
|
1285
|
+
explicit_confirmation?: boolean | undefined;
|
|
958
1286
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
959
1287
|
agent_id: string;
|
|
960
1288
|
source_url: string;
|
|
961
|
-
|
|
1289
|
+
confirm_document_access_change?: true | undefined;
|
|
1290
|
+
expected_document_snapshot?: string | undefined;
|
|
1291
|
+
access_mode?: "READ_ONLY" | "EDITABLE" | undefined;
|
|
962
1292
|
agent_version_id?: string | undefined;
|
|
963
1293
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
964
1294
|
agent_id: string;
|
|
@@ -980,6 +1310,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
980
1310
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
981
1311
|
agent_id: string;
|
|
982
1312
|
factual_context: string;
|
|
1313
|
+
expected_version?: string | undefined;
|
|
1314
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1315
|
+
agent_id: string;
|
|
1316
|
+
include_prompt_text?: boolean | undefined;
|
|
1317
|
+
mode?: "START" | "CONTINUE" | "RESTART" | undefined;
|
|
1318
|
+
draft_id?: string | undefined;
|
|
1319
|
+
expected_content_hash?: string | undefined;
|
|
983
1320
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
984
1321
|
agent_id: string;
|
|
985
1322
|
draft_id: string;
|
|
@@ -1001,6 +1338,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1001
1338
|
replacement_text?: string | undefined;
|
|
1002
1339
|
match_variants?: string[] | undefined;
|
|
1003
1340
|
}[];
|
|
1341
|
+
include_prompt_text?: boolean | undefined;
|
|
1004
1342
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1005
1343
|
agent_ids: string[];
|
|
1006
1344
|
operations: {
|
|
@@ -1020,25 +1358,128 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1020
1358
|
workspace_id?: string | undefined;
|
|
1021
1359
|
agent_id?: string | undefined;
|
|
1022
1360
|
channel?: string | undefined;
|
|
1023
|
-
agent_scope?: "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" |
|
|
1361
|
+
agent_scope?: "other" | "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" | undefined;
|
|
1024
1362
|
feedback_banned_terms?: string[] | undefined;
|
|
1025
1363
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1364
|
+
idempotency_key: string;
|
|
1365
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1366
|
+
platform_id: string;
|
|
1026
1367
|
workspace_id?: string | undefined;
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1368
|
+
contacts?: {
|
|
1369
|
+
contact_id: string;
|
|
1370
|
+
deal_id?: string | undefined;
|
|
1371
|
+
}[] | undefined;
|
|
1372
|
+
current_anchor_value?: string | undefined;
|
|
1031
1373
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1032
|
-
|
|
1374
|
+
explicit_confirmation: true;
|
|
1375
|
+
platform_id: string;
|
|
1033
1376
|
workspace_id?: string | undefined;
|
|
1377
|
+
contacts?: {
|
|
1378
|
+
contact_id: string;
|
|
1379
|
+
deal_id?: string | undefined;
|
|
1380
|
+
}[] | undefined;
|
|
1381
|
+
current_anchor_value?: string | undefined;
|
|
1034
1382
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1035
|
-
|
|
1383
|
+
correlation_id: string;
|
|
1036
1384
|
workspace_id?: string | undefined;
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1385
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1386
|
+
platform_id: string;
|
|
1387
|
+
workspace_id?: string | undefined;
|
|
1388
|
+
created_after?: string | undefined;
|
|
1389
|
+
contacts?: {
|
|
1390
|
+
contact_id: string;
|
|
1391
|
+
deal_id?: string | undefined;
|
|
1392
|
+
segment_entered_at?: string | undefined;
|
|
1393
|
+
registered_at?: string | undefined;
|
|
1394
|
+
funnel?: string | undefined;
|
|
1395
|
+
}[] | undefined;
|
|
1396
|
+
continuation?: true | undefined;
|
|
1397
|
+
mailing_variant_id?: string | undefined;
|
|
1398
|
+
segment?: string | undefined;
|
|
1399
|
+
message?: string | undefined;
|
|
1400
|
+
product_code?: string | undefined;
|
|
1401
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1402
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1403
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1404
|
+
explicit_confirmation: true;
|
|
1405
|
+
workspace_id?: string | undefined;
|
|
1406
|
+
platform_id?: string | undefined;
|
|
1407
|
+
created_after?: string | undefined;
|
|
1408
|
+
contacts?: {
|
|
1409
|
+
contact_id: string;
|
|
1410
|
+
deal_id?: string | undefined;
|
|
1411
|
+
segment_entered_at?: string | undefined;
|
|
1412
|
+
registered_at?: string | undefined;
|
|
1413
|
+
funnel?: string | undefined;
|
|
1414
|
+
}[] | undefined;
|
|
1415
|
+
continuation?: true | undefined;
|
|
1416
|
+
deal_fields?: Record<string, string | number | boolean | null> | undefined;
|
|
1417
|
+
message?: string | undefined;
|
|
1418
|
+
mailing_variant_id?: string | undefined;
|
|
1419
|
+
segment?: string | undefined;
|
|
1420
|
+
product_code?: string | undefined;
|
|
1421
|
+
funnel?: string | undefined;
|
|
1422
|
+
cohort_label?: string | undefined;
|
|
1423
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1424
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1425
|
+
idempotency_key?: string | undefined;
|
|
1426
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1427
|
+
segments: {
|
|
1428
|
+
contacts: {
|
|
1429
|
+
contact_id: string;
|
|
1430
|
+
deal_id?: string | undefined;
|
|
1431
|
+
segment_entered_at?: string | undefined;
|
|
1432
|
+
registered_at?: string | undefined;
|
|
1433
|
+
funnel?: string | undefined;
|
|
1434
|
+
}[];
|
|
1435
|
+
segment?: string | undefined;
|
|
1436
|
+
product_code?: string | undefined;
|
|
1437
|
+
funnel?: string | undefined;
|
|
1438
|
+
cohort_label?: string | undefined;
|
|
1439
|
+
deal_fields?: Record<string, string | number | boolean | null> | undefined;
|
|
1440
|
+
}[];
|
|
1441
|
+
explicit_confirmation: true;
|
|
1442
|
+
workspace_id?: string | undefined;
|
|
1443
|
+
platform_id?: string | undefined;
|
|
1444
|
+
message?: string | undefined;
|
|
1445
|
+
mailing_variant_id?: string | undefined;
|
|
1446
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1447
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1448
|
+
guards?: {
|
|
1449
|
+
active_series?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1450
|
+
active_application?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1451
|
+
paid?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1452
|
+
} | undefined;
|
|
1453
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1454
|
+
batch_id: string;
|
|
1455
|
+
explicit_confirmation: true;
|
|
1456
|
+
workspace_id?: string | undefined;
|
|
1457
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1458
|
+
chat_user_id: string;
|
|
1459
|
+
workspace_id?: string | undefined;
|
|
1460
|
+
funnel_id?: string | undefined;
|
|
1461
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1462
|
+
run_id: string;
|
|
1463
|
+
explicit_confirmation: true;
|
|
1464
|
+
confirmation_reason: string;
|
|
1465
|
+
workspace_id?: string | undefined;
|
|
1466
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1467
|
+
workspace_id?: string | undefined;
|
|
1468
|
+
stored_file_id?: string | undefined;
|
|
1469
|
+
google_sheets_url?: string | undefined;
|
|
1470
|
+
sample_rows_per_sheet?: number | undefined;
|
|
1471
|
+
max_cells_total?: number | undefined;
|
|
1472
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1473
|
+
workbook_id: string;
|
|
1474
|
+
workspace_id?: string | undefined;
|
|
1475
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1476
|
+
workbook_id: string;
|
|
1477
|
+
workspace_id?: string | undefined;
|
|
1478
|
+
sheet_title?: string | undefined;
|
|
1479
|
+
sheet_gid?: number | undefined;
|
|
1480
|
+
sheet_index?: number | undefined;
|
|
1481
|
+
row_offset?: number | undefined;
|
|
1482
|
+
row_limit?: number | undefined;
|
|
1042
1483
|
column_offset?: number | undefined;
|
|
1043
1484
|
column_limit?: number | undefined;
|
|
1044
1485
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -1062,6 +1503,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1062
1503
|
sheet_title?: string | undefined;
|
|
1063
1504
|
sheet_gid?: number | undefined;
|
|
1064
1505
|
sheet_index?: number | undefined;
|
|
1506
|
+
knowledge_space_id?: string | undefined;
|
|
1065
1507
|
namespace?: string | undefined;
|
|
1066
1508
|
split_override?: {
|
|
1067
1509
|
split_mode: "size" | "separator";
|
|
@@ -1071,12 +1513,15 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1071
1513
|
max_chunk_size?: number | undefined;
|
|
1072
1514
|
} | undefined;
|
|
1073
1515
|
replace_existing?: boolean | undefined;
|
|
1516
|
+
target_knowledge_source_id?: string | undefined;
|
|
1074
1517
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1075
1518
|
name: string;
|
|
1076
1519
|
scope_type: "WORKSPACE" | "CHANNEL";
|
|
1520
|
+
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1521
|
+
purpose?: string | null | undefined;
|
|
1522
|
+
search_keywords?: string[] | undefined;
|
|
1077
1523
|
workspace_id?: string | undefined;
|
|
1078
1524
|
channel_id?: string | undefined;
|
|
1079
|
-
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1080
1525
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1081
1526
|
workspace_id?: string | undefined;
|
|
1082
1527
|
scope_type?: "WORKSPACE" | "CHANNEL" | undefined;
|
|
@@ -1086,9 +1531,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1086
1531
|
workspace_id?: string | undefined;
|
|
1087
1532
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1088
1533
|
knowledge_space_id: string;
|
|
1534
|
+
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1535
|
+
purpose?: string | null | undefined;
|
|
1536
|
+
search_keywords?: string[] | undefined;
|
|
1089
1537
|
workspace_id?: string | undefined;
|
|
1090
1538
|
name?: string | undefined;
|
|
1091
|
-
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1092
1539
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1093
1540
|
knowledge_space_id: string;
|
|
1094
1541
|
channel_id: string;
|
|
@@ -1109,9 +1556,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1109
1556
|
} | undefined;
|
|
1110
1557
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1111
1558
|
knowledge_space_id: string;
|
|
1112
|
-
workspace_id?: string | undefined;
|
|
1113
|
-
status?: "FAILED" | "COMPLETED" | "LOADED" | "SPLIT" | "EMBEDDINGS_GENERATED" | "VECTOR_DB_UPLOADED" | "TEXT_EXTRACTED" | "CHUNKS_SAVED" | undefined;
|
|
1114
1559
|
page?: number | undefined;
|
|
1560
|
+
workspace_id?: string | undefined;
|
|
1561
|
+
status?: "COMPLETED" | "FAILED" | "LOADED" | "SPLIT" | "EMBEDDINGS_GENERATED" | "VECTOR_DB_UPLOADED" | "TEXT_EXTRACTED" | "CHUNKS_SAVED" | undefined;
|
|
1562
|
+
cursor?: string | undefined;
|
|
1115
1563
|
limit?: number | undefined;
|
|
1116
1564
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1117
1565
|
knowledge_space_id: string;
|
|
@@ -1136,15 +1584,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1136
1584
|
}[] | undefined;
|
|
1137
1585
|
}[] | undefined;
|
|
1138
1586
|
alias?: string | undefined;
|
|
1139
|
-
mode?: "SIMPLE" | "
|
|
1587
|
+
mode?: "SIMPLE" | "ONCE_STRICT" | "STRICT" | undefined;
|
|
1140
1588
|
call_operator?: boolean | undefined;
|
|
1141
1589
|
chunk_delay_seconds?: number | undefined;
|
|
1142
1590
|
is_call_qa_only?: boolean | undefined;
|
|
1143
1591
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1144
1592
|
knowledge_space_id: string;
|
|
1145
|
-
workspace_id?: string | undefined;
|
|
1146
|
-
mode?: "SIMPLE" | "STRICT" | "ONCE_STRICT" | undefined;
|
|
1147
1593
|
page?: number | undefined;
|
|
1594
|
+
workspace_id?: string | undefined;
|
|
1595
|
+
mode?: "SIMPLE" | "ONCE_STRICT" | "STRICT" | undefined;
|
|
1596
|
+
cursor?: string | undefined;
|
|
1148
1597
|
limit?: number | undefined;
|
|
1149
1598
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1150
1599
|
knowledge_space_id: string;
|
|
@@ -1158,14 +1607,14 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1158
1607
|
answer?: string | undefined;
|
|
1159
1608
|
answer_chunks?: {
|
|
1160
1609
|
text?: string | undefined;
|
|
1161
|
-
stored_file_id?: string | undefined;
|
|
1610
|
+
stored_file_id?: string | null | undefined;
|
|
1162
1611
|
buttons?: {
|
|
1163
1612
|
name: string;
|
|
1164
1613
|
url: string;
|
|
1165
1614
|
}[] | undefined;
|
|
1166
1615
|
}[] | undefined;
|
|
1167
1616
|
alias?: string | undefined;
|
|
1168
|
-
mode?: "SIMPLE" | "
|
|
1617
|
+
mode?: "SIMPLE" | "ONCE_STRICT" | "STRICT" | undefined;
|
|
1169
1618
|
call_operator?: boolean | undefined;
|
|
1170
1619
|
chunk_delay_seconds?: number | undefined;
|
|
1171
1620
|
is_call_qa_only?: boolean | undefined;
|
|
@@ -1193,9 +1642,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1193
1642
|
display_name?: string | undefined;
|
|
1194
1643
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1195
1644
|
knowledge_space_id: string;
|
|
1196
|
-
workspace_id?: string | undefined;
|
|
1197
|
-
status?: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED" | "CRAWLING" | undefined;
|
|
1198
1645
|
page?: number | undefined;
|
|
1646
|
+
workspace_id?: string | undefined;
|
|
1647
|
+
status?: "PENDING" | "COMPLETED" | "FAILED" | "PROCESSING" | "CRAWLING" | undefined;
|
|
1648
|
+
cursor?: string | undefined;
|
|
1199
1649
|
limit?: number | undefined;
|
|
1200
1650
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1201
1651
|
knowledge_space_id: string;
|
|
@@ -1222,12 +1672,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1222
1672
|
use_vector_index?: boolean | undefined;
|
|
1223
1673
|
vector_top_k?: number | undefined;
|
|
1224
1674
|
vector_embed_max_chars?: number | undefined;
|
|
1225
|
-
access?: "
|
|
1675
|
+
access?: "PRIVATE" | "PUBLIC" | undefined;
|
|
1226
1676
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1227
1677
|
knowledge_space_id: string;
|
|
1678
|
+
page?: number | undefined;
|
|
1228
1679
|
workspace_id?: string | undefined;
|
|
1229
1680
|
is_active?: boolean | undefined;
|
|
1230
|
-
|
|
1681
|
+
cursor?: string | undefined;
|
|
1231
1682
|
limit?: number | undefined;
|
|
1232
1683
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1233
1684
|
knowledge_space_id: string;
|
|
@@ -1250,7 +1701,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1250
1701
|
use_vector_index?: boolean | undefined;
|
|
1251
1702
|
vector_top_k?: number | undefined;
|
|
1252
1703
|
vector_embed_max_chars?: number | undefined;
|
|
1253
|
-
access?: "
|
|
1704
|
+
access?: "PRIVATE" | "PUBLIC" | undefined;
|
|
1254
1705
|
is_active?: boolean | undefined;
|
|
1255
1706
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1256
1707
|
knowledge_space_id: string;
|
|
@@ -1272,7 +1723,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1272
1723
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1273
1724
|
scope: "WORKSPACE" | "CHANNEL";
|
|
1274
1725
|
name: string;
|
|
1275
|
-
type: "TEXT" | "
|
|
1726
|
+
type: "TEXT" | "BOOLEAN" | "NUMBER" | "FLOAT";
|
|
1276
1727
|
workspace_id?: string | undefined;
|
|
1277
1728
|
description?: string | undefined;
|
|
1278
1729
|
value?: string | undefined;
|
|
@@ -1288,10 +1739,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1288
1739
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1289
1740
|
variable_id: string;
|
|
1290
1741
|
scope: "WORKSPACE" | "CHANNEL";
|
|
1742
|
+
expected_version?: string | undefined;
|
|
1291
1743
|
workspace_id?: string | undefined;
|
|
1292
1744
|
platform_id?: string | undefined;
|
|
1293
1745
|
description?: string | undefined;
|
|
1294
|
-
type?: "TEXT" | "
|
|
1746
|
+
type?: "TEXT" | "BOOLEAN" | "NUMBER" | "FLOAT" | undefined;
|
|
1295
1747
|
value?: string | null | undefined;
|
|
1296
1748
|
constant_value?: string | null | undefined;
|
|
1297
1749
|
repeat_constant_value?: string | null | undefined;
|
|
@@ -1299,12 +1751,20 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1299
1751
|
variable_id: string;
|
|
1300
1752
|
scope: "WORKSPACE" | "CHANNEL";
|
|
1301
1753
|
explicit_confirmation: true;
|
|
1754
|
+
expected_version?: string | undefined;
|
|
1302
1755
|
workspace_id?: string | undefined;
|
|
1303
1756
|
platform_id?: string | undefined;
|
|
1757
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1758
|
+
crm_id: string;
|
|
1759
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1760
|
+
crm_id: string;
|
|
1761
|
+
acknowledge_external_side_effect: true;
|
|
1304
1762
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1305
1763
|
crm_id: string;
|
|
1306
1764
|
workspace_id?: string | undefined;
|
|
1307
1765
|
include_deleted?: boolean | undefined;
|
|
1766
|
+
limit?: number | undefined;
|
|
1767
|
+
cursor?: string | undefined;
|
|
1308
1768
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1309
1769
|
crm_id: string;
|
|
1310
1770
|
pipeline_id: number;
|
|
@@ -1335,6 +1795,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1335
1795
|
explicit_confirmation: true;
|
|
1336
1796
|
acknowledge_external_side_effect: true;
|
|
1337
1797
|
workspace_id?: string | undefined;
|
|
1798
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1799
|
+
crm_id: string;
|
|
1800
|
+
pipeline_id: number;
|
|
1801
|
+
workspace_id?: string | undefined;
|
|
1802
|
+
limit?: number | undefined;
|
|
1803
|
+
cursor?: string | undefined;
|
|
1338
1804
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1339
1805
|
crm_id: string;
|
|
1340
1806
|
pipeline_id: number;
|
|
@@ -1345,8 +1811,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1345
1811
|
color?: string | undefined;
|
|
1346
1812
|
status_types?: string[] | undefined;
|
|
1347
1813
|
is_editable?: boolean | undefined;
|
|
1814
|
+
is_system_managed?: boolean | undefined;
|
|
1348
1815
|
is_bot_active?: boolean | undefined;
|
|
1349
1816
|
is_operator_available?: boolean | undefined;
|
|
1817
|
+
is_terminal?: boolean | undefined;
|
|
1350
1818
|
on_message_received_move_to_status?: number | null | undefined;
|
|
1351
1819
|
status_id?: number | undefined;
|
|
1352
1820
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -1363,6 +1831,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1363
1831
|
is_editable?: boolean | undefined;
|
|
1364
1832
|
is_bot_active?: boolean | undefined;
|
|
1365
1833
|
is_operator_available?: boolean | undefined;
|
|
1834
|
+
is_terminal?: boolean | undefined;
|
|
1366
1835
|
on_message_received_move_to_status?: number | null | undefined;
|
|
1367
1836
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1368
1837
|
crm_id: string;
|
|
@@ -1375,12 +1844,14 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1375
1844
|
platform_id: string;
|
|
1376
1845
|
pipeline_id: number;
|
|
1377
1846
|
pipeline_crm_id: string;
|
|
1847
|
+
expected_version?: string | undefined;
|
|
1378
1848
|
workspace_id?: string | undefined;
|
|
1379
1849
|
sort?: number | undefined;
|
|
1380
1850
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1381
1851
|
platform_id: string;
|
|
1382
1852
|
platform_pipeline_id: string;
|
|
1383
1853
|
explicit_confirmation: true;
|
|
1854
|
+
expected_version?: string | undefined;
|
|
1384
1855
|
workspace_id?: string | undefined;
|
|
1385
1856
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1386
1857
|
source_platform_id: string;
|
|
@@ -1398,7 +1869,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1398
1869
|
};
|
|
1399
1870
|
workspace_id?: string | undefined;
|
|
1400
1871
|
conflict_mode?: "reject" | "merge" | "overwrite" | undefined;
|
|
1401
|
-
name_collision_strategy?: "
|
|
1872
|
+
name_collision_strategy?: "keep" | "suffix" | undefined;
|
|
1402
1873
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1403
1874
|
preview_token: string;
|
|
1404
1875
|
source_platform_id: string;
|
|
@@ -1419,6 +1890,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1419
1890
|
source?: "OTHER" | "USER_UPLOAD" | "AGENT_GREETING" | "CAMPAIGN" | "CRM_IMPORT" | undefined;
|
|
1420
1891
|
mime_type?: string | undefined;
|
|
1421
1892
|
size_bytes?: number | undefined;
|
|
1893
|
+
owner_kind?: "KNOWLEDGE_SOURCE" | undefined;
|
|
1894
|
+
owner_id?: string | undefined;
|
|
1422
1895
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1423
1896
|
upload_ref: string;
|
|
1424
1897
|
workspace_id?: string | undefined;
|
|
@@ -1433,6 +1906,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1433
1906
|
platform_type: "TelegramBot" | "Wazzup" | "Salebot" | "SmsGorod" | "VKon" | "GetCourse" | "WebWidget" | "Bitrix24Bot";
|
|
1434
1907
|
name: string;
|
|
1435
1908
|
workspace_id?: string | undefined;
|
|
1909
|
+
operation_id?: string | undefined;
|
|
1436
1910
|
fields?: {
|
|
1437
1911
|
[x: string]: unknown;
|
|
1438
1912
|
} | undefined;
|
|
@@ -1444,8 +1918,9 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1444
1918
|
workspace_id?: string | undefined;
|
|
1445
1919
|
name?: string | undefined;
|
|
1446
1920
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1447
|
-
crm_type: "GETCOURSE" | "
|
|
1921
|
+
crm_type: "GETCOURSE" | "AMOCRM" | "BITRIX24";
|
|
1448
1922
|
workspace_id?: string | undefined;
|
|
1923
|
+
operation_id?: string | undefined;
|
|
1449
1924
|
fields?: {
|
|
1450
1925
|
[x: string]: unknown;
|
|
1451
1926
|
} | undefined;
|
|
@@ -1475,9 +1950,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1475
1950
|
workspace_id?: string | undefined;
|
|
1476
1951
|
is_operator?: boolean | undefined;
|
|
1477
1952
|
is_sdr?: boolean | undefined;
|
|
1953
|
+
expected_version?: string | undefined;
|
|
1954
|
+
workspace_member_id?: string | null | undefined;
|
|
1955
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1956
|
+
connection_id: string;
|
|
1957
|
+
workspace_id?: string | undefined;
|
|
1958
|
+
mode?: "GETCOURSE_KEYS" | "LONG_LIVED" | "OAUTH" | "OAUTH_PENDING" | undefined;
|
|
1478
1959
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1479
1960
|
data_source_type: "ONE_C";
|
|
1480
1961
|
workspace_id?: string | undefined;
|
|
1962
|
+
operation_id?: string | undefined;
|
|
1481
1963
|
fields?: {
|
|
1482
1964
|
[x: string]: unknown;
|
|
1483
1965
|
} | undefined;
|
|
@@ -1486,7 +1968,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1486
1968
|
workspace_id?: string | undefined;
|
|
1487
1969
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1488
1970
|
data_source_id: string;
|
|
1489
|
-
role: "OTHER" | "
|
|
1971
|
+
role: "OTHER" | "ORDER" | "PRODUCT_CATALOG" | "STOCK" | "PRICE" | "CUSTOMER";
|
|
1490
1972
|
external_code: string;
|
|
1491
1973
|
display_name: string;
|
|
1492
1974
|
workspace_id?: string | undefined;
|
|
@@ -1510,7 +1992,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1510
1992
|
agent_id: string;
|
|
1511
1993
|
models?: string[] | undefined;
|
|
1512
1994
|
dialogue_count?: number | undefined;
|
|
1513
|
-
message_direction?: "
|
|
1995
|
+
message_direction?: "OUTBOUND" | "INBOUND" | undefined;
|
|
1514
1996
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1515
1997
|
run_id: string;
|
|
1516
1998
|
winner: string;
|
|
@@ -1527,9 +2009,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1527
2009
|
workspace_id?: string | undefined;
|
|
1528
2010
|
name?: string | undefined;
|
|
1529
2011
|
source_channel?: string | undefined;
|
|
1530
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1531
|
-
channel_id: string;
|
|
1532
|
-
workspace_id?: string | undefined;
|
|
1533
2012
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1534
2013
|
channel_id: string;
|
|
1535
2014
|
workspace_id?: string | undefined;
|
|
@@ -1537,12 +2016,52 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1537
2016
|
source_channel?: string | undefined;
|
|
1538
2017
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1539
2018
|
workspace_id?: string | undefined;
|
|
2019
|
+
limit?: number | undefined;
|
|
2020
|
+
cursor?: string | undefined;
|
|
2021
|
+
search?: string | undefined;
|
|
2022
|
+
external_id?: string | undefined;
|
|
2023
|
+
phone?: string | undefined;
|
|
2024
|
+
email?: string | undefined;
|
|
2025
|
+
tag_id?: string | undefined;
|
|
2026
|
+
lifecycle_stage?: "LEAD" | "CUSTOMER" | "CHURNED" | "MQL" | "OPPORTUNITY" | "SQL" | undefined;
|
|
2027
|
+
channel_id?: string | undefined;
|
|
2028
|
+
outreach?: "true" | undefined;
|
|
2029
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2030
|
+
contact_id: string;
|
|
2031
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2032
|
+
contact_id: string;
|
|
2033
|
+
message_id?: string | undefined;
|
|
2034
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2035
|
+
workspace_id?: string | undefined;
|
|
2036
|
+
status?: "IN_PROGRESS" | "WAITING_OPERATOR" | "WAITING_CUSTOMER" | "RESOLVED" | undefined;
|
|
2037
|
+
workspace_operator_id?: string | undefined;
|
|
2038
|
+
contact_id?: string | undefined;
|
|
2039
|
+
page?: number | undefined;
|
|
2040
|
+
limit?: number | undefined;
|
|
2041
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2042
|
+
conversation_id: string;
|
|
2043
|
+
workspace_id?: string | undefined;
|
|
2044
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2045
|
+
conversation_id: string;
|
|
2046
|
+
workspace_operator_id: string | null;
|
|
2047
|
+
expected_workspace_operator_id: string | null;
|
|
2048
|
+
expected_assigned_at: string | null;
|
|
2049
|
+
explicit_confirmation: true;
|
|
2050
|
+
workspace_id?: string | undefined;
|
|
2051
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2052
|
+
workspace_id?: string | undefined;
|
|
2053
|
+
source?: "export" | "inbox" | undefined;
|
|
2054
|
+
channel_id?: string | undefined;
|
|
2055
|
+
contact_id?: string | undefined;
|
|
2056
|
+
purchased?: boolean | undefined;
|
|
2057
|
+
has_payment?: boolean | undefined;
|
|
2058
|
+
with_totals?: boolean | undefined;
|
|
1540
2059
|
platform_ids?: string[] | undefined;
|
|
1541
2060
|
date_from?: string | undefined;
|
|
1542
2061
|
date_to?: string | undefined;
|
|
1543
2062
|
lead_status?: string[] | undefined;
|
|
1544
2063
|
deactivate_reason?: string[] | undefined;
|
|
1545
|
-
work_log_event?: ("
|
|
2064
|
+
work_log_event?: ("FINISH_LOST" | "FINISH_WIN" | "IN_PROCESS" | "OPERATOR_TAKEOVER" | "FAILED" | "START" | "FINISH_AUTO")[] | undefined;
|
|
1546
2065
|
action_type?: string[] | undefined;
|
|
1547
2066
|
action_success?: boolean | undefined;
|
|
1548
2067
|
action_execution_mode?: "test" | "production" | undefined;
|
|
@@ -1557,22 +2076,37 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1557
2076
|
limit?: number | undefined;
|
|
1558
2077
|
cursor?: string | undefined;
|
|
1559
2078
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
2079
|
+
conversation_id: string;
|
|
2080
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2081
|
+
conversation_id: string;
|
|
2082
|
+
action: "MUTE_FOREVER" | "MUTE_TEMPORARY" | "ENABLE";
|
|
2083
|
+
expected_version: string;
|
|
2084
|
+
mute_expires_at?: string | undefined;
|
|
2085
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2086
|
+
conversation_ids: string[];
|
|
2087
|
+
explicit_confirmation: true;
|
|
2088
|
+
workspace_id?: string | undefined;
|
|
2089
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2090
|
+
view: "period" | "entry" | "cohort";
|
|
2091
|
+
report: "deals" | "recipients" | "summary" | "registration_intake" | "cohorts" | "skip_reasons" | "action_failures" | "indirect_payments" | "response_windows" | "insights" | "recent_leads" | "data_quality" | "segments_catalog" | "funnel_products" | "payment_candidates" | "payment_candidates_summary";
|
|
2092
|
+
mode?: "all" | "days" | "range" | undefined;
|
|
1563
2093
|
date?: string | undefined;
|
|
1564
|
-
channel?: "
|
|
2094
|
+
channel?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | undefined;
|
|
1565
2095
|
import_job_id?: string | undefined;
|
|
1566
2096
|
page?: number | undefined;
|
|
1567
2097
|
page_size?: number | undefined;
|
|
1568
|
-
recipient_metric?: "
|
|
1569
|
-
deal_metric?: "issued" | "paid" | "withoutCohort" | undefined;
|
|
1570
|
-
reason?: "
|
|
2098
|
+
recipient_metric?: "linkIssued" | "clicked" | "handedOff" | "sent" | "deepDialog" | "notDelivered" | "delivered" | "entered" | "notSent" | undefined;
|
|
2099
|
+
deal_metric?: "issued" | "paid" | "confirmedByOperator" | "withoutCohort" | undefined;
|
|
2100
|
+
reason?: "DUPLICATE" | "FAILED" | "ACTIVE_DEAL_OTHER_PRODUCT" | "ACTIVE_DEAL_SAME_PRODUCT" | "ACTIVE_INVOICE_SAME_PRODUCT" | "ALREADY_SENT" | "BOARD_NO_TARGET" | "CONTACT_ERASED" | "CONTACT_IMPORT_FAILED" | "DEAL_MOVE_REFUSED" | "DEDUP_ALREADY_SENT" | "GETCOURSE_CHECK_ERROR" | "MANAGER_ASSIGNED_ACTIVE_DEAL" | "NO_MESSENGER" | "OUTCOME_UNKNOWN" | "PAID_SAME_PRODUCT" | "PRODUCT_CONTEXT_MISSING" | "RUN_CANCELLED" | "RUN_FAILED" | "SKIPPED_ACTIVE_DEAL" | "SKIPPED_ACTIVE_EPISODE" | "SKIPPED_ACTIVE_SERIES" | "SKIPPED_ALREADY_IN_DIALOG" | "SKIPPED_ALREADY_SENT_SEGMENT" | "SKIPPED_ANCHOR_IN_PAST" | "SKIPPED_BOT_SILENCED" | "SKIPPED_CONTACT_BANNED" | "SKIPPED_COOLDOWN" | "SKIPPED_FOREIGN_WORKSPACE" | "SKIPPED_GUARD_UNAVAILABLE" | "SKIPPED_HANDED_TO_OPERATOR" | "SKIPPED_NOT_GETCOURSE" | "SKIPPED_NOT_IN_BASE" | "SKIPPED_NO_ANCHOR" | "SKIPPED_NO_GETCOURSE_USER" | "SKIPPED_PLATFORM_CHANGED" | "SKIPPED_SESSION_AHEAD" | "SKIPPED_TEXT_TOO_LONG" | "SKIPPED_UNREACHABLE" | "SKIPPED_UNRESOLVED_VARS" | "STATUS_TARGET_UNRESOLVED" | "UNKNOWN_REASON" | "USER_NOT_FOUND" | undefined;
|
|
2101
|
+
reason_source?: "COLD_WELCOME" | "REGISTRATION_ANCHOR" | "SCHEDULED_RUN" | "WAVE_PREFLIGHT" | "WAVE_RUN" | undefined;
|
|
1571
2102
|
action_type?: string | undefined;
|
|
1572
2103
|
payment_view?: "decidable" | "excluded" | "resolved" | undefined;
|
|
1573
|
-
payment_status?: "PENDING" | "
|
|
1574
|
-
payment_eligibility?: "PENDING_CHECK" | "VERIFIED" | "
|
|
2104
|
+
payment_status?: "PENDING" | "REJECTED" | "CONFIRMED" | "CONFIRMED_INDIRECT" | undefined;
|
|
2105
|
+
payment_eligibility?: "PENDING_CHECK" | "VERIFIED" | "UNVERIFIED" | "EXCLUDED_NON_AUTOWEB" | "EXCLUDED_PREEXISTING" | "VERIFIED_WEAK" | undefined;
|
|
1575
2106
|
include_archived?: boolean | undefined;
|
|
2107
|
+
currency?: string | undefined;
|
|
2108
|
+
mechanism?: "any" | "cold_welcome" | "wave" | ("any" | "cold_welcome" | "wave")[] | undefined;
|
|
2109
|
+
launch_source?: "manual" | "registration" | "schedule" | ("manual" | "registration" | "schedule")[] | undefined;
|
|
1576
2110
|
workspace_id?: string | undefined;
|
|
1577
2111
|
days?: number | undefined;
|
|
1578
2112
|
from?: string | undefined;
|
|
@@ -1581,15 +2115,17 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1581
2115
|
funnel?: string | string[] | undefined;
|
|
1582
2116
|
funnel_mode?: "none" | undefined;
|
|
1583
2117
|
segment?: string | string[] | undefined;
|
|
1584
|
-
mailing_variant_id?: string | string[] | undefined;
|
|
1585
|
-
mechanism?: "wave" | "cold_welcome" | ("wave" | "cold_welcome")[] | undefined;
|
|
1586
2118
|
product?: string | string[] | undefined;
|
|
1587
2119
|
product_mode?: "none" | undefined;
|
|
1588
|
-
|
|
1589
|
-
|
|
2120
|
+
channels?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN")[] | undefined;
|
|
2121
|
+
freshness?: "0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14" | ("0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14")[] | undefined;
|
|
2122
|
+
mailing_variant_id?: string | string[] | undefined;
|
|
1590
2123
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2124
|
+
view: "period" | "entry" | "cohort";
|
|
1591
2125
|
mode: "all" | "days" | "range";
|
|
1592
|
-
|
|
2126
|
+
currency?: string | undefined;
|
|
2127
|
+
mechanism?: "any" | "cold_welcome" | "wave" | ("any" | "cold_welcome" | "wave")[] | undefined;
|
|
2128
|
+
launch_source?: "manual" | "registration" | "schedule" | ("manual" | "registration" | "schedule")[] | undefined;
|
|
1593
2129
|
workspace_id?: string | undefined;
|
|
1594
2130
|
days?: number | undefined;
|
|
1595
2131
|
from?: string | undefined;
|
|
@@ -1598,20 +2134,22 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1598
2134
|
funnel?: string | string[] | undefined;
|
|
1599
2135
|
funnel_mode?: "none" | undefined;
|
|
1600
2136
|
segment?: string | string[] | undefined;
|
|
1601
|
-
mailing_variant_id?: string | string[] | undefined;
|
|
1602
|
-
mechanism?: "wave" | "cold_welcome" | ("wave" | "cold_welcome")[] | undefined;
|
|
1603
2137
|
product?: string | string[] | undefined;
|
|
1604
2138
|
product_mode?: "none" | undefined;
|
|
1605
|
-
|
|
1606
|
-
|
|
2139
|
+
channels?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN")[] | undefined;
|
|
2140
|
+
freshness?: "0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14" | ("0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14")[] | undefined;
|
|
2141
|
+
mailing_variant_id?: string | string[] | undefined;
|
|
1607
2142
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2143
|
+
include_archived: boolean;
|
|
2144
|
+
page: number;
|
|
2145
|
+
page_size: number;
|
|
1608
2146
|
workspace_id?: string | undefined;
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
2147
|
+
view?: "decidable" | "excluded" | "resolved" | undefined;
|
|
2148
|
+
status?: "PENDING" | "REJECTED" | "CONFIRMED" | "CONFIRMED_INDIRECT" | undefined;
|
|
2149
|
+
eligibility?: "PENDING_CHECK" | "VERIFIED" | "UNVERIFIED" | "EXCLUDED_NON_AUTOWEB" | "EXCLUDED_PREEXISTING" | undefined;
|
|
1612
2150
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2151
|
+
include_archived: boolean;
|
|
1613
2152
|
workspace_id?: string | undefined;
|
|
1614
|
-
include_archived?: boolean | undefined;
|
|
1615
2153
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1616
2154
|
name: string;
|
|
1617
2155
|
message_text?: string | null | undefined;
|
|
@@ -1619,227 +2157,319 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1619
2157
|
default_segment?: string | null | undefined;
|
|
1620
2158
|
default_product_code?: string | null | undefined;
|
|
1621
2159
|
default_funnel?: string | null | undefined;
|
|
1622
|
-
default_platform_id?: string | null | undefined;
|
|
1623
2160
|
default_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2161
|
+
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
2162
|
+
default_platform_id?: string | null | undefined;
|
|
1624
2163
|
cold_welcome_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1625
|
-
cold_welcome_channels_mode?: "
|
|
2164
|
+
cold_welcome_channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1626
2165
|
quiet_days_override?: number | null | undefined;
|
|
1627
|
-
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
1628
2166
|
workspace_id?: string | undefined;
|
|
1629
2167
|
description?: string | undefined;
|
|
1630
2168
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1631
2169
|
mailing_variant_id: string;
|
|
1632
|
-
archived?: boolean | undefined;
|
|
1633
|
-
explicit_confirmation?: true | undefined;
|
|
1634
2170
|
message_text?: string | null | undefined;
|
|
1635
2171
|
message_text_by_segment?: Record<string, string> | null | undefined;
|
|
1636
2172
|
default_segment?: string | null | undefined;
|
|
1637
2173
|
default_product_code?: string | null | undefined;
|
|
1638
2174
|
default_funnel?: string | null | undefined;
|
|
1639
|
-
default_platform_id?: string | null | undefined;
|
|
1640
2175
|
default_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2176
|
+
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
2177
|
+
default_platform_id?: string | null | undefined;
|
|
1641
2178
|
cold_welcome_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1642
|
-
cold_welcome_channels_mode?: "
|
|
2179
|
+
cold_welcome_channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1643
2180
|
quiet_days_override?: number | null | undefined;
|
|
1644
|
-
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
1645
2181
|
workspace_id?: string | undefined;
|
|
1646
2182
|
name?: string | undefined;
|
|
1647
2183
|
description?: string | null | undefined;
|
|
2184
|
+
archived?: boolean | undefined;
|
|
2185
|
+
explicit_confirmation?: true | undefined;
|
|
1648
2186
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1649
2187
|
mailing_variant_id: string;
|
|
1650
2188
|
explicit_confirmation: true;
|
|
1651
2189
|
workspace_id?: string | undefined;
|
|
1652
2190
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1653
|
-
platform_id: string;
|
|
1654
2191
|
workspace_id?: string | undefined;
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
2192
|
+
mailing_variant_id?: string | undefined;
|
|
2193
|
+
schedule_id?: string | undefined;
|
|
2194
|
+
origin?: "CAMPAIGN" | "WAVE" | "MANUAL" | "REGISTRATION" | "SCHEDULE" | undefined;
|
|
2195
|
+
cursor?: string | undefined;
|
|
2196
|
+
limit?: number | undefined;
|
|
1660
2197
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1661
|
-
|
|
2198
|
+
segment_id: string;
|
|
2199
|
+
mailing_variant_id: string;
|
|
1662
2200
|
platform_id: string;
|
|
2201
|
+
mechanism: "cold_welcome";
|
|
2202
|
+
freshness_days: number;
|
|
2203
|
+
time_local: string;
|
|
2204
|
+
daily_cap: number;
|
|
2205
|
+
selection_order: "FRESH_FIRST" | "OLD_FIRST";
|
|
2206
|
+
cooldown_days: number;
|
|
1663
2207
|
workspace_id?: string | undefined;
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
2208
|
+
funnels?: string[] | "all" | undefined;
|
|
2209
|
+
product_codes?: string[] | "all" | undefined;
|
|
2210
|
+
window_mode?: "FIXED" | "ROLLING" | undefined;
|
|
2211
|
+
window_from_local?: string | undefined;
|
|
2212
|
+
window_to_local?: string | undefined;
|
|
2213
|
+
days_of_week?: number[] | undefined;
|
|
2214
|
+
days_of_month?: number[] | undefined;
|
|
2215
|
+
handoff_from_school_platforms?: boolean | undefined;
|
|
2216
|
+
resend_segment_on_new_registration?: boolean | undefined;
|
|
2217
|
+
resend_segment_pause_days?: number | undefined;
|
|
2218
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2219
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
2220
|
+
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
2221
|
+
skip_after_segment_ids?: string[] | undefined;
|
|
2222
|
+
is_enabled?: boolean | undefined;
|
|
1669
2223
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1670
|
-
|
|
2224
|
+
segment_id: string;
|
|
2225
|
+
mailing_variant_id: string;
|
|
2226
|
+
platform_id: string;
|
|
2227
|
+
mechanism: "cold_welcome";
|
|
2228
|
+
freshness_days: number;
|
|
2229
|
+
time_local: string;
|
|
2230
|
+
daily_cap: number;
|
|
2231
|
+
selection_order: "FRESH_FIRST" | "OLD_FIRST";
|
|
2232
|
+
cooldown_days: number;
|
|
2233
|
+
schedule_id?: string | undefined;
|
|
1671
2234
|
workspace_id?: string | undefined;
|
|
2235
|
+
funnels?: string[] | "all" | undefined;
|
|
2236
|
+
product_codes?: string[] | "all" | undefined;
|
|
2237
|
+
window_mode?: "FIXED" | "ROLLING" | undefined;
|
|
2238
|
+
window_from_local?: string | undefined;
|
|
2239
|
+
window_to_local?: string | undefined;
|
|
2240
|
+
days_of_week?: number[] | undefined;
|
|
2241
|
+
days_of_month?: number[] | undefined;
|
|
2242
|
+
handoff_from_school_platforms?: boolean | undefined;
|
|
2243
|
+
resend_segment_on_new_registration?: boolean | undefined;
|
|
2244
|
+
resend_segment_pause_days?: number | undefined;
|
|
2245
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2246
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
2247
|
+
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
2248
|
+
skip_after_segment_ids?: string[] | undefined;
|
|
2249
|
+
is_enabled?: boolean | undefined;
|
|
1672
2250
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1673
|
-
|
|
2251
|
+
schedule_id: string;
|
|
2252
|
+
explicit_confirmation: true;
|
|
1674
2253
|
workspace_id?: string | undefined;
|
|
1675
2254
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1676
|
-
|
|
2255
|
+
schedule_id: string;
|
|
1677
2256
|
workspace_id?: string | undefined;
|
|
1678
|
-
|
|
1679
|
-
contacts?: {
|
|
1680
|
-
contact_id: string;
|
|
1681
|
-
deal_id?: string | undefined;
|
|
1682
|
-
segment_entered_at?: string | undefined;
|
|
1683
|
-
registered_at?: string | undefined;
|
|
1684
|
-
funnel?: string | undefined;
|
|
1685
|
-
}[] | undefined;
|
|
1686
|
-
mailing_variant_id?: string | undefined;
|
|
1687
|
-
segment?: string | undefined;
|
|
1688
|
-
message?: string | undefined;
|
|
1689
|
-
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1690
|
-
channels_mode?: "RESTRICT" | "ADD" | undefined;
|
|
2257
|
+
limit?: number | undefined;
|
|
1691
2258
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1692
|
-
explicit_confirmation: true;
|
|
1693
2259
|
workspace_id?: string | undefined;
|
|
1694
2260
|
platform_id?: string | undefined;
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
deal_id?: string | undefined;
|
|
1699
|
-
segment_entered_at?: string | undefined;
|
|
1700
|
-
registered_at?: string | undefined;
|
|
1701
|
-
funnel?: string | undefined;
|
|
1702
|
-
}[] | undefined;
|
|
1703
|
-
deal_fields?: Record<string, string | number | boolean | null> | undefined;
|
|
1704
|
-
message?: string | undefined;
|
|
1705
|
-
mailing_variant_id?: string | undefined;
|
|
1706
|
-
segment?: string | undefined;
|
|
1707
|
-
product_code?: string | undefined;
|
|
1708
|
-
funnel?: string | undefined;
|
|
1709
|
-
cohort_label?: string | undefined;
|
|
2261
|
+
window_days?: number | undefined;
|
|
2262
|
+
funnels?: string[] | "all" | undefined;
|
|
2263
|
+
product_codes?: string[] | "all" | undefined;
|
|
1710
2264
|
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1711
|
-
|
|
2265
|
+
cooldown_days?: number | undefined;
|
|
2266
|
+
local_day?: string | undefined;
|
|
2267
|
+
force?: boolean | undefined;
|
|
1712
2268
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
2269
|
+
segment_id: string;
|
|
2270
|
+
facets: {
|
|
2271
|
+
application: "NONE" | "CANCELLED" | "ANY";
|
|
2272
|
+
payment: "ANY" | "NOT_ANYWHERE" | "NOT_IN_FUNNEL";
|
|
2273
|
+
attended?: "ANY" | "NO" | "YES" | undefined;
|
|
2274
|
+
attendedFirstSession?: "ANY" | "NO" | "YES" | undefined;
|
|
2275
|
+
activeSecondsMin?: number | undefined;
|
|
2276
|
+
activeSecondsMax?: number | undefined;
|
|
2277
|
+
webinarDayMin?: number | undefined;
|
|
2278
|
+
webinarDayMax?: number | undefined;
|
|
2279
|
+
bannerClick?: "ANY" | "NO" | "YES" | undefined;
|
|
2280
|
+
prelist?: "ANY" | "NO" | "YES" | undefined;
|
|
2281
|
+
previousSegment?: {
|
|
2282
|
+
key: string;
|
|
2283
|
+
minDaysSince: number;
|
|
2284
|
+
} | undefined;
|
|
2285
|
+
untouchedOnly?: boolean | undefined;
|
|
2286
|
+
};
|
|
2287
|
+
freshness_anchor: "REGISTRATION" | "SERIES_END" | "SERIES_END_PLUS_WAIT" | "FIRST_SESSION_END_PLUS_WAIT" | "LAST_APPLICATION" | "PRELIST";
|
|
2288
|
+
workspace_id?: string | undefined;
|
|
2289
|
+
wait_after_series_end_hours?: number | undefined;
|
|
2290
|
+
priority?: number | undefined;
|
|
2291
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2292
|
+
report: "summary" | "tasks" | "breakdown";
|
|
2293
|
+
workspace_id?: string | undefined;
|
|
2294
|
+
mode?: "all" | "days" | "range" | undefined;
|
|
2295
|
+
days?: number | undefined;
|
|
2296
|
+
from?: string | undefined;
|
|
2297
|
+
to?: string | undefined;
|
|
2298
|
+
scope?: "production" | "with_tests" | undefined;
|
|
2299
|
+
group_by?: "platform" | "customer" | "operation" | "provider" | "tag" | undefined;
|
|
2300
|
+
page?: number | undefined;
|
|
2301
|
+
limit?: number | undefined;
|
|
2302
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2303
|
+
report: "money" | "summary" | "topics" | "speed" | "cycle" | "quality";
|
|
2304
|
+
mode: "all" | "days" | "range";
|
|
2305
|
+
currency?: string | undefined;
|
|
1728
2306
|
workspace_id?: string | undefined;
|
|
1729
2307
|
platform_id?: string | undefined;
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
guards?: {
|
|
1735
|
-
active_series?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1736
|
-
active_application?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1737
|
-
paid?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1738
|
-
} | undefined;
|
|
2308
|
+
channels?: string[] | undefined;
|
|
2309
|
+
days?: number | undefined;
|
|
2310
|
+
from?: string | undefined;
|
|
2311
|
+
to?: string | undefined;
|
|
1739
2312
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1740
|
-
|
|
2313
|
+
report: "summary" | "cohorts" | "meta" | "velocity" | "activity" | "trigger-daily" | "drilldown" | "managers" | "stage-path" | "decision-gate";
|
|
2314
|
+
platform_id: string;
|
|
2315
|
+
workspace_id?: string | undefined;
|
|
2316
|
+
from?: string | undefined;
|
|
2317
|
+
to?: string | undefined;
|
|
2318
|
+
view?: "period" | "cohort" | undefined;
|
|
2319
|
+
manager_id?: number | undefined;
|
|
2320
|
+
target_status_id?: string | undefined;
|
|
2321
|
+
metric?: "phone" | "operator" | "engaged3" | "wins" | "wrote" | "blocked" | "stuck" | "decision_approved" | "decision_pending" | "decision_rejected" | "decision_submitted" | "finish_win" | "no_deal" | "operator_waiting" | "pipeline_reached" | "replied1" | "send_failed" | "stage_reached" | "undeliverable" | undefined;
|
|
2322
|
+
stage_id?: string | undefined;
|
|
2323
|
+
pipeline_crm_id?: string | undefined;
|
|
2324
|
+
pipeline_id?: string | undefined;
|
|
2325
|
+
page?: number | undefined;
|
|
2326
|
+
page_size?: number | undefined;
|
|
2327
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2328
|
+
report_id: string;
|
|
2329
|
+
workspace_id?: string | undefined;
|
|
2330
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2331
|
+
report_id: string;
|
|
2332
|
+
from: string;
|
|
2333
|
+
to: string;
|
|
2334
|
+
workspace_id?: string | undefined;
|
|
2335
|
+
granularity?: "total" | "day" | "month" | "week" | undefined;
|
|
2336
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2337
|
+
workspace_id?: string | undefined;
|
|
2338
|
+
low_delivery_threshold?: number | undefined;
|
|
2339
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2340
|
+
agent_id: string;
|
|
2341
|
+
enabled: boolean;
|
|
2342
|
+
run_hour_utc: number;
|
|
2343
|
+
channel_scope: "ALL" | "SELECTED";
|
|
2344
|
+
workspace_id?: string | undefined;
|
|
2345
|
+
channel_ids?: string[] | undefined;
|
|
2346
|
+
max_segments_per_run?: number | undefined;
|
|
2347
|
+
min_new_agent_replies?: number | undefined;
|
|
2348
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2349
|
+
agent_id: string;
|
|
2350
|
+
idempotency_key: string;
|
|
1741
2351
|
explicit_confirmation: true;
|
|
2352
|
+
confirmation_reason: string;
|
|
1742
2353
|
workspace_id?: string | undefined;
|
|
2354
|
+
period_from?: string | undefined;
|
|
2355
|
+
period_to?: string | undefined;
|
|
1743
2356
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1744
|
-
platform_id: string;
|
|
1745
|
-
contacts: {
|
|
1746
|
-
contact_id: string;
|
|
1747
|
-
deal_id?: string | undefined;
|
|
1748
|
-
dialog_id?: string | undefined;
|
|
1749
|
-
transport?: string | undefined;
|
|
1750
|
-
email?: string | undefined;
|
|
1751
|
-
phone?: string | undefined;
|
|
1752
|
-
first_name?: string | undefined;
|
|
1753
|
-
last_name?: string | undefined;
|
|
1754
|
-
}[];
|
|
1755
2357
|
workspace_id?: string | undefined;
|
|
1756
|
-
|
|
2358
|
+
agent_id?: string | undefined;
|
|
2359
|
+
limit?: number | undefined;
|
|
2360
|
+
cursor?: string | undefined;
|
|
1757
2361
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1758
|
-
|
|
2362
|
+
run_id: string;
|
|
2363
|
+
explicit_confirmation: true;
|
|
1759
2364
|
workspace_id?: string | undefined;
|
|
1760
|
-
|
|
2365
|
+
confirmation_reason?: string | undefined;
|
|
1761
2366
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1762
2367
|
run_id: string;
|
|
2368
|
+
workspace_id?: string | undefined;
|
|
2369
|
+
limit?: number | undefined;
|
|
2370
|
+
observation_type?: string | undefined;
|
|
2371
|
+
severity?: "HIGH" | "LOW" | "MEDIUM" | "CRITICAL" | undefined;
|
|
2372
|
+
review_state?: "BAD" | "GOOD" | "NOT_REVIEWED" | undefined;
|
|
2373
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2374
|
+
observation_id: string;
|
|
2375
|
+
verdict: "BAD" | "GOOD";
|
|
2376
|
+
workspace_id?: string | undefined;
|
|
2377
|
+
comment?: string | null | undefined;
|
|
2378
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2379
|
+
observation_id: string;
|
|
2380
|
+
workspace_id?: string | undefined;
|
|
2381
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2382
|
+
channel_id: string;
|
|
2383
|
+
type: "DIALOGUE_ANALYSIS";
|
|
2384
|
+
is_enabled: boolean;
|
|
1763
2385
|
explicit_confirmation: true;
|
|
1764
|
-
confirmation_reason: string;
|
|
1765
2386
|
workspace_id?: string | undefined;
|
|
2387
|
+
daily?: {
|
|
2388
|
+
enabled: boolean;
|
|
2389
|
+
summary_time?: string | undefined;
|
|
2390
|
+
output?: "hidden" | "note" | undefined;
|
|
2391
|
+
} | undefined;
|
|
2392
|
+
hourly?: {
|
|
2393
|
+
enabled: boolean;
|
|
2394
|
+
window_start?: string | undefined;
|
|
2395
|
+
window_end?: string | undefined;
|
|
2396
|
+
min_new_events?: number | undefined;
|
|
2397
|
+
output?: "hidden" | "note" | undefined;
|
|
2398
|
+
} | undefined;
|
|
2399
|
+
pipeline_scope?: {
|
|
2400
|
+
mode: "ALL" | "SELECTED";
|
|
2401
|
+
pipeline_ids: string[];
|
|
2402
|
+
} | undefined;
|
|
2403
|
+
manager_scope?: {
|
|
2404
|
+
mode: "ALL" | "SELECTED";
|
|
2405
|
+
operator_ids: string[];
|
|
2406
|
+
} | undefined;
|
|
2407
|
+
stage_scope?: {
|
|
2408
|
+
mode: "SELECTED";
|
|
2409
|
+
stages: {
|
|
2410
|
+
pipeline_crm_id: string;
|
|
2411
|
+
pipeline_id: string | number;
|
|
2412
|
+
status_id: string | number;
|
|
2413
|
+
}[];
|
|
2414
|
+
} | null | undefined;
|
|
2415
|
+
prompts?: {
|
|
2416
|
+
daily?: string | null | undefined;
|
|
2417
|
+
hourly?: string | null | undefined;
|
|
2418
|
+
} | undefined;
|
|
2419
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2420
|
+
conversation_id: string;
|
|
2421
|
+
workspace_id?: string | undefined;
|
|
2422
|
+
since?: string | undefined;
|
|
1766
2423
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1767
2424
|
platform_id: string;
|
|
2425
|
+
workspace_id?: string | undefined;
|
|
1768
2426
|
cursor?: string | undefined;
|
|
1769
2427
|
limit?: number | undefined;
|
|
1770
2428
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1771
2429
|
run_id: string;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
severity?: "LOW" | "MEDIUM" | "CRITICAL" | undefined;
|
|
1775
|
-
status?: "NEW" | "LIKED" | "DISLIKED" | undefined;
|
|
2430
|
+
workspace_id?: string | undefined;
|
|
2431
|
+
explicit_confirmation?: boolean | undefined;
|
|
1776
2432
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1777
2433
|
platform_id: string;
|
|
2434
|
+
explicit_confirmation: true;
|
|
2435
|
+
workspace_id?: string | undefined;
|
|
1778
2436
|
period_from?: string | undefined;
|
|
1779
2437
|
period_to?: string | undefined;
|
|
1780
|
-
explicit_confirmation?: boolean | undefined;
|
|
1781
2438
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1782
2439
|
run_id: string;
|
|
1783
|
-
|
|
2440
|
+
workspace_id?: string | undefined;
|
|
2441
|
+
agent_id?: string | undefined;
|
|
2442
|
+
category?: string | undefined;
|
|
2443
|
+
severity?: "LOW" | "MEDIUM" | "CRITICAL" | undefined;
|
|
2444
|
+
status?: "NEW" | "LIKED" | "DISLIKED" | undefined;
|
|
2445
|
+
limit?: number | undefined;
|
|
1784
2446
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1785
2447
|
platform_id: string;
|
|
1786
2448
|
tickets: string[];
|
|
1787
2449
|
findings: {
|
|
1788
2450
|
ticket: string;
|
|
1789
|
-
category:
|
|
1790
|
-
severity: "LOW" | "MEDIUM" | "CRITICAL";
|
|
2451
|
+
category: string;
|
|
2452
|
+
severity: "HIGH" | "LOW" | "MEDIUM" | "CRITICAL";
|
|
1791
2453
|
title: string;
|
|
1792
2454
|
description: string;
|
|
1793
2455
|
primary_message_id: string;
|
|
1794
2456
|
prompt_suggestion?: string | null | undefined;
|
|
1795
2457
|
quote?: string | null | undefined;
|
|
2458
|
+
expected_behavior?: string | null | undefined;
|
|
1796
2459
|
}[];
|
|
2460
|
+
workspace_id?: string | undefined;
|
|
1797
2461
|
client_id?: string | undefined;
|
|
1798
2462
|
principles_hash?: string | undefined;
|
|
1799
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1800
|
-
workspace_id?: string | undefined;
|
|
1801
|
-
include_archived?: boolean | undefined;
|
|
1802
|
-
days?: number | undefined;
|
|
1803
|
-
limit?: number | undefined;
|
|
1804
|
-
offset?: number | undefined;
|
|
1805
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1806
|
-
name: string;
|
|
1807
|
-
slug: string;
|
|
1808
|
-
target_url: string;
|
|
1809
|
-
workspace_id?: string | undefined;
|
|
1810
|
-
product_code?: string | undefined;
|
|
1811
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1812
|
-
link_id: string;
|
|
1813
|
-
workspace_id?: string | undefined;
|
|
1814
|
-
name?: string | undefined;
|
|
1815
|
-
target_url?: string | undefined;
|
|
1816
|
-
product_code?: string | undefined;
|
|
1817
|
-
restore?: true | undefined;
|
|
1818
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1819
|
-
link_id: string;
|
|
1820
|
-
explicit_confirmation: true;
|
|
1821
|
-
workspace_id?: string | undefined;
|
|
1822
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1823
|
-
link_id: string;
|
|
1824
|
-
workspace_id?: string | undefined;
|
|
1825
|
-
days?: number | undefined;
|
|
1826
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1827
|
-
link_id: string;
|
|
1828
|
-
workspace_id?: string | undefined;
|
|
1829
|
-
days?: number | undefined;
|
|
1830
|
-
page?: number | undefined;
|
|
1831
|
-
page_size?: number | undefined;
|
|
1832
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1833
|
-
domain: string | null;
|
|
1834
|
-
workspace_id?: string | undefined;
|
|
1835
2463
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1836
2464
|
platform_id: string;
|
|
1837
2465
|
type: "DIALOGUE_ANALYSIS";
|
|
1838
2466
|
is_enabled: boolean;
|
|
2467
|
+
explicit_confirmation: true;
|
|
2468
|
+
workspace_id?: string | undefined;
|
|
1839
2469
|
daily?: {
|
|
1840
2470
|
enabled: boolean;
|
|
1841
2471
|
summary_time?: string | undefined;
|
|
1842
|
-
output?: "
|
|
2472
|
+
output?: "hidden" | "note" | undefined;
|
|
1843
2473
|
model?: string | undefined;
|
|
1844
2474
|
max_tokens?: number | undefined;
|
|
1845
2475
|
} | undefined;
|
|
@@ -1848,120 +2478,75 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1848
2478
|
window_start?: string | undefined;
|
|
1849
2479
|
window_end?: string | undefined;
|
|
1850
2480
|
min_new_events?: number | undefined;
|
|
1851
|
-
output?: "
|
|
2481
|
+
output?: "hidden" | "note" | undefined;
|
|
1852
2482
|
model?: string | undefined;
|
|
1853
2483
|
max_tokens?: number | undefined;
|
|
1854
2484
|
} | undefined;
|
|
2485
|
+
daily_prompt?: string | null | undefined;
|
|
2486
|
+
hourly_prompt?: string | null | undefined;
|
|
1855
2487
|
funnels?: string[] | undefined;
|
|
1856
2488
|
managers?: number[] | undefined;
|
|
1857
2489
|
stages?: {
|
|
1858
2490
|
pipeline_crm_id: string;
|
|
1859
|
-
pipeline_id: number;
|
|
1860
|
-
status_id: number;
|
|
2491
|
+
pipeline_id: string | number;
|
|
2492
|
+
status_id: string | number;
|
|
1861
2493
|
}[] | null | undefined;
|
|
1862
|
-
daily_prompt?: string | null | undefined;
|
|
1863
|
-
hourly_prompt?: string | null | undefined;
|
|
1864
|
-
explicit_confirmation?: boolean | undefined;
|
|
1865
2494
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1866
|
-
|
|
2495
|
+
getcourse_user_id: number;
|
|
2496
|
+
workspace_id?: string | undefined;
|
|
1867
2497
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
2498
|
+
workspace_id?: string | undefined;
|
|
2499
|
+
contact_id?: string | undefined;
|
|
2500
|
+
chat_user_id?: string | undefined;
|
|
1871
2501
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
platform_id: string;
|
|
1875
|
-
mechanism: "cold_welcome";
|
|
1876
|
-
freshness_days: number;
|
|
1877
|
-
time_local: string;
|
|
1878
|
-
daily_cap: number;
|
|
1879
|
-
selection_order: "FRESH_FIRST" | "OLD_FIRST";
|
|
1880
|
-
cooldown_days: number;
|
|
2502
|
+
conversation_id: string;
|
|
2503
|
+
action_id: string;
|
|
1881
2504
|
workspace_id?: string | undefined;
|
|
1882
|
-
|
|
1883
|
-
product_codes?: string[] | "all" | undefined;
|
|
1884
|
-
window_mode?: "FIXED" | "ROLLING" | undefined;
|
|
1885
|
-
window_from_local?: string | undefined;
|
|
1886
|
-
window_to_local?: string | undefined;
|
|
1887
|
-
days_of_week?: number[] | undefined;
|
|
1888
|
-
days_of_month?: number[] | undefined;
|
|
1889
|
-
handoff_from_school_platforms?: boolean | undefined;
|
|
1890
|
-
resend_segment_on_new_registration?: boolean | undefined;
|
|
1891
|
-
resend_segment_pause_days?: number | undefined;
|
|
1892
|
-
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1893
|
-
channels_mode?: "RESTRICT" | "ADD" | undefined;
|
|
1894
|
-
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1895
|
-
skip_after_segment_ids?: string[] | undefined;
|
|
1896
|
-
is_enabled?: boolean | undefined;
|
|
2505
|
+
explicit_confirmation?: true | undefined;
|
|
1897
2506
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1898
|
-
segment_id: string;
|
|
1899
|
-
mailing_variant_id: string;
|
|
1900
|
-
platform_id: string;
|
|
1901
|
-
mechanism: "cold_welcome";
|
|
1902
|
-
freshness_days: number;
|
|
1903
|
-
time_local: string;
|
|
1904
|
-
daily_cap: number;
|
|
1905
|
-
selection_order: "FRESH_FIRST" | "OLD_FIRST";
|
|
1906
|
-
cooldown_days: number;
|
|
1907
|
-
schedule_id?: string | undefined;
|
|
1908
2507
|
workspace_id?: string | undefined;
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
days_of_week?: number[] | undefined;
|
|
1915
|
-
days_of_month?: number[] | undefined;
|
|
1916
|
-
handoff_from_school_platforms?: boolean | undefined;
|
|
1917
|
-
resend_segment_on_new_registration?: boolean | undefined;
|
|
1918
|
-
resend_segment_pause_days?: number | undefined;
|
|
1919
|
-
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1920
|
-
channels_mode?: "RESTRICT" | "ADD" | undefined;
|
|
1921
|
-
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1922
|
-
skip_after_segment_ids?: string[] | undefined;
|
|
1923
|
-
is_enabled?: boolean | undefined;
|
|
2508
|
+
currency?: string | undefined;
|
|
2509
|
+
include_archived?: boolean | undefined;
|
|
2510
|
+
days?: number | undefined;
|
|
2511
|
+
limit?: number | undefined;
|
|
2512
|
+
offset?: number | undefined;
|
|
1924
2513
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1925
|
-
|
|
2514
|
+
name: string;
|
|
2515
|
+
slug: string;
|
|
2516
|
+
target_url: string;
|
|
2517
|
+
workspace_id?: string | undefined;
|
|
2518
|
+
personal_url_variable?: string | undefined;
|
|
2519
|
+
product_code?: string | undefined;
|
|
2520
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2521
|
+
link_id: string;
|
|
2522
|
+
workspace_id?: string | undefined;
|
|
2523
|
+
name?: string | undefined;
|
|
2524
|
+
target_url?: string | undefined;
|
|
2525
|
+
personal_url_variable?: string | null | undefined;
|
|
2526
|
+
product_code?: string | undefined;
|
|
2527
|
+
restore?: true | undefined;
|
|
2528
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2529
|
+
link_id: string;
|
|
1926
2530
|
explicit_confirmation: true;
|
|
1927
2531
|
workspace_id?: string | undefined;
|
|
1928
2532
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1929
|
-
|
|
2533
|
+
link_id: string;
|
|
1930
2534
|
workspace_id?: string | undefined;
|
|
1931
|
-
|
|
2535
|
+
currency?: string | undefined;
|
|
2536
|
+
days?: number | undefined;
|
|
1932
2537
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2538
|
+
link_id: string;
|
|
1933
2539
|
workspace_id?: string | undefined;
|
|
1934
|
-
|
|
1935
|
-
window_days?: number | undefined;
|
|
1936
|
-
funnels?: string[] | "all" | undefined;
|
|
1937
|
-
product_codes?: string[] | "all" | undefined;
|
|
1938
|
-
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1939
|
-
cooldown_days?: number | undefined;
|
|
1940
|
-
local_day?: string | undefined;
|
|
1941
|
-
force?: boolean | undefined;
|
|
2540
|
+
days?: number | undefined;
|
|
1942
2541
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
activeSecondsMax?: number | undefined;
|
|
1951
|
-
webinarDayMin?: number | undefined;
|
|
1952
|
-
webinarDayMax?: number | undefined;
|
|
1953
|
-
bannerClick?: "ANY" | "YES" | "NO" | undefined;
|
|
1954
|
-
prelist?: "ANY" | "YES" | "NO" | undefined;
|
|
1955
|
-
previousSegment?: {
|
|
1956
|
-
key: string;
|
|
1957
|
-
minDaysSince: number;
|
|
1958
|
-
} | undefined;
|
|
1959
|
-
untouchedOnly?: boolean | undefined;
|
|
1960
|
-
};
|
|
1961
|
-
freshness_anchor: "REGISTRATION" | "SERIES_END" | "SERIES_END_PLUS_WAIT" | "FIRST_SESSION_END_PLUS_WAIT" | "LAST_APPLICATION" | "PRELIST";
|
|
2542
|
+
link_id: string;
|
|
2543
|
+
workspace_id?: string | undefined;
|
|
2544
|
+
days?: number | undefined;
|
|
2545
|
+
page?: number | undefined;
|
|
2546
|
+
page_size?: number | undefined;
|
|
2547
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2548
|
+
domain: string | null;
|
|
1962
2549
|
workspace_id?: string | undefined;
|
|
1963
|
-
wait_after_series_end_hours?: number | undefined;
|
|
1964
|
-
priority?: number | undefined;
|
|
1965
2550
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1966
2551
|
query: string;
|
|
1967
2552
|
limit?: number | undefined;
|
|
@@ -1969,20 +2554,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1969
2554
|
uri: string;
|
|
1970
2555
|
section?: string | undefined;
|
|
1971
2556
|
full?: boolean | undefined;
|
|
1972
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1973
|
-
workspace_id?: string | undefined;
|
|
1974
|
-
limit?: number | undefined;
|
|
1975
|
-
cursor?: string | undefined;
|
|
1976
|
-
search?: string | undefined;
|
|
1977
|
-
external_id?: string | undefined;
|
|
1978
|
-
phone?: string | undefined;
|
|
1979
|
-
email?: string | undefined;
|
|
1980
|
-
channel_id?: string | undefined;
|
|
1981
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1982
|
-
contact_id: string;
|
|
1983
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1984
|
-
contact_id: string;
|
|
1985
|
-
message_id?: string | undefined;
|
|
1986
2557
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1987
2558
|
goal: string;
|
|
1988
2559
|
constraints: string[];
|
|
@@ -1999,7 +2570,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1999
2570
|
}[];
|
|
2000
2571
|
pending_operations: {
|
|
2001
2572
|
operation: string;
|
|
2002
|
-
status: "
|
|
2573
|
+
status: "OUTCOME_UNKNOWN" | "AWAITING_USER" | "PLANNED";
|
|
2003
2574
|
object_ref?: {
|
|
2004
2575
|
type: string;
|
|
2005
2576
|
id: string;
|
|
@@ -2014,7 +2585,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
2014
2585
|
workspace_id?: string | undefined;
|
|
2015
2586
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2016
2587
|
workspace_id?: string | undefined;
|
|
2017
|
-
status?: "
|
|
2588
|
+
status?: "CANCELLED" | "COMPLETED" | "ACTIVE" | "EXPIRED" | undefined;
|
|
2018
2589
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2019
2590
|
task_id: string;
|
|
2020
2591
|
workspace_id?: string | undefined;
|
|
@@ -2037,7 +2608,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
2037
2608
|
}[] | undefined;
|
|
2038
2609
|
pending_operations?: {
|
|
2039
2610
|
operation: string;
|
|
2040
|
-
status: "
|
|
2611
|
+
status: "OUTCOME_UNKNOWN" | "AWAITING_USER" | "PLANNED";
|
|
2041
2612
|
object_ref?: {
|
|
2042
2613
|
type: string;
|
|
2043
2614
|
id: string;
|
|
@@ -2051,65 +2622,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
2051
2622
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2052
2623
|
task_id: string;
|
|
2053
2624
|
expected_version: number;
|
|
2054
|
-
outcome: "
|
|
2625
|
+
outcome: "CANCELLED" | "COMPLETED";
|
|
2055
2626
|
workspace_id?: string | undefined;
|
|
2056
2627
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2057
2628
|
task_id: string;
|
|
2058
2629
|
expected_version: number;
|
|
2059
2630
|
explicit_confirmation: true;
|
|
2060
2631
|
workspace_id?: string | undefined;
|
|
2061
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2062
|
-
report: "summary" | "topics" | "speed" | "money" | "cycle" | "quality";
|
|
2063
|
-
mode: "all" | "days" | "range";
|
|
2064
|
-
workspace_id?: string | undefined;
|
|
2065
|
-
platform_id?: string | undefined;
|
|
2066
|
-
channels?: string[] | undefined;
|
|
2067
|
-
days?: number | undefined;
|
|
2068
|
-
from?: string | undefined;
|
|
2069
|
-
to?: string | undefined;
|
|
2070
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2071
|
-
report: "summary" | "meta" | "cohorts";
|
|
2072
|
-
platform_id: string;
|
|
2073
|
-
workspace_id?: string | undefined;
|
|
2074
|
-
from?: string | undefined;
|
|
2075
|
-
to?: string | undefined;
|
|
2076
|
-
view?: "cohort" | "period" | undefined;
|
|
2077
|
-
manager_id?: number | undefined;
|
|
2078
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2079
|
-
report: "summary" | "tasks" | "breakdown";
|
|
2080
|
-
mode: "all" | "days" | "range";
|
|
2081
|
-
scope: "production" | "with_tests";
|
|
2082
|
-
workspace_id?: string | undefined;
|
|
2083
|
-
days?: number | undefined;
|
|
2084
|
-
from?: string | undefined;
|
|
2085
|
-
to?: string | undefined;
|
|
2086
|
-
group_by?: "provider" | "customer" | "platform" | "tag" | "operation" | undefined;
|
|
2087
|
-
page?: number | undefined;
|
|
2088
|
-
limit?: number | undefined;
|
|
2089
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2090
|
-
report_id: string;
|
|
2091
|
-
workspace_id?: string | undefined;
|
|
2092
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2093
|
-
report_id: string;
|
|
2094
|
-
from: string;
|
|
2095
|
-
to: string;
|
|
2096
|
-
workspace_id?: string | undefined;
|
|
2097
|
-
granularity?: "day" | "week" | "month" | "total" | undefined;
|
|
2098
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2099
|
-
page: number;
|
|
2100
|
-
limit: number;
|
|
2101
|
-
workspace_id?: string | undefined;
|
|
2102
|
-
status?: "IN_PROGRESS" | "WAITING_OPERATOR" | "WAITING_CUSTOMER" | "RESOLVED" | undefined;
|
|
2103
|
-
workspace_operator_id?: string | undefined;
|
|
2104
|
-
contact_id?: string | undefined;
|
|
2105
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2106
|
-
contact_id: string;
|
|
2107
|
-
workspace_id?: string | undefined;
|
|
2108
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2109
|
-
contact_id: string;
|
|
2110
|
-
workspace_operator_id: string | null;
|
|
2111
|
-
expected_workspace_operator_id: string | null;
|
|
2112
|
-
expected_assigned_operator_at: string | null;
|
|
2113
|
-
explicit_confirmation: true;
|
|
2114
|
-
workspace_id?: string | undefined;
|
|
2115
2632
|
}>)[];
|