@opencx/mcp 1.15.79 → 1.15.80
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/integrations.d.ts +1 -1
- package/dist/integrations.d.ts.map +1 -1
- package/dist/integrations.js +1 -0
- package/dist/integrations.js.map +1 -1
- package/dist/schema.d.ts +356 -33
- 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/server.spec.js +5 -2
- package/dist/server.spec.js.map +1 -1
- package/dist/tools/genesys-integration.d.ts +4 -0
- package/dist/tools/genesys-integration.d.ts.map +1 -0
- package/dist/tools/genesys-integration.js +39 -0
- package/dist/tools/genesys-integration.js.map +1 -0
- package/dist/tools/sessions.d.ts.map +1 -1
- package/dist/tools/sessions.js +4 -6
- package/dist/tools/sessions.js.map +1 -1
- package/package.json +1 -1
package/dist/integrations.d.ts
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Ticketing integrations that ship Companion tools + a skill. Tools for an
|
|
3
3
|
* integration are registered only when the org has it connected.
|
|
4
4
|
*/
|
|
5
|
-
export declare const COMPANION_INTEGRATIONS: readonly ["zendesk", "hubspot", "salesforce", "freshdesk", "freshchat", "gorgias", "intercom", "dynamics365", "twilio_flex", "front", "infobip"];
|
|
5
|
+
export declare const COMPANION_INTEGRATIONS: readonly ["zendesk", "hubspot", "salesforce", "freshdesk", "freshchat", "gorgias", "intercom", "dynamics365", "twilio_flex", "front", "infobip", "genesys"];
|
|
6
6
|
export type CompanionIntegration = (typeof COMPANION_INTEGRATIONS)[number];
|
|
7
7
|
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,6JAazB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/integrations.js
CHANGED
package/dist/integrations.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,SAAS;IACT,SAAS;IACT,YAAY;IACZ,WAAW;IACX,WAAW;IACX,SAAS;IACT,UAAU;IACV,aAAa;IACb,aAAa;IACb,OAAO;IACP,SAAS;CACD,CAAC"}
|
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,SAAS;IACT,SAAS;IACT,YAAY;IACZ,WAAW;IACX,WAAW;IACX,SAAS;IACT,UAAU;IACV,aAAa;IACb,aAAa;IACb,OAAO;IACP,SAAS;IACT,SAAS;CACD,CAAC"}
|
package/dist/schema.d.ts
CHANGED
|
@@ -290,7 +290,7 @@ export interface paths {
|
|
|
290
290
|
put?: never;
|
|
291
291
|
/**
|
|
292
292
|
* Merge sessions
|
|
293
|
-
* @description Permanently close source sessions and attach them to this primary. Sources cannot be reopened or replied to. All replies use the primary channel and recipients. Requires merge-sessions:write and OpenCX or
|
|
293
|
+
* @description Permanently close source sessions and attach them to this primary. Sources cannot be reopened or replied to. All replies use the primary channel and recipients. Requires merge-sessions:write and OpenCX, Zendesk or Genesys Cloud ticketing. Reuse idempotencyKey with the identical request when retrying.
|
|
294
294
|
*/
|
|
295
295
|
post: operations["mergeSessions"];
|
|
296
296
|
delete?: never;
|
|
@@ -7092,6 +7092,70 @@ export interface paths {
|
|
|
7092
7092
|
patch?: never;
|
|
7093
7093
|
trace?: never;
|
|
7094
7094
|
};
|
|
7095
|
+
"/integrations/genesys/settings": {
|
|
7096
|
+
parameters: {
|
|
7097
|
+
query?: never;
|
|
7098
|
+
header?: never;
|
|
7099
|
+
path?: never;
|
|
7100
|
+
cookie?: never;
|
|
7101
|
+
};
|
|
7102
|
+
/**
|
|
7103
|
+
* Get Genesys Cloud settings
|
|
7104
|
+
* @description Read the Genesys Cloud connection and handoff settings. Answers `connected: false` with `settings: null` when Genesys Cloud is not connected. The client secret is never returned.
|
|
7105
|
+
*/
|
|
7106
|
+
get: operations["getGenesysSettings"];
|
|
7107
|
+
put?: never;
|
|
7108
|
+
post?: never;
|
|
7109
|
+
delete?: never;
|
|
7110
|
+
options?: never;
|
|
7111
|
+
head?: never;
|
|
7112
|
+
/**
|
|
7113
|
+
* Update Genesys Cloud handoff settings
|
|
7114
|
+
* @description Partially update the handoff switches; omitted fields keep their value. Answers 400 when Genesys Cloud is not connected, or for smart routing with a pinned queue or agent target.
|
|
7115
|
+
*/
|
|
7116
|
+
patch: operations["updateGenesysSettings"];
|
|
7117
|
+
trace?: never;
|
|
7118
|
+
};
|
|
7119
|
+
"/integrations/genesys/queues": {
|
|
7120
|
+
parameters: {
|
|
7121
|
+
query?: never;
|
|
7122
|
+
header?: never;
|
|
7123
|
+
path?: never;
|
|
7124
|
+
cookie?: never;
|
|
7125
|
+
};
|
|
7126
|
+
/**
|
|
7127
|
+
* List Genesys Cloud queues
|
|
7128
|
+
* @description List the queues from the last directory sync and the team each is linked to. Answers `connected: false` with an empty list when Genesys Cloud is not connected.
|
|
7129
|
+
*/
|
|
7130
|
+
get: operations["listGenesysQueues"];
|
|
7131
|
+
put?: never;
|
|
7132
|
+
post?: never;
|
|
7133
|
+
delete?: never;
|
|
7134
|
+
options?: never;
|
|
7135
|
+
head?: never;
|
|
7136
|
+
patch?: never;
|
|
7137
|
+
trace?: never;
|
|
7138
|
+
};
|
|
7139
|
+
"/integrations/genesys/health": {
|
|
7140
|
+
parameters: {
|
|
7141
|
+
query?: never;
|
|
7142
|
+
header?: never;
|
|
7143
|
+
path?: never;
|
|
7144
|
+
cookie?: never;
|
|
7145
|
+
};
|
|
7146
|
+
/**
|
|
7147
|
+
* Get Genesys Cloud health
|
|
7148
|
+
* @description Read the health signals, objectives, drift and last repair of the connection. Answers `connected: false` with `health: null` when Genesys Cloud is not connected.
|
|
7149
|
+
*/
|
|
7150
|
+
get: operations["getGenesysHealth"];
|
|
7151
|
+
put?: never;
|
|
7152
|
+
post?: never;
|
|
7153
|
+
delete?: never;
|
|
7154
|
+
options?: never;
|
|
7155
|
+
head?: never;
|
|
7156
|
+
patch?: never;
|
|
7157
|
+
trace?: never;
|
|
7158
|
+
};
|
|
7095
7159
|
"/integrations/freshdesk/settings": {
|
|
7096
7160
|
parameters: {
|
|
7097
7161
|
query?: never;
|
|
@@ -7945,6 +8009,29 @@ export interface components {
|
|
|
7945
8009
|
};
|
|
7946
8010
|
/** @enum {string} */
|
|
7947
8011
|
MessageOptionType: "text" | "workflow";
|
|
8012
|
+
OfficeHoursExceptionDto: {
|
|
8013
|
+
name: string;
|
|
8014
|
+
/**
|
|
8015
|
+
* Format: date-time
|
|
8016
|
+
* @description Inclusive local start, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
|
|
8017
|
+
*/
|
|
8018
|
+
starts_at: string;
|
|
8019
|
+
/**
|
|
8020
|
+
* Format: date-time
|
|
8021
|
+
* @description Exclusive local end, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
|
|
8022
|
+
*/
|
|
8023
|
+
ends_at: string;
|
|
8024
|
+
/**
|
|
8025
|
+
* @description Holiday and closed periods override opening hours. Holiday takes precedence.
|
|
8026
|
+
* @enum {string}
|
|
8027
|
+
*/
|
|
8028
|
+
kind: "holiday" | "closed" | "open";
|
|
8029
|
+
/**
|
|
8030
|
+
* @description Repeat on the same month and day each year, starting in the specified year
|
|
8031
|
+
* @default false
|
|
8032
|
+
*/
|
|
8033
|
+
repeat_yearly: boolean;
|
|
8034
|
+
};
|
|
7948
8035
|
SalesforceReplyTemplateRules: {
|
|
7949
8036
|
conditions: ({
|
|
7950
8037
|
/** @constant */
|
|
@@ -7989,29 +8076,6 @@ export interface components {
|
|
|
7989
8076
|
/** @description To address of the AI agent's autopilot Case email: a literal address, a {{session attribute}} such as {{reservation_email}}, or an {{#if …}} branch, resolved per session. Used only when it resolves to an email address; otherwise the Case contact's address applies. Empty or null clears it. */
|
|
7990
8077
|
to_address?: string | null;
|
|
7991
8078
|
};
|
|
7992
|
-
OfficeHoursExceptionDto: {
|
|
7993
|
-
name: string;
|
|
7994
|
-
/**
|
|
7995
|
-
* Format: date-time
|
|
7996
|
-
* @description Inclusive local start, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
|
|
7997
|
-
*/
|
|
7998
|
-
starts_at: string;
|
|
7999
|
-
/**
|
|
8000
|
-
* Format: date-time
|
|
8001
|
-
* @description Exclusive local end, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
|
|
8002
|
-
*/
|
|
8003
|
-
ends_at: string;
|
|
8004
|
-
/**
|
|
8005
|
-
* @description Holiday and closed periods override opening hours. Holiday takes precedence.
|
|
8006
|
-
* @enum {string}
|
|
8007
|
-
*/
|
|
8008
|
-
kind: "holiday" | "closed" | "open";
|
|
8009
|
-
/**
|
|
8010
|
-
* @description Repeat on the same month and day each year, starting in the specified year
|
|
8011
|
-
* @default false
|
|
8012
|
-
*/
|
|
8013
|
-
repeat_yearly: boolean;
|
|
8014
|
-
};
|
|
8015
8079
|
CreateSlaPolicyDto: {
|
|
8016
8080
|
name: string;
|
|
8017
8081
|
office_hours_id?: string | null;
|
|
@@ -10303,7 +10367,7 @@ export interface components {
|
|
|
10303
10367
|
* @description Voice provider returned by the /phone/voices endpoint. It is inferred from voice_id when omitted.
|
|
10304
10368
|
* @enum {string}
|
|
10305
10369
|
*/
|
|
10306
|
-
tts_provider?: "elevenlabs" | "cartesia";
|
|
10370
|
+
tts_provider?: "elevenlabs" | "cartesia" | "hamsa";
|
|
10307
10371
|
/** @description ISO-639-1 language codes the agent should speak. Supported languages can be combined; Arabic accepts dialect tags such as "ar-SA". */
|
|
10308
10372
|
language?: string[];
|
|
10309
10373
|
/** @description What the agent says when it picks up (default: "Hello?") */
|
|
@@ -10337,7 +10401,7 @@ export interface components {
|
|
|
10337
10401
|
* @description Voice provider returned by the /phone/voices endpoint. It is inferred from voice_id when omitted.
|
|
10338
10402
|
* @enum {string}
|
|
10339
10403
|
*/
|
|
10340
|
-
tts_provider?: "elevenlabs" | "cartesia";
|
|
10404
|
+
tts_provider?: "elevenlabs" | "cartesia" | "hamsa";
|
|
10341
10405
|
/** @description ISO-639-1 language codes the agent should speak. Supported languages can be combined; Arabic accepts dialect tags such as "ar-SA". */
|
|
10342
10406
|
language?: string[];
|
|
10343
10407
|
/** @description What the agent says when it picks up (default: "Hello?") */
|
|
@@ -12239,7 +12303,7 @@ export interface components {
|
|
|
12239
12303
|
};
|
|
12240
12304
|
PhoneAgentVoiceDto: {
|
|
12241
12305
|
/** @enum {string} */
|
|
12242
|
-
provider: "elevenlabs" | "cartesia" | "vapi" | "live";
|
|
12306
|
+
provider: "elevenlabs" | "cartesia" | "hamsa" | "vapi" | "live";
|
|
12243
12307
|
/** @enum {string} */
|
|
12244
12308
|
voice_mode: "modular" | "live";
|
|
12245
12309
|
voice_id: string;
|
|
@@ -15726,7 +15790,7 @@ export interface components {
|
|
|
15726
15790
|
};
|
|
15727
15791
|
InvestigationTicketingSystem: {
|
|
15728
15792
|
/** @enum {string} */
|
|
15729
|
-
name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
15793
|
+
name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "genesys" | "gorgias" | "hubspot" | "infobip" | "intercom" | "jira_service_management" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
15730
15794
|
external_id: string;
|
|
15731
15795
|
/** @enum {string} */
|
|
15732
15796
|
id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
|
|
@@ -15932,7 +15996,7 @@ export interface components {
|
|
|
15932
15996
|
};
|
|
15933
15997
|
ticketing_system?: {
|
|
15934
15998
|
/** @enum {string} */
|
|
15935
|
-
name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
15999
|
+
name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "genesys" | "gorgias" | "hubspot" | "infobip" | "intercom" | "jira_service_management" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
15936
16000
|
external_id: string;
|
|
15937
16001
|
/** @enum {string} */
|
|
15938
16002
|
id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
|
|
@@ -16024,7 +16088,7 @@ export interface components {
|
|
|
16024
16088
|
};
|
|
16025
16089
|
ticketing_system?: {
|
|
16026
16090
|
/** @enum {string} */
|
|
16027
|
-
name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
16091
|
+
name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "genesys" | "gorgias" | "hubspot" | "infobip" | "intercom" | "jira_service_management" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
16028
16092
|
external_id: string;
|
|
16029
16093
|
/** @enum {string} */
|
|
16030
16094
|
id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
|
|
@@ -17109,7 +17173,7 @@ export interface components {
|
|
|
17109
17173
|
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;
|
|
17110
17174
|
tts_speed_pct: number | null;
|
|
17111
17175
|
/** @enum {string} */
|
|
17112
|
-
tts_provider: "elevenlabs" | "cartesia";
|
|
17176
|
+
tts_provider: "elevenlabs" | "cartesia" | "hamsa";
|
|
17113
17177
|
failover_transfer_destination_id: string | null;
|
|
17114
17178
|
/** @description Transfer destinations the agent may transfer to (`transfer_call` targets). */
|
|
17115
17179
|
transfer_destination_ids: string[];
|
|
@@ -17815,6 +17879,55 @@ export interface components {
|
|
|
17815
17879
|
display_name: string | null;
|
|
17816
17880
|
}[];
|
|
17817
17881
|
};
|
|
17882
|
+
GenesysSettingsEnvelopeDto: {
|
|
17883
|
+
/** @description Whether Genesys Cloud is connected for the organization */
|
|
17884
|
+
connected: boolean;
|
|
17885
|
+
settings: {
|
|
17886
|
+
/** @enum {string} */
|
|
17887
|
+
region: "mypurecloud.com" | "use2.us-gov-pure.cloud" | "usw2.pure.cloud" | "cac1.pure.cloud" | "mypurecloud.ie" | "euw2.pure.cloud" | "mypurecloud.de" | "euc2.pure.cloud" | "aps1.pure.cloud" | "mypurecloud.jp" | "apne2.pure.cloud" | "apne3.pure.cloud" | "mypurecloud.com.au" | "sae1.pure.cloud" | "mec1.pure.cloud";
|
|
17888
|
+
client_id: string;
|
|
17889
|
+
genesys_org_id: string;
|
|
17890
|
+
genesys_org_name: string | null;
|
|
17891
|
+
/** @enum {string} */
|
|
17892
|
+
auth_mode: "manual" | "oauth_provisioned";
|
|
17893
|
+
enabled: boolean;
|
|
17894
|
+
live: boolean;
|
|
17895
|
+
current_ticketing_system: string | null;
|
|
17896
|
+
needs_reconnect: boolean;
|
|
17897
|
+
open_messaging_integration_id: string | null;
|
|
17898
|
+
default_queue_id: string | null;
|
|
17899
|
+
/** @enum {string} */
|
|
17900
|
+
handoff_target: "genesys_routing" | "queue" | "agent";
|
|
17901
|
+
handoff_agent_id: string | null;
|
|
17902
|
+
/** @enum {string} */
|
|
17903
|
+
on_conversation_end: "close" | "return_to_ai";
|
|
17904
|
+
/** @enum {string} */
|
|
17905
|
+
no_agents_policy: "handoff_anyway" | "stay_with_ai" | "create_workitem";
|
|
17906
|
+
default_wrapup_code_id: string | null;
|
|
17907
|
+
/** @enum {string} */
|
|
17908
|
+
workitem_mode: "never" | "on_handoff" | "email_sessions" | "all_sessions";
|
|
17909
|
+
workitem_worktype_id: string | null;
|
|
17910
|
+
/** @enum {string} */
|
|
17911
|
+
presence_sync: "off" | "inbound" | "two_way";
|
|
17912
|
+
native_email: {
|
|
17913
|
+
enabled: boolean;
|
|
17914
|
+
queue_id: string | null;
|
|
17915
|
+
human_queue_id: string | null;
|
|
17916
|
+
/** @enum {string} */
|
|
17917
|
+
reply_mode: "agentless" | "opencx_direct";
|
|
17918
|
+
from_address: string | null;
|
|
17919
|
+
};
|
|
17920
|
+
native_messaging: {
|
|
17921
|
+
enabled: boolean;
|
|
17922
|
+
connector_url: string | null;
|
|
17923
|
+
secret_header: string;
|
|
17924
|
+
};
|
|
17925
|
+
smart_routing: boolean;
|
|
17926
|
+
resume_ai_after_wrapup: boolean;
|
|
17927
|
+
/** @enum {string} */
|
|
17928
|
+
wrapup_suggestion_mode: "off" | "suggest" | "provisional";
|
|
17929
|
+
} | null;
|
|
17930
|
+
};
|
|
17818
17931
|
FreshdeskSettingsEnvelopeDto: {
|
|
17819
17932
|
/** @description Whether Freshdesk is connected for the organization */
|
|
17820
17933
|
connected: boolean;
|
|
@@ -18268,6 +18381,91 @@ export interface components {
|
|
|
18268
18381
|
DeleteHelpCenterArticleOutput: {
|
|
18269
18382
|
success: boolean;
|
|
18270
18383
|
};
|
|
18384
|
+
GenesysQueuesDto: {
|
|
18385
|
+
connected: boolean;
|
|
18386
|
+
queues: {
|
|
18387
|
+
genesys_id: string;
|
|
18388
|
+
name: string;
|
|
18389
|
+
active: boolean;
|
|
18390
|
+
mapped_to: {
|
|
18391
|
+
id: string;
|
|
18392
|
+
name: string;
|
|
18393
|
+
} | null;
|
|
18394
|
+
}[];
|
|
18395
|
+
};
|
|
18396
|
+
GenesysHealthEnvelopeDto: {
|
|
18397
|
+
connected: boolean;
|
|
18398
|
+
health: {
|
|
18399
|
+
/** @enum {string} */
|
|
18400
|
+
status: "healthy" | "degraded" | "needs_reconnect";
|
|
18401
|
+
checked_at: string | null;
|
|
18402
|
+
signals: {
|
|
18403
|
+
/** @enum {string} */
|
|
18404
|
+
key: "handoff_failures" | "relay_failures" | "call_recordings" | "webhook" | "poll" | "token" | "drift" | "directory" | "threading";
|
|
18405
|
+
/** @enum {string} */
|
|
18406
|
+
status: "ok" | "warn" | "error";
|
|
18407
|
+
at: string | null;
|
|
18408
|
+
value: number | null;
|
|
18409
|
+
code: string | null;
|
|
18410
|
+
fix_step: ("messaging" | "flow" | "threading" | "directory") | null;
|
|
18411
|
+
}[];
|
|
18412
|
+
slos: {
|
|
18413
|
+
/** @enum {string} */
|
|
18414
|
+
key: "handoff_delivery" | "inbound_processing" | "request_budget";
|
|
18415
|
+
target: number;
|
|
18416
|
+
actual: number | null;
|
|
18417
|
+
/** @enum {string} */
|
|
18418
|
+
status: "met" | "breached" | "no_data";
|
|
18419
|
+
good: number;
|
|
18420
|
+
total: number;
|
|
18421
|
+
window_hours: number;
|
|
18422
|
+
}[];
|
|
18423
|
+
governor: {
|
|
18424
|
+
/** @enum {string} */
|
|
18425
|
+
status: "ok" | "throttled" | "circuit_open";
|
|
18426
|
+
budget_per_minute: number;
|
|
18427
|
+
used_in_window: number;
|
|
18428
|
+
paused_until: string | null;
|
|
18429
|
+
circuit_open_until: string | null;
|
|
18430
|
+
requests_24h: number;
|
|
18431
|
+
rate_limited_24h: number;
|
|
18432
|
+
server_errors_24h: number;
|
|
18433
|
+
circuit_opened_24h: number;
|
|
18434
|
+
top_rate_limited_endpoints: {
|
|
18435
|
+
endpoint: string;
|
|
18436
|
+
count: number;
|
|
18437
|
+
}[];
|
|
18438
|
+
};
|
|
18439
|
+
reconnect: {
|
|
18440
|
+
required: boolean;
|
|
18441
|
+
since: string | null;
|
|
18442
|
+
action: ("reconnect_oauth" | "update_credentials") | null;
|
|
18443
|
+
};
|
|
18444
|
+
drift: {
|
|
18445
|
+
codes: string[];
|
|
18446
|
+
repair_steps: ("messaging" | "flow" | "threading")[];
|
|
18447
|
+
last_repair: {
|
|
18448
|
+
at: string;
|
|
18449
|
+
/** @enum {string} */
|
|
18450
|
+
trigger: "auto" | "manual";
|
|
18451
|
+
results: {
|
|
18452
|
+
/** @enum {string} */
|
|
18453
|
+
step: "messaging" | "flow" | "threading";
|
|
18454
|
+
status: string;
|
|
18455
|
+
code: string | null;
|
|
18456
|
+
}[];
|
|
18457
|
+
} | null;
|
|
18458
|
+
};
|
|
18459
|
+
expired_events: {
|
|
18460
|
+
count: number;
|
|
18461
|
+
oldest_at: string | null;
|
|
18462
|
+
};
|
|
18463
|
+
region: string;
|
|
18464
|
+
secrets: {
|
|
18465
|
+
messaging_secret_rotation_grace_until: string | null;
|
|
18466
|
+
};
|
|
18467
|
+
} | null;
|
|
18468
|
+
};
|
|
18271
18469
|
ErrorDto: {
|
|
18272
18470
|
statusCode?: number;
|
|
18273
18471
|
message?: string;
|
|
@@ -18635,10 +18833,10 @@ export interface operations {
|
|
|
18635
18833
|
query?: {
|
|
18636
18834
|
startDate?: string;
|
|
18637
18835
|
endDate?: string;
|
|
18638
|
-
/** @description Repeat to match any of several. Known values: organization, chat_session, custom_session_status, chat_history, consumer, user, group, group_user, role, user_role, skill, user_skills, action, workflow, flow_variable, api_key, openapi_spec, twilio_credential, twitter_account, sunshine_integration, shopify_settings, airbyte_connection, email_channel, custom_domain, sequence, outbound_email, help_center, help_center_category, help_center_article, ai_instruction, website_data_source, pdf_data_source, ai_phone_agent, call_history, teammate_call, analytics, voc_insight, ai_evaluation, organization_model_version, organization_tags_definition, organization_draft_mode_settings, webhook_endpoint, agent_availability, csat_score, csat_settings, agent_assignment_settings, ai_context_custom_data_filters, alert_rule, pii_redaction_settings, security_notification_settings, mini_app, mini_app_version, mcp_server, mcp_connection, organization_secret, saved_reply_translation. */
|
|
18836
|
+
/** @description Repeat to match any of several. Known values: organization, chat_session, custom_session_status, chat_history, consumer, user, group, group_user, role, user_role, skill, user_skills, action, workflow, flow_variable, api_key, openapi_spec, twilio_credential, twitter_account, sunshine_integration, genesys_integration, shopify_settings, airbyte_connection, email_channel, custom_domain, sequence, outbound_email, help_center, help_center_category, help_center_article, ai_instruction, website_data_source, pdf_data_source, ai_phone_agent, call_history, teammate_call, analytics, voc_insight, ai_evaluation, organization_model_version, organization_tags_definition, organization_draft_mode_settings, webhook_endpoint, agent_availability, csat_score, csat_settings, agent_assignment_settings, ai_context_custom_data_filters, alert_rule, pii_redaction_settings, security_notification_settings, mini_app, mini_app_version, mcp_server, mcp_connection, organization_secret, saved_reply_translation. */
|
|
18639
18837
|
entityType?: string | string[];
|
|
18640
18838
|
entityId?: string;
|
|
18641
|
-
/** @description Repeat to match any of several. Known values: create, update, delete, archive, restore, delete_multiple, unpublish, login, logout, password_change, password_reset, token_create, token_revoke, settings_update, handoff_settings_update, translation_settings_update, integration_connect, mcp_tool_call, access_token_retrieved, integration_disconnect, webhook_create, webhook_update, webhook_delete, permission_grant, permission_revoke, api_key_create, api_key_delete, twitter_chat_passcode_reveal, user_invite, user_invite_accept, user_remove, email_send, message_send, teammate_call_started, teammate_call_ended, conference_participant_invited, conference_participant_removed, session_takeover, session_assignee_update, organization_update, organization_ai_profile_update, organization_global_variable_delete, update_agent_availability_status, redaction, message_deleted, user_invite_delete, user_invite_resend, user_invite_link_copied, alert_rule.created, alert_rule.updated, alert_rule.deleted, publish, share. */
|
|
18839
|
+
/** @description Repeat to match any of several. Known values: create, update, delete, archive, restore, delete_multiple, unpublish, login, logout, password_change, password_reset, token_create, token_revoke, settings_update, handoff_settings_update, translation_settings_update, integration_connect, mcp_tool_call, access_token_retrieved, integration_disconnect, secret_rotate, webhook_create, webhook_update, webhook_delete, permission_grant, permission_revoke, api_key_create, api_key_delete, twitter_chat_passcode_reveal, user_invite, user_invite_accept, user_remove, email_send, message_send, teammate_call_started, teammate_call_ended, conference_participant_invited, conference_participant_removed, session_takeover, session_assignee_update, organization_update, organization_ai_profile_update, organization_global_variable_delete, update_agent_availability_status, redaction, message_deleted, user_invite_delete, user_invite_resend, user_invite_link_copied, alert_rule.created, alert_rule.updated, alert_rule.deleted, publish, share. */
|
|
18642
18840
|
eventType?: string | string[];
|
|
18643
18841
|
/** @description Repeat to match any of several. */
|
|
18644
18842
|
eventCategory?: ("access" | "agent_availability" | "communication" | "configuration" | "data" | "security") | ("access" | "agent_availability" | "communication" | "configuration" | "data" | "security")[];
|
|
@@ -32895,6 +33093,131 @@ export interface operations {
|
|
|
32895
33093
|
};
|
|
32896
33094
|
};
|
|
32897
33095
|
};
|
|
33096
|
+
getGenesysSettings: {
|
|
33097
|
+
parameters: {
|
|
33098
|
+
query?: never;
|
|
33099
|
+
header?: never;
|
|
33100
|
+
path?: never;
|
|
33101
|
+
cookie?: never;
|
|
33102
|
+
};
|
|
33103
|
+
requestBody?: never;
|
|
33104
|
+
responses: {
|
|
33105
|
+
/** @description Default Response */
|
|
33106
|
+
200: {
|
|
33107
|
+
headers: {
|
|
33108
|
+
[name: string]: unknown;
|
|
33109
|
+
};
|
|
33110
|
+
content: {
|
|
33111
|
+
"application/json": components["schemas"]["GenesysSettingsEnvelopeDto"];
|
|
33112
|
+
};
|
|
33113
|
+
};
|
|
33114
|
+
/** @description Internal Server Error */
|
|
33115
|
+
500: {
|
|
33116
|
+
headers: {
|
|
33117
|
+
[name: string]: unknown;
|
|
33118
|
+
};
|
|
33119
|
+
content: {
|
|
33120
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
33121
|
+
};
|
|
33122
|
+
};
|
|
33123
|
+
};
|
|
33124
|
+
};
|
|
33125
|
+
updateGenesysSettings: {
|
|
33126
|
+
parameters: {
|
|
33127
|
+
query?: never;
|
|
33128
|
+
header?: never;
|
|
33129
|
+
path?: never;
|
|
33130
|
+
cookie?: never;
|
|
33131
|
+
};
|
|
33132
|
+
requestBody: {
|
|
33133
|
+
content: {
|
|
33134
|
+
"application/json": {
|
|
33135
|
+
smart_routing?: boolean;
|
|
33136
|
+
resume_ai_after_wrapup?: boolean;
|
|
33137
|
+
/** @enum {string} */
|
|
33138
|
+
wrapup_suggestion_mode?: "off" | "suggest" | "provisional";
|
|
33139
|
+
};
|
|
33140
|
+
};
|
|
33141
|
+
};
|
|
33142
|
+
responses: {
|
|
33143
|
+
/** @description Default Response */
|
|
33144
|
+
200: {
|
|
33145
|
+
headers: {
|
|
33146
|
+
[name: string]: unknown;
|
|
33147
|
+
};
|
|
33148
|
+
content: {
|
|
33149
|
+
"application/json": components["schemas"]["GenesysSettingsEnvelopeDto"];
|
|
33150
|
+
};
|
|
33151
|
+
};
|
|
33152
|
+
/** @description Internal Server Error */
|
|
33153
|
+
500: {
|
|
33154
|
+
headers: {
|
|
33155
|
+
[name: string]: unknown;
|
|
33156
|
+
};
|
|
33157
|
+
content: {
|
|
33158
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
33159
|
+
};
|
|
33160
|
+
};
|
|
33161
|
+
};
|
|
33162
|
+
};
|
|
33163
|
+
listGenesysQueues: {
|
|
33164
|
+
parameters: {
|
|
33165
|
+
query?: never;
|
|
33166
|
+
header?: never;
|
|
33167
|
+
path?: never;
|
|
33168
|
+
cookie?: never;
|
|
33169
|
+
};
|
|
33170
|
+
requestBody?: never;
|
|
33171
|
+
responses: {
|
|
33172
|
+
/** @description Default Response */
|
|
33173
|
+
200: {
|
|
33174
|
+
headers: {
|
|
33175
|
+
[name: string]: unknown;
|
|
33176
|
+
};
|
|
33177
|
+
content: {
|
|
33178
|
+
"application/json": components["schemas"]["GenesysQueuesDto"];
|
|
33179
|
+
};
|
|
33180
|
+
};
|
|
33181
|
+
/** @description Internal Server Error */
|
|
33182
|
+
500: {
|
|
33183
|
+
headers: {
|
|
33184
|
+
[name: string]: unknown;
|
|
33185
|
+
};
|
|
33186
|
+
content: {
|
|
33187
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
33188
|
+
};
|
|
33189
|
+
};
|
|
33190
|
+
};
|
|
33191
|
+
};
|
|
33192
|
+
getGenesysHealth: {
|
|
33193
|
+
parameters: {
|
|
33194
|
+
query?: never;
|
|
33195
|
+
header?: never;
|
|
33196
|
+
path?: never;
|
|
33197
|
+
cookie?: never;
|
|
33198
|
+
};
|
|
33199
|
+
requestBody?: never;
|
|
33200
|
+
responses: {
|
|
33201
|
+
/** @description Default Response */
|
|
33202
|
+
200: {
|
|
33203
|
+
headers: {
|
|
33204
|
+
[name: string]: unknown;
|
|
33205
|
+
};
|
|
33206
|
+
content: {
|
|
33207
|
+
"application/json": components["schemas"]["GenesysHealthEnvelopeDto"];
|
|
33208
|
+
};
|
|
33209
|
+
};
|
|
33210
|
+
/** @description Internal Server Error */
|
|
33211
|
+
500: {
|
|
33212
|
+
headers: {
|
|
33213
|
+
[name: string]: unknown;
|
|
33214
|
+
};
|
|
33215
|
+
content: {
|
|
33216
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
33217
|
+
};
|
|
33218
|
+
};
|
|
33219
|
+
};
|
|
33220
|
+
};
|
|
32898
33221
|
getFreshdeskSettings: {
|
|
32899
33222
|
parameters: {
|
|
32900
33223
|
query?: never;
|