@besales/mcp 0.45.0 → 0.47.0

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 (189) hide show
  1. package/README.md +96 -55
  2. package/dist/auth/connection-store.d.ts +21 -1
  3. package/dist/auth/connection-store.js +46 -2
  4. package/dist/auth/connection-store.js.map +1 -1
  5. package/dist/auth/oauth-client.d.ts +5 -1
  6. package/dist/auth/oauth-client.js +22 -12
  7. package/dist/auth/oauth-client.js.map +1 -1
  8. package/dist/cli.js +14 -5
  9. package/dist/cli.js.map +1 -1
  10. package/dist/http/api-client.d.ts +16 -1
  11. package/dist/http/api-client.js +50 -2
  12. package/dist/http/api-client.js.map +1 -1
  13. package/dist/instructions/server-instructions.d.ts +4 -13
  14. package/dist/instructions/server-instructions.js +68 -274
  15. package/dist/instructions/server-instructions.js.map +1 -1
  16. package/dist/prompts/registry.d.ts +15 -0
  17. package/dist/prompts/registry.js +83 -0
  18. package/dist/prompts/registry.js.map +1 -0
  19. package/dist/resources/concepts/feedback-sheets.md +7 -4
  20. package/dist/resources/concepts/handoff.md +4 -1
  21. package/dist/resources/concepts/sandbox.md +14 -5
  22. package/dist/resources/concepts/triggers.md +6 -2
  23. package/dist/resources/concepts/workbook-classification.md +26 -21
  24. package/dist/resources/docs/campaigns.md +20 -0
  25. package/dist/resources/docs/crm-integration.md +3 -1
  26. package/dist/resources/docs/follow-up.md +19 -0
  27. package/dist/resources/docs/platforms.md +2 -2
  28. package/dist/resources/docs/routing.md +18 -0
  29. package/dist/resources/docs/task-state.md +30 -0
  30. package/dist/resources/docs/trigger-actions.md +28 -0
  31. package/dist/resources/docs/variables.md +18 -0
  32. package/dist/resources/registry.js +51 -2
  33. package/dist/resources/registry.js.map +1 -1
  34. package/dist/resources/workflows/compare-models.md +4 -3
  35. package/dist/resources/workflows/connect-crm-from-scratch.md +8 -0
  36. package/dist/resources/workflows/extract-from-document.md +8 -1
  37. package/dist/resources/workflows/iterate-with-sandbox.md +5 -2
  38. package/dist/resources/workflows/platform-setup-from-scratch.md +90 -2
  39. package/dist/resources/workflows/production-readiness-check.md +22 -18
  40. package/dist/schemas/mcp-tools.json +1537 -177
  41. package/dist/server.d.ts +2 -0
  42. package/dist/server.js +8 -2
  43. package/dist/server.js.map +1 -1
  44. package/dist/tasks/task-state-store.d.ts +68 -0
  45. package/dist/tasks/task-state-store.js +278 -0
  46. package/dist/tasks/task-state-store.js.map +1 -0
  47. package/dist/tools/annotations.d.ts +7 -0
  48. package/dist/tools/annotations.js +16 -0
  49. package/dist/tools/annotations.js.map +1 -0
  50. package/dist/tools/contracts.js +7 -1
  51. package/dist/tools/contracts.js.map +1 -1
  52. package/dist/tools/definitions/agent-design.d.ts +49 -20
  53. package/dist/tools/definitions/agent-design.js +192 -19
  54. package/dist/tools/definitions/agent-design.js.map +1 -1
  55. package/dist/tools/definitions/analytics.d.ts +40 -0
  56. package/dist/tools/definitions/analytics.js +233 -0
  57. package/dist/tools/definitions/analytics.js.map +1 -0
  58. package/dist/tools/definitions/broadcast-analytics.d.ts +5 -4
  59. package/dist/tools/definitions/broadcast-analytics.js +26 -4
  60. package/dist/tools/definitions/broadcast-analytics.js.map +1 -1
  61. package/dist/tools/definitions/broadcast-mailing-variants.d.ts +2 -0
  62. package/dist/tools/definitions/broadcast-mailing-variants.js +10 -0
  63. package/dist/tools/definitions/broadcast-mailing-variants.js.map +1 -1
  64. package/dist/tools/definitions/broadcast-scheduler.d.ts +20 -1
  65. package/dist/tools/definitions/broadcast-scheduler.js +134 -8
  66. package/dist/tools/definitions/broadcast-scheduler.js.map +1 -1
  67. package/dist/tools/definitions/contacts.d.ts +15 -0
  68. package/dist/tools/definitions/contacts.js +84 -0
  69. package/dist/tools/definitions/contacts.js.map +1 -0
  70. package/dist/tools/definitions/crm-platform.d.ts +2 -0
  71. package/dist/tools/definitions/crm-platform.js +95 -5
  72. package/dist/tools/definitions/crm-platform.js.map +1 -1
  73. package/dist/tools/definitions/datasource.d.ts +1 -0
  74. package/dist/tools/definitions/datasource.js +16 -1
  75. package/dist/tools/definitions/datasource.js.map +1 -1
  76. package/dist/tools/definitions/dialogue-audit.d.ts +2 -2
  77. package/dist/tools/definitions/dialogue-audit.js +54 -16
  78. package/dist/tools/definitions/dialogue-audit.js.map +1 -1
  79. package/dist/tools/definitions/dialogue-export.d.ts +1 -1
  80. package/dist/tools/definitions/dialogue-export.js +12 -0
  81. package/dist/tools/definitions/dialogue-export.js.map +1 -1
  82. package/dist/tools/definitions/external-api-channels.js +39 -12
  83. package/dist/tools/definitions/external-api-channels.js.map +1 -1
  84. package/dist/tools/definitions/follow-up-funnel-test.js +4 -0
  85. package/dist/tools/definitions/follow-up-funnel-test.js.map +1 -1
  86. package/dist/tools/definitions/follow-up-setup.js +3 -0
  87. package/dist/tools/definitions/follow-up-setup.js.map +1 -1
  88. package/dist/tools/definitions/follow-up.d.ts +1 -1
  89. package/dist/tools/definitions/follow-up.js +6 -0
  90. package/dist/tools/definitions/follow-up.js.map +1 -1
  91. package/dist/tools/definitions/getcourse-anchor-refresh.d.ts +3 -0
  92. package/dist/tools/definitions/getcourse-anchor-refresh.js +29 -2
  93. package/dist/tools/definitions/getcourse-anchor-refresh.js.map +1 -1
  94. package/dist/tools/definitions/getcourse-cold-welcome.d.ts +20 -2
  95. package/dist/tools/definitions/getcourse-cold-welcome.js +128 -7
  96. package/dist/tools/definitions/getcourse-cold-welcome.js.map +1 -1
  97. package/dist/tools/definitions/getcourse-wave.js +14 -0
  98. package/dist/tools/definitions/getcourse-wave.js.map +1 -1
  99. package/dist/tools/definitions/help.d.ts +8 -0
  100. package/dist/tools/definitions/help.js +219 -0
  101. package/dist/tools/definitions/help.js.map +1 -0
  102. package/dist/tools/definitions/knowledge.d.ts +27 -5
  103. package/dist/tools/definitions/knowledge.js +200 -33
  104. package/dist/tools/definitions/knowledge.js.map +1 -1
  105. package/dist/tools/definitions/link-tracking.js +31 -0
  106. package/dist/tools/definitions/link-tracking.js.map +1 -1
  107. package/dist/tools/definitions/model-comparison.js +12 -3
  108. package/dist/tools/definitions/model-comparison.js.map +1 -1
  109. package/dist/tools/definitions/operational-overview.d.ts +3 -0
  110. package/dist/tools/definitions/operational-overview.js +23 -0
  111. package/dist/tools/definitions/operational-overview.js.map +1 -0
  112. package/dist/tools/definitions/operator-workflow.d.ts +20 -0
  113. package/dist/tools/definitions/operator-workflow.js +114 -0
  114. package/dist/tools/definitions/operator-workflow.js.map +1 -0
  115. package/dist/tools/definitions/platform-setup.d.ts +54 -3
  116. package/dist/tools/definitions/platform-setup.js +211 -5
  117. package/dist/tools/definitions/platform-setup.js.map +1 -1
  118. package/dist/tools/definitions/scheduled-tasks.js +2 -0
  119. package/dist/tools/definitions/scheduled-tasks.js.map +1 -1
  120. package/dist/tools/definitions/session.js +103 -5
  121. package/dist/tools/definitions/session.js.map +1 -1
  122. package/dist/tools/definitions/shared.d.ts +272 -10
  123. package/dist/tools/definitions/shared.js +154 -8
  124. package/dist/tools/definitions/shared.js.map +1 -1
  125. package/dist/tools/definitions/task-state.d.ts +76 -0
  126. package/dist/tools/definitions/task-state.js +301 -0
  127. package/dist/tools/definitions/task-state.js.map +1 -0
  128. package/dist/tools/definitions/trigger-contact-claims.d.ts +7 -0
  129. package/dist/tools/definitions/trigger-contact-claims.js +60 -0
  130. package/dist/tools/definitions/trigger-contact-claims.js.map +1 -0
  131. package/dist/tools/definitions.d.ts +334 -35
  132. package/dist/tools/definitions.js +14 -0
  133. package/dist/tools/definitions.js.map +1 -1
  134. package/dist/tools/description-localization.d.ts +2 -0
  135. package/dist/tools/description-localization.js +46 -0
  136. package/dist/tools/description-localization.js.map +1 -0
  137. package/dist/tools/incomplete-list.d.ts +23 -0
  138. package/dist/tools/incomplete-list.js +39 -0
  139. package/dist/tools/incomplete-list.js.map +1 -0
  140. package/dist/tools/inventory.d.ts +10 -0
  141. package/dist/tools/inventory.js +49 -0
  142. package/dist/tools/inventory.js.map +1 -0
  143. package/dist/tools/registry-mapping-cases-core.js +122 -4
  144. package/dist/tools/registry-mapping-cases-core.js.map +1 -1
  145. package/dist/tools/registry-mapping-cases-platform.js +69 -0
  146. package/dist/tools/registry-mapping-cases-platform.js.map +1 -1
  147. package/dist/tools/registry.d.ts +2 -0
  148. package/dist/tools/registry.js +60 -8
  149. package/dist/tools/registry.js.map +1 -1
  150. package/dist/tools/result-envelope.d.ts +46 -0
  151. package/dist/tools/result-envelope.js +184 -0
  152. package/dist/tools/result-envelope.js.map +1 -0
  153. package/dist/tools/result.d.ts +41 -3
  154. package/dist/tools/result.js +229 -27
  155. package/dist/tools/result.js.map +1 -1
  156. package/dist/tools/tool-title.d.ts +2 -0
  157. package/dist/tools/tool-title.js +12 -0
  158. package/dist/tools/tool-title.js.map +1 -0
  159. package/dist/tools/toolsets.d.ts +37 -0
  160. package/dist/tools/toolsets.js +64 -0
  161. package/dist/tools/toolsets.js.map +1 -0
  162. package/dist/tools/trigger-action-config.js +4 -0
  163. package/dist/tools/trigger-action-config.js.map +1 -1
  164. package/dist/tools/verify-with.d.ts +5 -0
  165. package/dist/tools/verify-with.js +36 -0
  166. package/dist/tools/verify-with.js.map +1 -0
  167. package/dist/types/api-contract.gen.d.ts +2612 -332
  168. package/dist/utils/logger.d.ts +11 -0
  169. package/dist/utils/logger.js +64 -8
  170. package/dist/utils/logger.js.map +1 -1
  171. package/docs/agent-usage-guide.full.ru.md +21 -15
  172. package/docs/agent-usage-guide.ru.md +24 -16
  173. package/docs/async-operation-lifecycle.md +46 -0
  174. package/docs/connect.ru.md +120 -0
  175. package/docs/evals/model-behavior-scorecard.md +80 -0
  176. package/docs/failure-semantics.md +56 -0
  177. package/docs/help-navigation.md +48 -0
  178. package/docs/host-compatibility-matrix.md +153 -0
  179. package/docs/host-setup.md +22 -6
  180. package/docs/operation-coverage.md +114 -0
  181. package/docs/pii-policy.md +46 -0
  182. package/docs/response-size-budget.md +150 -0
  183. package/docs/task-state.md +58 -0
  184. package/docs/tool-effects.md +46 -0
  185. package/docs/tool-surface.md +91 -0
  186. package/package.json +6 -2
  187. package/scripts/model-eval-server.js +213 -0
  188. package/scripts/probe-mcp-protocol.js +134 -0
  189. package/scripts/run-model-eval.js +447 -0
@@ -28,6 +28,9 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
28
28
  operation_id: string;
29
29
  icp_profile_id: string;
30
30
  segments: {
31
+ language_style: {
32
+ [x: string]: unknown;
33
+ } | undefined;
31
34
  name: string;
32
35
  id?: string | undefined;
33
36
  description?: string | undefined;
@@ -36,22 +39,19 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
36
39
  } | undefined;
37
40
  pains?: unknown[] | undefined;
38
41
  motivations?: unknown[] | undefined;
39
- language_style?: {
40
- [x: string]: unknown;
41
- } | undefined;
42
42
  }[];
43
43
  personas: {
44
+ segment_id: string | undefined;
45
+ pain_points: unknown[] | undefined;
46
+ messaging_hints: {
47
+ [x: string]: unknown;
48
+ } | undefined;
44
49
  name: string;
45
- segment_id: string;
46
50
  description?: string | undefined;
47
- pain_points?: unknown[] | undefined;
48
51
  goals?: unknown[] | undefined;
49
52
  objections?: {
50
53
  [x: string]: unknown;
51
54
  } | undefined;
52
- messaging_hints?: {
53
- [x: string]: unknown;
54
- } | undefined;
55
55
  }[];
56
56
  workspace_id?: string | undefined;
57
57
  }> | import("./definitions/shared.js").ToolDefinition<{
@@ -75,6 +75,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
75
75
  message_direction?: "INBOUND" | "OUTBOUND" | undefined;
76
76
  } | undefined;
77
77
  }> | import("./definitions/shared.js").ToolDefinition<{
78
+ final_content: string | undefined;
78
79
  agent_id: string;
79
80
  operation_id: string;
80
81
  stages: {
@@ -83,7 +84,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
83
84
  [x: string]: unknown;
84
85
  };
85
86
  }[];
86
- final_content: string;
87
87
  metadata?: {
88
88
  total_tokens?: number | undefined;
89
89
  models?: Record<string, string> | undefined;
@@ -93,6 +93,9 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
93
93
  version_id: string;
94
94
  modes: ("grammar" | "industry" | "structure" | "completeness" | "contradictions")[];
95
95
  }> | import("./definitions/shared.js").ToolDefinition<{
96
+ aggregated_issues: {
97
+ [x: string]: unknown;
98
+ }[] | undefined;
96
99
  agent_id: string;
97
100
  operation_id: string;
98
101
  stages: {
@@ -101,15 +104,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
101
104
  [x: string]: unknown;
102
105
  };
103
106
  }[];
104
- aggregated_issues: {
105
- [x: string]: unknown;
106
- }[];
107
107
  }> | import("./definitions/shared.js").ToolDefinition<{
108
108
  agent_id: string;
109
109
  draft_version_id: string;
110
110
  changelog_note?: string | undefined;
111
111
  }> | import("./definitions/shared.js").ToolDefinition<{
112
112
  agent_id: string;
113
+ candidate_prompt?: string | undefined;
113
114
  scenario_ids?: string[] | undefined;
114
115
  options?: {
115
116
  mode: "single_agent" | "workflow";
@@ -123,6 +124,19 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
123
124
  max_turns?: number | undefined;
124
125
  } | undefined;
125
126
  } | undefined;
127
+ }> | import("./definitions/shared.js").ToolDefinition<{
128
+ agent_id: string;
129
+ limit?: number | undefined;
130
+ cursor?: string | undefined;
131
+ }> | import("./definitions/shared.js").ToolDefinition<{
132
+ run_id: string;
133
+ reviewed_issues: {
134
+ scenario_id?: string | undefined;
135
+ turn_index?: number | undefined;
136
+ category?: "other" | "hallucination" | "wrong_action" | "bad_tone" | "missed_context" | undefined;
137
+ description?: string | undefined;
138
+ }[];
139
+ general_comments?: string | undefined;
126
140
  }> | import("./definitions/shared.js").ToolDefinition<{
127
141
  agent_id: string;
128
142
  run_id: string;
@@ -131,12 +145,17 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
131
145
  run_id: string;
132
146
  operation_id: string;
133
147
  findings: {
134
- category: "other" | "hallucination" | "wrong_action" | "bad_tone" | "wrong_routing" | "missed_trigger" | "wrong_pipeline_transition" | "rag_miss";
135
- severity: "low" | "medium" | "critical";
136
- message: string;
148
+ category: "other" | "hallucination" | "wrong_action" | "bad_tone" | "missed_context" | "wrong_routing" | "rag_miss";
149
+ severity: "critical" | "low" | "medium";
137
150
  scenario_id?: string | undefined;
151
+ scenarioId?: string | undefined;
152
+ description?: string | undefined;
153
+ message?: string | undefined;
154
+ evidence?: string | undefined;
155
+ recommendation?: string | undefined;
138
156
  suggestion?: string | undefined;
139
157
  turn_index?: number | undefined;
158
+ turnIndex?: number | undefined;
140
159
  }[];
141
160
  }> | import("./definitions/shared.js").ToolDefinition<{
142
161
  agent_id: string;
@@ -146,11 +165,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
146
165
  operation_id: string;
147
166
  findings: {
148
167
  category: "other" | "hallucination" | "wrong_action" | "bad_tone" | "missed_context" | "contradiction" | "off_topic";
149
- severity: "low" | "medium" | "critical";
168
+ severity: "critical" | "low" | "medium";
150
169
  message: string;
151
170
  dialogue_id?: string | undefined;
171
+ dialogueId?: string | undefined;
152
172
  suggestion?: string | undefined;
153
173
  reference_message_index?: number | undefined;
174
+ referenceMessageIndex?: number | undefined;
154
175
  }[];
155
176
  simulation_id?: string | undefined;
156
177
  }> | import("./definitions/shared.js").ToolDefinition<{
@@ -160,14 +181,14 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
160
181
  company_context?: string | undefined;
161
182
  icp_profile_id?: string | undefined;
162
183
  }> | import("./definitions/shared.js").ToolDefinition<{
163
- agent_id: string;
164
- operation_id: string;
184
+ knowledge_space_id: string | undefined;
165
185
  qa_pairs: {
166
186
  question: string;
167
187
  answer: string;
168
188
  tags?: string[] | undefined;
169
- }[];
170
- knowledge_space_id?: string | undefined;
189
+ }[] | undefined;
190
+ agent_id: string;
191
+ operation_id: string;
171
192
  }> | import("./definitions/shared.js").ToolDefinition<{
172
193
  icp_profile_id: string;
173
194
  count: number;
@@ -184,6 +205,14 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
184
205
  situations: {
185
206
  role: "client" | "agent";
186
207
  text: string;
208
+ expect?: {
209
+ triggers?: string[] | undefined;
210
+ noTriggers?: string[] | undefined;
211
+ tools?: string[] | undefined;
212
+ noTools?: string[] | undefined;
213
+ answerContains?: string[] | undefined;
214
+ answerNotContains?: string[] | undefined;
215
+ } | undefined;
187
216
  }[];
188
217
  description?: string | undefined;
189
218
  }[];
@@ -227,7 +256,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
227
256
  to: string;
228
257
  sequence_id?: string[] | undefined;
229
258
  horizon_minutes?: 30 | 60 | 90 | 180 | 360 | 720 | 1440 | undefined;
230
- run_window_days?: 3 | 1 | 5 | 7 | 14 | undefined;
259
+ run_window_days?: 1 | 3 | 5 | 7 | 14 | undefined;
231
260
  segment?: string[] | undefined;
232
261
  product?: string[] | undefined;
233
262
  channel?: string[] | undefined;
@@ -402,11 +431,31 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
402
431
  workspace_id?: string | undefined;
403
432
  }> | import("./definitions/shared.js").ToolDefinition<{
404
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;
405
449
  }> | import("./definitions/shared.js").ToolDefinition<{
406
450
  platform_id: string;
451
+ limit?: number | undefined;
452
+ cursor?: string | undefined;
453
+ query?: string | undefined;
407
454
  }> | import("./definitions/shared.js").ToolDefinition<{
408
455
  platform_id: string;
409
456
  agent_id: string;
457
+ }> | import("./definitions/shared.js").ToolDefinition<{
458
+ platform_id: string;
410
459
  }> | import("./definitions/shared.js").ToolDefinition<{
411
460
  platform_id: string;
412
461
  workspace_id?: string | undefined;
@@ -668,7 +717,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
668
717
  } | undefined;
669
718
  } | undefined;
670
719
  unavailable_message?: string | undefined;
671
- bot_waiting_return_hours?: 0 | 12 | 3 | 1 | -1 | 6 | 24 | undefined;
720
+ bot_waiting_return_hours?: 0 | 1 | 12 | 3 | -1 | 6 | 24 | undefined;
672
721
  follow_up_waiting_return_hours?: number | undefined;
673
722
  skip_task_creation_on_call_operator?: boolean | undefined;
674
723
  } | undefined;
@@ -782,6 +831,32 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
782
831
  } | null | undefined;
783
832
  reply_to_story_mentions?: boolean | undefined;
784
833
  } | undefined;
834
+ funnel_analytics?: {
835
+ decision_gate?: {
836
+ submitted: {
837
+ pipeline_crm_id: string;
838
+ pipeline_id: number;
839
+ status_id: number;
840
+ };
841
+ approved: {
842
+ pipeline_crm_id: string;
843
+ pipeline_id: number;
844
+ status_id: number;
845
+ };
846
+ rejected: {
847
+ pipeline_crm_id: string;
848
+ pipeline_id: number;
849
+ status_id: number;
850
+ };
851
+ } | null | undefined;
852
+ path_target_stage?: {
853
+ pipeline_crm_id: string;
854
+ pipeline_id: number;
855
+ status_id: number;
856
+ } | null | undefined;
857
+ engaged_inbound_count?: number | null | undefined;
858
+ stuck_threshold_hours?: number | null | undefined;
859
+ } | undefined;
785
860
  general_settings?: {
786
861
  name?: string | null | undefined;
787
862
  off_message?: string | null | undefined;
@@ -843,6 +918,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
843
918
  }[] | null | undefined;
844
919
  target_department_id?: number | null | undefined;
845
920
  delivery_check_enabled?: boolean | undefined;
921
+ guard_active_series?: "OFF" | "WARN" | "BLOCK" | null | undefined;
922
+ guard_active_application?: "OFF" | "WARN" | "BLOCK" | null | undefined;
923
+ guard_paid?: "OFF" | "WARN" | "BLOCK" | null | undefined;
924
+ quiet_days?: number | null | undefined;
846
925
  delivery_field_map?: Record<"Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX", string> | undefined;
847
926
  manual_mute_enabled?: boolean | undefined;
848
927
  manual_mute_field_id?: string | null | undefined;
@@ -914,6 +993,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
914
993
  replacement_text?: string | undefined;
915
994
  match_variants?: string[] | undefined;
916
995
  }[];
996
+ explicit_confirmation: true;
917
997
  all_or_nothing?: boolean | undefined;
918
998
  idempotency_key?: string | undefined;
919
999
  platform_id?: string | undefined;
@@ -930,6 +1010,27 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
930
1010
  google_sheets_url?: string | undefined;
931
1011
  sample_rows_per_sheet?: number | undefined;
932
1012
  max_cells_total?: number | undefined;
1013
+ }> | import("./definitions/shared.js").ToolDefinition<{
1014
+ workbook_id: string;
1015
+ workspace_id?: string | undefined;
1016
+ }> | import("./definitions/shared.js").ToolDefinition<{
1017
+ workbook_id: string;
1018
+ workspace_id?: string | undefined;
1019
+ sheet_title?: string | undefined;
1020
+ sheet_gid?: number | undefined;
1021
+ sheet_index?: number | undefined;
1022
+ row_offset?: number | undefined;
1023
+ row_limit?: number | undefined;
1024
+ column_offset?: number | undefined;
1025
+ column_limit?: number | undefined;
1026
+ }> | import("./definitions/shared.js").ToolDefinition<{
1027
+ workbook_id: string;
1028
+ classification: Record<string, unknown>[];
1029
+ workspace_id?: string | undefined;
1030
+ }> | import("./definitions/shared.js").ToolDefinition<{
1031
+ workbook_id: string;
1032
+ explicit_confirmation: true;
1033
+ workspace_id?: string | undefined;
933
1034
  }> | import("./definitions/shared.js").ToolDefinition<{
934
1035
  workbook_id: string;
935
1036
  workspace_id?: string | undefined;
@@ -1001,7 +1102,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1001
1102
  }> | import("./definitions/shared.js").ToolDefinition<{
1002
1103
  knowledge_space_id: string;
1003
1104
  document_id: string;
1004
- explicit_confirmation: boolean;
1105
+ explicit_confirmation: true;
1005
1106
  workspace_id?: string | undefined;
1006
1107
  }> | import("./definitions/shared.js").ToolDefinition<{
1007
1108
  knowledge_space_id: string;
@@ -1053,7 +1154,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1053
1154
  }> | import("./definitions/shared.js").ToolDefinition<{
1054
1155
  knowledge_space_id: string;
1055
1156
  qa_id: string;
1056
- explicit_confirmation: boolean;
1157
+ explicit_confirmation: true;
1057
1158
  workspace_id?: string | undefined;
1058
1159
  }> | import("./definitions/shared.js").ToolDefinition<{
1059
1160
  knowledge_space_id: string;
@@ -1065,7 +1166,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1065
1166
  source_space_id: string;
1066
1167
  qa_id: string;
1067
1168
  target_space_id: string;
1068
- explicit_confirmation: boolean;
1169
+ explicit_confirmation: true;
1069
1170
  workspace_id?: string | undefined;
1070
1171
  }> | import("./definitions/shared.js").ToolDefinition<{
1071
1172
  knowledge_space_id: string;
@@ -1085,7 +1186,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1085
1186
  }> | import("./definitions/shared.js").ToolDefinition<{
1086
1187
  knowledge_space_id: string;
1087
1188
  website_id: string;
1088
- explicit_confirmation: boolean;
1189
+ explicit_confirmation: true;
1089
1190
  workspace_id?: string | undefined;
1090
1191
  }> | import("./definitions/shared.js").ToolDefinition<{
1091
1192
  knowledge_space_id: string;
@@ -1136,10 +1237,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1136
1237
  }> | import("./definitions/shared.js").ToolDefinition<{
1137
1238
  knowledge_space_id: string;
1138
1239
  table_id: string;
1139
- explicit_confirmation: boolean;
1240
+ explicit_confirmation: true;
1140
1241
  workspace_id?: string | undefined;
1141
1242
  }> | import("./definitions/shared.js").ToolDefinition<{
1142
1243
  knowledge_space_id: string;
1244
+ explicit_confirmation: true;
1143
1245
  workspace_id?: string | undefined;
1144
1246
  types?: ("qa" | "doc")[] | undefined;
1145
1247
  }> | import("./definitions/shared.js").ToolDefinition<{
@@ -1147,6 +1249,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1147
1249
  workspace_id?: string | undefined;
1148
1250
  platform_id?: string | undefined;
1149
1251
  filter?: "all" | "variables" | "constants" | undefined;
1252
+ limit?: number | undefined;
1253
+ cursor?: string | undefined;
1150
1254
  }> | import("./definitions/shared.js").ToolDefinition<{
1151
1255
  scope: "WORKSPACE" | "CHANNEL";
1152
1256
  name: string;
@@ -1377,6 +1481,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1377
1481
  data_source_id: string;
1378
1482
  catalog_external_code: string;
1379
1483
  enabled: boolean;
1484
+ explicit_confirmation: true;
1380
1485
  workspace_id?: string | undefined;
1381
1486
  name?: string | undefined;
1382
1487
  }> | import("./definitions/shared.js").ToolDefinition<{
@@ -1417,7 +1522,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1417
1522
  date_to?: string | undefined;
1418
1523
  lead_status?: string[] | undefined;
1419
1524
  deactivate_reason?: string[] | undefined;
1420
- work_log_event?: ("FAILED" | "START" | "IN_PROCESS" | "FINISH_WIN" | "FINISH_LOST" | "OPERATOR_TAKEOVER" | "FINISH_AUTO")[] | undefined;
1525
+ work_log_event?: ("FAILED" | "OPERATOR_TAKEOVER" | "START" | "IN_PROCESS" | "FINISH_WIN" | "FINISH_LOST" | "FINISH_AUTO")[] | undefined;
1421
1526
  action_type?: string[] | undefined;
1422
1527
  action_success?: boolean | undefined;
1423
1528
  action_execution_mode?: "test" | "production" | undefined;
@@ -1434,7 +1539,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1434
1539
  }> | import("./definitions/shared.js").ToolDefinition<{
1435
1540
  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";
1436
1541
  mode: "all" | "days" | "range";
1437
- view: "cohort" | "period";
1542
+ view: "cohort" | "period" | "entry";
1438
1543
  date?: string | undefined;
1439
1544
  channel?: "UNKNOWN" | "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | undefined;
1440
1545
  import_job_id?: string | undefined;
@@ -1460,11 +1565,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1460
1565
  mechanism?: "wave" | "cold_welcome" | ("wave" | "cold_welcome")[] | undefined;
1461
1566
  product?: string | string[] | undefined;
1462
1567
  product_mode?: "none" | undefined;
1463
- freshness?: "0-7" | "8-14" | "15-30" | "31+" | ("0-7" | "8-14" | "15-30" | "31+")[] | undefined;
1568
+ freshness?: "0-7" | "8-14" | "15-30" | "31-45" | "46-60" | "61+" | ("0-7" | "8-14" | "15-30" | "31-45" | "46-60" | "61+")[] | undefined;
1464
1569
  channels?: "UNKNOWN" | "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | ("UNKNOWN" | "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1465
1570
  }> | import("./definitions/shared.js").ToolDefinition<{
1466
1571
  mode: "all" | "days" | "range";
1467
- view: "cohort" | "period";
1572
+ view: "cohort" | "period" | "entry";
1468
1573
  workspace_id?: string | undefined;
1469
1574
  days?: number | undefined;
1470
1575
  from?: string | undefined;
@@ -1477,11 +1582,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1477
1582
  mechanism?: "wave" | "cold_welcome" | ("wave" | "cold_welcome")[] | undefined;
1478
1583
  product?: string | string[] | undefined;
1479
1584
  product_mode?: "none" | undefined;
1480
- freshness?: "0-7" | "8-14" | "15-30" | "31+" | ("0-7" | "8-14" | "15-30" | "31+")[] | undefined;
1585
+ freshness?: "0-7" | "8-14" | "15-30" | "31-45" | "46-60" | "61+" | ("0-7" | "8-14" | "15-30" | "31-45" | "46-60" | "61+")[] | undefined;
1481
1586
  channels?: "UNKNOWN" | "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | ("UNKNOWN" | "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1482
1587
  }> | import("./definitions/shared.js").ToolDefinition<{
1483
1588
  workspace_id?: string | undefined;
1484
1589
  mailing_variant_id?: string | undefined;
1590
+ schedule_id?: string | undefined;
1485
1591
  limit?: number | undefined;
1486
1592
  }> | import("./definitions/shared.js").ToolDefinition<{
1487
1593
  workspace_id?: string | undefined;
@@ -1497,6 +1603,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1497
1603
  default_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1498
1604
  cold_welcome_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1499
1605
  cold_welcome_channels_mode?: "RESTRICT" | "ADD" | undefined;
1606
+ quiet_days_override?: number | null | undefined;
1500
1607
  default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
1501
1608
  workspace_id?: string | undefined;
1502
1609
  description?: string | undefined;
@@ -1513,6 +1620,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1513
1620
  default_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1514
1621
  cold_welcome_channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1515
1622
  cold_welcome_channels_mode?: "RESTRICT" | "ADD" | undefined;
1623
+ quiet_days_override?: number | null | undefined;
1516
1624
  default_deal_fields?: Record<string, string | number | boolean | null> | null | undefined;
1517
1625
  workspace_id?: string | undefined;
1518
1626
  name?: string | undefined;
@@ -1538,6 +1646,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1538
1646
  deal_id?: string | undefined;
1539
1647
  }[] | undefined;
1540
1648
  current_anchor_value?: string | undefined;
1649
+ }> | import("./definitions/shared.js").ToolDefinition<{
1650
+ correlation_id: string;
1651
+ workspace_id?: string | undefined;
1652
+ }> | import("./definitions/shared.js").ToolDefinition<{
1653
+ getcourse_user_id: number;
1654
+ workspace_id?: string | undefined;
1541
1655
  }> | import("./definitions/shared.js").ToolDefinition<{
1542
1656
  platform_id: string;
1543
1657
  workspace_id?: string | undefined;
@@ -1546,8 +1660,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1546
1660
  contact_id: string;
1547
1661
  deal_id?: string | undefined;
1548
1662
  segment_entered_at?: string | undefined;
1663
+ funnel?: string | undefined;
1549
1664
  }[] | undefined;
1550
1665
  mailing_variant_id?: string | undefined;
1666
+ segment?: string | undefined;
1667
+ message?: string | undefined;
1551
1668
  channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1552
1669
  channels_mode?: "RESTRICT" | "ADD" | undefined;
1553
1670
  }> | import("./definitions/shared.js").ToolDefinition<{
@@ -1559,6 +1676,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1559
1676
  contact_id: string;
1560
1677
  deal_id?: string | undefined;
1561
1678
  segment_entered_at?: string | undefined;
1679
+ funnel?: string | undefined;
1562
1680
  }[] | undefined;
1563
1681
  deal_fields?: Record<string, string | number | boolean | null> | undefined;
1564
1682
  message?: string | undefined;
@@ -1575,6 +1693,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1575
1693
  contact_id: string;
1576
1694
  deal_id?: string | undefined;
1577
1695
  segment_entered_at?: string | undefined;
1696
+ funnel?: string | undefined;
1578
1697
  }[];
1579
1698
  segment?: string | undefined;
1580
1699
  product_code?: string | undefined;
@@ -1589,6 +1708,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1589
1708
  mailing_variant_id?: string | undefined;
1590
1709
  channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1591
1710
  channels_mode?: "RESTRICT" | "ADD" | undefined;
1711
+ guards?: {
1712
+ active_series?: "OFF" | "WARN" | "BLOCK" | undefined;
1713
+ active_application?: "OFF" | "WARN" | "BLOCK" | undefined;
1714
+ paid?: "OFF" | "WARN" | "BLOCK" | undefined;
1715
+ } | undefined;
1592
1716
  }> | import("./definitions/shared.js").ToolDefinition<{
1593
1717
  batch_id: string;
1594
1718
  explicit_confirmation: true;
@@ -1623,8 +1747,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1623
1747
  }> | import("./definitions/shared.js").ToolDefinition<{
1624
1748
  run_id: string;
1625
1749
  agent_id?: string | undefined;
1626
- category?: string | undefined;
1627
- severity?: string | undefined;
1750
+ category?: "OTHER" | "HALLUCINATION" | "WRONG_ACTION" | "WRONG_ROUTING" | "BAD_TONE" | "MISSED_CONTEXT" | "RAG_MISS" | "SCRIPT_DEVIATION" | "PROMPT_VIOLATION" | "CUSTOM_RULE_CONFLICT" | undefined;
1751
+ severity?: "LOW" | "MEDIUM" | "CRITICAL" | undefined;
1628
1752
  status?: "NEW" | "LIKED" | "DISLIKED" | undefined;
1629
1753
  }> | import("./definitions/shared.js").ToolDefinition<{
1630
1754
  platform_id: string;
@@ -1715,6 +1839,12 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1715
1839
  daily_prompt?: string | null | undefined;
1716
1840
  hourly_prompt?: string | null | undefined;
1717
1841
  explicit_confirmation?: boolean | undefined;
1842
+ }> | import("./definitions/shared.js").ToolDefinition<{
1843
+ chat_user_id: string;
1844
+ }> | import("./definitions/shared.js").ToolDefinition<{
1845
+ chat_user_id: string;
1846
+ trigger_id: string;
1847
+ explicit_confirmation: true;
1718
1848
  }> | import("./definitions/shared.js").ToolDefinition<{
1719
1849
  segment_id: string;
1720
1850
  mailing_variant_id: string;
@@ -1728,7 +1858,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1728
1858
  workspace_id?: string | undefined;
1729
1859
  funnels?: string[] | "all" | undefined;
1730
1860
  product_codes?: string[] | "all" | undefined;
1861
+ window_mode?: "FIXED" | "ROLLING" | undefined;
1862
+ window_from_local?: string | undefined;
1863
+ window_to_local?: string | undefined;
1731
1864
  days_of_week?: number[] | undefined;
1865
+ days_of_month?: number[] | undefined;
1732
1866
  channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1733
1867
  channels_mode?: "RESTRICT" | "ADD" | undefined;
1734
1868
  is_enabled?: boolean | undefined;
@@ -1746,7 +1880,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1746
1880
  workspace_id?: string | undefined;
1747
1881
  funnels?: string[] | "all" | undefined;
1748
1882
  product_codes?: string[] | "all" | undefined;
1883
+ window_mode?: "FIXED" | "ROLLING" | undefined;
1884
+ window_from_local?: string | undefined;
1885
+ window_to_local?: string | undefined;
1749
1886
  days_of_week?: number[] | undefined;
1887
+ days_of_month?: number[] | undefined;
1750
1888
  channels?: ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX")[] | undefined;
1751
1889
  channels_mode?: "RESTRICT" | "ADD" | undefined;
1752
1890
  is_enabled?: boolean | undefined;
@@ -1758,6 +1896,11 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1758
1896
  schedule_id: string;
1759
1897
  workspace_id?: string | undefined;
1760
1898
  limit?: number | undefined;
1899
+ }> | import("./definitions/shared.js").ToolDefinition<{
1900
+ workspace_id?: string | undefined;
1901
+ from?: string | undefined;
1902
+ to?: string | undefined;
1903
+ limit?: number | undefined;
1761
1904
  }> | import("./definitions/shared.js").ToolDefinition<{
1762
1905
  segment_id: string;
1763
1906
  facets: {
@@ -1769,9 +1912,165 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1769
1912
  webinarDayMin?: number | undefined;
1770
1913
  webinarDayMax?: number | undefined;
1771
1914
  bannerClick?: "ANY" | "YES" | "NO" | undefined;
1915
+ prelist?: "ANY" | "YES" | "NO" | undefined;
1916
+ previousSegment?: {
1917
+ key: string;
1918
+ minDaysSince: number;
1919
+ } | undefined;
1920
+ untouchedOnly?: boolean | undefined;
1772
1921
  };
1773
- freshness_anchor: "SERIES_END" | "SERIES_END_PLUS_WAIT" | "LAST_APPLICATION" | "REGISTRATION";
1922
+ freshness_anchor: "REGISTRATION" | "SERIES_END" | "SERIES_END_PLUS_WAIT" | "LAST_APPLICATION" | "PRELIST";
1774
1923
  workspace_id?: string | undefined;
1775
1924
  wait_after_series_end_hours?: number | undefined;
1776
1925
  priority?: number | undefined;
1926
+ }> | import("./definitions/shared.js").ToolDefinition<{
1927
+ query: string;
1928
+ limit?: number | undefined;
1929
+ }> | import("./definitions/shared.js").ToolDefinition<{
1930
+ uri: string;
1931
+ section?: string | undefined;
1932
+ full?: boolean | undefined;
1933
+ }> | import("./definitions/shared.js").ToolDefinition<{
1934
+ workspace_id?: string | undefined;
1935
+ limit?: number | undefined;
1936
+ cursor?: string | undefined;
1937
+ search?: string | undefined;
1938
+ external_id?: string | undefined;
1939
+ phone?: string | undefined;
1940
+ email?: string | undefined;
1941
+ channel_id?: string | undefined;
1942
+ }> | import("./definitions/shared.js").ToolDefinition<{
1943
+ contact_id: string;
1944
+ }> | import("./definitions/shared.js").ToolDefinition<{
1945
+ contact_id: string;
1946
+ message_id?: string | undefined;
1947
+ }> | import("./definitions/shared.js").ToolDefinition<{
1948
+ goal: string;
1949
+ constraints: string[];
1950
+ object_refs: {
1951
+ type: string;
1952
+ id: string;
1953
+ label?: string | undefined;
1954
+ }[];
1955
+ checkpoints: {
1956
+ key: string;
1957
+ label: string;
1958
+ status: "PENDING" | "COMPLETED" | "BLOCKED";
1959
+ evidence?: string | undefined;
1960
+ }[];
1961
+ pending_operations: {
1962
+ operation: string;
1963
+ status: "AWAITING_USER" | "PLANNED" | "OUTCOME_UNKNOWN";
1964
+ object_ref?: {
1965
+ type: string;
1966
+ id: string;
1967
+ label?: string | undefined;
1968
+ } | undefined;
1969
+ idempotency_key?: string | undefined;
1970
+ verify_with?: string | undefined;
1971
+ }[];
1972
+ retention_days?: number | undefined;
1973
+ context?: string | undefined;
1974
+ expected_user_action?: string | null | undefined;
1975
+ workspace_id?: string | undefined;
1976
+ }> | import("./definitions/shared.js").ToolDefinition<{
1977
+ workspace_id?: string | undefined;
1978
+ status?: "COMPLETED" | "EXPIRED" | "CANCELLED" | "ACTIVE" | undefined;
1979
+ }> | import("./definitions/shared.js").ToolDefinition<{
1980
+ task_id: string;
1981
+ workspace_id?: string | undefined;
1982
+ }> | import("./definitions/shared.js").ToolDefinition<{
1983
+ task_id: string;
1984
+ expected_version: number;
1985
+ goal?: string | undefined;
1986
+ context?: string | undefined;
1987
+ constraints?: string[] | undefined;
1988
+ object_refs?: {
1989
+ type: string;
1990
+ id: string;
1991
+ label?: string | undefined;
1992
+ }[] | undefined;
1993
+ checkpoints?: {
1994
+ key: string;
1995
+ label: string;
1996
+ status: "PENDING" | "COMPLETED" | "BLOCKED";
1997
+ evidence?: string | undefined;
1998
+ }[] | undefined;
1999
+ pending_operations?: {
2000
+ operation: string;
2001
+ status: "AWAITING_USER" | "PLANNED" | "OUTCOME_UNKNOWN";
2002
+ object_ref?: {
2003
+ type: string;
2004
+ id: string;
2005
+ label?: string | undefined;
2006
+ } | undefined;
2007
+ idempotency_key?: string | undefined;
2008
+ verify_with?: string | undefined;
2009
+ }[] | undefined;
2010
+ expected_user_action?: string | null | undefined;
2011
+ workspace_id?: string | undefined;
2012
+ }> | import("./definitions/shared.js").ToolDefinition<{
2013
+ task_id: string;
2014
+ expected_version: number;
2015
+ outcome: "COMPLETED" | "CANCELLED";
2016
+ workspace_id?: string | undefined;
2017
+ }> | import("./definitions/shared.js").ToolDefinition<{
2018
+ task_id: string;
2019
+ expected_version: number;
2020
+ explicit_confirmation: true;
2021
+ workspace_id?: string | undefined;
2022
+ }> | import("./definitions/shared.js").ToolDefinition<{
2023
+ report: "summary" | "topics" | "speed" | "money" | "cycle" | "quality";
2024
+ mode: "all" | "days" | "range";
2025
+ workspace_id?: string | undefined;
2026
+ platform_id?: string | undefined;
2027
+ channels?: string[] | undefined;
2028
+ days?: number | undefined;
2029
+ from?: string | undefined;
2030
+ to?: string | undefined;
2031
+ }> | import("./definitions/shared.js").ToolDefinition<{
2032
+ report: "summary" | "meta" | "cohorts";
2033
+ platform_id: string;
2034
+ workspace_id?: string | undefined;
2035
+ from?: string | undefined;
2036
+ to?: string | undefined;
2037
+ view?: "cohort" | "period" | undefined;
2038
+ manager_id?: number | undefined;
2039
+ }> | import("./definitions/shared.js").ToolDefinition<{
2040
+ report: "summary" | "tasks" | "breakdown";
2041
+ mode: "all" | "days" | "range";
2042
+ scope: "production" | "with_tests";
2043
+ workspace_id?: string | undefined;
2044
+ days?: number | undefined;
2045
+ from?: string | undefined;
2046
+ to?: string | undefined;
2047
+ group_by?: "provider" | "customer" | "platform" | "tag" | "operation" | undefined;
2048
+ page?: number | undefined;
2049
+ limit?: number | undefined;
2050
+ }> | import("./definitions/shared.js").ToolDefinition<{
2051
+ report_id: string;
2052
+ workspace_id?: string | undefined;
2053
+ }> | import("./definitions/shared.js").ToolDefinition<{
2054
+ report_id: string;
2055
+ from: string;
2056
+ to: string;
2057
+ workspace_id?: string | undefined;
2058
+ granularity?: "day" | "week" | "month" | "total" | undefined;
2059
+ }> | import("./definitions/shared.js").ToolDefinition<{
2060
+ page: number;
2061
+ limit: number;
2062
+ workspace_id?: string | undefined;
2063
+ status?: "IN_PROGRESS" | "WAITING_OPERATOR" | "WAITING_CUSTOMER" | "RESOLVED" | undefined;
2064
+ workspace_operator_id?: string | undefined;
2065
+ contact_id?: string | undefined;
2066
+ }> | import("./definitions/shared.js").ToolDefinition<{
2067
+ contact_id: string;
2068
+ workspace_id?: string | undefined;
2069
+ }> | import("./definitions/shared.js").ToolDefinition<{
2070
+ contact_id: string;
2071
+ workspace_operator_id: string | null;
2072
+ expected_workspace_operator_id: string | null;
2073
+ expected_assigned_operator_at: string | null;
2074
+ explicit_confirmation: true;
2075
+ workspace_id?: string | undefined;
1777
2076
  }>)[];