@opencx/mcp 1.11.80 → 1.11.81

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
@@ -730,7 +730,7 @@ export interface paths {
730
730
  put?: never;
731
731
  /**
732
732
  * Exclude pages from sync
733
- * @description Bulk exclude pages from future syncs. Excluded pages retain their knowledge base items but are skipped during crawls.
733
+ * @description Bulk exclude pages from future syncs. Excluding a page deletes its knowledge base content so the AI no longer surfaces it, and skips it on future crawls. Re-including a page requeues it for the next crawl to rebuild its content.
734
734
  */
735
735
  post: operations["excludeCrawlPages"];
736
736
  delete?: never;
@@ -1420,6 +1420,54 @@ export interface paths {
1420
1420
  patch?: never;
1421
1421
  trace?: never;
1422
1422
  };
1423
+ "/tags/categories": {
1424
+ parameters: {
1425
+ query?: never;
1426
+ header?: never;
1427
+ path?: never;
1428
+ cookie?: never;
1429
+ };
1430
+ /**
1431
+ * List tag categories
1432
+ * @description List all tag categories for your organization. Categories group related tags (e.g. "Billing", "Product Area") so the AI can tag scalably across large taxonomies.
1433
+ */
1434
+ get: operations["listTagCategories"];
1435
+ put?: never;
1436
+ /**
1437
+ * Create a tag category
1438
+ * @description Create a new tag category. Tags can then be assigned to it via upsertTag using the returned category id.
1439
+ */
1440
+ post: operations["createTagCategory"];
1441
+ delete?: never;
1442
+ options?: never;
1443
+ head?: never;
1444
+ patch?: never;
1445
+ trace?: never;
1446
+ };
1447
+ "/tags/categories/{id}": {
1448
+ parameters: {
1449
+ query?: never;
1450
+ header?: never;
1451
+ path?: never;
1452
+ cookie?: never;
1453
+ };
1454
+ get?: never;
1455
+ /**
1456
+ * Update a tag category
1457
+ * @description Update the name and/or description of an existing tag category.
1458
+ */
1459
+ put: operations["updateTagCategory"];
1460
+ post?: never;
1461
+ /**
1462
+ * Delete a tag category
1463
+ * @description Delete a tag category. Tags previously assigned to it become uncategorized.
1464
+ */
1465
+ delete: operations["deleteTagCategory"];
1466
+ options?: never;
1467
+ head?: never;
1468
+ patch?: never;
1469
+ trace?: never;
1470
+ };
1423
1471
  "/workflows/definitions": {
1424
1472
  parameters: {
1425
1473
  query?: never;
@@ -3673,14 +3721,6 @@ export interface components {
3673
3721
  /** Format: date-time */
3674
3722
  before?: string;
3675
3723
  };
3676
- CreateGroupDto: {
3677
- name: string;
3678
- description?: string;
3679
- is_support_enabled?: boolean;
3680
- support_office_hours_id?: string | null;
3681
- /** @enum {string} */
3682
- support_assignment_strategy?: "least-busy" | "round-robin" | "unassigned";
3683
- };
3684
3724
  MakeOutboundCallDto: {
3685
3725
  phoneAgentId: string;
3686
3726
  contact: {
@@ -3788,6 +3828,14 @@ export interface components {
3788
3828
  }[];
3789
3829
  }[];
3790
3830
  };
3831
+ CreateGroupDto: {
3832
+ name: string;
3833
+ description?: string;
3834
+ is_support_enabled?: boolean;
3835
+ support_office_hours_id?: string | null;
3836
+ /** @enum {string} */
3837
+ support_assignment_strategy?: "least-busy" | "round-robin" | "unassigned";
3838
+ };
3791
3839
  CreateVocCategoryDto: {
3792
3840
  name: string;
3793
3841
  description?: string | null;
@@ -4215,6 +4263,17 @@ export interface components {
4215
4263
  custom_data?: {
4216
4264
  [key: string]: string | number | boolean;
4217
4265
  };
4266
+ /** @description Contact to associate with the session. When provided (and no contact_id is given) a contact is created/updated and linked to the session; its custom_data is persisted on the contact. Honors the top-level `verified` flag — verified contacts write to custom_data, otherwise to non_verified_custom_data. */
4267
+ contact?: {
4268
+ /** Format: email */
4269
+ email?: string;
4270
+ name?: string;
4271
+ phone_number?: string;
4272
+ /** @description Custom data to store on the contact for this session. */
4273
+ custom_data?: {
4274
+ [key: string]: string;
4275
+ };
4276
+ };
4218
4277
  };
4219
4278
  UpdateChatSessionInput: {
4220
4279
  /** @enum {string} */
@@ -4800,11 +4859,25 @@ export interface components {
4800
4859
  description?: string | null;
4801
4860
  /** @description If true, the AI will never auto-apply this tag (default: false) */
4802
4861
  exclude_from_auto_tagging?: boolean;
4862
+ /** @description Assign the tag to a category (uuid), null to clear, omit to leave unchanged */
4863
+ category_id?: string | null;
4803
4864
  };
4804
4865
  UpdateAutoTaggingInputDto: {
4805
4866
  /** @description Set true to enable, false to disable */
4806
4867
  enabled: boolean;
4807
4868
  };
4869
+ CreateTagCategoryInputDto: {
4870
+ /** @description Category name (e.g. "Billing", "Product Area") */
4871
+ name: string;
4872
+ /** @description What this category groups together (used to guide AI tagging) */
4873
+ description: string;
4874
+ };
4875
+ UpdateTagCategoryInputDto: {
4876
+ /** @description New category name */
4877
+ name?: string;
4878
+ /** @description New description for the category */
4879
+ description?: string;
4880
+ };
4808
4881
  SearchTrainingKnowledgeInputDto: {
4809
4882
  query: string;
4810
4883
  /** @default 10 */
@@ -4947,6 +5020,50 @@ export interface components {
4947
5020
  } | {
4948
5021
  /** @constant */
4949
5022
  type: "response_skipped";
5023
+ /** @enum {string} */
5024
+ reason?: "empty_response" | "potential_answers_dead_end";
5025
+ reasoning?: ({
5026
+ /** @constant */
5027
+ type: "reasoning";
5028
+ content: string;
5029
+ } | {
5030
+ /** @constant */
5031
+ type: "tool_call";
5032
+ call_id: string;
5033
+ tool_name: string;
5034
+ action?: {
5035
+ name: string;
5036
+ id: string;
5037
+ openapi?: {
5038
+ openapi_spec_id?: string;
5039
+ operation_spec: unknown;
5040
+ operation_id?: string;
5041
+ operation_method?: string;
5042
+ };
5043
+ metadata: unknown;
5044
+ required_form_submission?: boolean;
5045
+ is_handoff_like?: boolean;
5046
+ };
5047
+ call_arguments: string;
5048
+ call_result: string;
5049
+ })[];
5050
+ context?: {
5051
+ knowledgeBaseItems: {
5052
+ itemId: string;
5053
+ chunkIndex: number;
5054
+ title: string;
5055
+ url?: string;
5056
+ }[];
5057
+ instructions: {
5058
+ id: string;
5059
+ title: string;
5060
+ }[];
5061
+ tools: {
5062
+ name: string;
5063
+ }[];
5064
+ };
5065
+ suppressedResponseText?: string;
5066
+ reasoningSummary?: string;
4950
5067
  } | {
4951
5068
  /** @constant */
4952
5069
  type: "response";
@@ -4992,6 +5109,7 @@ export interface components {
4992
5109
  call_arguments: string;
4993
5110
  call_result: string;
4994
5111
  })[];
5112
+ reasoningSummary?: string;
4995
5113
  /** @description Quick reply suggestions for the user */
4996
5114
  quickReplySuggestions: {
4997
5115
  toolName?: string | null;
@@ -5130,7 +5248,7 @@ export interface components {
5130
5248
  }) | null;
5131
5249
  knowledgebase_called?: boolean | null;
5132
5250
  /** @enum {string} */
5133
- type: "agent_assigned_by_system" | "agent_assigned_by_user" | "agent_changed" | "agent_comment" | "agent_initiated_session" | "agent_joined" | "agent_message" | "agent_reopened_session" | "agent_took_session_from_ai" | "agent_unassigned_by_system" | "agent_unassigned_by_user" | "ai_assumed_the_session_resolved" | "ai_decided_to_resolve_the_issue" | "ai_reopened_session" | "call_history" | "call_transferred" | "closed_resolved_by_agent" | "closed_resolved_by_api" | "closed_resolved_by_contact" | "closed_resolved_by_integration" | "closed_resolved_by_system" | "closed_unresolved_by_agent" | "closed_unresolved_by_api" | "closed_unresolved_by_system" | "contact_data_updated" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_zendesk" | "message" | "prohibited_topic_detected" | "sequence_message" | "sla_applied_by_agent" | "sla_applied_by_system" | "sla_first_reply_breached" | "sla_first_reply_completed_after_breach" | "sla_first_reply_fulfilled" | "sla_first_reply_metric_started" | "sla_freezed_office_hours_ended" | "sla_freezed_snoozed" | "sla_next_reply_breached" | "sla_next_reply_completed_after_breach" | "sla_next_reply_fulfilled" | "sla_next_reply_metric_started" | "sla_removed_by_agent" | "sla_removed_by_system" | "sla_resolution_breached" | "sla_resolution_completed_after_breach" | "sla_resolution_fulfilled" | "sla_resolution_metric_started" | "sla_resolution_paused_resolved" | "sla_resolution_paused_waiting_on_customer" | "sla_resolution_resumed_customer_replied" | "sla_resolution_resumed_reopened" | "sla_resumed_office_hours_started" | "sla_resumed_snooze_cancelled" | "sla_resumed_snooze_expired" | "state_checkpoint" | "sub_status_removed_by_agent" | "sub_status_removed_by_api" | "sub_status_removed_by_system" | "sub_status_set_by_agent" | "sub_status_set_by_api" | "sub_status_set_by_system" | "system_reopened_session" | "team_assigned_by_system" | "team_assigned_by_user" | "team_unassigned_by_system" | "team_unassigned_by_user" | "user_confirmed_the_session_resolved" | "workflow_message" | "workflow_note" | "workflow_triggered";
5251
+ type: "agent_assigned_by_system" | "agent_assigned_by_user" | "agent_changed" | "agent_comment" | "agent_initiated_session" | "agent_joined" | "agent_message" | "agent_reopened_session" | "agent_took_session_from_ai" | "agent_unassigned_by_system" | "agent_unassigned_by_user" | "ai_assumed_the_session_resolved" | "ai_decided_to_not_reply" | "ai_decided_to_resolve_the_issue" | "ai_reopened_session" | "ai_response_cancelled" | "call_history" | "call_transferred" | "closed_resolved_by_agent" | "closed_resolved_by_api" | "closed_resolved_by_contact" | "closed_resolved_by_integration" | "closed_resolved_by_system" | "closed_unresolved_by_agent" | "closed_unresolved_by_api" | "closed_unresolved_by_system" | "contact_data_updated" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_zendesk" | "message" | "prohibited_topic_detected" | "sequence_message" | "sla_applied_by_agent" | "sla_applied_by_system" | "sla_first_reply_breached" | "sla_first_reply_completed_after_breach" | "sla_first_reply_fulfilled" | "sla_first_reply_metric_started" | "sla_freezed_office_hours_ended" | "sla_freezed_snoozed" | "sla_next_reply_breached" | "sla_next_reply_completed_after_breach" | "sla_next_reply_fulfilled" | "sla_next_reply_metric_started" | "sla_removed_by_agent" | "sla_removed_by_system" | "sla_resolution_breached" | "sla_resolution_completed_after_breach" | "sla_resolution_fulfilled" | "sla_resolution_metric_started" | "sla_resolution_paused_resolved" | "sla_resolution_paused_waiting_on_customer" | "sla_resolution_resumed_customer_replied" | "sla_resolution_resumed_reopened" | "sla_resumed_office_hours_started" | "sla_resumed_snooze_cancelled" | "sla_resumed_snooze_expired" | "state_checkpoint" | "sub_status_removed_by_agent" | "sub_status_removed_by_api" | "sub_status_removed_by_system" | "sub_status_set_by_agent" | "sub_status_set_by_api" | "sub_status_set_by_system" | "system_reopened_session" | "team_assigned_by_system" | "team_assigned_by_user" | "team_unassigned_by_system" | "team_unassigned_by_user" | "user_confirmed_the_session_resolved" | "workflow_message" | "workflow_note" | "workflow_triggered";
5134
5252
  extra_params?: {
5135
5253
  [key: string]: unknown;
5136
5254
  } | null;
@@ -5146,6 +5264,7 @@ export interface components {
5146
5264
  contact_source?: ("form" | "freshchat" | "hubspot" | "intercom" | "pipedream" | "salesforce" | "slack") | null;
5147
5265
  contact_slack_data?: string | null;
5148
5266
  attachments?: components["schemas"]["ChatAttachmentDto"][] | null;
5267
+ email_rfc_message_id?: string | null;
5149
5268
  external_message_id?: string | null;
5150
5269
  csat_score?: number | null;
5151
5270
  csat_feedback?: string | null;
@@ -5171,27 +5290,6 @@ export interface components {
5171
5290
  edited_at?: string | null;
5172
5291
  deleted_at?: string | null;
5173
5292
  };
5174
- GroupUsersDto: {
5175
- id: number;
5176
- name: string;
5177
- email: string;
5178
- is_available: boolean;
5179
- group_capacity: number | null;
5180
- global_capacity: number;
5181
- };
5182
- GroupDto: {
5183
- id: string;
5184
- organization_id: string;
5185
- name: string;
5186
- description: string | null;
5187
- is_support_enabled: boolean;
5188
- support_office_hours_id: string | null;
5189
- /** @enum {string} */
5190
- support_assignment_strategy: "least-busy" | "round-robin" | "unassigned";
5191
- created_at: string | null;
5192
- updated_at: string | null;
5193
- deleted_at: string | null;
5194
- };
5195
5293
  PhoneAgentDto: {
5196
5294
  id: string;
5197
5295
  org_id: string;
@@ -5347,6 +5445,27 @@ export interface components {
5347
5445
  ended_at: string | null;
5348
5446
  status: components["schemas"]["SequenceStatus"] | null;
5349
5447
  };
5448
+ GroupUsersDto: {
5449
+ id: number;
5450
+ name: string;
5451
+ email: string;
5452
+ is_available: boolean;
5453
+ group_capacity: number | null;
5454
+ global_capacity: number;
5455
+ };
5456
+ GroupDto: {
5457
+ id: string;
5458
+ organization_id: string;
5459
+ name: string;
5460
+ description: string | null;
5461
+ is_support_enabled: boolean;
5462
+ support_office_hours_id: string | null;
5463
+ /** @enum {string} */
5464
+ support_assignment_strategy: "least-busy" | "round-robin" | "unassigned";
5465
+ created_at: string | null;
5466
+ updated_at: string | null;
5467
+ deleted_at: string | null;
5468
+ };
5350
5469
  VersionHistoryItemDto: {
5351
5470
  /** Format: uuid */
5352
5471
  id: string;
@@ -5915,7 +6034,7 @@ export interface components {
5915
6034
  };
5916
6035
  InvestigationTicketingSystem: {
5917
6036
  /** @enum {string} */
5918
- name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
6037
+ name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
5919
6038
  external_id: string;
5920
6039
  /** @enum {string} */
5921
6040
  id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
@@ -6071,7 +6190,7 @@ export interface components {
6071
6190
  };
6072
6191
  ticketing_system?: {
6073
6192
  /** @enum {string} */
6074
- name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
6193
+ name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
6075
6194
  external_id: string;
6076
6195
  /** @enum {string} */
6077
6196
  id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
@@ -6110,7 +6229,7 @@ export interface components {
6110
6229
  } | ({
6111
6230
  /** @constant */
6112
6231
  success: true;
6113
- code?: string | "session_assigned_to_human_agent" | "response_cancelled" | "skipping_unuseful_response";
6232
+ code?: string | "session_assigned_to_human_agent" | "response_cancelled" | "skipping_unuseful_response" | "duplicate_message_ignored";
6114
6233
  autopilotResponse?: {
6115
6234
  /** @constant */
6116
6235
  type: "text";
@@ -6764,6 +6883,25 @@ export interface components {
6764
6883
  description: string | null;
6765
6884
  /** @description If true, the AI will never auto-apply this tag */
6766
6885
  exclude_from_auto_tagging: boolean;
6886
+ /** @description Category this tag belongs to, or null if uncategorized */
6887
+ category_id: string | null;
6888
+ /** Format: date-time */
6889
+ created_at: string;
6890
+ /** Format: date-time */
6891
+ updated_at: string;
6892
+ };
6893
+ TagCategoryPublicResponseDto: {
6894
+ /**
6895
+ * Format: uuid
6896
+ * @description The category id
6897
+ */
6898
+ id: string;
6899
+ /** @description The organization this category belongs to */
6900
+ org_id: string;
6901
+ /** @description The category name (unique per org) */
6902
+ name: string;
6903
+ /** @description What this category groups together */
6904
+ description: string;
6767
6905
  /** Format: date-time */
6768
6906
  created_at: string;
6769
6907
  /** Format: date-time */
@@ -7067,7 +7205,7 @@ export interface components {
7067
7205
  action_types: components["schemas"]["ActionTypePublicDto"][];
7068
7206
  /** @description Available trigger types */
7069
7207
  trigger_types: components["schemas"]["TriggerTypePublicDto"][];
7070
- /** @description Available control-flow block types (if-else, switch) */
7208
+ /** @description Available control-flow block types */
7071
7209
  block_types: {
7072
7210
  type: string;
7073
7211
  name: string;
@@ -7279,6 +7417,7 @@ export interface components {
7279
7417
  UpdateAutoTaggingOutput: {
7280
7418
  enabled: boolean;
7281
7419
  };
7420
+ ListTagCategoriesOutput: components["schemas"]["TagCategoryPublicResponseDto"][];
7282
7421
  ListWorkflowsOutput: components["schemas"]["WorkflowPublicResponseDto"][];
7283
7422
  DeleteWorkflowOutput: {
7284
7423
  success: boolean;
@@ -10333,6 +10472,134 @@ export interface operations {
10333
10472
  };
10334
10473
  };
10335
10474
  };
10475
+ listTagCategories: {
10476
+ parameters: {
10477
+ query?: never;
10478
+ header?: never;
10479
+ path?: never;
10480
+ cookie?: never;
10481
+ };
10482
+ requestBody?: never;
10483
+ responses: {
10484
+ /** @description Default Response */
10485
+ 200: {
10486
+ headers: {
10487
+ [name: string]: unknown;
10488
+ };
10489
+ content: {
10490
+ "application/json": components["schemas"]["ListTagCategoriesOutput"];
10491
+ };
10492
+ };
10493
+ /** @description Internal Server Error */
10494
+ 500: {
10495
+ headers: {
10496
+ [name: string]: unknown;
10497
+ };
10498
+ content: {
10499
+ "application/json": components["schemas"]["ErrorDto"];
10500
+ };
10501
+ };
10502
+ };
10503
+ };
10504
+ createTagCategory: {
10505
+ parameters: {
10506
+ query?: never;
10507
+ header?: never;
10508
+ path?: never;
10509
+ cookie?: never;
10510
+ };
10511
+ requestBody: {
10512
+ content: {
10513
+ "application/json": components["schemas"]["CreateTagCategoryInputDto"];
10514
+ };
10515
+ };
10516
+ responses: {
10517
+ /** @description Default Response */
10518
+ 201: {
10519
+ headers: {
10520
+ [name: string]: unknown;
10521
+ };
10522
+ content: {
10523
+ "application/json": components["schemas"]["TagCategoryPublicResponseDto"];
10524
+ };
10525
+ };
10526
+ /** @description Internal Server Error */
10527
+ 500: {
10528
+ headers: {
10529
+ [name: string]: unknown;
10530
+ };
10531
+ content: {
10532
+ "application/json": components["schemas"]["ErrorDto"];
10533
+ };
10534
+ };
10535
+ };
10536
+ };
10537
+ updateTagCategory: {
10538
+ parameters: {
10539
+ query?: never;
10540
+ header?: never;
10541
+ path: {
10542
+ /** @description The category id to update */
10543
+ id: string;
10544
+ };
10545
+ cookie?: never;
10546
+ };
10547
+ requestBody: {
10548
+ content: {
10549
+ "application/json": components["schemas"]["UpdateTagCategoryInputDto"];
10550
+ };
10551
+ };
10552
+ responses: {
10553
+ /** @description Default Response */
10554
+ 200: {
10555
+ headers: {
10556
+ [name: string]: unknown;
10557
+ };
10558
+ content: {
10559
+ "application/json": components["schemas"]["TagCategoryPublicResponseDto"];
10560
+ };
10561
+ };
10562
+ /** @description Internal Server Error */
10563
+ 500: {
10564
+ headers: {
10565
+ [name: string]: unknown;
10566
+ };
10567
+ content: {
10568
+ "application/json": components["schemas"]["ErrorDto"];
10569
+ };
10570
+ };
10571
+ };
10572
+ };
10573
+ deleteTagCategory: {
10574
+ parameters: {
10575
+ query?: never;
10576
+ header?: never;
10577
+ path: {
10578
+ /** @description The category id to delete */
10579
+ id: string;
10580
+ };
10581
+ cookie?: never;
10582
+ };
10583
+ requestBody?: never;
10584
+ responses: {
10585
+ /** @description Default Response */
10586
+ 200: {
10587
+ headers: {
10588
+ [name: string]: unknown;
10589
+ };
10590
+ content?: never;
10591
+ };
10592
+ /** @description Internal Server Error */
10593
+ 500: {
10594
+ headers: {
10595
+ [name: string]: unknown;
10596
+ };
10597
+ content: {
10598
+ "application/json": components["schemas"]["ErrorDto"];
10599
+ };
10600
+ };
10601
+ };
10602
+ };
10336
10603
  listWorkflowDefinitions: {
10337
10604
  parameters: {
10338
10605
  query?: never;