@opencx/mcp 1.11.81 → 1.11.82
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
CHANGED
|
@@ -1240,6 +1240,26 @@ export interface paths {
|
|
|
1240
1240
|
patch?: never;
|
|
1241
1241
|
trace?: never;
|
|
1242
1242
|
};
|
|
1243
|
+
"/handoff-analytics/events": {
|
|
1244
|
+
parameters: {
|
|
1245
|
+
query?: never;
|
|
1246
|
+
header?: never;
|
|
1247
|
+
path?: never;
|
|
1248
|
+
cookie?: never;
|
|
1249
|
+
};
|
|
1250
|
+
/**
|
|
1251
|
+
* List handoff events
|
|
1252
|
+
* @description Returns a paginated list of individual AI-to-human handoff events, newest first. Each event includes the AI-written summary and explanation of why it handed off, the handoff reasons, sentiment, and the session ID. Filter by reason (e.g. insufficient_tools) and date range to analyze recurring gaps.
|
|
1253
|
+
*/
|
|
1254
|
+
get: operations["listHandoffEvents"];
|
|
1255
|
+
put?: never;
|
|
1256
|
+
post?: never;
|
|
1257
|
+
delete?: never;
|
|
1258
|
+
options?: never;
|
|
1259
|
+
head?: never;
|
|
1260
|
+
patch?: never;
|
|
1261
|
+
trace?: never;
|
|
1262
|
+
};
|
|
1243
1263
|
"/handoff-analytics": {
|
|
1244
1264
|
parameters: {
|
|
1245
1265
|
query?: never;
|
|
@@ -6965,7 +6985,7 @@ export interface components {
|
|
|
6965
6985
|
/** Format: email */
|
|
6966
6986
|
email: string;
|
|
6967
6987
|
avatar_url?: string | null;
|
|
6968
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write")[] | null;
|
|
6988
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
6969
6989
|
};
|
|
6970
6990
|
OrgUserDetail: {
|
|
6971
6991
|
id: number;
|
|
@@ -6974,7 +6994,7 @@ export interface components {
|
|
|
6974
6994
|
/** Format: email */
|
|
6975
6995
|
email: string;
|
|
6976
6996
|
avatar_url?: string | null;
|
|
6977
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write")[] | null;
|
|
6997
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
6978
6998
|
teams: {
|
|
6979
6999
|
group: components["schemas"]["GroupDto"];
|
|
6980
7000
|
is_user_available_on_group: boolean;
|
|
@@ -7402,6 +7422,18 @@ export interface components {
|
|
|
7402
7422
|
records: unknown | null;
|
|
7403
7423
|
}[];
|
|
7404
7424
|
ListEmailTemplatesOutput: components["schemas"]["EmailTemplateDto"][];
|
|
7425
|
+
ListHandoffEventsOutput: {
|
|
7426
|
+
items: {
|
|
7427
|
+
session_id: string;
|
|
7428
|
+
summary: string;
|
|
7429
|
+
explanation: string | null;
|
|
7430
|
+
reasons: ("based_on_instructions" | "instructions_not_clear" | "insufficient_knowledge" | "insufficient_tools" | "prohibited_topic" | "user_requested_human_assistance")[];
|
|
7431
|
+
sentiment: ("angry" | "happy" | "neutral") | null;
|
|
7432
|
+
created_at: string;
|
|
7433
|
+
}[];
|
|
7434
|
+
next: string | null;
|
|
7435
|
+
total: number;
|
|
7436
|
+
};
|
|
7405
7437
|
ListOfficeHoursOutput: {
|
|
7406
7438
|
data: components["schemas"]["OfficeHoursPublicResponseDto"][];
|
|
7407
7439
|
};
|
|
@@ -10073,6 +10105,44 @@ export interface operations {
|
|
|
10073
10105
|
};
|
|
10074
10106
|
};
|
|
10075
10107
|
};
|
|
10108
|
+
listHandoffEvents: {
|
|
10109
|
+
parameters: {
|
|
10110
|
+
query?: {
|
|
10111
|
+
/** @description Pagination cursor from a previous response */
|
|
10112
|
+
cursor?: string;
|
|
10113
|
+
/** @description Only return handoffs that include this reason */
|
|
10114
|
+
reason?: "based_on_instructions" | "instructions_not_clear" | "insufficient_knowledge" | "insufficient_tools" | "prohibited_topic" | "user_requested_human_assistance";
|
|
10115
|
+
/** @description Start date in ISO 8601 format (defaults to 30 days ago) */
|
|
10116
|
+
start_date?: string;
|
|
10117
|
+
/** @description End date in ISO 8601 format (defaults to now) */
|
|
10118
|
+
end_date?: string;
|
|
10119
|
+
};
|
|
10120
|
+
header?: never;
|
|
10121
|
+
path?: never;
|
|
10122
|
+
cookie?: never;
|
|
10123
|
+
};
|
|
10124
|
+
requestBody?: never;
|
|
10125
|
+
responses: {
|
|
10126
|
+
/** @description Default Response */
|
|
10127
|
+
200: {
|
|
10128
|
+
headers: {
|
|
10129
|
+
[name: string]: unknown;
|
|
10130
|
+
};
|
|
10131
|
+
content: {
|
|
10132
|
+
"application/json": components["schemas"]["ListHandoffEventsOutput"];
|
|
10133
|
+
};
|
|
10134
|
+
};
|
|
10135
|
+
/** @description Internal Server Error */
|
|
10136
|
+
500: {
|
|
10137
|
+
headers: {
|
|
10138
|
+
[name: string]: unknown;
|
|
10139
|
+
};
|
|
10140
|
+
content: {
|
|
10141
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
10142
|
+
};
|
|
10143
|
+
};
|
|
10144
|
+
};
|
|
10145
|
+
};
|
|
10076
10146
|
getHandoffAnalytics: {
|
|
10077
10147
|
parameters: {
|
|
10078
10148
|
query?: {
|