@opencx/mcp 1.15.77 → 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 CHANGED
@@ -422,7 +422,7 @@ export interface paths {
422
422
  head?: never;
423
423
  /**
424
424
  * Update a chat session
425
- * @description Updates a chat session. Can change status, set or clear the summary, generate summary/sentiment on resolve, and reflect status changes to integrations.
425
+ * @description Updates a chat session. Can change status, set or clear the summary, merge custom data, generate summary/sentiment on resolve, and reflect status changes to integrations.
426
426
  */
427
427
  patch: operations["updateChatSession"];
428
428
  trace?: never;
@@ -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 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.
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 read-only generated copies: edit the macro and they refresh. Personal macros are not included.
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;
@@ -7730,7 +7750,10 @@ export interface paths {
7730
7750
  };
7731
7751
  get?: never;
7732
7752
  put?: never;
7733
- /** Create a new mini app */
7753
+ /**
7754
+ * Create a new mini app
7755
+ * @description Requires an identified user with mini-apps:write. The creator becomes the owner. An empty editor list allows everyone with app edit permission. Bare API keys cannot create apps.
7756
+ */
7734
7757
  post: operations["createMiniApp"];
7735
7758
  delete?: never;
7736
7759
  options?: never;
@@ -7747,7 +7770,10 @@ export interface paths {
7747
7770
  };
7748
7771
  get?: never;
7749
7772
  put?: never;
7750
- /** Submit a built version of a mini app */
7773
+ /**
7774
+ * Submit a built version of a mini app
7775
+ * @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. Admins also need editor access. Bare API keys cannot submit changes.
7776
+ */
7751
7777
  post: operations["submitMiniApp"];
7752
7778
  delete?: never;
7753
7779
  options?: never;
@@ -7768,7 +7794,10 @@ export interface paths {
7768
7794
  delete?: never;
7769
7795
  options?: never;
7770
7796
  head?: never;
7771
- /** Update a mini app's name, description, or icon */
7797
+ /**
7798
+ * Update a mini app's name, description, icon, or tags
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.
7800
+ */
7772
7801
  patch: operations["updateMiniAppDetails"];
7773
7802
  trace?: never;
7774
7803
  };
@@ -7779,7 +7808,7 @@ export interface paths {
7779
7808
  path?: never;
7780
7809
  cookie?: never;
7781
7810
  };
7782
- /** Get a mini app's latest source for editing */
7811
+ /** Get a mini app's latest source and edit access */
7783
7812
  get: operations["getMiniAppSource"];
7784
7813
  put?: never;
7785
7814
  post?: never;
@@ -7789,6 +7818,23 @@ export interface paths {
7789
7818
  patch?: never;
7790
7819
  trace?: never;
7791
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
+ };
7792
7838
  }
7793
7839
  export type webhooks = Record<string, never>;
7794
7840
  export interface components {
@@ -8016,6 +8062,17 @@ export interface components {
8016
8062
  } | null;
8017
8063
  /** @enum {string} */
8018
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
+ };
8019
8076
  RetranslateMacroDto: {
8020
8077
  languages?: string[];
8021
8078
  };
@@ -8219,13 +8276,6 @@ export interface components {
8219
8276
  [key: string]: string;
8220
8277
  } | null;
8221
8278
  };
8222
- CreateGroupCategoryDto: {
8223
- name: string;
8224
- };
8225
- AddUserToGroupDto: {
8226
- userId: number;
8227
- groupId?: string;
8228
- };
8229
8279
  CreateGroupDto: {
8230
8280
  name: string;
8231
8281
  category_id?: string | null;
@@ -8251,6 +8301,38 @@ export interface components {
8251
8301
  /** @description Seconds between automatic assignments to the same agent under the least-busy strategy: 0 turns pacing off, otherwise 15 to 3600. */
8252
8302
  auto_assign_interval_seconds?: number;
8253
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
+ };
8254
8336
  CreateWebCallDto: {
8255
8337
  /**
8256
8338
  * Format: uuid
@@ -8278,6 +8360,7 @@ export interface components {
8278
8360
  name: string;
8279
8361
  description?: string;
8280
8362
  icon?: components["schemas"]["MiniAppIcon"];
8363
+ tags?: string[];
8281
8364
  };
8282
8365
  SubmitMiniAppDto: {
8283
8366
  /** Format: uuid */
@@ -8299,6 +8382,7 @@ export interface components {
8299
8382
  description?: string | null;
8300
8383
  enabled_channels?: components["schemas"]["SessionChannel"][];
8301
8384
  icon?: components["schemas"]["MiniAppIcon"] | null;
8385
+ tags?: string[];
8302
8386
  };
8303
8387
  DefaultOfficeHoursInputDto: {
8304
8388
  /** @description IANA timezone for the default schedule (e.g. "America/New_York", "Europe/London", "Asia/Tokyo") */
@@ -9632,6 +9716,10 @@ export interface components {
9632
9716
  } | string;
9633
9717
  /** @description Replace the session summary, or null to clear it. Takes precedence over a summary generated on resolve. */
9634
9718
  summary?: string | null;
9719
+ /** @description Session-level custom data to merge into the chat session: keys you send are added or overwritten, a null value removes the key, and keys you leave out are kept. Changes made here do not start Session Updated workflows or sync to connected integrations. */
9720
+ custom_data?: {
9721
+ [key: string]: (string | number | boolean) | null;
9722
+ };
9635
9723
  };
9636
9724
  SessionAssigneeUpdateInput: {
9637
9725
  /** @description Agent user ID to assign, or null to unassign the session */
@@ -10315,31 +10403,6 @@ export interface components {
10315
10403
  };
10316
10404
  };
10317
10405
  };
10318
- UpdateGroupDto: {
10319
- name?: string;
10320
- category_id?: string | null;
10321
- description?: string;
10322
- is_support_enabled?: boolean;
10323
- support_office_hours_id?: string | null;
10324
- /** @enum {string} */
10325
- support_assignment_strategy?: "least-busy" | "round-robin" | "unassigned";
10326
- /** @description Team wrap-up in seconds. Null inherits the organization setting; zero disables wrap-up. */
10327
- call_wrap_up_seconds?: number | null;
10328
- /** @description Queue calls for this team and offer each call to one available agent at a time. */
10329
- telephony_pacing_enabled?: boolean;
10330
- telephony_ring_seconds?: number;
10331
- telephony_queue_wait_seconds?: number;
10332
- /** @enum {string} */
10333
- telephony_distribution?: "fewest_answered_today" | "longest_available";
10334
- /** @description SLA policy whose phone answer-time target grades calls waiting in this team. Null uses the organization default. */
10335
- phone_sla_policy_id?: string | null;
10336
- /** @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. */
10337
- call_recording_enabled?: boolean;
10338
- /** @description Languages spoken on calls this team answers (language codes). Live transcripts of those calls stay in these languages; empty uses the organization default. */
10339
- call_languages?: string[];
10340
- /** @description Seconds between automatic assignments to the same agent under the least-busy strategy: 0 turns pacing off, otherwise 15 to 3600. */
10341
- auto_assign_interval_seconds?: number;
10342
- };
10343
10406
  CreateTrainingPublicDto: {
10344
10407
  /** @description The scenario title or trigger phrase */
10345
10408
  title: string;
@@ -11600,6 +11663,36 @@ export interface components {
11600
11663
  customDataKeys?: string[];
11601
11664
  }[];
11602
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
+ };
11603
11696
  MacroTranslationsDto: {
11604
11697
  saved_reply_id: string;
11605
11698
  source_language: string | null;
@@ -11613,6 +11706,11 @@ export interface components {
11613
11706
  id: string;
11614
11707
  label: string;
11615
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;
11616
11714
  /** Format: date-time */
11617
11715
  updated_at: string;
11618
11716
  }[];
@@ -11679,36 +11777,6 @@ export interface components {
11679
11777
  system_options: components["schemas"]["StructuredFieldSystemOptionDto"][];
11680
11778
  };
11681
11779
  StructuredFieldListDto: components["schemas"]["StructuredFieldTreeDto"][];
11682
- MacroAttachmentDto: {
11683
- id: string;
11684
- name: string;
11685
- size: number;
11686
- type: string;
11687
- url: string;
11688
- };
11689
- SavedReplyDto: {
11690
- id: string;
11691
- org_id: string;
11692
- /** @description Group the macro belongs to: a section in Settings → Macros and in the inbox macro picker. "general" when it has none. */
11693
- category: string;
11694
- title: string;
11695
- /** @description Macro body as channel-safe HTML, with {{variable}} references. */
11696
- content: string;
11697
- attachments: components["schemas"]["MacroAttachmentDto"][];
11698
- options: components["schemas"]["MessageOptionDto"][];
11699
- user_id: number | null;
11700
- /** @description Authenticated creator, when known. Read-only; null for legacy or integration-created macros. */
11701
- created_by_user_id: number | null;
11702
- overrides_saved_reply_id: string | null;
11703
- exclude_from_suggestions: boolean;
11704
- /** @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. */
11705
- allowed_team_ids: string[];
11706
- source_language: string | null;
11707
- /** Format: date-time */
11708
- created_at: string;
11709
- /** Format: date-time */
11710
- updated_at: string;
11711
- };
11712
11780
  CustomSessionStatusDto: {
11713
11781
  id: string;
11714
11782
  org_id: string;
@@ -12119,6 +12187,7 @@ export interface components {
12119
12187
  CreateMiniAppResponseDto: {
12120
12188
  /** Format: uuid */
12121
12189
  app_id: string;
12190
+ tags: string[];
12122
12191
  };
12123
12192
  SubmitMiniAppResponseDto: {
12124
12193
  /** Format: uuid */
@@ -12133,6 +12202,8 @@ export interface components {
12133
12202
  name: string;
12134
12203
  description: string | null;
12135
12204
  source: string;
12205
+ /** @description Whether the acting user has app edit permission and satisfies the editor settings. An empty list permits everyone with that permission; a nonempty list permits selected people and the owner. */
12206
+ can_edit: boolean;
12136
12207
  };
12137
12208
  UpdateMiniAppDetailsResponseDto: {
12138
12209
  /** Format: uuid */
@@ -12141,6 +12212,10 @@ export interface components {
12141
12212
  description: string | null;
12142
12213
  enabled_channels: string[];
12143
12214
  icon: components["schemas"]["MiniAppIcon"] | null;
12215
+ tags: string[];
12216
+ };
12217
+ MiniAppTagsResponseDto: {
12218
+ tags: string[];
12144
12219
  };
12145
12220
  DefaultOfficeHoursResponseDto: {
12146
12221
  /** @description IANA timezone (e.g. "America/New_York", "Europe/London") */
@@ -12571,6 +12646,8 @@ export interface components {
12571
12646
  /** Format: date-time */
12572
12647
  updated_at: string;
12573
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";
12574
12651
  MacroSuggestionInsightsDto: {
12575
12652
  saved_reply_id: string;
12576
12653
  /** @constant */
@@ -12592,8 +12669,6 @@ export interface components {
12592
12669
  MacroSuggestionInsightsListDto: {
12593
12670
  items: components["schemas"]["MacroSuggestionInsightsDto"][];
12594
12671
  };
12595
- /** @enum {string} */
12596
- 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";
12597
12672
  SavedReplyVariablesResponseDto: {
12598
12673
  enums: components["schemas"]["SavedReplyVariableEnum"][];
12599
12674
  custom: components["schemas"]["SavedReplyVariableDto"][];
@@ -17316,7 +17391,7 @@ export interface components {
17316
17391
  /** Format: email */
17317
17392
  email: string;
17318
17393
  avatar_url?: string | null;
17319
- 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;
17320
17395
  roles: components["schemas"]["OrgUserRole"][];
17321
17396
  };
17322
17397
  OrgUserDetail: {
@@ -17326,7 +17401,7 @@ export interface components {
17326
17401
  /** Format: email */
17327
17402
  email: string;
17328
17403
  avatar_url?: string | null;
17329
- 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;
17330
17405
  roles: components["schemas"]["OrgUserRole"][];
17331
17406
  teams: {
17332
17407
  group: components["schemas"]["GroupDto"];
@@ -17348,7 +17423,7 @@ export interface components {
17348
17423
  id: string;
17349
17424
  name: string;
17350
17425
  description: string | null;
17351
- 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")[];
17352
17427
  };
17353
17428
  PublicInsight: {
17354
17429
  /** Format: uuid */
@@ -17462,7 +17537,7 @@ export interface components {
17462
17537
  /** @enum {string} */
17463
17538
  sidebar_variant: "sidebar" | "floating" | "inset";
17464
17539
  /** @enum {string} */
17465
- theme: "default" | "thmanyah" | "viva";
17540
+ theme: "default" | "thmanyah" | "viva" | "mollie";
17466
17541
  localizations: {
17467
17542
  [key: string]: {
17468
17543
  title?: string;
@@ -18560,7 +18635,7 @@ export interface operations {
18560
18635
  query?: {
18561
18636
  startDate?: string;
18562
18637
  endDate?: string;
18563
- /** @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. */
18564
18639
  entityType?: string | string[];
18565
18640
  entityId?: string;
18566
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. */
@@ -23308,6 +23383,44 @@ export interface operations {
23308
23383
  };
23309
23384
  };
23310
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
+ };
23311
23424
  listSkills: {
23312
23425
  parameters: {
23313
23426
  query?: never;
@@ -34148,7 +34261,10 @@ export interface operations {
34148
34261
  };
34149
34262
  getMiniAppSource: {
34150
34263
  parameters: {
34151
- query?: never;
34264
+ query?: {
34265
+ /** @description Set to false to check access without downloading source. Defaults to true; source is empty when excluded. */
34266
+ include_source?: "true" | "false";
34267
+ };
34152
34268
  header?: never;
34153
34269
  path: {
34154
34270
  id: string;
@@ -34177,5 +34293,34 @@ export interface operations {
34177
34293
  };
34178
34294
  };
34179
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
+ };
34180
34325
  }
34181
34326
  //# sourceMappingURL=schema.d.ts.map