@besales/mcp 0.48.0 → 1.0.0-beta.2
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 +109 -164
- 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 +52 -7
- package/dist/http/api-client.js +131 -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 +8 -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 +106 -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 +9902 -4734
- 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 +78 -21
- 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 +28 -41
- package/dist/tools/definitions/crm-platform.js +235 -368
- 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/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 +180 -254
- 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 +1 -0
- 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 +686 -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 +396 -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 +5 -5
- 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-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 +29 -0
- package/dist/tools/definitions/trigger-upsert.tool.js +122 -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 +1089 -636
- package/dist/tools/definitions.js +57 -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 +753 -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 +13 -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 +82 -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 +105875 -22205
- 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/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 +137 -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-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/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 +868 -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 +121 -0
- package/scripts/sync-trigger-repeat-mapping.mjs +12 -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/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,107 @@
|
|
|
1
1
|
export declare const toolDefinitions: (import("./definitions/shared.js").ToolDefinition<{
|
|
2
|
+
workspace_id?: string | undefined;
|
|
3
|
+
agent_id?: string | undefined;
|
|
4
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
5
|
+
agent_id: string;
|
|
6
|
+
limit?: number | undefined;
|
|
7
|
+
cursor?: string | undefined;
|
|
8
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
9
|
+
agent_id: string;
|
|
10
|
+
workspace_id?: string | undefined;
|
|
11
|
+
period_from?: string | undefined;
|
|
12
|
+
period_to?: string | undefined;
|
|
13
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
14
|
+
workspace_id?: string | undefined;
|
|
15
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
16
|
+
idempotency_key: string;
|
|
17
|
+
explicit_confirmation: true;
|
|
18
|
+
confirmation_reason: string;
|
|
19
|
+
workspace_id?: string | undefined;
|
|
20
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
21
|
+
idempotency_key: string;
|
|
22
|
+
workspace_id?: string | undefined;
|
|
23
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
24
|
+
run_id: string;
|
|
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<{
|
|
2
30
|
name: string;
|
|
3
31
|
source: "from_dialogues" | "from_files" | "from_scratch";
|
|
4
32
|
workspace_id?: string | undefined;
|
|
5
33
|
description?: string | undefined;
|
|
6
34
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
7
35
|
icp_id: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
36
|
+
request_key: string;
|
|
37
|
+
mode: "text" | "audio";
|
|
38
|
+
gdpr_confirmed: true;
|
|
39
|
+
source?: {
|
|
40
|
+
kind: "stored_crm_dialogues";
|
|
41
|
+
crmConnectionId: string;
|
|
42
|
+
outcomeFilter?: ("unknown" | "won" | "lost" | "in_progress")[] | undefined;
|
|
43
|
+
daysAgo?: number | undefined;
|
|
44
|
+
} | {
|
|
45
|
+
kind: "bitrix_open_lines";
|
|
46
|
+
crmConnectionId: string;
|
|
47
|
+
createdFrom: string;
|
|
48
|
+
createdTo: string;
|
|
49
|
+
categoryId?: number | undefined;
|
|
50
|
+
continuationStart?: number | undefined;
|
|
51
|
+
} | {
|
|
52
|
+
kind: "amocrm_calls";
|
|
53
|
+
crmConnectionId: string;
|
|
54
|
+
leadIds: string[];
|
|
55
|
+
defaultOutcome?: "unknown" | "won" | "lost" | "in_progress" | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
kind: "onlinepbx_calls";
|
|
58
|
+
startedFrom: string;
|
|
59
|
+
startedTo: string;
|
|
60
|
+
trunkId?: string | undefined;
|
|
61
|
+
minTalkTimeSec?: number | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
kind: "xlsx_upload";
|
|
64
|
+
storedFileId: string;
|
|
65
|
+
crmConnectionId: string;
|
|
66
|
+
sheets?: {
|
|
67
|
+
sheetIndex: number;
|
|
68
|
+
outcome: "won" | "lost";
|
|
69
|
+
}[] | undefined;
|
|
70
|
+
} | undefined;
|
|
12
71
|
crm_connection_id?: string | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
72
|
+
outcome_filter?: ("unknown" | "won" | "lost" | "in_progress")[] | undefined;
|
|
73
|
+
days_ago?: number | undefined;
|
|
74
|
+
anonymize?: true | undefined;
|
|
75
|
+
audio_source_type?: "bitrix_open_lines" | "amocrm_calls" | "onlinepbx_calls" | "xlsx_upload" | "bitrix_openlines" | "onlinepbx_direct" | "amocrm_leads" | undefined;
|
|
15
76
|
audio_source_config?: {
|
|
16
|
-
|
|
77
|
+
crmConnectionId?: string | undefined;
|
|
78
|
+
storedFileId?: string | undefined;
|
|
79
|
+
leadIds?: string[] | undefined;
|
|
80
|
+
defaultOutcome?: "unknown" | "won" | "lost" | "in_progress" | undefined;
|
|
81
|
+
startDate?: string | undefined;
|
|
82
|
+
endDate?: string | undefined;
|
|
83
|
+
createdFrom?: string | undefined;
|
|
84
|
+
createdTo?: string | undefined;
|
|
85
|
+
startedFrom?: string | undefined;
|
|
86
|
+
startedTo?: string | undefined;
|
|
87
|
+
categoryId?: number | undefined;
|
|
88
|
+
continuationStart?: number | undefined;
|
|
89
|
+
trunkId?: string | undefined;
|
|
90
|
+
minTalkTimeSec?: number | undefined;
|
|
91
|
+
sheets?: {
|
|
92
|
+
sheetIndex: number;
|
|
93
|
+
outcome: "won" | "lost";
|
|
94
|
+
}[] | undefined;
|
|
17
95
|
} | undefined;
|
|
18
|
-
|
|
96
|
+
continuation_run_id?: string | undefined;
|
|
97
|
+
language?: "ru-RU" | "uz-UZ" | "kk-KZ" | "auto" | undefined;
|
|
98
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
99
|
+
icp_id: string;
|
|
100
|
+
request_key: string;
|
|
101
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
102
|
+
icp_id: string;
|
|
103
|
+
cursor?: string | undefined;
|
|
104
|
+
limit?: number | undefined;
|
|
19
105
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
20
106
|
run_id: string;
|
|
21
107
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -64,6 +150,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
64
150
|
sample_id: string;
|
|
65
151
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
66
152
|
agent_id: string;
|
|
153
|
+
output_language?: string | undefined;
|
|
67
154
|
icp_profile_id?: string | undefined;
|
|
68
155
|
business_context?: {
|
|
69
156
|
[x: string]: unknown;
|
|
@@ -91,7 +178,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
91
178
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
92
179
|
agent_id: string;
|
|
93
180
|
version_id: string;
|
|
94
|
-
modes: ("grammar" | "
|
|
181
|
+
modes: ("grammar" | "structure" | "industry" | "contradictions" | "completeness")[];
|
|
182
|
+
source_language?: string | undefined;
|
|
95
183
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
96
184
|
aggregated_issues: {
|
|
97
185
|
[x: string]: unknown;
|
|
@@ -99,7 +187,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
99
187
|
agent_id: string;
|
|
100
188
|
operation_id: string;
|
|
101
189
|
stages: {
|
|
102
|
-
name: "grammar" | "
|
|
190
|
+
name: "grammar" | "structure" | "industry" | "aggregation";
|
|
103
191
|
output: {
|
|
104
192
|
[x: string]: unknown;
|
|
105
193
|
};
|
|
@@ -124,16 +212,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
124
212
|
max_turns?: number | undefined;
|
|
125
213
|
} | undefined;
|
|
126
214
|
} | undefined;
|
|
127
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
128
|
-
agent_id: string;
|
|
129
|
-
limit?: number | undefined;
|
|
130
|
-
cursor?: string | undefined;
|
|
131
215
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
132
216
|
run_id: string;
|
|
133
217
|
reviewed_issues: {
|
|
134
218
|
scenario_id?: string | undefined;
|
|
135
219
|
turn_index?: number | undefined;
|
|
136
|
-
category?: "
|
|
220
|
+
category?: "hallucination" | "wrong_action" | "missed_context" | "bad_tone" | "other" | undefined;
|
|
137
221
|
description?: string | undefined;
|
|
138
222
|
}[];
|
|
139
223
|
general_comments?: string | undefined;
|
|
@@ -145,8 +229,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
145
229
|
run_id: string;
|
|
146
230
|
operation_id: string;
|
|
147
231
|
findings: {
|
|
148
|
-
category: "
|
|
149
|
-
severity: "
|
|
232
|
+
category: "hallucination" | "wrong_action" | "wrong_routing" | "missed_context" | "rag_miss" | "bad_tone" | "other";
|
|
233
|
+
severity: "low" | "medium" | "critical";
|
|
150
234
|
scenario_id?: string | undefined;
|
|
151
235
|
scenarioId?: string | undefined;
|
|
152
236
|
description?: string | undefined;
|
|
@@ -164,8 +248,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
164
248
|
agent_id: string;
|
|
165
249
|
operation_id: string;
|
|
166
250
|
findings: {
|
|
167
|
-
category: "
|
|
168
|
-
severity: "
|
|
251
|
+
category: "hallucination" | "wrong_action" | "missed_context" | "bad_tone" | "other" | "contradiction" | "off_topic";
|
|
252
|
+
severity: "low" | "medium" | "critical";
|
|
169
253
|
message: string;
|
|
170
254
|
dialogue_id?: string | undefined;
|
|
171
255
|
dialogueId?: string | undefined;
|
|
@@ -203,13 +287,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
203
287
|
segment_ids: string[] | undefined;
|
|
204
288
|
name: string;
|
|
205
289
|
situations: {
|
|
206
|
-
role: "
|
|
290
|
+
role: "agent" | "client";
|
|
207
291
|
text: string;
|
|
208
292
|
expect?: {
|
|
209
|
-
|
|
210
|
-
noTriggers?: string[] | undefined;
|
|
211
|
-
tools?: string[] | undefined;
|
|
212
|
-
noTools?: string[] | undefined;
|
|
293
|
+
noTools?: "call_operator"[] | undefined;
|
|
213
294
|
answerContains?: string[] | undefined;
|
|
214
295
|
answerNotContains?: string[] | undefined;
|
|
215
296
|
} | undefined;
|
|
@@ -240,11 +321,137 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
240
321
|
condition?: string | null | undefined;
|
|
241
322
|
}[];
|
|
242
323
|
};
|
|
243
|
-
preamble?: string | undefined;
|
|
324
|
+
preamble?: string | null | undefined;
|
|
325
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
326
|
+
platform_id: string;
|
|
327
|
+
operation: "set" | "get";
|
|
328
|
+
workspace_id?: string | undefined;
|
|
329
|
+
rebind_policy?: "rebind" | "escalate" | undefined;
|
|
330
|
+
idempotency_key?: string | undefined;
|
|
331
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
332
|
+
platform_id: string;
|
|
333
|
+
name: string;
|
|
334
|
+
model_lane: "CHEAP" | "STANDARD" | "DEEP";
|
|
335
|
+
description?: string | null | undefined;
|
|
336
|
+
model?: string | undefined;
|
|
337
|
+
default_icp_profile_id?: string | undefined;
|
|
338
|
+
agent_variable_overrides?: {
|
|
339
|
+
custom_variable_id: string;
|
|
340
|
+
override_value: string | number | boolean;
|
|
341
|
+
}[] | undefined;
|
|
342
|
+
agent_workspace_variable_overrides?: {
|
|
343
|
+
workspace_variable_id: string;
|
|
344
|
+
override_value: string | number | boolean;
|
|
345
|
+
}[] | undefined;
|
|
346
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
347
|
+
platform_id: string;
|
|
348
|
+
source_agent_id: string;
|
|
349
|
+
name: string;
|
|
350
|
+
display_name?: string | undefined;
|
|
351
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
352
|
+
platform_id: string;
|
|
353
|
+
agent_id: string;
|
|
354
|
+
expected_version?: string | undefined;
|
|
355
|
+
expected_routing_version?: string | undefined;
|
|
356
|
+
name?: string | undefined;
|
|
357
|
+
description?: string | null | undefined;
|
|
358
|
+
model_lane?: "CHEAP" | "STANDARD" | "DEEP" | undefined;
|
|
359
|
+
model?: string | undefined;
|
|
360
|
+
default_icp_profile_id?: string | null | undefined;
|
|
361
|
+
use_global_history?: boolean | undefined;
|
|
362
|
+
adapt_to_user_language?: boolean | undefined;
|
|
363
|
+
runtime_config?: {
|
|
364
|
+
temperature?: number | undefined;
|
|
365
|
+
max_tokens?: number | undefined;
|
|
366
|
+
memory_history_size?: number | undefined;
|
|
367
|
+
rag_top_k?: number | undefined;
|
|
368
|
+
rag_min_score?: number | undefined;
|
|
369
|
+
qa_min_score?: number | undefined;
|
|
370
|
+
qa_context_limit?: number | undefined;
|
|
371
|
+
max_response_symbols?: number | undefined;
|
|
372
|
+
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | undefined;
|
|
373
|
+
verbosity?: "low" | "medium" | "high" | undefined;
|
|
374
|
+
enable_thinking?: boolean | undefined;
|
|
375
|
+
timezone?: string | undefined;
|
|
376
|
+
language_code?: string | undefined;
|
|
377
|
+
summarize_every?: number | undefined;
|
|
378
|
+
summary_max_size?: number | undefined;
|
|
379
|
+
use_summary?: boolean | undefined;
|
|
380
|
+
include_crm_fields_in_memory?: boolean | undefined;
|
|
381
|
+
include_trigger_context?: boolean | undefined;
|
|
382
|
+
} | undefined;
|
|
383
|
+
output_config?: {
|
|
384
|
+
display_name?: string | undefined;
|
|
385
|
+
response_mode?: "TEXT" | "SILENT" | undefined;
|
|
386
|
+
button_generator?: {
|
|
387
|
+
enabled?: boolean | undefined;
|
|
388
|
+
max_buttons?: number | undefined;
|
|
389
|
+
keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
390
|
+
dynamic?: boolean | undefined;
|
|
391
|
+
} | undefined;
|
|
392
|
+
} | undefined;
|
|
393
|
+
knowledge_space_ids?: string[] | undefined;
|
|
394
|
+
agent_scope?: "other" | "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" | undefined;
|
|
395
|
+
agent_variable_overrides?: {
|
|
396
|
+
custom_variable_id: string;
|
|
397
|
+
override_value: string | number | boolean;
|
|
398
|
+
}[] | undefined;
|
|
399
|
+
agent_workspace_variable_overrides?: {
|
|
400
|
+
workspace_variable_id: string;
|
|
401
|
+
override_value: string | number | boolean;
|
|
402
|
+
}[] | undefined;
|
|
403
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
404
|
+
platform_id: string;
|
|
405
|
+
agent_id: string;
|
|
406
|
+
tools: {
|
|
407
|
+
tool_id: string;
|
|
408
|
+
priority?: number | undefined;
|
|
409
|
+
is_enabled?: boolean | undefined;
|
|
410
|
+
agent_specific_conditions?: {
|
|
411
|
+
[x: string]: unknown;
|
|
412
|
+
} | null | undefined;
|
|
413
|
+
}[];
|
|
414
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
415
|
+
platform_id: string;
|
|
416
|
+
agent_id: string;
|
|
417
|
+
explicit_confirmation?: boolean | undefined;
|
|
418
|
+
confirmation_reason?: string | undefined;
|
|
419
|
+
arguments?: {
|
|
420
|
+
label: string;
|
|
421
|
+
description: string;
|
|
422
|
+
type: "TEXT" | "BOOLEAN" | "DATETIME" | "NUMBER";
|
|
423
|
+
key?: string | undefined;
|
|
424
|
+
required?: boolean | undefined;
|
|
425
|
+
}[] | undefined;
|
|
426
|
+
scope?: "ON_USER_MESSAGE" | undefined;
|
|
427
|
+
metadata?: {
|
|
428
|
+
[x: string]: unknown;
|
|
429
|
+
} | undefined;
|
|
430
|
+
actions?: unknown[] | undefined;
|
|
431
|
+
replace_actions?: boolean | undefined;
|
|
432
|
+
allow_repeated_calls?: boolean | undefined;
|
|
433
|
+
run_once_per_contact?: boolean | undefined;
|
|
434
|
+
trigger_id?: string | undefined;
|
|
435
|
+
name?: string | undefined;
|
|
436
|
+
condition?: string | undefined;
|
|
437
|
+
is_enabled?: boolean | undefined;
|
|
438
|
+
priority?: number | undefined;
|
|
439
|
+
stop_propagation?: boolean | undefined;
|
|
440
|
+
instagram_comment_kind?: "COMPLAINT" | null | undefined;
|
|
441
|
+
allow_repeat_in_conversation?: boolean | undefined;
|
|
442
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
443
|
+
platform_id: string;
|
|
444
|
+
sequence_id: string;
|
|
445
|
+
step_index: number;
|
|
446
|
+
content: string;
|
|
447
|
+
expected_content: string;
|
|
448
|
+
expected_version?: string | undefined;
|
|
244
449
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
245
450
|
platform_id: string;
|
|
246
451
|
sequence_id?: string | undefined;
|
|
247
452
|
include_config?: boolean | undefined;
|
|
453
|
+
limit?: number | undefined;
|
|
454
|
+
cursor?: string | undefined;
|
|
248
455
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
249
456
|
platform_id: string;
|
|
250
457
|
sequence_id: string;
|
|
@@ -255,38 +462,42 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
255
462
|
from: string;
|
|
256
463
|
to: string;
|
|
257
464
|
sequence_id?: string[] | undefined;
|
|
258
|
-
horizon_minutes?:
|
|
259
|
-
run_window_days?: 1 | 3 |
|
|
465
|
+
horizon_minutes?: 60 | 30 | 720 | 90 | 1440 | 180 | 360 | undefined;
|
|
466
|
+
run_window_days?: 1 | 3 | 7 | 5 | 14 | undefined;
|
|
467
|
+
only_replied_contacts?: boolean | undefined;
|
|
260
468
|
segment?: string[] | undefined;
|
|
261
469
|
product?: string[] | undefined;
|
|
262
|
-
channel?:
|
|
470
|
+
channel?: ("SMS" | "VK" | "MAX" | "EMAIL" | "WHATSAPP" | "SITE" | "TELEGRAM" | "FACEBOOK" | "CHATIUM" | "VIBER")[] | undefined;
|
|
471
|
+
mailing_variant_id?: string[] | undefined;
|
|
472
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
473
|
+
intent: "AUDIT_DIALOGUES" | "CAMPAIGN_REPORT" | "CONFIGURE_FOLLOWUP" | "CONNECT_CRM" | "CONNECT_DATASOURCE" | "CONTINUE_TASK" | "CREATE_BOT" | "DIAGNOSE_CONTACT" | "FREEFORM" | "IMPROVE_AGENT";
|
|
474
|
+
workspace_id?: string | undefined;
|
|
475
|
+
bot_type?: "OUTBOUND" | "UNKNOWN" | "SUPPORT" | "FAQ" | "BOOKING" | "SALES" | undefined;
|
|
476
|
+
platform_id?: string | undefined;
|
|
477
|
+
agent_id?: string | undefined;
|
|
478
|
+
contact_id?: string | undefined;
|
|
479
|
+
task_id?: string | undefined;
|
|
480
|
+
question?: string | undefined;
|
|
263
481
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
264
482
|
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;
|
|
483
|
+
sections?: ("behavior" | "router" | "platform" | "agent_summaries" | "agents_full" | "follow_up" | "pipeline_settings" | "readiness")[] | undefined;
|
|
276
484
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
277
485
|
platform_id: string;
|
|
278
|
-
|
|
279
|
-
|
|
486
|
+
action_type?: string | undefined;
|
|
487
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
488
|
+
platform_id: string;
|
|
489
|
+
limit?: number | undefined;
|
|
490
|
+
cursor?: string | undefined;
|
|
491
|
+
query?: string | undefined;
|
|
492
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
493
|
+
platform_id: string;
|
|
494
|
+
agent_id: string;
|
|
280
495
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
281
496
|
platform_id: string;
|
|
282
|
-
sequence_id: string;
|
|
283
|
-
step_index: number;
|
|
284
|
-
content: string;
|
|
285
|
-
expected_content: string;
|
|
286
497
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
287
498
|
platform_id: string;
|
|
288
499
|
crm_id: string;
|
|
289
|
-
channels:
|
|
500
|
+
channels: string[];
|
|
290
501
|
contacts: {
|
|
291
502
|
contact_id: string;
|
|
292
503
|
deal_id?: string | undefined;
|
|
@@ -300,7 +511,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
300
511
|
segment_entered_at?: string | undefined;
|
|
301
512
|
}[];
|
|
302
513
|
workspace_id?: string | undefined;
|
|
303
|
-
launch_type?: "status" | "
|
|
514
|
+
launch_type?: "status" | "group" | "board" | undefined;
|
|
304
515
|
funnel?: string | undefined;
|
|
305
516
|
segment?: string | undefined;
|
|
306
517
|
segment_description?: string | undefined;
|
|
@@ -328,10 +539,25 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
328
539
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
329
540
|
job_id: string;
|
|
330
541
|
workspace_id?: string | undefined;
|
|
542
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
543
|
+
platform_id: string;
|
|
544
|
+
contacts: {
|
|
545
|
+
contact_id: string;
|
|
546
|
+
deal_id?: string | undefined;
|
|
547
|
+
dialog_id?: string | undefined;
|
|
548
|
+
transport?: string | undefined;
|
|
549
|
+
email?: string | undefined;
|
|
550
|
+
phone?: string | undefined;
|
|
551
|
+
first_name?: string | undefined;
|
|
552
|
+
last_name?: string | undefined;
|
|
553
|
+
}[];
|
|
554
|
+
workspace_id?: string | undefined;
|
|
555
|
+
check_messenger_presence?: boolean | undefined;
|
|
556
|
+
channels?: string[] | undefined;
|
|
331
557
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
332
558
|
platform_id: string;
|
|
333
559
|
crm_id: string;
|
|
334
|
-
channels:
|
|
560
|
+
channels: string[];
|
|
335
561
|
contacts: {
|
|
336
562
|
contact_id: string;
|
|
337
563
|
deal_id?: string | undefined;
|
|
@@ -375,10 +601,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
375
601
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
376
602
|
run_id: string;
|
|
377
603
|
workspace_id?: string | undefined;
|
|
378
|
-
|
|
379
|
-
run_id: string;
|
|
380
|
-
workspace_id?: string | undefined;
|
|
381
|
-
status?: "PENDING" | "CLAIMED" | "SENT" | "SKIPPED" | "FAILED" | "UNKNOWN" | undefined;
|
|
604
|
+
status?: "FAILED" | "PENDING" | "UNKNOWN" | "SKIPPED" | "SENT" | "CLAIMED" | undefined;
|
|
382
605
|
cursor?: string | undefined;
|
|
383
606
|
limit?: number | undefined;
|
|
384
607
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -398,7 +621,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
398
621
|
lead_last_active_at?: string | undefined;
|
|
399
622
|
segment_entered_at?: string | undefined;
|
|
400
623
|
}[];
|
|
401
|
-
channels:
|
|
624
|
+
channels: string[];
|
|
402
625
|
deal_fields: Record<string, string | number | boolean | null>;
|
|
403
626
|
launch_type?: "status" | undefined;
|
|
404
627
|
funnel?: string | undefined;
|
|
@@ -429,33 +652,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
429
652
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
430
653
|
batch_id: string;
|
|
431
654
|
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
655
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
460
656
|
platform_id: string;
|
|
461
657
|
workspace_id?: string | undefined;
|
|
@@ -477,90 +673,19 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
477
673
|
explicit_confirmation?: true | undefined;
|
|
478
674
|
confirmation_reason?: string | undefined;
|
|
479
675
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
480
|
-
|
|
481
|
-
|
|
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;
|
|
676
|
+
agent_id: string;
|
|
677
|
+
source_url: string;
|
|
494
678
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
679
|
+
agent_id: string;
|
|
680
|
+
source_url: string;
|
|
681
|
+
access_mode: "READ_ONLY" | "EDITABLE";
|
|
682
|
+
confirm_document_access_change: true;
|
|
683
|
+
expected_document_snapshot: string;
|
|
499
684
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
500
685
|
platform_id: string;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
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;
|
|
549
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
550
|
-
platform_id: string;
|
|
551
|
-
agent_id: string;
|
|
552
|
-
tools: {
|
|
553
|
-
tool_id: string;
|
|
554
|
-
priority?: number | undefined;
|
|
555
|
-
is_enabled?: boolean | undefined;
|
|
556
|
-
agent_specific_conditions?: {
|
|
557
|
-
[x: string]: unknown;
|
|
558
|
-
} | null | undefined;
|
|
559
|
-
}[];
|
|
560
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
561
|
-
platform_id: string;
|
|
562
|
-
explicit_confirmation?: boolean | undefined;
|
|
563
|
-
confirmation_reason?: string | undefined;
|
|
686
|
+
explicit_confirmation?: boolean | undefined;
|
|
687
|
+
confirmation_reason?: string | undefined;
|
|
688
|
+
expected_version?: string | undefined;
|
|
564
689
|
name?: string | undefined;
|
|
565
690
|
model?: string | undefined;
|
|
566
691
|
temperature?: number | undefined;
|
|
@@ -575,6 +700,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
575
700
|
custom_router_prompt: string;
|
|
576
701
|
explicit_confirmation?: boolean | undefined;
|
|
577
702
|
confirmation_reason?: string | undefined;
|
|
703
|
+
expected_version?: string | undefined;
|
|
578
704
|
routing_rule_id?: string | undefined;
|
|
579
705
|
deal_mode?: string | null | undefined;
|
|
580
706
|
custom_variable_id?: string | null | undefined;
|
|
@@ -595,27 +721,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
595
721
|
variable_value?: string | undefined;
|
|
596
722
|
}[] | undefined;
|
|
597
723
|
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
724
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
620
725
|
platform_id: string;
|
|
621
726
|
agent_id: string;
|
|
@@ -626,7 +731,20 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
626
731
|
platform_id: string;
|
|
627
732
|
explicit_confirmation?: boolean | undefined;
|
|
628
733
|
confirmation_reason?: string | undefined;
|
|
734
|
+
expected_version?: string | undefined;
|
|
629
735
|
greeting?: {
|
|
736
|
+
text?: string | undefined;
|
|
737
|
+
file_id?: string | null | undefined;
|
|
738
|
+
buttons?: {
|
|
739
|
+
id: string;
|
|
740
|
+
label: string;
|
|
741
|
+
text: string;
|
|
742
|
+
order: number;
|
|
743
|
+
}[] | undefined;
|
|
744
|
+
keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
745
|
+
popup_delay_seconds?: number | undefined;
|
|
746
|
+
send_off_message_when_ai_disabled?: boolean | undefined;
|
|
747
|
+
schema_version?: 1 | undefined;
|
|
630
748
|
bot_greeting?: string | undefined;
|
|
631
749
|
greeting_file_id?: string | null | undefined;
|
|
632
750
|
greeting_buttons?: {
|
|
@@ -636,119 +754,200 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
636
754
|
order: number;
|
|
637
755
|
}[] | undefined;
|
|
638
756
|
greeting_buttons_keyboard_type?: "INLINE" | "REPLY" | undefined;
|
|
639
|
-
popup_delay_seconds?: number | undefined;
|
|
640
757
|
} | undefined;
|
|
641
758
|
media_handling?: {
|
|
642
759
|
image?: {
|
|
643
|
-
|
|
644
|
-
fixed_response_text?: string | undefined;
|
|
760
|
+
fixed_response_text?: string | null | undefined;
|
|
645
761
|
call_operator?: boolean | undefined;
|
|
646
|
-
operator_comment?: string | undefined;
|
|
762
|
+
operator_comment?: string | null | undefined;
|
|
763
|
+
behavior?: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE" | undefined;
|
|
647
764
|
} | undefined;
|
|
648
765
|
video?: {
|
|
649
|
-
|
|
650
|
-
fixed_response_text?: string | undefined;
|
|
766
|
+
fixed_response_text?: string | null | undefined;
|
|
651
767
|
call_operator?: boolean | undefined;
|
|
652
|
-
operator_comment?: string | undefined;
|
|
768
|
+
operator_comment?: string | null | undefined;
|
|
769
|
+
behavior?: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE" | undefined;
|
|
653
770
|
} | undefined;
|
|
654
771
|
audio?: {
|
|
655
|
-
|
|
656
|
-
fixed_response_text?: string | undefined;
|
|
772
|
+
fixed_response_text?: string | null | undefined;
|
|
657
773
|
call_operator?: boolean | undefined;
|
|
658
|
-
operator_comment?: string | undefined;
|
|
774
|
+
operator_comment?: string | null | undefined;
|
|
775
|
+
behavior?: "SILENT" | "FIXED_RESPONSE" | undefined;
|
|
659
776
|
} | undefined;
|
|
660
777
|
document?: {
|
|
661
|
-
|
|
662
|
-
fixed_response_text?: string | undefined;
|
|
778
|
+
fixed_response_text?: string | null | undefined;
|
|
663
779
|
call_operator?: boolean | undefined;
|
|
664
|
-
operator_comment?: string | undefined;
|
|
780
|
+
operator_comment?: string | null | undefined;
|
|
781
|
+
behavior?: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE" | undefined;
|
|
665
782
|
} | undefined;
|
|
783
|
+
schema_version?: 1 | undefined;
|
|
784
|
+
} | undefined;
|
|
785
|
+
unsupported_input_handling?: {
|
|
786
|
+
behavior?: "SILENT" | "FIXED_RESPONSE" | "AS_TEXT" | undefined;
|
|
787
|
+
fixed_response_text?: string | null | undefined;
|
|
788
|
+
call_operator?: boolean | undefined;
|
|
789
|
+
operator_comment?: string | null | undefined;
|
|
790
|
+
schema_version?: 1 | undefined;
|
|
666
791
|
} | undefined;
|
|
667
792
|
url_handling?: {
|
|
668
|
-
behavior
|
|
669
|
-
fixed_response_text?: string | undefined;
|
|
793
|
+
behavior?: "SILENT" | "FIXED_RESPONSE" | "PASS_THROUGH" | "PROCESS_WITH_CRAWLER" | undefined;
|
|
794
|
+
fixed_response_text?: string | null | undefined;
|
|
670
795
|
call_operator?: boolean | undefined;
|
|
671
|
-
operator_comment?: string | undefined;
|
|
796
|
+
operator_comment?: string | null | undefined;
|
|
672
797
|
use_youtube_data_api?: boolean | undefined;
|
|
798
|
+
schema_version?: 1 | undefined;
|
|
673
799
|
} | undefined;
|
|
674
800
|
error_handling?: {
|
|
675
801
|
ai_error_behavior?: "SILENT" | "SEND_ERROR_MESSAGE" | undefined;
|
|
676
|
-
|
|
677
|
-
|
|
802
|
+
custom_message?: string | null | undefined;
|
|
803
|
+
call_operator?: boolean | undefined;
|
|
804
|
+
ai_error_target?: {
|
|
805
|
+
status_id: string;
|
|
806
|
+
pipeline_id?: string | undefined;
|
|
807
|
+
} | null | undefined;
|
|
678
808
|
ai_error_target_stage_id?: number | null | undefined;
|
|
809
|
+
schema_version?: 1 | undefined;
|
|
810
|
+
ai_error_custom_message?: string | null | undefined;
|
|
811
|
+
call_operator_with_error?: boolean | undefined;
|
|
679
812
|
} | undefined;
|
|
680
813
|
operator_schedule?: {
|
|
681
814
|
enabled?: boolean | undefined;
|
|
682
815
|
availability?: {
|
|
683
|
-
|
|
816
|
+
MON?: {
|
|
684
817
|
active: boolean;
|
|
685
818
|
start_time?: string | undefined;
|
|
686
819
|
end_time?: string | undefined;
|
|
687
820
|
} | undefined;
|
|
688
|
-
|
|
821
|
+
TUE?: {
|
|
689
822
|
active: boolean;
|
|
690
823
|
start_time?: string | undefined;
|
|
691
824
|
end_time?: string | undefined;
|
|
692
825
|
} | undefined;
|
|
693
|
-
|
|
826
|
+
WED?: {
|
|
694
827
|
active: boolean;
|
|
695
828
|
start_time?: string | undefined;
|
|
696
829
|
end_time?: string | undefined;
|
|
697
830
|
} | undefined;
|
|
698
|
-
|
|
831
|
+
THU?: {
|
|
699
832
|
active: boolean;
|
|
700
833
|
start_time?: string | undefined;
|
|
701
834
|
end_time?: string | undefined;
|
|
702
835
|
} | undefined;
|
|
703
|
-
|
|
836
|
+
FRI?: {
|
|
704
837
|
active: boolean;
|
|
705
838
|
start_time?: string | undefined;
|
|
706
839
|
end_time?: string | undefined;
|
|
707
840
|
} | undefined;
|
|
708
|
-
|
|
841
|
+
SAT?: {
|
|
709
842
|
active: boolean;
|
|
710
843
|
start_time?: string | undefined;
|
|
711
844
|
end_time?: string | undefined;
|
|
712
845
|
} | undefined;
|
|
713
|
-
|
|
846
|
+
SUN?: {
|
|
714
847
|
active: boolean;
|
|
715
848
|
start_time?: string | undefined;
|
|
716
849
|
end_time?: string | undefined;
|
|
717
850
|
} | undefined;
|
|
718
851
|
} | undefined;
|
|
719
|
-
unavailable_message?: string | undefined;
|
|
720
|
-
bot_waiting_return_hours?: 0 | 1 | 12 | 3 |
|
|
852
|
+
unavailable_message?: string | null | undefined;
|
|
853
|
+
bot_waiting_return_hours?: 0 | 1 | 12 | 3 | 6 | -1 | 24 | undefined;
|
|
854
|
+
followup_waiting_return_hours?: number | undefined;
|
|
855
|
+
pause_agent_on_operator_reply?: boolean | undefined;
|
|
856
|
+
schema_version?: 1 | undefined;
|
|
721
857
|
follow_up_waiting_return_hours?: number | undefined;
|
|
722
858
|
skip_task_creation_on_call_operator?: boolean | undefined;
|
|
723
859
|
} | undefined;
|
|
724
860
|
typing_behavior?: {
|
|
861
|
+
typing_speed?: "medium" | "slow" | "fast" | "instant" | undefined;
|
|
725
862
|
waiting_answer_time?: number | undefined;
|
|
726
863
|
can_interrupt?: boolean | undefined;
|
|
727
|
-
|
|
728
|
-
|
|
864
|
+
fake_delay_ms?: number | undefined;
|
|
865
|
+
message_open_delay_ms?: number | undefined;
|
|
866
|
+
schema_version?: 1 | undefined;
|
|
729
867
|
fake_delay?: number | undefined;
|
|
730
868
|
message_open_delay?: number | undefined;
|
|
869
|
+
message_devide?: boolean | undefined;
|
|
731
870
|
go_offline?: string | undefined;
|
|
732
871
|
} | undefined;
|
|
733
872
|
message_filters?: {
|
|
734
873
|
id: string;
|
|
735
|
-
source: string;
|
|
736
|
-
target: string;
|
|
737
874
|
enabled: boolean;
|
|
738
875
|
order: number;
|
|
739
|
-
|
|
876
|
+
source: string;
|
|
877
|
+
target: string;
|
|
878
|
+
}[] | {
|
|
879
|
+
skip_task_creation_on_call_operator?: boolean | undefined;
|
|
880
|
+
schema_version?: 1 | undefined;
|
|
881
|
+
rules?: {
|
|
882
|
+
id: string;
|
|
883
|
+
enabled: boolean;
|
|
884
|
+
order: number;
|
|
885
|
+
source: string;
|
|
886
|
+
target: string;
|
|
887
|
+
}[] | undefined;
|
|
888
|
+
} | undefined;
|
|
740
889
|
message_splitting?: {
|
|
890
|
+
enabled?: boolean | undefined;
|
|
891
|
+
mode?: "PARAGRAPH" | "SEPARATOR" | undefined;
|
|
892
|
+
separator?: string | undefined;
|
|
893
|
+
max_chunk_size?: number | undefined;
|
|
894
|
+
delay_between_ms?: number | undefined;
|
|
895
|
+
schema_version?: 1 | undefined;
|
|
741
896
|
message_chunk_separator?: string | undefined;
|
|
742
897
|
} | undefined;
|
|
743
898
|
privacy?: {
|
|
744
899
|
anonymization_enabled?: boolean | undefined;
|
|
745
|
-
|
|
900
|
+
personalization_mode?: "OFF" | "SHADOW" | "ENABLED" | undefined;
|
|
746
901
|
anonymization_disabled_types?: ("PHONE" | "EMAIL" | "INN" | "PASSPORT" | "CARD" | "DATE_OF_BIRTH" | "ACCOUNT" | "SNILS" | "OGRN" | "OGRNIP" | "SOCIAL_ID")[] | undefined;
|
|
902
|
+
schema_version?: 1 | undefined;
|
|
903
|
+
contact_name_personalization_mode?: "OFF" | "SHADOW" | "ENABLED" | undefined;
|
|
904
|
+
} | undefined;
|
|
905
|
+
crm_behavior?: {
|
|
906
|
+
inbound_deal_filter?: {
|
|
907
|
+
enabled: boolean;
|
|
908
|
+
type: "NONE" | "TAG" | "CUSTOM_FIELD";
|
|
909
|
+
value?: string | null | undefined;
|
|
910
|
+
field_id?: string | null | undefined;
|
|
911
|
+
} | undefined;
|
|
912
|
+
schema_version?: 1 | undefined;
|
|
747
913
|
} | undefined;
|
|
914
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
915
|
+
platform_id: string;
|
|
916
|
+
name: string;
|
|
917
|
+
type: "MEETING_REMINDER" | "INACTIVE_USER_REACTIVATION" | "LOST_CLIENTS";
|
|
918
|
+
trigger: "LOST_CLIENTS" | "USER_INACTIVITY" | "DEAL_CLOSED" | "BIRTHDAY_DATE" | "MEETING_TIME" | "CUSTOM_SCHEDULE";
|
|
919
|
+
config: {
|
|
920
|
+
[x: string]: unknown;
|
|
921
|
+
assign_responsible_operator_ids?: string[] | null | undefined;
|
|
922
|
+
assignResponsibleOperatorIds?: number[] | null | undefined;
|
|
923
|
+
steps?: {
|
|
924
|
+
[x: string]: unknown;
|
|
925
|
+
stepType?: string | undefined;
|
|
926
|
+
getcourse?: {
|
|
927
|
+
[x: string]: unknown;
|
|
928
|
+
delivery?: {
|
|
929
|
+
[x: string]: unknown;
|
|
930
|
+
mode: "all" | "contact" | "explicit";
|
|
931
|
+
transports?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
932
|
+
} | null | undefined;
|
|
933
|
+
} | null | undefined;
|
|
934
|
+
}[] | undefined;
|
|
935
|
+
};
|
|
936
|
+
explicit_confirmation?: boolean | undefined;
|
|
937
|
+
confirmation_reason?: string | undefined;
|
|
938
|
+
sequence_id?: string | undefined;
|
|
939
|
+
expected_version?: string | undefined;
|
|
940
|
+
description?: string | null | undefined;
|
|
941
|
+
enabled?: boolean | undefined;
|
|
942
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
943
|
+
platform_id: string;
|
|
944
|
+
sequence_id: string;
|
|
945
|
+
name?: string | undefined;
|
|
748
946
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
749
947
|
platform_id: string;
|
|
750
948
|
explicit_confirmation?: boolean | undefined;
|
|
751
949
|
confirmation_reason?: string | undefined;
|
|
950
|
+
expected_version?: string | undefined;
|
|
752
951
|
crm_pipeline_behavior?: {
|
|
753
952
|
active_pipeline_ids?: string[] | undefined;
|
|
754
953
|
filter_enabled?: boolean | undefined;
|
|
@@ -773,15 +972,17 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
773
972
|
platform_id: string;
|
|
774
973
|
explicit_confirmation?: boolean | undefined;
|
|
775
974
|
confirmation_reason?: string | undefined;
|
|
975
|
+
workspace_id?: string | undefined;
|
|
976
|
+
expected_version?: string | undefined;
|
|
776
977
|
name?: string | null | undefined;
|
|
777
978
|
off_message?: string | undefined;
|
|
778
979
|
timezone?: string | undefined;
|
|
779
980
|
access_control?: {
|
|
780
|
-
is_active?: boolean | undefined;
|
|
781
|
-
is_ai_enabled?: boolean | undefined;
|
|
782
981
|
is_user_filter_enabled?: boolean | undefined;
|
|
783
982
|
filtered_user_ids?: string[] | undefined;
|
|
784
983
|
enable_cleanup_commands?: boolean | undefined;
|
|
984
|
+
is_active?: boolean | undefined;
|
|
985
|
+
is_ai_enabled?: boolean | undefined;
|
|
785
986
|
} | undefined;
|
|
786
987
|
variables_config?: {
|
|
787
988
|
enable_dynamic_variables?: boolean | undefined;
|
|
@@ -789,6 +990,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
789
990
|
} | undefined;
|
|
790
991
|
crm_behavior?: {
|
|
791
992
|
send_to_crm?: boolean | undefined;
|
|
993
|
+
create_deal_on_first_outbound?: boolean | undefined;
|
|
792
994
|
use_cross_platform_history?: boolean | undefined;
|
|
793
995
|
responsible_assignee_strategy?: "ROUND_ROBIN" | "LEAST_BUSY" | "RANDOM" | "FIXED" | "OPERATOR_SPECIFIC" | undefined;
|
|
794
996
|
fixed_responsible_id?: string | null | undefined;
|
|
@@ -798,6 +1000,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
798
1000
|
failed_note_template?: string | null | undefined;
|
|
799
1001
|
send_operator_takeover_note_to_crm?: boolean | undefined;
|
|
800
1002
|
operator_takeover_note_template?: string | null | undefined;
|
|
1003
|
+
finish_auto_enabled?: boolean | undefined;
|
|
1004
|
+
finish_auto_days?: number | undefined;
|
|
1005
|
+
send_finish_auto_note_to_crm?: boolean | undefined;
|
|
1006
|
+
finish_auto_note_template?: string | null | undefined;
|
|
1007
|
+
getcourse_create_deal_payment_tracking_enabled?: boolean | undefined;
|
|
1008
|
+
getcourse_status_deal_fallback_enabled?: boolean | undefined;
|
|
801
1009
|
deal_marker_type?: "NONE" | "TAG" | "CUSTOM_FIELD" | undefined;
|
|
802
1010
|
deal_marker_value?: string | null | undefined;
|
|
803
1011
|
deal_marker_field_id?: string | null | undefined;
|
|
@@ -807,14 +1015,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
807
1015
|
inbound_deal_filter_field_id?: string | null | undefined;
|
|
808
1016
|
} | undefined;
|
|
809
1017
|
widget_marketing?: {
|
|
810
|
-
|
|
1018
|
+
marketing_field_mappings?: {
|
|
811
1019
|
[x: string]: unknown;
|
|
812
|
-
} |
|
|
1020
|
+
} | undefined;
|
|
1021
|
+
entry_url_variable_mapping?: {
|
|
1022
|
+
[x: string]: unknown;
|
|
1023
|
+
} | undefined;
|
|
1024
|
+
web_widget_allowed_origins?: string[] | Record<string, unknown> | null | undefined;
|
|
813
1025
|
web_widget_show_page_info?: boolean | undefined;
|
|
814
1026
|
web_widget_rate_limit_per_minute?: number | undefined;
|
|
815
|
-
web_widget_customization?:
|
|
816
|
-
[x: string]: unknown;
|
|
817
|
-
} | null | undefined;
|
|
1027
|
+
web_widget_customization?: Record<string, unknown> | null | undefined;
|
|
818
1028
|
web_widget_marketing_field_mappings?: {
|
|
819
1029
|
[x: string]: unknown;
|
|
820
1030
|
} | null | undefined;
|
|
@@ -825,10 +1035,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
825
1035
|
instagram_comment_behavior?: {
|
|
826
1036
|
reply_to_instagram_comments?: boolean | undefined;
|
|
827
1037
|
instagram_comment_handling_mode?: string | null | undefined;
|
|
828
|
-
instagram_comment_reply_method?:
|
|
829
|
-
instagram_comment_keywords?: {
|
|
830
|
-
[x: string]: unknown;
|
|
831
|
-
} | null | undefined;
|
|
1038
|
+
instagram_comment_reply_method?: "DM_ONLY" | "PUBLIC_REPLY" | "BOTH" | "PUBLIC_AND_DM" | undefined;
|
|
832
1039
|
instagram_comment_templates?: {
|
|
833
1040
|
dm?: {
|
|
834
1041
|
ru?: string | undefined;
|
|
@@ -845,40 +1052,62 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
845
1052
|
uz?: string | undefined;
|
|
846
1053
|
uz_cyrl?: string | undefined;
|
|
847
1054
|
} | 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
1055
|
} | null | undefined;
|
|
874
|
-
|
|
875
|
-
|
|
1056
|
+
instagram_comment_keywords?: string[] | null | undefined;
|
|
1057
|
+
reply_to_story_mentions?: boolean | undefined;
|
|
876
1058
|
} | undefined;
|
|
877
1059
|
general_settings?: {
|
|
878
1060
|
name?: string | null | undefined;
|
|
879
1061
|
off_message?: string | null | undefined;
|
|
880
1062
|
timezone?: string | undefined;
|
|
881
1063
|
is_active?: boolean | undefined;
|
|
1064
|
+
is_ai_enabled?: boolean | undefined;
|
|
1065
|
+
phone_parsing_country?: string | null | undefined;
|
|
1066
|
+
allowed_origins?: string[] | undefined;
|
|
1067
|
+
page_rules?: {
|
|
1068
|
+
mode: "ALL" | "ALLOW" | "DENY";
|
|
1069
|
+
patterns: string[];
|
|
1070
|
+
} | null | undefined;
|
|
1071
|
+
rate_limit?: number | undefined;
|
|
1072
|
+
show_page_info?: boolean | undefined;
|
|
1073
|
+
customization?: {
|
|
1074
|
+
button?: {
|
|
1075
|
+
[x: string]: unknown;
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
window?: {
|
|
1078
|
+
[x: string]: unknown;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
theme?: {
|
|
1081
|
+
[x: string]: unknown;
|
|
1082
|
+
} | undefined;
|
|
1083
|
+
welcome_state?: {
|
|
1084
|
+
[x: string]: unknown;
|
|
1085
|
+
} | undefined;
|
|
1086
|
+
pre_chat_form?: {
|
|
1087
|
+
[x: string]: unknown;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
offline_state?: {
|
|
1090
|
+
[x: string]: unknown;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
languages?: {
|
|
1093
|
+
[x: string]: unknown;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
widget_ux?: {
|
|
1096
|
+
[x: string]: unknown;
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
gdpr?: {
|
|
1099
|
+
[x: string]: unknown;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
embed?: {
|
|
1102
|
+
[x: string]: unknown;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
advanced?: {
|
|
1105
|
+
[x: string]: unknown;
|
|
1106
|
+
} | undefined;
|
|
1107
|
+
popup?: {
|
|
1108
|
+
[x: string]: unknown;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
} | undefined;
|
|
882
1111
|
} | undefined;
|
|
883
1112
|
salebot_settings?: {
|
|
884
1113
|
project_id?: string | null | undefined;
|
|
@@ -934,13 +1163,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
934
1163
|
variable_name: string;
|
|
935
1164
|
}[] | null | undefined;
|
|
936
1165
|
target_department_id?: number | null | undefined;
|
|
1166
|
+
operator_department_id?: number | null | undefined;
|
|
937
1167
|
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
1168
|
reachability_ttl_days?: number | null | undefined;
|
|
943
|
-
delivery_field_map?: Record<"Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX", string
|
|
1169
|
+
delivery_field_map?: Partial<Record<"Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX", string>> | undefined;
|
|
944
1170
|
manual_mute_enabled?: boolean | undefined;
|
|
945
1171
|
manual_mute_field_id?: string | null | undefined;
|
|
946
1172
|
manual_mute_value?: string | null | undefined;
|
|
@@ -950,15 +1176,62 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
950
1176
|
create_missing_deal_funnel_id?: number | null | undefined;
|
|
951
1177
|
create_missing_deal_stage_id?: number | null | undefined;
|
|
952
1178
|
revenue_offer_ids?: number[] | undefined;
|
|
1179
|
+
revenue_offers_paid_since?: string | null | undefined;
|
|
1180
|
+
open_invoice_silence_enabled?: boolean | undefined;
|
|
1181
|
+
open_invoice_table_id?: string | null | undefined;
|
|
1182
|
+
open_invoice_product_column?: string | null | undefined;
|
|
1183
|
+
open_invoice_topic_column?: string | null | undefined;
|
|
1184
|
+
open_invoice_topic_variable?: string | null | undefined;
|
|
1185
|
+
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1186
|
+
guard_active_application?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1187
|
+
guard_paid?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
1188
|
+
quiet_days?: number | null | undefined;
|
|
1189
|
+
} | undefined;
|
|
1190
|
+
funnel_analytics?: {
|
|
1191
|
+
decision_gate?: {
|
|
1192
|
+
submitted: {
|
|
1193
|
+
pipeline_crm_id: string;
|
|
1194
|
+
pipeline_id: string | number;
|
|
1195
|
+
status_id: string | number;
|
|
1196
|
+
} | {
|
|
1197
|
+
stage_id: string;
|
|
1198
|
+
};
|
|
1199
|
+
approved: {
|
|
1200
|
+
pipeline_crm_id: string;
|
|
1201
|
+
pipeline_id: string | number;
|
|
1202
|
+
status_id: string | number;
|
|
1203
|
+
} | {
|
|
1204
|
+
stage_id: string;
|
|
1205
|
+
};
|
|
1206
|
+
rejected: {
|
|
1207
|
+
pipeline_crm_id: string;
|
|
1208
|
+
pipeline_id: string | number;
|
|
1209
|
+
status_id: string | number;
|
|
1210
|
+
} | {
|
|
1211
|
+
stage_id: string;
|
|
1212
|
+
};
|
|
1213
|
+
} | null | undefined;
|
|
1214
|
+
path_target_stage?: {
|
|
1215
|
+
pipeline_crm_id: string;
|
|
1216
|
+
pipeline_id: string | number;
|
|
1217
|
+
status_id: string | number;
|
|
1218
|
+
} | {
|
|
1219
|
+
stage_id: string;
|
|
1220
|
+
} | null | undefined;
|
|
1221
|
+
engaged_inbound_count?: number | null | undefined;
|
|
1222
|
+
stuck_threshold_hours?: number | null | undefined;
|
|
953
1223
|
} | undefined;
|
|
954
1224
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
955
1225
|
audit_log_id: string;
|
|
956
1226
|
workspace_id?: string | undefined;
|
|
957
1227
|
platform_id?: string | undefined;
|
|
1228
|
+
explicit_confirmation?: boolean | undefined;
|
|
958
1229
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
959
1230
|
agent_id: string;
|
|
960
1231
|
source_url: string;
|
|
961
|
-
|
|
1232
|
+
confirm_document_access_change?: true | undefined;
|
|
1233
|
+
expected_document_snapshot?: string | undefined;
|
|
1234
|
+
access_mode?: "READ_ONLY" | "EDITABLE" | undefined;
|
|
962
1235
|
agent_version_id?: string | undefined;
|
|
963
1236
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
964
1237
|
agent_id: string;
|
|
@@ -980,6 +1253,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
980
1253
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
981
1254
|
agent_id: string;
|
|
982
1255
|
factual_context: string;
|
|
1256
|
+
expected_version?: string | undefined;
|
|
1257
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1258
|
+
agent_id: string;
|
|
1259
|
+
include_prompt_text?: boolean | undefined;
|
|
1260
|
+
mode?: "START" | "CONTINUE" | "RESTART" | undefined;
|
|
1261
|
+
draft_id?: string | undefined;
|
|
1262
|
+
expected_content_hash?: string | undefined;
|
|
983
1263
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
984
1264
|
agent_id: string;
|
|
985
1265
|
draft_id: string;
|
|
@@ -1001,6 +1281,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1001
1281
|
replacement_text?: string | undefined;
|
|
1002
1282
|
match_variants?: string[] | undefined;
|
|
1003
1283
|
}[];
|
|
1284
|
+
include_prompt_text?: boolean | undefined;
|
|
1004
1285
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1005
1286
|
agent_ids: string[];
|
|
1006
1287
|
operations: {
|
|
@@ -1020,48 +1301,152 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1020
1301
|
workspace_id?: string | undefined;
|
|
1021
1302
|
agent_id?: string | undefined;
|
|
1022
1303
|
channel?: string | undefined;
|
|
1023
|
-
agent_scope?: "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" |
|
|
1304
|
+
agent_scope?: "other" | "sale" | "reactivation" | "support" | "onboarding" | "faq" | "qualification" | "complaint" | undefined;
|
|
1024
1305
|
feedback_banned_terms?: string[] | undefined;
|
|
1025
1306
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1026
|
-
|
|
1027
|
-
stored_file_id?: string | undefined;
|
|
1028
|
-
google_sheets_url?: string | undefined;
|
|
1029
|
-
sample_rows_per_sheet?: number | undefined;
|
|
1030
|
-
max_cells_total?: number | undefined;
|
|
1031
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1032
|
-
workbook_id: string;
|
|
1033
|
-
workspace_id?: string | undefined;
|
|
1034
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1035
|
-
workbook_id: string;
|
|
1036
|
-
workspace_id?: string | undefined;
|
|
1037
|
-
sheet_title?: string | undefined;
|
|
1038
|
-
sheet_gid?: number | undefined;
|
|
1039
|
-
sheet_index?: number | undefined;
|
|
1040
|
-
row_offset?: number | undefined;
|
|
1041
|
-
row_limit?: number | undefined;
|
|
1042
|
-
column_offset?: number | undefined;
|
|
1043
|
-
column_limit?: number | undefined;
|
|
1307
|
+
idempotency_key: string;
|
|
1044
1308
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1045
|
-
|
|
1046
|
-
classification: Record<string, unknown>[];
|
|
1309
|
+
platform_id: string;
|
|
1047
1310
|
workspace_id?: string | undefined;
|
|
1311
|
+
contacts?: {
|
|
1312
|
+
contact_id: string;
|
|
1313
|
+
deal_id?: string | undefined;
|
|
1314
|
+
}[] | undefined;
|
|
1315
|
+
current_anchor_value?: string | undefined;
|
|
1048
1316
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1049
|
-
workbook_id: string;
|
|
1050
1317
|
explicit_confirmation: true;
|
|
1318
|
+
platform_id: string;
|
|
1051
1319
|
workspace_id?: string | undefined;
|
|
1320
|
+
contacts?: {
|
|
1321
|
+
contact_id: string;
|
|
1322
|
+
deal_id?: string | undefined;
|
|
1323
|
+
}[] | undefined;
|
|
1324
|
+
current_anchor_value?: string | undefined;
|
|
1052
1325
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1053
|
-
|
|
1326
|
+
correlation_id: string;
|
|
1054
1327
|
workspace_id?: string | undefined;
|
|
1055
|
-
sheet_title?: string | undefined;
|
|
1056
|
-
sheet_gid?: number | undefined;
|
|
1057
|
-
sheet_index?: number | undefined;
|
|
1058
|
-
include_contacts?: boolean | undefined;
|
|
1059
1328
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1060
|
-
|
|
1329
|
+
platform_id: string;
|
|
1061
1330
|
workspace_id?: string | undefined;
|
|
1062
|
-
|
|
1331
|
+
created_after?: string | undefined;
|
|
1332
|
+
contacts?: {
|
|
1333
|
+
contact_id: string;
|
|
1334
|
+
deal_id?: string | undefined;
|
|
1335
|
+
segment_entered_at?: string | undefined;
|
|
1336
|
+
registered_at?: string | undefined;
|
|
1337
|
+
funnel?: string | undefined;
|
|
1338
|
+
}[] | undefined;
|
|
1339
|
+
continuation?: true | undefined;
|
|
1340
|
+
mailing_variant_id?: string | undefined;
|
|
1341
|
+
segment?: string | undefined;
|
|
1342
|
+
message?: string | undefined;
|
|
1343
|
+
product_code?: string | undefined;
|
|
1344
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1345
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1346
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1347
|
+
explicit_confirmation: true;
|
|
1348
|
+
workspace_id?: string | undefined;
|
|
1349
|
+
platform_id?: string | undefined;
|
|
1350
|
+
created_after?: string | undefined;
|
|
1351
|
+
contacts?: {
|
|
1352
|
+
contact_id: string;
|
|
1353
|
+
deal_id?: string | undefined;
|
|
1354
|
+
segment_entered_at?: string | undefined;
|
|
1355
|
+
registered_at?: string | undefined;
|
|
1356
|
+
funnel?: string | undefined;
|
|
1357
|
+
}[] | undefined;
|
|
1358
|
+
continuation?: true | undefined;
|
|
1359
|
+
deal_fields?: Record<string, string | number | boolean | null> | undefined;
|
|
1360
|
+
message?: string | undefined;
|
|
1361
|
+
mailing_variant_id?: string | undefined;
|
|
1362
|
+
segment?: string | undefined;
|
|
1363
|
+
product_code?: string | undefined;
|
|
1364
|
+
funnel?: string | undefined;
|
|
1365
|
+
cohort_label?: string | undefined;
|
|
1366
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1367
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1368
|
+
idempotency_key?: string | undefined;
|
|
1369
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1370
|
+
segments: {
|
|
1371
|
+
contacts: {
|
|
1372
|
+
contact_id: string;
|
|
1373
|
+
deal_id?: string | undefined;
|
|
1374
|
+
segment_entered_at?: string | undefined;
|
|
1375
|
+
registered_at?: string | undefined;
|
|
1376
|
+
funnel?: string | undefined;
|
|
1377
|
+
}[];
|
|
1378
|
+
segment?: string | undefined;
|
|
1379
|
+
product_code?: string | undefined;
|
|
1380
|
+
funnel?: string | undefined;
|
|
1381
|
+
cohort_label?: string | undefined;
|
|
1382
|
+
deal_fields?: Record<string, string | number | boolean | null> | undefined;
|
|
1383
|
+
}[];
|
|
1384
|
+
explicit_confirmation: true;
|
|
1385
|
+
workspace_id?: string | undefined;
|
|
1386
|
+
platform_id?: string | undefined;
|
|
1387
|
+
message?: string | undefined;
|
|
1388
|
+
mailing_variant_id?: string | undefined;
|
|
1389
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1390
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1391
|
+
guards?: {
|
|
1392
|
+
active_series?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1393
|
+
active_application?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1394
|
+
paid?: "OFF" | "WARN" | "BLOCK" | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1397
|
+
batch_id: string;
|
|
1398
|
+
explicit_confirmation: true;
|
|
1399
|
+
workspace_id?: string | undefined;
|
|
1400
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1401
|
+
chat_user_id: string;
|
|
1402
|
+
workspace_id?: string | undefined;
|
|
1403
|
+
funnel_id?: string | undefined;
|
|
1404
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1405
|
+
run_id: string;
|
|
1406
|
+
explicit_confirmation: true;
|
|
1407
|
+
confirmation_reason: string;
|
|
1408
|
+
workspace_id?: string | undefined;
|
|
1409
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1410
|
+
workspace_id?: string | undefined;
|
|
1411
|
+
stored_file_id?: string | undefined;
|
|
1412
|
+
google_sheets_url?: string | undefined;
|
|
1413
|
+
sample_rows_per_sheet?: number | undefined;
|
|
1414
|
+
max_cells_total?: number | undefined;
|
|
1415
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1416
|
+
workbook_id: string;
|
|
1417
|
+
workspace_id?: string | undefined;
|
|
1418
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1419
|
+
workbook_id: string;
|
|
1420
|
+
workspace_id?: string | undefined;
|
|
1421
|
+
sheet_title?: string | undefined;
|
|
1422
|
+
sheet_gid?: number | undefined;
|
|
1423
|
+
sheet_index?: number | undefined;
|
|
1424
|
+
row_offset?: number | undefined;
|
|
1425
|
+
row_limit?: number | undefined;
|
|
1426
|
+
column_offset?: number | undefined;
|
|
1427
|
+
column_limit?: number | undefined;
|
|
1428
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1429
|
+
workbook_id: string;
|
|
1430
|
+
classification: Record<string, unknown>[];
|
|
1431
|
+
workspace_id?: string | undefined;
|
|
1432
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1433
|
+
workbook_id: string;
|
|
1434
|
+
explicit_confirmation: true;
|
|
1435
|
+
workspace_id?: string | undefined;
|
|
1436
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1437
|
+
workbook_id: string;
|
|
1438
|
+
workspace_id?: string | undefined;
|
|
1439
|
+
sheet_title?: string | undefined;
|
|
1063
1440
|
sheet_gid?: number | undefined;
|
|
1064
1441
|
sheet_index?: number | undefined;
|
|
1442
|
+
include_contacts?: boolean | undefined;
|
|
1443
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1444
|
+
workbook_id: string;
|
|
1445
|
+
workspace_id?: string | undefined;
|
|
1446
|
+
sheet_title?: string | undefined;
|
|
1447
|
+
sheet_gid?: number | undefined;
|
|
1448
|
+
sheet_index?: number | undefined;
|
|
1449
|
+
knowledge_space_id?: string | undefined;
|
|
1065
1450
|
namespace?: string | undefined;
|
|
1066
1451
|
split_override?: {
|
|
1067
1452
|
split_mode: "size" | "separator";
|
|
@@ -1071,12 +1456,15 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1071
1456
|
max_chunk_size?: number | undefined;
|
|
1072
1457
|
} | undefined;
|
|
1073
1458
|
replace_existing?: boolean | undefined;
|
|
1459
|
+
target_knowledge_source_id?: string | undefined;
|
|
1074
1460
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1075
1461
|
name: string;
|
|
1076
1462
|
scope_type: "WORKSPACE" | "CHANNEL";
|
|
1463
|
+
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1464
|
+
purpose?: string | null | undefined;
|
|
1465
|
+
search_keywords?: string[] | undefined;
|
|
1077
1466
|
workspace_id?: string | undefined;
|
|
1078
1467
|
channel_id?: string | undefined;
|
|
1079
|
-
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1080
1468
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1081
1469
|
workspace_id?: string | undefined;
|
|
1082
1470
|
scope_type?: "WORKSPACE" | "CHANNEL" | undefined;
|
|
@@ -1086,9 +1474,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1086
1474
|
workspace_id?: string | undefined;
|
|
1087
1475
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1088
1476
|
knowledge_space_id: string;
|
|
1477
|
+
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1478
|
+
purpose?: string | null | undefined;
|
|
1479
|
+
search_keywords?: string[] | undefined;
|
|
1089
1480
|
workspace_id?: string | undefined;
|
|
1090
1481
|
name?: string | undefined;
|
|
1091
|
-
access_mode?: "AUTO_QUERY" | "TOOL_ONLY" | undefined;
|
|
1092
1482
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1093
1483
|
knowledge_space_id: string;
|
|
1094
1484
|
channel_id: string;
|
|
@@ -1109,9 +1499,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1109
1499
|
} | undefined;
|
|
1110
1500
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1111
1501
|
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
1502
|
page?: number | undefined;
|
|
1503
|
+
workspace_id?: string | undefined;
|
|
1504
|
+
status?: "COMPLETED" | "FAILED" | "LOADED" | "SPLIT" | "EMBEDDINGS_GENERATED" | "VECTOR_DB_UPLOADED" | "TEXT_EXTRACTED" | "CHUNKS_SAVED" | undefined;
|
|
1505
|
+
cursor?: string | undefined;
|
|
1115
1506
|
limit?: number | undefined;
|
|
1116
1507
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1117
1508
|
knowledge_space_id: string;
|
|
@@ -1136,15 +1527,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1136
1527
|
}[] | undefined;
|
|
1137
1528
|
}[] | undefined;
|
|
1138
1529
|
alias?: string | undefined;
|
|
1139
|
-
mode?: "SIMPLE" | "
|
|
1530
|
+
mode?: "SIMPLE" | "ONCE_STRICT" | "STRICT" | undefined;
|
|
1140
1531
|
call_operator?: boolean | undefined;
|
|
1141
1532
|
chunk_delay_seconds?: number | undefined;
|
|
1142
1533
|
is_call_qa_only?: boolean | undefined;
|
|
1143
1534
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1144
1535
|
knowledge_space_id: string;
|
|
1145
|
-
workspace_id?: string | undefined;
|
|
1146
|
-
mode?: "SIMPLE" | "STRICT" | "ONCE_STRICT" | undefined;
|
|
1147
1536
|
page?: number | undefined;
|
|
1537
|
+
workspace_id?: string | undefined;
|
|
1538
|
+
mode?: "SIMPLE" | "ONCE_STRICT" | "STRICT" | undefined;
|
|
1539
|
+
cursor?: string | undefined;
|
|
1148
1540
|
limit?: number | undefined;
|
|
1149
1541
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1150
1542
|
knowledge_space_id: string;
|
|
@@ -1158,14 +1550,14 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1158
1550
|
answer?: string | undefined;
|
|
1159
1551
|
answer_chunks?: {
|
|
1160
1552
|
text?: string | undefined;
|
|
1161
|
-
stored_file_id?: string | undefined;
|
|
1553
|
+
stored_file_id?: string | null | undefined;
|
|
1162
1554
|
buttons?: {
|
|
1163
1555
|
name: string;
|
|
1164
1556
|
url: string;
|
|
1165
1557
|
}[] | undefined;
|
|
1166
1558
|
}[] | undefined;
|
|
1167
1559
|
alias?: string | undefined;
|
|
1168
|
-
mode?: "SIMPLE" | "
|
|
1560
|
+
mode?: "SIMPLE" | "ONCE_STRICT" | "STRICT" | undefined;
|
|
1169
1561
|
call_operator?: boolean | undefined;
|
|
1170
1562
|
chunk_delay_seconds?: number | undefined;
|
|
1171
1563
|
is_call_qa_only?: boolean | undefined;
|
|
@@ -1193,9 +1585,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1193
1585
|
display_name?: string | undefined;
|
|
1194
1586
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1195
1587
|
knowledge_space_id: string;
|
|
1196
|
-
workspace_id?: string | undefined;
|
|
1197
|
-
status?: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED" | "CRAWLING" | undefined;
|
|
1198
1588
|
page?: number | undefined;
|
|
1589
|
+
workspace_id?: string | undefined;
|
|
1590
|
+
status?: "COMPLETED" | "FAILED" | "PENDING" | "PROCESSING" | "CRAWLING" | undefined;
|
|
1591
|
+
cursor?: string | undefined;
|
|
1199
1592
|
limit?: number | undefined;
|
|
1200
1593
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1201
1594
|
knowledge_space_id: string;
|
|
@@ -1222,12 +1615,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1222
1615
|
use_vector_index?: boolean | undefined;
|
|
1223
1616
|
vector_top_k?: number | undefined;
|
|
1224
1617
|
vector_embed_max_chars?: number | undefined;
|
|
1225
|
-
access?: "
|
|
1618
|
+
access?: "PRIVATE" | "PUBLIC" | undefined;
|
|
1226
1619
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1227
1620
|
knowledge_space_id: string;
|
|
1621
|
+
page?: number | undefined;
|
|
1228
1622
|
workspace_id?: string | undefined;
|
|
1229
1623
|
is_active?: boolean | undefined;
|
|
1230
|
-
|
|
1624
|
+
cursor?: string | undefined;
|
|
1231
1625
|
limit?: number | undefined;
|
|
1232
1626
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1233
1627
|
knowledge_space_id: string;
|
|
@@ -1250,7 +1644,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1250
1644
|
use_vector_index?: boolean | undefined;
|
|
1251
1645
|
vector_top_k?: number | undefined;
|
|
1252
1646
|
vector_embed_max_chars?: number | undefined;
|
|
1253
|
-
access?: "
|
|
1647
|
+
access?: "PRIVATE" | "PUBLIC" | undefined;
|
|
1254
1648
|
is_active?: boolean | undefined;
|
|
1255
1649
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1256
1650
|
knowledge_space_id: string;
|
|
@@ -1272,7 +1666,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1272
1666
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1273
1667
|
scope: "WORKSPACE" | "CHANNEL";
|
|
1274
1668
|
name: string;
|
|
1275
|
-
type: "TEXT" | "
|
|
1669
|
+
type: "TEXT" | "BOOLEAN" | "NUMBER" | "FLOAT";
|
|
1276
1670
|
workspace_id?: string | undefined;
|
|
1277
1671
|
description?: string | undefined;
|
|
1278
1672
|
value?: string | undefined;
|
|
@@ -1288,10 +1682,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1288
1682
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1289
1683
|
variable_id: string;
|
|
1290
1684
|
scope: "WORKSPACE" | "CHANNEL";
|
|
1685
|
+
expected_version?: string | undefined;
|
|
1291
1686
|
workspace_id?: string | undefined;
|
|
1292
1687
|
platform_id?: string | undefined;
|
|
1293
1688
|
description?: string | undefined;
|
|
1294
|
-
type?: "TEXT" | "
|
|
1689
|
+
type?: "TEXT" | "BOOLEAN" | "NUMBER" | "FLOAT" | undefined;
|
|
1295
1690
|
value?: string | null | undefined;
|
|
1296
1691
|
constant_value?: string | null | undefined;
|
|
1297
1692
|
repeat_constant_value?: string | null | undefined;
|
|
@@ -1299,12 +1694,15 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1299
1694
|
variable_id: string;
|
|
1300
1695
|
scope: "WORKSPACE" | "CHANNEL";
|
|
1301
1696
|
explicit_confirmation: true;
|
|
1697
|
+
expected_version?: string | undefined;
|
|
1302
1698
|
workspace_id?: string | undefined;
|
|
1303
1699
|
platform_id?: string | undefined;
|
|
1304
1700
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1305
1701
|
crm_id: string;
|
|
1306
1702
|
workspace_id?: string | undefined;
|
|
1307
1703
|
include_deleted?: boolean | undefined;
|
|
1704
|
+
limit?: number | undefined;
|
|
1705
|
+
cursor?: string | undefined;
|
|
1308
1706
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1309
1707
|
crm_id: string;
|
|
1310
1708
|
pipeline_id: number;
|
|
@@ -1335,6 +1733,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1335
1733
|
explicit_confirmation: true;
|
|
1336
1734
|
acknowledge_external_side_effect: true;
|
|
1337
1735
|
workspace_id?: string | undefined;
|
|
1736
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1737
|
+
crm_id: string;
|
|
1738
|
+
pipeline_id: number;
|
|
1739
|
+
workspace_id?: string | undefined;
|
|
1740
|
+
limit?: number | undefined;
|
|
1741
|
+
cursor?: string | undefined;
|
|
1338
1742
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1339
1743
|
crm_id: string;
|
|
1340
1744
|
pipeline_id: number;
|
|
@@ -1345,8 +1749,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1345
1749
|
color?: string | undefined;
|
|
1346
1750
|
status_types?: string[] | undefined;
|
|
1347
1751
|
is_editable?: boolean | undefined;
|
|
1752
|
+
is_system_managed?: boolean | undefined;
|
|
1348
1753
|
is_bot_active?: boolean | undefined;
|
|
1349
1754
|
is_operator_available?: boolean | undefined;
|
|
1755
|
+
is_terminal?: boolean | undefined;
|
|
1350
1756
|
on_message_received_move_to_status?: number | null | undefined;
|
|
1351
1757
|
status_id?: number | undefined;
|
|
1352
1758
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -1363,6 +1769,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1363
1769
|
is_editable?: boolean | undefined;
|
|
1364
1770
|
is_bot_active?: boolean | undefined;
|
|
1365
1771
|
is_operator_available?: boolean | undefined;
|
|
1772
|
+
is_terminal?: boolean | undefined;
|
|
1366
1773
|
on_message_received_move_to_status?: number | null | undefined;
|
|
1367
1774
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1368
1775
|
crm_id: string;
|
|
@@ -1375,12 +1782,14 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1375
1782
|
platform_id: string;
|
|
1376
1783
|
pipeline_id: number;
|
|
1377
1784
|
pipeline_crm_id: string;
|
|
1785
|
+
expected_version?: string | undefined;
|
|
1378
1786
|
workspace_id?: string | undefined;
|
|
1379
1787
|
sort?: number | undefined;
|
|
1380
1788
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1381
1789
|
platform_id: string;
|
|
1382
1790
|
platform_pipeline_id: string;
|
|
1383
1791
|
explicit_confirmation: true;
|
|
1792
|
+
expected_version?: string | undefined;
|
|
1384
1793
|
workspace_id?: string | undefined;
|
|
1385
1794
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1386
1795
|
source_platform_id: string;
|
|
@@ -1398,7 +1807,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1398
1807
|
};
|
|
1399
1808
|
workspace_id?: string | undefined;
|
|
1400
1809
|
conflict_mode?: "reject" | "merge" | "overwrite" | undefined;
|
|
1401
|
-
name_collision_strategy?: "
|
|
1810
|
+
name_collision_strategy?: "keep" | "suffix" | undefined;
|
|
1402
1811
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1403
1812
|
preview_token: string;
|
|
1404
1813
|
source_platform_id: string;
|
|
@@ -1419,6 +1828,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1419
1828
|
source?: "OTHER" | "USER_UPLOAD" | "AGENT_GREETING" | "CAMPAIGN" | "CRM_IMPORT" | undefined;
|
|
1420
1829
|
mime_type?: string | undefined;
|
|
1421
1830
|
size_bytes?: number | undefined;
|
|
1831
|
+
owner_kind?: "KNOWLEDGE_SOURCE" | undefined;
|
|
1832
|
+
owner_id?: string | undefined;
|
|
1422
1833
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1423
1834
|
upload_ref: string;
|
|
1424
1835
|
workspace_id?: string | undefined;
|
|
@@ -1433,6 +1844,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1433
1844
|
platform_type: "TelegramBot" | "Wazzup" | "Salebot" | "SmsGorod" | "VKon" | "GetCourse" | "WebWidget" | "Bitrix24Bot";
|
|
1434
1845
|
name: string;
|
|
1435
1846
|
workspace_id?: string | undefined;
|
|
1847
|
+
operation_id?: string | undefined;
|
|
1436
1848
|
fields?: {
|
|
1437
1849
|
[x: string]: unknown;
|
|
1438
1850
|
} | undefined;
|
|
@@ -1444,14 +1856,17 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1444
1856
|
workspace_id?: string | undefined;
|
|
1445
1857
|
name?: string | undefined;
|
|
1446
1858
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1447
|
-
crm_type: "GETCOURSE" | "
|
|
1859
|
+
crm_type: "GETCOURSE" | "AMOCRM" | "BITRIX24";
|
|
1448
1860
|
workspace_id?: string | undefined;
|
|
1861
|
+
operation_id?: string | undefined;
|
|
1449
1862
|
fields?: {
|
|
1450
1863
|
[x: string]: unknown;
|
|
1451
1864
|
} | undefined;
|
|
1452
1865
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1453
1866
|
crm_id: string;
|
|
1454
1867
|
workspace_id?: string | undefined;
|
|
1868
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1869
|
+
crm_id: string;
|
|
1455
1870
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1456
1871
|
crm_id: string;
|
|
1457
1872
|
replace_all_existing: true;
|
|
@@ -1475,9 +1890,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1475
1890
|
workspace_id?: string | undefined;
|
|
1476
1891
|
is_operator?: boolean | undefined;
|
|
1477
1892
|
is_sdr?: boolean | undefined;
|
|
1893
|
+
expected_version?: string | undefined;
|
|
1894
|
+
workspace_member_id?: string | null | undefined;
|
|
1895
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1896
|
+
connection_id: string;
|
|
1897
|
+
workspace_id?: string | undefined;
|
|
1898
|
+
mode?: "GETCOURSE_KEYS" | "LONG_LIVED" | "OAUTH" | "OAUTH_PENDING" | undefined;
|
|
1478
1899
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1479
1900
|
data_source_type: "ONE_C";
|
|
1480
1901
|
workspace_id?: string | undefined;
|
|
1902
|
+
operation_id?: string | undefined;
|
|
1481
1903
|
fields?: {
|
|
1482
1904
|
[x: string]: unknown;
|
|
1483
1905
|
} | undefined;
|
|
@@ -1486,7 +1908,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1486
1908
|
workspace_id?: string | undefined;
|
|
1487
1909
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1488
1910
|
data_source_id: string;
|
|
1489
|
-
role: "OTHER" | "
|
|
1911
|
+
role: "OTHER" | "ORDER" | "PRODUCT_CATALOG" | "STOCK" | "PRICE" | "CUSTOMER";
|
|
1490
1912
|
external_code: string;
|
|
1491
1913
|
display_name: string;
|
|
1492
1914
|
workspace_id?: string | undefined;
|
|
@@ -1527,9 +1949,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1527
1949
|
workspace_id?: string | undefined;
|
|
1528
1950
|
name?: string | undefined;
|
|
1529
1951
|
source_channel?: string | undefined;
|
|
1530
|
-
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1531
|
-
channel_id: string;
|
|
1532
|
-
workspace_id?: string | undefined;
|
|
1533
1952
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1534
1953
|
channel_id: string;
|
|
1535
1954
|
workspace_id?: string | undefined;
|
|
@@ -1537,12 +1956,52 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1537
1956
|
source_channel?: string | undefined;
|
|
1538
1957
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1539
1958
|
workspace_id?: string | undefined;
|
|
1959
|
+
limit?: number | undefined;
|
|
1960
|
+
cursor?: string | undefined;
|
|
1961
|
+
search?: string | undefined;
|
|
1962
|
+
external_id?: string | undefined;
|
|
1963
|
+
phone?: string | undefined;
|
|
1964
|
+
email?: string | undefined;
|
|
1965
|
+
tag_id?: string | undefined;
|
|
1966
|
+
lifecycle_stage?: "LEAD" | "CUSTOMER" | "CHURNED" | "MQL" | "OPPORTUNITY" | "SQL" | undefined;
|
|
1967
|
+
channel_id?: string | undefined;
|
|
1968
|
+
outreach?: "true" | undefined;
|
|
1969
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1970
|
+
contact_id: string;
|
|
1971
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1972
|
+
contact_id: string;
|
|
1973
|
+
message_id?: string | undefined;
|
|
1974
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1975
|
+
workspace_id?: string | undefined;
|
|
1976
|
+
status?: "IN_PROGRESS" | "WAITING_OPERATOR" | "WAITING_CUSTOMER" | "RESOLVED" | undefined;
|
|
1977
|
+
workspace_operator_id?: string | undefined;
|
|
1978
|
+
contact_id?: string | undefined;
|
|
1979
|
+
page?: number | undefined;
|
|
1980
|
+
limit?: number | undefined;
|
|
1981
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1982
|
+
conversation_id: string;
|
|
1983
|
+
workspace_id?: string | undefined;
|
|
1984
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1985
|
+
conversation_id: string;
|
|
1986
|
+
workspace_operator_id: string | null;
|
|
1987
|
+
expected_workspace_operator_id: string | null;
|
|
1988
|
+
expected_assigned_at: string | null;
|
|
1989
|
+
explicit_confirmation: true;
|
|
1990
|
+
workspace_id?: string | undefined;
|
|
1991
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1992
|
+
workspace_id?: string | undefined;
|
|
1993
|
+
source?: "export" | "inbox" | undefined;
|
|
1994
|
+
channel_id?: string | undefined;
|
|
1995
|
+
contact_id?: string | undefined;
|
|
1996
|
+
purchased?: boolean | undefined;
|
|
1997
|
+
has_payment?: boolean | undefined;
|
|
1998
|
+
with_totals?: boolean | undefined;
|
|
1540
1999
|
platform_ids?: string[] | undefined;
|
|
1541
2000
|
date_from?: string | undefined;
|
|
1542
2001
|
date_to?: string | undefined;
|
|
1543
2002
|
lead_status?: string[] | undefined;
|
|
1544
2003
|
deactivate_reason?: string[] | undefined;
|
|
1545
|
-
work_log_event?: ("FAILED" | "
|
|
2004
|
+
work_log_event?: ("FAILED" | "FINISH_LOST" | "FINISH_WIN" | "IN_PROCESS" | "OPERATOR_TAKEOVER" | "START" | "FINISH_AUTO")[] | undefined;
|
|
1546
2005
|
action_type?: string[] | undefined;
|
|
1547
2006
|
action_success?: boolean | undefined;
|
|
1548
2007
|
action_execution_mode?: "test" | "production" | undefined;
|
|
@@ -1557,22 +2016,33 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1557
2016
|
limit?: number | undefined;
|
|
1558
2017
|
cursor?: string | undefined;
|
|
1559
2018
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
2019
|
+
conversation_id: string;
|
|
2020
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2021
|
+
conversation_id: string;
|
|
2022
|
+
action: "MUTE_FOREVER" | "MUTE_TEMPORARY" | "ENABLE";
|
|
2023
|
+
expected_version: string;
|
|
2024
|
+
mute_expires_at?: string | undefined;
|
|
2025
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2026
|
+
view: "period" | "entry" | "cohort";
|
|
2027
|
+
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";
|
|
2028
|
+
mode?: "all" | "days" | "range" | undefined;
|
|
1563
2029
|
date?: string | undefined;
|
|
1564
|
-
channel?: "
|
|
2030
|
+
channel?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | undefined;
|
|
1565
2031
|
import_job_id?: string | undefined;
|
|
1566
2032
|
page?: number | undefined;
|
|
1567
2033
|
page_size?: number | undefined;
|
|
1568
|
-
recipient_metric?: "
|
|
1569
|
-
deal_metric?: "issued" | "paid" | "withoutCohort" | undefined;
|
|
1570
|
-
reason?: "
|
|
2034
|
+
recipient_metric?: "linkIssued" | "clicked" | "handedOff" | "sent" | "deepDialog" | "notDelivered" | "delivered" | "entered" | "notSent" | undefined;
|
|
2035
|
+
deal_metric?: "issued" | "paid" | "confirmedByOperator" | "withoutCohort" | undefined;
|
|
2036
|
+
reason?: "FAILED" | "DUPLICATE" | "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;
|
|
2037
|
+
reason_source?: "COLD_WELCOME" | "REGISTRATION_ANCHOR" | "SCHEDULED_RUN" | "WAVE_PREFLIGHT" | "WAVE_RUN" | undefined;
|
|
1571
2038
|
action_type?: string | undefined;
|
|
1572
2039
|
payment_view?: "decidable" | "excluded" | "resolved" | undefined;
|
|
1573
|
-
payment_status?: "PENDING" | "
|
|
1574
|
-
payment_eligibility?: "PENDING_CHECK" | "VERIFIED" | "
|
|
2040
|
+
payment_status?: "PENDING" | "REJECTED" | "CONFIRMED" | "CONFIRMED_INDIRECT" | undefined;
|
|
2041
|
+
payment_eligibility?: "PENDING_CHECK" | "VERIFIED" | "UNVERIFIED" | "EXCLUDED_NON_AUTOWEB" | "EXCLUDED_PREEXISTING" | "VERIFIED_WEAK" | undefined;
|
|
1575
2042
|
include_archived?: boolean | undefined;
|
|
2043
|
+
currency?: string | undefined;
|
|
2044
|
+
mechanism?: "any" | "cold_welcome" | "wave" | ("any" | "cold_welcome" | "wave")[] | undefined;
|
|
2045
|
+
launch_source?: "manual" | "registration" | "schedule" | ("manual" | "registration" | "schedule")[] | undefined;
|
|
1576
2046
|
workspace_id?: string | undefined;
|
|
1577
2047
|
days?: number | undefined;
|
|
1578
2048
|
from?: string | undefined;
|
|
@@ -1581,15 +2051,17 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1581
2051
|
funnel?: string | string[] | undefined;
|
|
1582
2052
|
funnel_mode?: "none" | undefined;
|
|
1583
2053
|
segment?: string | string[] | undefined;
|
|
1584
|
-
mailing_variant_id?: string | string[] | undefined;
|
|
1585
|
-
mechanism?: "wave" | "cold_welcome" | ("wave" | "cold_welcome")[] | undefined;
|
|
1586
2054
|
product?: string | string[] | undefined;
|
|
1587
2055
|
product_mode?: "none" | undefined;
|
|
1588
|
-
|
|
1589
|
-
|
|
2056
|
+
channels?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN")[] | undefined;
|
|
2057
|
+
freshness?: "0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14" | ("0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14")[] | undefined;
|
|
2058
|
+
mailing_variant_id?: string | string[] | undefined;
|
|
1590
2059
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2060
|
+
view: "period" | "entry" | "cohort";
|
|
1591
2061
|
mode: "all" | "days" | "range";
|
|
1592
|
-
|
|
2062
|
+
currency?: string | undefined;
|
|
2063
|
+
mechanism?: "any" | "cold_welcome" | "wave" | ("any" | "cold_welcome" | "wave")[] | undefined;
|
|
2064
|
+
launch_source?: "manual" | "registration" | "schedule" | ("manual" | "registration" | "schedule")[] | undefined;
|
|
1593
2065
|
workspace_id?: string | undefined;
|
|
1594
2066
|
days?: number | undefined;
|
|
1595
2067
|
from?: string | undefined;
|
|
@@ -1598,20 +2070,22 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1598
2070
|
funnel?: string | string[] | undefined;
|
|
1599
2071
|
funnel_mode?: "none" | undefined;
|
|
1600
2072
|
segment?: string | string[] | undefined;
|
|
1601
|
-
mailing_variant_id?: string | string[] | undefined;
|
|
1602
|
-
mechanism?: "wave" | "cold_welcome" | ("wave" | "cold_welcome")[] | undefined;
|
|
1603
2073
|
product?: string | string[] | undefined;
|
|
1604
2074
|
product_mode?: "none" | undefined;
|
|
1605
|
-
|
|
1606
|
-
|
|
2075
|
+
channels?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN")[] | undefined;
|
|
2076
|
+
freshness?: "0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14" | ("0-7" | "15-30" | "31-45" | "46-60" | "61+" | "8-14")[] | undefined;
|
|
2077
|
+
mailing_variant_id?: string | string[] | undefined;
|
|
1607
2078
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2079
|
+
include_archived: boolean;
|
|
2080
|
+
page: number;
|
|
2081
|
+
page_size: number;
|
|
1608
2082
|
workspace_id?: string | undefined;
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
2083
|
+
view?: "decidable" | "excluded" | "resolved" | undefined;
|
|
2084
|
+
status?: "PENDING" | "REJECTED" | "CONFIRMED" | "CONFIRMED_INDIRECT" | undefined;
|
|
2085
|
+
eligibility?: "PENDING_CHECK" | "VERIFIED" | "UNVERIFIED" | "EXCLUDED_NON_AUTOWEB" | "EXCLUDED_PREEXISTING" | undefined;
|
|
1612
2086
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2087
|
+
include_archived: boolean;
|
|
1613
2088
|
workspace_id?: string | undefined;
|
|
1614
|
-
include_archived?: boolean | undefined;
|
|
1615
2089
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1616
2090
|
name: string;
|
|
1617
2091
|
message_text?: string | null | undefined;
|
|
@@ -1619,227 +2093,319 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1619
2093
|
default_segment?: string | null | undefined;
|
|
1620
2094
|
default_product_code?: string | null | undefined;
|
|
1621
2095
|
default_funnel?: string | null | undefined;
|
|
1622
|
-
default_platform_id?: string | null | undefined;
|
|
1623
2096
|
default_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2097
|
+
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
2098
|
+
default_platform_id?: string | null | undefined;
|
|
1624
2099
|
cold_welcome_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1625
|
-
cold_welcome_channels_mode?: "
|
|
2100
|
+
cold_welcome_channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1626
2101
|
quiet_days_override?: number | null | undefined;
|
|
1627
|
-
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
1628
2102
|
workspace_id?: string | undefined;
|
|
1629
2103
|
description?: string | undefined;
|
|
1630
2104
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1631
2105
|
mailing_variant_id: string;
|
|
1632
|
-
archived?: boolean | undefined;
|
|
1633
|
-
explicit_confirmation?: true | undefined;
|
|
1634
2106
|
message_text?: string | null | undefined;
|
|
1635
2107
|
message_text_by_segment?: Record<string, string> | null | undefined;
|
|
1636
2108
|
default_segment?: string | null | undefined;
|
|
1637
2109
|
default_product_code?: string | null | undefined;
|
|
1638
2110
|
default_funnel?: string | null | undefined;
|
|
1639
|
-
default_platform_id?: string | null | undefined;
|
|
1640
2111
|
default_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2112
|
+
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
2113
|
+
default_platform_id?: string | null | undefined;
|
|
1641
2114
|
cold_welcome_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1642
|
-
cold_welcome_channels_mode?: "
|
|
2115
|
+
cold_welcome_channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
1643
2116
|
quiet_days_override?: number | null | undefined;
|
|
1644
|
-
default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
|
|
1645
2117
|
workspace_id?: string | undefined;
|
|
1646
2118
|
name?: string | undefined;
|
|
1647
2119
|
description?: string | null | undefined;
|
|
2120
|
+
archived?: boolean | undefined;
|
|
2121
|
+
explicit_confirmation?: true | undefined;
|
|
1648
2122
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1649
2123
|
mailing_variant_id: string;
|
|
1650
2124
|
explicit_confirmation: true;
|
|
1651
2125
|
workspace_id?: string | undefined;
|
|
1652
2126
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1653
|
-
platform_id: string;
|
|
1654
2127
|
workspace_id?: string | undefined;
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
2128
|
+
mailing_variant_id?: string | undefined;
|
|
2129
|
+
schedule_id?: string | undefined;
|
|
2130
|
+
origin?: "CAMPAIGN" | "WAVE" | "MANUAL" | "REGISTRATION" | "SCHEDULE" | undefined;
|
|
2131
|
+
cursor?: string | undefined;
|
|
2132
|
+
limit?: number | undefined;
|
|
1660
2133
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1661
|
-
|
|
2134
|
+
segment_id: string;
|
|
2135
|
+
mailing_variant_id: string;
|
|
1662
2136
|
platform_id: string;
|
|
2137
|
+
mechanism: "cold_welcome";
|
|
2138
|
+
freshness_days: number;
|
|
2139
|
+
time_local: string;
|
|
2140
|
+
daily_cap: number;
|
|
2141
|
+
selection_order: "FRESH_FIRST" | "OLD_FIRST";
|
|
2142
|
+
cooldown_days: number;
|
|
1663
2143
|
workspace_id?: string | undefined;
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
2144
|
+
funnels?: string[] | "all" | undefined;
|
|
2145
|
+
product_codes?: string[] | "all" | undefined;
|
|
2146
|
+
window_mode?: "FIXED" | "ROLLING" | undefined;
|
|
2147
|
+
window_from_local?: string | undefined;
|
|
2148
|
+
window_to_local?: string | undefined;
|
|
2149
|
+
days_of_week?: number[] | undefined;
|
|
2150
|
+
days_of_month?: number[] | undefined;
|
|
2151
|
+
handoff_from_school_platforms?: boolean | undefined;
|
|
2152
|
+
resend_segment_on_new_registration?: boolean | undefined;
|
|
2153
|
+
resend_segment_pause_days?: number | undefined;
|
|
2154
|
+
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
2155
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
2156
|
+
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
2157
|
+
skip_after_segment_ids?: string[] | undefined;
|
|
2158
|
+
is_enabled?: boolean | undefined;
|
|
1675
2159
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2160
|
+
segment_id: string;
|
|
2161
|
+
mailing_variant_id: string;
|
|
1676
2162
|
platform_id: string;
|
|
2163
|
+
mechanism: "cold_welcome";
|
|
2164
|
+
freshness_days: number;
|
|
2165
|
+
time_local: string;
|
|
2166
|
+
daily_cap: number;
|
|
2167
|
+
selection_order: "FRESH_FIRST" | "OLD_FIRST";
|
|
2168
|
+
cooldown_days: number;
|
|
2169
|
+
schedule_id?: string | undefined;
|
|
1677
2170
|
workspace_id?: string | undefined;
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
message?: string | undefined;
|
|
2171
|
+
funnels?: string[] | "all" | undefined;
|
|
2172
|
+
product_codes?: string[] | "all" | undefined;
|
|
2173
|
+
window_mode?: "FIXED" | "ROLLING" | undefined;
|
|
2174
|
+
window_from_local?: string | undefined;
|
|
2175
|
+
window_to_local?: string | undefined;
|
|
2176
|
+
days_of_week?: number[] | undefined;
|
|
2177
|
+
days_of_month?: number[] | undefined;
|
|
2178
|
+
handoff_from_school_platforms?: boolean | undefined;
|
|
2179
|
+
resend_segment_on_new_registration?: boolean | undefined;
|
|
2180
|
+
resend_segment_pause_days?: number | undefined;
|
|
1689
2181
|
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1690
|
-
channels_mode?: "
|
|
2182
|
+
channels_mode?: "ADD" | "RESTRICT" | undefined;
|
|
2183
|
+
guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
|
|
2184
|
+
skip_after_segment_ids?: string[] | undefined;
|
|
2185
|
+
is_enabled?: boolean | undefined;
|
|
1691
2186
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2187
|
+
schedule_id: string;
|
|
1692
2188
|
explicit_confirmation: true;
|
|
1693
2189
|
workspace_id?: string | undefined;
|
|
2190
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2191
|
+
schedule_id: string;
|
|
2192
|
+
workspace_id?: string | undefined;
|
|
2193
|
+
limit?: number | undefined;
|
|
2194
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2195
|
+
workspace_id?: string | undefined;
|
|
1694
2196
|
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;
|
|
2197
|
+
window_days?: number | undefined;
|
|
2198
|
+
funnels?: string[] | "all" | undefined;
|
|
2199
|
+
product_codes?: string[] | "all" | undefined;
|
|
1710
2200
|
channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
|
|
1711
|
-
|
|
2201
|
+
cooldown_days?: number | undefined;
|
|
2202
|
+
local_day?: string | undefined;
|
|
2203
|
+
force?: boolean | undefined;
|
|
1712
2204
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
2205
|
+
segment_id: string;
|
|
2206
|
+
facets: {
|
|
2207
|
+
application: "NONE" | "CANCELLED" | "ANY";
|
|
2208
|
+
payment: "ANY" | "NOT_ANYWHERE" | "NOT_IN_FUNNEL";
|
|
2209
|
+
attended?: "ANY" | "NO" | "YES" | undefined;
|
|
2210
|
+
attendedFirstSession?: "ANY" | "NO" | "YES" | undefined;
|
|
2211
|
+
activeSecondsMin?: number | undefined;
|
|
2212
|
+
activeSecondsMax?: number | undefined;
|
|
2213
|
+
webinarDayMin?: number | undefined;
|
|
2214
|
+
webinarDayMax?: number | undefined;
|
|
2215
|
+
bannerClick?: "ANY" | "NO" | "YES" | undefined;
|
|
2216
|
+
prelist?: "ANY" | "NO" | "YES" | undefined;
|
|
2217
|
+
previousSegment?: {
|
|
2218
|
+
key: string;
|
|
2219
|
+
minDaysSince: number;
|
|
2220
|
+
} | undefined;
|
|
2221
|
+
untouchedOnly?: boolean | undefined;
|
|
2222
|
+
};
|
|
2223
|
+
freshness_anchor: "REGISTRATION" | "SERIES_END" | "SERIES_END_PLUS_WAIT" | "FIRST_SESSION_END_PLUS_WAIT" | "LAST_APPLICATION" | "PRELIST";
|
|
2224
|
+
workspace_id?: string | undefined;
|
|
2225
|
+
wait_after_series_end_hours?: number | undefined;
|
|
2226
|
+
priority?: number | undefined;
|
|
2227
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2228
|
+
report: "summary" | "tasks" | "breakdown";
|
|
2229
|
+
workspace_id?: string | undefined;
|
|
2230
|
+
mode?: "all" | "days" | "range" | undefined;
|
|
2231
|
+
days?: number | undefined;
|
|
2232
|
+
from?: string | undefined;
|
|
2233
|
+
to?: string | undefined;
|
|
2234
|
+
scope?: "production" | "with_tests" | undefined;
|
|
2235
|
+
group_by?: "platform" | "operation" | "customer" | "provider" | "tag" | undefined;
|
|
2236
|
+
page?: number | undefined;
|
|
2237
|
+
limit?: number | undefined;
|
|
2238
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2239
|
+
report: "money" | "summary" | "topics" | "speed" | "cycle" | "quality";
|
|
2240
|
+
mode: "all" | "days" | "range";
|
|
2241
|
+
currency?: string | undefined;
|
|
1728
2242
|
workspace_id?: string | undefined;
|
|
1729
2243
|
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;
|
|
2244
|
+
channels?: string[] | undefined;
|
|
2245
|
+
days?: number | undefined;
|
|
2246
|
+
from?: string | undefined;
|
|
2247
|
+
to?: string | undefined;
|
|
1739
2248
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1740
|
-
|
|
2249
|
+
report: "summary" | "cohorts" | "meta" | "velocity" | "activity" | "trigger-daily" | "drilldown" | "managers" | "stage-path" | "decision-gate";
|
|
2250
|
+
platform_id: string;
|
|
2251
|
+
workspace_id?: string | undefined;
|
|
2252
|
+
from?: string | undefined;
|
|
2253
|
+
to?: string | undefined;
|
|
2254
|
+
view?: "period" | "cohort" | undefined;
|
|
2255
|
+
manager_id?: number | undefined;
|
|
2256
|
+
target_status_id?: string | undefined;
|
|
2257
|
+
metric?: "phone" | "operator" | "engaged3" | "wins" | "wrote" | "stuck" | "blocked" | "decision_approved" | "decision_pending" | "decision_rejected" | "decision_submitted" | "finish_win" | "no_deal" | "operator_waiting" | "pipeline_reached" | "replied1" | "send_failed" | "stage_reached" | "undeliverable" | undefined;
|
|
2258
|
+
stage_id?: string | undefined;
|
|
2259
|
+
pipeline_crm_id?: string | undefined;
|
|
2260
|
+
pipeline_id?: string | undefined;
|
|
2261
|
+
page?: number | undefined;
|
|
2262
|
+
page_size?: number | undefined;
|
|
2263
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2264
|
+
report_id: string;
|
|
2265
|
+
workspace_id?: string | undefined;
|
|
2266
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2267
|
+
report_id: string;
|
|
2268
|
+
from: string;
|
|
2269
|
+
to: string;
|
|
2270
|
+
workspace_id?: string | undefined;
|
|
2271
|
+
granularity?: "total" | "day" | "month" | "week" | undefined;
|
|
2272
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2273
|
+
workspace_id?: string | undefined;
|
|
2274
|
+
low_delivery_threshold?: number | undefined;
|
|
2275
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2276
|
+
agent_id: string;
|
|
2277
|
+
enabled: boolean;
|
|
2278
|
+
run_hour_utc: number;
|
|
2279
|
+
channel_scope: "ALL" | "SELECTED";
|
|
2280
|
+
workspace_id?: string | undefined;
|
|
2281
|
+
channel_ids?: string[] | undefined;
|
|
2282
|
+
max_segments_per_run?: number | undefined;
|
|
2283
|
+
min_new_agent_replies?: number | undefined;
|
|
2284
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2285
|
+
agent_id: string;
|
|
2286
|
+
idempotency_key: string;
|
|
1741
2287
|
explicit_confirmation: true;
|
|
2288
|
+
confirmation_reason: string;
|
|
1742
2289
|
workspace_id?: string | undefined;
|
|
2290
|
+
period_from?: string | undefined;
|
|
2291
|
+
period_to?: string | undefined;
|
|
1743
2292
|
}> | 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
2293
|
workspace_id?: string | undefined;
|
|
1756
|
-
|
|
2294
|
+
agent_id?: string | undefined;
|
|
2295
|
+
limit?: number | undefined;
|
|
2296
|
+
cursor?: string | undefined;
|
|
1757
2297
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1758
|
-
|
|
2298
|
+
run_id: string;
|
|
2299
|
+
explicit_confirmation: true;
|
|
1759
2300
|
workspace_id?: string | undefined;
|
|
1760
|
-
|
|
2301
|
+
confirmation_reason?: string | undefined;
|
|
1761
2302
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1762
2303
|
run_id: string;
|
|
2304
|
+
workspace_id?: string | undefined;
|
|
2305
|
+
limit?: number | undefined;
|
|
2306
|
+
observation_type?: string | undefined;
|
|
2307
|
+
severity?: "HIGH" | "LOW" | "MEDIUM" | "CRITICAL" | undefined;
|
|
2308
|
+
review_state?: "BAD" | "GOOD" | "NOT_REVIEWED" | undefined;
|
|
2309
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2310
|
+
observation_id: string;
|
|
2311
|
+
verdict: "BAD" | "GOOD";
|
|
2312
|
+
workspace_id?: string | undefined;
|
|
2313
|
+
comment?: string | null | undefined;
|
|
2314
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2315
|
+
observation_id: string;
|
|
2316
|
+
workspace_id?: string | undefined;
|
|
2317
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2318
|
+
channel_id: string;
|
|
2319
|
+
type: "DIALOGUE_ANALYSIS";
|
|
2320
|
+
is_enabled: boolean;
|
|
1763
2321
|
explicit_confirmation: true;
|
|
1764
|
-
confirmation_reason: string;
|
|
1765
2322
|
workspace_id?: string | undefined;
|
|
2323
|
+
daily?: {
|
|
2324
|
+
enabled: boolean;
|
|
2325
|
+
summary_time?: string | undefined;
|
|
2326
|
+
output?: "hidden" | "note" | undefined;
|
|
2327
|
+
} | undefined;
|
|
2328
|
+
hourly?: {
|
|
2329
|
+
enabled: boolean;
|
|
2330
|
+
window_start?: string | undefined;
|
|
2331
|
+
window_end?: string | undefined;
|
|
2332
|
+
min_new_events?: number | undefined;
|
|
2333
|
+
output?: "hidden" | "note" | undefined;
|
|
2334
|
+
} | undefined;
|
|
2335
|
+
pipeline_scope?: {
|
|
2336
|
+
mode: "ALL" | "SELECTED";
|
|
2337
|
+
pipeline_ids: string[];
|
|
2338
|
+
} | undefined;
|
|
2339
|
+
manager_scope?: {
|
|
2340
|
+
mode: "ALL" | "SELECTED";
|
|
2341
|
+
operator_ids: string[];
|
|
2342
|
+
} | undefined;
|
|
2343
|
+
stage_scope?: {
|
|
2344
|
+
mode: "SELECTED";
|
|
2345
|
+
stages: {
|
|
2346
|
+
pipeline_crm_id: string;
|
|
2347
|
+
pipeline_id: string | number;
|
|
2348
|
+
status_id: string | number;
|
|
2349
|
+
}[];
|
|
2350
|
+
} | null | undefined;
|
|
2351
|
+
prompts?: {
|
|
2352
|
+
daily?: string | null | undefined;
|
|
2353
|
+
hourly?: string | null | undefined;
|
|
2354
|
+
} | undefined;
|
|
2355
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2356
|
+
conversation_id: string;
|
|
2357
|
+
workspace_id?: string | undefined;
|
|
2358
|
+
since?: string | undefined;
|
|
1766
2359
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1767
2360
|
platform_id: string;
|
|
2361
|
+
workspace_id?: string | undefined;
|
|
1768
2362
|
cursor?: string | undefined;
|
|
1769
2363
|
limit?: number | undefined;
|
|
1770
2364
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1771
2365
|
run_id: string;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
severity?: "LOW" | "MEDIUM" | "CRITICAL" | undefined;
|
|
1775
|
-
status?: "NEW" | "LIKED" | "DISLIKED" | undefined;
|
|
2366
|
+
workspace_id?: string | undefined;
|
|
2367
|
+
explicit_confirmation?: boolean | undefined;
|
|
1776
2368
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1777
2369
|
platform_id: string;
|
|
2370
|
+
explicit_confirmation: true;
|
|
2371
|
+
workspace_id?: string | undefined;
|
|
1778
2372
|
period_from?: string | undefined;
|
|
1779
2373
|
period_to?: string | undefined;
|
|
1780
|
-
explicit_confirmation?: boolean | undefined;
|
|
1781
2374
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1782
2375
|
run_id: string;
|
|
1783
|
-
|
|
2376
|
+
workspace_id?: string | undefined;
|
|
2377
|
+
agent_id?: string | undefined;
|
|
2378
|
+
category?: string | undefined;
|
|
2379
|
+
severity?: "LOW" | "MEDIUM" | "CRITICAL" | undefined;
|
|
2380
|
+
status?: "NEW" | "LIKED" | "DISLIKED" | undefined;
|
|
2381
|
+
limit?: number | undefined;
|
|
1784
2382
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1785
2383
|
platform_id: string;
|
|
1786
2384
|
tickets: string[];
|
|
1787
2385
|
findings: {
|
|
1788
2386
|
ticket: string;
|
|
1789
|
-
category:
|
|
1790
|
-
severity: "LOW" | "MEDIUM" | "CRITICAL";
|
|
2387
|
+
category: string;
|
|
2388
|
+
severity: "HIGH" | "LOW" | "MEDIUM" | "CRITICAL";
|
|
1791
2389
|
title: string;
|
|
1792
2390
|
description: string;
|
|
1793
2391
|
primary_message_id: string;
|
|
1794
2392
|
prompt_suggestion?: string | null | undefined;
|
|
1795
2393
|
quote?: string | null | undefined;
|
|
2394
|
+
expected_behavior?: string | null | undefined;
|
|
1796
2395
|
}[];
|
|
2396
|
+
workspace_id?: string | undefined;
|
|
1797
2397
|
client_id?: string | undefined;
|
|
1798
2398
|
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
2399
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1836
2400
|
platform_id: string;
|
|
1837
2401
|
type: "DIALOGUE_ANALYSIS";
|
|
1838
2402
|
is_enabled: boolean;
|
|
2403
|
+
explicit_confirmation: true;
|
|
2404
|
+
workspace_id?: string | undefined;
|
|
1839
2405
|
daily?: {
|
|
1840
2406
|
enabled: boolean;
|
|
1841
2407
|
summary_time?: string | undefined;
|
|
1842
|
-
output?: "
|
|
2408
|
+
output?: "hidden" | "note" | undefined;
|
|
1843
2409
|
model?: string | undefined;
|
|
1844
2410
|
max_tokens?: number | undefined;
|
|
1845
2411
|
} | undefined;
|
|
@@ -1848,120 +2414,75 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1848
2414
|
window_start?: string | undefined;
|
|
1849
2415
|
window_end?: string | undefined;
|
|
1850
2416
|
min_new_events?: number | undefined;
|
|
1851
|
-
output?: "
|
|
2417
|
+
output?: "hidden" | "note" | undefined;
|
|
1852
2418
|
model?: string | undefined;
|
|
1853
2419
|
max_tokens?: number | undefined;
|
|
1854
2420
|
} | undefined;
|
|
2421
|
+
daily_prompt?: string | null | undefined;
|
|
2422
|
+
hourly_prompt?: string | null | undefined;
|
|
1855
2423
|
funnels?: string[] | undefined;
|
|
1856
2424
|
managers?: number[] | undefined;
|
|
1857
2425
|
stages?: {
|
|
1858
2426
|
pipeline_crm_id: string;
|
|
1859
|
-
pipeline_id: number;
|
|
1860
|
-
status_id: number;
|
|
2427
|
+
pipeline_id: string | number;
|
|
2428
|
+
status_id: string | number;
|
|
1861
2429
|
}[] | null | undefined;
|
|
1862
|
-
daily_prompt?: string | null | undefined;
|
|
1863
|
-
hourly_prompt?: string | null | undefined;
|
|
1864
|
-
explicit_confirmation?: boolean | undefined;
|
|
1865
2430
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1866
|
-
|
|
2431
|
+
getcourse_user_id: number;
|
|
2432
|
+
workspace_id?: string | undefined;
|
|
1867
2433
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
2434
|
+
workspace_id?: string | undefined;
|
|
2435
|
+
contact_id?: string | undefined;
|
|
2436
|
+
chat_user_id?: string | undefined;
|
|
1871
2437
|
}> | 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;
|
|
2438
|
+
conversation_id: string;
|
|
2439
|
+
action_id: string;
|
|
1881
2440
|
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;
|
|
2441
|
+
explicit_confirmation?: true | undefined;
|
|
1897
2442
|
}> | 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
2443
|
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;
|
|
2444
|
+
currency?: string | undefined;
|
|
2445
|
+
include_archived?: boolean | undefined;
|
|
2446
|
+
days?: number | undefined;
|
|
2447
|
+
limit?: number | undefined;
|
|
2448
|
+
offset?: number | undefined;
|
|
1924
2449
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1925
|
-
|
|
2450
|
+
name: string;
|
|
2451
|
+
slug: string;
|
|
2452
|
+
target_url: string;
|
|
2453
|
+
workspace_id?: string | undefined;
|
|
2454
|
+
personal_url_variable?: string | undefined;
|
|
2455
|
+
product_code?: string | undefined;
|
|
2456
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2457
|
+
link_id: string;
|
|
2458
|
+
workspace_id?: string | undefined;
|
|
2459
|
+
name?: string | undefined;
|
|
2460
|
+
target_url?: string | undefined;
|
|
2461
|
+
personal_url_variable?: string | null | undefined;
|
|
2462
|
+
product_code?: string | undefined;
|
|
2463
|
+
restore?: true | undefined;
|
|
2464
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2465
|
+
link_id: string;
|
|
1926
2466
|
explicit_confirmation: true;
|
|
1927
2467
|
workspace_id?: string | undefined;
|
|
1928
2468
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1929
|
-
|
|
2469
|
+
link_id: string;
|
|
1930
2470
|
workspace_id?: string | undefined;
|
|
1931
|
-
|
|
2471
|
+
currency?: string | undefined;
|
|
2472
|
+
days?: number | undefined;
|
|
1932
2473
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2474
|
+
link_id: string;
|
|
1933
2475
|
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;
|
|
2476
|
+
days?: number | undefined;
|
|
1942
2477
|
}> | 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";
|
|
2478
|
+
link_id: string;
|
|
2479
|
+
workspace_id?: string | undefined;
|
|
2480
|
+
days?: number | undefined;
|
|
2481
|
+
page?: number | undefined;
|
|
2482
|
+
page_size?: number | undefined;
|
|
2483
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2484
|
+
domain: string | null;
|
|
1962
2485
|
workspace_id?: string | undefined;
|
|
1963
|
-
wait_after_series_end_hours?: number | undefined;
|
|
1964
|
-
priority?: number | undefined;
|
|
1965
2486
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1966
2487
|
query: string;
|
|
1967
2488
|
limit?: number | undefined;
|
|
@@ -1969,20 +2490,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1969
2490
|
uri: string;
|
|
1970
2491
|
section?: string | undefined;
|
|
1971
2492
|
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
2493
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1987
2494
|
goal: string;
|
|
1988
2495
|
constraints: string[];
|
|
@@ -1994,12 +2501,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1994
2501
|
checkpoints: {
|
|
1995
2502
|
key: string;
|
|
1996
2503
|
label: string;
|
|
1997
|
-
status: "
|
|
2504
|
+
status: "COMPLETED" | "PENDING" | "BLOCKED";
|
|
1998
2505
|
evidence?: string | undefined;
|
|
1999
2506
|
}[];
|
|
2000
2507
|
pending_operations: {
|
|
2001
2508
|
operation: string;
|
|
2002
|
-
status: "
|
|
2509
|
+
status: "OUTCOME_UNKNOWN" | "AWAITING_USER" | "PLANNED";
|
|
2003
2510
|
object_ref?: {
|
|
2004
2511
|
type: string;
|
|
2005
2512
|
id: string;
|
|
@@ -2014,7 +2521,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
2014
2521
|
workspace_id?: string | undefined;
|
|
2015
2522
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2016
2523
|
workspace_id?: string | undefined;
|
|
2017
|
-
status?: "COMPLETED" | "
|
|
2524
|
+
status?: "COMPLETED" | "CANCELLED" | "ACTIVE" | "EXPIRED" | undefined;
|
|
2018
2525
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
2019
2526
|
task_id: string;
|
|
2020
2527
|
workspace_id?: string | undefined;
|
|
@@ -2032,12 +2539,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
2032
2539
|
checkpoints?: {
|
|
2033
2540
|
key: string;
|
|
2034
2541
|
label: string;
|
|
2035
|
-
status: "
|
|
2542
|
+
status: "COMPLETED" | "PENDING" | "BLOCKED";
|
|
2036
2543
|
evidence?: string | undefined;
|
|
2037
2544
|
}[] | undefined;
|
|
2038
2545
|
pending_operations?: {
|
|
2039
2546
|
operation: string;
|
|
2040
|
-
status: "
|
|
2547
|
+
status: "OUTCOME_UNKNOWN" | "AWAITING_USER" | "PLANNED";
|
|
2041
2548
|
object_ref?: {
|
|
2042
2549
|
type: string;
|
|
2043
2550
|
id: string;
|
|
@@ -2058,58 +2565,4 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
2058
2565
|
expected_version: number;
|
|
2059
2566
|
explicit_confirmation: true;
|
|
2060
2567
|
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
2568
|
}>)[];
|