@opencx/mcp 1.11.74 → 1.11.79
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/dist/schema.d.ts +38 -20
- package/dist/schema.d.ts.map +1 -1
- package/dist/server.spec.js +47 -0
- package/dist/server.spec.js.map +1 -1
- package/dist/tools/insights.d.ts.map +1 -1
- package/dist/tools/insights.js +43 -7
- package/dist/tools/insights.js.map +1 -1
- package/dist/tools/phone.d.ts.map +1 -1
- package/dist/tools/phone.js +4 -1
- package/dist/tools/phone.js.map +1 -1
- package/dist/tools/workflows.d.ts.map +1 -1
- package/dist/tools/workflows.js +18 -6
- package/dist/tools/workflows.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2642,7 +2642,7 @@ export interface paths {
|
|
|
2642
2642
|
put?: never;
|
|
2643
2643
|
/**
|
|
2644
2644
|
* Approve a suggested category
|
|
2645
|
-
* @description Promote
|
|
2645
|
+
* @description Promote AI-suggested categories to user-defined (permanent) ones. Pass `categoryId` for one, or `categoryIds` to approve up to 100 at once. Bulk is best-effort and returns a `{ succeeded, failed }` summary.
|
|
2646
2646
|
*/
|
|
2647
2647
|
post: operations["approveCategory"];
|
|
2648
2648
|
delete?: never;
|
|
@@ -2662,7 +2662,7 @@ export interface paths {
|
|
|
2662
2662
|
put?: never;
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Reject a suggested category
|
|
2665
|
-
* @description Reject
|
|
2665
|
+
* @description Reject AI-suggested categories and reassign their insights to `fallbackCategoryId`. Pass `categoryId` for one, or `categoryIds` to reject up to 100 at once (all reassigned to the same fallback). Bulk is best-effort and returns a `{ succeeded, failed }` summary.
|
|
2666
2666
|
*/
|
|
2667
2667
|
post: operations["rejectCategory"];
|
|
2668
2668
|
delete?: never;
|
|
@@ -3796,20 +3796,6 @@ export interface components {
|
|
|
3796
3796
|
name?: string;
|
|
3797
3797
|
description?: string | null;
|
|
3798
3798
|
};
|
|
3799
|
-
ApproveSuggestionDto: {
|
|
3800
|
-
/** Format: uuid */
|
|
3801
|
-
categoryId: string;
|
|
3802
|
-
};
|
|
3803
|
-
RejectSuggestionDto: {
|
|
3804
|
-
reason?: string | null;
|
|
3805
|
-
/** Format: uuid */
|
|
3806
|
-
categoryId: string;
|
|
3807
|
-
/**
|
|
3808
|
-
* Format: uuid
|
|
3809
|
-
* @description to assign the insights to another category
|
|
3810
|
-
*/
|
|
3811
|
-
fallbackCategoryId: string;
|
|
3812
|
-
};
|
|
3813
3799
|
GetVocQueryDto: {
|
|
3814
3800
|
/** @description Filter by category name */
|
|
3815
3801
|
category?: string | null;
|
|
@@ -4555,6 +4541,30 @@ export interface components {
|
|
|
4555
4541
|
/** @description Pre-rendered TipTap diff HTML */
|
|
4556
4542
|
diff_html: string;
|
|
4557
4543
|
};
|
|
4544
|
+
PublicApproveSuggestionDto: {
|
|
4545
|
+
/**
|
|
4546
|
+
* Format: uuid
|
|
4547
|
+
* @description Single suggested category to approve.
|
|
4548
|
+
*/
|
|
4549
|
+
categoryId?: string;
|
|
4550
|
+
/** @description Suggested categories to approve in bulk (up to 100). */
|
|
4551
|
+
categoryIds?: string[];
|
|
4552
|
+
};
|
|
4553
|
+
PublicRejectSuggestionDto: {
|
|
4554
|
+
reason?: string | null;
|
|
4555
|
+
/**
|
|
4556
|
+
* Format: uuid
|
|
4557
|
+
* @description Single suggested category to reject.
|
|
4558
|
+
*/
|
|
4559
|
+
categoryId?: string;
|
|
4560
|
+
/** @description Suggested categories to reject in bulk (up to 100). */
|
|
4561
|
+
categoryIds?: string[];
|
|
4562
|
+
/**
|
|
4563
|
+
* Format: uuid
|
|
4564
|
+
* @description Category the rejected insights reassign to (shared across the batch).
|
|
4565
|
+
*/
|
|
4566
|
+
fallbackCategoryId: string;
|
|
4567
|
+
};
|
|
4558
4568
|
AssignInsightDto: {
|
|
4559
4569
|
/** Format: uuid */
|
|
4560
4570
|
groupId: string;
|
|
@@ -6886,6 +6896,14 @@ export interface components {
|
|
|
6886
6896
|
/** @description Maximum total categories before the AI stops suggesting new ones. */
|
|
6887
6897
|
limit: number;
|
|
6888
6898
|
};
|
|
6899
|
+
PublicBulkCategoryResultDto: {
|
|
6900
|
+
succeeded: components["schemas"]["PublicCategoryDto"][];
|
|
6901
|
+
failed: {
|
|
6902
|
+
/** Format: uuid */
|
|
6903
|
+
categoryId: string;
|
|
6904
|
+
error: string;
|
|
6905
|
+
}[];
|
|
6906
|
+
};
|
|
6889
6907
|
SendTemplateOutputDto: {
|
|
6890
6908
|
whatsapp_message_id: string;
|
|
6891
6909
|
opencx_message_id: string;
|
|
@@ -12910,7 +12928,7 @@ export interface operations {
|
|
|
12910
12928
|
};
|
|
12911
12929
|
requestBody: {
|
|
12912
12930
|
content: {
|
|
12913
|
-
"application/json": components["schemas"]["
|
|
12931
|
+
"application/json": components["schemas"]["PublicApproveSuggestionDto"];
|
|
12914
12932
|
};
|
|
12915
12933
|
};
|
|
12916
12934
|
responses: {
|
|
@@ -12920,7 +12938,7 @@ export interface operations {
|
|
|
12920
12938
|
[name: string]: unknown;
|
|
12921
12939
|
};
|
|
12922
12940
|
content: {
|
|
12923
|
-
"application/json": components["schemas"]["PublicCategoryDto"];
|
|
12941
|
+
"application/json": components["schemas"]["PublicCategoryDto"] | components["schemas"]["PublicBulkCategoryResultDto"];
|
|
12924
12942
|
};
|
|
12925
12943
|
};
|
|
12926
12944
|
/** @description Internal Server Error */
|
|
@@ -12943,7 +12961,7 @@ export interface operations {
|
|
|
12943
12961
|
};
|
|
12944
12962
|
requestBody: {
|
|
12945
12963
|
content: {
|
|
12946
|
-
"application/json": components["schemas"]["
|
|
12964
|
+
"application/json": components["schemas"]["PublicRejectSuggestionDto"];
|
|
12947
12965
|
};
|
|
12948
12966
|
};
|
|
12949
12967
|
responses: {
|
|
@@ -12953,7 +12971,7 @@ export interface operations {
|
|
|
12953
12971
|
[name: string]: unknown;
|
|
12954
12972
|
};
|
|
12955
12973
|
content: {
|
|
12956
|
-
"application/json": components["schemas"]["PublicCategoryDto"];
|
|
12974
|
+
"application/json": components["schemas"]["PublicCategoryDto"] | components["schemas"]["PublicBulkCategoryResultDto"];
|
|
12957
12975
|
};
|
|
12958
12976
|
};
|
|
12959
12977
|
/** @description Internal Server Error */
|