@opencx/mcp 1.14.0 → 1.15.0

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;
@@ -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;