@besales/mcp 0.33.0 → 0.37.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 (37) 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/schemas/mcp-tools.json +965 -30
  6. package/dist/tools/definitions/broadcast-analytics.d.ts +28 -7
  7. package/dist/tools/definitions/broadcast-analytics.js +399 -33
  8. package/dist/tools/definitions/broadcast-analytics.js.map +1 -1
  9. package/dist/tools/definitions/broadcast-mailing-variants.d.ts +19 -0
  10. package/dist/tools/definitions/broadcast-mailing-variants.js +107 -0
  11. package/dist/tools/definitions/broadcast-mailing-variants.js.map +1 -0
  12. package/dist/tools/definitions/getcourse-wave.d.ts +147 -0
  13. package/dist/tools/definitions/getcourse-wave.js +505 -0
  14. package/dist/tools/definitions/getcourse-wave.js.map +1 -0
  15. package/dist/tools/definitions/platform-setup.d.ts +73 -8
  16. package/dist/tools/definitions/platform-setup.js +106 -504
  17. package/dist/tools/definitions/platform-setup.js.map +1 -1
  18. package/dist/tools/definitions/scheduled-tasks.d.ts +4 -0
  19. package/dist/tools/definitions/scheduled-tasks.js +14 -2
  20. package/dist/tools/definitions/scheduled-tasks.js.map +1 -1
  21. package/dist/tools/definitions/session.js +6 -4
  22. package/dist/tools/definitions/session.js.map +1 -1
  23. package/dist/tools/definitions/shared.d.ts +53 -0
  24. package/dist/tools/definitions/shared.js +71 -0
  25. package/dist/tools/definitions/shared.js.map +1 -1
  26. package/dist/tools/definitions.d.ts +121 -15
  27. package/dist/tools/definitions.js +2 -0
  28. package/dist/tools/definitions.js.map +1 -1
  29. package/dist/tools/registry-mapping-cases-core.d.ts +34 -0
  30. package/dist/tools/registry-mapping-cases-core.js +700 -0
  31. package/dist/tools/registry-mapping-cases-core.js.map +1 -0
  32. package/dist/tools/registry-mapping-cases-platform.d.ts +2 -0
  33. package/dist/tools/registry-mapping-cases-platform.js +910 -0
  34. package/dist/tools/registry-mapping-cases-platform.js.map +1 -0
  35. package/dist/tools/registry.js +12 -6
  36. package/dist/tools/registry.js.map +1 -1
  37. package/package.json +1 -1
@@ -1,11 +1,4 @@
1
1
  export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
2
- workspace_id?: string | undefined;
3
- }> | import("./shared.js").ToolDefinition<{
4
- platform_id: string;
5
- }> | import("./shared.js").ToolDefinition<{
6
- platform_id: string;
7
- agent_id: string;
8
- }> | import("./shared.js").ToolDefinition<{
9
2
  platform_id: string;
10
3
  crm_id: string;
11
4
  channels: string[];
@@ -14,6 +7,10 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
14
7
  deal_id?: string | undefined;
15
8
  transport?: string | undefined;
16
9
  dialog_id?: string | undefined;
10
+ email?: string | undefined;
11
+ phone?: string | undefined;
12
+ first_name?: string | undefined;
13
+ last_name?: string | undefined;
17
14
  lead_last_active_at?: string | undefined;
18
15
  segment_entered_at?: string | undefined;
19
16
  }[];
@@ -21,7 +18,9 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
21
18
  launch_type?: "status" | "board" | "group" | undefined;
22
19
  funnel?: string | undefined;
23
20
  segment?: string | undefined;
21
+ segment_description?: string | undefined;
24
22
  cohort_label?: string | undefined;
23
+ mailing_variant_id?: string | undefined;
25
24
  message_variant?: string | undefined;
26
25
  found_count?: number | undefined;
27
26
  product_code?: string | undefined;
@@ -53,14 +52,22 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
53
52
  deal_id?: string | undefined;
54
53
  transport?: string | undefined;
55
54
  dialog_id?: string | undefined;
55
+ email?: string | undefined;
56
+ phone?: string | undefined;
57
+ first_name?: string | undefined;
58
+ last_name?: string | undefined;
56
59
  lead_last_active_at?: string | undefined;
57
60
  segment_entered_at?: string | undefined;
58
61
  }[];
59
62
  workspace_id?: string | undefined;
63
+ launch_key?: string | undefined;
64
+ dry_run_hash?: string | undefined;
60
65
  launch_type?: "status" | undefined;
61
66
  funnel?: string | undefined;
62
67
  segment?: string | undefined;
68
+ segment_description?: string | undefined;
63
69
  cohort_label?: string | undefined;
70
+ mailing_variant_id?: string | undefined;
64
71
  message_variant?: string | undefined;
65
72
  found_count?: number | undefined;
66
73
  product_code?: string | undefined;
@@ -94,20 +101,26 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
94
101
  platform_id: string;
95
102
  crm_id: string;
96
103
  segments: {
97
- mode: "status";
98
104
  contacts: {
99
105
  contact_id: string;
100
106
  deal_id?: string | undefined;
101
107
  transport?: string | undefined;
102
108
  dialog_id?: string | undefined;
109
+ email?: string | undefined;
110
+ phone?: string | undefined;
111
+ first_name?: string | undefined;
112
+ last_name?: string | undefined;
103
113
  lead_last_active_at?: string | undefined;
104
114
  segment_entered_at?: string | undefined;
105
115
  }[];
106
116
  channels: string[];
107
117
  deal_fields: Record<string, string | number | boolean | null>;
118
+ launch_type?: "status" | undefined;
108
119
  funnel?: string | undefined;
109
120
  segment?: string | undefined;
121
+ segment_description?: string | undefined;
110
122
  cohort_label?: string | undefined;
123
+ mailing_variant_id?: string | undefined;
111
124
  message_variant?: string | undefined;
112
125
  found_count?: number | undefined;
113
126
  product_code?: string | undefined;
@@ -131,6 +144,13 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
131
144
  }> | import("./shared.js").ToolDefinition<{
132
145
  batch_id: string;
133
146
  workspace_id?: string | undefined;
147
+ }> | import("./shared.js").ToolDefinition<{
148
+ workspace_id?: string | undefined;
149
+ }> | import("./shared.js").ToolDefinition<{
150
+ platform_id: string;
151
+ }> | import("./shared.js").ToolDefinition<{
152
+ platform_id: string;
153
+ agent_id: string;
134
154
  }> | import("./shared.js").ToolDefinition<{
135
155
  platform_id: string;
136
156
  workspace_id?: string | undefined;
@@ -548,6 +568,29 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
548
568
  }[] | null | undefined;
549
569
  template_user_id?: number | null | undefined;
550
570
  template_deal_id?: number | null | undefined;
571
+ wave_field_bindings?: {
572
+ product_value_source: "CODE" | "NAME";
573
+ launch_type?: {
574
+ field_id: number;
575
+ field_label: string;
576
+ } | undefined;
577
+ product?: {
578
+ field_id: number;
579
+ field_label: string;
580
+ } | undefined;
581
+ segment?: {
582
+ field_id: number;
583
+ field_label: string;
584
+ } | undefined;
585
+ funnel?: {
586
+ field_id: number;
587
+ field_label: string;
588
+ } | undefined;
589
+ channels?: {
590
+ field_id: number;
591
+ field_label: string;
592
+ } | undefined;
593
+ } | null | undefined;
551
594
  field_variable_map?: {
552
595
  getcourse_field_name: string;
553
596
  variable_name: string;
@@ -598,6 +641,13 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
598
641
  }> | import("./shared.js").ToolDefinition<{
599
642
  agent_id: string;
600
643
  draft_id: string;
644
+ }> | import("./shared.js").ToolDefinition<{
645
+ agent_id: string;
646
+ draft_id?: string | undefined;
647
+ }> | import("./shared.js").ToolDefinition<{
648
+ agent_id: string;
649
+ compare_agent_id: string;
650
+ max_lines?: number | undefined;
601
651
  }> | import("./shared.js").ToolDefinition<{
602
652
  agent_id: string;
603
653
  draft_id: string;
@@ -609,6 +659,21 @@ export declare const platformSetupTools: (import("./shared.js").ToolDefinition<{
609
659
  replacement_text?: string | undefined;
610
660
  match_variants?: string[] | undefined;
611
661
  }[];
662
+ }> | import("./shared.js").ToolDefinition<{
663
+ agent_ids: string[];
664
+ operations: {
665
+ type: "replace_text" | "replace_all_text" | "insert_after_text" | "insert_before_text" | "remove_text" | "move_text_after_text";
666
+ id?: string | undefined;
667
+ target_text?: string | undefined;
668
+ anchor_text?: string | undefined;
669
+ replacement_text?: string | undefined;
670
+ match_variants?: string[] | undefined;
671
+ }[];
672
+ all_or_nothing?: boolean | undefined;
673
+ idempotency_key?: string | undefined;
674
+ platform_id?: string | undefined;
675
+ }> | import("./shared.js").ToolDefinition<{
676
+ run_id: string;
612
677
  }> | import("./shared.js").ToolDefinition<{
613
678
  prompt_text: string;
614
679
  workspace_id?: string | undefined;