@opencx/mcp 1.15.62 → 1.15.63
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 +363 -3
- package/dist/schema.d.ts.map +1 -1
- package/dist/tools/macros.d.ts.map +1 -1
- package/dist/tools/macros.js +88 -2
- package/dist/tools/macros.js.map +1 -1
- package/dist/tools/macros.spec.js +101 -1
- package/dist/tools/macros.spec.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2115,6 +2115,50 @@ export interface paths {
|
|
|
2115
2115
|
patch?: never;
|
|
2116
2116
|
trace?: never;
|
|
2117
2117
|
};
|
|
2118
|
+
"/macros/suggestion-insights": {
|
|
2119
|
+
parameters: {
|
|
2120
|
+
query?: never;
|
|
2121
|
+
header?: never;
|
|
2122
|
+
path?: never;
|
|
2123
|
+
cookie?: never;
|
|
2124
|
+
};
|
|
2125
|
+
/**
|
|
2126
|
+
* List macro suggestion insights
|
|
2127
|
+
* @description How each org-wide macro is doing as a suggestion over the last 30 days: how often it was shown, used from the suggestions, or reached for by search instead, and the state it is in (`learning`, `steady`, `proven`, `muted`, or `off` when the macro is excluded or suggestions are off). Pass `include_weekly=true` for 12 weekly counts per macro. Macros excluded from suggestions with no activity in the last 30 days are left out.
|
|
2128
|
+
*/
|
|
2129
|
+
get: operations["listMacroSuggestionInsights"];
|
|
2130
|
+
put?: never;
|
|
2131
|
+
post?: never;
|
|
2132
|
+
delete?: never;
|
|
2133
|
+
options?: never;
|
|
2134
|
+
head?: never;
|
|
2135
|
+
patch?: never;
|
|
2136
|
+
trace?: never;
|
|
2137
|
+
};
|
|
2138
|
+
"/macros/settings": {
|
|
2139
|
+
parameters: {
|
|
2140
|
+
query?: never;
|
|
2141
|
+
header?: never;
|
|
2142
|
+
path?: never;
|
|
2143
|
+
cookie?: never;
|
|
2144
|
+
};
|
|
2145
|
+
/**
|
|
2146
|
+
* Get macro settings
|
|
2147
|
+
* @description The macro settings: the languages every org-wide macro is translated into (`translation_languages`, empty when translation is off), the most that can be chosen, the language codes that can be chosen, and whether suggested macros are on for the workspace.
|
|
2148
|
+
*/
|
|
2149
|
+
get: operations["getMacroSettings"];
|
|
2150
|
+
/**
|
|
2151
|
+
* Update macro settings
|
|
2152
|
+
* @description Choose the languages every org-wide macro is translated into. Choosing a language translates every org-wide macro into it; languages that are already chosen are not translated again. Translations are read-only generated copies: edit the macro and they refresh. Variables are never translated. Whether suggested macros are on for the workspace is read-only here (`suggestions_enabled` in the response); it is changed in Settings → Workspace. Returns the new settings.
|
|
2153
|
+
*/
|
|
2154
|
+
put: operations["updateMacroSettings"];
|
|
2155
|
+
post?: never;
|
|
2156
|
+
delete?: never;
|
|
2157
|
+
options?: never;
|
|
2158
|
+
head?: never;
|
|
2159
|
+
patch?: never;
|
|
2160
|
+
trace?: never;
|
|
2161
|
+
};
|
|
2118
2162
|
"/macros/{id}": {
|
|
2119
2163
|
parameters: {
|
|
2120
2164
|
query?: never;
|
|
@@ -2143,6 +2187,66 @@ export interface paths {
|
|
|
2143
2187
|
patch: operations["updateMacro"];
|
|
2144
2188
|
trace?: never;
|
|
2145
2189
|
};
|
|
2190
|
+
"/macros/{id}/suggestion-insights": {
|
|
2191
|
+
parameters: {
|
|
2192
|
+
query?: never;
|
|
2193
|
+
header?: never;
|
|
2194
|
+
path?: never;
|
|
2195
|
+
cookie?: never;
|
|
2196
|
+
};
|
|
2197
|
+
/**
|
|
2198
|
+
* Get macro suggestion insights
|
|
2199
|
+
* @description How one org-wide macro is doing as a suggestion over the last 30 days, with 12 weekly counts: shown, used from the suggestions, reached for by search instead, hit rate, the bar it has to clear, and its state (`learning`, `steady`, `proven`, `muted`, or `off`).
|
|
2200
|
+
*/
|
|
2201
|
+
get: operations["getMacroSuggestionInsights"];
|
|
2202
|
+
put?: never;
|
|
2203
|
+
post?: never;
|
|
2204
|
+
delete?: never;
|
|
2205
|
+
options?: never;
|
|
2206
|
+
head?: never;
|
|
2207
|
+
patch?: never;
|
|
2208
|
+
trace?: never;
|
|
2209
|
+
};
|
|
2210
|
+
"/macros/{id}/translations": {
|
|
2211
|
+
parameters: {
|
|
2212
|
+
query?: never;
|
|
2213
|
+
header?: never;
|
|
2214
|
+
path?: never;
|
|
2215
|
+
cookie?: never;
|
|
2216
|
+
};
|
|
2217
|
+
/**
|
|
2218
|
+
* Get macro translations
|
|
2219
|
+
* @description One org-wide macro's translation into each selected language: its `status` (`ready`, `pending` while it is being translated or after the macro changed, or `failed`) and the translated `title`, `content` and option labels, which are empty until the translation is ready. `source_language` is the language the macro itself is written in, which gets no translation. Translations are read-only generated copies: edit the macro and they refresh. Personal macros are not included.
|
|
2220
|
+
*/
|
|
2221
|
+
get: operations["getMacroTranslations"];
|
|
2222
|
+
put?: never;
|
|
2223
|
+
post?: never;
|
|
2224
|
+
delete?: never;
|
|
2225
|
+
options?: never;
|
|
2226
|
+
head?: never;
|
|
2227
|
+
patch?: never;
|
|
2228
|
+
trace?: never;
|
|
2229
|
+
};
|
|
2230
|
+
"/macros/{id}/translations/retranslate": {
|
|
2231
|
+
parameters: {
|
|
2232
|
+
query?: never;
|
|
2233
|
+
header?: never;
|
|
2234
|
+
path?: never;
|
|
2235
|
+
cookie?: never;
|
|
2236
|
+
};
|
|
2237
|
+
get?: never;
|
|
2238
|
+
put?: never;
|
|
2239
|
+
/**
|
|
2240
|
+
* Retranslate a macro
|
|
2241
|
+
* @description Translate one org-wide macro again into the listed languages, or into every selected language when `languages` is left out (failed ones included). Send `{}` to redo every selected language. Returns the languages now waiting. Fails with 400 when no translation languages are selected (see `updateMacroSettings`), when a listed language is not one of them, or when the macro has no translation in a listed language (such as its own).
|
|
2242
|
+
*/
|
|
2243
|
+
post: operations["retranslateMacro"];
|
|
2244
|
+
delete?: never;
|
|
2245
|
+
options?: never;
|
|
2246
|
+
head?: never;
|
|
2247
|
+
patch?: never;
|
|
2248
|
+
trace?: never;
|
|
2249
|
+
};
|
|
2146
2250
|
"/skills": {
|
|
2147
2251
|
parameters: {
|
|
2148
2252
|
query?: never;
|
|
@@ -7052,6 +7156,9 @@ export interface components {
|
|
|
7052
7156
|
} | null;
|
|
7053
7157
|
/** @enum {string} */
|
|
7054
7158
|
PhoneHandoffReason: "ai_initiated" | "no_agent_assigned" | "agent_unavailable" | "caller_requested" | "timeout" | "unknown";
|
|
7159
|
+
RetranslateMacroDto: {
|
|
7160
|
+
languages?: string[];
|
|
7161
|
+
};
|
|
7055
7162
|
CreateStructuredFieldGroupDto: {
|
|
7056
7163
|
name: string;
|
|
7057
7164
|
description?: string | null;
|
|
@@ -8795,6 +8902,10 @@ export interface components {
|
|
|
8795
8902
|
*/
|
|
8796
8903
|
region?: "eu-west-1" | "us-east-1";
|
|
8797
8904
|
};
|
|
8905
|
+
UpdateMacroSettingsDto: {
|
|
8906
|
+
/** @description The full list of language codes (lower-case, such as `es`; at most 10, each from `supported_translation_languages`, no repeats) to translate every org-wide macro into. It replaces the current list, so send every language you want to keep. `[]` turns macro translation off. */
|
|
8907
|
+
translation_languages: string[];
|
|
8908
|
+
};
|
|
8798
8909
|
CreateOfficeHoursPublicDto: {
|
|
8799
8910
|
/** @description Schedule name (e.g. "Business Hours", "Weekend Support") */
|
|
8800
8911
|
name: string;
|
|
@@ -9456,6 +9567,8 @@ export interface components {
|
|
|
9456
9567
|
content: string;
|
|
9457
9568
|
/** @description Up to 3 options the customer can tap instead of typing, sent with the macro on channels that show them. Each `label` is up to 20 characters. `type` is `text` (the tap reaches the session as the customer's reply) or `workflow` (the tap runs the macro's Macro Option Clicked workflows and the AI doesn't reply). This is the full list: on update, pass an existing option's `id` to keep it (workflows branching on that id keep working); options left out are removed, `[]` removes all, and omitting the field leaves them untouched. A macro with options needs body text. */
|
|
9458
9569
|
options?: components["schemas"]["MacroOptionInputDto"][];
|
|
9570
|
+
/** @description When true, this macro is never suggested to agents. They can still search for it and use it. Defaults to false. */
|
|
9571
|
+
exclude_from_suggestions?: boolean;
|
|
9459
9572
|
};
|
|
9460
9573
|
UpdateMacroInput: {
|
|
9461
9574
|
category?: string;
|
|
@@ -9464,6 +9577,8 @@ export interface components {
|
|
|
9464
9577
|
content?: string;
|
|
9465
9578
|
/** @description Up to 3 options the customer can tap instead of typing, sent with the macro on channels that show them. Each `label` is up to 20 characters. `type` is `text` (the tap reaches the session as the customer's reply) or `workflow` (the tap runs the macro's Macro Option Clicked workflows and the AI doesn't reply). This is the full list: on update, pass an existing option's `id` to keep it (workflows branching on that id keep working); options left out are removed, `[]` removes all, and omitting the field leaves them untouched. A macro with options needs body text. */
|
|
9466
9579
|
options?: components["schemas"]["MacroOptionInputDto"][];
|
|
9580
|
+
/** @description When true, this macro is never suggested to agents. They can still search for it and use it. */
|
|
9581
|
+
exclude_from_suggestions?: boolean;
|
|
9467
9582
|
};
|
|
9468
9583
|
UpsertTagInputDto: {
|
|
9469
9584
|
/** @description Tag name (e.g. "billing", "refund", "feature-request") */
|
|
@@ -10405,6 +10520,26 @@ export interface components {
|
|
|
10405
10520
|
customDataKeys?: string[];
|
|
10406
10521
|
}[];
|
|
10407
10522
|
};
|
|
10523
|
+
MacroTranslationsDto: {
|
|
10524
|
+
saved_reply_id: string;
|
|
10525
|
+
source_language: string | null;
|
|
10526
|
+
items: {
|
|
10527
|
+
language: string;
|
|
10528
|
+
/** @enum {string} */
|
|
10529
|
+
status: "pending" | "ready" | "failed";
|
|
10530
|
+
title: string;
|
|
10531
|
+
content: string;
|
|
10532
|
+
options: {
|
|
10533
|
+
id: string;
|
|
10534
|
+
label: string;
|
|
10535
|
+
}[];
|
|
10536
|
+
/** Format: date-time */
|
|
10537
|
+
updated_at: string;
|
|
10538
|
+
}[];
|
|
10539
|
+
};
|
|
10540
|
+
RetranslateMacroResponseDto: {
|
|
10541
|
+
queued_languages: string[];
|
|
10542
|
+
};
|
|
10408
10543
|
StructuredFieldGroupDto: {
|
|
10409
10544
|
/** Format: uuid */
|
|
10410
10545
|
id: string;
|
|
@@ -10483,6 +10618,7 @@ export interface components {
|
|
|
10483
10618
|
user_id: number | null;
|
|
10484
10619
|
overrides_saved_reply_id: string | null;
|
|
10485
10620
|
exclude_from_suggestions: boolean;
|
|
10621
|
+
source_language: string | null;
|
|
10486
10622
|
/** Format: date-time */
|
|
10487
10623
|
created_at: string;
|
|
10488
10624
|
/** Format: date-time */
|
|
@@ -11328,6 +11464,27 @@ export interface components {
|
|
|
11328
11464
|
/** Format: date-time */
|
|
11329
11465
|
updated_at: string;
|
|
11330
11466
|
};
|
|
11467
|
+
MacroSuggestionInsightsDto: {
|
|
11468
|
+
saved_reply_id: string;
|
|
11469
|
+
/** @constant */
|
|
11470
|
+
window_days: 30;
|
|
11471
|
+
/** @enum {string} */
|
|
11472
|
+
state: "off" | "learning" | "proven" | "steady" | "muted";
|
|
11473
|
+
shown: number;
|
|
11474
|
+
applied: number;
|
|
11475
|
+
missed: number;
|
|
11476
|
+
hit_rate: number | null;
|
|
11477
|
+
threshold: number;
|
|
11478
|
+
weekly: {
|
|
11479
|
+
week_start: string;
|
|
11480
|
+
shown: number;
|
|
11481
|
+
applied: number;
|
|
11482
|
+
missed: number;
|
|
11483
|
+
}[];
|
|
11484
|
+
};
|
|
11485
|
+
MacroSuggestionInsightsListDto: {
|
|
11486
|
+
items: components["schemas"]["MacroSuggestionInsightsDto"][];
|
|
11487
|
+
};
|
|
11331
11488
|
/** @enum {string} */
|
|
11332
11489
|
SavedReplyVariableEnum: "agent.full_name" | "agent.first_name" | "agent.email" | "contact.full_name" | "contact.first_name" | "contact.last_name" | "contact.email" | "contact.phone" | "session.number" | "session.status" | "session.language" | "org.name";
|
|
11333
11490
|
SavedReplyVariablesResponseDto: {
|
|
@@ -14960,6 +15117,16 @@ export interface components {
|
|
|
14960
15117
|
domainRecords: unknown | null;
|
|
14961
15118
|
domainStatus: string | null;
|
|
14962
15119
|
};
|
|
15120
|
+
MacroSettingsDto: {
|
|
15121
|
+
/** @description Language codes (lower-case, such as `es`) every org-wide macro is translated into, in the order they were chosen. Empty means macro translation is off. */
|
|
15122
|
+
translation_languages: string[];
|
|
15123
|
+
/** @description The most languages that can be chosen. */
|
|
15124
|
+
max_translation_languages: number;
|
|
15125
|
+
/** @description The language codes that can be chosen. */
|
|
15126
|
+
supported_translation_languages: string[];
|
|
15127
|
+
/** @description Whether suggested macros are on for the workspace. When off, no agent sees them. */
|
|
15128
|
+
suggestions_enabled: boolean;
|
|
15129
|
+
};
|
|
14963
15130
|
HandoffAnalyticsPublicResponseDto: {
|
|
14964
15131
|
summary: string;
|
|
14965
15132
|
total_handoffs: number;
|
|
@@ -15664,7 +15831,7 @@ export interface components {
|
|
|
15664
15831
|
/** Format: email */
|
|
15665
15832
|
email: string;
|
|
15666
15833
|
avatar_url?: string | null;
|
|
15667
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "hybrid-inbox:read" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile: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;
|
|
15834
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile: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;
|
|
15668
15835
|
roles: components["schemas"]["OrgUserRole"][];
|
|
15669
15836
|
};
|
|
15670
15837
|
OrgUserDetail: {
|
|
@@ -15674,7 +15841,7 @@ export interface components {
|
|
|
15674
15841
|
/** Format: email */
|
|
15675
15842
|
email: string;
|
|
15676
15843
|
avatar_url?: string | null;
|
|
15677
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "hybrid-inbox:read" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile: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;
|
|
15844
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile: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;
|
|
15678
15845
|
roles: components["schemas"]["OrgUserRole"][];
|
|
15679
15846
|
teams: {
|
|
15680
15847
|
group: components["schemas"]["GroupDto"];
|
|
@@ -15696,7 +15863,7 @@ export interface components {
|
|
|
15696
15863
|
id: string;
|
|
15697
15864
|
name: string;
|
|
15698
15865
|
description: string | null;
|
|
15699
|
-
permissions: ("*" | "sessions:read" | "sessions:write" | "hybrid-inbox:read" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile: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")[];
|
|
15866
|
+
permissions: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "help-center-content:read" | "help-center-content:write" | "workflows:read" | "workflows:write" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-agent-availability:read" | "settings-agent-availability:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-personal-profile:read" | "settings-personal-profile: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")[];
|
|
15700
15867
|
};
|
|
15701
15868
|
PublicInsight: {
|
|
15702
15869
|
/** Format: uuid */
|
|
@@ -20998,6 +21165,99 @@ export interface operations {
|
|
|
20998
21165
|
};
|
|
20999
21166
|
};
|
|
21000
21167
|
};
|
|
21168
|
+
listMacroSuggestionInsights: {
|
|
21169
|
+
parameters: {
|
|
21170
|
+
query?: {
|
|
21171
|
+
include_weekly?: "true" | "false";
|
|
21172
|
+
};
|
|
21173
|
+
header?: never;
|
|
21174
|
+
path?: never;
|
|
21175
|
+
cookie?: never;
|
|
21176
|
+
};
|
|
21177
|
+
requestBody?: never;
|
|
21178
|
+
responses: {
|
|
21179
|
+
/** @description Default Response */
|
|
21180
|
+
200: {
|
|
21181
|
+
headers: {
|
|
21182
|
+
[name: string]: unknown;
|
|
21183
|
+
};
|
|
21184
|
+
content: {
|
|
21185
|
+
"application/json": components["schemas"]["MacroSuggestionInsightsListDto"];
|
|
21186
|
+
};
|
|
21187
|
+
};
|
|
21188
|
+
/** @description Internal Server Error */
|
|
21189
|
+
500: {
|
|
21190
|
+
headers: {
|
|
21191
|
+
[name: string]: unknown;
|
|
21192
|
+
};
|
|
21193
|
+
content: {
|
|
21194
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21195
|
+
};
|
|
21196
|
+
};
|
|
21197
|
+
};
|
|
21198
|
+
};
|
|
21199
|
+
getMacroSettings: {
|
|
21200
|
+
parameters: {
|
|
21201
|
+
query?: never;
|
|
21202
|
+
header?: never;
|
|
21203
|
+
path?: never;
|
|
21204
|
+
cookie?: never;
|
|
21205
|
+
};
|
|
21206
|
+
requestBody?: never;
|
|
21207
|
+
responses: {
|
|
21208
|
+
/** @description Default Response */
|
|
21209
|
+
200: {
|
|
21210
|
+
headers: {
|
|
21211
|
+
[name: string]: unknown;
|
|
21212
|
+
};
|
|
21213
|
+
content: {
|
|
21214
|
+
"application/json": components["schemas"]["MacroSettingsDto"];
|
|
21215
|
+
};
|
|
21216
|
+
};
|
|
21217
|
+
/** @description Internal Server Error */
|
|
21218
|
+
500: {
|
|
21219
|
+
headers: {
|
|
21220
|
+
[name: string]: unknown;
|
|
21221
|
+
};
|
|
21222
|
+
content: {
|
|
21223
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21224
|
+
};
|
|
21225
|
+
};
|
|
21226
|
+
};
|
|
21227
|
+
};
|
|
21228
|
+
updateMacroSettings: {
|
|
21229
|
+
parameters: {
|
|
21230
|
+
query?: never;
|
|
21231
|
+
header?: never;
|
|
21232
|
+
path?: never;
|
|
21233
|
+
cookie?: never;
|
|
21234
|
+
};
|
|
21235
|
+
requestBody: {
|
|
21236
|
+
content: {
|
|
21237
|
+
"application/json": components["schemas"]["UpdateMacroSettingsDto"];
|
|
21238
|
+
};
|
|
21239
|
+
};
|
|
21240
|
+
responses: {
|
|
21241
|
+
/** @description Default Response */
|
|
21242
|
+
200: {
|
|
21243
|
+
headers: {
|
|
21244
|
+
[name: string]: unknown;
|
|
21245
|
+
};
|
|
21246
|
+
content: {
|
|
21247
|
+
"application/json": components["schemas"]["MacroSettingsDto"];
|
|
21248
|
+
};
|
|
21249
|
+
};
|
|
21250
|
+
/** @description Internal Server Error */
|
|
21251
|
+
500: {
|
|
21252
|
+
headers: {
|
|
21253
|
+
[name: string]: unknown;
|
|
21254
|
+
};
|
|
21255
|
+
content: {
|
|
21256
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21257
|
+
};
|
|
21258
|
+
};
|
|
21259
|
+
};
|
|
21260
|
+
};
|
|
21001
21261
|
getMacro: {
|
|
21002
21262
|
parameters: {
|
|
21003
21263
|
query?: never;
|
|
@@ -21096,6 +21356,106 @@ export interface operations {
|
|
|
21096
21356
|
};
|
|
21097
21357
|
};
|
|
21098
21358
|
};
|
|
21359
|
+
getMacroSuggestionInsights: {
|
|
21360
|
+
parameters: {
|
|
21361
|
+
query?: never;
|
|
21362
|
+
header?: never;
|
|
21363
|
+
path: {
|
|
21364
|
+
/** @description Macro ID */
|
|
21365
|
+
id: string;
|
|
21366
|
+
};
|
|
21367
|
+
cookie?: never;
|
|
21368
|
+
};
|
|
21369
|
+
requestBody?: never;
|
|
21370
|
+
responses: {
|
|
21371
|
+
/** @description Default Response */
|
|
21372
|
+
200: {
|
|
21373
|
+
headers: {
|
|
21374
|
+
[name: string]: unknown;
|
|
21375
|
+
};
|
|
21376
|
+
content: {
|
|
21377
|
+
"application/json": components["schemas"]["MacroSuggestionInsightsDto"];
|
|
21378
|
+
};
|
|
21379
|
+
};
|
|
21380
|
+
/** @description Internal Server Error */
|
|
21381
|
+
500: {
|
|
21382
|
+
headers: {
|
|
21383
|
+
[name: string]: unknown;
|
|
21384
|
+
};
|
|
21385
|
+
content: {
|
|
21386
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21387
|
+
};
|
|
21388
|
+
};
|
|
21389
|
+
};
|
|
21390
|
+
};
|
|
21391
|
+
getMacroTranslations: {
|
|
21392
|
+
parameters: {
|
|
21393
|
+
query?: never;
|
|
21394
|
+
header?: never;
|
|
21395
|
+
path: {
|
|
21396
|
+
/** @description Macro ID */
|
|
21397
|
+
id: string;
|
|
21398
|
+
};
|
|
21399
|
+
cookie?: never;
|
|
21400
|
+
};
|
|
21401
|
+
requestBody?: never;
|
|
21402
|
+
responses: {
|
|
21403
|
+
/** @description Default Response */
|
|
21404
|
+
200: {
|
|
21405
|
+
headers: {
|
|
21406
|
+
[name: string]: unknown;
|
|
21407
|
+
};
|
|
21408
|
+
content: {
|
|
21409
|
+
"application/json": components["schemas"]["MacroTranslationsDto"];
|
|
21410
|
+
};
|
|
21411
|
+
};
|
|
21412
|
+
/** @description Internal Server Error */
|
|
21413
|
+
500: {
|
|
21414
|
+
headers: {
|
|
21415
|
+
[name: string]: unknown;
|
|
21416
|
+
};
|
|
21417
|
+
content: {
|
|
21418
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21419
|
+
};
|
|
21420
|
+
};
|
|
21421
|
+
};
|
|
21422
|
+
};
|
|
21423
|
+
retranslateMacro: {
|
|
21424
|
+
parameters: {
|
|
21425
|
+
query?: never;
|
|
21426
|
+
header?: never;
|
|
21427
|
+
path: {
|
|
21428
|
+
/** @description Macro ID */
|
|
21429
|
+
id: string;
|
|
21430
|
+
};
|
|
21431
|
+
cookie?: never;
|
|
21432
|
+
};
|
|
21433
|
+
requestBody: {
|
|
21434
|
+
content: {
|
|
21435
|
+
"application/json": components["schemas"]["RetranslateMacroDto"];
|
|
21436
|
+
};
|
|
21437
|
+
};
|
|
21438
|
+
responses: {
|
|
21439
|
+
/** @description Default Response */
|
|
21440
|
+
202: {
|
|
21441
|
+
headers: {
|
|
21442
|
+
[name: string]: unknown;
|
|
21443
|
+
};
|
|
21444
|
+
content: {
|
|
21445
|
+
"application/json": components["schemas"]["RetranslateMacroResponseDto"];
|
|
21446
|
+
};
|
|
21447
|
+
};
|
|
21448
|
+
/** @description Internal Server Error */
|
|
21449
|
+
500: {
|
|
21450
|
+
headers: {
|
|
21451
|
+
[name: string]: unknown;
|
|
21452
|
+
};
|
|
21453
|
+
content: {
|
|
21454
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21455
|
+
};
|
|
21456
|
+
};
|
|
21457
|
+
};
|
|
21458
|
+
};
|
|
21099
21459
|
listSkills: {
|
|
21100
21460
|
parameters: {
|
|
21101
21461
|
query?: never;
|