@opencx/mcp 1.15.54 → 1.15.56
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 +149 -52
- package/dist/schema.d.ts.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -1
- package/dist/tools/help-center.d.ts.map +1 -1
- package/dist/tools/help-center.js +6 -2
- package/dist/tools/help-center.js.map +1 -1
- package/dist/tools/inbox-views.js +2 -2
- package/dist/tools/inbox-views.js.map +1 -1
- package/dist/tools/sessions.js +2 -2
- package/dist/tools/sessions.js.map +1 -1
- package/dist/tools/team-categories.d.ts +4 -0
- package/dist/tools/team-categories.d.ts.map +1 -0
- package/dist/tools/team-categories.js +17 -0
- package/dist/tools/team-categories.js.map +1 -0
- package/dist/tools/team-categories.spec.d.ts +2 -0
- package/dist/tools/team-categories.spec.d.ts.map +1 -0
- package/dist/tools/team-categories.spec.js +59 -0
- package/dist/tools/team-categories.spec.js.map +1 -0
- package/dist/tools/team-settings.d.ts +13 -0
- package/dist/tools/team-settings.d.ts.map +1 -1
- package/dist/tools/team-settings.js +67 -35
- package/dist/tools/team-settings.js.map +1 -1
- package/dist/tools/team-settings.spec.js +57 -0
- package/dist/tools/team-settings.spec.js.map +1 -1
- package/dist/tools/teams.d.ts.map +1 -1
- package/dist/tools/teams.js +5 -2
- package/dist/tools/teams.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -4116,6 +4116,30 @@ export interface paths {
|
|
|
4116
4116
|
patch?: never;
|
|
4117
4117
|
trace?: never;
|
|
4118
4118
|
};
|
|
4119
|
+
"/teams/categories": {
|
|
4120
|
+
parameters: {
|
|
4121
|
+
query?: never;
|
|
4122
|
+
header?: never;
|
|
4123
|
+
path?: never;
|
|
4124
|
+
cookie?: never;
|
|
4125
|
+
};
|
|
4126
|
+
/**
|
|
4127
|
+
* List team categories
|
|
4128
|
+
* @description List categories in the current workspace, including categories with no teams. Requires teams:read.
|
|
4129
|
+
*/
|
|
4130
|
+
get: operations["listTeamCategories"];
|
|
4131
|
+
put?: never;
|
|
4132
|
+
/**
|
|
4133
|
+
* Create a team category
|
|
4134
|
+
* @description Create a workspace category or return the existing category with the same name, ignoring capitalization and surrounding spaces. Requires teams:write.
|
|
4135
|
+
*/
|
|
4136
|
+
post: operations["createTeamCategory"];
|
|
4137
|
+
delete?: never;
|
|
4138
|
+
options?: never;
|
|
4139
|
+
head?: never;
|
|
4140
|
+
patch?: never;
|
|
4141
|
+
trace?: never;
|
|
4142
|
+
};
|
|
4119
4143
|
"/teams": {
|
|
4120
4144
|
parameters: {
|
|
4121
4145
|
query?: never;
|
|
@@ -7050,12 +7074,16 @@ export interface components {
|
|
|
7050
7074
|
[key: string]: string;
|
|
7051
7075
|
} | null;
|
|
7052
7076
|
};
|
|
7077
|
+
CreateGroupCategoryDto: {
|
|
7078
|
+
name: string;
|
|
7079
|
+
};
|
|
7053
7080
|
AddUserToGroupDto: {
|
|
7054
7081
|
userId: number;
|
|
7055
7082
|
groupId?: string;
|
|
7056
7083
|
};
|
|
7057
7084
|
CreateGroupDto: {
|
|
7058
7085
|
name: string;
|
|
7086
|
+
category_id?: string | null;
|
|
7059
7087
|
description?: string;
|
|
7060
7088
|
is_support_enabled?: boolean;
|
|
7061
7089
|
support_office_hours_id?: string | null;
|
|
@@ -7796,7 +7824,7 @@ export interface components {
|
|
|
7796
7824
|
};
|
|
7797
7825
|
EditArticleDto: {
|
|
7798
7826
|
title: string;
|
|
7799
|
-
/** @description Article body as an HTML fragment. */
|
|
7827
|
+
/** @description Article body as an HTML fragment. Embed a video with `<div data-embed="youtube" data-embed-id="VIDEO_ID"></div>`, where `data-embed` is `youtube`, `vimeo`, `loom` or `wistia`; iframes are removed. */
|
|
7800
7828
|
content_html?: string;
|
|
7801
7829
|
meta_title?: string;
|
|
7802
7830
|
meta_description?: string;
|
|
@@ -8414,9 +8442,9 @@ export interface components {
|
|
|
8414
8442
|
sentiment?: ("angry" | "happy" | "neutral")[];
|
|
8415
8443
|
/** @description Filter by assignee user IDs (empty array = unassigned) */
|
|
8416
8444
|
assignees?: number[];
|
|
8417
|
-
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. */
|
|
8445
|
+
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. Use the "$unassigned" token to match sessions with no team. */
|
|
8418
8446
|
team_ids?: string[];
|
|
8419
|
-
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. */
|
|
8447
|
+
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. Use the "$unassigned" token to match sessions with no support team. */
|
|
8420
8448
|
support_team_ids?: string[];
|
|
8421
8449
|
/** @description Filter by contact IDs */
|
|
8422
8450
|
contact_ids?: string[];
|
|
@@ -8664,9 +8692,9 @@ export interface components {
|
|
|
8664
8692
|
sentiment?: ("angry" | "happy" | "neutral")[];
|
|
8665
8693
|
/** @description Filter by assignee user IDs (empty array = unassigned). The "$current_user" token resolves to whoever opens the view, so one shared view can mean "assigned to me" for every teammate. */
|
|
8666
8694
|
assignees?: (number | "$current_user")[];
|
|
8667
|
-
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. */
|
|
8695
|
+
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. Use the "$unassigned" token to match sessions with no team. */
|
|
8668
8696
|
team_ids?: string[];
|
|
8669
|
-
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. */
|
|
8697
|
+
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. Use the "$unassigned" token to match sessions with no support team. */
|
|
8670
8698
|
support_team_ids?: string[];
|
|
8671
8699
|
/** @description Filter by contact IDs */
|
|
8672
8700
|
contact_ids?: string[];
|
|
@@ -8747,9 +8775,9 @@ export interface components {
|
|
|
8747
8775
|
sentiment?: ("angry" | "happy" | "neutral")[];
|
|
8748
8776
|
/** @description Filter by assignee user IDs (empty array = unassigned). The "$current_user" token resolves to whoever opens the view, so one shared view can mean "assigned to me" for every teammate. */
|
|
8749
8777
|
assignees?: (number | "$current_user")[];
|
|
8750
|
-
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. */
|
|
8778
|
+
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. Use the "$unassigned" token to match sessions with no team. */
|
|
8751
8779
|
team_ids?: string[];
|
|
8752
|
-
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. */
|
|
8780
|
+
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. Use the "$unassigned" token to match sessions with no support team. */
|
|
8753
8781
|
support_team_ids?: string[];
|
|
8754
8782
|
/** @description Filter by contact IDs */
|
|
8755
8783
|
contact_ids?: string[];
|
|
@@ -8962,6 +8990,7 @@ export interface components {
|
|
|
8962
8990
|
};
|
|
8963
8991
|
UpdateGroupDto: {
|
|
8964
8992
|
name?: string;
|
|
8993
|
+
category_id?: string | null;
|
|
8965
8994
|
description?: string;
|
|
8966
8995
|
is_support_enabled?: boolean;
|
|
8967
8996
|
support_office_hours_id?: string | null;
|
|
@@ -9071,7 +9100,7 @@ export interface components {
|
|
|
9071
9100
|
category_entity_id: string;
|
|
9072
9101
|
title: string;
|
|
9073
9102
|
slug?: string;
|
|
9074
|
-
/** @description Article body as an HTML fragment. */
|
|
9103
|
+
/** @description Article body as an HTML fragment. Embed a video with `<div data-embed="youtube" data-embed-id="VIDEO_ID"></div>`, where `data-embed` is `youtube`, `vimeo`, `loom` or `wistia`; iframes are removed. */
|
|
9075
9104
|
content_html?: string;
|
|
9076
9105
|
meta_title?: string;
|
|
9077
9106
|
meta_description?: string;
|
|
@@ -10499,10 +10528,16 @@ export interface components {
|
|
|
10499
10528
|
[key: string]: string;
|
|
10500
10529
|
} | null;
|
|
10501
10530
|
};
|
|
10531
|
+
GroupCategoryDto: {
|
|
10532
|
+
/** Format: uuid */
|
|
10533
|
+
id: string;
|
|
10534
|
+
name: string;
|
|
10535
|
+
};
|
|
10502
10536
|
GroupDto: {
|
|
10503
10537
|
id: string;
|
|
10504
10538
|
organization_id: string;
|
|
10505
10539
|
name: string;
|
|
10540
|
+
category_id: string | null;
|
|
10506
10541
|
description: string | null;
|
|
10507
10542
|
is_support_enabled: boolean;
|
|
10508
10543
|
support_office_hours_id: string | null;
|
|
@@ -10591,48 +10626,6 @@ export interface components {
|
|
|
10591
10626
|
UpdateAgentWorkflowsResponseDto: {
|
|
10592
10627
|
success: boolean;
|
|
10593
10628
|
};
|
|
10594
|
-
PhoneAgentDto: {
|
|
10595
|
-
id: string;
|
|
10596
|
-
org_id: string;
|
|
10597
|
-
phone_number: string | null;
|
|
10598
|
-
outbound_caller_number: string | null;
|
|
10599
|
-
name: string | null;
|
|
10600
|
-
/** @enum {string} */
|
|
10601
|
-
type: "inbound" | "outbound";
|
|
10602
|
-
language: string[];
|
|
10603
|
-
accent: string | null;
|
|
10604
|
-
handoff_phone_number: string | null;
|
|
10605
|
-
speed: number | null;
|
|
10606
|
-
interruptible: boolean;
|
|
10607
|
-
actionIds: string[] | null;
|
|
10608
|
-
instructions: string[] | null;
|
|
10609
|
-
data_collection_fields: string[] | null;
|
|
10610
|
-
data_collection_webhook_url: string | null;
|
|
10611
|
-
/** @enum {string} */
|
|
10612
|
-
model: "oppie-vox" | "oppie-vox-turbo" | "oppie-vox-livekit";
|
|
10613
|
-
voice_id: string | null;
|
|
10614
|
-
/** @enum {string} */
|
|
10615
|
-
voice_mode: "modular" | "live";
|
|
10616
|
-
first_message: string | null;
|
|
10617
|
-
/** Format: date-time */
|
|
10618
|
-
created_at: string;
|
|
10619
|
-
/** Format: date-time */
|
|
10620
|
-
updated_at: string;
|
|
10621
|
-
provider_external_id: string | null;
|
|
10622
|
-
flow: unknown | null;
|
|
10623
|
-
use_org_knowledgebase: boolean;
|
|
10624
|
-
background_noise_preset: ("office" | "bar" | "city-street") | null;
|
|
10625
|
-
recording_enabled: boolean;
|
|
10626
|
-
search_enabled: boolean;
|
|
10627
|
-
stt_keyterms: string[];
|
|
10628
|
-
stt_model: ("deepgram/flux-general" | "deepgram/nova-3" | "deepgram/nova-3-medical" | "cartesia/ink-whisper" | "elevenlabs/scribe_v2_realtime" | "xai/stt-1" | "assemblyai/universal-3-5-pro" | "speechmatics/enhanced" | "google/gemini-3.5-transcribe-live" | "soniox/stt-rt-v5" | "openai/gpt-live-transcribe") | null;
|
|
10629
|
-
tts_speed_pct: number | null;
|
|
10630
|
-
/** @enum {string} */
|
|
10631
|
-
tts_provider: "elevenlabs" | "cartesia";
|
|
10632
|
-
failover_transfer_destination_id: string | null;
|
|
10633
|
-
/** @description Transfer destinations the agent may transfer to (`transfer_call` targets). */
|
|
10634
|
-
transfer_destination_ids: string[];
|
|
10635
|
-
};
|
|
10636
10629
|
PhoneAgentVoiceDto: {
|
|
10637
10630
|
/** @enum {string} */
|
|
10638
10631
|
provider: "elevenlabs" | "cartesia" | "vapi" | "live";
|
|
@@ -14727,9 +14720,9 @@ export interface components {
|
|
|
14727
14720
|
sentiment?: ("angry" | "happy" | "neutral")[];
|
|
14728
14721
|
/** @description Filter by assignee user IDs (empty array = unassigned). The "$current_user" token resolves to whoever opens the view, so one shared view can mean "assigned to me" for every teammate. */
|
|
14729
14722
|
assignees?: (number | "$current_user")[];
|
|
14730
|
-
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. */
|
|
14723
|
+
/** @description Filter by assigned team/group IDs. For the inbox Support Team filter, use support_team_ids. Use the "$unassigned" token to match sessions with no team. */
|
|
14731
14724
|
team_ids?: string[];
|
|
14732
|
-
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. */
|
|
14725
|
+
/** @description Filter by Support Team IDs (from GET /teams): the support team whose inbox contains the session. Distinct from team_ids and view-sharing permissions. Use the "$unassigned" token to match sessions with no support team. */
|
|
14733
14726
|
support_team_ids?: string[];
|
|
14734
14727
|
/** @description Filter by contact IDs */
|
|
14735
14728
|
contact_ids?: string[];
|
|
@@ -14979,6 +14972,48 @@ export interface components {
|
|
|
14979
14972
|
phone_agent_id: string;
|
|
14980
14973
|
caller_number: string | null;
|
|
14981
14974
|
};
|
|
14975
|
+
PhoneAgentDto: {
|
|
14976
|
+
id: string;
|
|
14977
|
+
org_id: string;
|
|
14978
|
+
phone_number: string | null;
|
|
14979
|
+
outbound_caller_number: string | null;
|
|
14980
|
+
name: string | null;
|
|
14981
|
+
/** @enum {string} */
|
|
14982
|
+
type: "inbound" | "outbound";
|
|
14983
|
+
language: string[];
|
|
14984
|
+
accent: string | null;
|
|
14985
|
+
handoff_phone_number: string | null;
|
|
14986
|
+
speed: number | null;
|
|
14987
|
+
interruptible: boolean;
|
|
14988
|
+
actionIds: string[] | null;
|
|
14989
|
+
instructions: string[] | null;
|
|
14990
|
+
data_collection_fields: string[] | null;
|
|
14991
|
+
data_collection_webhook_url: string | null;
|
|
14992
|
+
/** @enum {string} */
|
|
14993
|
+
model: "oppie-vox" | "oppie-vox-turbo" | "oppie-vox-livekit";
|
|
14994
|
+
voice_id: string | null;
|
|
14995
|
+
/** @enum {string} */
|
|
14996
|
+
voice_mode: "modular" | "live";
|
|
14997
|
+
first_message: string | null;
|
|
14998
|
+
/** Format: date-time */
|
|
14999
|
+
created_at: string;
|
|
15000
|
+
/** Format: date-time */
|
|
15001
|
+
updated_at: string;
|
|
15002
|
+
provider_external_id: string | null;
|
|
15003
|
+
flow: unknown | null;
|
|
15004
|
+
use_org_knowledgebase: boolean;
|
|
15005
|
+
background_noise_preset: ("office" | "bar" | "city-street") | null;
|
|
15006
|
+
recording_enabled: boolean;
|
|
15007
|
+
search_enabled: boolean;
|
|
15008
|
+
stt_keyterms: string[];
|
|
15009
|
+
stt_model: ("deepgram/flux-general" | "deepgram/nova-3" | "deepgram/nova-3-medical" | "cartesia/ink-whisper" | "elevenlabs/scribe_v2_realtime" | "xai/stt-1" | "assemblyai/universal-3-5-pro" | "speechmatics/enhanced" | "google/gemini-3.5-transcribe-live" | "soniox/stt-rt-v5" | "openai/gpt-live-transcribe") | null;
|
|
15010
|
+
tts_speed_pct: number | null;
|
|
15011
|
+
/** @enum {string} */
|
|
15012
|
+
tts_provider: "elevenlabs" | "cartesia";
|
|
15013
|
+
failover_transfer_destination_id: string | null;
|
|
15014
|
+
/** @description Transfer destinations the agent may transfer to (`transfer_call` targets). */
|
|
15015
|
+
transfer_destination_ids: string[];
|
|
15016
|
+
};
|
|
14982
15017
|
PublicResourceUsageConversationsDto: {
|
|
14983
15018
|
conversations: {
|
|
14984
15019
|
session_id: string;
|
|
@@ -25012,6 +25047,68 @@ export interface operations {
|
|
|
25012
25047
|
};
|
|
25013
25048
|
};
|
|
25014
25049
|
};
|
|
25050
|
+
listTeamCategories: {
|
|
25051
|
+
parameters: {
|
|
25052
|
+
query?: never;
|
|
25053
|
+
header?: never;
|
|
25054
|
+
path?: never;
|
|
25055
|
+
cookie?: never;
|
|
25056
|
+
};
|
|
25057
|
+
requestBody?: never;
|
|
25058
|
+
responses: {
|
|
25059
|
+
/** @description Default Response */
|
|
25060
|
+
200: {
|
|
25061
|
+
headers: {
|
|
25062
|
+
[name: string]: unknown;
|
|
25063
|
+
};
|
|
25064
|
+
content: {
|
|
25065
|
+
"application/json": components["schemas"]["GroupCategoryDto"][];
|
|
25066
|
+
};
|
|
25067
|
+
};
|
|
25068
|
+
/** @description Internal Server Error */
|
|
25069
|
+
500: {
|
|
25070
|
+
headers: {
|
|
25071
|
+
[name: string]: unknown;
|
|
25072
|
+
};
|
|
25073
|
+
content: {
|
|
25074
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
25075
|
+
};
|
|
25076
|
+
};
|
|
25077
|
+
};
|
|
25078
|
+
};
|
|
25079
|
+
createTeamCategory: {
|
|
25080
|
+
parameters: {
|
|
25081
|
+
query?: never;
|
|
25082
|
+
header?: never;
|
|
25083
|
+
path?: never;
|
|
25084
|
+
cookie?: never;
|
|
25085
|
+
};
|
|
25086
|
+
requestBody: {
|
|
25087
|
+
content: {
|
|
25088
|
+
"application/json": components["schemas"]["CreateGroupCategoryDto"];
|
|
25089
|
+
};
|
|
25090
|
+
};
|
|
25091
|
+
responses: {
|
|
25092
|
+
/** @description Default Response */
|
|
25093
|
+
201: {
|
|
25094
|
+
headers: {
|
|
25095
|
+
[name: string]: unknown;
|
|
25096
|
+
};
|
|
25097
|
+
content: {
|
|
25098
|
+
"application/json": components["schemas"]["GroupCategoryDto"];
|
|
25099
|
+
};
|
|
25100
|
+
};
|
|
25101
|
+
/** @description Internal Server Error */
|
|
25102
|
+
500: {
|
|
25103
|
+
headers: {
|
|
25104
|
+
[name: string]: unknown;
|
|
25105
|
+
};
|
|
25106
|
+
content: {
|
|
25107
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
25108
|
+
};
|
|
25109
|
+
};
|
|
25110
|
+
};
|
|
25111
|
+
};
|
|
25015
25112
|
getTeams: {
|
|
25016
25113
|
parameters: {
|
|
25017
25114
|
query?: never;
|