@opencx/mcp 1.11.33 → 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 +362 -35
- 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/tools/email-templates.d.ts +4 -0
- package/dist/tools/email-templates.d.ts.map +1 -0
- package/dist/tools/email-templates.js +79 -0
- package/dist/tools/email-templates.js.map +1 -0
- 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;
|
|
@@ -1168,6 +1158,78 @@ export interface paths {
|
|
|
1168
1158
|
patch?: never;
|
|
1169
1159
|
trace?: never;
|
|
1170
1160
|
};
|
|
1161
|
+
"/email-templates": {
|
|
1162
|
+
parameters: {
|
|
1163
|
+
query?: never;
|
|
1164
|
+
header?: never;
|
|
1165
|
+
path?: never;
|
|
1166
|
+
cookie?: never;
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* List email templates
|
|
1170
|
+
* @description List all email templates for your organization. Templates support {{variable}} placeholders in subject and body.
|
|
1171
|
+
*/
|
|
1172
|
+
get: operations["listEmailTemplates"];
|
|
1173
|
+
put?: never;
|
|
1174
|
+
/**
|
|
1175
|
+
* Create an email template
|
|
1176
|
+
* @description Create a new email template. Use {{variable}} syntax in subject and body; variables are extracted into a JSON schema on save.
|
|
1177
|
+
*/
|
|
1178
|
+
post: operations["createEmailTemplate"];
|
|
1179
|
+
delete?: never;
|
|
1180
|
+
options?: never;
|
|
1181
|
+
head?: never;
|
|
1182
|
+
patch?: never;
|
|
1183
|
+
trace?: never;
|
|
1184
|
+
};
|
|
1185
|
+
"/email-templates/{id}": {
|
|
1186
|
+
parameters: {
|
|
1187
|
+
query?: never;
|
|
1188
|
+
header?: never;
|
|
1189
|
+
path?: never;
|
|
1190
|
+
cookie?: never;
|
|
1191
|
+
};
|
|
1192
|
+
/**
|
|
1193
|
+
* Get an email template
|
|
1194
|
+
* @description Get a single email template by ID.
|
|
1195
|
+
*/
|
|
1196
|
+
get: operations["getEmailTemplate"];
|
|
1197
|
+
/**
|
|
1198
|
+
* Update an email template
|
|
1199
|
+
* @description Update an existing email template. Re-extracts {{variable}} placeholders from subject and body.
|
|
1200
|
+
*/
|
|
1201
|
+
put: operations["updateEmailTemplate"];
|
|
1202
|
+
post?: never;
|
|
1203
|
+
/**
|
|
1204
|
+
* Delete an email template
|
|
1205
|
+
* @description Permanently delete an email template. Outbound emails already sent keep their stored content.
|
|
1206
|
+
*/
|
|
1207
|
+
delete: operations["deleteEmailTemplate"];
|
|
1208
|
+
options?: never;
|
|
1209
|
+
head?: never;
|
|
1210
|
+
patch?: never;
|
|
1211
|
+
trace?: never;
|
|
1212
|
+
};
|
|
1213
|
+
"/email-templates/{id}/activity": {
|
|
1214
|
+
parameters: {
|
|
1215
|
+
query?: never;
|
|
1216
|
+
header?: never;
|
|
1217
|
+
path?: never;
|
|
1218
|
+
cookie?: never;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* List sends for an email template
|
|
1222
|
+
* @description List outbound emails sent using this template, newest first. Useful for auditing template usage.
|
|
1223
|
+
*/
|
|
1224
|
+
get: operations["getEmailTemplateActivity"];
|
|
1225
|
+
put?: never;
|
|
1226
|
+
post?: never;
|
|
1227
|
+
delete?: never;
|
|
1228
|
+
options?: never;
|
|
1229
|
+
head?: never;
|
|
1230
|
+
patch?: never;
|
|
1231
|
+
trace?: never;
|
|
1232
|
+
};
|
|
1171
1233
|
"/handoff-analytics": {
|
|
1172
1234
|
parameters: {
|
|
1173
1235
|
query?: never;
|
|
@@ -1944,12 +2006,10 @@ export interface paths {
|
|
|
1944
2006
|
put?: never;
|
|
1945
2007
|
/**
|
|
1946
2008
|
* Add contacts to a continuous sequence
|
|
1947
|
-
* @description
|
|
1948
|
-
* 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`).
|
|
1949
2010
|
* Contacts will *not* be added to the sequence if the sequence's `filter` does not apply to the contact.
|
|
1950
2011
|
*
|
|
1951
2012
|
* Any contacts added will automatically be added to contacts if they don't already exist.
|
|
1952
|
-
*
|
|
1953
2013
|
*/
|
|
1954
2014
|
post: operations["addContactsToSequence"];
|
|
1955
2015
|
delete?: never;
|
|
@@ -3607,7 +3667,7 @@ export interface components {
|
|
|
3607
3667
|
/** @description Filter by insight number */
|
|
3608
3668
|
insightNumber?: number | null;
|
|
3609
3669
|
/** @description Filter by language */
|
|
3610
|
-
sessionLanguage?: ("az" | "el" | "de" | "fr" | "it" | "es" | "pt" | "nl" | "da" | "sv" | "no" | "fi" | "et" | "is" | "pl" | "cs" | "sk" | "hu" | "ro" | "bg" | "hr" | "sr" | "uk" | "ru" | "tr" | "en" | "zh" | "ja" | "ko" | "hi" | "bn" | "id" | "ms" | "th" | "vi" | "tl" | "ar" | "he" | "fa" | "ur" | "af" | "sw") | null;
|
|
3670
|
+
sessionLanguage?: ("az" | "el" | "de" | "fr" | "it" | "es" | "pt" | "nl" | "da" | "sv" | "no" | "fi" | "et" | "is" | "pl" | "cs" | "sk" | "hu" | "ro" | "bg" | "hr" | "sr" | "uk" | "ru" | "tr" | "en" | "zh" | "ja" | "ko" | "hi" | "bn" | "id" | "ms" | "th" | "vi" | "tl" | "ar" | "he" | "fa" | "ur" | "af" | "sw" | "ku" | "ckb" | "kmr") | null;
|
|
3611
3671
|
ticketSentiment?: ("angry" | "happy" | "neutral") | null;
|
|
3612
3672
|
/** @description Filter by session channel */
|
|
3613
3673
|
channel?: components["schemas"]["SessionChannel"] | null;
|
|
@@ -3634,6 +3694,14 @@ export interface components {
|
|
|
3634
3694
|
*/
|
|
3635
3695
|
file: string;
|
|
3636
3696
|
} | null;
|
|
3697
|
+
CreateEmailTemplateBodyDto: {
|
|
3698
|
+
body: string;
|
|
3699
|
+
name: string;
|
|
3700
|
+
subject: string;
|
|
3701
|
+
variable_defaults?: {
|
|
3702
|
+
[key: string]: string;
|
|
3703
|
+
} | null;
|
|
3704
|
+
};
|
|
3637
3705
|
AddUserToGroupDto: {
|
|
3638
3706
|
userId: number;
|
|
3639
3707
|
groupId?: string;
|
|
@@ -3887,7 +3955,7 @@ export interface components {
|
|
|
3887
3955
|
};
|
|
3888
3956
|
};
|
|
3889
3957
|
/** @enum {string} */
|
|
3890
|
-
LanguageIsoCodeValues: "en" | "fr" | "de" | "nl" | "pl" | "pt" | "es" | "it" | "ru" | "ja" | "ko" | "zh" | "ar" | "tr" | "sv" | "da" | "no" | "fi" | "el" | "cs" | "hu" | "th" | "vi" | "id" | "he" | "hi" | "uk" | "ro" | "bg" | "hr" | "sk" | "sl" | "sr" | "et" | "lv" | "lt" | "is" | "ga" | "ms" | "tl" | "fa" | "bn" | "ta" | "te" | "ur" | "sw" | "zu" | "af" | "sq" | "hy" | "az" | "eu" | "be" | "bs" | "ca" | "cy";
|
|
3958
|
+
LanguageIsoCodeValues: "en" | "fr" | "de" | "nl" | "pl" | "pt" | "es" | "it" | "ru" | "ja" | "ko" | "zh" | "ar" | "tr" | "sv" | "da" | "no" | "fi" | "el" | "cs" | "hu" | "th" | "vi" | "id" | "he" | "hi" | "uk" | "ro" | "bg" | "hr" | "sk" | "sl" | "sr" | "et" | "lv" | "lt" | "is" | "ga" | "ms" | "tl" | "fa" | "bn" | "ta" | "te" | "ur" | "sw" | "zu" | "af" | "sq" | "hy" | "az" | "eu" | "be" | "bs" | "ca" | "cy" | "ku" | "ckb" | "kmr";
|
|
3891
3959
|
AuthenticateUserPayloadDto: {
|
|
3892
3960
|
/** Format: email */
|
|
3893
3961
|
email: string;
|
|
@@ -3982,9 +4050,11 @@ export interface components {
|
|
|
3982
4050
|
CreateChatSessionInput: {
|
|
3983
4051
|
/** Format: uuid */
|
|
3984
4052
|
contact_id?: string;
|
|
3985
|
-
/**
|
|
4053
|
+
/**
|
|
4054
|
+
* @default {
|
|
3986
4055
|
* "type": "api"
|
|
3987
|
-
* }
|
|
4056
|
+
* }
|
|
4057
|
+
*/
|
|
3988
4058
|
channel: {
|
|
3989
4059
|
type: components["schemas"]["SessionChannel"];
|
|
3990
4060
|
};
|
|
@@ -4346,8 +4416,6 @@ export interface components {
|
|
|
4346
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";
|
|
4347
4417
|
/** @description Trigger-specific configuration (e.g. cron expression for cron-trigger) */
|
|
4348
4418
|
trigger_configuration?: unknown | null;
|
|
4349
|
-
/** @description JSON Logic constraints that must be satisfied for the trigger to fire */
|
|
4350
|
-
trigger_constraints?: unknown | null;
|
|
4351
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. */
|
|
4352
4420
|
workflow_blocks: unknown[];
|
|
4353
4421
|
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
@@ -4365,8 +4433,6 @@ export interface components {
|
|
|
4365
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";
|
|
4366
4434
|
/** @description New trigger configuration */
|
|
4367
4435
|
trigger_configuration?: unknown | null;
|
|
4368
|
-
/** @description New trigger constraints */
|
|
4369
|
-
trigger_constraints?: unknown | null;
|
|
4370
4436
|
/** @description New workflow step/block definitions (replaces existing blocks) */
|
|
4371
4437
|
workflow_blocks?: unknown[];
|
|
4372
4438
|
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
@@ -4391,11 +4457,6 @@ export interface components {
|
|
|
4391
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";
|
|
4392
4458
|
payload: unknown;
|
|
4393
4459
|
};
|
|
4394
|
-
/**
|
|
4395
|
-
* @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.
|
|
4396
|
-
* @default false
|
|
4397
|
-
*/
|
|
4398
|
-
ignore_constraints: boolean;
|
|
4399
4460
|
};
|
|
4400
4461
|
SyncContentTreeDto: {
|
|
4401
4462
|
categories: {
|
|
@@ -4542,6 +4603,8 @@ export interface components {
|
|
|
4542
4603
|
/** @description Why these domains are being blocked */
|
|
4543
4604
|
reason?: string;
|
|
4544
4605
|
};
|
|
4606
|
+
CreateEmailTemplatePublicInput: components["schemas"]["CreateEmailTemplateBodyDto"];
|
|
4607
|
+
UpdateEmailTemplatePublicInput: components["schemas"]["CreateEmailTemplateBodyDto"];
|
|
4545
4608
|
UpsertTagInputDto: {
|
|
4546
4609
|
/** @description Tag name (e.g. "billing", "refund", "feature-request") */
|
|
4547
4610
|
tag_name: string;
|
|
@@ -4925,6 +4988,76 @@ export interface components {
|
|
|
4925
4988
|
name: string;
|
|
4926
4989
|
org_id: string;
|
|
4927
4990
|
};
|
|
4991
|
+
EmailTemplateActivityItemDto: {
|
|
4992
|
+
id: string;
|
|
4993
|
+
from_email: string;
|
|
4994
|
+
email_subject: string;
|
|
4995
|
+
email_sender_name: string | null;
|
|
4996
|
+
email_body: string;
|
|
4997
|
+
/** Format: date-time */
|
|
4998
|
+
inserted_at: string;
|
|
4999
|
+
sent_at: string | null;
|
|
5000
|
+
resend_error: string | null;
|
|
5001
|
+
to_email: string | null;
|
|
5002
|
+
to_id: string;
|
|
5003
|
+
to_name: string | null;
|
|
5004
|
+
};
|
|
5005
|
+
EmailTemplateActivityResponseDto: {
|
|
5006
|
+
items: components["schemas"]["EmailTemplateActivityItemDto"][];
|
|
5007
|
+
total: number;
|
|
5008
|
+
};
|
|
5009
|
+
EmailTemplateDto: {
|
|
5010
|
+
id: string;
|
|
5011
|
+
actor_id: number;
|
|
5012
|
+
body: string;
|
|
5013
|
+
/** Format: date-time */
|
|
5014
|
+
created_at: string;
|
|
5015
|
+
name: string;
|
|
5016
|
+
org_id: string;
|
|
5017
|
+
subject: string;
|
|
5018
|
+
/** Format: date-time */
|
|
5019
|
+
updated_at: string;
|
|
5020
|
+
payload: {
|
|
5021
|
+
$schema?: string;
|
|
5022
|
+
$id?: string;
|
|
5023
|
+
title?: string;
|
|
5024
|
+
description?: string;
|
|
5025
|
+
type?: string;
|
|
5026
|
+
definitions: {
|
|
5027
|
+
[key: string]: {
|
|
5028
|
+
type: string;
|
|
5029
|
+
properties: {
|
|
5030
|
+
[key: string]: {
|
|
5031
|
+
type: string;
|
|
5032
|
+
description?: string;
|
|
5033
|
+
title?: string;
|
|
5034
|
+
additionalProperties?: boolean;
|
|
5035
|
+
};
|
|
5036
|
+
};
|
|
5037
|
+
required: string[];
|
|
5038
|
+
description?: string;
|
|
5039
|
+
title?: string;
|
|
5040
|
+
additionalProperties?: boolean;
|
|
5041
|
+
};
|
|
5042
|
+
};
|
|
5043
|
+
properties: {
|
|
5044
|
+
[key: string]: {
|
|
5045
|
+
type: string;
|
|
5046
|
+
description?: string;
|
|
5047
|
+
title?: string;
|
|
5048
|
+
additionalProperties?: boolean;
|
|
5049
|
+
};
|
|
5050
|
+
};
|
|
5051
|
+
required?: string[];
|
|
5052
|
+
additionalProperties?: boolean;
|
|
5053
|
+
} & {
|
|
5054
|
+
[key: string]: unknown;
|
|
5055
|
+
};
|
|
5056
|
+
language: string | null;
|
|
5057
|
+
variable_defaults: {
|
|
5058
|
+
[key: string]: string;
|
|
5059
|
+
} | null;
|
|
5060
|
+
};
|
|
4928
5061
|
SlaOverviewResponseDto: {
|
|
4929
5062
|
coverage_rate: number;
|
|
4930
5063
|
total_sessions: number;
|
|
@@ -5401,7 +5534,7 @@ export interface components {
|
|
|
5401
5534
|
};
|
|
5402
5535
|
InvestigationTicketingSystem: {
|
|
5403
5536
|
/** @enum {string} */
|
|
5404
|
-
name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
5537
|
+
name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
5405
5538
|
external_id: string;
|
|
5406
5539
|
/** @enum {string} */
|
|
5407
5540
|
id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
|
|
@@ -5556,7 +5689,7 @@ export interface components {
|
|
|
5556
5689
|
};
|
|
5557
5690
|
ticketing_system?: {
|
|
5558
5691
|
/** @enum {string} */
|
|
5559
|
-
name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
5692
|
+
name: "dynamics365" | "freshchat" | "freshdesk" | "front" | "gorgias" | "hubspot" | "infobip" | "intercom" | "open" | "salesforce" | "salesforce_v2" | "twilio_flex" | "zendesk" | "zendesk_v2";
|
|
5560
5693
|
external_id: string;
|
|
5561
5694
|
/** @enum {string} */
|
|
5562
5695
|
id_type: "conversation_id" | "ticket_id" | "case_id" | "conversation_sid";
|
|
@@ -6375,8 +6508,6 @@ export interface components {
|
|
|
6375
6508
|
workflow_blocks: unknown[] | null;
|
|
6376
6509
|
/** @description Trigger-specific configuration */
|
|
6377
6510
|
trigger_configuration: unknown | null;
|
|
6378
|
-
/** @description Trigger constraint rules (JSON Logic) */
|
|
6379
|
-
trigger_constraints: unknown | null;
|
|
6380
6511
|
/** @description Trigger URL for webhook-type workflows. Call this URL (POST) to trigger the workflow. Null for non-webhook workflows. */
|
|
6381
6512
|
webhook_url: string | null;
|
|
6382
6513
|
};
|
|
@@ -6661,6 +6792,7 @@ export interface components {
|
|
|
6661
6792
|
domainNameVerificationStatus: string | null;
|
|
6662
6793
|
records: unknown | null;
|
|
6663
6794
|
}[];
|
|
6795
|
+
ListEmailTemplatesOutput: components["schemas"]["EmailTemplateDto"][];
|
|
6664
6796
|
ListOfficeHoursOutput: {
|
|
6665
6797
|
data: components["schemas"]["OfficeHoursPublicResponseDto"][];
|
|
6666
6798
|
};
|
|
@@ -9136,6 +9268,201 @@ export interface operations {
|
|
|
9136
9268
|
};
|
|
9137
9269
|
};
|
|
9138
9270
|
};
|
|
9271
|
+
listEmailTemplates: {
|
|
9272
|
+
parameters: {
|
|
9273
|
+
query?: never;
|
|
9274
|
+
header?: never;
|
|
9275
|
+
path?: never;
|
|
9276
|
+
cookie?: never;
|
|
9277
|
+
};
|
|
9278
|
+
requestBody?: never;
|
|
9279
|
+
responses: {
|
|
9280
|
+
/** @description Default Response */
|
|
9281
|
+
200: {
|
|
9282
|
+
headers: {
|
|
9283
|
+
[name: string]: unknown;
|
|
9284
|
+
};
|
|
9285
|
+
content: {
|
|
9286
|
+
"application/json": components["schemas"]["ListEmailTemplatesOutput"];
|
|
9287
|
+
};
|
|
9288
|
+
};
|
|
9289
|
+
/** @description Internal Server Error */
|
|
9290
|
+
500: {
|
|
9291
|
+
headers: {
|
|
9292
|
+
[name: string]: unknown;
|
|
9293
|
+
};
|
|
9294
|
+
content: {
|
|
9295
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
9296
|
+
};
|
|
9297
|
+
};
|
|
9298
|
+
};
|
|
9299
|
+
};
|
|
9300
|
+
createEmailTemplate: {
|
|
9301
|
+
parameters: {
|
|
9302
|
+
query?: never;
|
|
9303
|
+
header?: never;
|
|
9304
|
+
path?: never;
|
|
9305
|
+
cookie?: never;
|
|
9306
|
+
};
|
|
9307
|
+
requestBody: {
|
|
9308
|
+
content: {
|
|
9309
|
+
"application/json": components["schemas"]["CreateEmailTemplatePublicInput"];
|
|
9310
|
+
};
|
|
9311
|
+
};
|
|
9312
|
+
responses: {
|
|
9313
|
+
/** @description Default Response */
|
|
9314
|
+
201: {
|
|
9315
|
+
headers: {
|
|
9316
|
+
[name: string]: unknown;
|
|
9317
|
+
};
|
|
9318
|
+
content: {
|
|
9319
|
+
"application/json": components["schemas"]["EmailTemplateDto"];
|
|
9320
|
+
};
|
|
9321
|
+
};
|
|
9322
|
+
/** @description Internal Server Error */
|
|
9323
|
+
500: {
|
|
9324
|
+
headers: {
|
|
9325
|
+
[name: string]: unknown;
|
|
9326
|
+
};
|
|
9327
|
+
content: {
|
|
9328
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
9329
|
+
};
|
|
9330
|
+
};
|
|
9331
|
+
};
|
|
9332
|
+
};
|
|
9333
|
+
getEmailTemplate: {
|
|
9334
|
+
parameters: {
|
|
9335
|
+
query?: never;
|
|
9336
|
+
header?: never;
|
|
9337
|
+
path: {
|
|
9338
|
+
/** @description Email template ID */
|
|
9339
|
+
id: string;
|
|
9340
|
+
};
|
|
9341
|
+
cookie?: never;
|
|
9342
|
+
};
|
|
9343
|
+
requestBody?: never;
|
|
9344
|
+
responses: {
|
|
9345
|
+
/** @description Default Response */
|
|
9346
|
+
200: {
|
|
9347
|
+
headers: {
|
|
9348
|
+
[name: string]: unknown;
|
|
9349
|
+
};
|
|
9350
|
+
content: {
|
|
9351
|
+
"application/json": components["schemas"]["EmailTemplateDto"];
|
|
9352
|
+
};
|
|
9353
|
+
};
|
|
9354
|
+
/** @description Internal Server Error */
|
|
9355
|
+
500: {
|
|
9356
|
+
headers: {
|
|
9357
|
+
[name: string]: unknown;
|
|
9358
|
+
};
|
|
9359
|
+
content: {
|
|
9360
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
9361
|
+
};
|
|
9362
|
+
};
|
|
9363
|
+
};
|
|
9364
|
+
};
|
|
9365
|
+
updateEmailTemplate: {
|
|
9366
|
+
parameters: {
|
|
9367
|
+
query?: never;
|
|
9368
|
+
header?: never;
|
|
9369
|
+
path: {
|
|
9370
|
+
/** @description Email template ID */
|
|
9371
|
+
id: string;
|
|
9372
|
+
};
|
|
9373
|
+
cookie?: never;
|
|
9374
|
+
};
|
|
9375
|
+
requestBody: {
|
|
9376
|
+
content: {
|
|
9377
|
+
"application/json": components["schemas"]["UpdateEmailTemplatePublicInput"];
|
|
9378
|
+
};
|
|
9379
|
+
};
|
|
9380
|
+
responses: {
|
|
9381
|
+
/** @description Default Response */
|
|
9382
|
+
200: {
|
|
9383
|
+
headers: {
|
|
9384
|
+
[name: string]: unknown;
|
|
9385
|
+
};
|
|
9386
|
+
content: {
|
|
9387
|
+
"application/json": components["schemas"]["EmailTemplateDto"];
|
|
9388
|
+
};
|
|
9389
|
+
};
|
|
9390
|
+
/** @description Internal Server Error */
|
|
9391
|
+
500: {
|
|
9392
|
+
headers: {
|
|
9393
|
+
[name: string]: unknown;
|
|
9394
|
+
};
|
|
9395
|
+
content: {
|
|
9396
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
9397
|
+
};
|
|
9398
|
+
};
|
|
9399
|
+
};
|
|
9400
|
+
};
|
|
9401
|
+
deleteEmailTemplate: {
|
|
9402
|
+
parameters: {
|
|
9403
|
+
query?: never;
|
|
9404
|
+
header?: never;
|
|
9405
|
+
path: {
|
|
9406
|
+
/** @description Email template ID */
|
|
9407
|
+
id: string;
|
|
9408
|
+
};
|
|
9409
|
+
cookie?: never;
|
|
9410
|
+
};
|
|
9411
|
+
requestBody?: never;
|
|
9412
|
+
responses: {
|
|
9413
|
+
/** @description Default Response */
|
|
9414
|
+
204: {
|
|
9415
|
+
headers: {
|
|
9416
|
+
[name: string]: unknown;
|
|
9417
|
+
};
|
|
9418
|
+
content?: never;
|
|
9419
|
+
};
|
|
9420
|
+
/** @description Internal Server Error */
|
|
9421
|
+
500: {
|
|
9422
|
+
headers: {
|
|
9423
|
+
[name: string]: unknown;
|
|
9424
|
+
};
|
|
9425
|
+
content: {
|
|
9426
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
9427
|
+
};
|
|
9428
|
+
};
|
|
9429
|
+
};
|
|
9430
|
+
};
|
|
9431
|
+
getEmailTemplateActivity: {
|
|
9432
|
+
parameters: {
|
|
9433
|
+
query?: {
|
|
9434
|
+
offset?: number;
|
|
9435
|
+
limit?: number;
|
|
9436
|
+
};
|
|
9437
|
+
header?: never;
|
|
9438
|
+
path: {
|
|
9439
|
+
/** @description Email template ID */
|
|
9440
|
+
id: string;
|
|
9441
|
+
};
|
|
9442
|
+
cookie?: never;
|
|
9443
|
+
};
|
|
9444
|
+
requestBody?: never;
|
|
9445
|
+
responses: {
|
|
9446
|
+
/** @description Default Response */
|
|
9447
|
+
200: {
|
|
9448
|
+
headers: {
|
|
9449
|
+
[name: string]: unknown;
|
|
9450
|
+
};
|
|
9451
|
+
content: {
|
|
9452
|
+
"application/json": components["schemas"]["EmailTemplateActivityResponseDto"];
|
|
9453
|
+
};
|
|
9454
|
+
};
|
|
9455
|
+
/** @description Internal Server Error */
|
|
9456
|
+
500: {
|
|
9457
|
+
headers: {
|
|
9458
|
+
[name: string]: unknown;
|
|
9459
|
+
};
|
|
9460
|
+
content: {
|
|
9461
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
9462
|
+
};
|
|
9463
|
+
};
|
|
9464
|
+
};
|
|
9465
|
+
};
|
|
9139
9466
|
getHandoffAnalytics: {
|
|
9140
9467
|
parameters: {
|
|
9141
9468
|
query?: {
|