@opencx/mcp 1.15.78 → 1.15.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 +198 -71
- package/dist/schema.d.ts.map +1 -1
- package/dist/tools/macros.d.ts.map +1 -1
- package/dist/tools/macros.js +33 -2
- package/dist/tools/macros.js.map +1 -1
- package/dist/tools/macros.spec.js +32 -0
- package/dist/tools/macros.spec.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2209,7 +2209,7 @@ export interface paths {
|
|
|
2209
2209
|
get: operations["getMacroSettings"];
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Update macro settings
|
|
2212
|
-
* @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
|
|
2212
|
+
* @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 generated copies: edit the macro and they refresh; to use your own wording for a language, see `setMacroTranslation`. 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.
|
|
2213
2213
|
*/
|
|
2214
2214
|
put: operations["updateMacroSettings"];
|
|
2215
2215
|
post?: never;
|
|
@@ -2276,7 +2276,7 @@ export interface paths {
|
|
|
2276
2276
|
};
|
|
2277
2277
|
/**
|
|
2278
2278
|
* Get macro translations
|
|
2279
|
-
* @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
|
|
2279
|
+
* @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 generated copies: edit the macro and they refresh; to use your own wording for a language, see `setMacroTranslation`. Personal macros are not included.
|
|
2280
2280
|
*/
|
|
2281
2281
|
get: operations["getMacroTranslations"];
|
|
2282
2282
|
put?: never;
|
|
@@ -2307,6 +2307,26 @@ export interface paths {
|
|
|
2307
2307
|
patch?: never;
|
|
2308
2308
|
trace?: never;
|
|
2309
2309
|
};
|
|
2310
|
+
"/macros/{id}/translations/{language}": {
|
|
2311
|
+
parameters: {
|
|
2312
|
+
query?: never;
|
|
2313
|
+
header?: never;
|
|
2314
|
+
path?: never;
|
|
2315
|
+
cookie?: never;
|
|
2316
|
+
};
|
|
2317
|
+
get?: never;
|
|
2318
|
+
/**
|
|
2319
|
+
* Set a macro translation
|
|
2320
|
+
* @description Replace one org-wide macro's translation into one selected language with your own wording, instead of the generated one. `content` is HTML like a macro body; `options` relabels the macro's options by `id` (leave it out to keep the current translated labels). It is used like a generated translation and kept until the macro's title, content or options (or a custom variable it uses) change, which translates it again; `retranslateMacro` also replaces it with a generated one. The change is recorded in the audit log, and `overridden_by` names who wrote it. Returns the macro's translations. Fails with 400 when the language is not one of the selected `translation_languages` or is the macro's own `source_language`.
|
|
2321
|
+
*/
|
|
2322
|
+
put: operations["setMacroTranslation"];
|
|
2323
|
+
post?: never;
|
|
2324
|
+
delete?: never;
|
|
2325
|
+
options?: never;
|
|
2326
|
+
head?: never;
|
|
2327
|
+
patch?: never;
|
|
2328
|
+
trace?: never;
|
|
2329
|
+
};
|
|
2310
2330
|
"/skills": {
|
|
2311
2331
|
parameters: {
|
|
2312
2332
|
query?: never;
|
|
@@ -7775,7 +7795,7 @@ export interface paths {
|
|
|
7775
7795
|
options?: never;
|
|
7776
7796
|
head?: never;
|
|
7777
7797
|
/**
|
|
7778
|
-
* Update a mini app's name, description, or
|
|
7798
|
+
* Update a mini app's name, description, icon, or tags
|
|
7779
7799
|
* @description Requires an identified user with mini-apps:write. An empty editor list allows everyone with that permission; a nonempty list restricts editing to selected people and the owner. Viewing access does not grant editing access.
|
|
7780
7800
|
*/
|
|
7781
7801
|
patch: operations["updateMiniAppDetails"];
|
|
@@ -7798,6 +7818,23 @@ export interface paths {
|
|
|
7798
7818
|
patch?: never;
|
|
7799
7819
|
trace?: never;
|
|
7800
7820
|
};
|
|
7821
|
+
"/mini-apps/tags": {
|
|
7822
|
+
parameters: {
|
|
7823
|
+
query?: never;
|
|
7824
|
+
header?: never;
|
|
7825
|
+
path?: never;
|
|
7826
|
+
cookie?: never;
|
|
7827
|
+
};
|
|
7828
|
+
/** List the tags in use on mini apps */
|
|
7829
|
+
get: operations["listMiniAppTags"];
|
|
7830
|
+
put?: never;
|
|
7831
|
+
post?: never;
|
|
7832
|
+
delete?: never;
|
|
7833
|
+
options?: never;
|
|
7834
|
+
head?: never;
|
|
7835
|
+
patch?: never;
|
|
7836
|
+
trace?: never;
|
|
7837
|
+
};
|
|
7801
7838
|
}
|
|
7802
7839
|
export type webhooks = Record<string, never>;
|
|
7803
7840
|
export interface components {
|
|
@@ -8025,6 +8062,17 @@ export interface components {
|
|
|
8025
8062
|
} | null;
|
|
8026
8063
|
/** @enum {string} */
|
|
8027
8064
|
PhoneHandoffReason: "ai_initiated" | "no_agent_assigned" | "agent_unavailable" | "caller_requested" | "timeout" | "unknown";
|
|
8065
|
+
SetMacroTranslationDto: {
|
|
8066
|
+
/** @description The translated title. */
|
|
8067
|
+
title: string;
|
|
8068
|
+
/** @description The translated body, HTML like a macro body (`<p>`, `<br>`, `<strong>`, `<em>`, `<s>`, `<a href>`, lists, inline images). Keep {{variables}} as written. */
|
|
8069
|
+
content: string;
|
|
8070
|
+
/** @description Translated labels for the macro's options, by option `id` (up to 20 characters each). Leave out to keep the current translated labels; an option not listed is sent with its original label. */
|
|
8071
|
+
options?: {
|
|
8072
|
+
id: string;
|
|
8073
|
+
label: string;
|
|
8074
|
+
}[];
|
|
8075
|
+
};
|
|
8028
8076
|
RetranslateMacroDto: {
|
|
8029
8077
|
languages?: string[];
|
|
8030
8078
|
};
|
|
@@ -8228,13 +8276,6 @@ export interface components {
|
|
|
8228
8276
|
[key: string]: string;
|
|
8229
8277
|
} | null;
|
|
8230
8278
|
};
|
|
8231
|
-
CreateGroupCategoryDto: {
|
|
8232
|
-
name: string;
|
|
8233
|
-
};
|
|
8234
|
-
AddUserToGroupDto: {
|
|
8235
|
-
userId: number;
|
|
8236
|
-
groupId?: string;
|
|
8237
|
-
};
|
|
8238
8279
|
CreateGroupDto: {
|
|
8239
8280
|
name: string;
|
|
8240
8281
|
category_id?: string | null;
|
|
@@ -8260,6 +8301,38 @@ export interface components {
|
|
|
8260
8301
|
/** @description Seconds between automatic assignments to the same agent under the least-busy strategy: 0 turns pacing off, otherwise 15 to 3600. */
|
|
8261
8302
|
auto_assign_interval_seconds?: number;
|
|
8262
8303
|
};
|
|
8304
|
+
UpdateGroupDto: {
|
|
8305
|
+
name?: string;
|
|
8306
|
+
category_id?: string | null;
|
|
8307
|
+
description?: string;
|
|
8308
|
+
is_support_enabled?: boolean;
|
|
8309
|
+
support_office_hours_id?: string | null;
|
|
8310
|
+
/** @enum {string} */
|
|
8311
|
+
support_assignment_strategy?: "least-busy" | "round-robin" | "unassigned";
|
|
8312
|
+
/** @description Team wrap-up in seconds. Null inherits the organization setting; zero disables wrap-up. */
|
|
8313
|
+
call_wrap_up_seconds?: number | null;
|
|
8314
|
+
/** @description Queue calls for this team and offer each call to one available agent at a time. */
|
|
8315
|
+
telephony_pacing_enabled?: boolean;
|
|
8316
|
+
telephony_ring_seconds?: number;
|
|
8317
|
+
telephony_queue_wait_seconds?: number;
|
|
8318
|
+
/** @enum {string} */
|
|
8319
|
+
telephony_distribution?: "fewest_answered_today" | "longest_available";
|
|
8320
|
+
/** @description SLA policy whose phone answer-time target grades calls waiting in this team. Null uses the organization default. */
|
|
8321
|
+
phone_sla_policy_id?: string | null;
|
|
8322
|
+
/** @description Record calls answered by this team. When off, answering does not start a recording; one the phone agent or call flow already started keeps running. */
|
|
8323
|
+
call_recording_enabled?: boolean;
|
|
8324
|
+
/** @description Languages spoken on calls this team answers (language codes). Live transcripts of those calls stay in these languages; empty uses the organization default. */
|
|
8325
|
+
call_languages?: string[];
|
|
8326
|
+
/** @description Seconds between automatic assignments to the same agent under the least-busy strategy: 0 turns pacing off, otherwise 15 to 3600. */
|
|
8327
|
+
auto_assign_interval_seconds?: number;
|
|
8328
|
+
};
|
|
8329
|
+
CreateGroupCategoryDto: {
|
|
8330
|
+
name: string;
|
|
8331
|
+
};
|
|
8332
|
+
AddUserToGroupDto: {
|
|
8333
|
+
userId: number;
|
|
8334
|
+
groupId?: string;
|
|
8335
|
+
};
|
|
8263
8336
|
CreateWebCallDto: {
|
|
8264
8337
|
/**
|
|
8265
8338
|
* Format: uuid
|
|
@@ -8287,6 +8360,7 @@ export interface components {
|
|
|
8287
8360
|
name: string;
|
|
8288
8361
|
description?: string;
|
|
8289
8362
|
icon?: components["schemas"]["MiniAppIcon"];
|
|
8363
|
+
tags?: string[];
|
|
8290
8364
|
};
|
|
8291
8365
|
SubmitMiniAppDto: {
|
|
8292
8366
|
/** Format: uuid */
|
|
@@ -8308,6 +8382,7 @@ export interface components {
|
|
|
8308
8382
|
description?: string | null;
|
|
8309
8383
|
enabled_channels?: components["schemas"]["SessionChannel"][];
|
|
8310
8384
|
icon?: components["schemas"]["MiniAppIcon"] | null;
|
|
8385
|
+
tags?: string[];
|
|
8311
8386
|
};
|
|
8312
8387
|
DefaultOfficeHoursInputDto: {
|
|
8313
8388
|
/** @description IANA timezone for the default schedule (e.g. "America/New_York", "Europe/London", "Asia/Tokyo") */
|
|
@@ -10328,31 +10403,6 @@ export interface components {
|
|
|
10328
10403
|
};
|
|
10329
10404
|
};
|
|
10330
10405
|
};
|
|
10331
|
-
UpdateGroupDto: {
|
|
10332
|
-
name?: string;
|
|
10333
|
-
category_id?: string | null;
|
|
10334
|
-
description?: string;
|
|
10335
|
-
is_support_enabled?: boolean;
|
|
10336
|
-
support_office_hours_id?: string | null;
|
|
10337
|
-
/** @enum {string} */
|
|
10338
|
-
support_assignment_strategy?: "least-busy" | "round-robin" | "unassigned";
|
|
10339
|
-
/** @description Team wrap-up in seconds. Null inherits the organization setting; zero disables wrap-up. */
|
|
10340
|
-
call_wrap_up_seconds?: number | null;
|
|
10341
|
-
/** @description Queue calls for this team and offer each call to one available agent at a time. */
|
|
10342
|
-
telephony_pacing_enabled?: boolean;
|
|
10343
|
-
telephony_ring_seconds?: number;
|
|
10344
|
-
telephony_queue_wait_seconds?: number;
|
|
10345
|
-
/** @enum {string} */
|
|
10346
|
-
telephony_distribution?: "fewest_answered_today" | "longest_available";
|
|
10347
|
-
/** @description SLA policy whose phone answer-time target grades calls waiting in this team. Null uses the organization default. */
|
|
10348
|
-
phone_sla_policy_id?: string | null;
|
|
10349
|
-
/** @description Record calls answered by this team. When off, answering does not start a recording; one the phone agent or call flow already started keeps running. */
|
|
10350
|
-
call_recording_enabled?: boolean;
|
|
10351
|
-
/** @description Languages spoken on calls this team answers (language codes). Live transcripts of those calls stay in these languages; empty uses the organization default. */
|
|
10352
|
-
call_languages?: string[];
|
|
10353
|
-
/** @description Seconds between automatic assignments to the same agent under the least-busy strategy: 0 turns pacing off, otherwise 15 to 3600. */
|
|
10354
|
-
auto_assign_interval_seconds?: number;
|
|
10355
|
-
};
|
|
10356
10406
|
CreateTrainingPublicDto: {
|
|
10357
10407
|
/** @description The scenario title or trigger phrase */
|
|
10358
10408
|
title: string;
|
|
@@ -11613,6 +11663,36 @@ export interface components {
|
|
|
11613
11663
|
customDataKeys?: string[];
|
|
11614
11664
|
}[];
|
|
11615
11665
|
};
|
|
11666
|
+
MacroAttachmentDto: {
|
|
11667
|
+
id: string;
|
|
11668
|
+
name: string;
|
|
11669
|
+
size: number;
|
|
11670
|
+
type: string;
|
|
11671
|
+
url: string;
|
|
11672
|
+
};
|
|
11673
|
+
SavedReplyDto: {
|
|
11674
|
+
id: string;
|
|
11675
|
+
org_id: string;
|
|
11676
|
+
/** @description Group the macro belongs to: a section in Settings → Macros and in the inbox macro picker. "general" when it has none. */
|
|
11677
|
+
category: string;
|
|
11678
|
+
title: string;
|
|
11679
|
+
/** @description Macro body as channel-safe HTML, with {{variable}} references. */
|
|
11680
|
+
content: string;
|
|
11681
|
+
attachments: components["schemas"]["MacroAttachmentDto"][];
|
|
11682
|
+
options: components["schemas"]["MessageOptionDto"][];
|
|
11683
|
+
user_id: number | null;
|
|
11684
|
+
/** @description Authenticated creator, when known. Read-only; null for legacy or integration-created macros. */
|
|
11685
|
+
created_by_user_id: number | null;
|
|
11686
|
+
overrides_saved_reply_id: string | null;
|
|
11687
|
+
exclude_from_suggestions: boolean;
|
|
11688
|
+
/** @description Teams whose agents see this macro in the inbox. Empty = every agent. Admins with Macros settings access always see it. Org-wide macros only. */
|
|
11689
|
+
allowed_team_ids: string[];
|
|
11690
|
+
source_language: string | null;
|
|
11691
|
+
/** Format: date-time */
|
|
11692
|
+
created_at: string;
|
|
11693
|
+
/** Format: date-time */
|
|
11694
|
+
updated_at: string;
|
|
11695
|
+
};
|
|
11616
11696
|
MacroTranslationsDto: {
|
|
11617
11697
|
saved_reply_id: string;
|
|
11618
11698
|
source_language: string | null;
|
|
@@ -11626,6 +11706,11 @@ export interface components {
|
|
|
11626
11706
|
id: string;
|
|
11627
11707
|
label: string;
|
|
11628
11708
|
}[];
|
|
11709
|
+
/** @description Who wrote the text in use, when it is not a generated translation. `user_id` is null when an API key wrote it. */
|
|
11710
|
+
overridden_by: {
|
|
11711
|
+
user_id: number | null;
|
|
11712
|
+
name: string | null;
|
|
11713
|
+
} | null;
|
|
11629
11714
|
/** Format: date-time */
|
|
11630
11715
|
updated_at: string;
|
|
11631
11716
|
}[];
|
|
@@ -11692,36 +11777,6 @@ export interface components {
|
|
|
11692
11777
|
system_options: components["schemas"]["StructuredFieldSystemOptionDto"][];
|
|
11693
11778
|
};
|
|
11694
11779
|
StructuredFieldListDto: components["schemas"]["StructuredFieldTreeDto"][];
|
|
11695
|
-
MacroAttachmentDto: {
|
|
11696
|
-
id: string;
|
|
11697
|
-
name: string;
|
|
11698
|
-
size: number;
|
|
11699
|
-
type: string;
|
|
11700
|
-
url: string;
|
|
11701
|
-
};
|
|
11702
|
-
SavedReplyDto: {
|
|
11703
|
-
id: string;
|
|
11704
|
-
org_id: string;
|
|
11705
|
-
/** @description Group the macro belongs to: a section in Settings → Macros and in the inbox macro picker. "general" when it has none. */
|
|
11706
|
-
category: string;
|
|
11707
|
-
title: string;
|
|
11708
|
-
/** @description Macro body as channel-safe HTML, with {{variable}} references. */
|
|
11709
|
-
content: string;
|
|
11710
|
-
attachments: components["schemas"]["MacroAttachmentDto"][];
|
|
11711
|
-
options: components["schemas"]["MessageOptionDto"][];
|
|
11712
|
-
user_id: number | null;
|
|
11713
|
-
/** @description Authenticated creator, when known. Read-only; null for legacy or integration-created macros. */
|
|
11714
|
-
created_by_user_id: number | null;
|
|
11715
|
-
overrides_saved_reply_id: string | null;
|
|
11716
|
-
exclude_from_suggestions: boolean;
|
|
11717
|
-
/** @description Teams whose agents see this macro in the inbox. Empty = every agent. Admins with Macros settings access always see it. Org-wide macros only. */
|
|
11718
|
-
allowed_team_ids: string[];
|
|
11719
|
-
source_language: string | null;
|
|
11720
|
-
/** Format: date-time */
|
|
11721
|
-
created_at: string;
|
|
11722
|
-
/** Format: date-time */
|
|
11723
|
-
updated_at: string;
|
|
11724
|
-
};
|
|
11725
11780
|
CustomSessionStatusDto: {
|
|
11726
11781
|
id: string;
|
|
11727
11782
|
org_id: string;
|
|
@@ -12132,6 +12187,7 @@ export interface components {
|
|
|
12132
12187
|
CreateMiniAppResponseDto: {
|
|
12133
12188
|
/** Format: uuid */
|
|
12134
12189
|
app_id: string;
|
|
12190
|
+
tags: string[];
|
|
12135
12191
|
};
|
|
12136
12192
|
SubmitMiniAppResponseDto: {
|
|
12137
12193
|
/** Format: uuid */
|
|
@@ -12156,6 +12212,10 @@ export interface components {
|
|
|
12156
12212
|
description: string | null;
|
|
12157
12213
|
enabled_channels: string[];
|
|
12158
12214
|
icon: components["schemas"]["MiniAppIcon"] | null;
|
|
12215
|
+
tags: string[];
|
|
12216
|
+
};
|
|
12217
|
+
MiniAppTagsResponseDto: {
|
|
12218
|
+
tags: string[];
|
|
12159
12219
|
};
|
|
12160
12220
|
DefaultOfficeHoursResponseDto: {
|
|
12161
12221
|
/** @description IANA timezone (e.g. "America/New_York", "Europe/London") */
|
|
@@ -12586,6 +12646,8 @@ export interface components {
|
|
|
12586
12646
|
/** Format: date-time */
|
|
12587
12647
|
updated_at: string;
|
|
12588
12648
|
};
|
|
12649
|
+
/** @enum {string} */
|
|
12650
|
+
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";
|
|
12589
12651
|
MacroSuggestionInsightsDto: {
|
|
12590
12652
|
saved_reply_id: string;
|
|
12591
12653
|
/** @constant */
|
|
@@ -12607,8 +12669,6 @@ export interface components {
|
|
|
12607
12669
|
MacroSuggestionInsightsListDto: {
|
|
12608
12670
|
items: components["schemas"]["MacroSuggestionInsightsDto"][];
|
|
12609
12671
|
};
|
|
12610
|
-
/** @enum {string} */
|
|
12611
|
-
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";
|
|
12612
12672
|
SavedReplyVariablesResponseDto: {
|
|
12613
12673
|
enums: components["schemas"]["SavedReplyVariableEnum"][];
|
|
12614
12674
|
custom: components["schemas"]["SavedReplyVariableDto"][];
|
|
@@ -17331,7 +17391,7 @@ export interface components {
|
|
|
17331
17391
|
/** Format: email */
|
|
17332
17392
|
email: string;
|
|
17333
17393
|
avatar_url?: string | null;
|
|
17334
|
-
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" | "merge-sessions:write" | "sessions-delete-own-messages: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;
|
|
17394
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages: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;
|
|
17335
17395
|
roles: components["schemas"]["OrgUserRole"][];
|
|
17336
17396
|
};
|
|
17337
17397
|
OrgUserDetail: {
|
|
@@ -17341,7 +17401,7 @@ export interface components {
|
|
|
17341
17401
|
/** Format: email */
|
|
17342
17402
|
email: string;
|
|
17343
17403
|
avatar_url?: string | null;
|
|
17344
|
-
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" | "merge-sessions:write" | "sessions-delete-own-messages: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;
|
|
17404
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages: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;
|
|
17345
17405
|
roles: components["schemas"]["OrgUserRole"][];
|
|
17346
17406
|
teams: {
|
|
17347
17407
|
group: components["schemas"]["GroupDto"];
|
|
@@ -17363,7 +17423,7 @@ export interface components {
|
|
|
17363
17423
|
id: string;
|
|
17364
17424
|
name: string;
|
|
17365
17425
|
description: string | null;
|
|
17366
|
-
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" | "merge-sessions:write" | "sessions-delete-own-messages: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")[];
|
|
17426
|
+
permissions: ("*" | "sessions:read" | "sessions:write" | "team-sessions:read" | "team-sessions:write" | "assigned-sessions:read" | "assigned-sessions:write" | "hybrid-inbox:read" | "phone-outbound-all-numbers:write" | "sessions-personal-views:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "merge-sessions:write" | "sessions-delete-own-messages: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")[];
|
|
17367
17427
|
};
|
|
17368
17428
|
PublicInsight: {
|
|
17369
17429
|
/** Format: uuid */
|
|
@@ -18575,7 +18635,7 @@ export interface operations {
|
|
|
18575
18635
|
query?: {
|
|
18576
18636
|
startDate?: string;
|
|
18577
18637
|
endDate?: string;
|
|
18578
|
-
/** @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. */
|
|
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. */
|
|
18579
18639
|
entityType?: string | string[];
|
|
18580
18640
|
entityId?: string;
|
|
18581
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. */
|
|
@@ -23323,6 +23383,44 @@ export interface operations {
|
|
|
23323
23383
|
};
|
|
23324
23384
|
};
|
|
23325
23385
|
};
|
|
23386
|
+
setMacroTranslation: {
|
|
23387
|
+
parameters: {
|
|
23388
|
+
query?: never;
|
|
23389
|
+
header?: never;
|
|
23390
|
+
path: {
|
|
23391
|
+
/** @description Macro ID */
|
|
23392
|
+
id: string;
|
|
23393
|
+
/** @description Language code (lower-case, such as `es`), one of the selected `translation_languages`. */
|
|
23394
|
+
language: string;
|
|
23395
|
+
};
|
|
23396
|
+
cookie?: never;
|
|
23397
|
+
};
|
|
23398
|
+
requestBody: {
|
|
23399
|
+
content: {
|
|
23400
|
+
"application/json": components["schemas"]["SetMacroTranslationDto"];
|
|
23401
|
+
};
|
|
23402
|
+
};
|
|
23403
|
+
responses: {
|
|
23404
|
+
/** @description Default Response */
|
|
23405
|
+
200: {
|
|
23406
|
+
headers: {
|
|
23407
|
+
[name: string]: unknown;
|
|
23408
|
+
};
|
|
23409
|
+
content: {
|
|
23410
|
+
"application/json": components["schemas"]["MacroTranslationsDto"];
|
|
23411
|
+
};
|
|
23412
|
+
};
|
|
23413
|
+
/** @description Internal Server Error */
|
|
23414
|
+
500: {
|
|
23415
|
+
headers: {
|
|
23416
|
+
[name: string]: unknown;
|
|
23417
|
+
};
|
|
23418
|
+
content: {
|
|
23419
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
23420
|
+
};
|
|
23421
|
+
};
|
|
23422
|
+
};
|
|
23423
|
+
};
|
|
23326
23424
|
listSkills: {
|
|
23327
23425
|
parameters: {
|
|
23328
23426
|
query?: never;
|
|
@@ -34195,5 +34293,34 @@ export interface operations {
|
|
|
34195
34293
|
};
|
|
34196
34294
|
};
|
|
34197
34295
|
};
|
|
34296
|
+
listMiniAppTags: {
|
|
34297
|
+
parameters: {
|
|
34298
|
+
query?: never;
|
|
34299
|
+
header?: never;
|
|
34300
|
+
path?: never;
|
|
34301
|
+
cookie?: never;
|
|
34302
|
+
};
|
|
34303
|
+
requestBody?: never;
|
|
34304
|
+
responses: {
|
|
34305
|
+
/** @description Default Response */
|
|
34306
|
+
200: {
|
|
34307
|
+
headers: {
|
|
34308
|
+
[name: string]: unknown;
|
|
34309
|
+
};
|
|
34310
|
+
content: {
|
|
34311
|
+
"application/json": components["schemas"]["MiniAppTagsResponseDto"];
|
|
34312
|
+
};
|
|
34313
|
+
};
|
|
34314
|
+
/** @description Internal Server Error */
|
|
34315
|
+
500: {
|
|
34316
|
+
headers: {
|
|
34317
|
+
[name: string]: unknown;
|
|
34318
|
+
};
|
|
34319
|
+
content: {
|
|
34320
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
34321
|
+
};
|
|
34322
|
+
};
|
|
34323
|
+
};
|
|
34324
|
+
};
|
|
34198
34325
|
}
|
|
34199
34326
|
//# sourceMappingURL=schema.d.ts.map
|