@opencx/mcp 1.11.79 → 1.11.80

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
@@ -4211,6 +4211,10 @@ export interface components {
4211
4211
  type: components["schemas"]["SessionChannel"];
4212
4212
  };
4213
4213
  verified?: boolean | null;
4214
+ /** @description Session-level custom data to store on the chat session. */
4215
+ custom_data?: {
4216
+ [key: string]: string | number | boolean;
4217
+ };
4214
4218
  };
4215
4219
  UpdateChatSessionInput: {
4216
4220
  /** @enum {string} */
@@ -4249,6 +4253,10 @@ export interface components {
4249
4253
  [key: string]: string;
4250
4254
  };
4251
4255
  };
4256
+ /** @description Session-level custom data to merge into the chat session. Use contact.custom_data for contact-level attributes. */
4257
+ custom_data?: {
4258
+ [key: string]: string | number | boolean;
4259
+ };
4252
4260
  agent?: {
4253
4261
  id?: number;
4254
4262
  name?: string;
@@ -4596,7 +4604,7 @@ export interface components {
4596
4604
  trigger_type: "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "sequence-completed" | "csat-score-submit" | "prohibited-topic-detected" | "sla-first-reply-breached" | "sla-next-reply-breached" | "sla-resolution-breached" | "voice-call-transferred" | "pre-voice-call-transfer" | "pre-phone-call-finished" | "manual-ticket-trigger" | "contact-message-received" | "macro-called" | "agent-availability-changed" | "agent-avail-in-team-changed";
4597
4605
  /** @description Trigger-specific configuration (e.g. cron expression for cron-trigger) */
4598
4606
  trigger_configuration?: unknown | null;
4599
- /** @description Array of workflow steps and control-flow blocks. Each step is an object with { "$kind": "Action", "id": "<unique-step-id>", "type": "<action-type>", "name": "<display-name>", "input": { ... } }. Control-flow blocks use { "$kind": "Block", "type": "if-else", "id": "<unique-id>", "inputs": { "condition": { "operatorName": "equals", "left": "{{step_id.output.field}}", "right": "value" } }, "branches": { "then": [...steps], "else": [...steps] } }. Use {{step_id.output.field}} to reference outputs from previous steps. */
4607
+ /** @description Array of workflow steps and control-flow blocks. Each step is an object with { "$kind": "Action", "id": "<unique-step-id>", "type": "<action-type>", "name": "<display-name>", "input": { ... } }. Control-flow blocks use { "$kind": "Block", "type": "if-else", "id": "<unique-id>", "inputs": { "condition": { "operatorName": "equals", "left": "{{step_id.field}}", "right": "value" } }, "branches": { "then": [...steps], "else": [...steps] } }. Use {{step_id.field}} to reference outputs from previous steps (no `.output.` segment — the field sits directly under the step id). */
4600
4608
  workflow_blocks: unknown[];
4601
4609
  /** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
4602
4610
  workflow_editor_state?: unknown | null;
@@ -5216,6 +5224,7 @@ export interface components {
5216
5224
  background_noise_preset: ("office" | "bar" | "city-street") | null;
5217
5225
  recording_enabled: boolean;
5218
5226
  stt_keyterms: string[];
5227
+ stt_model: ("deepgram/flux-general" | "deepgram/nova-3" | "deepgram/nova-3-medical" | "cartesia/ink-whisper" | "elevenlabs/scribe_v2_realtime" | "xai/stt-1") | null;
5219
5228
  failover_transfer_destination_id: string | null;
5220
5229
  };
5221
5230
  PhoneAgentVoiceDto: {
@@ -6045,6 +6054,7 @@ export interface components {
6045
6054
  };
6046
6055
  language?: string;
6047
6056
  assignee_id?: string | null;
6057
+ /** @description Session-level custom data stored on the chat session. */
6048
6058
  custom_data?: {
6049
6059
  [key: string]: string | number | boolean;
6050
6060
  };
@@ -6817,7 +6827,7 @@ export interface components {
6817
6827
  /** Format: email */
6818
6828
  email: string;
6819
6829
  avatar_url?: string | null;
6820
- permissions?: (("ADMIN" | "INBOX" | "CONTACTS" | "OUTBOUND_SEQUENCES" | "WEB_CHANNEL" | "EMAIL_CHANNEL" | "WHATSAPP_CHANNEL" | "SMS_CHANNEL" | "SLACK_CHANNEL" | "PHONE_CHANNEL" | "AI_KNOWLEDGE_BASE" | "REPORTS" | "HELP_CENTER" | "WORKFLOWS" | "SETTINGS" | "WORKSPACE_ADMIN" | "CREATE_ACTIONS" | "UPDATE_ACTIONS" | "DELETE_ACTIONS" | "CREATE_SHARED_SESSIONS_FILTERS_VIEW") | ("*" | "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"))[] | 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;
6821
6831
  };
6822
6832
  OrgUserDetail: {
6823
6833
  id: number;
@@ -6826,7 +6836,7 @@ export interface components {
6826
6836
  /** Format: email */
6827
6837
  email: string;
6828
6838
  avatar_url?: string | null;
6829
- permissions?: (("ADMIN" | "INBOX" | "CONTACTS" | "OUTBOUND_SEQUENCES" | "WEB_CHANNEL" | "EMAIL_CHANNEL" | "WHATSAPP_CHANNEL" | "SMS_CHANNEL" | "SLACK_CHANNEL" | "PHONE_CHANNEL" | "AI_KNOWLEDGE_BASE" | "REPORTS" | "HELP_CENTER" | "WORKFLOWS" | "SETTINGS" | "WORKSPACE_ADMIN" | "CREATE_ACTIONS" | "UPDATE_ACTIONS" | "DELETE_ACTIONS" | "CREATE_SHARED_SESSIONS_FILTERS_VIEW") | ("*" | "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"))[] | 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;
6830
6840
  teams: {
6831
6841
  group: components["schemas"]["GroupDto"];
6832
6842
  is_user_available_on_group: boolean;
@@ -7014,7 +7024,7 @@ export interface components {
7014
7024
  icon: string;
7015
7025
  /** @description Input fields this action accepts. Pass these in the "input" object of the workflow block. */
7016
7026
  input_fields: components["schemas"]["FieldSchemaPublicDto"][] | null;
7017
- /** @description Output fields this action produces. Reference via {{step_id.output.field_name}}. */
7027
+ /** @description Output fields this action produces. Reference via {{step_id.field_name}}. */
7018
7028
  output_fields: components["schemas"]["FieldSchemaPublicDto"][] | null;
7019
7029
  /** @description Raw nested input schema for actions whose inputs include `Field.Object` or `Field.JsonSchema` properties (e.g. ask-ai's resultShape, make-http-call's responseSchema). When set, this is the source of truth — input_fields is a flattened summary. */
7020
7030
  input_shape: unknown | null;
@@ -7039,6 +7049,19 @@ export interface components {
7039
7049
  /** @description Field schema for the trigger configuration. When non-empty, the workflow author MUST set every required property in trigger_configuration. Examples: ai-trigger needs theGoalOfTheWorkflow + aiPayloadShape; cron-trigger needs cronExpression; webhook needs accessControl. */
7040
7050
  configuration_def: unknown | null;
7041
7051
  };
7052
+ OperatorPublicDto: {
7053
+ /** @description Operator identifier — use this exact value as "operatorName" in conditions (e.g. "equals", "notEquals", "stringContains"). */
7054
+ name: string;
7055
+ /** @description Human-readable name */
7056
+ display_name: string;
7057
+ /**
7058
+ * @description Operator arity. "Unary": condition takes "left" only. "Binary": condition takes "left" and "right". "Logical": "and"/"or" take a "conditions" array of nested conditions; "not" takes a single "condition".
7059
+ * @enum {string}
7060
+ */
7061
+ type: "Unary" | "Binary" | "Logical";
7062
+ /** @description Field types this operator can be applied to */
7063
+ applies_to: ("String" | "Number" | "Boolean" | "Array" | "Object" | "DateTime" | "LongText" | "Url" | "Email" | "Select" | "LazySelect" | "Code" | "MultiSelect" | "JsonSchema" | "Any" | "AnyObject" | "RichText" | "File")[];
7064
+ };
7042
7065
  WorkflowDefinitionsPublicDto: {
7043
7066
  /** @description Available action types with their input/output schemas */
7044
7067
  action_types: components["schemas"]["ActionTypePublicDto"][];
@@ -7050,6 +7073,10 @@ export interface components {
7050
7073
  name: string;
7051
7074
  description: string;
7052
7075
  }[];
7076
+ /** @description Condition operators for if-else blocks, from the engine registry. This is the complete set the runtime evaluates — always pick "operatorName" from this list. */
7077
+ operators: components["schemas"]["OperatorPublicDto"][];
7078
+ /** @description Field schemas for the extra reference scopes available in every run, beyond the trigger payload and step outputs. Each entry's "name" is the scope root and its "properties" are the referenceable fields: {{metadata.<field>}} (date/time of the run), {{run.<field>}}, {{workflow.<field>}}, {{organization.<field>}}, and {{variables.<key>}} for the organization's global variables. */
7079
+ extra_variables: unknown[];
7053
7080
  };
7054
7081
  TestWorkflowPublicOutput: {
7055
7082
  /** @description UUID of the test run — feed into /workflows/:workflow_id/runs/:run_id */