@besales/mcp 0.48.0 → 1.0.0-beta.4

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