@besales/mcp 0.31.0 → 0.32.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.
- package/README.md +5 -2
- package/dist/instructions/server-instructions.d.ts +1 -1
- package/dist/instructions/server-instructions.js +8 -0
- package/dist/instructions/server-instructions.js.map +1 -1
- package/dist/resources/docs/crm-integration.md +2 -2
- package/dist/schemas/mcp-tools.json +735 -5
- package/dist/tools/definitions/follow-up.d.ts +84 -0
- package/dist/tools/definitions/follow-up.js +161 -0
- package/dist/tools/definitions/follow-up.js.map +1 -0
- package/dist/tools/definitions/knowledge.d.ts +2 -2
- package/dist/tools/definitions/platform-setup.d.ts +49 -0
- package/dist/tools/definitions/platform-setup.js +183 -1
- package/dist/tools/definitions/platform-setup.js.map +1 -1
- package/dist/tools/definitions/scheduled-tasks.d.ts +24 -0
- package/dist/tools/definitions/scheduled-tasks.js +124 -0
- package/dist/tools/definitions/scheduled-tasks.js.map +1 -0
- package/dist/tools/definitions/shared.d.ts +4 -0
- package/dist/tools/definitions/shared.js +14 -0
- package/dist/tools/definitions/shared.js.map +1 -1
- package/dist/tools/definitions.d.ts +81 -2
- package/dist/tools/definitions.js +4 -0
- package/dist/tools/definitions.js.map +1 -1
- package/package.json +1 -1
|
@@ -212,6 +212,15 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
212
212
|
}[];
|
|
213
213
|
};
|
|
214
214
|
preamble?: string | undefined;
|
|
215
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
216
|
+
platform_id: string;
|
|
217
|
+
sequence_id?: string | undefined;
|
|
218
|
+
include_config?: boolean | undefined;
|
|
219
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
220
|
+
platform_id: string;
|
|
221
|
+
sequence_id: string;
|
|
222
|
+
from?: string | undefined;
|
|
223
|
+
to?: string | undefined;
|
|
215
224
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
216
225
|
workspace_id?: string | undefined;
|
|
217
226
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -258,6 +267,51 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
258
267
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
259
268
|
job_id: string;
|
|
260
269
|
workspace_id?: string | undefined;
|
|
270
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
271
|
+
platform_id: string;
|
|
272
|
+
crm_id: string;
|
|
273
|
+
channels: string[];
|
|
274
|
+
contacts: {
|
|
275
|
+
contact_id: string;
|
|
276
|
+
deal_id?: string | undefined;
|
|
277
|
+
transport?: string | undefined;
|
|
278
|
+
dialog_id?: string | undefined;
|
|
279
|
+
lead_last_active_at?: string | undefined;
|
|
280
|
+
segment_entered_at?: string | undefined;
|
|
281
|
+
}[];
|
|
282
|
+
workspace_id?: string | undefined;
|
|
283
|
+
launch_type?: "status" | undefined;
|
|
284
|
+
funnel?: string | undefined;
|
|
285
|
+
segment?: string | undefined;
|
|
286
|
+
cohort_label?: string | undefined;
|
|
287
|
+
message_variant?: string | undefined;
|
|
288
|
+
found_count?: number | undefined;
|
|
289
|
+
product_code?: string | undefined;
|
|
290
|
+
product_name?: string | undefined;
|
|
291
|
+
deal_fields?: Record<string, string | number | boolean | null> | undefined;
|
|
292
|
+
confirm?: boolean | undefined;
|
|
293
|
+
check_messenger_presence?: boolean | undefined;
|
|
294
|
+
dedup_window_days?: number | undefined;
|
|
295
|
+
dedup_scope?: "any" | "same_funnel" | undefined;
|
|
296
|
+
preflight?: {
|
|
297
|
+
enabled?: boolean | undefined;
|
|
298
|
+
product_title?: string | undefined;
|
|
299
|
+
product_match_key?: string | undefined;
|
|
300
|
+
offer_id?: number | undefined;
|
|
301
|
+
other_product_active_deal_mode?: "warn" | "block" | "ignore" | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
chunk_size?: number | undefined;
|
|
304
|
+
explicit_confirmation?: true | undefined;
|
|
305
|
+
confirmation_reason?: string | undefined;
|
|
306
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
307
|
+
run_id: string;
|
|
308
|
+
workspace_id?: string | undefined;
|
|
309
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
310
|
+
run_id: string;
|
|
311
|
+
workspace_id?: string | undefined;
|
|
312
|
+
status?: "PENDING" | "CLAIMED" | "SENT" | "SKIPPED" | "FAILED" | "UNKNOWN" | undefined;
|
|
313
|
+
cursor?: string | undefined;
|
|
314
|
+
limit?: number | undefined;
|
|
261
315
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
262
316
|
platform_id: string;
|
|
263
317
|
workspace_id?: string | undefined;
|
|
@@ -686,6 +740,10 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
686
740
|
manual_mute_field_id?: string | null | undefined;
|
|
687
741
|
manual_mute_value?: string | null | undefined;
|
|
688
742
|
manual_mute_active_value?: string | null | undefined;
|
|
743
|
+
create_missing_deal_enabled?: boolean | undefined;
|
|
744
|
+
create_missing_deal_offer_id?: number | null | undefined;
|
|
745
|
+
create_missing_deal_funnel_id?: number | null | undefined;
|
|
746
|
+
create_missing_deal_stage_id?: number | null | undefined;
|
|
689
747
|
} | undefined;
|
|
690
748
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
691
749
|
audit_log_id: string;
|
|
@@ -804,7 +862,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
804
862
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
805
863
|
knowledge_space_id: string;
|
|
806
864
|
workspace_id?: string | undefined;
|
|
807
|
-
status?: "LOADED" | "SPLIT" | "EMBEDDINGS_GENERATED" | "VECTOR_DB_UPLOADED" | "COMPLETED" | "
|
|
865
|
+
status?: "FAILED" | "LOADED" | "SPLIT" | "EMBEDDINGS_GENERATED" | "VECTOR_DB_UPLOADED" | "COMPLETED" | "TEXT_EXTRACTED" | "CHUNKS_SAVED" | undefined;
|
|
808
866
|
page?: number | undefined;
|
|
809
867
|
limit?: number | undefined;
|
|
810
868
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -888,7 +946,7 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
888
946
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
889
947
|
knowledge_space_id: string;
|
|
890
948
|
workspace_id?: string | undefined;
|
|
891
|
-
status?: "
|
|
949
|
+
status?: "PENDING" | "FAILED" | "COMPLETED" | "CRAWLING" | "PROCESSING" | undefined;
|
|
892
950
|
page?: number | undefined;
|
|
893
951
|
limit?: number | undefined;
|
|
894
952
|
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
@@ -1269,4 +1327,25 @@ export declare const toolDefinitions: (import("./definitions/shared.js").ToolDef
|
|
|
1269
1327
|
segment?: string | undefined;
|
|
1270
1328
|
product?: string | undefined;
|
|
1271
1329
|
product_mode?: "none" | undefined;
|
|
1330
|
+
}> | import("./definitions/shared.js").ToolDefinition<{
|
|
1331
|
+
platform_id: string;
|
|
1332
|
+
type: "DIALOGUE_ANALYSIS";
|
|
1333
|
+
is_enabled: boolean;
|
|
1334
|
+
daily?: {
|
|
1335
|
+
enabled: boolean;
|
|
1336
|
+
summary_time?: string | undefined;
|
|
1337
|
+
output?: "note" | "hidden" | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
hourly?: {
|
|
1340
|
+
enabled: boolean;
|
|
1341
|
+
window_start?: string | undefined;
|
|
1342
|
+
window_end?: string | undefined;
|
|
1343
|
+
min_new_events?: number | undefined;
|
|
1344
|
+
output?: "note" | "hidden" | undefined;
|
|
1345
|
+
} | undefined;
|
|
1346
|
+
funnels?: string[] | undefined;
|
|
1347
|
+
managers?: number[] | undefined;
|
|
1348
|
+
daily_prompt?: string | null | undefined;
|
|
1349
|
+
hourly_prompt?: string | null | undefined;
|
|
1350
|
+
explicit_confirmation?: boolean | undefined;
|
|
1272
1351
|
}>)[];
|
|
@@ -8,6 +8,8 @@ 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 { followUpTools } from './definitions/follow-up.js';
|
|
12
|
+
import { scheduledTaskTools } from './definitions/scheduled-tasks.js';
|
|
11
13
|
export const toolDefinitions = [
|
|
12
14
|
...agentDesignTools,
|
|
13
15
|
...platformSetupTools,
|
|
@@ -19,5 +21,7 @@ export const toolDefinitions = [
|
|
|
19
21
|
...externalApiChannelTools,
|
|
20
22
|
...dialogueExportTools,
|
|
21
23
|
...broadcastAnalyticsTools,
|
|
24
|
+
...followUpTools,
|
|
25
|
+
...scheduledTaskTools,
|
|
22
26
|
];
|
|
23
27
|
//# 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;
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src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