@opencx/mcp 1.14.0 → 1.15.1

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
@@ -303,6 +303,26 @@ export interface paths {
303
303
  patch: operations["updateChatSession"];
304
304
  trace?: never;
305
305
  };
306
+ "/chat/sessions/{session_id}/handoff": {
307
+ parameters: {
308
+ query?: never;
309
+ header?: never;
310
+ path?: never;
311
+ cookie?: never;
312
+ };
313
+ get?: never;
314
+ put?: never;
315
+ /**
316
+ * Hand the session off to a human agent
317
+ * @description Hands the session off to a human agent, re-running the handoff pipeline even if the session is already handed off. Closed sessions are refused with 400.
318
+ */
319
+ post: operations["handoffChatSession"];
320
+ delete?: never;
321
+ options?: never;
322
+ head?: never;
323
+ patch?: never;
324
+ trace?: never;
325
+ };
306
326
  "/chat/sessions/{session_id}/assignee": {
307
327
  parameters: {
308
328
  query?: never;
@@ -1621,7 +1641,7 @@ export interface paths {
1621
1641
  };
1622
1642
  /**
1623
1643
  * List tags
1624
- * @description List all tags for your organization. Tags categorize chat sessions (e.g. "billing", "refund", "feature-request"). The AI can auto-tag sessions based on these.
1644
+ * @description List tags for your organization. Tags categorize chat sessions (e.g. "billing", "refund", "feature-request"). The AI can auto-tag sessions based on these. Optionally filter by `search` (case-insensitive substring of tag name or description), `category_id`, and `limit`. With no params, returns all tags ordered by name.
1625
1645
  */
1626
1646
  get: operations["listTags"];
1627
1647
  /**
@@ -1709,7 +1729,7 @@ export interface paths {
1709
1729
  };
1710
1730
  /**
1711
1731
  * List tag categories
1712
- * @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.
1732
+ * @description List tag categories for your organization. Categories group related tags (e.g. "Billing", "Product Area") so the AI can tag scalably across large taxonomies. Optionally filter by `search` (case-insensitive substring of category name or description) and `limit`. With no params, returns all categories ordered by name.
1713
1733
  */
1714
1734
  get: operations["listTagCategories"];
1715
1735
  put?: never;
@@ -4512,6 +4532,26 @@ export interface components {
4512
4532
  event: "message:new";
4513
4533
  session_id: string;
4514
4534
  };
4535
+ WebsiteCrawlAuthDto: {
4536
+ /** @constant */
4537
+ type: "basic";
4538
+ username: string;
4539
+ password: string;
4540
+ } | {
4541
+ /** @constant */
4542
+ type: "bearer";
4543
+ token: string;
4544
+ } | {
4545
+ /** @constant */
4546
+ type: "cookie";
4547
+ value: string;
4548
+ } | {
4549
+ /** @constant */
4550
+ type: "headers";
4551
+ headers: {
4552
+ [key: string]: string;
4553
+ };
4554
+ };
4515
4555
  CreateWebsiteDatasourceDto: {
4516
4556
  /** Format: uri */
4517
4557
  url: string;
@@ -4528,6 +4568,7 @@ export interface components {
4528
4568
  auto_start_crawl: boolean;
4529
4569
  /** @default [] */
4530
4570
  restricted_to_channels: components["schemas"]["SessionChannel"][];
4571
+ auth?: components["schemas"]["WebsiteCrawlAuthDto"] | null;
4531
4572
  };
4532
4573
  UpdateWebsiteDatasourceDto: {
4533
4574
  display_name?: string;
@@ -4538,6 +4579,7 @@ export interface components {
4538
4579
  /** @enum {string} */
4539
4580
  status?: "active" | "paused";
4540
4581
  restricted_to_channels?: components["schemas"]["SessionChannel"][];
4582
+ auth?: components["schemas"]["WebsiteCrawlAuthDto"] | null;
4541
4583
  };
4542
4584
  BulkPageActionDto: {
4543
4585
  page_ids: string[];
@@ -5991,7 +6033,7 @@ export interface components {
5991
6033
  }) | null;
5992
6034
  knowledgebase_called?: boolean | null;
5993
6035
  /** @enum {string} */
5994
- type: "agent_assigned_by_integration" | "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_integration" | "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" | "ai_resumed_by_system" | "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" | "integration_reopened_session" | "message" | "prohibited_topic_detected" | "sequence_message" | "skills_added_by_system" | "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_integration" | "sub_status_removed_by_system" | "sub_status_set_by_agent" | "sub_status_set_by_api" | "sub_status_set_by_integration" | "sub_status_set_by_system" | "system_reopened_session" | "tag_added_by_agent" | "tag_added_by_api" | "tag_added_by_integration" | "tag_added_by_system" | "tag_removed_by_agent" | "tag_removed_by_api" | "tag_removed_by_integration" | "tag_removed_by_system" | "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";
6036
+ type: "agent_assigned_by_integration" | "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_integration" | "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" | "ai_resumed_by_system" | "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" | "integration_reopened_session" | "message" | "prohibited_topic_detected" | "sequence_message" | "skills_added_by_system" | "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_integration" | "sub_status_removed_by_system" | "sub_status_set_by_agent" | "sub_status_set_by_api" | "sub_status_set_by_integration" | "sub_status_set_by_system" | "system_reopened_session" | "tag_added_by_agent" | "tag_added_by_api" | "tag_added_by_integration" | "tag_added_by_system" | "tag_removed_by_agent" | "tag_removed_by_api" | "tag_removed_by_integration" | "tag_removed_by_system" | "team_assigned_by_integration" | "team_assigned_by_system" | "team_assigned_by_user" | "team_unassigned_by_integration" | "team_unassigned_by_system" | "team_unassigned_by_user" | "user_confirmed_the_session_resolved" | "workflow_message" | "workflow_note" | "workflow_triggered";
5995
6037
  extra_params?: {
5996
6038
  [key: string]: unknown;
5997
6039
  } | null;
@@ -6147,6 +6189,7 @@ export interface components {
6147
6189
  support_office_hours_id: string | null;
6148
6190
  /** @enum {string} */
6149
6191
  support_assignment_strategy: "least-busy" | "round-robin" | "unassigned";
6192
+ zendesk_group_id: string | null;
6150
6193
  created_at: string | null;
6151
6194
  updated_at: string | null;
6152
6195
  deleted_at: string | null;
@@ -7072,6 +7115,9 @@ export interface components {
7072
7115
  no_change: boolean;
7073
7116
  session: components["schemas"]["GetChatSessionOutput"];
7074
7117
  };
7118
+ HandoffSessionOutput: {
7119
+ session: components["schemas"]["GetChatSessionOutput"];
7120
+ };
7075
7121
  SessionTeamTransferOutput: {
7076
7122
  no_change: boolean;
7077
7123
  session: components["schemas"]["GetChatSessionOutput"];
@@ -7475,6 +7521,10 @@ export interface components {
7475
7521
  /** @constant */
7476
7522
  type: "team_assigned_by_system";
7477
7523
  assigned_team_id?: string;
7524
+ } | {
7525
+ /** @constant */
7526
+ type: "team_assigned_by_integration";
7527
+ assigned_team_id?: string;
7478
7528
  } | {
7479
7529
  /** @constant */
7480
7530
  type: "team_assigned_by_user";
@@ -7484,6 +7534,10 @@ export interface components {
7484
7534
  /** @constant */
7485
7535
  type: "team_unassigned_by_system";
7486
7536
  unassigned_team_id?: string;
7537
+ } | {
7538
+ /** @constant */
7539
+ type: "team_unassigned_by_integration";
7540
+ unassigned_team_id?: string;
7487
7541
  } | {
7488
7542
  /** @constant */
7489
7543
  type: "team_unassigned_by_user";
@@ -7554,6 +7608,10 @@ export interface components {
7554
7608
  created_at: string;
7555
7609
  /** Format: date-time */
7556
7610
  updated_at: string;
7611
+ /** @description Whether optional Firecrawl site auth is configured. Secrets are never returned. */
7612
+ auth_configured: boolean;
7613
+ /** @description Configured auth type, or null when auth is not set. */
7614
+ auth_type: ("basic" | "bearer" | "cookie" | "headers") | null;
7557
7615
  };
7558
7616
  CrawlDatasourceListItem: {
7559
7617
  /** Format: uuid */
@@ -7574,6 +7632,10 @@ export interface components {
7574
7632
  created_at: string;
7575
7633
  /** Format: date-time */
7576
7634
  updated_at: string;
7635
+ /** @description Whether optional Firecrawl site auth is configured. Secrets are never returned. */
7636
+ auth_configured: boolean;
7637
+ /** @description Configured auth type, or null when auth is not set. */
7638
+ auth_type: ("basic" | "bearer" | "cookie" | "headers") | null;
7577
7639
  page_count: number;
7578
7640
  };
7579
7641
  CrawlDatasourceDetail: {
@@ -7595,6 +7657,10 @@ export interface components {
7595
7657
  created_at: string;
7596
7658
  /** Format: date-time */
7597
7659
  updated_at: string;
7660
+ /** @description Whether optional Firecrawl site auth is configured. Secrets are never returned. */
7661
+ auth_configured: boolean;
7662
+ /** @description Configured auth type, or null when auth is not set. */
7663
+ auth_type: ("basic" | "bearer" | "cookie" | "headers") | null;
7598
7664
  page_stats: {
7599
7665
  total: number;
7600
7666
  synced: number;
@@ -9263,6 +9329,38 @@ export interface operations {
9263
9329
  };
9264
9330
  };
9265
9331
  };
9332
+ handoffChatSession: {
9333
+ parameters: {
9334
+ query?: never;
9335
+ header?: never;
9336
+ path: {
9337
+ /** @description The unique identifier of the chat session */
9338
+ session_id: string;
9339
+ };
9340
+ cookie?: never;
9341
+ };
9342
+ requestBody?: never;
9343
+ responses: {
9344
+ /** @description Default Response */
9345
+ 200: {
9346
+ headers: {
9347
+ [name: string]: unknown;
9348
+ };
9349
+ content: {
9350
+ "application/json": components["schemas"]["HandoffSessionOutput"];
9351
+ };
9352
+ };
9353
+ /** @description Internal Server Error */
9354
+ 500: {
9355
+ headers: {
9356
+ [name: string]: unknown;
9357
+ };
9358
+ content: {
9359
+ "application/json": components["schemas"]["ErrorDto"];
9360
+ };
9361
+ };
9362
+ };
9363
+ };
9266
9364
  assignChatSession: {
9267
9365
  parameters: {
9268
9366
  query?: never;
@@ -12008,7 +12106,14 @@ export interface operations {
12008
12106
  };
12009
12107
  listTags: {
12010
12108
  parameters: {
12011
- query?: never;
12109
+ query?: {
12110
+ /** @description Case-insensitive substring match on tag name or description */
12111
+ search?: string;
12112
+ /** @description Only tags assigned to this category */
12113
+ category_id?: string;
12114
+ /** @description Max tags to return (clamped to 200) */
12115
+ limit?: number;
12116
+ };
12012
12117
  header?: never;
12013
12118
  path?: never;
12014
12119
  cookie?: never;
@@ -12189,7 +12294,12 @@ export interface operations {
12189
12294
  };
12190
12295
  listTagCategories: {
12191
12296
  parameters: {
12192
- query?: never;
12297
+ query?: {
12298
+ /** @description Case-insensitive substring match on category name or description */
12299
+ search?: string;
12300
+ /** @description Max categories to return (clamped to 200) */
12301
+ limit?: number;
12302
+ };
12193
12303
  header?: never;
12194
12304
  path?: never;
12195
12305
  cookie?: never;