@opencx/mcp 1.15.55 → 1.15.57

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.
Files changed (39) hide show
  1. package/dist/schema.d.ts +325 -87
  2. package/dist/schema.d.ts.map +1 -1
  3. package/dist/server.d.ts.map +1 -1
  4. package/dist/server.js +2 -0
  5. package/dist/server.js.map +1 -1
  6. package/dist/tools/contacts.d.ts.map +1 -1
  7. package/dist/tools/contacts.js +30 -0
  8. package/dist/tools/contacts.js.map +1 -1
  9. package/dist/tools/help-center.d.ts.map +1 -1
  10. package/dist/tools/help-center.js +6 -2
  11. package/dist/tools/help-center.js.map +1 -1
  12. package/dist/tools/office-hours.d.ts +1 -1
  13. package/dist/tools/office-hours.d.ts.map +1 -1
  14. package/dist/tools/office-hours.js +25 -0
  15. package/dist/tools/office-hours.js.map +1 -1
  16. package/dist/tools/office-hours.spec.d.ts +2 -0
  17. package/dist/tools/office-hours.spec.d.ts.map +1 -0
  18. package/dist/tools/office-hours.spec.js +97 -0
  19. package/dist/tools/office-hours.spec.js.map +1 -0
  20. package/dist/tools/structured-fields.js +1 -1
  21. package/dist/tools/structured-fields.js.map +1 -1
  22. package/dist/tools/team-categories.d.ts +4 -0
  23. package/dist/tools/team-categories.d.ts.map +1 -0
  24. package/dist/tools/team-categories.js +17 -0
  25. package/dist/tools/team-categories.js.map +1 -0
  26. package/dist/tools/team-categories.spec.d.ts +2 -0
  27. package/dist/tools/team-categories.spec.d.ts.map +1 -0
  28. package/dist/tools/team-categories.spec.js +59 -0
  29. package/dist/tools/team-categories.spec.js.map +1 -0
  30. package/dist/tools/team-settings.d.ts +13 -0
  31. package/dist/tools/team-settings.d.ts.map +1 -1
  32. package/dist/tools/team-settings.js +67 -35
  33. package/dist/tools/team-settings.js.map +1 -1
  34. package/dist/tools/team-settings.spec.js +57 -0
  35. package/dist/tools/team-settings.spec.js.map +1 -1
  36. package/dist/tools/teams.d.ts.map +1 -1
  37. package/dist/tools/teams.js +5 -2
  38. package/dist/tools/teams.js.map +1 -1
  39. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -845,6 +845,30 @@ export interface paths {
845
845
  patch: operations["updateContact"];
846
846
  trace?: never;
847
847
  };
848
+ "/contacts/{contact_id}/structured-field-values": {
849
+ parameters: {
850
+ query?: never;
851
+ header?: never;
852
+ path?: never;
853
+ cookie?: never;
854
+ };
855
+ /**
856
+ * Get contact structured field values
857
+ * @description Returns the Structured Field values recorded on a contact, plus `applicable_field_ids`: the fields that currently apply to it once every "show when" rule is resolved. A field missing from that list is hidden for this contact: it holds no value and rejects writes until its parent field matches.
858
+ */
859
+ get: operations["getContactStructuredFieldValues"];
860
+ /**
861
+ * Set contact structured field values
862
+ * @description Upserts Structured Field values on a contact; `null` clears a field. Fields are the same definitions sessions use; a contact holds its own values. Every value is validated against its live field definition (an enum leaf choice, a user/team/tag of the organization, or a typed scalar), and a bad entry rejects the whole batch. A value on a field whose "show when" rule is unmet after the batch is rejected with 400; set the parent field in the same batch instead. Values whose field stops applying because a parent changed are cleared automatically. Returns the full current list with `applicable_field_ids`.
863
+ */
864
+ put: operations["setContactStructuredFieldValues"];
865
+ post?: never;
866
+ delete?: never;
867
+ options?: never;
868
+ head?: never;
869
+ patch?: never;
870
+ trace?: never;
871
+ };
848
872
  "/contacts/search": {
849
873
  parameters: {
850
874
  query?: never;
@@ -4116,6 +4140,30 @@ export interface paths {
4116
4140
  patch?: never;
4117
4141
  trace?: never;
4118
4142
  };
4143
+ "/teams/categories": {
4144
+ parameters: {
4145
+ query?: never;
4146
+ header?: never;
4147
+ path?: never;
4148
+ cookie?: never;
4149
+ };
4150
+ /**
4151
+ * List team categories
4152
+ * @description List categories in the current workspace, including categories with no teams. Requires teams:read.
4153
+ */
4154
+ get: operations["listTeamCategories"];
4155
+ put?: never;
4156
+ /**
4157
+ * Create a team category
4158
+ * @description Create a workspace category or return the existing category with the same name, ignoring capitalization and surrounding spaces. Requires teams:write.
4159
+ */
4160
+ post: operations["createTeamCategory"];
4161
+ delete?: never;
4162
+ options?: never;
4163
+ head?: never;
4164
+ patch?: never;
4165
+ trace?: never;
4166
+ };
4119
4167
  "/teams": {
4120
4168
  parameters: {
4121
4169
  query?: never;
@@ -6827,6 +6875,29 @@ export interface components {
6827
6875
  value?: string;
6828
6876
  }[];
6829
6877
  };
6878
+ OfficeHoursExceptionDto: {
6879
+ name: string;
6880
+ /**
6881
+ * Format: date-time
6882
+ * @description Inclusive local start, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
6883
+ */
6884
+ starts_at: string;
6885
+ /**
6886
+ * Format: date-time
6887
+ * @description Exclusive local end, YYYY-MM-DDTHH:mm:ss, in the schedule timezone
6888
+ */
6889
+ ends_at: string;
6890
+ /**
6891
+ * @description Holiday and closed periods override opening hours. Holiday takes precedence.
6892
+ * @enum {string}
6893
+ */
6894
+ kind: "holiday" | "closed" | "open";
6895
+ /**
6896
+ * @description Repeat on the same month and day each year, starting in the specified year
6897
+ * @default false
6898
+ */
6899
+ repeat_yearly: boolean;
6900
+ };
6830
6901
  CreateSlaPolicyDto: {
6831
6902
  name: string;
6832
6903
  office_hours_id?: string | null;
@@ -6855,14 +6926,6 @@ export interface components {
6855
6926
  } | null;
6856
6927
  /** @enum {string} */
6857
6928
  PhoneHandoffReason: "ai_initiated" | "no_agent_assigned" | "agent_unavailable" | "caller_requested" | "timeout" | "unknown";
6858
- SessionStructuredFieldValueInputDto: {
6859
- /** Format: uuid */
6860
- field_id: string;
6861
- value: string | null;
6862
- };
6863
- SetSessionStructuredFieldValuesDto: {
6864
- values: components["schemas"]["SessionStructuredFieldValueInputDto"][];
6865
- };
6866
6929
  CreateStructuredFieldGroupDto: {
6867
6930
  name: string;
6868
6931
  description?: string | null;
@@ -6903,6 +6966,14 @@ export interface components {
6903
6966
  variant_description?: string;
6904
6967
  parent_id?: string | null;
6905
6968
  };
6969
+ SessionStructuredFieldValueInputDto: {
6970
+ /** Format: uuid */
6971
+ field_id: string;
6972
+ value: string | null;
6973
+ };
6974
+ SetSessionStructuredFieldValuesDto: {
6975
+ values: components["schemas"]["SessionStructuredFieldValueInputDto"][];
6976
+ };
6906
6977
  CompanyOwnerInput: {
6907
6978
  /** @description OpenCX user id of the owning teammate */
6908
6979
  id?: number;
@@ -7050,12 +7121,16 @@ export interface components {
7050
7121
  [key: string]: string;
7051
7122
  } | null;
7052
7123
  };
7124
+ CreateGroupCategoryDto: {
7125
+ name: string;
7126
+ };
7053
7127
  AddUserToGroupDto: {
7054
7128
  userId: number;
7055
7129
  groupId?: string;
7056
7130
  };
7057
7131
  CreateGroupDto: {
7058
7132
  name: string;
7133
+ category_id?: string | null;
7059
7134
  description?: string;
7060
7135
  is_support_enabled?: boolean;
7061
7136
  support_office_hours_id?: string | null;
@@ -7103,6 +7178,8 @@ export interface components {
7103
7178
  DefaultOfficeHoursInputDto: {
7104
7179
  /** @description IANA timezone for the default schedule (e.g. "America/New_York", "Europe/London", "Asia/Tokyo") */
7105
7180
  iana_timezone: string;
7181
+ /** @description Omit to preserve existing exceptions; send [] to clear them */
7182
+ exceptions?: components["schemas"]["OfficeHoursExceptionDto"][];
7106
7183
  /** @description Time blocks when support is available. Replaces all existing default shifts. Use day ranges like "monday_to_friday" for convenience. */
7107
7184
  shifts: {
7108
7185
  /**
@@ -7796,7 +7873,7 @@ export interface components {
7796
7873
  };
7797
7874
  EditArticleDto: {
7798
7875
  title: string;
7799
- /** @description Article body as an HTML fragment. */
7876
+ /** @description Article body as an HTML fragment. Embed a video with `<div data-embed="youtube" data-embed-id="VIDEO_ID"></div>`, where `data-embed` is `youtube`, `vimeo`, `loom` or `wistia`; iframes are removed. */
7800
7877
  content_html?: string;
7801
7878
  meta_title?: string;
7802
7879
  meta_description?: string;
@@ -8222,6 +8299,10 @@ export interface components {
8222
8299
  and: components["schemas"]["PublicContactsFilter"][];
8223
8300
  }[];
8224
8301
  };
8302
+ ContactStructuredFieldValueInputDto: components["schemas"]["SessionStructuredFieldValueInputDto"];
8303
+ SetContactStructuredFieldValuesDto: {
8304
+ values: components["schemas"]["ContactStructuredFieldValueInputDto"][];
8305
+ };
8225
8306
  PublicAPIHttpOverrides: {
8226
8307
  query_params?: {
8227
8308
  [key: string]: string;
@@ -8551,6 +8632,8 @@ export interface components {
8551
8632
  name: string;
8552
8633
  /** @description IANA timezone for the schedule (e.g. "America/New_York", "Europe/London", "Asia/Tokyo") */
8553
8634
  iana_timezone: string;
8635
+ /** @description Omit to preserve existing exceptions; send [] to clear them */
8636
+ exceptions?: components["schemas"]["OfficeHoursExceptionDto"][];
8554
8637
  /** @description Time blocks when support is available. Use day ranges like "monday_to_friday" for convenience. */
8555
8638
  shifts: {
8556
8639
  /**
@@ -8569,6 +8652,8 @@ export interface components {
8569
8652
  name: string;
8570
8653
  /** @description Updated IANA timezone */
8571
8654
  iana_timezone: string;
8655
+ /** @description Omit to preserve existing exceptions; send [] to clear them */
8656
+ exceptions?: components["schemas"]["OfficeHoursExceptionDto"][];
8572
8657
  /** @description Complete list of shifts — replaces all existing shifts */
8573
8658
  shifts: {
8574
8659
  /** @description Shift ID (from the existing schedule) */
@@ -8962,6 +9047,7 @@ export interface components {
8962
9047
  };
8963
9048
  UpdateGroupDto: {
8964
9049
  name?: string;
9050
+ category_id?: string | null;
8965
9051
  description?: string;
8966
9052
  is_support_enabled?: boolean;
8967
9053
  support_office_hours_id?: string | null;
@@ -9071,7 +9157,7 @@ export interface components {
9071
9157
  category_entity_id: string;
9072
9158
  title: string;
9073
9159
  slug?: string;
9074
- /** @description Article body as an HTML fragment. */
9160
+ /** @description Article body as an HTML fragment. Embed a video with `<div data-embed="youtube" data-embed-id="VIDEO_ID"></div>`, where `data-embed` is `youtube`, `vimeo`, `loom` or `wistia`; iframes are removed. */
9075
9161
  content_html?: string;
9076
9162
  meta_title?: string;
9077
9163
  meta_description?: string;
@@ -10104,38 +10190,6 @@ export interface components {
10104
10190
  customDataKeys?: string[];
10105
10191
  }[];
10106
10192
  };
10107
- CustomSessionStatusDto: {
10108
- id: string;
10109
- org_id: string;
10110
- name: string;
10111
- description: string | null;
10112
- display_name: string | null;
10113
- display_description: string | null;
10114
- color: string | null;
10115
- icon: string | null;
10116
- /** @enum {string} */
10117
- parent_status: "closed_resolved" | "closed_unresolved" | "open";
10118
- allowed_group_ids: string[];
10119
- /** Format: date-time */
10120
- created_at: string;
10121
- /** Format: date-time */
10122
- updated_at: string;
10123
- };
10124
- SessionStructuredFieldValueDto: {
10125
- org_id: string;
10126
- session_id: string;
10127
- /** Format: uuid */
10128
- field_id: string;
10129
- value: string;
10130
- /** Format: date-time */
10131
- created_at: string;
10132
- /** Format: date-time */
10133
- updated_at: string;
10134
- };
10135
- SessionStructuredFieldValueListDto: {
10136
- data: components["schemas"]["SessionStructuredFieldValueDto"][];
10137
- applicable_field_ids: string[];
10138
- };
10139
10193
  StructuredFieldGroupDto: {
10140
10194
  /** Format: uuid */
10141
10195
  id: string;
@@ -10195,6 +10249,38 @@ export interface components {
10195
10249
  system_options: components["schemas"]["StructuredFieldSystemOptionDto"][];
10196
10250
  };
10197
10251
  StructuredFieldListDto: components["schemas"]["StructuredFieldTreeDto"][];
10252
+ CustomSessionStatusDto: {
10253
+ id: string;
10254
+ org_id: string;
10255
+ name: string;
10256
+ description: string | null;
10257
+ display_name: string | null;
10258
+ display_description: string | null;
10259
+ color: string | null;
10260
+ icon: string | null;
10261
+ /** @enum {string} */
10262
+ parent_status: "closed_resolved" | "closed_unresolved" | "open";
10263
+ allowed_group_ids: string[];
10264
+ /** Format: date-time */
10265
+ created_at: string;
10266
+ /** Format: date-time */
10267
+ updated_at: string;
10268
+ };
10269
+ SessionStructuredFieldValueDto: {
10270
+ org_id: string;
10271
+ session_id: string;
10272
+ /** Format: uuid */
10273
+ field_id: string;
10274
+ value: string;
10275
+ /** Format: date-time */
10276
+ created_at: string;
10277
+ /** Format: date-time */
10278
+ updated_at: string;
10279
+ };
10280
+ SessionStructuredFieldValueListDto: {
10281
+ data: components["schemas"]["SessionStructuredFieldValueDto"][];
10282
+ applicable_field_ids: string[];
10283
+ };
10198
10284
  GenericResponseDto: {
10199
10285
  data?: {
10200
10286
  success: boolean;
@@ -10499,10 +10585,16 @@ export interface components {
10499
10585
  [key: string]: string;
10500
10586
  } | null;
10501
10587
  };
10588
+ GroupCategoryDto: {
10589
+ /** Format: uuid */
10590
+ id: string;
10591
+ name: string;
10592
+ };
10502
10593
  GroupDto: {
10503
10594
  id: string;
10504
10595
  organization_id: string;
10505
10596
  name: string;
10597
+ category_id: string | null;
10506
10598
  description: string | null;
10507
10599
  is_support_enabled: boolean;
10508
10600
  support_office_hours_id: string | null;
@@ -10558,6 +10650,8 @@ export interface components {
10558
10650
  DefaultOfficeHoursResponseDto: {
10559
10651
  /** @description IANA timezone (e.g. "America/New_York", "Europe/London") */
10560
10652
  iana_timezone: string;
10653
+ /** @description Omit to preserve existing exceptions; send [] to clear them */
10654
+ exceptions?: components["schemas"]["OfficeHoursExceptionDto"][];
10561
10655
  /** @description The time blocks when support is available */
10562
10656
  shifts: {
10563
10657
  /** @description Shift ID */
@@ -10591,48 +10685,6 @@ export interface components {
10591
10685
  UpdateAgentWorkflowsResponseDto: {
10592
10686
  success: boolean;
10593
10687
  };
10594
- PhoneAgentDto: {
10595
- id: string;
10596
- org_id: string;
10597
- phone_number: string | null;
10598
- outbound_caller_number: string | null;
10599
- name: string | null;
10600
- /** @enum {string} */
10601
- type: "inbound" | "outbound";
10602
- language: string[];
10603
- accent: string | null;
10604
- handoff_phone_number: string | null;
10605
- speed: number | null;
10606
- interruptible: boolean;
10607
- actionIds: string[] | null;
10608
- instructions: string[] | null;
10609
- data_collection_fields: string[] | null;
10610
- data_collection_webhook_url: string | null;
10611
- /** @enum {string} */
10612
- model: "oppie-vox" | "oppie-vox-turbo" | "oppie-vox-livekit";
10613
- voice_id: string | null;
10614
- /** @enum {string} */
10615
- voice_mode: "modular" | "live";
10616
- first_message: string | null;
10617
- /** Format: date-time */
10618
- created_at: string;
10619
- /** Format: date-time */
10620
- updated_at: string;
10621
- provider_external_id: string | null;
10622
- flow: unknown | null;
10623
- use_org_knowledgebase: boolean;
10624
- background_noise_preset: ("office" | "bar" | "city-street") | null;
10625
- recording_enabled: boolean;
10626
- search_enabled: boolean;
10627
- stt_keyterms: string[];
10628
- stt_model: ("deepgram/flux-general" | "deepgram/nova-3" | "deepgram/nova-3-medical" | "cartesia/ink-whisper" | "elevenlabs/scribe_v2_realtime" | "xai/stt-1" | "assemblyai/universal-3-5-pro" | "speechmatics/enhanced" | "google/gemini-3.5-transcribe-live" | "soniox/stt-rt-v5" | "openai/gpt-live-transcribe") | null;
10629
- tts_speed_pct: number | null;
10630
- /** @enum {string} */
10631
- tts_provider: "elevenlabs" | "cartesia";
10632
- failover_transfer_destination_id: string | null;
10633
- /** @description Transfer destinations the agent may transfer to (`transfer_call` targets). */
10634
- transfer_destination_ids: string[];
10635
- };
10636
10688
  PhoneAgentVoiceDto: {
10637
10689
  /** @enum {string} */
10638
10690
  provider: "elevenlabs" | "cartesia" | "vapi" | "live";
@@ -13722,6 +13774,21 @@ export interface components {
13722
13774
  }[];
13723
13775
  next: string | null;
13724
13776
  };
13777
+ ContactStructuredFieldValueDto: {
13778
+ org_id: string;
13779
+ contact_id: string;
13780
+ /** Format: uuid */
13781
+ field_id: string;
13782
+ value: string;
13783
+ /** Format: date-time */
13784
+ created_at: string;
13785
+ /** Format: date-time */
13786
+ updated_at: string;
13787
+ };
13788
+ ContactStructuredFieldValueListDto: {
13789
+ data: components["schemas"]["ContactStructuredFieldValueDto"][];
13790
+ applicable_field_ids: string[];
13791
+ };
13725
13792
  SaveContactOutput: {
13726
13793
  /** Format: uuid */
13727
13794
  id?: string;
@@ -14640,6 +14707,7 @@ export interface components {
14640
14707
  created_at: string;
14641
14708
  /** Format: date-time */
14642
14709
  updated_at: string;
14710
+ exceptions: components["schemas"]["OfficeHoursExceptionDto"][];
14643
14711
  /** @description The time blocks when support is available */
14644
14712
  shifts: {
14645
14713
  /**
@@ -14979,6 +15047,48 @@ export interface components {
14979
15047
  phone_agent_id: string;
14980
15048
  caller_number: string | null;
14981
15049
  };
15050
+ PhoneAgentDto: {
15051
+ id: string;
15052
+ org_id: string;
15053
+ phone_number: string | null;
15054
+ outbound_caller_number: string | null;
15055
+ name: string | null;
15056
+ /** @enum {string} */
15057
+ type: "inbound" | "outbound";
15058
+ language: string[];
15059
+ accent: string | null;
15060
+ handoff_phone_number: string | null;
15061
+ speed: number | null;
15062
+ interruptible: boolean;
15063
+ actionIds: string[] | null;
15064
+ instructions: string[] | null;
15065
+ data_collection_fields: string[] | null;
15066
+ data_collection_webhook_url: string | null;
15067
+ /** @enum {string} */
15068
+ model: "oppie-vox" | "oppie-vox-turbo" | "oppie-vox-livekit";
15069
+ voice_id: string | null;
15070
+ /** @enum {string} */
15071
+ voice_mode: "modular" | "live";
15072
+ first_message: string | null;
15073
+ /** Format: date-time */
15074
+ created_at: string;
15075
+ /** Format: date-time */
15076
+ updated_at: string;
15077
+ provider_external_id: string | null;
15078
+ flow: unknown | null;
15079
+ use_org_knowledgebase: boolean;
15080
+ background_noise_preset: ("office" | "bar" | "city-street") | null;
15081
+ recording_enabled: boolean;
15082
+ search_enabled: boolean;
15083
+ stt_keyterms: string[];
15084
+ stt_model: ("deepgram/flux-general" | "deepgram/nova-3" | "deepgram/nova-3-medical" | "cartesia/ink-whisper" | "elevenlabs/scribe_v2_realtime" | "xai/stt-1" | "assemblyai/universal-3-5-pro" | "speechmatics/enhanced" | "google/gemini-3.5-transcribe-live" | "soniox/stt-rt-v5" | "openai/gpt-live-transcribe") | null;
15085
+ tts_speed_pct: number | null;
15086
+ /** @enum {string} */
15087
+ tts_provider: "elevenlabs" | "cartesia";
15088
+ failover_transfer_destination_id: string | null;
15089
+ /** @description Transfer destinations the agent may transfer to (`transfer_call` targets). */
15090
+ transfer_destination_ids: string[];
15091
+ };
14982
15092
  PublicResourceUsageConversationsDto: {
14983
15093
  conversations: {
14984
15094
  session_id: string;
@@ -15188,7 +15298,7 @@ export interface components {
15188
15298
  /** Format: email */
15189
15299
  email: string;
15190
15300
  avatar_url?: string | null;
15191
- permissions?: ("*" | "sessions:read" | "sessions:write" | "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;
15301
+ 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;
15192
15302
  roles: components["schemas"]["OrgUserRole"][];
15193
15303
  };
15194
15304
  OrgUserDetail: {
@@ -15198,7 +15308,7 @@ export interface components {
15198
15308
  /** Format: email */
15199
15309
  email: string;
15200
15310
  avatar_url?: string | null;
15201
- permissions?: ("*" | "sessions:read" | "sessions:write" | "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;
15311
+ 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;
15202
15312
  roles: components["schemas"]["OrgUserRole"][];
15203
15313
  teams: {
15204
15314
  group: components["schemas"]["GroupDto"];
@@ -15220,7 +15330,7 @@ export interface components {
15220
15330
  id: string;
15221
15331
  name: string;
15222
15332
  description: string | null;
15223
- permissions: ("*" | "sessions:read" | "sessions:write" | "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")[];
15333
+ 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")[];
15224
15334
  };
15225
15335
  PublicInsight: {
15226
15336
  /** Format: uuid */
@@ -17665,6 +17775,72 @@ export interface operations {
17665
17775
  };
17666
17776
  };
17667
17777
  };
17778
+ getContactStructuredFieldValues: {
17779
+ parameters: {
17780
+ query?: never;
17781
+ header?: never;
17782
+ path: {
17783
+ contact_id: string;
17784
+ };
17785
+ cookie?: never;
17786
+ };
17787
+ requestBody?: never;
17788
+ responses: {
17789
+ /** @description Default Response */
17790
+ 200: {
17791
+ headers: {
17792
+ [name: string]: unknown;
17793
+ };
17794
+ content: {
17795
+ "application/json": components["schemas"]["ContactStructuredFieldValueListDto"];
17796
+ };
17797
+ };
17798
+ /** @description Internal Server Error */
17799
+ 500: {
17800
+ headers: {
17801
+ [name: string]: unknown;
17802
+ };
17803
+ content: {
17804
+ "application/json": components["schemas"]["ErrorDto"];
17805
+ };
17806
+ };
17807
+ };
17808
+ };
17809
+ setContactStructuredFieldValues: {
17810
+ parameters: {
17811
+ query?: never;
17812
+ header?: never;
17813
+ path: {
17814
+ contact_id: string;
17815
+ };
17816
+ cookie?: never;
17817
+ };
17818
+ requestBody: {
17819
+ content: {
17820
+ "application/json": components["schemas"]["SetContactStructuredFieldValuesDto"];
17821
+ };
17822
+ };
17823
+ responses: {
17824
+ /** @description Default Response */
17825
+ 200: {
17826
+ headers: {
17827
+ [name: string]: unknown;
17828
+ };
17829
+ content: {
17830
+ "application/json": components["schemas"]["ContactStructuredFieldValueListDto"];
17831
+ };
17832
+ };
17833
+ /** @description Internal Server Error */
17834
+ 500: {
17835
+ headers: {
17836
+ [name: string]: unknown;
17837
+ };
17838
+ content: {
17839
+ "application/json": components["schemas"]["ErrorDto"];
17840
+ };
17841
+ };
17842
+ };
17843
+ };
17668
17844
  searchContacts: {
17669
17845
  parameters: {
17670
17846
  query?: never;
@@ -25012,6 +25188,68 @@ export interface operations {
25012
25188
  };
25013
25189
  };
25014
25190
  };
25191
+ listTeamCategories: {
25192
+ parameters: {
25193
+ query?: never;
25194
+ header?: never;
25195
+ path?: never;
25196
+ cookie?: never;
25197
+ };
25198
+ requestBody?: never;
25199
+ responses: {
25200
+ /** @description Default Response */
25201
+ 200: {
25202
+ headers: {
25203
+ [name: string]: unknown;
25204
+ };
25205
+ content: {
25206
+ "application/json": components["schemas"]["GroupCategoryDto"][];
25207
+ };
25208
+ };
25209
+ /** @description Internal Server Error */
25210
+ 500: {
25211
+ headers: {
25212
+ [name: string]: unknown;
25213
+ };
25214
+ content: {
25215
+ "application/json": components["schemas"]["ErrorDto"];
25216
+ };
25217
+ };
25218
+ };
25219
+ };
25220
+ createTeamCategory: {
25221
+ parameters: {
25222
+ query?: never;
25223
+ header?: never;
25224
+ path?: never;
25225
+ cookie?: never;
25226
+ };
25227
+ requestBody: {
25228
+ content: {
25229
+ "application/json": components["schemas"]["CreateGroupCategoryDto"];
25230
+ };
25231
+ };
25232
+ responses: {
25233
+ /** @description Default Response */
25234
+ 201: {
25235
+ headers: {
25236
+ [name: string]: unknown;
25237
+ };
25238
+ content: {
25239
+ "application/json": components["schemas"]["GroupCategoryDto"];
25240
+ };
25241
+ };
25242
+ /** @description Internal Server Error */
25243
+ 500: {
25244
+ headers: {
25245
+ [name: string]: unknown;
25246
+ };
25247
+ content: {
25248
+ "application/json": components["schemas"]["ErrorDto"];
25249
+ };
25250
+ };
25251
+ };
25252
+ };
25015
25253
  getTeams: {
25016
25254
  parameters: {
25017
25255
  query?: never;