@opencx/mcp 1.15.49 → 1.15.51
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/campaign-tools.spec.js +35 -0
- package/dist/campaign-tools.spec.js.map +1 -1
- package/dist/contacts.spec.d.ts +2 -0
- package/dist/contacts.spec.d.ts.map +1 -0
- package/dist/contacts.spec.js +80 -0
- package/dist/contacts.spec.js.map +1 -0
- package/dist/schema.d.ts +291 -13
- 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/call-flows.d.ts +4 -0
- package/dist/tools/call-flows.d.ts.map +1 -0
- package/dist/tools/call-flows.js +23 -0
- package/dist/tools/call-flows.js.map +1 -0
- package/dist/tools/campaign-spine.d.ts.map +1 -1
- package/dist/tools/campaign-spine.js +39 -1
- package/dist/tools/campaign-spine.js.map +1 -1
- package/dist/tools/contacts.d.ts.map +1 -1
- package/dist/tools/contacts.js +9 -0
- package/dist/tools/contacts.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -833,7 +833,8 @@ export interface paths {
|
|
|
833
833
|
path?: never;
|
|
834
834
|
cookie?: never;
|
|
835
835
|
};
|
|
836
|
-
|
|
836
|
+
/** Get a contact */
|
|
837
|
+
get: operations["getContact"];
|
|
837
838
|
put?: never;
|
|
838
839
|
post?: never;
|
|
839
840
|
/** Delete a contact */
|
|
@@ -2557,6 +2558,41 @@ export interface paths {
|
|
|
2557
2558
|
patch: operations["updateInboxView"];
|
|
2558
2559
|
trace?: never;
|
|
2559
2560
|
};
|
|
2561
|
+
"/call-flows/assets": {
|
|
2562
|
+
parameters: {
|
|
2563
|
+
query?: never;
|
|
2564
|
+
header?: never;
|
|
2565
|
+
path?: never;
|
|
2566
|
+
cookie?: never;
|
|
2567
|
+
};
|
|
2568
|
+
/** List WAV recordings for call flows */
|
|
2569
|
+
get: operations["listCallFlowAssets"];
|
|
2570
|
+
put?: never;
|
|
2571
|
+
/** Upload an immutable WAV recording */
|
|
2572
|
+
post: operations["uploadCallFlowAsset"];
|
|
2573
|
+
delete?: never;
|
|
2574
|
+
options?: never;
|
|
2575
|
+
head?: never;
|
|
2576
|
+
patch?: never;
|
|
2577
|
+
trace?: never;
|
|
2578
|
+
};
|
|
2579
|
+
"/call-flows/binding": {
|
|
2580
|
+
parameters: {
|
|
2581
|
+
query?: never;
|
|
2582
|
+
header?: never;
|
|
2583
|
+
path?: never;
|
|
2584
|
+
cookie?: never;
|
|
2585
|
+
};
|
|
2586
|
+
get?: never;
|
|
2587
|
+
/** Assign an active call flow to a phone number */
|
|
2588
|
+
put: operations["setCallFlowBinding"];
|
|
2589
|
+
post?: never;
|
|
2590
|
+
delete?: never;
|
|
2591
|
+
options?: never;
|
|
2592
|
+
head?: never;
|
|
2593
|
+
patch?: never;
|
|
2594
|
+
trace?: never;
|
|
2595
|
+
};
|
|
2560
2596
|
"/workflows/definitions": {
|
|
2561
2597
|
parameters: {
|
|
2562
2598
|
query?: never;
|
|
@@ -3698,6 +3734,26 @@ export interface paths {
|
|
|
3698
3734
|
patch?: never;
|
|
3699
3735
|
trace?: never;
|
|
3700
3736
|
};
|
|
3737
|
+
"/sequences/{sequenceId}/contacts/{contactId}/skip-step": {
|
|
3738
|
+
parameters: {
|
|
3739
|
+
query?: never;
|
|
3740
|
+
header?: never;
|
|
3741
|
+
path?: never;
|
|
3742
|
+
cookie?: never;
|
|
3743
|
+
};
|
|
3744
|
+
get?: never;
|
|
3745
|
+
put?: never;
|
|
3746
|
+
/**
|
|
3747
|
+
* Skip one pending step for a contact
|
|
3748
|
+
* @description Marks only this enrollment. Does not resume or unpark it. Skipped waits are preserved, including when continuing after a reply. A dispatch already started cannot be skipped. Phone uses channel voice. Retry next-step requests with the same idempotency_key.
|
|
3749
|
+
*/
|
|
3750
|
+
post: operations["skipSequenceStep"];
|
|
3751
|
+
delete?: never;
|
|
3752
|
+
options?: never;
|
|
3753
|
+
head?: never;
|
|
3754
|
+
patch?: never;
|
|
3755
|
+
trace?: never;
|
|
3756
|
+
};
|
|
3701
3757
|
"/sequences/{sequenceId}/contacts/{contactId}/continue": {
|
|
3702
3758
|
parameters: {
|
|
3703
3759
|
query?: never;
|
|
@@ -3709,9 +3765,9 @@ export interface paths {
|
|
|
3709
3765
|
put?: never;
|
|
3710
3766
|
/**
|
|
3711
3767
|
* Continue the sequence for a person a reply took out of it
|
|
3712
|
-
* @description A reply concludes a journey — the person exits as "replied" and receives no further steps. When that reply was not real engagement (an out-of-office, a "who is this?"), this puts them back in: active at the NEXT step, with that step's wait counted from now. The step they answered is never re-sent.
|
|
3768
|
+
* @description A reply concludes a journey — the person exits as "replied" and receives no further steps. When that reply was not real engagement (an out-of-office, a "who is this?"), this puts them back in: active at the NEXT step, with that step's wait counted from now. Skipped steps are omitted and their waits are added from resume time. The step they answered is never re-sent.
|
|
3713
3769
|
*
|
|
3714
|
-
* Never an error for "cannot continue": `nothing_to_continue` when they replied on the last step or the journey already completed; `not_resumable` when the journey is still in play or ended by suppression (consent is not overridden here); `contact_not_found` when there is no live enrollment.
|
|
3770
|
+
* Never an error for "cannot continue": `nothing_to_continue` when they replied on the last step or the journey already completed; `not_resumable` when the journey is still in play, dispatch is still in progress, or ended by suppression (consent is not overridden here); `contact_not_found` when there is no live enrollment.
|
|
3715
3771
|
*/
|
|
3716
3772
|
post: operations["continueSequenceContact"];
|
|
3717
3773
|
delete?: never;
|
|
@@ -7051,6 +7107,20 @@ export interface components {
|
|
|
7051
7107
|
/** @description Optional reason for redaction */
|
|
7052
7108
|
reason?: string;
|
|
7053
7109
|
};
|
|
7110
|
+
SkipSequenceStepBody: {
|
|
7111
|
+
/** @enum {string} */
|
|
7112
|
+
mode: "next_pending" | "next_channel" | "specific_step";
|
|
7113
|
+
/**
|
|
7114
|
+
* @description Required for next_channel. Phone uses voice.
|
|
7115
|
+
* @enum {string}
|
|
7116
|
+
*/
|
|
7117
|
+
channel?: "whatsapp" | "voice" | "email";
|
|
7118
|
+
/** @description Required for specific_step; zero-based. */
|
|
7119
|
+
step_index?: number;
|
|
7120
|
+
reason?: string;
|
|
7121
|
+
/** @description Reuse for retries of a next-step request in this enrollment. Specific-step skips are always idempotent. */
|
|
7122
|
+
idempotency_key?: string;
|
|
7123
|
+
};
|
|
7054
7124
|
CreateWhatsAppTemplateDraftButtonDto: {
|
|
7055
7125
|
/** @constant */
|
|
7056
7126
|
type: "QUICK_REPLY";
|
|
@@ -8661,7 +8731,7 @@ export interface components {
|
|
|
8661
8731
|
* @description What starts the workflow. Use "manual-trigger" for on-demand execution, "ai-trigger" for AI-initiated, "webhook" for external HTTP triggers, "cron-trigger" for scheduled runs, or event-based triggers like "ticket-created", "contact-created", etc.
|
|
8662
8732
|
* @enum {string}
|
|
8663
8733
|
*/
|
|
8664
|
-
trigger_type: "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8734
|
+
trigger_type: "ivr-incoming-call" | "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8665
8735
|
/** @description Trigger-specific configuration (e.g. cron expression for cron-trigger) */
|
|
8666
8736
|
trigger_configuration?: unknown | null;
|
|
8667
8737
|
/** @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). */
|
|
@@ -8678,7 +8748,7 @@ export interface components {
|
|
|
8678
8748
|
* @description New trigger type
|
|
8679
8749
|
* @enum {string}
|
|
8680
8750
|
*/
|
|
8681
|
-
trigger_type?: "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8751
|
+
trigger_type?: "ivr-incoming-call" | "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8682
8752
|
/** @description New trigger configuration */
|
|
8683
8753
|
trigger_configuration?: unknown | null;
|
|
8684
8754
|
/** @description New workflow step/block definitions (replaces existing blocks) */
|
|
@@ -8691,7 +8761,7 @@ export interface components {
|
|
|
8691
8761
|
* @description Trigger type to validate against
|
|
8692
8762
|
* @enum {string}
|
|
8693
8763
|
*/
|
|
8694
|
-
trigger_type: "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8764
|
+
trigger_type: "ivr-incoming-call" | "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8695
8765
|
/** @description Trigger configuration to validate against the trigger's configuration_def. When omitted, the trigger is validated as if unconfigured — triggers with required configuration (e.g. cron-trigger, ai-trigger) will report errors. */
|
|
8696
8766
|
trigger_configuration?: unknown | null;
|
|
8697
8767
|
/** @description Workflow blocks to validate */
|
|
@@ -8704,7 +8774,7 @@ export interface components {
|
|
|
8704
8774
|
* @description Trigger type whose payload shape this synthetic payload should match
|
|
8705
8775
|
* @enum {string}
|
|
8706
8776
|
*/
|
|
8707
|
-
type: "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8777
|
+
type: "ivr-incoming-call" | "manual-trigger" | "ai-trigger" | "cron-trigger" | "form-trigger" | "webhook" | "contact-created" | "contact-updated" | "phone-call-started" | "phone-call-finished" | "ticket-created" | "ticket-reassigned" | "ticket-resolved" | "ticket-handoff" | "pre-ticket-handoff" | "ticket-tag-added" | "ticket-inactive" | "agent-inactive" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "agent-message-posted" | "ticket-team-changed" | "session-updated" | "sequence-contact-replied" | "sequence-contact-completed" | "sequence-contact-parked" | "sequence-step-failed" | "sequence-contact-suppressed";
|
|
8708
8778
|
payload: unknown;
|
|
8709
8779
|
};
|
|
8710
8780
|
};
|
|
@@ -10645,6 +10715,8 @@ export interface components {
|
|
|
10645
10715
|
/** Format: date-time */
|
|
10646
10716
|
created_at: string;
|
|
10647
10717
|
verified_at: string | null;
|
|
10718
|
+
assigned_ivr_id?: string | null;
|
|
10719
|
+
assigned_ivr_name?: string | null;
|
|
10648
10720
|
assigned_agent_id?: string | null;
|
|
10649
10721
|
assigned_agent_name?: string | null;
|
|
10650
10722
|
assigned_agent_provider?: ("vapi" | "openai-realtime-voice" | "livekit") | null;
|
|
@@ -10851,6 +10923,16 @@ export interface components {
|
|
|
10851
10923
|
/** Format: date-time */
|
|
10852
10924
|
updated_at: string;
|
|
10853
10925
|
};
|
|
10926
|
+
SkipSequenceStepResponse: {
|
|
10927
|
+
/** @enum {string} */
|
|
10928
|
+
outcome: "skipped" | "already_skipped" | "contact_not_found" | "not_skippable" | "no_pending_step" | "step_not_found" | "step_not_pending" | "dispatch_in_progress";
|
|
10929
|
+
/** @description True only when this request newly skipped a step. */
|
|
10930
|
+
skipped: boolean;
|
|
10931
|
+
contact_id: string | null;
|
|
10932
|
+
enrollment_id: string | null;
|
|
10933
|
+
step_index: number | null;
|
|
10934
|
+
channel: ("whatsapp" | "voice" | "email") | null;
|
|
10935
|
+
};
|
|
10854
10936
|
WhatsAppTemplateButtonOptionDto: {
|
|
10855
10937
|
/** @description Meta's 0-based button index — the key a step's `buttons` binding uses. */
|
|
10856
10938
|
index: number;
|
|
@@ -13543,6 +13625,10 @@ export interface components {
|
|
|
13543
13625
|
custom_data: {
|
|
13544
13626
|
[key: string]: string;
|
|
13545
13627
|
} | null;
|
|
13628
|
+
/** @description Custom data from unverified sources (e.g. an unauthenticated widget visitor), kept apart from custom_data */
|
|
13629
|
+
non_verified_custom_data: {
|
|
13630
|
+
[key: string]: string;
|
|
13631
|
+
} | null;
|
|
13546
13632
|
/** @description ISO 8601 timestamp of when the contact was created */
|
|
13547
13633
|
created_at: string;
|
|
13548
13634
|
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
@@ -13557,15 +13643,15 @@ export interface components {
|
|
|
13557
13643
|
custom_data: {
|
|
13558
13644
|
[key: string]: string;
|
|
13559
13645
|
} | null;
|
|
13646
|
+
non_verified_custom_data: {
|
|
13647
|
+
[key: string]: string | number | boolean;
|
|
13648
|
+
} | null;
|
|
13560
13649
|
/** @description ISO 8601 timestamp of when the contact was created */
|
|
13561
13650
|
created_at: string;
|
|
13562
13651
|
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
13563
13652
|
updated_at: string;
|
|
13564
13653
|
non_verified_name: string | null;
|
|
13565
13654
|
non_verified_email: string | null;
|
|
13566
|
-
non_verified_custom_data: {
|
|
13567
|
-
[key: string]: string | number | boolean;
|
|
13568
|
-
} | null;
|
|
13569
13655
|
};
|
|
13570
13656
|
InvestigationAssignee: {
|
|
13571
13657
|
id: number;
|
|
@@ -13736,15 +13822,15 @@ export interface components {
|
|
|
13736
13822
|
custom_data: {
|
|
13737
13823
|
[key: string]: string;
|
|
13738
13824
|
} | null;
|
|
13825
|
+
non_verified_custom_data: {
|
|
13826
|
+
[key: string]: string | number | boolean;
|
|
13827
|
+
} | null;
|
|
13739
13828
|
/** @description ISO 8601 timestamp of when the contact was created */
|
|
13740
13829
|
created_at: string;
|
|
13741
13830
|
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
13742
13831
|
updated_at: string;
|
|
13743
13832
|
non_verified_name: string | null;
|
|
13744
13833
|
non_verified_email: string | null;
|
|
13745
|
-
non_verified_custom_data: {
|
|
13746
|
-
[key: string]: string | number | boolean;
|
|
13747
|
-
} | null;
|
|
13748
13834
|
};
|
|
13749
13835
|
language?: string;
|
|
13750
13836
|
/**
|
|
@@ -17366,6 +17452,37 @@ export interface operations {
|
|
|
17366
17452
|
};
|
|
17367
17453
|
};
|
|
17368
17454
|
};
|
|
17455
|
+
getContact: {
|
|
17456
|
+
parameters: {
|
|
17457
|
+
query?: never;
|
|
17458
|
+
header?: never;
|
|
17459
|
+
path: {
|
|
17460
|
+
contact_id: string;
|
|
17461
|
+
};
|
|
17462
|
+
cookie?: never;
|
|
17463
|
+
};
|
|
17464
|
+
requestBody?: never;
|
|
17465
|
+
responses: {
|
|
17466
|
+
/** @description Default Response */
|
|
17467
|
+
200: {
|
|
17468
|
+
headers: {
|
|
17469
|
+
[name: string]: unknown;
|
|
17470
|
+
};
|
|
17471
|
+
content: {
|
|
17472
|
+
"application/json": components["schemas"]["Contact"];
|
|
17473
|
+
};
|
|
17474
|
+
};
|
|
17475
|
+
/** @description Internal Server Error */
|
|
17476
|
+
500: {
|
|
17477
|
+
headers: {
|
|
17478
|
+
[name: string]: unknown;
|
|
17479
|
+
};
|
|
17480
|
+
content: {
|
|
17481
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
17482
|
+
};
|
|
17483
|
+
};
|
|
17484
|
+
};
|
|
17485
|
+
};
|
|
17369
17486
|
deleteContact: {
|
|
17370
17487
|
parameters: {
|
|
17371
17488
|
query?: never;
|
|
@@ -21419,6 +21536,129 @@ export interface operations {
|
|
|
21419
21536
|
};
|
|
21420
21537
|
};
|
|
21421
21538
|
};
|
|
21539
|
+
listCallFlowAssets: {
|
|
21540
|
+
parameters: {
|
|
21541
|
+
query?: never;
|
|
21542
|
+
header?: never;
|
|
21543
|
+
path?: never;
|
|
21544
|
+
cookie?: never;
|
|
21545
|
+
};
|
|
21546
|
+
requestBody?: never;
|
|
21547
|
+
responses: {
|
|
21548
|
+
/** @description Default Response */
|
|
21549
|
+
200: {
|
|
21550
|
+
headers: {
|
|
21551
|
+
[name: string]: unknown;
|
|
21552
|
+
};
|
|
21553
|
+
content: {
|
|
21554
|
+
"application/json": {
|
|
21555
|
+
/** Format: uuid */
|
|
21556
|
+
id: string;
|
|
21557
|
+
name: string;
|
|
21558
|
+
sample_rate: number;
|
|
21559
|
+
channels: number;
|
|
21560
|
+
duration_seconds: number;
|
|
21561
|
+
/** Format: date-time */
|
|
21562
|
+
created_at: string;
|
|
21563
|
+
}[];
|
|
21564
|
+
};
|
|
21565
|
+
};
|
|
21566
|
+
/** @description Internal Server Error */
|
|
21567
|
+
500: {
|
|
21568
|
+
headers: {
|
|
21569
|
+
[name: string]: unknown;
|
|
21570
|
+
};
|
|
21571
|
+
content: {
|
|
21572
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21573
|
+
};
|
|
21574
|
+
};
|
|
21575
|
+
};
|
|
21576
|
+
};
|
|
21577
|
+
uploadCallFlowAsset: {
|
|
21578
|
+
parameters: {
|
|
21579
|
+
query?: never;
|
|
21580
|
+
header?: never;
|
|
21581
|
+
path?: never;
|
|
21582
|
+
cookie?: never;
|
|
21583
|
+
};
|
|
21584
|
+
requestBody: {
|
|
21585
|
+
content: {
|
|
21586
|
+
"application/json": {
|
|
21587
|
+
name: string;
|
|
21588
|
+
wavBase64: string;
|
|
21589
|
+
};
|
|
21590
|
+
};
|
|
21591
|
+
};
|
|
21592
|
+
responses: {
|
|
21593
|
+
/** @description Default Response */
|
|
21594
|
+
200: {
|
|
21595
|
+
headers: {
|
|
21596
|
+
[name: string]: unknown;
|
|
21597
|
+
};
|
|
21598
|
+
content: {
|
|
21599
|
+
"application/json": {
|
|
21600
|
+
/** Format: uuid */
|
|
21601
|
+
id: string;
|
|
21602
|
+
name: string;
|
|
21603
|
+
sample_rate: number;
|
|
21604
|
+
channels: number;
|
|
21605
|
+
duration_seconds: number;
|
|
21606
|
+
/** Format: date-time */
|
|
21607
|
+
created_at: string;
|
|
21608
|
+
};
|
|
21609
|
+
};
|
|
21610
|
+
};
|
|
21611
|
+
/** @description Internal Server Error */
|
|
21612
|
+
500: {
|
|
21613
|
+
headers: {
|
|
21614
|
+
[name: string]: unknown;
|
|
21615
|
+
};
|
|
21616
|
+
content: {
|
|
21617
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21618
|
+
};
|
|
21619
|
+
};
|
|
21620
|
+
};
|
|
21621
|
+
};
|
|
21622
|
+
setCallFlowBinding: {
|
|
21623
|
+
parameters: {
|
|
21624
|
+
query?: never;
|
|
21625
|
+
header?: never;
|
|
21626
|
+
path?: never;
|
|
21627
|
+
cookie?: never;
|
|
21628
|
+
};
|
|
21629
|
+
requestBody: {
|
|
21630
|
+
content: {
|
|
21631
|
+
"application/json": {
|
|
21632
|
+
/** Format: uuid */
|
|
21633
|
+
phoneId: string;
|
|
21634
|
+
workflowId: string | null;
|
|
21635
|
+
};
|
|
21636
|
+
};
|
|
21637
|
+
};
|
|
21638
|
+
responses: {
|
|
21639
|
+
/** @description Default Response */
|
|
21640
|
+
200: {
|
|
21641
|
+
headers: {
|
|
21642
|
+
[name: string]: unknown;
|
|
21643
|
+
};
|
|
21644
|
+
content: {
|
|
21645
|
+
"application/json": {
|
|
21646
|
+
/** @enum {boolean} */
|
|
21647
|
+
ok: true;
|
|
21648
|
+
};
|
|
21649
|
+
};
|
|
21650
|
+
};
|
|
21651
|
+
/** @description Internal Server Error */
|
|
21652
|
+
500: {
|
|
21653
|
+
headers: {
|
|
21654
|
+
[name: string]: unknown;
|
|
21655
|
+
};
|
|
21656
|
+
content: {
|
|
21657
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
21658
|
+
};
|
|
21659
|
+
};
|
|
21660
|
+
};
|
|
21661
|
+
};
|
|
21422
21662
|
listWorkflowDefinitions: {
|
|
21423
21663
|
parameters: {
|
|
21424
21664
|
query?: never;
|
|
@@ -23900,6 +24140,44 @@ export interface operations {
|
|
|
23900
24140
|
};
|
|
23901
24141
|
};
|
|
23902
24142
|
};
|
|
24143
|
+
skipSequenceStep: {
|
|
24144
|
+
parameters: {
|
|
24145
|
+
query?: never;
|
|
24146
|
+
header?: never;
|
|
24147
|
+
path: {
|
|
24148
|
+
/** @description The unique identifier of the sequence */
|
|
24149
|
+
sequenceId: string;
|
|
24150
|
+
/** @description The person's contact id (from enroll results or the people list) */
|
|
24151
|
+
contactId: string;
|
|
24152
|
+
};
|
|
24153
|
+
cookie?: never;
|
|
24154
|
+
};
|
|
24155
|
+
requestBody: {
|
|
24156
|
+
content: {
|
|
24157
|
+
"application/json": components["schemas"]["SkipSequenceStepBody"];
|
|
24158
|
+
};
|
|
24159
|
+
};
|
|
24160
|
+
responses: {
|
|
24161
|
+
/** @description Default Response */
|
|
24162
|
+
201: {
|
|
24163
|
+
headers: {
|
|
24164
|
+
[name: string]: unknown;
|
|
24165
|
+
};
|
|
24166
|
+
content: {
|
|
24167
|
+
"application/json": components["schemas"]["SkipSequenceStepResponse"];
|
|
24168
|
+
};
|
|
24169
|
+
};
|
|
24170
|
+
/** @description Internal Server Error */
|
|
24171
|
+
500: {
|
|
24172
|
+
headers: {
|
|
24173
|
+
[name: string]: unknown;
|
|
24174
|
+
};
|
|
24175
|
+
content: {
|
|
24176
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
24177
|
+
};
|
|
24178
|
+
};
|
|
24179
|
+
};
|
|
24180
|
+
};
|
|
23903
24181
|
continueSequenceContact: {
|
|
23904
24182
|
parameters: {
|
|
23905
24183
|
query?: never;
|