@besales/mcp 0.33.0 → 0.37.1

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 (50) hide show
  1. package/README.md +45 -12
  2. package/dist/http/api-client.d.ts +2 -0
  3. package/dist/http/api-client.js +55 -0
  4. package/dist/http/api-client.js.map +1 -1
  5. package/dist/resources/docs/agent-behavior.md +7 -5
  6. package/dist/resources/docs/prompt-anatomy.md +4 -4
  7. package/dist/resources/docs/prompt-principles.md +22 -3
  8. package/dist/schemas/mcp-tools.json +1369 -98
  9. package/dist/skills/besales-dialogue-audit/SKILL.md +6 -0
  10. package/dist/tools/definitions/broadcast-analytics.d.ts +28 -7
  11. package/dist/tools/definitions/broadcast-analytics.js +399 -33
  12. package/dist/tools/definitions/broadcast-analytics.js.map +1 -1
  13. package/dist/tools/definitions/broadcast-mailing-variants.d.ts +19 -0
  14. package/dist/tools/definitions/broadcast-mailing-variants.js +107 -0
  15. package/dist/tools/definitions/broadcast-mailing-variants.js.map +1 -0
  16. package/dist/tools/definitions/dialogue-audit.d.ts +23 -0
  17. package/dist/tools/definitions/dialogue-audit.js +155 -0
  18. package/dist/tools/definitions/dialogue-audit.js.map +1 -0
  19. package/dist/tools/definitions/follow-up-setup.d.ts +27 -0
  20. package/dist/tools/definitions/follow-up-setup.js +76 -0
  21. package/dist/tools/definitions/follow-up-setup.js.map +1 -0
  22. package/dist/tools/definitions/follow-up.d.ts +19 -0
  23. package/dist/tools/definitions/follow-up.js +81 -3
  24. package/dist/tools/definitions/follow-up.js.map +1 -1
  25. package/dist/tools/definitions/getcourse-wave.d.ts +147 -0
  26. package/dist/tools/definitions/getcourse-wave.js +505 -0
  27. package/dist/tools/definitions/getcourse-wave.js.map +1 -0
  28. package/dist/tools/definitions/platform-setup.d.ts +92 -20
  29. package/dist/tools/definitions/platform-setup.js +132 -537
  30. package/dist/tools/definitions/platform-setup.js.map +1 -1
  31. package/dist/tools/definitions/scheduled-tasks.d.ts +9 -0
  32. package/dist/tools/definitions/scheduled-tasks.js +49 -2
  33. package/dist/tools/definitions/scheduled-tasks.js.map +1 -1
  34. package/dist/tools/definitions/session.js +6 -4
  35. package/dist/tools/definitions/session.js.map +1 -1
  36. package/dist/tools/definitions/shared.d.ts +75 -13
  37. package/dist/tools/definitions/shared.js +120 -7
  38. package/dist/tools/definitions/shared.js.map +1 -1
  39. package/dist/tools/definitions.d.ts +171 -26
  40. package/dist/tools/definitions.js +4 -0
  41. package/dist/tools/definitions.js.map +1 -1
  42. package/dist/tools/registry-mapping-cases-core.d.ts +38 -0
  43. package/dist/tools/registry-mapping-cases-core.js +700 -0
  44. package/dist/tools/registry-mapping-cases-core.js.map +1 -0
  45. package/dist/tools/registry-mapping-cases-platform.d.ts +2 -0
  46. package/dist/tools/registry-mapping-cases-platform.js +954 -0
  47. package/dist/tools/registry-mapping-cases-platform.js.map +1 -0
  48. package/dist/tools/registry.js +12 -6
  49. package/dist/tools/registry.js.map +1 -1
  50. package/package.json +2 -2
@@ -222,12 +222,31 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
222
222
  from?: string | undefined;
223
223
  to?: string | undefined;
224
224
  }> | import("./definitions/shared.js").ToolDefinition<{
225
- workspace_id?: string | undefined;
225
+ platform_id: string;
226
+ from: string;
227
+ to: string;
228
+ sequence_id?: string[] | undefined;
229
+ horizon_minutes?: 60 | 30 | 180 | 90 | 360 | 720 | 1440 | undefined;
230
+ segment?: string[] | undefined;
231
+ product?: string[] | undefined;
232
+ channel?: string[] | undefined;
226
233
  }> | import("./definitions/shared.js").ToolDefinition<{
227
234
  platform_id: string;
235
+ name: string;
236
+ type: "MEETING_REMINDER" | "INACTIVE_USER_REACTIVATION" | "LOST_CLIENTS";
237
+ trigger: "LOST_CLIENTS" | "USER_INACTIVITY" | "DEAL_CLOSED" | "BIRTHDAY_DATE" | "MEETING_TIME" | "CUSTOM_SCHEDULE";
238
+ config: {
239
+ [x: string]: unknown;
240
+ };
241
+ explicit_confirmation?: boolean | undefined;
242
+ confirmation_reason?: string | undefined;
243
+ sequence_id?: string | undefined;
244
+ description?: string | null | undefined;
245
+ enabled?: boolean | undefined;
228
246
  }> | import("./definitions/shared.js").ToolDefinition<{
229
247
  platform_id: string;
230
- agent_id: string;
248
+ sequence_id: string;
249
+ name?: string | undefined;
231
250
  }> | import("./definitions/shared.js").ToolDefinition<{
232
251
  platform_id: string;
233
252
  crm_id: string;
@@ -237,6 +256,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
237
256
  deal_id?: string | undefined;
238
257
  transport?: string | undefined;
239
258
  dialog_id?: string | undefined;
259
+ email?: string | undefined;
260
+ phone?: string | undefined;
261
+ first_name?: string | undefined;
262
+ last_name?: string | undefined;
240
263
  lead_last_active_at?: string | undefined;
241
264
  segment_entered_at?: string | undefined;
242
265
  }[];
@@ -244,7 +267,9 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
244
267
  launch_type?: "status" | "board" | "group" | undefined;
245
268
  funnel?: string | undefined;
246
269
  segment?: string | undefined;
270
+ segment_description?: string | undefined;
247
271
  cohort_label?: string | undefined;
272
+ mailing_variant_id?: string | undefined;
248
273
  message_variant?: string | undefined;
249
274
  found_count?: number | undefined;
250
275
  product_code?: string | undefined;
@@ -276,14 +301,22 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
276
301
  deal_id?: string | undefined;
277
302
  transport?: string | undefined;
278
303
  dialog_id?: string | undefined;
304
+ email?: string | undefined;
305
+ phone?: string | undefined;
306
+ first_name?: string | undefined;
307
+ last_name?: string | undefined;
279
308
  lead_last_active_at?: string | undefined;
280
309
  segment_entered_at?: string | undefined;
281
310
  }[];
282
311
  workspace_id?: string | undefined;
312
+ launch_key?: string | undefined;
313
+ dry_run_hash?: string | undefined;
283
314
  launch_type?: "status" | undefined;
284
315
  funnel?: string | undefined;
285
316
  segment?: string | undefined;
317
+ segment_description?: string | undefined;
286
318
  cohort_label?: string | undefined;
319
+ mailing_variant_id?: string | undefined;
287
320
  message_variant?: string | undefined;
288
321
  found_count?: number | undefined;
289
322
  product_code?: string | undefined;
@@ -317,20 +350,26 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
317
350
  platform_id: string;
318
351
  crm_id: string;
319
352
  segments: {
320
- mode: "status";
321
353
  contacts: {
322
354
  contact_id: string;
323
355
  deal_id?: string | undefined;
324
356
  transport?: string | undefined;
325
357
  dialog_id?: string | undefined;
358
+ email?: string | undefined;
359
+ phone?: string | undefined;
360
+ first_name?: string | undefined;
361
+ last_name?: string | undefined;
326
362
  lead_last_active_at?: string | undefined;
327
363
  segment_entered_at?: string | undefined;
328
364
  }[];
329
365
  channels: string[];
330
366
  deal_fields: Record<string, string | number | boolean | null>;
367
+ launch_type?: "status" | undefined;
331
368
  funnel?: string | undefined;
332
369
  segment?: string | undefined;
370
+ segment_description?: string | undefined;
333
371
  cohort_label?: string | undefined;
372
+ mailing_variant_id?: string | undefined;
334
373
  message_variant?: string | undefined;
335
374
  found_count?: number | undefined;
336
375
  product_code?: string | undefined;
@@ -354,6 +393,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
354
393
  }> | import("./definitions/shared.js").ToolDefinition<{
355
394
  batch_id: string;
356
395
  workspace_id?: string | undefined;
396
+ }> | import("./definitions/shared.js").ToolDefinition<{
397
+ workspace_id?: string | undefined;
398
+ }> | import("./definitions/shared.js").ToolDefinition<{
399
+ platform_id: string;
400
+ }> | import("./definitions/shared.js").ToolDefinition<{
401
+ platform_id: string;
402
+ agent_id: string;
357
403
  }> | import("./definitions/shared.js").ToolDefinition<{
358
404
  platform_id: string;
359
405
  workspace_id?: string | undefined;
@@ -489,7 +535,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
489
535
  }[] | undefined;
490
536
  conditions?: {
491
537
  custom_variable_id: string;
492
- variable_value: string;
538
+ variable_values?: string[] | undefined;
539
+ variable_value?: string | undefined;
493
540
  }[] | undefined;
494
541
  condition_logic?: "ALL" | "ANY" | undefined;
495
542
  }> | import("./definitions/shared.js").ToolDefinition<{
@@ -503,6 +550,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
503
550
  is_enabled?: boolean | undefined;
504
551
  priority?: number | undefined;
505
552
  stop_propagation?: boolean | undefined;
553
+ allow_repeated_calls?: boolean | undefined;
554
+ run_once_per_contact?: boolean | undefined;
506
555
  scope?: "ON_USER_MESSAGE" | undefined;
507
556
  metadata?: {
508
557
  [x: string]: unknown;
@@ -547,7 +596,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
547
596
  operator_comment?: string | undefined;
548
597
  } | undefined;
549
598
  audio?: {
550
- behavior: "SILENT" | "PROCESS_WITH_LLM" | "FIXED_RESPONSE";
599
+ behavior: "SILENT" | "FIXED_RESPONSE";
551
600
  fixed_response_text?: string | undefined;
552
601
  call_operator?: boolean | undefined;
553
602
  operator_comment?: string | undefined;
@@ -612,7 +661,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
612
661
  } | undefined;
613
662
  } | undefined;
614
663
  unavailable_message?: string | undefined;
615
- bot_waiting_return_hours?: 0 | 12 | 3 | 1 | 6 | 24 | undefined;
664
+ bot_waiting_return_hours?: 0 | 12 | 3 | 1 | 6 | -1 | 24 | undefined;
616
665
  follow_up_waiting_return_hours?: number | undefined;
617
666
  skip_task_creation_on_call_operator?: boolean | undefined;
618
667
  } | undefined;
@@ -640,19 +689,6 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
640
689
  contact_name_personalization_mode?: "OFF" | "SHADOW" | "ENABLED" | undefined;
641
690
  anonymization_disabled_types?: ("PHONE" | "EMAIL" | "INN" | "PASSPORT" | "CARD" | "DATE_OF_BIRTH" | "ACCOUNT" | "SNILS" | "OGRN" | "OGRNIP" | "SOCIAL_ID")[] | undefined;
642
691
  } | undefined;
643
- }> | import("./definitions/shared.js").ToolDefinition<{
644
- platform_id: string;
645
- name: string;
646
- type: "MEETING_REMINDER" | "INACTIVE_USER_REACTIVATION" | "LOST_CLIENTS";
647
- trigger: "LOST_CLIENTS" | "USER_INACTIVITY" | "DEAL_CLOSED" | "BIRTHDAY_DATE" | "MEETING_TIME" | "CUSTOM_SCHEDULE";
648
- config: {
649
- [x: string]: unknown;
650
- };
651
- explicit_confirmation?: boolean | undefined;
652
- confirmation_reason?: string | undefined;
653
- sequence_id?: string | undefined;
654
- description?: string | null | undefined;
655
- enabled?: boolean | undefined;
656
692
  }> | import("./definitions/shared.js").ToolDefinition<{
657
693
  platform_id: string;
658
694
  explicit_confirmation?: boolean | undefined;
@@ -771,6 +807,29 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
771
807
  }[] | null | undefined;
772
808
  template_user_id?: number | null | undefined;
773
809
  template_deal_id?: number | null | undefined;
810
+ wave_field_bindings?: {
811
+ product_value_source: "CODE" | "NAME";
812
+ launch_type?: {
813
+ field_id: number;
814
+ field_label: string;
815
+ } | undefined;
816
+ product?: {
817
+ field_id: number;
818
+ field_label: string;
819
+ } | undefined;
820
+ segment?: {
821
+ field_id: number;
822
+ field_label: string;
823
+ } | undefined;
824
+ funnel?: {
825
+ field_id: number;
826
+ field_label: string;
827
+ } | undefined;
828
+ channels?: {
829
+ field_id: number;
830
+ field_label: string;
831
+ } | undefined;
832
+ } | null | undefined;
774
833
  field_variable_map?: {
775
834
  getcourse_field_name: string;
776
835
  variable_name: string;
@@ -819,6 +878,13 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
819
878
  }> | import("./definitions/shared.js").ToolDefinition<{
820
879
  agent_id: string;
821
880
  draft_id: string;
881
+ }> | import("./definitions/shared.js").ToolDefinition<{
882
+ agent_id: string;
883
+ draft_id?: string | undefined;
884
+ }> | import("./definitions/shared.js").ToolDefinition<{
885
+ agent_id: string;
886
+ compare_agent_id: string;
887
+ max_lines?: number | undefined;
822
888
  }> | import("./definitions/shared.js").ToolDefinition<{
823
889
  agent_id: string;
824
890
  draft_id: string;
@@ -830,6 +896,19 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
830
896
  replacement_text?: string | undefined;
831
897
  match_variants?: string[] | undefined;
832
898
  }[];
899
+ }> | import("./definitions/shared.js").ToolDefinition<{
900
+ agent_ids: string[];
901
+ operations: {
902
+ type: "replace_text" | "replace_all_text" | "insert_after_text" | "insert_before_text" | "remove_text" | "move_text_after_text";
903
+ id?: string | undefined;
904
+ target_text?: string | undefined;
905
+ anchor_text?: string | undefined;
906
+ replacement_text?: string | undefined;
907
+ match_variants?: string[] | undefined;
908
+ }[];
909
+ all_or_nothing?: boolean | undefined;
910
+ idempotency_key?: string | undefined;
911
+ platform_id?: string | undefined;
833
912
  }> | import("./definitions/shared.js").ToolDefinition<{
834
913
  prompt_text: string;
835
914
  workspace_id?: string | undefined;
@@ -1345,30 +1424,87 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1345
1424
  limit?: number | undefined;
1346
1425
  cursor?: string | undefined;
1347
1426
  }> | import("./definitions/shared.js").ToolDefinition<{
1348
- view: "cohort" | "period";
1427
+ 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";
1349
1428
  mode: "all" | "days" | "range";
1429
+ view: "cohort" | "period";
1430
+ date?: string | undefined;
1431
+ channel?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | undefined;
1432
+ import_job_id?: string | undefined;
1433
+ page?: number | undefined;
1434
+ page_size?: number | undefined;
1435
+ recipient_metric?: "sent" | "delivered" | "entered" | "deepDialog" | "handedOff" | "notDelivered" | "notSent" | undefined;
1436
+ deal_metric?: "issued" | "paid" | "withoutCohort" | undefined;
1437
+ 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;
1438
+ action_type?: string | undefined;
1439
+ payment_view?: "decidable" | "excluded" | "resolved" | undefined;
1440
+ payment_status?: "PENDING" | "CONFIRMED" | "CONFIRMED_INDIRECT" | "REJECTED" | undefined;
1441
+ payment_eligibility?: "PENDING_CHECK" | "VERIFIED" | "VERIFIED_WEAK" | "UNVERIFIED" | "EXCLUDED_NON_AUTOWEB" | "EXCLUDED_PREEXISTING" | undefined;
1442
+ include_archived?: boolean | undefined;
1350
1443
  workspace_id?: string | undefined;
1351
1444
  days?: number | undefined;
1352
1445
  from?: string | undefined;
1353
1446
  to?: string | undefined;
1354
1447
  platform_id?: string | undefined;
1355
- funnel?: string | undefined;
1448
+ funnel?: string | string[] | undefined;
1356
1449
  funnel_mode?: "none" | undefined;
1357
- segment?: string | undefined;
1358
- product?: string | undefined;
1450
+ segment?: string | string[] | undefined;
1451
+ mailing_variant_id?: string | string[] | undefined;
1452
+ product?: string | string[] | undefined;
1359
1453
  product_mode?: "none" | undefined;
1454
+ freshness?: "0-7" | "8-14" | "15-30" | "31+" | ("0-7" | "8-14" | "15-30" | "31+")[] | undefined;
1455
+ channels?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN")[] | undefined;
1360
1456
  }> | import("./definitions/shared.js").ToolDefinition<{
1361
1457
  mode: "all" | "days" | "range";
1458
+ view: "cohort" | "period";
1362
1459
  workspace_id?: string | undefined;
1363
1460
  days?: number | undefined;
1364
1461
  from?: string | undefined;
1365
1462
  to?: string | undefined;
1366
1463
  platform_id?: string | undefined;
1367
- funnel?: string | undefined;
1464
+ funnel?: string | string[] | undefined;
1368
1465
  funnel_mode?: "none" | undefined;
1369
- segment?: string | undefined;
1370
- product?: string | undefined;
1466
+ segment?: string | string[] | undefined;
1467
+ mailing_variant_id?: string | string[] | undefined;
1468
+ product?: string | string[] | undefined;
1371
1469
  product_mode?: "none" | undefined;
1470
+ freshness?: "0-7" | "8-14" | "15-30" | "31+" | ("0-7" | "8-14" | "15-30" | "31+")[] | undefined;
1471
+ channels?: "Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN" | ("Site" | "Email" | "SMS" | "Telegram" | "Facebook" | "VK" | "Chatium" | "WhatsApp" | "Viber" | "MAX" | "UNKNOWN")[] | undefined;
1472
+ }> | import("./definitions/shared.js").ToolDefinition<{
1473
+ workspace_id?: string | undefined;
1474
+ include_archived?: boolean | undefined;
1475
+ }> | import("./definitions/shared.js").ToolDefinition<{
1476
+ name: string;
1477
+ workspace_id?: string | undefined;
1478
+ description?: string | undefined;
1479
+ }> | import("./definitions/shared.js").ToolDefinition<{
1480
+ mailing_variant_id: string;
1481
+ workspace_id?: string | undefined;
1482
+ name?: string | undefined;
1483
+ description?: string | null | undefined;
1484
+ archived?: boolean | undefined;
1485
+ explicit_confirmation?: true | undefined;
1486
+ }> | import("./definitions/shared.js").ToolDefinition<{
1487
+ mailing_variant_id: string;
1488
+ explicit_confirmation: true;
1489
+ workspace_id?: string | undefined;
1490
+ }> | import("./definitions/shared.js").ToolDefinition<{
1491
+ platform_id: string;
1492
+ cursor?: string | undefined;
1493
+ limit?: number | undefined;
1494
+ }> | import("./definitions/shared.js").ToolDefinition<{
1495
+ run_id: string;
1496
+ agent_id?: string | undefined;
1497
+ category?: string | undefined;
1498
+ severity?: string | undefined;
1499
+ status?: "NEW" | "LIKED" | "DISLIKED" | undefined;
1500
+ }> | import("./definitions/shared.js").ToolDefinition<{
1501
+ platform_id: string;
1502
+ period_from?: string | undefined;
1503
+ period_to?: string | undefined;
1504
+ explicit_confirmation?: boolean | undefined;
1505
+ }> | import("./definitions/shared.js").ToolDefinition<{
1506
+ run_id: string;
1507
+ explicit_confirmation?: boolean | undefined;
1372
1508
  }> | import("./definitions/shared.js").ToolDefinition<{
1373
1509
  platform_id: string;
1374
1510
  type: "DIALOGUE_ANALYSIS";
@@ -1377,6 +1513,8 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1377
1513
  enabled: boolean;
1378
1514
  summary_time?: string | undefined;
1379
1515
  output?: "note" | "hidden" | undefined;
1516
+ model?: string | undefined;
1517
+ max_tokens?: number | undefined;
1380
1518
  } | undefined;
1381
1519
  hourly?: {
1382
1520
  enabled: boolean;
@@ -1384,9 +1522,16 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
1384
1522
  window_end?: string | undefined;
1385
1523
  min_new_events?: number | undefined;
1386
1524
  output?: "note" | "hidden" | undefined;
1525
+ model?: string | undefined;
1526
+ max_tokens?: number | undefined;
1387
1527
  } | undefined;
1388
1528
  funnels?: string[] | undefined;
1389
1529
  managers?: number[] | undefined;
1530
+ stages?: {
1531
+ pipeline_crm_id: string;
1532
+ pipeline_id: number;
1533
+ status_id: number;
1534
+ }[] | null | undefined;
1390
1535
  daily_prompt?: string | null | undefined;
1391
1536
  hourly_prompt?: string | null | undefined;
1392
1537
  explicit_confirmation?: boolean | undefined;
@@ -8,7 +8,9 @@ import { modelComparisonTools } from './definitions/model-comparison.js';
8
8
  import { externalApiChannelTools } from './definitions/external-api-channels.js';
9
9
  import { dialogueExportTools } from './definitions/dialogue-export.js';
10
10
  import { broadcastAnalyticsTools } from './definitions/broadcast-analytics.js';
11
+ import { broadcastMailingVariantTools } from './definitions/broadcast-mailing-variants.js';
11
12
  import { followUpTools } from './definitions/follow-up.js';
13
+ import { dialogueAuditTools } from './definitions/dialogue-audit.js';
12
14
  import { scheduledTaskTools } from './definitions/scheduled-tasks.js';
13
15
  export const toolDefinitions = [
14
16
  ...agentDesignTools,
@@ -23,5 +25,7 @@ export const toolDefinitions = [
23
25
  ...broadcastAnalyticsTools,
24
26
  ...followUpTools,
25
27
  ...scheduledTaskTools,
28
+ ...broadcastMailingVariantTools,
29
+ ...dialogueAuditTools,
26
30
  ];
27
31
  //# sourceMappingURL=definitions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/tools/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,GAAG,gBAAgB;IACnB,GAAG,kBAAkB;IACrB,GAAG,cAAc;IACjB,GAAG,gBAAgB;IACnB,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,oBAAoB;IACvB,GAAG,uBAAuB;IAC1B,GAAG,mBAAmB;IACtB,GAAG,uBAAuB;IAC1B,GAAG,aAAa;IAChB,GAAG,kBAAkB;CACtB,CAAC"}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/tools/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,GAAG,gBAAgB;IACnB,GAAG,kBAAkB;IACrB,GAAG,cAAc;IACjB,GAAG,gBAAgB;IACnB,GAAG,eAAe;IAClB,GAAG,YAAY;IACf,GAAG,oBAAoB;IACvB,GAAG,uBAAuB;IAC1B,GAAG,mBAAmB;IACtB,GAAG,uBAAuB;IAC1B,GAAG,aAAa;IAChB,GAAG,kBAAkB;IACrB,GAAG,4BAA4B;IAC/B,GAAG,kBAAkB;CACtB,CAAC"}
@@ -0,0 +1,38 @@
1
+ export interface MappingCase {
2
+ readonly name: string;
3
+ readonly input: Record<string, unknown>;
4
+ readonly method?: string;
5
+ readonly path: string;
6
+ readonly body?: unknown;
7
+ }
8
+ export interface RegistryMappingIds {
9
+ readonly workspaceId: string;
10
+ readonly agentId: string;
11
+ readonly operationId: string;
12
+ readonly icpId: string;
13
+ readonly crmConnectionId: string;
14
+ readonly versionId: string;
15
+ readonly runId: string;
16
+ readonly scenarioId: string;
17
+ readonly simulationId: string;
18
+ readonly dialogueId: string;
19
+ readonly knowledgeSpaceId: string;
20
+ readonly segmentId: string;
21
+ readonly platformId: string;
22
+ readonly toolId: string;
23
+ readonly routingRuleId: string;
24
+ readonly triggerId: string;
25
+ readonly sequenceId: string;
26
+ readonly auditLogId: string;
27
+ readonly qaId: string;
28
+ readonly targetSpaceId: string;
29
+ readonly websiteId: string;
30
+ readonly sampleId: string;
31
+ readonly draftId: string;
32
+ readonly compareAgentId: string;
33
+ /** Переменная условия роутинга (напр. AI_TOPIC) */
34
+ readonly customVariableId: string;
35
+ /** Вторая переменная условия — для мультизначного набора (напр. WAVE_SEGMENT) */
36
+ readonly waveSegmentVariableId: string;
37
+ }
38
+ export declare function createCoreMappingCases(ids: RegistryMappingIds): MappingCase[];