@opencx/mcp 1.15.84 → 1.15.86
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 +163 -45
- package/dist/schema.d.ts.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -1
- package/dist/server.spec.js +1 -0
- package/dist/server.spec.js.map +1 -1
- package/dist/tools/actions.d.ts.map +1 -1
- package/dist/tools/actions.js +10 -3
- package/dist/tools/actions.js.map +1 -1
- package/dist/tools/secrets.d.ts +4 -0
- package/dist/tools/secrets.d.ts.map +1 -0
- package/dist/tools/secrets.js +13 -0
- package/dist/tools/secrets.js.map +1 -0
- package/dist/tools/sessions.js +1 -1
- package/dist/tools/sessions.js.map +1 -1
- package/dist/tools/structured-fields.d.ts.map +1 -1
- package/dist/tools/structured-fields.js +4 -2
- package/dist/tools/structured-fields.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -268,7 +268,7 @@ export interface paths {
|
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
270
270
|
* Export session events
|
|
271
|
-
* @description Pull existing session history across your organization, including system events and internal notes. Uses the same id, created_at and typed event structure as GET /chat/sessions/{session_id}/history, with session/contact IDs, the stored message_type and export metadata. Types without a history mapping are retained as unmapped_event; checkpoint payloads are omitted. created_after is inclusive; created_before is exclusive. Both date bounds are optional. include_message_types overrides exclude_message_types; neither filter returns all message types. Returns recorded actor identities, assignment targets, sub-status IDs and workflow details when available. Does not reconstruct missing historical identities or track session/contact attribute changes. Use a fixed date window when paging, retain the same filters, and deduplicate by event ID. Timestamps are event times: historical imports can arrive later and edits do not change original creation times; reconcile previously exported windows to pick up late or edited history. Requires chat-sessions:read.
|
|
271
|
+
* @description Pull existing session history across your organization, including system events and internal notes. Uses the same id, created_at and typed event structure as GET /chat/sessions/{session_id}/history, with session/contact IDs, the stored message_type and export metadata. Per-message email headers are excluded from exports; retrieve them from session history. Types without a history mapping are retained as unmapped_event; checkpoint payloads are omitted. created_after is inclusive; created_before is exclusive. Both date bounds are optional. include_message_types overrides exclude_message_types; neither filter returns all message types. Returns recorded actor identities, assignment targets, sub-status IDs and workflow details when available. Does not reconstruct missing historical identities or track session/contact attribute changes. Use a fixed date window when paging, retain the same filters, and deduplicate by event ID. Timestamps are event times: historical imports can arrive later and edits do not change original creation times; reconcile previously exported windows to pick up late or edited history. Requires chat-sessions:read.
|
|
272
272
|
*/
|
|
273
273
|
get: operations["listSessionEvents"];
|
|
274
274
|
put?: never;
|
|
@@ -3625,7 +3625,7 @@ export interface paths {
|
|
|
3625
3625
|
put?: never;
|
|
3626
3626
|
/**
|
|
3627
3627
|
* Redact all messages in a session
|
|
3628
|
-
* @description Redact
|
|
3628
|
+
* @description Redact a session by session ID, including its messages, attached images, and saved Session notes
|
|
3629
3629
|
*/
|
|
3630
3630
|
post: operations["redactSession"];
|
|
3631
3631
|
delete?: never;
|
|
@@ -3718,6 +3718,26 @@ export interface paths {
|
|
|
3718
3718
|
patch?: never;
|
|
3719
3719
|
trace?: never;
|
|
3720
3720
|
};
|
|
3721
|
+
"/secret-keys": {
|
|
3722
|
+
parameters: {
|
|
3723
|
+
query?: never;
|
|
3724
|
+
header?: never;
|
|
3725
|
+
path?: never;
|
|
3726
|
+
cookie?: never;
|
|
3727
|
+
};
|
|
3728
|
+
/**
|
|
3729
|
+
* List secret names
|
|
3730
|
+
* @description List the names of your organization's secrets, with how many actions reference each. Values are never returned. Reference a name from an action header as `{{secrets.<name>}}`; create or rotate secrets with `POST /secrets` / `PUT /secrets`.
|
|
3731
|
+
*/
|
|
3732
|
+
get: operations["listSecretNames"];
|
|
3733
|
+
put?: never;
|
|
3734
|
+
post?: never;
|
|
3735
|
+
delete?: never;
|
|
3736
|
+
options?: never;
|
|
3737
|
+
head?: never;
|
|
3738
|
+
patch?: never;
|
|
3739
|
+
trace?: never;
|
|
3740
|
+
};
|
|
3721
3741
|
"/sequences": {
|
|
3722
3742
|
parameters: {
|
|
3723
3743
|
query?: never;
|
|
@@ -9702,6 +9722,14 @@ export interface components {
|
|
|
9702
9722
|
mcp_access?: {
|
|
9703
9723
|
server_ids?: string[];
|
|
9704
9724
|
account_id?: string;
|
|
9725
|
+
/** @description Bearer tokens you already hold for this user, one per per-user MCP server. The user is connected without the Connect step. A token replaces the user's current connection to that server; servers left out keep theirs. A token whose expires_at has already passed is ignored. When a saved token expires or the server rejects it, the user is asked to connect again until you send a new one. */
|
|
9726
|
+
credentials?: {
|
|
9727
|
+
/** Format: uuid */
|
|
9728
|
+
server_id: string;
|
|
9729
|
+
access_token: string;
|
|
9730
|
+
/** Format: date-time */
|
|
9731
|
+
expires_at?: string;
|
|
9732
|
+
}[];
|
|
9705
9733
|
};
|
|
9706
9734
|
name?: string;
|
|
9707
9735
|
avatar_url?: string | null;
|
|
@@ -9717,6 +9745,14 @@ export interface components {
|
|
|
9717
9745
|
mcp_access?: {
|
|
9718
9746
|
server_ids?: string[];
|
|
9719
9747
|
account_id?: string;
|
|
9748
|
+
/** @description Bearer tokens you already hold for this user, one per per-user MCP server. The user is connected without the Connect step. A token replaces the user's current connection to that server; servers left out keep theirs. A token whose expires_at has already passed is ignored. When a saved token expires or the server rejects it, the user is asked to connect again until you send a new one. */
|
|
9749
|
+
credentials?: {
|
|
9750
|
+
/** Format: uuid */
|
|
9751
|
+
server_id: string;
|
|
9752
|
+
access_token: string;
|
|
9753
|
+
/** Format: date-time */
|
|
9754
|
+
expires_at?: string;
|
|
9755
|
+
}[];
|
|
9720
9756
|
};
|
|
9721
9757
|
name?: string;
|
|
9722
9758
|
/** @description Phone number including the country code, e.g. +14155550123 */
|
|
@@ -9734,6 +9770,14 @@ export interface components {
|
|
|
9734
9770
|
mcp_access?: {
|
|
9735
9771
|
server_ids?: string[];
|
|
9736
9772
|
account_id?: string;
|
|
9773
|
+
/** @description Bearer tokens you already hold for this user, one per per-user MCP server. The user is connected without the Connect step. A token replaces the user's current connection to that server; servers left out keep theirs. A token whose expires_at has already passed is ignored. When a saved token expires or the server rejects it, the user is asked to connect again until you send a new one. */
|
|
9774
|
+
credentials?: {
|
|
9775
|
+
/** Format: uuid */
|
|
9776
|
+
server_id: string;
|
|
9777
|
+
access_token: string;
|
|
9778
|
+
/** Format: date-time */
|
|
9779
|
+
expires_at?: string;
|
|
9780
|
+
}[];
|
|
9737
9781
|
};
|
|
9738
9782
|
name?: string;
|
|
9739
9783
|
avatar_url?: string | null;
|
|
@@ -11593,7 +11637,7 @@ export interface components {
|
|
|
11593
11637
|
}) | null;
|
|
11594
11638
|
knowledgebase_called?: boolean | null;
|
|
11595
11639
|
/** @enum {string} */
|
|
11596
|
-
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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
11640
|
+
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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "journey_step_by_integration" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
11597
11641
|
ivr_selection?: {
|
|
11598
11642
|
/** Format: uuid */
|
|
11599
11643
|
runId: string;
|
|
@@ -12800,6 +12844,17 @@ export interface components {
|
|
|
12800
12844
|
/** Format: date-time */
|
|
12801
12845
|
updated_at: string;
|
|
12802
12846
|
};
|
|
12847
|
+
SecretKeyDto: {
|
|
12848
|
+
/** Format: uuid */
|
|
12849
|
+
id: string;
|
|
12850
|
+
name: string;
|
|
12851
|
+
/** Format: date-time */
|
|
12852
|
+
created_at: string;
|
|
12853
|
+
/** Format: date-time */
|
|
12854
|
+
updated_at: string;
|
|
12855
|
+
/** @description How many actions reference this secret in their headers. */
|
|
12856
|
+
referencing_action_count: number;
|
|
12857
|
+
};
|
|
12803
12858
|
WhatsAppTemplateButtonOptionDto: {
|
|
12804
12859
|
/** @description Meta's 0-based button index — the key a step's `buttons` binding uses. */
|
|
12805
12860
|
index: number;
|
|
@@ -15093,6 +15148,34 @@ export interface components {
|
|
|
15093
15148
|
id: string;
|
|
15094
15149
|
created_at: string;
|
|
15095
15150
|
event: {
|
|
15151
|
+
/** @constant */
|
|
15152
|
+
type: "message";
|
|
15153
|
+
sender: components["schemas"]["ChatMessageSender"];
|
|
15154
|
+
/** @description Per-message email headers. Omitted when no email metadata is stored. Does not include BCC recipients. */
|
|
15155
|
+
email?: {
|
|
15156
|
+
/** @description Original sender address, when stored; may differ from the session contact when Reply-To is used. */
|
|
15157
|
+
from?: string;
|
|
15158
|
+
/** @description Visible To recipients recorded for this message. */
|
|
15159
|
+
to: string[];
|
|
15160
|
+
/** @description Visible CC recipients recorded for this message. */
|
|
15161
|
+
cc: string[];
|
|
15162
|
+
};
|
|
15163
|
+
content: {
|
|
15164
|
+
/** @constant */
|
|
15165
|
+
type: "text";
|
|
15166
|
+
text: string;
|
|
15167
|
+
};
|
|
15168
|
+
context?: {
|
|
15169
|
+
[key: string]: unknown;
|
|
15170
|
+
};
|
|
15171
|
+
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15172
|
+
custom_data?: {
|
|
15173
|
+
[key: string]: unknown;
|
|
15174
|
+
};
|
|
15175
|
+
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15176
|
+
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15177
|
+
options?: components["schemas"]["MessageOptionDto"][];
|
|
15178
|
+
} | {
|
|
15096
15179
|
/** @constant */
|
|
15097
15180
|
type: "session_merged";
|
|
15098
15181
|
/** @constant */
|
|
@@ -15113,6 +15196,13 @@ export interface components {
|
|
|
15113
15196
|
} | {
|
|
15114
15197
|
/** @constant */
|
|
15115
15198
|
type: "api";
|
|
15199
|
+
} | {
|
|
15200
|
+
/** @constant */
|
|
15201
|
+
type: "workflow";
|
|
15202
|
+
/** @description The workflow that performed the merge. */
|
|
15203
|
+
id: string;
|
|
15204
|
+
/** @description The workflow run that performed the merge. */
|
|
15205
|
+
workflow_run_id: string;
|
|
15116
15206
|
};
|
|
15117
15207
|
redacted?: boolean;
|
|
15118
15208
|
};
|
|
@@ -15138,7 +15228,7 @@ export interface components {
|
|
|
15138
15228
|
*/
|
|
15139
15229
|
type: "unmapped_event";
|
|
15140
15230
|
/** @enum {string} */
|
|
15141
|
-
message_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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
15231
|
+
message_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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "journey_step_by_integration" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
15142
15232
|
content: {
|
|
15143
15233
|
/** @constant */
|
|
15144
15234
|
type: "text";
|
|
@@ -15156,25 +15246,6 @@ export interface components {
|
|
|
15156
15246
|
text: string;
|
|
15157
15247
|
};
|
|
15158
15248
|
comment_thread_id: string | null;
|
|
15159
|
-
} | {
|
|
15160
|
-
/** @constant */
|
|
15161
|
-
type: "message";
|
|
15162
|
-
sender: components["schemas"]["ChatMessageSender"];
|
|
15163
|
-
content: {
|
|
15164
|
-
/** @constant */
|
|
15165
|
-
type: "text";
|
|
15166
|
-
text: string;
|
|
15167
|
-
};
|
|
15168
|
-
context?: {
|
|
15169
|
-
[key: string]: unknown;
|
|
15170
|
-
};
|
|
15171
|
-
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15172
|
-
custom_data?: {
|
|
15173
|
-
[key: string]: unknown;
|
|
15174
|
-
};
|
|
15175
|
-
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15176
|
-
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15177
|
-
options?: components["schemas"]["MessageOptionDto"][];
|
|
15178
15249
|
} | {
|
|
15179
15250
|
/**
|
|
15180
15251
|
* @description An AI draft reply produced in assist mode — suggested to the human support team, never delivered to the contact.
|
|
@@ -15423,6 +15494,25 @@ export interface components {
|
|
|
15423
15494
|
id: string;
|
|
15424
15495
|
created_at: string;
|
|
15425
15496
|
event: {
|
|
15497
|
+
/** @constant */
|
|
15498
|
+
type: "message";
|
|
15499
|
+
sender: components["schemas"]["ChatMessageSender"];
|
|
15500
|
+
content: {
|
|
15501
|
+
/** @constant */
|
|
15502
|
+
type: "text";
|
|
15503
|
+
text: string;
|
|
15504
|
+
};
|
|
15505
|
+
context?: {
|
|
15506
|
+
[key: string]: unknown;
|
|
15507
|
+
};
|
|
15508
|
+
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15509
|
+
custom_data?: {
|
|
15510
|
+
[key: string]: unknown;
|
|
15511
|
+
};
|
|
15512
|
+
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15513
|
+
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15514
|
+
options?: components["schemas"]["MessageOptionDto"][];
|
|
15515
|
+
} | {
|
|
15426
15516
|
/** @constant */
|
|
15427
15517
|
type: "session_merged";
|
|
15428
15518
|
/** @constant */
|
|
@@ -15443,6 +15533,13 @@ export interface components {
|
|
|
15443
15533
|
} | {
|
|
15444
15534
|
/** @constant */
|
|
15445
15535
|
type: "api";
|
|
15536
|
+
} | {
|
|
15537
|
+
/** @constant */
|
|
15538
|
+
type: "workflow";
|
|
15539
|
+
/** @description The workflow that performed the merge. */
|
|
15540
|
+
id: string;
|
|
15541
|
+
/** @description The workflow run that performed the merge. */
|
|
15542
|
+
workflow_run_id: string;
|
|
15446
15543
|
};
|
|
15447
15544
|
redacted?: boolean;
|
|
15448
15545
|
};
|
|
@@ -15468,7 +15565,7 @@ export interface components {
|
|
|
15468
15565
|
*/
|
|
15469
15566
|
type: "unmapped_event";
|
|
15470
15567
|
/** @enum {string} */
|
|
15471
|
-
message_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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
15568
|
+
message_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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "journey_step_by_integration" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
15472
15569
|
content: {
|
|
15473
15570
|
/** @constant */
|
|
15474
15571
|
type: "text";
|
|
@@ -15486,25 +15583,6 @@ export interface components {
|
|
|
15486
15583
|
text: string;
|
|
15487
15584
|
};
|
|
15488
15585
|
comment_thread_id: string | null;
|
|
15489
|
-
} | {
|
|
15490
|
-
/** @constant */
|
|
15491
|
-
type: "message";
|
|
15492
|
-
sender: components["schemas"]["ChatMessageSender"];
|
|
15493
|
-
content: {
|
|
15494
|
-
/** @constant */
|
|
15495
|
-
type: "text";
|
|
15496
|
-
text: string;
|
|
15497
|
-
};
|
|
15498
|
-
context?: {
|
|
15499
|
-
[key: string]: unknown;
|
|
15500
|
-
};
|
|
15501
|
-
/** @description Custom data attached to this message by the sender (e.g. via the widget SDK) */
|
|
15502
|
-
custom_data?: {
|
|
15503
|
-
[key: string]: unknown;
|
|
15504
|
-
};
|
|
15505
|
-
attachments: components["schemas"]["PublicChatAttachment"][];
|
|
15506
|
-
/** @description Agent messages sent from a macro with options: the options the contact can tap. Report a tap with `message.option_reply` on Send a message. */
|
|
15507
|
-
options?: components["schemas"]["MessageOptionDto"][];
|
|
15508
15586
|
} | {
|
|
15509
15587
|
/**
|
|
15510
15588
|
* @description An AI draft reply produced in assist mode — suggested to the human support team, never delivered to the contact.
|
|
@@ -15752,7 +15830,7 @@ export interface components {
|
|
|
15752
15830
|
* @description Stored event type used by include/exclude filters; it can differ from the normalized event.type.
|
|
15753
15831
|
* @enum {string}
|
|
15754
15832
|
*/
|
|
15755
|
-
message_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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
15833
|
+
message_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_message_deleted_by_agent" | "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_follow_up_cancelled" | "ai_follow_up_fired" | "ai_follow_up_scheduled" | "ai_reopened_session" | "ai_response_cancelled" | "ai_resumed_by_system" | "ai_suggestion" | "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_request_cancelled" | "csat_requested" | "csat_submitted" | "email_draft_message" | "handoff" | "handoff_to_salesforce_miaw" | "handoff_to_third_party_failed" | "handoff_to_zendesk" | "integration_reopened_session" | "ivr_selection" | "journey_step_by_integration" | "merged_session_message" | "message" | "pii_attachment_removed" | "primary_contact_changed" | "prohibited_topic_detected" | "quoted_content_modified" | "salesforce_fields_updated" | "sequence_message" | "session_forwarded" | "session_language_changed_by_agent" | "session_language_changed_by_api" | "session_language_changed_by_integration" | "session_language_changed_by_system" | "session_merged" | "session_priority_changed_by_agent" | "session_priority_changed_by_system" | "session_snoozed" | "session_subject_changed_by_system" | "session_unsnoozed" | "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_session_created" | "sub_session_linked_by_agent" | "sub_session_linked_by_api" | "sub_session_linked_by_integration" | "sub_session_linked_by_system" | "sub_session_unlinked_by_agent" | "sub_session_unlinked_by_api" | "sub_session_unlinked_by_integration" | "sub_session_unlinked_by_system" | "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" | "voice_call_ai_joined" | "voice_call_ai_left" | "voice_call_contact_answered" | "voice_call_contact_joined" | "voice_call_contact_left" | "voice_call_ended" | "voice_call_failed_to_start" | "voice_call_human_answered" | "voice_call_human_joined" | "voice_call_human_left" | "voice_call_started" | "workflow_message" | "workflow_note" | "workflow_triggered";
|
|
15756
15834
|
actor: {
|
|
15757
15835
|
/** @enum {string} */
|
|
15758
15836
|
type: "human" | "api" | "workflow" | "system" | "integration" | "ai" | "contact" | "unknown";
|
|
@@ -17955,6 +18033,17 @@ export interface components {
|
|
|
17955
18033
|
workitem_worktype_id: string | null;
|
|
17956
18034
|
/** @enum {string} */
|
|
17957
18035
|
presence_sync: "off" | "inbound" | "two_way";
|
|
18036
|
+
contact_attribute_keys: string[];
|
|
18037
|
+
/** @description Each directory sync makes a team of every Genesys queue not excluded */
|
|
18038
|
+
sync_queues_as_teams: boolean;
|
|
18039
|
+
/** @description Genesys queue ids OpenCX leaves alone: no team is made for them */
|
|
18040
|
+
excluded_queue_ids: string[];
|
|
18041
|
+
/** @description Every Genesys email and messaging conversation in a queue not excluded appears as a session */
|
|
18042
|
+
mirror_enabled: boolean;
|
|
18043
|
+
/** @description OpenCX writes its view of each session onto the Genesys conversation as opencx_* participant data */
|
|
18044
|
+
share_context_enabled: boolean;
|
|
18045
|
+
/** @description An Open Messaging handoff puts a note for the agent in the Genesys transcript */
|
|
18046
|
+
post_handoff_note: boolean;
|
|
17958
18047
|
native_email: {
|
|
17959
18048
|
enabled: boolean;
|
|
17960
18049
|
queue_id: string | null;
|
|
@@ -18468,7 +18557,7 @@ export interface components {
|
|
|
18468
18557
|
checked_at: string | null;
|
|
18469
18558
|
signals: {
|
|
18470
18559
|
/** @enum {string} */
|
|
18471
|
-
key: "handoff_failures" | "relay_failures" | "call_recordings" | "webhook" | "poll" | "token" | "drift" | "directory" | "threading";
|
|
18560
|
+
key: "handoff_failures" | "relay_failures" | "call_recordings" | "webhook" | "poll" | "token" | "drift" | "directory" | "threading" | "live_feed" | "mirror" | "insights" | "routing" | "custom_attributes";
|
|
18472
18561
|
/** @enum {string} */
|
|
18473
18562
|
status: "ok" | "warn" | "error";
|
|
18474
18563
|
at: string | null;
|
|
@@ -26859,6 +26948,35 @@ export interface operations {
|
|
|
26859
26948
|
};
|
|
26860
26949
|
};
|
|
26861
26950
|
};
|
|
26951
|
+
listSecretNames: {
|
|
26952
|
+
parameters: {
|
|
26953
|
+
query?: never;
|
|
26954
|
+
header?: never;
|
|
26955
|
+
path?: never;
|
|
26956
|
+
cookie?: never;
|
|
26957
|
+
};
|
|
26958
|
+
requestBody?: never;
|
|
26959
|
+
responses: {
|
|
26960
|
+
/** @description Default Response */
|
|
26961
|
+
200: {
|
|
26962
|
+
headers: {
|
|
26963
|
+
[name: string]: unknown;
|
|
26964
|
+
};
|
|
26965
|
+
content: {
|
|
26966
|
+
"application/json": components["schemas"]["SecretKeyDto"][];
|
|
26967
|
+
};
|
|
26968
|
+
};
|
|
26969
|
+
/** @description Internal Server Error */
|
|
26970
|
+
500: {
|
|
26971
|
+
headers: {
|
|
26972
|
+
[name: string]: unknown;
|
|
26973
|
+
};
|
|
26974
|
+
content: {
|
|
26975
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
26976
|
+
};
|
|
26977
|
+
};
|
|
26978
|
+
};
|
|
26979
|
+
};
|
|
26862
26980
|
listSequences: {
|
|
26863
26981
|
parameters: {
|
|
26864
26982
|
query?: never;
|