@opencx/mcp 1.15.87 → 1.15.88

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
@@ -4712,6 +4712,74 @@ export interface paths {
4712
4712
  patch?: never;
4713
4713
  trace?: never;
4714
4714
  };
4715
+ "/team-presets": {
4716
+ parameters: {
4717
+ query?: never;
4718
+ header?: never;
4719
+ path?: never;
4720
+ cookie?: never;
4721
+ };
4722
+ /**
4723
+ * List team presets
4724
+ * @description List the named sets of teams defined for this workspace. Requires teams:read.
4725
+ */
4726
+ get: operations["listTeamPresets"];
4727
+ put?: never;
4728
+ /**
4729
+ * Create a team preset
4730
+ * @description Create a named set of teams. Names are unique in the workspace, ignoring capitalization. Requires teams:write.
4731
+ */
4732
+ post: operations["createTeamPreset"];
4733
+ delete?: never;
4734
+ options?: never;
4735
+ head?: never;
4736
+ patch?: never;
4737
+ trace?: never;
4738
+ };
4739
+ "/team-presets/{presetId}": {
4740
+ parameters: {
4741
+ query?: never;
4742
+ header?: never;
4743
+ path?: never;
4744
+ cookie?: never;
4745
+ };
4746
+ get?: never;
4747
+ put?: never;
4748
+ post?: never;
4749
+ /**
4750
+ * Delete a team preset
4751
+ * @description Delete a preset. Teammates who already received it keep their teams. Requires teams:write.
4752
+ */
4753
+ delete: operations["deleteTeamPreset"];
4754
+ options?: never;
4755
+ head?: never;
4756
+ /**
4757
+ * Update a team preset
4758
+ * @description Rename a preset, replace its list of teams, or both. Omitted fields stay unchanged. Teammates who already received the preset keep their teams. Requires teams:write.
4759
+ */
4760
+ patch: operations["updateTeamPreset"];
4761
+ trace?: never;
4762
+ };
4763
+ "/team-presets/{presetId}/apply": {
4764
+ parameters: {
4765
+ query?: never;
4766
+ header?: never;
4767
+ path?: never;
4768
+ cookie?: never;
4769
+ };
4770
+ get?: never;
4771
+ put?: never;
4772
+ /**
4773
+ * Apply a team preset to a teammate
4774
+ * @description Add a teammate to the preset's teams. Their current teams are kept and no one is removed from a team, so applying twice is harmless. Returns every team in the preset and the ones this call added. Requires teams:write.
4775
+ */
4776
+ post: operations["applyTeamPreset"];
4777
+ delete?: never;
4778
+ options?: never;
4779
+ head?: never;
4780
+ patch?: never;
4781
+ trace?: never;
4782
+ };
4715
4783
  "/training": {
4716
4784
  parameters: {
4717
4785
  query?: never;
@@ -8491,6 +8559,17 @@ export interface components {
8491
8559
  userId: number;
8492
8560
  groupId?: string;
8493
8561
  };
8562
+ CreateTeamPresetDto: {
8563
+ name: string;
8564
+ team_ids: string[];
8565
+ };
8566
+ UpdateTeamPresetDto: {
8567
+ name?: string;
8568
+ team_ids?: string[];
8569
+ };
8570
+ ApplyTeamPresetDto: {
8571
+ user_id: number;
8572
+ };
8494
8573
  CreateWebCallDto: {
8495
8574
  /**
8496
8575
  * Format: uuid
@@ -12361,6 +12440,23 @@ export interface components {
12361
12440
  group_capacity: number | null;
12362
12441
  global_capacity: number;
12363
12442
  };
12443
+ TeamPresetDto: {
12444
+ /** Format: uuid */
12445
+ id: string;
12446
+ name: string;
12447
+ teams: {
12448
+ id: string;
12449
+ name: string;
12450
+ }[];
12451
+ /** Format: date-time */
12452
+ created_at: string;
12453
+ /** Format: date-time */
12454
+ updated_at: string;
12455
+ };
12456
+ ApplyTeamPresetResultDto: {
12457
+ team_ids: string[];
12458
+ added_team_ids: string[];
12459
+ };
12364
12460
  WebCallCredentialsDto: {
12365
12461
  /** Format: uuid */
12366
12462
  callId: string;
@@ -18092,6 +18188,8 @@ export interface components {
18092
18188
  /** @enum {string} */
18093
18189
  presence_sync: "off" | "inbound" | "two_way";
18094
18190
  contact_attribute_keys: string[];
18191
+ /** @description Participant-data keys the org's Genesys has set on its conversations, as OpenCX has seen them */
18192
+ participant_data_keys: string[];
18095
18193
  /** @description Each directory sync makes a team of every Genesys queue not excluded */
18096
18194
  sync_queues_as_teams: boolean;
18097
18195
  /** @description Genesys queue ids OpenCX leaves alone: no team is made for them */
@@ -19047,7 +19145,7 @@ export interface operations {
19047
19145
  query?: {
19048
19146
  startDate?: string;
19049
19147
  endDate?: string;
19050
- /** @description Repeat to match any of several. Known values: organization, chat_session, custom_session_status, chat_history, consumer, user, group, group_user, role, user_role, skill, user_skills, action, workflow, flow_variable, api_key, openapi_spec, twilio_credential, twitter_account, sunshine_integration, genesys_integration, shopify_settings, airbyte_connection, email_channel, custom_domain, sequence, outbound_email, help_center, help_center_category, help_center_article, ai_instruction, website_data_source, pdf_data_source, ai_phone_agent, call_history, teammate_call, analytics, voc_insight, ai_evaluation, organization_model_version, organization_tags_definition, organization_draft_mode_settings, webhook_endpoint, agent_availability, csat_score, csat_settings, agent_assignment_settings, ai_context_custom_data_filters, alert_rule, pii_redaction_settings, security_settings, security_notification_settings, mini_app, mini_app_version, mcp_server, mcp_connection, organization_secret, saved_reply_translation, workspace_settings. */
19148
+ /** @description Repeat to match any of several. Known values: organization, chat_session, custom_session_status, chat_history, consumer, user, group, group_user, team_preset, role, user_role, skill, user_skills, action, workflow, flow_variable, api_key, openapi_spec, twilio_credential, twitter_account, sunshine_integration, genesys_integration, shopify_settings, airbyte_connection, email_channel, custom_domain, sequence, outbound_email, help_center, help_center_category, help_center_article, ai_instruction, website_data_source, pdf_data_source, ai_phone_agent, call_history, teammate_call, analytics, voc_insight, ai_evaluation, organization_model_version, organization_tags_definition, organization_draft_mode_settings, webhook_endpoint, agent_availability, csat_score, csat_settings, agent_assignment_settings, ai_context_custom_data_filters, alert_rule, pii_redaction_settings, security_settings, security_notification_settings, mini_app, mini_app_version, mcp_server, mcp_connection, organization_secret, saved_reply_translation, workspace_settings. */
19051
19149
  entityType?: string | string[];
19052
19150
  entityId?: string;
19053
19151
  /** @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, idle_exit, settings_update, handoff_settings_update, translation_settings_update, integration_connect, mcp_tool_call, access_token_retrieved, integration_disconnect, secret_rotate, webhook_create, webhook_update, webhook_delete, permission_grant, permission_revoke, api_key_create, api_key_delete, twitter_chat_passcode_reveal, user_invite, user_invite_accept, user_remove, user_deactivate, user_reactivate, email_send, message_send, teammate_call_started, teammate_call_ended, conference_participant_invited, conference_participant_removed, session_takeover, session_assignee_update, organization_update, ownership_transfer, 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, super_invite_link_created, super_invite_link_used, alert_rule.created, alert_rule.updated, alert_rule.deleted, publish, share. */
@@ -29100,6 +29198,167 @@ export interface operations {
29100
29198
  };
29101
29199
  };
29102
29200
  };
29201
+ listTeamPresets: {
29202
+ parameters: {
29203
+ query?: never;
29204
+ header?: never;
29205
+ path?: never;
29206
+ cookie?: never;
29207
+ };
29208
+ requestBody?: never;
29209
+ responses: {
29210
+ /** @description Default Response */
29211
+ 200: {
29212
+ headers: {
29213
+ [name: string]: unknown;
29214
+ };
29215
+ content: {
29216
+ "application/json": components["schemas"]["TeamPresetDto"][];
29217
+ };
29218
+ };
29219
+ /** @description Internal Server Error */
29220
+ 500: {
29221
+ headers: {
29222
+ [name: string]: unknown;
29223
+ };
29224
+ content: {
29225
+ "application/json": components["schemas"]["ErrorDto"];
29226
+ };
29227
+ };
29228
+ };
29229
+ };
29230
+ createTeamPreset: {
29231
+ parameters: {
29232
+ query?: never;
29233
+ header?: never;
29234
+ path?: never;
29235
+ cookie?: never;
29236
+ };
29237
+ requestBody: {
29238
+ content: {
29239
+ "application/json": components["schemas"]["CreateTeamPresetDto"];
29240
+ };
29241
+ };
29242
+ responses: {
29243
+ /** @description Default Response */
29244
+ 201: {
29245
+ headers: {
29246
+ [name: string]: unknown;
29247
+ };
29248
+ content: {
29249
+ "application/json": components["schemas"]["TeamPresetDto"];
29250
+ };
29251
+ };
29252
+ /** @description Internal Server Error */
29253
+ 500: {
29254
+ headers: {
29255
+ [name: string]: unknown;
29256
+ };
29257
+ content: {
29258
+ "application/json": components["schemas"]["ErrorDto"];
29259
+ };
29260
+ };
29261
+ };
29262
+ };
29263
+ deleteTeamPreset: {
29264
+ parameters: {
29265
+ query?: never;
29266
+ header?: never;
29267
+ path: {
29268
+ presetId: string;
29269
+ };
29270
+ cookie?: never;
29271
+ };
29272
+ requestBody?: never;
29273
+ responses: {
29274
+ /** @description Default Response */
29275
+ 204: {
29276
+ headers: {
29277
+ [name: string]: unknown;
29278
+ };
29279
+ content?: never;
29280
+ };
29281
+ /** @description Internal Server Error */
29282
+ 500: {
29283
+ headers: {
29284
+ [name: string]: unknown;
29285
+ };
29286
+ content: {
29287
+ "application/json": components["schemas"]["ErrorDto"];
29288
+ };
29289
+ };
29290
+ };
29291
+ };
29292
+ updateTeamPreset: {
29293
+ parameters: {
29294
+ query?: never;
29295
+ header?: never;
29296
+ path: {
29297
+ presetId: string;
29298
+ };
29299
+ cookie?: never;
29300
+ };
29301
+ requestBody: {
29302
+ content: {
29303
+ "application/json": components["schemas"]["UpdateTeamPresetDto"];
29304
+ };
29305
+ };
29306
+ responses: {
29307
+ /** @description Default Response */
29308
+ 200: {
29309
+ headers: {
29310
+ [name: string]: unknown;
29311
+ };
29312
+ content: {
29313
+ "application/json": components["schemas"]["TeamPresetDto"];
29314
+ };
29315
+ };
29316
+ /** @description Internal Server Error */
29317
+ 500: {
29318
+ headers: {
29319
+ [name: string]: unknown;
29320
+ };
29321
+ content: {
29322
+ "application/json": components["schemas"]["ErrorDto"];
29323
+ };
29324
+ };
29325
+ };
29326
+ };
29327
+ applyTeamPreset: {
29328
+ parameters: {
29329
+ query?: never;
29330
+ header?: never;
29331
+ path: {
29332
+ presetId: string;
29333
+ };
29334
+ cookie?: never;
29335
+ };
29336
+ requestBody: {
29337
+ content: {
29338
+ "application/json": components["schemas"]["ApplyTeamPresetDto"];
29339
+ };
29340
+ };
29341
+ responses: {
29342
+ /** @description Default Response */
29343
+ 201: {
29344
+ headers: {
29345
+ [name: string]: unknown;
29346
+ };
29347
+ content: {
29348
+ "application/json": components["schemas"]["ApplyTeamPresetResultDto"];
29349
+ };
29350
+ };
29351
+ /** @description Internal Server Error */
29352
+ 500: {
29353
+ headers: {
29354
+ [name: string]: unknown;
29355
+ };
29356
+ content: {
29357
+ "application/json": components["schemas"]["ErrorDto"];
29358
+ };
29359
+ };
29360
+ };
29361
+ };
29103
29362
  listTrainings: {
29104
29363
  parameters: {
29105
29364
  query?: {