@opencx/mcp 1.11.36 → 1.11.37
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 +10 -31
- package/dist/schema.d.ts.map +1 -1
- package/dist/tools/workflows.d.ts.map +1 -1
- package/dist/tools/workflows.js +8 -28
- package/dist/tools/workflows.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1082,12 +1082,10 @@ export interface paths {
|
|
|
1082
1082
|
put?: never;
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Send emails
|
|
1085
|
-
* @description
|
|
1086
|
-
* Send emails to multiple contacts, possibly with a time delay.
|
|
1085
|
+
* @description Send emails to multiple contacts, possibly with a time delay.
|
|
1087
1086
|
*
|
|
1088
1087
|
* To send emails using the API, you must first verify the domain you want to
|
|
1089
1088
|
* send emails from. You can add and verify custom domains in the settings.
|
|
1090
|
-
*
|
|
1091
1089
|
*/
|
|
1092
1090
|
post: operations["sendEmail"];
|
|
1093
1091
|
delete?: never;
|
|
@@ -1105,16 +1103,12 @@ export interface paths {
|
|
|
1105
1103
|
};
|
|
1106
1104
|
/**
|
|
1107
1105
|
* List all custom domains
|
|
1108
|
-
* @description
|
|
1109
|
-
* List all custom domains for your organization, including their verification status and DNS records.
|
|
1110
|
-
*
|
|
1106
|
+
* @description List all custom domains for your organization, including their verification status and DNS records.
|
|
1111
1107
|
*/
|
|
1112
1108
|
get: operations["listCustomDomains"];
|
|
1113
1109
|
/**
|
|
1114
1110
|
* Add or update a custom domain for email sending
|
|
1115
|
-
* @description
|
|
1116
|
-
* Add or update a custom domain for sending emails. After adding a domain, you'll need to verify it by adding the provided DNS records.
|
|
1117
|
-
*
|
|
1111
|
+
* @description Add or update a custom domain for sending emails. After adding a domain, you'll need to verify it by adding the provided DNS records.
|
|
1118
1112
|
*/
|
|
1119
1113
|
put: operations["putCustomDomain"];
|
|
1120
1114
|
post?: never;
|
|
@@ -1139,9 +1133,7 @@ export interface paths {
|
|
|
1139
1133
|
head?: never;
|
|
1140
1134
|
/**
|
|
1141
1135
|
* Start verification process for a custom domain
|
|
1142
|
-
* @description
|
|
1143
|
-
* Start the verification process for a custom domain. Make sure you've added the DNS records before starting verification.
|
|
1144
|
-
*
|
|
1136
|
+
* @description Start the verification process for a custom domain. Make sure you've added the DNS records before starting verification.
|
|
1145
1137
|
*/
|
|
1146
1138
|
patch: operations["startVerifyingCustomDomain"];
|
|
1147
1139
|
trace?: never;
|
|
@@ -1158,9 +1150,7 @@ export interface paths {
|
|
|
1158
1150
|
post?: never;
|
|
1159
1151
|
/**
|
|
1160
1152
|
* Delete a custom domain
|
|
1161
|
-
* @description
|
|
1162
|
-
* Delete a custom domain from your organization. This will prevent you from sending emails from this domain.
|
|
1163
|
-
*
|
|
1153
|
+
* @description Delete a custom domain from your organization. This will prevent you from sending emails from this domain.
|
|
1164
1154
|
*/
|
|
1165
1155
|
delete: operations["deleteCustomDomain"];
|
|
1166
1156
|
options?: never;
|
|
@@ -2016,12 +2006,10 @@ export interface paths {
|
|
|
2016
2006
|
put?: never;
|
|
2017
2007
|
/**
|
|
2018
2008
|
* Add contacts to a continuous sequence
|
|
2019
|
-
* @description
|
|
2020
|
-
* Add contacts to a continuous sequence (`is_continuous` property of the sequence must be `true`).
|
|
2009
|
+
* @description Add contacts to a continuous sequence (`is_continuous` property of the sequence must be `true`).
|
|
2021
2010
|
* Contacts will *not* be added to the sequence if the sequence's `filter` does not apply to the contact.
|
|
2022
2011
|
*
|
|
2023
2012
|
* Any contacts added will automatically be added to contacts if they don't already exist.
|
|
2024
|
-
*
|
|
2025
2013
|
*/
|
|
2026
2014
|
post: operations["addContactsToSequence"];
|
|
2027
2015
|
delete?: never;
|
|
@@ -4062,9 +4050,11 @@ export interface components {
|
|
|
4062
4050
|
CreateChatSessionInput: {
|
|
4063
4051
|
/** Format: uuid */
|
|
4064
4052
|
contact_id?: string;
|
|
4065
|
-
/**
|
|
4053
|
+
/**
|
|
4054
|
+
* @default {
|
|
4066
4055
|
* "type": "api"
|
|
4067
|
-
* }
|
|
4056
|
+
* }
|
|
4057
|
+
*/
|
|
4068
4058
|
channel: {
|
|
4069
4059
|
type: components["schemas"]["SessionChannel"];
|
|
4070
4060
|
};
|
|
@@ -4426,8 +4416,6 @@ export interface components {
|
|
|
4426
4416
|
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";
|
|
4427
4417
|
/** @description Trigger-specific configuration (e.g. cron expression for cron-trigger) */
|
|
4428
4418
|
trigger_configuration?: unknown | null;
|
|
4429
|
-
/** @description JSON Logic constraints that must be satisfied for the trigger to fire */
|
|
4430
|
-
trigger_constraints?: unknown | null;
|
|
4431
4419
|
/** @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. */
|
|
4432
4420
|
workflow_blocks: unknown[];
|
|
4433
4421
|
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
@@ -4445,8 +4433,6 @@ export interface components {
|
|
|
4445
4433
|
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";
|
|
4446
4434
|
/** @description New trigger configuration */
|
|
4447
4435
|
trigger_configuration?: unknown | null;
|
|
4448
|
-
/** @description New trigger constraints */
|
|
4449
|
-
trigger_constraints?: unknown | null;
|
|
4450
4436
|
/** @description New workflow step/block definitions (replaces existing blocks) */
|
|
4451
4437
|
workflow_blocks?: unknown[];
|
|
4452
4438
|
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
@@ -4471,11 +4457,6 @@ export interface components {
|
|
|
4471
4457
|
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";
|
|
4472
4458
|
payload: unknown;
|
|
4473
4459
|
};
|
|
4474
|
-
/**
|
|
4475
|
-
* @description When true, skip trigger_constraints filtering for the test run. Default false (constraints apply). If constraints filter the synthetic payload, the route returns a 400 — flip this to true to exercise the workflow body unconditionally.
|
|
4476
|
-
* @default false
|
|
4477
|
-
*/
|
|
4478
|
-
ignore_constraints: boolean;
|
|
4479
4460
|
};
|
|
4480
4461
|
SyncContentTreeDto: {
|
|
4481
4462
|
categories: {
|
|
@@ -6527,8 +6508,6 @@ export interface components {
|
|
|
6527
6508
|
workflow_blocks: unknown[] | null;
|
|
6528
6509
|
/** @description Trigger-specific configuration */
|
|
6529
6510
|
trigger_configuration: unknown | null;
|
|
6530
|
-
/** @description Trigger constraint rules (JSON Logic) */
|
|
6531
|
-
trigger_constraints: unknown | null;
|
|
6532
6511
|
/** @description Trigger URL for webhook-type workflows. Call this URL (POST) to trigger the workflow. Null for non-webhook workflows. */
|
|
6533
6512
|
webhook_url: string | null;
|
|
6534
6513
|
};
|