@opencx/mcp 1.11.80 → 1.11.82

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;
@@ -1240,6 +1240,26 @@ export interface paths {
1240
1240
  patch?: never;
1241
1241
  trace?: never;
1242
1242
  };
1243
+ "/handoff-analytics/events": {
1244
+ parameters: {
1245
+ query?: never;
1246
+ header?: never;
1247
+ path?: never;
1248
+ cookie?: never;
1249
+ };
1250
+ /**
1251
+ * List handoff events
1252
+ * @description Returns a paginated list of individual AI-to-human handoff events, newest first. Each event includes the AI-written summary and explanation of why it handed off, the handoff reasons, sentiment, and the session ID. Filter by reason (e.g. insufficient_tools) and date range to analyze recurring gaps.
1253
+ */
1254
+ get: operations["listHandoffEvents"];
1255
+ put?: never;
1256
+ post?: never;
1257
+ delete?: never;
1258
+ options?: never;
1259
+ head?: never;
1260
+ patch?: never;
1261
+ trace?: never;
1262
+ };
1243
1263
  "/handoff-analytics": {
1244
1264
  parameters: {
1245
1265
  query?: never;
@@ -1420,6 +1440,54 @@ export interface paths {
1420
1440
  patch?: never;
1421
1441
  trace?: never;
1422
1442
  };
1443
+ "/tags/categories": {
1444
+ parameters: {
1445
+ query?: never;
1446
+ header?: never;
1447
+ path?: never;
1448
+ cookie?: never;
1449
+ };
1450
+ /**
1451
+ * List tag categories
1452
+ * @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.
1453
+ */
1454
+ get: operations["listTagCategories"];
1455
+ put?: never;
1456
+ /**
1457
+ * Create a tag category
1458
+ * @description Create a new tag category. Tags can then be assigned to it via upsertTag using the returned category id.
1459
+ */
1460
+ post: operations["createTagCategory"];
1461
+ delete?: never;
1462
+ options?: never;
1463
+ head?: never;
1464
+ patch?: never;
1465
+ trace?: never;
1466
+ };
1467
+ "/tags/categories/{id}": {
1468
+ parameters: {
1469
+ query?: never;
1470
+ header?: never;
1471
+ path?: never;
1472
+ cookie?: never;
1473
+ };
1474
+ get?: never;
1475
+ /**
1476
+ * Update a tag category
1477
+ * @description Update the name and/or description of an existing tag category.
1478
+ */
1479
+ put: operations["updateTagCategory"];
1480
+ post?: never;
1481
+ /**
1482
+ * Delete a tag category
1483
+ * @description Delete a tag category. Tags previously assigned to it become uncategorized.
1484
+ */
1485
+ delete: operations["deleteTagCategory"];
1486
+ options?: never;
1487
+ head?: never;
1488
+ patch?: never;
1489
+ trace?: never;
1490
+ };
1423
1491
  "/workflows/definitions": {
1424
1492
  parameters: {
1425
1493
  query?: never;
@@ -3673,14 +3741,6 @@ export interface components {
3673
3741
  /** Format: date-time */
3674
3742
  before?: string;
3675
3743
  };
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
3744
  MakeOutboundCallDto: {
3685
3745
  phoneAgentId: string;
3686
3746
  contact: {
@@ -3788,6 +3848,14 @@ export interface components {
3788
3848
  }[];
3789
3849
  }[];
3790
3850
  };
3851
+ CreateGroupDto: {
3852
+ name: string;
3853
+ description?: string;
3854
+ is_support_enabled?: boolean;
3855
+ support_office_hours_id?: string | null;
3856
+ /** @enum {string} */
3857
+ support_assignment_strategy?: "least-busy" | "round-robin" | "unassigned";
3858
+ };
3791
3859
  CreateVocCategoryDto: {
3792
3860
  name: string;
3793
3861
  description?: string | null;
@@ -4215,6 +4283,17 @@ export interface components {
4215
4283
  custom_data?: {
4216
4284
  [key: string]: string | number | boolean;
4217
4285
  };
4286
+ /** @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. */
4287
+ contact?: {
4288
+ /** Format: email */
4289
+ email?: string;
4290
+ name?: string;
4291
+ phone_number?: string;
4292
+ /** @description Custom data to store on the contact for this session. */
4293
+ custom_data?: {
4294
+ [key: string]: string;
4295
+ };
4296
+ };
4218
4297
  };
4219
4298
  UpdateChatSessionInput: {
4220
4299
  /** @enum {string} */
@@ -4800,11 +4879,25 @@ export interface components {
4800
4879
  description?: string | null;
4801
4880
  /** @description If true, the AI will never auto-apply this tag (default: false) */
4802
4881
  exclude_from_auto_tagging?: boolean;
4882
+ /** @description Assign the tag to a category (uuid), null to clear, omit to leave unchanged */
4883
+ category_id?: string | null;
4803
4884
  };
4804
4885
  UpdateAutoTaggingInputDto: {
4805
4886
  /** @description Set true to enable, false to disable */
4806
4887
  enabled: boolean;
4807
4888
  };
4889
+ CreateTagCategoryInputDto: {
4890
+ /** @description Category name (e.g. "Billing", "Product Area") */
4891
+ name: string;
4892
+ /** @description What this category groups together (used to guide AI tagging) */
4893
+ description: string;
4894
+ };
4895
+ UpdateTagCategoryInputDto: {
4896
+ /** @description New category name */
4897
+ name?: string;
4898
+ /** @description New description for the category */
4899
+ description?: string;
4900
+ };
4808
4901
  SearchTrainingKnowledgeInputDto: {
4809
4902
  query: string;
4810
4903
  /** @default 10 */
@@ -4947,6 +5040,50 @@ export interface components {
4947
5040
  } | {
4948
5041
  /** @constant */
4949
5042
  type: "response_skipped";
5043
+ /** @enum {string} */
5044
+ reason?: "empty_response" | "potential_answers_dead_end";
5045
+ reasoning?: ({
5046
+ /** @constant */
5047
+ type: "reasoning";
5048
+ content: string;
5049
+ } | {
5050
+ /** @constant */
5051
+ type: "tool_call";
5052
+ call_id: string;
5053
+ tool_name: string;
5054
+ action?: {
5055
+ name: string;
5056
+ id: string;
5057
+ openapi?: {
5058
+ openapi_spec_id?: string;
5059
+ operation_spec: unknown;
5060
+ operation_id?: string;
5061
+ operation_method?: string;
5062
+ };
5063
+ metadata: unknown;
5064
+ required_form_submission?: boolean;
5065
+ is_handoff_like?: boolean;
5066
+ };
5067
+ call_arguments: string;
5068
+ call_result: string;
5069
+ })[];
5070
+ context?: {
5071
+ knowledgeBaseItems: {
5072
+ itemId: string;
5073
+ chunkIndex: number;
5074
+ title: string;
5075
+ url?: string;
5076
+ }[];
5077
+ instructions: {
5078
+ id: string;
5079
+ title: string;
5080
+ }[];
5081
+ tools: {
5082
+ name: string;
5083
+ }[];
5084
+ };
5085
+ suppressedResponseText?: string;
5086
+ reasoningSummary?: string;
4950
5087
  } | {
4951
5088
  /** @constant */
4952
5089
  type: "response";
@@ -4992,6 +5129,7 @@ export interface components {
4992
5129
  call_arguments: string;
4993
5130
  call_result: string;
4994
5131
  })[];
5132
+ reasoningSummary?: string;
4995
5133
  /** @description Quick reply suggestions for the user */
4996
5134
  quickReplySuggestions: {
4997
5135
  toolName?: string | null;
@@ -5130,7 +5268,7 @@ export interface components {
5130
5268
  }) | null;
5131
5269
  knowledgebase_called?: boolean | null;
5132
5270
  /** @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";
5271
+ 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
5272
  extra_params?: {
5135
5273
  [key: string]: unknown;
5136
5274
  } | null;
@@ -5146,6 +5284,7 @@ export interface components {
5146
5284
  contact_source?: ("form" | "freshchat" | "hubspot" | "intercom" | "pipedream" | "salesforce" | "slack") | null;
5147
5285
  contact_slack_data?: string | null;
5148
5286
  attachments?: components["schemas"]["ChatAttachmentDto"][] | null;
5287
+ email_rfc_message_id?: string | null;
5149
5288
  external_message_id?: string | null;
5150
5289
  csat_score?: number | null;
5151
5290
  csat_feedback?: string | null;
@@ -5171,27 +5310,6 @@ export interface components {
5171
5310
  edited_at?: string | null;
5172
5311
  deleted_at?: string | null;
5173
5312
  };
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
5313
  PhoneAgentDto: {
5196
5314
  id: string;
5197
5315
  org_id: string;
@@ -5347,6 +5465,27 @@ export interface components {
5347
5465
  ended_at: string | null;
5348
5466
  status: components["schemas"]["SequenceStatus"] | null;
5349
5467
  };
5468
+ GroupUsersDto: {
5469
+ id: number;
5470
+ name: string;
5471
+ email: string;
5472
+ is_available: boolean;
5473
+ group_capacity: number | null;
5474
+ global_capacity: number;
5475
+ };
5476
+ GroupDto: {
5477
+ id: string;
5478
+ organization_id: string;
5479
+ name: string;
5480
+ description: string | null;
5481
+ is_support_enabled: boolean;
5482
+ support_office_hours_id: string | null;
5483
+ /** @enum {string} */
5484
+ support_assignment_strategy: "least-busy" | "round-robin" | "unassigned";
5485
+ created_at: string | null;
5486
+ updated_at: string | null;
5487
+ deleted_at: string | null;
5488
+ };
5350
5489
  VersionHistoryItemDto: {
5351
5490
  /** Format: uuid */
5352
5491
  id: string;
@@ -5915,7 +6054,7 @@ export interface components {
5915
6054
  };
5916
6055
  InvestigationTicketingSystem: {
5917
6056
  /** @enum {string} */
5918
- name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
6057
+ name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
5919
6058
  external_id: string;
5920
6059
  /** @enum {string} */
5921
6060
  id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
@@ -6071,7 +6210,7 @@ export interface components {
6071
6210
  };
6072
6211
  ticketing_system?: {
6073
6212
  /** @enum {string} */
6074
- name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
6213
+ name: "dynamics365" | "freshchat" | "freshdesk" | "freshdesk_ticketing" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
6075
6214
  external_id: string;
6076
6215
  /** @enum {string} */
6077
6216
  id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
@@ -6110,7 +6249,7 @@ export interface components {
6110
6249
  } | ({
6111
6250
  /** @constant */
6112
6251
  success: true;
6113
- code?: string | "session_assigned_to_human_agent" | "response_cancelled" | "skipping_unuseful_response";
6252
+ code?: string | "session_assigned_to_human_agent" | "response_cancelled" | "skipping_unuseful_response" | "duplicate_message_ignored";
6114
6253
  autopilotResponse?: {
6115
6254
  /** @constant */
6116
6255
  type: "text";
@@ -6764,6 +6903,25 @@ export interface components {
6764
6903
  description: string | null;
6765
6904
  /** @description If true, the AI will never auto-apply this tag */
6766
6905
  exclude_from_auto_tagging: boolean;
6906
+ /** @description Category this tag belongs to, or null if uncategorized */
6907
+ category_id: string | null;
6908
+ /** Format: date-time */
6909
+ created_at: string;
6910
+ /** Format: date-time */
6911
+ updated_at: string;
6912
+ };
6913
+ TagCategoryPublicResponseDto: {
6914
+ /**
6915
+ * Format: uuid
6916
+ * @description The category id
6917
+ */
6918
+ id: string;
6919
+ /** @description The organization this category belongs to */
6920
+ org_id: string;
6921
+ /** @description The category name (unique per org) */
6922
+ name: string;
6923
+ /** @description What this category groups together */
6924
+ description: string;
6767
6925
  /** Format: date-time */
6768
6926
  created_at: string;
6769
6927
  /** Format: date-time */
@@ -6827,7 +6985,7 @@ export interface components {
6827
6985
  /** Format: email */
6828
6986
  email: string;
6829
6987
  avatar_url?: string | null;
6830
- permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write")[] | null;
6988
+ permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk: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;
6831
6989
  };
6832
6990
  OrgUserDetail: {
6833
6991
  id: number;
@@ -6836,7 +6994,7 @@ export interface components {
6836
6994
  /** Format: email */
6837
6995
  email: string;
6838
6996
  avatar_url?: string | null;
6839
- permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write")[] | null;
6997
+ permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "contacts:read" | "contacts:write" | "sequences:read" | "sequences:write" | "ai-training:read" | "ai-training:write" | "reports:read" | "reports:write" | "help-center:read" | "help-center:write" | "workflows:read" | "workflows:write" | "actions:read" | "actions:write" | "settings:read" | "settings:write" | "settings-channels:read" | "settings-channels:write" | "settings-helpdesk:read" | "settings-helpdesk: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;
6840
6998
  teams: {
6841
6999
  group: components["schemas"]["GroupDto"];
6842
7000
  is_user_available_on_group: boolean;
@@ -7067,7 +7225,7 @@ export interface components {
7067
7225
  action_types: components["schemas"]["ActionTypePublicDto"][];
7068
7226
  /** @description Available trigger types */
7069
7227
  trigger_types: components["schemas"]["TriggerTypePublicDto"][];
7070
- /** @description Available control-flow block types (if-else, switch) */
7228
+ /** @description Available control-flow block types */
7071
7229
  block_types: {
7072
7230
  type: string;
7073
7231
  name: string;
@@ -7264,6 +7422,18 @@ export interface components {
7264
7422
  records: unknown | null;
7265
7423
  }[];
7266
7424
  ListEmailTemplatesOutput: components["schemas"]["EmailTemplateDto"][];
7425
+ ListHandoffEventsOutput: {
7426
+ items: {
7427
+ session_id: string;
7428
+ summary: string;
7429
+ explanation: string | null;
7430
+ reasons: ("based_on_instructions" | "instructions_not_clear" | "insufficient_knowledge" | "insufficient_tools" | "prohibited_topic" | "user_requested_human_assistance")[];
7431
+ sentiment: ("angry" | "happy" | "neutral") | null;
7432
+ created_at: string;
7433
+ }[];
7434
+ next: string | null;
7435
+ total: number;
7436
+ };
7267
7437
  ListOfficeHoursOutput: {
7268
7438
  data: components["schemas"]["OfficeHoursPublicResponseDto"][];
7269
7439
  };
@@ -7279,6 +7449,7 @@ export interface components {
7279
7449
  UpdateAutoTaggingOutput: {
7280
7450
  enabled: boolean;
7281
7451
  };
7452
+ ListTagCategoriesOutput: components["schemas"]["TagCategoryPublicResponseDto"][];
7282
7453
  ListWorkflowsOutput: components["schemas"]["WorkflowPublicResponseDto"][];
7283
7454
  DeleteWorkflowOutput: {
7284
7455
  success: boolean;
@@ -9934,6 +10105,44 @@ export interface operations {
9934
10105
  };
9935
10106
  };
9936
10107
  };
10108
+ listHandoffEvents: {
10109
+ parameters: {
10110
+ query?: {
10111
+ /** @description Pagination cursor from a previous response */
10112
+ cursor?: string;
10113
+ /** @description Only return handoffs that include this reason */
10114
+ reason?: "based_on_instructions" | "instructions_not_clear" | "insufficient_knowledge" | "insufficient_tools" | "prohibited_topic" | "user_requested_human_assistance";
10115
+ /** @description Start date in ISO 8601 format (defaults to 30 days ago) */
10116
+ start_date?: string;
10117
+ /** @description End date in ISO 8601 format (defaults to now) */
10118
+ end_date?: string;
10119
+ };
10120
+ header?: never;
10121
+ path?: never;
10122
+ cookie?: never;
10123
+ };
10124
+ requestBody?: never;
10125
+ responses: {
10126
+ /** @description Default Response */
10127
+ 200: {
10128
+ headers: {
10129
+ [name: string]: unknown;
10130
+ };
10131
+ content: {
10132
+ "application/json": components["schemas"]["ListHandoffEventsOutput"];
10133
+ };
10134
+ };
10135
+ /** @description Internal Server Error */
10136
+ 500: {
10137
+ headers: {
10138
+ [name: string]: unknown;
10139
+ };
10140
+ content: {
10141
+ "application/json": components["schemas"]["ErrorDto"];
10142
+ };
10143
+ };
10144
+ };
10145
+ };
9937
10146
  getHandoffAnalytics: {
9938
10147
  parameters: {
9939
10148
  query?: {
@@ -10333,6 +10542,134 @@ export interface operations {
10333
10542
  };
10334
10543
  };
10335
10544
  };
10545
+ listTagCategories: {
10546
+ parameters: {
10547
+ query?: never;
10548
+ header?: never;
10549
+ path?: never;
10550
+ cookie?: never;
10551
+ };
10552
+ requestBody?: never;
10553
+ responses: {
10554
+ /** @description Default Response */
10555
+ 200: {
10556
+ headers: {
10557
+ [name: string]: unknown;
10558
+ };
10559
+ content: {
10560
+ "application/json": components["schemas"]["ListTagCategoriesOutput"];
10561
+ };
10562
+ };
10563
+ /** @description Internal Server Error */
10564
+ 500: {
10565
+ headers: {
10566
+ [name: string]: unknown;
10567
+ };
10568
+ content: {
10569
+ "application/json": components["schemas"]["ErrorDto"];
10570
+ };
10571
+ };
10572
+ };
10573
+ };
10574
+ createTagCategory: {
10575
+ parameters: {
10576
+ query?: never;
10577
+ header?: never;
10578
+ path?: never;
10579
+ cookie?: never;
10580
+ };
10581
+ requestBody: {
10582
+ content: {
10583
+ "application/json": components["schemas"]["CreateTagCategoryInputDto"];
10584
+ };
10585
+ };
10586
+ responses: {
10587
+ /** @description Default Response */
10588
+ 201: {
10589
+ headers: {
10590
+ [name: string]: unknown;
10591
+ };
10592
+ content: {
10593
+ "application/json": components["schemas"]["TagCategoryPublicResponseDto"];
10594
+ };
10595
+ };
10596
+ /** @description Internal Server Error */
10597
+ 500: {
10598
+ headers: {
10599
+ [name: string]: unknown;
10600
+ };
10601
+ content: {
10602
+ "application/json": components["schemas"]["ErrorDto"];
10603
+ };
10604
+ };
10605
+ };
10606
+ };
10607
+ updateTagCategory: {
10608
+ parameters: {
10609
+ query?: never;
10610
+ header?: never;
10611
+ path: {
10612
+ /** @description The category id to update */
10613
+ id: string;
10614
+ };
10615
+ cookie?: never;
10616
+ };
10617
+ requestBody: {
10618
+ content: {
10619
+ "application/json": components["schemas"]["UpdateTagCategoryInputDto"];
10620
+ };
10621
+ };
10622
+ responses: {
10623
+ /** @description Default Response */
10624
+ 200: {
10625
+ headers: {
10626
+ [name: string]: unknown;
10627
+ };
10628
+ content: {
10629
+ "application/json": components["schemas"]["TagCategoryPublicResponseDto"];
10630
+ };
10631
+ };
10632
+ /** @description Internal Server Error */
10633
+ 500: {
10634
+ headers: {
10635
+ [name: string]: unknown;
10636
+ };
10637
+ content: {
10638
+ "application/json": components["schemas"]["ErrorDto"];
10639
+ };
10640
+ };
10641
+ };
10642
+ };
10643
+ deleteTagCategory: {
10644
+ parameters: {
10645
+ query?: never;
10646
+ header?: never;
10647
+ path: {
10648
+ /** @description The category id to delete */
10649
+ id: string;
10650
+ };
10651
+ cookie?: never;
10652
+ };
10653
+ requestBody?: never;
10654
+ responses: {
10655
+ /** @description Default Response */
10656
+ 200: {
10657
+ headers: {
10658
+ [name: string]: unknown;
10659
+ };
10660
+ content?: never;
10661
+ };
10662
+ /** @description Internal Server Error */
10663
+ 500: {
10664
+ headers: {
10665
+ [name: string]: unknown;
10666
+ };
10667
+ content: {
10668
+ "application/json": components["schemas"]["ErrorDto"];
10669
+ };
10670
+ };
10671
+ };
10672
+ };
10336
10673
  listWorkflowDefinitions: {
10337
10674
  parameters: {
10338
10675
  query?: never;