@opencx/mcp 1.15.21 → 1.15.23
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 +1316 -919
- 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/media.js +1 -1
- package/dist/tools/media.js.map +1 -1
- package/dist/tools/sessions.js +1 -1
- package/dist/tools/sessions.js.map +1 -1
- package/dist/tools/structured-fields.d.ts +4 -0
- package/dist/tools/structured-fields.d.ts.map +1 -0
- package/dist/tools/structured-fields.js +107 -0
- package/dist/tools/structured-fields.js.map +1 -0
- package/dist/utils/session-channel.d.ts +2 -2
- package/dist/utils/session-channel.d.ts.map +1 -1
- package/dist/utils/session-channel.js +1 -0
- package/dist/utils/session-channel.js.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1256,6 +1256,98 @@ export interface paths {
|
|
|
1256
1256
|
patch: operations["updateCsatSettings"];
|
|
1257
1257
|
trace?: never;
|
|
1258
1258
|
};
|
|
1259
|
+
"/structured-fields": {
|
|
1260
|
+
parameters: {
|
|
1261
|
+
query?: never;
|
|
1262
|
+
header?: never;
|
|
1263
|
+
path?: never;
|
|
1264
|
+
cookie?: never;
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* List Structured Fields
|
|
1268
|
+
* @description List every Structured Field for the organization, including each enum field’s complete choice tree.
|
|
1269
|
+
*/
|
|
1270
|
+
get: operations["listStructuredFields"];
|
|
1271
|
+
put?: never;
|
|
1272
|
+
/**
|
|
1273
|
+
* Create a structured field
|
|
1274
|
+
* @description Create a new structured field definition. `key` is its immutable, API-safe identifier (lowercase letters, numbers, underscores) — workflows reference it by this key, so choose carefully; neither `key` nor `type` can be changed after creation. Enum choices are authored separately. Field definitions never accept a default value.
|
|
1275
|
+
*/
|
|
1276
|
+
post: operations["createStructuredField"];
|
|
1277
|
+
delete?: never;
|
|
1278
|
+
options?: never;
|
|
1279
|
+
head?: never;
|
|
1280
|
+
patch?: never;
|
|
1281
|
+
trace?: never;
|
|
1282
|
+
};
|
|
1283
|
+
"/structured-fields/{fieldId}": {
|
|
1284
|
+
parameters: {
|
|
1285
|
+
query?: never;
|
|
1286
|
+
header?: never;
|
|
1287
|
+
path?: never;
|
|
1288
|
+
cookie?: never;
|
|
1289
|
+
};
|
|
1290
|
+
get?: never;
|
|
1291
|
+
put?: never;
|
|
1292
|
+
post?: never;
|
|
1293
|
+
/**
|
|
1294
|
+
* Delete a structured field
|
|
1295
|
+
* @description Delete a Structured Field. It must have zero Choices first — remove every Choice (deepest first) before deleting the Structured Field itself.
|
|
1296
|
+
*/
|
|
1297
|
+
delete: operations["deleteStructuredField"];
|
|
1298
|
+
options?: never;
|
|
1299
|
+
head?: never;
|
|
1300
|
+
/**
|
|
1301
|
+
* Update a structured field
|
|
1302
|
+
* @description Update a structured field’s display name and/or description. The key and type are immutable, and field definitions never accept a default value.
|
|
1303
|
+
*/
|
|
1304
|
+
patch: operations["updateStructuredField"];
|
|
1305
|
+
trace?: never;
|
|
1306
|
+
};
|
|
1307
|
+
"/structured-fields/{fieldId}/variants": {
|
|
1308
|
+
parameters: {
|
|
1309
|
+
query?: never;
|
|
1310
|
+
header?: never;
|
|
1311
|
+
path?: never;
|
|
1312
|
+
cookie?: never;
|
|
1313
|
+
};
|
|
1314
|
+
get?: never;
|
|
1315
|
+
put?: never;
|
|
1316
|
+
/**
|
|
1317
|
+
* Create a structured field choice
|
|
1318
|
+
* @description Create a Choice under a Structured Field, optionally nested under another Choice via `parent_id`. `value` is its immutable, API-safe identifier that workflows read/write — choose a short, stable slug. Structured Fields can be nested up to 10 levels deep and hold at most 1000 Choices total.
|
|
1319
|
+
*/
|
|
1320
|
+
post: operations["createStructuredFieldChoice"];
|
|
1321
|
+
delete?: never;
|
|
1322
|
+
options?: never;
|
|
1323
|
+
head?: never;
|
|
1324
|
+
patch?: never;
|
|
1325
|
+
trace?: never;
|
|
1326
|
+
};
|
|
1327
|
+
"/structured-fields/{fieldId}/variants/{optionId}": {
|
|
1328
|
+
parameters: {
|
|
1329
|
+
query?: never;
|
|
1330
|
+
header?: never;
|
|
1331
|
+
path?: never;
|
|
1332
|
+
cookie?: never;
|
|
1333
|
+
};
|
|
1334
|
+
get?: never;
|
|
1335
|
+
put?: never;
|
|
1336
|
+
post?: never;
|
|
1337
|
+
/**
|
|
1338
|
+
* Delete a structured field choice
|
|
1339
|
+
* @description Delete a Choice. It must have zero children first — remove every descendant (deepest first) before deleting an ancestor.
|
|
1340
|
+
*/
|
|
1341
|
+
delete: operations["deleteStructuredFieldChoice"];
|
|
1342
|
+
options?: never;
|
|
1343
|
+
head?: never;
|
|
1344
|
+
/**
|
|
1345
|
+
* Rename, redescribe, or re-parent a structured field choice
|
|
1346
|
+
* @description Update a Choice’s display name and/or description, or move it to a new parent (or to the root) by setting `parent_id`. The immutable `value` cannot be changed.
|
|
1347
|
+
*/
|
|
1348
|
+
patch: operations["updateStructuredFieldChoice"];
|
|
1349
|
+
trace?: never;
|
|
1350
|
+
};
|
|
1259
1351
|
"/autopilot": {
|
|
1260
1352
|
parameters: {
|
|
1261
1353
|
query?: never;
|
|
@@ -5667,7 +5759,7 @@ export type webhooks = Record<string, never>;
|
|
|
5667
5759
|
export interface components {
|
|
5668
5760
|
schemas: {
|
|
5669
5761
|
/** @enum {string} */
|
|
5670
|
-
SessionChannel: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review";
|
|
5762
|
+
SessionChannel: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review" | "internal";
|
|
5671
5763
|
SalesforceReplyTemplateRules: {
|
|
5672
5764
|
conditions: ({
|
|
5673
5765
|
/** @constant */
|
|
@@ -5829,6 +5921,29 @@ export interface components {
|
|
|
5829
5921
|
/** @description Subject line for the custom CSAT request email. Null falls back to the default. */
|
|
5830
5922
|
email_template_subject?: string | null;
|
|
5831
5923
|
};
|
|
5924
|
+
/** @enum {string} */
|
|
5925
|
+
StructuredFieldTypeDto: "enum" | "text" | "number" | "boolean" | "date" | "user" | "team" | "tag";
|
|
5926
|
+
CreateStructuredFieldDto: {
|
|
5927
|
+
key: string;
|
|
5928
|
+
name: string;
|
|
5929
|
+
description: string;
|
|
5930
|
+
type?: components["schemas"]["StructuredFieldTypeDto"];
|
|
5931
|
+
};
|
|
5932
|
+
UpdateStructuredFieldDto: {
|
|
5933
|
+
name?: string;
|
|
5934
|
+
description?: string;
|
|
5935
|
+
};
|
|
5936
|
+
CreateStructuredFieldVariantDto: {
|
|
5937
|
+
value: string;
|
|
5938
|
+
variant_display_name: string;
|
|
5939
|
+
variant_description: string;
|
|
5940
|
+
parent_id?: string | null;
|
|
5941
|
+
};
|
|
5942
|
+
UpdateStructuredFieldVariantDto: {
|
|
5943
|
+
variant_display_name?: string;
|
|
5944
|
+
variant_description?: string;
|
|
5945
|
+
parent_id?: string | null;
|
|
5946
|
+
};
|
|
5832
5947
|
CreateEmailTemplateBodyDto: {
|
|
5833
5948
|
body: string;
|
|
5834
5949
|
name: string;
|
|
@@ -6339,34 +6454,6 @@ export interface components {
|
|
|
6339
6454
|
tlds?: ("com" | "org")[];
|
|
6340
6455
|
limit?: number;
|
|
6341
6456
|
};
|
|
6342
|
-
UpdateAgentAvailabilityPublicDto: {
|
|
6343
|
-
/** @description Whether the agent is available to take chats */
|
|
6344
|
-
is_available?: boolean;
|
|
6345
|
-
/** @description Free-form status label */
|
|
6346
|
-
custom_status?: string | null;
|
|
6347
|
-
/** @description Per-agent chat capacity */
|
|
6348
|
-
max_concurrent_chats?: number;
|
|
6349
|
-
/** @description Whether the agent is available for inbound phone calls */
|
|
6350
|
-
call_available?: boolean;
|
|
6351
|
-
};
|
|
6352
|
-
ApplyUserAvailabilityStatusDto: {
|
|
6353
|
-
/**
|
|
6354
|
-
* @description Hardcoded shortcut: 'online' = main availability on + available on every support team; 'offline' = main availability off + unavailable on every support team. Takes priority if status_id is also sent.
|
|
6355
|
-
* @enum {string}
|
|
6356
|
-
*/
|
|
6357
|
-
special: "online" | "offline";
|
|
6358
|
-
} | {
|
|
6359
|
-
/**
|
|
6360
|
-
* Format: uuid
|
|
6361
|
-
* @description Id of a defined availability status (see listAvailabilityStatuses)
|
|
6362
|
-
*/
|
|
6363
|
-
status_id: string;
|
|
6364
|
-
};
|
|
6365
|
-
SalesforceMiawWebhookBody: {
|
|
6366
|
-
/** @enum {string} */
|
|
6367
|
-
event: "message:new";
|
|
6368
|
-
session_id: string;
|
|
6369
|
-
};
|
|
6370
6457
|
EditArticleDto: {
|
|
6371
6458
|
title: string;
|
|
6372
6459
|
content_markdown?: string;
|
|
@@ -6483,6 +6570,12 @@ export interface components {
|
|
|
6483
6570
|
*/
|
|
6484
6571
|
url: string;
|
|
6485
6572
|
};
|
|
6573
|
+
PatchOnboardingDto: {
|
|
6574
|
+
/** @enum {string} */
|
|
6575
|
+
step?: "training" | "channels" | "teammates";
|
|
6576
|
+
/** @enum {string} */
|
|
6577
|
+
action: "complete" | "skip" | "dismiss";
|
|
6578
|
+
};
|
|
6486
6579
|
CreateActionPublicDto: {
|
|
6487
6580
|
/** @description Action display name */
|
|
6488
6581
|
name: string;
|
|
@@ -6663,27 +6756,28 @@ export interface components {
|
|
|
6663
6756
|
sessionId?: string;
|
|
6664
6757
|
};
|
|
6665
6758
|
};
|
|
6666
|
-
|
|
6759
|
+
UpdateAgentAvailabilityPublicDto: {
|
|
6760
|
+
/** @description Whether the agent is available to take chats */
|
|
6761
|
+
is_available?: boolean;
|
|
6762
|
+
/** @description Free-form status label */
|
|
6763
|
+
custom_status?: string | null;
|
|
6764
|
+
/** @description Per-agent chat capacity */
|
|
6765
|
+
max_concurrent_chats?: number;
|
|
6766
|
+
/** @description Whether the agent is available for inbound phone calls */
|
|
6767
|
+
call_available?: boolean;
|
|
6768
|
+
};
|
|
6769
|
+
ApplyUserAvailabilityStatusDto: {
|
|
6667
6770
|
/**
|
|
6668
|
-
* @description
|
|
6771
|
+
* @description Hardcoded shortcut: 'online' = main availability on + available on every support team; 'offline' = main availability off + unavailable on every support team. Takes priority if status_id is also sent.
|
|
6669
6772
|
* @enum {string}
|
|
6670
6773
|
*/
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
autopilot_enabled: boolean;
|
|
6774
|
+
special: "online" | "offline";
|
|
6775
|
+
} | {
|
|
6674
6776
|
/**
|
|
6675
|
-
*
|
|
6676
|
-
* @
|
|
6777
|
+
* Format: uuid
|
|
6778
|
+
* @description Id of a defined availability status (see listAvailabilityStatuses)
|
|
6677
6779
|
*/
|
|
6678
|
-
|
|
6679
|
-
};
|
|
6680
|
-
UpdateProhibitedTopicsInputDto: {
|
|
6681
|
-
/** @description Full replacement list of prohibited topics. Each entry is either a name string or an object with a name and an optional description. A name-only entry keeps whatever description that topic already has. Empty array clears all topics. Duplicates and blank entries are removed. */
|
|
6682
|
-
topics: (string | {
|
|
6683
|
-
name: string;
|
|
6684
|
-
/** @description Guidance for when a session matches this topic. Omit it to keep the stored description; pass null to clear it. */
|
|
6685
|
-
description?: string | null;
|
|
6686
|
-
})[];
|
|
6780
|
+
status_id: string;
|
|
6687
6781
|
};
|
|
6688
6782
|
ChatAttachmentInput: {
|
|
6689
6783
|
/** @description The name of the file */
|
|
@@ -6983,6 +7077,28 @@ export interface components {
|
|
|
6983
7077
|
visibility?: "internal" | "public";
|
|
6984
7078
|
title?: string;
|
|
6985
7079
|
};
|
|
7080
|
+
UpdateAutopilotInputDto: {
|
|
7081
|
+
/**
|
|
7082
|
+
* @description Channel to update: web, email, phone, whatsapp, slack, sms, instagram, messenger, api, web_voice
|
|
7083
|
+
* @enum {string}
|
|
7084
|
+
*/
|
|
7085
|
+
channel: "web" | "email" | "phone" | "whatsapp" | "slack" | "sms" | "instagram" | "messenger" | "api" | "web_voice";
|
|
7086
|
+
/** @description Set true to enable autopilot, false to disable */
|
|
7087
|
+
autopilot_enabled: boolean;
|
|
7088
|
+
/**
|
|
7089
|
+
* @description AI agent version to use for this channel
|
|
7090
|
+
* @enum {string}
|
|
7091
|
+
*/
|
|
7092
|
+
ai_agent_version?: "v1" | "v2";
|
|
7093
|
+
};
|
|
7094
|
+
UpdateProhibitedTopicsInputDto: {
|
|
7095
|
+
/** @description Full replacement list of prohibited topics. Each entry is either a name string or an object with a name and an optional description. A name-only entry keeps whatever description that topic already has. Empty array clears all topics. Duplicates and blank entries are removed. */
|
|
7096
|
+
topics: (string | {
|
|
7097
|
+
name: string;
|
|
7098
|
+
/** @description Guidance for when a session matches this topic. Omit it to keep the stored description; pass null to clear it. */
|
|
7099
|
+
description?: string | null;
|
|
7100
|
+
})[];
|
|
7101
|
+
};
|
|
6986
7102
|
EmailRecipient: {
|
|
6987
7103
|
/** Format: email */
|
|
6988
7104
|
to_email: string;
|
|
@@ -7003,11 +7119,6 @@ export interface components {
|
|
|
7003
7119
|
PutCustomDomainInput: {
|
|
7004
7120
|
domainName: string;
|
|
7005
7121
|
};
|
|
7006
|
-
RunReportQueryBody: {
|
|
7007
|
-
sql: string;
|
|
7008
|
-
/** @default [] */
|
|
7009
|
-
parameters: unknown[];
|
|
7010
|
-
};
|
|
7011
7122
|
CreateOfficeHoursPublicDto: {
|
|
7012
7123
|
/** @description Schedule name (e.g. "Business Hours", "Weekend Support") */
|
|
7013
7124
|
name: string;
|
|
@@ -7046,6 +7157,62 @@ export interface components {
|
|
|
7046
7157
|
end_time: string;
|
|
7047
7158
|
}[];
|
|
7048
7159
|
};
|
|
7160
|
+
CreateWorkflowPublicInput: {
|
|
7161
|
+
/** @description Workflow name */
|
|
7162
|
+
name: string;
|
|
7163
|
+
/** @description Workflow description */
|
|
7164
|
+
description?: string;
|
|
7165
|
+
/**
|
|
7166
|
+
* @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.
|
|
7167
|
+
* @enum {string}
|
|
7168
|
+
*/
|
|
7169
|
+
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" | "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" | "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";
|
|
7170
|
+
/** @description Trigger-specific configuration (e.g. cron expression for cron-trigger) */
|
|
7171
|
+
trigger_configuration?: unknown | null;
|
|
7172
|
+
/** @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). */
|
|
7173
|
+
workflow_blocks: unknown[];
|
|
7174
|
+
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
7175
|
+
workflow_editor_state?: unknown | null;
|
|
7176
|
+
};
|
|
7177
|
+
UpdateWorkflowPublicInput: {
|
|
7178
|
+
/** @description New workflow name */
|
|
7179
|
+
name?: string;
|
|
7180
|
+
/** @description New workflow description */
|
|
7181
|
+
description?: string | null;
|
|
7182
|
+
/**
|
|
7183
|
+
* @description New trigger type
|
|
7184
|
+
* @enum {string}
|
|
7185
|
+
*/
|
|
7186
|
+
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" | "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" | "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";
|
|
7187
|
+
/** @description New trigger configuration */
|
|
7188
|
+
trigger_configuration?: unknown | null;
|
|
7189
|
+
/** @description New workflow step/block definitions (replaces existing blocks) */
|
|
7190
|
+
workflow_blocks?: unknown[];
|
|
7191
|
+
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
7192
|
+
workflow_editor_state?: unknown | null;
|
|
7193
|
+
};
|
|
7194
|
+
ValidateWorkflowPublicInput: {
|
|
7195
|
+
/**
|
|
7196
|
+
* @description Trigger type to validate against
|
|
7197
|
+
* @enum {string}
|
|
7198
|
+
*/
|
|
7199
|
+
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" | "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" | "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";
|
|
7200
|
+
/** @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. */
|
|
7201
|
+
trigger_configuration?: unknown | null;
|
|
7202
|
+
/** @description Workflow blocks to validate */
|
|
7203
|
+
workflow_blocks: unknown[];
|
|
7204
|
+
};
|
|
7205
|
+
TestWorkflowPublicInput: {
|
|
7206
|
+
/** @description Synthetic trigger event to dry-run the workflow against */
|
|
7207
|
+
trigger_payload: {
|
|
7208
|
+
/**
|
|
7209
|
+
* @description Trigger type whose payload shape this synthetic payload should match
|
|
7210
|
+
* @enum {string}
|
|
7211
|
+
*/
|
|
7212
|
+
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" | "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" | "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";
|
|
7213
|
+
payload: unknown;
|
|
7214
|
+
};
|
|
7215
|
+
};
|
|
7049
7216
|
UpdateOrganizationInputDto: {
|
|
7050
7217
|
/** @description The name of the organization. */
|
|
7051
7218
|
name?: string;
|
|
@@ -7126,6 +7293,34 @@ export interface components {
|
|
|
7126
7293
|
max_people?: number;
|
|
7127
7294
|
min_similarity?: number;
|
|
7128
7295
|
};
|
|
7296
|
+
UpdateSlackNotificationSettingsInputDto: {
|
|
7297
|
+
/** @description Channel to post handoff notifications to. Must be a channel the bot is in (see GET /slack/bot-channels); its name is resolved from Slack. Pass null to turn channel notifications off while keeping Slack connected. Omit to leave unchanged. */
|
|
7298
|
+
notification_channel_id?: string | null;
|
|
7299
|
+
/** @description Whether the assigned agent is DMed on assignment and handoff, and @mentioned in the Slack thread. Omit to leave unchanged. */
|
|
7300
|
+
notify_assignee_enabled?: boolean;
|
|
7301
|
+
};
|
|
7302
|
+
UpdateSlackTagDirectoryInputDto: {
|
|
7303
|
+
tag_directory: {
|
|
7304
|
+
[key: string]: {
|
|
7305
|
+
/** @constant */
|
|
7306
|
+
type: "usergroup";
|
|
7307
|
+
id: string;
|
|
7308
|
+
} | {
|
|
7309
|
+
/** @constant */
|
|
7310
|
+
type: "user";
|
|
7311
|
+
id: string;
|
|
7312
|
+
} | {
|
|
7313
|
+
/** @constant */
|
|
7314
|
+
type: "channel";
|
|
7315
|
+
id: string;
|
|
7316
|
+
} | {
|
|
7317
|
+
/** @constant */
|
|
7318
|
+
type: "special";
|
|
7319
|
+
/** @enum {string} */
|
|
7320
|
+
id: "here" | "channel";
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
};
|
|
7129
7324
|
CreateTrainingPublicDto: {
|
|
7130
7325
|
/** @description The scenario title or trigger phrase */
|
|
7131
7326
|
title: string;
|
|
@@ -7199,34 +7394,6 @@ export interface components {
|
|
|
7199
7394
|
/** Format: uuid */
|
|
7200
7395
|
groupId: string;
|
|
7201
7396
|
};
|
|
7202
|
-
UpdateSlackNotificationSettingsInputDto: {
|
|
7203
|
-
/** @description Channel to post handoff notifications to. Must be a channel the bot is in (see GET /slack/bot-channels); its name is resolved from Slack. Pass null to turn channel notifications off while keeping Slack connected. Omit to leave unchanged. */
|
|
7204
|
-
notification_channel_id?: string | null;
|
|
7205
|
-
/** @description Whether the assigned agent is DMed on assignment and handoff, and @mentioned in the Slack thread. Omit to leave unchanged. */
|
|
7206
|
-
notify_assignee_enabled?: boolean;
|
|
7207
|
-
};
|
|
7208
|
-
UpdateSlackTagDirectoryInputDto: {
|
|
7209
|
-
tag_directory: {
|
|
7210
|
-
[key: string]: {
|
|
7211
|
-
/** @constant */
|
|
7212
|
-
type: "usergroup";
|
|
7213
|
-
id: string;
|
|
7214
|
-
} | {
|
|
7215
|
-
/** @constant */
|
|
7216
|
-
type: "user";
|
|
7217
|
-
id: string;
|
|
7218
|
-
} | {
|
|
7219
|
-
/** @constant */
|
|
7220
|
-
type: "channel";
|
|
7221
|
-
id: string;
|
|
7222
|
-
} | {
|
|
7223
|
-
/** @constant */
|
|
7224
|
-
type: "special";
|
|
7225
|
-
/** @enum {string} */
|
|
7226
|
-
id: "here" | "channel";
|
|
7227
|
-
};
|
|
7228
|
-
};
|
|
7229
|
-
};
|
|
7230
7397
|
SendTemplateInputDto: {
|
|
7231
7398
|
template_id: string;
|
|
7232
7399
|
phone_number_id: string;
|
|
@@ -7242,62 +7409,6 @@ export interface components {
|
|
|
7242
7409
|
};
|
|
7243
7410
|
session_id?: string;
|
|
7244
7411
|
};
|
|
7245
|
-
CreateWorkflowPublicInput: {
|
|
7246
|
-
/** @description Workflow name */
|
|
7247
|
-
name: string;
|
|
7248
|
-
/** @description Workflow description */
|
|
7249
|
-
description?: string;
|
|
7250
|
-
/**
|
|
7251
|
-
* @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.
|
|
7252
|
-
* @enum {string}
|
|
7253
|
-
*/
|
|
7254
|
-
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" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "ticket-team-changed" | "session-updated";
|
|
7255
|
-
/** @description Trigger-specific configuration (e.g. cron expression for cron-trigger) */
|
|
7256
|
-
trigger_configuration?: unknown | null;
|
|
7257
|
-
/** @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). */
|
|
7258
|
-
workflow_blocks: unknown[];
|
|
7259
|
-
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
7260
|
-
workflow_editor_state?: unknown | null;
|
|
7261
|
-
};
|
|
7262
|
-
UpdateWorkflowPublicInput: {
|
|
7263
|
-
/** @description New workflow name */
|
|
7264
|
-
name?: string;
|
|
7265
|
-
/** @description New workflow description */
|
|
7266
|
-
description?: string | null;
|
|
7267
|
-
/**
|
|
7268
|
-
* @description New trigger type
|
|
7269
|
-
* @enum {string}
|
|
7270
|
-
*/
|
|
7271
|
-
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" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "ticket-team-changed" | "session-updated";
|
|
7272
|
-
/** @description New trigger configuration */
|
|
7273
|
-
trigger_configuration?: unknown | null;
|
|
7274
|
-
/** @description New workflow step/block definitions (replaces existing blocks) */
|
|
7275
|
-
workflow_blocks?: unknown[];
|
|
7276
|
-
/** @description React Flow editor state (nodes, edges, viewport) for the dashboard visual editor */
|
|
7277
|
-
workflow_editor_state?: unknown | null;
|
|
7278
|
-
};
|
|
7279
|
-
ValidateWorkflowPublicInput: {
|
|
7280
|
-
/**
|
|
7281
|
-
* @description Trigger type to validate against
|
|
7282
|
-
* @enum {string}
|
|
7283
|
-
*/
|
|
7284
|
-
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" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "ticket-team-changed" | "session-updated";
|
|
7285
|
-
/** @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. */
|
|
7286
|
-
trigger_configuration?: unknown | null;
|
|
7287
|
-
/** @description Workflow blocks to validate */
|
|
7288
|
-
workflow_blocks: unknown[];
|
|
7289
|
-
};
|
|
7290
|
-
TestWorkflowPublicInput: {
|
|
7291
|
-
/** @description Synthetic trigger event to dry-run the workflow against */
|
|
7292
|
-
trigger_payload: {
|
|
7293
|
-
/**
|
|
7294
|
-
* @description Trigger type whose payload shape this synthetic payload should match
|
|
7295
|
-
* @enum {string}
|
|
7296
|
-
*/
|
|
7297
|
-
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" | "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" | "first-contact-message-received" | "macro-called" | "ai-response-completed" | "agent-availability-changed" | "agent-avail-in-team-changed" | "ai-response-requested" | "ticket-reopened" | "agent-mentioned" | "ticket-team-changed" | "session-updated";
|
|
7298
|
-
payload: unknown;
|
|
7299
|
-
};
|
|
7300
|
-
};
|
|
7301
7412
|
SyncContentTreeDto: {
|
|
7302
7413
|
categories: {
|
|
7303
7414
|
name: string;
|
|
@@ -7379,6 +7490,16 @@ export interface components {
|
|
|
7379
7490
|
}[];
|
|
7380
7491
|
openapi_spec?: string;
|
|
7381
7492
|
};
|
|
7493
|
+
RunReportQueryBody: {
|
|
7494
|
+
sql: string;
|
|
7495
|
+
/** @default [] */
|
|
7496
|
+
parameters: unknown[];
|
|
7497
|
+
};
|
|
7498
|
+
SalesforceMiawWebhookBody: {
|
|
7499
|
+
/** @enum {string} */
|
|
7500
|
+
event: "message:new";
|
|
7501
|
+
session_id: string;
|
|
7502
|
+
};
|
|
7382
7503
|
SetCoworkerTodosDto: {
|
|
7383
7504
|
items: {
|
|
7384
7505
|
label: string;
|
|
@@ -7389,12 +7510,6 @@ export interface components {
|
|
|
7389
7510
|
/** @enum {string} */
|
|
7390
7511
|
status: "pending" | "in_progress" | "completed";
|
|
7391
7512
|
};
|
|
7392
|
-
PatchOnboardingDto: {
|
|
7393
|
-
/** @enum {string} */
|
|
7394
|
-
step?: "training" | "channels" | "teammates";
|
|
7395
|
-
/** @enum {string} */
|
|
7396
|
-
action: "complete" | "skip" | "dismiss";
|
|
7397
|
-
};
|
|
7398
7513
|
CoworkerNotifyTeamInput: {
|
|
7399
7514
|
/** @description Summary of what the user needs help with */
|
|
7400
7515
|
summary: string;
|
|
@@ -8320,6 +8435,28 @@ export interface components {
|
|
|
8320
8435
|
start_time: string | null;
|
|
8321
8436
|
end_time: string | null;
|
|
8322
8437
|
};
|
|
8438
|
+
AvailabilityStatusDto: {
|
|
8439
|
+
id: string;
|
|
8440
|
+
org_id: string;
|
|
8441
|
+
name: string;
|
|
8442
|
+
group_ids: string[];
|
|
8443
|
+
sort_order: number;
|
|
8444
|
+
/**
|
|
8445
|
+
* @description What applying the status does to the agent: 'online' turns main availability on with the status's teams; 'offline' turns main availability and every support team off (e.g. a Break status)
|
|
8446
|
+
* @enum {string}
|
|
8447
|
+
*/
|
|
8448
|
+
availability_type: "offline" | "online";
|
|
8449
|
+
/**
|
|
8450
|
+
* @description Display color for the status dot across the dashboard
|
|
8451
|
+
* @enum {string}
|
|
8452
|
+
*/
|
|
8453
|
+
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
8454
|
+
/** Format: date-time */
|
|
8455
|
+
created_at: string;
|
|
8456
|
+
/** Format: date-time */
|
|
8457
|
+
updated_at: string;
|
|
8458
|
+
deleted_at: string | null;
|
|
8459
|
+
};
|
|
8323
8460
|
SankeyReportResDto: {
|
|
8324
8461
|
nodes: {
|
|
8325
8462
|
id: string;
|
|
@@ -8361,28 +8498,6 @@ export interface components {
|
|
|
8361
8498
|
customDataKeys?: string[];
|
|
8362
8499
|
}[];
|
|
8363
8500
|
};
|
|
8364
|
-
AvailabilityStatusDto: {
|
|
8365
|
-
id: string;
|
|
8366
|
-
org_id: string;
|
|
8367
|
-
name: string;
|
|
8368
|
-
group_ids: string[];
|
|
8369
|
-
sort_order: number;
|
|
8370
|
-
/**
|
|
8371
|
-
* @description What applying the status does to the agent: 'online' turns main availability on with the status's teams; 'offline' turns main availability and every support team off (e.g. a Break status)
|
|
8372
|
-
* @enum {string}
|
|
8373
|
-
*/
|
|
8374
|
-
availability_type: "offline" | "online";
|
|
8375
|
-
/**
|
|
8376
|
-
* @description Display color for the status dot across the dashboard
|
|
8377
|
-
* @enum {string}
|
|
8378
|
-
*/
|
|
8379
|
-
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
8380
|
-
/** Format: date-time */
|
|
8381
|
-
created_at: string;
|
|
8382
|
-
/** Format: date-time */
|
|
8383
|
-
updated_at: string;
|
|
8384
|
-
deleted_at: string | null;
|
|
8385
|
-
};
|
|
8386
8501
|
GenericResponseDto: {
|
|
8387
8502
|
data?: {
|
|
8388
8503
|
success: boolean;
|
|
@@ -8531,6 +8646,48 @@ export interface components {
|
|
|
8531
8646
|
*/
|
|
8532
8647
|
updated_at: string;
|
|
8533
8648
|
};
|
|
8649
|
+
StructuredFieldSystemOptionDto: {
|
|
8650
|
+
value: string;
|
|
8651
|
+
label: string;
|
|
8652
|
+
description: string | null;
|
|
8653
|
+
};
|
|
8654
|
+
StructuredFieldVariantTreeDto: {
|
|
8655
|
+
/** Format: uuid */
|
|
8656
|
+
id: string;
|
|
8657
|
+
org_id: string;
|
|
8658
|
+
/** Format: uuid */
|
|
8659
|
+
field_id: string;
|
|
8660
|
+
parent_id: string | null;
|
|
8661
|
+
value: string;
|
|
8662
|
+
variant_display_name: string;
|
|
8663
|
+
variant_description: string;
|
|
8664
|
+
position: number;
|
|
8665
|
+
archived_at: string | null;
|
|
8666
|
+
/** Format: date-time */
|
|
8667
|
+
created_at: string;
|
|
8668
|
+
/** Format: date-time */
|
|
8669
|
+
updated_at: string;
|
|
8670
|
+
children: components["schemas"]["StructuredFieldVariantTreeDto"][];
|
|
8671
|
+
};
|
|
8672
|
+
StructuredFieldTreeDto: {
|
|
8673
|
+
/** Format: uuid */
|
|
8674
|
+
id: string;
|
|
8675
|
+
org_id: string;
|
|
8676
|
+
key: string;
|
|
8677
|
+
name: string;
|
|
8678
|
+
description: string;
|
|
8679
|
+
type: components["schemas"]["StructuredFieldTypeDto"];
|
|
8680
|
+
value: string | null;
|
|
8681
|
+
position: number;
|
|
8682
|
+
archived_at: string | null;
|
|
8683
|
+
/** Format: date-time */
|
|
8684
|
+
created_at: string;
|
|
8685
|
+
/** Format: date-time */
|
|
8686
|
+
updated_at: string;
|
|
8687
|
+
variants: components["schemas"]["StructuredFieldVariantTreeDto"][];
|
|
8688
|
+
system_options: components["schemas"]["StructuredFieldSystemOptionDto"][];
|
|
8689
|
+
};
|
|
8690
|
+
StructuredFieldListDto: components["schemas"]["StructuredFieldTreeDto"][];
|
|
8534
8691
|
CustomDomainMutationOutputDto: {
|
|
8535
8692
|
/** @constant */
|
|
8536
8693
|
success: true;
|
|
@@ -8539,7 +8696,7 @@ export interface components {
|
|
|
8539
8696
|
statusCode: 400 | 404 | 503;
|
|
8540
8697
|
message: string;
|
|
8541
8698
|
/** @enum {string} */
|
|
8542
|
-
error: "domain_registered_elsewhere" | "domain_create_failed" | "domain_not_found" | "domain_verify_failed" | "domain_delete_failed" | "domain_provider_unavailable";
|
|
8699
|
+
error: "domain_registered_elsewhere" | "domain_create_failed" | "domain_not_found" | "domain_verify_failed" | "domain_delete_failed" | "domain_tracking_update_failed" | "domain_provider_unavailable";
|
|
8543
8700
|
};
|
|
8544
8701
|
EmailTemplateActivityItemDto: {
|
|
8545
8702
|
id: string;
|
|
@@ -8670,170 +8827,17 @@ export interface components {
|
|
|
8670
8827
|
end_time: string;
|
|
8671
8828
|
}[];
|
|
8672
8829
|
};
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
rate: number;
|
|
8685
|
-
};
|
|
8686
|
-
next_reply: {
|
|
8687
|
-
fulfilled: number;
|
|
8688
|
-
breached: number;
|
|
8689
|
-
completed_after_breach: number;
|
|
8690
|
-
active: number;
|
|
8691
|
-
rate: number;
|
|
8692
|
-
};
|
|
8693
|
-
resolution: {
|
|
8694
|
-
fulfilled: number;
|
|
8695
|
-
breached: number;
|
|
8696
|
-
completed_after_breach: number;
|
|
8697
|
-
active: number;
|
|
8698
|
-
rate: number;
|
|
8699
|
-
};
|
|
8700
|
-
};
|
|
8701
|
-
percentiles: {
|
|
8702
|
-
first_reply: {
|
|
8703
|
-
p50: number;
|
|
8704
|
-
p90: number;
|
|
8705
|
-
p95: number;
|
|
8706
|
-
};
|
|
8707
|
-
next_reply: {
|
|
8708
|
-
p50: number;
|
|
8709
|
-
p90: number;
|
|
8710
|
-
p95: number;
|
|
8711
|
-
};
|
|
8712
|
-
resolution: {
|
|
8713
|
-
p50: number;
|
|
8714
|
-
p90: number;
|
|
8715
|
-
p95: number;
|
|
8716
|
-
};
|
|
8717
|
-
};
|
|
8718
|
-
};
|
|
8719
|
-
SlaBreakdownResponseDto: {
|
|
8720
|
-
grouping: {
|
|
8721
|
-
/** @enum {string} */
|
|
8722
|
-
type: "policy" | "team" | "agent" | "channel";
|
|
8723
|
-
id: string | number | null;
|
|
8724
|
-
name: string;
|
|
8725
|
-
};
|
|
8726
|
-
sessions_count: number;
|
|
8727
|
-
compliance: {
|
|
8728
|
-
overall: number;
|
|
8729
|
-
first_reply: {
|
|
8730
|
-
fulfilled: number;
|
|
8731
|
-
breached: number;
|
|
8732
|
-
completed_after_breach: number;
|
|
8733
|
-
active: number;
|
|
8734
|
-
rate: number;
|
|
8735
|
-
};
|
|
8736
|
-
next_reply: {
|
|
8737
|
-
fulfilled: number;
|
|
8738
|
-
breached: number;
|
|
8739
|
-
completed_after_breach: number;
|
|
8740
|
-
active: number;
|
|
8741
|
-
rate: number;
|
|
8742
|
-
};
|
|
8743
|
-
resolution: {
|
|
8744
|
-
fulfilled: number;
|
|
8745
|
-
breached: number;
|
|
8746
|
-
completed_after_breach: number;
|
|
8747
|
-
active: number;
|
|
8748
|
-
rate: number;
|
|
8749
|
-
};
|
|
8750
|
-
};
|
|
8751
|
-
percentiles: {
|
|
8752
|
-
first_reply: {
|
|
8753
|
-
p50: number;
|
|
8754
|
-
p90: number;
|
|
8755
|
-
p95: number;
|
|
8756
|
-
};
|
|
8757
|
-
next_reply: {
|
|
8758
|
-
p50: number;
|
|
8759
|
-
p90: number;
|
|
8760
|
-
p95: number;
|
|
8761
|
-
};
|
|
8762
|
-
resolution: {
|
|
8763
|
-
p50: number;
|
|
8764
|
-
p90: number;
|
|
8765
|
-
p95: number;
|
|
8766
|
-
};
|
|
8767
|
-
};
|
|
8768
|
-
}[];
|
|
8769
|
-
SlaTrendResponseDto: {
|
|
8770
|
-
/** @enum {string} */
|
|
8771
|
-
granularity: "day" | "week";
|
|
8772
|
-
data: {
|
|
8773
|
-
date: string;
|
|
8774
|
-
sessions_count: number;
|
|
8775
|
-
compliance: {
|
|
8776
|
-
overall: number;
|
|
8777
|
-
first_reply: {
|
|
8778
|
-
fulfilled: number;
|
|
8779
|
-
breached: number;
|
|
8780
|
-
completed_after_breach: number;
|
|
8781
|
-
active: number;
|
|
8782
|
-
rate: number;
|
|
8783
|
-
};
|
|
8784
|
-
next_reply: {
|
|
8785
|
-
fulfilled: number;
|
|
8786
|
-
breached: number;
|
|
8787
|
-
completed_after_breach: number;
|
|
8788
|
-
active: number;
|
|
8789
|
-
rate: number;
|
|
8790
|
-
};
|
|
8791
|
-
resolution: {
|
|
8792
|
-
fulfilled: number;
|
|
8793
|
-
breached: number;
|
|
8794
|
-
completed_after_breach: number;
|
|
8795
|
-
active: number;
|
|
8796
|
-
rate: number;
|
|
8797
|
-
};
|
|
8798
|
-
};
|
|
8799
|
-
percentiles: {
|
|
8800
|
-
first_reply: {
|
|
8801
|
-
p50: number;
|
|
8802
|
-
p90: number;
|
|
8803
|
-
p95: number;
|
|
8804
|
-
};
|
|
8805
|
-
next_reply: {
|
|
8806
|
-
p50: number;
|
|
8807
|
-
p90: number;
|
|
8808
|
-
p95: number;
|
|
8809
|
-
};
|
|
8810
|
-
resolution: {
|
|
8811
|
-
p50: number;
|
|
8812
|
-
p90: number;
|
|
8813
|
-
p95: number;
|
|
8814
|
-
};
|
|
8815
|
-
};
|
|
8816
|
-
}[];
|
|
8817
|
-
};
|
|
8818
|
-
SlaBreachHeatmapResponseDto: {
|
|
8819
|
-
timezone: string;
|
|
8820
|
-
data: {
|
|
8821
|
-
day_of_week: number;
|
|
8822
|
-
hour: number;
|
|
8823
|
-
breaches: number;
|
|
8824
|
-
}[];
|
|
8825
|
-
};
|
|
8826
|
-
AgentWorkflowItemDto: {
|
|
8827
|
-
/** @description The logical workflow UUID */
|
|
8828
|
-
workflowId: string;
|
|
8829
|
-
/** @description Display name of the workflow */
|
|
8830
|
-
name: string;
|
|
8831
|
-
/** @description Description of the workflow */
|
|
8832
|
-
description: string | null;
|
|
8833
|
-
/** @description The goal of the workflow from AI trigger config */
|
|
8834
|
-
goal: string | null;
|
|
8835
|
-
/** @description Whether this workflow is selected for the agent */
|
|
8836
|
-
selected: boolean;
|
|
8830
|
+
AgentWorkflowItemDto: {
|
|
8831
|
+
/** @description The logical workflow UUID */
|
|
8832
|
+
workflowId: string;
|
|
8833
|
+
/** @description Display name of the workflow */
|
|
8834
|
+
name: string;
|
|
8835
|
+
/** @description Description of the workflow */
|
|
8836
|
+
description: string | null;
|
|
8837
|
+
/** @description The goal of the workflow from AI trigger config */
|
|
8838
|
+
goal: string | null;
|
|
8839
|
+
/** @description Whether this workflow is selected for the agent */
|
|
8840
|
+
selected: boolean;
|
|
8837
8841
|
};
|
|
8838
8842
|
AgentWorkflowListDto: {
|
|
8839
8843
|
workflows: components["schemas"]["AgentWorkflowItemDto"][];
|
|
@@ -8868,7 +8872,6 @@ export interface components {
|
|
|
8868
8872
|
updated_at: string;
|
|
8869
8873
|
provider_external_id: string | null;
|
|
8870
8874
|
flow: unknown | null;
|
|
8871
|
-
custom_llm: string | null;
|
|
8872
8875
|
use_org_knowledgebase: boolean;
|
|
8873
8876
|
background_noise_preset: ("office" | "bar" | "city-street") | null;
|
|
8874
8877
|
recording_enabled: boolean;
|
|
@@ -8973,14 +8976,158 @@ export interface components {
|
|
|
8973
8976
|
region?: ("apac" | "eu" | "us") | null;
|
|
8974
8977
|
twilio_phone_number_sid?: string | null;
|
|
8975
8978
|
};
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8979
|
+
SlaOverviewResponseDto: {
|
|
8980
|
+
coverage_rate: number;
|
|
8981
|
+
total_sessions: number;
|
|
8982
|
+
sla_sessions: number;
|
|
8983
|
+
compliance: {
|
|
8984
|
+
overall: number;
|
|
8985
|
+
first_reply: {
|
|
8986
|
+
fulfilled: number;
|
|
8987
|
+
breached: number;
|
|
8988
|
+
completed_after_breach: number;
|
|
8989
|
+
active: number;
|
|
8990
|
+
rate: number;
|
|
8991
|
+
};
|
|
8992
|
+
next_reply: {
|
|
8993
|
+
fulfilled: number;
|
|
8994
|
+
breached: number;
|
|
8995
|
+
completed_after_breach: number;
|
|
8996
|
+
active: number;
|
|
8997
|
+
rate: number;
|
|
8998
|
+
};
|
|
8999
|
+
resolution: {
|
|
9000
|
+
fulfilled: number;
|
|
9001
|
+
breached: number;
|
|
9002
|
+
completed_after_breach: number;
|
|
9003
|
+
active: number;
|
|
9004
|
+
rate: number;
|
|
9005
|
+
};
|
|
9006
|
+
};
|
|
9007
|
+
percentiles: {
|
|
9008
|
+
first_reply: {
|
|
9009
|
+
p50: number;
|
|
9010
|
+
p90: number;
|
|
9011
|
+
p95: number;
|
|
9012
|
+
};
|
|
9013
|
+
next_reply: {
|
|
9014
|
+
p50: number;
|
|
9015
|
+
p90: number;
|
|
9016
|
+
p95: number;
|
|
9017
|
+
};
|
|
9018
|
+
resolution: {
|
|
9019
|
+
p50: number;
|
|
9020
|
+
p90: number;
|
|
9021
|
+
p95: number;
|
|
9022
|
+
};
|
|
9023
|
+
};
|
|
9024
|
+
};
|
|
9025
|
+
SlaBreakdownResponseDto: {
|
|
9026
|
+
grouping: {
|
|
9027
|
+
/** @enum {string} */
|
|
9028
|
+
type: "policy" | "team" | "agent" | "channel";
|
|
9029
|
+
id: string | number | null;
|
|
9030
|
+
name: string;
|
|
9031
|
+
};
|
|
9032
|
+
sessions_count: number;
|
|
9033
|
+
compliance: {
|
|
9034
|
+
overall: number;
|
|
9035
|
+
first_reply: {
|
|
9036
|
+
fulfilled: number;
|
|
9037
|
+
breached: number;
|
|
9038
|
+
completed_after_breach: number;
|
|
9039
|
+
active: number;
|
|
9040
|
+
rate: number;
|
|
9041
|
+
};
|
|
9042
|
+
next_reply: {
|
|
9043
|
+
fulfilled: number;
|
|
9044
|
+
breached: number;
|
|
9045
|
+
completed_after_breach: number;
|
|
9046
|
+
active: number;
|
|
9047
|
+
rate: number;
|
|
9048
|
+
};
|
|
9049
|
+
resolution: {
|
|
9050
|
+
fulfilled: number;
|
|
9051
|
+
breached: number;
|
|
9052
|
+
completed_after_breach: number;
|
|
9053
|
+
active: number;
|
|
9054
|
+
rate: number;
|
|
9055
|
+
};
|
|
9056
|
+
};
|
|
9057
|
+
percentiles: {
|
|
9058
|
+
first_reply: {
|
|
9059
|
+
p50: number;
|
|
9060
|
+
p90: number;
|
|
9061
|
+
p95: number;
|
|
9062
|
+
};
|
|
9063
|
+
next_reply: {
|
|
9064
|
+
p50: number;
|
|
9065
|
+
p90: number;
|
|
9066
|
+
p95: number;
|
|
9067
|
+
};
|
|
9068
|
+
resolution: {
|
|
9069
|
+
p50: number;
|
|
9070
|
+
p90: number;
|
|
9071
|
+
p95: number;
|
|
9072
|
+
};
|
|
9073
|
+
};
|
|
9074
|
+
}[];
|
|
9075
|
+
SlaTrendResponseDto: {
|
|
9076
|
+
/** @enum {string} */
|
|
9077
|
+
granularity: "day" | "week";
|
|
9078
|
+
data: {
|
|
9079
|
+
date: string;
|
|
9080
|
+
sessions_count: number;
|
|
9081
|
+
compliance: {
|
|
9082
|
+
overall: number;
|
|
9083
|
+
first_reply: {
|
|
9084
|
+
fulfilled: number;
|
|
9085
|
+
breached: number;
|
|
9086
|
+
completed_after_breach: number;
|
|
9087
|
+
active: number;
|
|
9088
|
+
rate: number;
|
|
9089
|
+
};
|
|
9090
|
+
next_reply: {
|
|
9091
|
+
fulfilled: number;
|
|
9092
|
+
breached: number;
|
|
9093
|
+
completed_after_breach: number;
|
|
9094
|
+
active: number;
|
|
9095
|
+
rate: number;
|
|
9096
|
+
};
|
|
9097
|
+
resolution: {
|
|
9098
|
+
fulfilled: number;
|
|
9099
|
+
breached: number;
|
|
9100
|
+
completed_after_breach: number;
|
|
9101
|
+
active: number;
|
|
9102
|
+
rate: number;
|
|
9103
|
+
};
|
|
9104
|
+
};
|
|
9105
|
+
percentiles: {
|
|
9106
|
+
first_reply: {
|
|
9107
|
+
p50: number;
|
|
9108
|
+
p90: number;
|
|
9109
|
+
p95: number;
|
|
9110
|
+
};
|
|
9111
|
+
next_reply: {
|
|
9112
|
+
p50: number;
|
|
9113
|
+
p90: number;
|
|
9114
|
+
p95: number;
|
|
9115
|
+
};
|
|
9116
|
+
resolution: {
|
|
9117
|
+
p50: number;
|
|
9118
|
+
p90: number;
|
|
9119
|
+
p95: number;
|
|
9120
|
+
};
|
|
9121
|
+
};
|
|
9122
|
+
}[];
|
|
9123
|
+
};
|
|
9124
|
+
SlaBreachHeatmapResponseDto: {
|
|
9125
|
+
timezone: string;
|
|
9126
|
+
data: {
|
|
9127
|
+
day_of_week: number;
|
|
9128
|
+
hour: number;
|
|
9129
|
+
breaches: number;
|
|
9130
|
+
}[];
|
|
8984
9131
|
};
|
|
8985
9132
|
MacroAttachmentDto: {
|
|
8986
9133
|
id: string;
|
|
@@ -9015,11 +9162,20 @@ export interface components {
|
|
|
9015
9162
|
updated_at: string;
|
|
9016
9163
|
};
|
|
9017
9164
|
/** @enum {string} */
|
|
9018
|
-
SavedReplyVariableEnum: "agent.full_name" | "agent.email" | "contact.full_name" | "contact.email" | "contact.phone" | "session.number" | "session.status" | "session.language" | "org.name";
|
|
9165
|
+
SavedReplyVariableEnum: "agent.full_name" | "agent.email" | "contact.full_name" | "contact.first_name" | "contact.email" | "contact.phone" | "session.number" | "session.status" | "session.language" | "org.name";
|
|
9019
9166
|
SavedReplyVariablesResponseDto: {
|
|
9020
9167
|
enums: components["schemas"]["SavedReplyVariableEnum"][];
|
|
9021
9168
|
custom: components["schemas"]["SavedReplyVariableDto"][];
|
|
9022
9169
|
};
|
|
9170
|
+
SecretMetadataDto: {
|
|
9171
|
+
/** Format: uuid */
|
|
9172
|
+
id: string;
|
|
9173
|
+
name: string;
|
|
9174
|
+
/** Format: date-time */
|
|
9175
|
+
created_at: string;
|
|
9176
|
+
/** Format: date-time */
|
|
9177
|
+
updated_at: string;
|
|
9178
|
+
};
|
|
9023
9179
|
WhatsAppTemplateOptionDto: {
|
|
9024
9180
|
id: string;
|
|
9025
9181
|
/** @description The value a sequence step's content.template_name takes. */
|
|
@@ -9803,155 +9959,6 @@ export interface components {
|
|
|
9803
9959
|
totalPages: number;
|
|
9804
9960
|
};
|
|
9805
9961
|
};
|
|
9806
|
-
AgentAvailability: {
|
|
9807
|
-
id: string;
|
|
9808
|
-
user_id: number;
|
|
9809
|
-
organization_id: string;
|
|
9810
|
-
is_available: boolean;
|
|
9811
|
-
custom_status: string | null;
|
|
9812
|
-
/** Format: date-time */
|
|
9813
|
-
last_status_change: string;
|
|
9814
|
-
current_chat_count: number;
|
|
9815
|
-
max_concurrent_chats: number;
|
|
9816
|
-
notes: string | null;
|
|
9817
|
-
/** Format: date-time */
|
|
9818
|
-
created_at: string;
|
|
9819
|
-
/** Format: date-time */
|
|
9820
|
-
updated_at: string;
|
|
9821
|
-
call_available: boolean;
|
|
9822
|
-
call_locked: boolean;
|
|
9823
|
-
availability_status_id: string | null;
|
|
9824
|
-
};
|
|
9825
|
-
ResolvedAvailabilityStatusDto: {
|
|
9826
|
-
/**
|
|
9827
|
-
* @description A defined availability status is applied
|
|
9828
|
-
* @constant
|
|
9829
|
-
*/
|
|
9830
|
-
kind: "custom";
|
|
9831
|
-
/** @description Id of the applied availability status */
|
|
9832
|
-
status_id: string;
|
|
9833
|
-
/** @description Name of the applied availability status */
|
|
9834
|
-
name: string;
|
|
9835
|
-
/**
|
|
9836
|
-
* @description Whether the applied status sets the agent online or offline
|
|
9837
|
-
* @enum {string}
|
|
9838
|
-
*/
|
|
9839
|
-
availability_type: "offline" | "online";
|
|
9840
|
-
/**
|
|
9841
|
-
* @description Display color configured on the applied status
|
|
9842
|
-
* @enum {string}
|
|
9843
|
-
*/
|
|
9844
|
-
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
9845
|
-
} | {
|
|
9846
|
-
/**
|
|
9847
|
-
* @description Main availability on and available on every support team
|
|
9848
|
-
* @constant
|
|
9849
|
-
*/
|
|
9850
|
-
kind: "online";
|
|
9851
|
-
/**
|
|
9852
|
-
* @description Always 'green' — the fixed color of the derived online state
|
|
9853
|
-
* @enum {string}
|
|
9854
|
-
*/
|
|
9855
|
-
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
9856
|
-
} | {
|
|
9857
|
-
/**
|
|
9858
|
-
* @description Main availability off
|
|
9859
|
-
* @constant
|
|
9860
|
-
*/
|
|
9861
|
-
kind: "offline";
|
|
9862
|
-
/**
|
|
9863
|
-
* @description Always 'gray' — the fixed color of the derived offline state
|
|
9864
|
-
* @enum {string}
|
|
9865
|
-
*/
|
|
9866
|
-
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
9867
|
-
} | {
|
|
9868
|
-
/**
|
|
9869
|
-
* @description Main availability on but only available on some support teams
|
|
9870
|
-
* @constant
|
|
9871
|
-
*/
|
|
9872
|
-
kind: "mixed";
|
|
9873
|
-
/**
|
|
9874
|
-
* @description Always 'green' — mixed is an online-related state
|
|
9875
|
-
* @enum {string}
|
|
9876
|
-
*/
|
|
9877
|
-
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
9878
|
-
/** @description Support teams the user is currently available on */
|
|
9879
|
-
available_teams: {
|
|
9880
|
-
id: string;
|
|
9881
|
-
name: string;
|
|
9882
|
-
}[];
|
|
9883
|
-
};
|
|
9884
|
-
UserAvailabilityStatusDto: {
|
|
9885
|
-
/** @description The user's raw availability record */
|
|
9886
|
-
availability: {
|
|
9887
|
-
id: string;
|
|
9888
|
-
user_id: number;
|
|
9889
|
-
organization_id: string;
|
|
9890
|
-
is_available: boolean;
|
|
9891
|
-
custom_status: string | null;
|
|
9892
|
-
/** Format: date-time */
|
|
9893
|
-
last_status_change: string;
|
|
9894
|
-
current_chat_count: number;
|
|
9895
|
-
max_concurrent_chats: number;
|
|
9896
|
-
notes: string | null;
|
|
9897
|
-
/** Format: date-time */
|
|
9898
|
-
created_at: string;
|
|
9899
|
-
/** Format: date-time */
|
|
9900
|
-
updated_at: string;
|
|
9901
|
-
call_available: boolean;
|
|
9902
|
-
call_locked: boolean;
|
|
9903
|
-
availability_status_id: string | null;
|
|
9904
|
-
};
|
|
9905
|
-
resolved_status: components["schemas"]["ResolvedAvailabilityStatusDto"];
|
|
9906
|
-
/** @description The user's full per-support-team availability switch matrix */
|
|
9907
|
-
teams: {
|
|
9908
|
-
id: string;
|
|
9909
|
-
name: string;
|
|
9910
|
-
available: boolean;
|
|
9911
|
-
}[];
|
|
9912
|
-
};
|
|
9913
|
-
AuditLogPublicDto: {
|
|
9914
|
-
id: string;
|
|
9915
|
-
org_id: string;
|
|
9916
|
-
actor_id: number | null;
|
|
9917
|
-
/** @enum {string} */
|
|
9918
|
-
actor_type: "api" | "system" | "user";
|
|
9919
|
-
actor_email: string | null;
|
|
9920
|
-
actor_name: string | null;
|
|
9921
|
-
entity_type: string;
|
|
9922
|
-
entity_id: string;
|
|
9923
|
-
event_type: string;
|
|
9924
|
-
/** @enum {string} */
|
|
9925
|
-
event_category: "access" | "agent_availability" | "communication" | "configuration" | "data" | "security";
|
|
9926
|
-
changes: {
|
|
9927
|
-
before?: {
|
|
9928
|
-
[key: string]: unknown | null;
|
|
9929
|
-
};
|
|
9930
|
-
after?: {
|
|
9931
|
-
[key: string]: unknown | null;
|
|
9932
|
-
};
|
|
9933
|
-
} | null;
|
|
9934
|
-
metadata: {
|
|
9935
|
-
[key: string]: unknown | null;
|
|
9936
|
-
} | null;
|
|
9937
|
-
/** Format: date-time */
|
|
9938
|
-
created_at: string;
|
|
9939
|
-
ip_address: string | null;
|
|
9940
|
-
user_agent: string | null;
|
|
9941
|
-
};
|
|
9942
|
-
AuditLogsPublicResponse: {
|
|
9943
|
-
data: components["schemas"]["AuditLogPublicDto"][];
|
|
9944
|
-
pagination: {
|
|
9945
|
-
total: number;
|
|
9946
|
-
page: number;
|
|
9947
|
-
limit: number;
|
|
9948
|
-
totalPages: number;
|
|
9949
|
-
};
|
|
9950
|
-
};
|
|
9951
|
-
SalesforceMiawWebhookResponse: {
|
|
9952
|
-
success: boolean;
|
|
9953
|
-
message?: string;
|
|
9954
|
-
};
|
|
9955
9962
|
ArticleWithVersionsResponseDto: {
|
|
9956
9963
|
entity: {
|
|
9957
9964
|
/** Format: uuid */
|
|
@@ -10509,86 +10516,190 @@ export interface components {
|
|
|
10509
10516
|
/** @description Parsed JSON when the response is JSON, else the raw text */
|
|
10510
10517
|
body: unknown;
|
|
10511
10518
|
};
|
|
10512
|
-
|
|
10513
|
-
channels: {
|
|
10514
|
-
/** @description Channel name */
|
|
10515
|
-
channel: string;
|
|
10516
|
-
/** @description Whether the AI autopilot is enabled on this channel */
|
|
10517
|
-
autopilot_enabled: boolean;
|
|
10518
|
-
/**
|
|
10519
|
-
* @description AI agent version used on this channel
|
|
10520
|
-
* @enum {string}
|
|
10521
|
-
*/
|
|
10522
|
-
ai_agent_version: "v1" | "v2";
|
|
10523
|
-
}[];
|
|
10524
|
-
};
|
|
10525
|
-
ProhibitedTopicsResponseDto: {
|
|
10526
|
-
/** @description Topic names only. When a session matches any of these, the AI hands off to a human (subject to per-channel handoff behavior). */
|
|
10527
|
-
topics: string[];
|
|
10528
|
-
/** @description The same topics, each with its description. */
|
|
10529
|
-
items: {
|
|
10530
|
-
/** @description The topic name. */
|
|
10531
|
-
name: string;
|
|
10532
|
-
/** @description Guidance the AI uses when deciding whether a session matches this topic, or null. Conditions stated here are applied as strict rules. */
|
|
10533
|
-
description: string | null;
|
|
10534
|
-
}[];
|
|
10535
|
-
};
|
|
10536
|
-
OutboundBlocklistEntryDto: {
|
|
10519
|
+
AgentAvailability: {
|
|
10537
10520
|
id: string;
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
/**
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
source: string | null;
|
|
10521
|
+
user_id: number;
|
|
10522
|
+
organization_id: string;
|
|
10523
|
+
is_available: boolean;
|
|
10524
|
+
custom_status: string | null;
|
|
10525
|
+
/** Format: date-time */
|
|
10526
|
+
last_status_change: string;
|
|
10527
|
+
current_chat_count: number;
|
|
10528
|
+
max_concurrent_chats: number;
|
|
10529
|
+
notes: string | null;
|
|
10548
10530
|
/** Format: date-time */
|
|
10549
10531
|
created_at: string;
|
|
10550
|
-
/**
|
|
10551
|
-
expires_at: string | null;
|
|
10552
|
-
};
|
|
10553
|
-
SaveContactOutput: {
|
|
10554
|
-
/** Format: uuid */
|
|
10555
|
-
id?: string;
|
|
10556
|
-
};
|
|
10557
|
-
Contact: {
|
|
10558
|
-
/** Format: uuid */
|
|
10559
|
-
id: string;
|
|
10560
|
-
email: string | null;
|
|
10561
|
-
phone_number: string | null;
|
|
10562
|
-
name: string | null;
|
|
10563
|
-
custom_data: {
|
|
10564
|
-
[key: string]: string;
|
|
10565
|
-
} | null;
|
|
10566
|
-
/** @description ISO 8601 timestamp of when the contact was created */
|
|
10567
|
-
created_at: string;
|
|
10568
|
-
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
10532
|
+
/** Format: date-time */
|
|
10569
10533
|
updated_at: string;
|
|
10534
|
+
call_available: boolean;
|
|
10535
|
+
call_locked: boolean;
|
|
10536
|
+
availability_status_id: string | null;
|
|
10570
10537
|
};
|
|
10571
|
-
|
|
10572
|
-
/** Format: uuid */
|
|
10538
|
+
AuditLogPublicDto: {
|
|
10573
10539
|
id: string;
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10540
|
+
org_id: string;
|
|
10541
|
+
actor_id: number | null;
|
|
10542
|
+
/** @enum {string} */
|
|
10543
|
+
actor_type: "api" | "system" | "user";
|
|
10544
|
+
actor_email: string | null;
|
|
10545
|
+
actor_name: string | null;
|
|
10546
|
+
entity_type: string;
|
|
10547
|
+
entity_id: string;
|
|
10548
|
+
event_type: string;
|
|
10549
|
+
/** @enum {string} */
|
|
10550
|
+
event_category: "access" | "agent_availability" | "communication" | "configuration" | "data" | "security";
|
|
10551
|
+
changes: {
|
|
10552
|
+
before?: {
|
|
10553
|
+
[key: string]: unknown | null;
|
|
10554
|
+
};
|
|
10555
|
+
after?: {
|
|
10556
|
+
[key: string]: unknown | null;
|
|
10557
|
+
};
|
|
10579
10558
|
} | null;
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
10583
|
-
updated_at: string;
|
|
10584
|
-
non_verified_name: string | null;
|
|
10585
|
-
non_verified_email: string | null;
|
|
10586
|
-
non_verified_custom_data: {
|
|
10587
|
-
[key: string]: string | number | boolean;
|
|
10559
|
+
metadata: {
|
|
10560
|
+
[key: string]: unknown | null;
|
|
10588
10561
|
} | null;
|
|
10562
|
+
/** Format: date-time */
|
|
10563
|
+
created_at: string;
|
|
10564
|
+
ip_address: string | null;
|
|
10565
|
+
user_agent: string | null;
|
|
10589
10566
|
};
|
|
10590
|
-
|
|
10591
|
-
|
|
10567
|
+
AuditLogsPublicResponse: {
|
|
10568
|
+
data: components["schemas"]["AuditLogPublicDto"][];
|
|
10569
|
+
pagination: {
|
|
10570
|
+
total: number;
|
|
10571
|
+
page: number;
|
|
10572
|
+
limit: number;
|
|
10573
|
+
totalPages: number;
|
|
10574
|
+
};
|
|
10575
|
+
};
|
|
10576
|
+
ResolvedAvailabilityStatusDto: {
|
|
10577
|
+
/**
|
|
10578
|
+
* @description A defined availability status is applied
|
|
10579
|
+
* @constant
|
|
10580
|
+
*/
|
|
10581
|
+
kind: "custom";
|
|
10582
|
+
/** @description Id of the applied availability status */
|
|
10583
|
+
status_id: string;
|
|
10584
|
+
/** @description Name of the applied availability status */
|
|
10585
|
+
name: string;
|
|
10586
|
+
/**
|
|
10587
|
+
* @description Whether the applied status sets the agent online or offline
|
|
10588
|
+
* @enum {string}
|
|
10589
|
+
*/
|
|
10590
|
+
availability_type: "offline" | "online";
|
|
10591
|
+
/**
|
|
10592
|
+
* @description Display color configured on the applied status
|
|
10593
|
+
* @enum {string}
|
|
10594
|
+
*/
|
|
10595
|
+
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
10596
|
+
} | {
|
|
10597
|
+
/**
|
|
10598
|
+
* @description Main availability on and available on every support team
|
|
10599
|
+
* @constant
|
|
10600
|
+
*/
|
|
10601
|
+
kind: "online";
|
|
10602
|
+
/**
|
|
10603
|
+
* @description Always 'green' — the fixed color of the derived online state
|
|
10604
|
+
* @enum {string}
|
|
10605
|
+
*/
|
|
10606
|
+
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
10607
|
+
} | {
|
|
10608
|
+
/**
|
|
10609
|
+
* @description Main availability off
|
|
10610
|
+
* @constant
|
|
10611
|
+
*/
|
|
10612
|
+
kind: "offline";
|
|
10613
|
+
/**
|
|
10614
|
+
* @description Always 'gray' — the fixed color of the derived offline state
|
|
10615
|
+
* @enum {string}
|
|
10616
|
+
*/
|
|
10617
|
+
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
10618
|
+
} | {
|
|
10619
|
+
/**
|
|
10620
|
+
* @description Main availability on but only available on some support teams
|
|
10621
|
+
* @constant
|
|
10622
|
+
*/
|
|
10623
|
+
kind: "mixed";
|
|
10624
|
+
/**
|
|
10625
|
+
* @description Always 'green' — mixed is an online-related state
|
|
10626
|
+
* @enum {string}
|
|
10627
|
+
*/
|
|
10628
|
+
color: "blue" | "gray" | "green" | "orange" | "red";
|
|
10629
|
+
/** @description Support teams the user is currently available on */
|
|
10630
|
+
available_teams: {
|
|
10631
|
+
id: string;
|
|
10632
|
+
name: string;
|
|
10633
|
+
}[];
|
|
10634
|
+
};
|
|
10635
|
+
UserAvailabilityStatusDto: {
|
|
10636
|
+
/** @description The user's raw availability record */
|
|
10637
|
+
availability: {
|
|
10638
|
+
id: string;
|
|
10639
|
+
user_id: number;
|
|
10640
|
+
organization_id: string;
|
|
10641
|
+
is_available: boolean;
|
|
10642
|
+
custom_status: string | null;
|
|
10643
|
+
/** Format: date-time */
|
|
10644
|
+
last_status_change: string;
|
|
10645
|
+
current_chat_count: number;
|
|
10646
|
+
max_concurrent_chats: number;
|
|
10647
|
+
notes: string | null;
|
|
10648
|
+
/** Format: date-time */
|
|
10649
|
+
created_at: string;
|
|
10650
|
+
/** Format: date-time */
|
|
10651
|
+
updated_at: string;
|
|
10652
|
+
call_available: boolean;
|
|
10653
|
+
call_locked: boolean;
|
|
10654
|
+
availability_status_id: string | null;
|
|
10655
|
+
};
|
|
10656
|
+
resolved_status: components["schemas"]["ResolvedAvailabilityStatusDto"];
|
|
10657
|
+
/** @description The user's full per-support-team availability switch matrix */
|
|
10658
|
+
teams: {
|
|
10659
|
+
id: string;
|
|
10660
|
+
name: string;
|
|
10661
|
+
available: boolean;
|
|
10662
|
+
}[];
|
|
10663
|
+
};
|
|
10664
|
+
SaveContactOutput: {
|
|
10665
|
+
/** Format: uuid */
|
|
10666
|
+
id?: string;
|
|
10667
|
+
};
|
|
10668
|
+
Contact: {
|
|
10669
|
+
/** Format: uuid */
|
|
10670
|
+
id: string;
|
|
10671
|
+
email: string | null;
|
|
10672
|
+
phone_number: string | null;
|
|
10673
|
+
name: string | null;
|
|
10674
|
+
custom_data: {
|
|
10675
|
+
[key: string]: string;
|
|
10676
|
+
} | null;
|
|
10677
|
+
/** @description ISO 8601 timestamp of when the contact was created */
|
|
10678
|
+
created_at: string;
|
|
10679
|
+
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
10680
|
+
updated_at: string;
|
|
10681
|
+
};
|
|
10682
|
+
InvestigationContact: {
|
|
10683
|
+
/** Format: uuid */
|
|
10684
|
+
id: string;
|
|
10685
|
+
email: string | null;
|
|
10686
|
+
phone_number: string | null;
|
|
10687
|
+
name: string | null;
|
|
10688
|
+
custom_data: {
|
|
10689
|
+
[key: string]: string;
|
|
10690
|
+
} | null;
|
|
10691
|
+
/** @description ISO 8601 timestamp of when the contact was created */
|
|
10692
|
+
created_at: string;
|
|
10693
|
+
/** @description ISO 8601 timestamp of when the contact was last updated */
|
|
10694
|
+
updated_at: string;
|
|
10695
|
+
non_verified_name: string | null;
|
|
10696
|
+
non_verified_email: string | null;
|
|
10697
|
+
non_verified_custom_data: {
|
|
10698
|
+
[key: string]: string | number | boolean;
|
|
10699
|
+
} | null;
|
|
10700
|
+
};
|
|
10701
|
+
InvestigationAssignee: {
|
|
10702
|
+
id: number;
|
|
10592
10703
|
name: string | null;
|
|
10593
10704
|
email: string | null;
|
|
10594
10705
|
avatar_url: string | null;
|
|
@@ -11476,6 +11587,50 @@ export interface components {
|
|
|
11476
11587
|
total: number;
|
|
11477
11588
|
total_pages: number;
|
|
11478
11589
|
};
|
|
11590
|
+
StructuredFieldsPublicMessageDto: {
|
|
11591
|
+
message: string;
|
|
11592
|
+
};
|
|
11593
|
+
AutopilotStatusResponseDto: {
|
|
11594
|
+
channels: {
|
|
11595
|
+
/** @description Channel name */
|
|
11596
|
+
channel: string;
|
|
11597
|
+
/** @description Whether the AI autopilot is enabled on this channel */
|
|
11598
|
+
autopilot_enabled: boolean;
|
|
11599
|
+
/**
|
|
11600
|
+
* @description AI agent version used on this channel
|
|
11601
|
+
* @enum {string}
|
|
11602
|
+
*/
|
|
11603
|
+
ai_agent_version: "v1" | "v2";
|
|
11604
|
+
}[];
|
|
11605
|
+
};
|
|
11606
|
+
ProhibitedTopicsResponseDto: {
|
|
11607
|
+
/** @description Topic names only. When a session matches any of these, the AI hands off to a human (subject to per-channel handoff behavior). */
|
|
11608
|
+
topics: string[];
|
|
11609
|
+
/** @description The same topics, each with its description. */
|
|
11610
|
+
items: {
|
|
11611
|
+
/** @description The topic name. */
|
|
11612
|
+
name: string;
|
|
11613
|
+
/** @description Guidance the AI uses when deciding whether a session matches this topic, or null. Conditions stated here are applied as strict rules. */
|
|
11614
|
+
description: string | null;
|
|
11615
|
+
}[];
|
|
11616
|
+
};
|
|
11617
|
+
OutboundBlocklistEntryDto: {
|
|
11618
|
+
id: string;
|
|
11619
|
+
/** @description "phone", "email" or "whatsapp_user_id". */
|
|
11620
|
+
identity_type: string;
|
|
11621
|
+
/** @description The address, as we stored it after normalizing. */
|
|
11622
|
+
identity_value: string;
|
|
11623
|
+
/** @description The channel this entry covers. Null means every channel — that is what entries added through this API always are. A specific channel appears when someone opted out of that channel alone. */
|
|
11624
|
+
channel: string | null;
|
|
11625
|
+
/** @description Why the address was blocked. */
|
|
11626
|
+
reason: string;
|
|
11627
|
+
/** @description Where the entry came from. "api" is one you added. Anything else was recorded when the person opted out themselves, and is not removable by default. */
|
|
11628
|
+
source: string | null;
|
|
11629
|
+
/** Format: date-time */
|
|
11630
|
+
created_at: string;
|
|
11631
|
+
/** @description When the block lifts automatically. Null means it never does. */
|
|
11632
|
+
expires_at: string | null;
|
|
11633
|
+
};
|
|
11479
11634
|
PutCustomDomainOutput: {
|
|
11480
11635
|
domainRecords: unknown | null;
|
|
11481
11636
|
domainStatus: string | null;
|
|
@@ -11570,64 +11725,6 @@ export interface components {
|
|
|
11570
11725
|
in_progress: number;
|
|
11571
11726
|
};
|
|
11572
11727
|
};
|
|
11573
|
-
RunReportQueryResponseDto: {
|
|
11574
|
-
rows: {
|
|
11575
|
-
[key: string]: unknown;
|
|
11576
|
-
}[];
|
|
11577
|
-
row_count: number;
|
|
11578
|
-
truncated: boolean;
|
|
11579
|
-
};
|
|
11580
|
-
PartnerOrgDto: {
|
|
11581
|
-
id: string;
|
|
11582
|
-
name: string;
|
|
11583
|
-
external_id: string | null;
|
|
11584
|
-
tags: string[];
|
|
11585
|
-
created_at: string | null;
|
|
11586
|
-
};
|
|
11587
|
-
ListPartnerOrgsResponseDto: {
|
|
11588
|
-
partner: {
|
|
11589
|
-
id: string;
|
|
11590
|
-
name: string;
|
|
11591
|
-
};
|
|
11592
|
-
data: components["schemas"]["PartnerOrgDto"][];
|
|
11593
|
-
total: number;
|
|
11594
|
-
};
|
|
11595
|
-
PartnerOrgHealthDto: {
|
|
11596
|
-
id: string;
|
|
11597
|
-
name: string;
|
|
11598
|
-
external_id: string | null;
|
|
11599
|
-
website: string | null;
|
|
11600
|
-
logo_url: string | null;
|
|
11601
|
-
created_at: string | null;
|
|
11602
|
-
tags: string[];
|
|
11603
|
-
health: {
|
|
11604
|
-
/** @enum {string} */
|
|
11605
|
-
status: "healthy" | "setup_incomplete" | "inactive" | "new";
|
|
11606
|
-
members: number;
|
|
11607
|
-
data_sources: number;
|
|
11608
|
-
has_ai_training: boolean;
|
|
11609
|
-
has_actions: boolean;
|
|
11610
|
-
sessions_30d: number;
|
|
11611
|
-
total_sessions: number;
|
|
11612
|
-
last_session_at: string | null;
|
|
11613
|
-
};
|
|
11614
|
-
channels: {
|
|
11615
|
-
chat: boolean;
|
|
11616
|
-
email: boolean;
|
|
11617
|
-
whatsapp: boolean;
|
|
11618
|
-
voice: boolean;
|
|
11619
|
-
};
|
|
11620
|
-
};
|
|
11621
|
-
SearchPartnerOrgsResponseDto: {
|
|
11622
|
-
partner: {
|
|
11623
|
-
id: string;
|
|
11624
|
-
name: string;
|
|
11625
|
-
};
|
|
11626
|
-
data: components["schemas"]["PartnerOrgHealthDto"][];
|
|
11627
|
-
total: number;
|
|
11628
|
-
limit: number;
|
|
11629
|
-
offset: number;
|
|
11630
|
-
};
|
|
11631
11728
|
OfficeHoursPublicResponseDto: {
|
|
11632
11729
|
/** @description Office hours schedule ID */
|
|
11633
11730
|
id: string;
|
|
@@ -11658,25 +11755,250 @@ export interface components {
|
|
|
11658
11755
|
updated_at: string;
|
|
11659
11756
|
}[];
|
|
11660
11757
|
};
|
|
11661
|
-
|
|
11662
|
-
/** @description The name
|
|
11663
|
-
|
|
11664
|
-
/** @description
|
|
11665
|
-
|
|
11666
|
-
/** @description
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11758
|
+
TagPublicResponseDto: {
|
|
11759
|
+
/** @description The tag name (unique per org) */
|
|
11760
|
+
tag_name: string;
|
|
11761
|
+
/** @description Optional description of what this tag means */
|
|
11762
|
+
description: string | null;
|
|
11763
|
+
/** @description If true, the AI will never auto-apply this tag */
|
|
11764
|
+
exclude_from_auto_tagging: boolean;
|
|
11765
|
+
/** @description Category this tag belongs to, or null if uncategorized */
|
|
11766
|
+
category_id: string | null;
|
|
11767
|
+
/** Format: date-time */
|
|
11768
|
+
created_at: string;
|
|
11769
|
+
/** Format: date-time */
|
|
11770
|
+
updated_at: string;
|
|
11771
|
+
};
|
|
11772
|
+
TagCategoryPublicResponseDto: {
|
|
11773
|
+
/**
|
|
11774
|
+
* Format: uuid
|
|
11775
|
+
* @description The category id
|
|
11776
|
+
*/
|
|
11777
|
+
id: string;
|
|
11778
|
+
/** @description The organization this category belongs to */
|
|
11779
|
+
org_id: string;
|
|
11780
|
+
/** @description The category name (unique per org) */
|
|
11781
|
+
name: string;
|
|
11782
|
+
/** @description What this category groups together */
|
|
11783
|
+
description: string;
|
|
11784
|
+
/** Format: date-time */
|
|
11785
|
+
created_at: string;
|
|
11786
|
+
/** Format: date-time */
|
|
11787
|
+
updated_at: string;
|
|
11788
|
+
};
|
|
11789
|
+
WorkflowPublicResponseDto: {
|
|
11790
|
+
/** @description Version serial ID */
|
|
11791
|
+
id: number;
|
|
11792
|
+
/** @description Workflow UUID (groups all versions of the same workflow) */
|
|
11793
|
+
workflow_id: string;
|
|
11794
|
+
/** @description Workflow name */
|
|
11795
|
+
name: string;
|
|
11796
|
+
/** @description Workflow description */
|
|
11797
|
+
description: string | null;
|
|
11798
|
+
/** @description Whether this version is currently active */
|
|
11799
|
+
is_active: boolean | null;
|
|
11800
|
+
/** @description Trigger type: "manual-trigger", "ai-trigger", "cron-trigger", "webhook", "form-trigger", or event-based triggers */
|
|
11801
|
+
trigger_type: string;
|
|
11802
|
+
/** @description Version number (increments with each edit) */
|
|
11803
|
+
version_number: number;
|
|
11804
|
+
/** Format: date-time */
|
|
11805
|
+
created_at: string;
|
|
11806
|
+
/** Format: date-time */
|
|
11807
|
+
updated_at: string;
|
|
11808
|
+
};
|
|
11809
|
+
WorkflowDetailPublicResponseDto: {
|
|
11810
|
+
/** @description Version serial ID */
|
|
11811
|
+
id: number;
|
|
11812
|
+
/** @description Workflow UUID (groups all versions of the same workflow) */
|
|
11813
|
+
workflow_id: string;
|
|
11814
|
+
/** @description Workflow name */
|
|
11815
|
+
name: string;
|
|
11816
|
+
/** @description Workflow description */
|
|
11817
|
+
description: string | null;
|
|
11818
|
+
/** @description Whether this version is currently active */
|
|
11819
|
+
is_active: boolean | null;
|
|
11820
|
+
/** @description Trigger type: "manual-trigger", "ai-trigger", "cron-trigger", "webhook", "form-trigger", or event-based triggers */
|
|
11821
|
+
trigger_type: string;
|
|
11822
|
+
/** @description Version number (increments with each edit) */
|
|
11823
|
+
version_number: number;
|
|
11824
|
+
/** Format: date-time */
|
|
11825
|
+
created_at: string;
|
|
11826
|
+
/** Format: date-time */
|
|
11827
|
+
updated_at: string;
|
|
11828
|
+
/** @description Workflow step/block definitions */
|
|
11829
|
+
workflow_blocks: unknown[] | null;
|
|
11830
|
+
/** @description Trigger-specific configuration */
|
|
11831
|
+
trigger_configuration: unknown | null;
|
|
11832
|
+
/** @description Trigger URL for webhook-type workflows. Call this URL (POST) to trigger the workflow. Null for non-webhook workflows. */
|
|
11833
|
+
webhook_url: string | null;
|
|
11834
|
+
};
|
|
11835
|
+
WorkflowRunPublicResponseDto: {
|
|
11836
|
+
/** @description Run UUID */
|
|
11837
|
+
id: string;
|
|
11838
|
+
/** @description Workflow version serial ID that was executed */
|
|
11839
|
+
workflow_id: number;
|
|
11840
|
+
/** @description Run status: "idle", "in_progress", "completed", "failed", "canceled" */
|
|
11841
|
+
status: ("canceled" | "completed" | "failed" | "idle" | "in_progress" | "waiting") | null;
|
|
11842
|
+
/**
|
|
11843
|
+
* @description What caused the run: "manual", "automatic", "scheduled"
|
|
11844
|
+
* @enum {string}
|
|
11845
|
+
*/
|
|
11846
|
+
trigger_cause: "automatic" | "manual" | "scheduled";
|
|
11847
|
+
/** @description How long the run took */
|
|
11848
|
+
duration_in_seconds: number | null;
|
|
11849
|
+
run_started_at: string | null;
|
|
11850
|
+
run_ended_at: string | null;
|
|
11851
|
+
/** @description Whether this was a test run */
|
|
11852
|
+
is_test_run: boolean;
|
|
11853
|
+
/** Format: date-time */
|
|
11854
|
+
created_at: string;
|
|
11855
|
+
};
|
|
11856
|
+
ValidateWorkflowPublicOutput: {
|
|
11857
|
+
/** @description Whether the workflow definition is valid (no error-severity issues) */
|
|
11858
|
+
valid: boolean;
|
|
11859
|
+
/** @description List of validation issues found */
|
|
11860
|
+
issues: {
|
|
11861
|
+
/** @description The step ID where the issue was found, if applicable */
|
|
11862
|
+
step_id: string | null;
|
|
11863
|
+
/** @description Description of the validation issue */
|
|
11864
|
+
message: string;
|
|
11865
|
+
/**
|
|
11866
|
+
* @description "error" blocks create/update/activate; "warning" is advisory only
|
|
11867
|
+
* @enum {string}
|
|
11868
|
+
*/
|
|
11869
|
+
severity: "error" | "warning";
|
|
11870
|
+
}[];
|
|
11871
|
+
/** @description List of action types referenced in the workflow */
|
|
11872
|
+
action_types_used: string[];
|
|
11873
|
+
};
|
|
11874
|
+
WorkflowValidationErrorResponse: {
|
|
11875
|
+
/** @constant */
|
|
11876
|
+
statusCode: 400;
|
|
11877
|
+
/** @description Human-readable summary of the validation failure */
|
|
11878
|
+
message: string;
|
|
11879
|
+
error: string;
|
|
11880
|
+
/** @description Structured validation issues — fix each step_id and retry */
|
|
11881
|
+
issues: {
|
|
11882
|
+
/** @description The step ID where the issue was found, if applicable */
|
|
11883
|
+
step_id: string | null;
|
|
11884
|
+
/** @description Description of the validation issue */
|
|
11885
|
+
message: string;
|
|
11886
|
+
/**
|
|
11887
|
+
* @description "error" blocks create/update/activate; "warning" is advisory only
|
|
11888
|
+
* @enum {string}
|
|
11889
|
+
*/
|
|
11890
|
+
severity: "error" | "warning";
|
|
11891
|
+
}[];
|
|
11892
|
+
};
|
|
11893
|
+
FieldSchemaPublicDto: {
|
|
11894
|
+
/** @description Field name (use as key in input object) */
|
|
11895
|
+
name: string;
|
|
11896
|
+
/** @description Field type: text, number, boolean, select, object, array, etc. */
|
|
11897
|
+
type: string;
|
|
11898
|
+
/** @description Human-readable label */
|
|
11899
|
+
display_name: string;
|
|
11900
|
+
/** @description What this field does */
|
|
11901
|
+
description?: string;
|
|
11902
|
+
/** @description Whether this field must be provided */
|
|
11903
|
+
required: boolean;
|
|
11904
|
+
};
|
|
11905
|
+
ActionTypePublicDto: {
|
|
11906
|
+
/** @description Action type identifier (e.g. "ask-ai", "send-webhook"). Use this as the "type" in workflow_blocks. */
|
|
11907
|
+
type: string;
|
|
11908
|
+
/** @description Human-readable name */
|
|
11909
|
+
name: string;
|
|
11910
|
+
/** @description What this action does */
|
|
11911
|
+
description: string;
|
|
11912
|
+
/** @description Action category (e.g. "AI", "Session", "Outbound") */
|
|
11913
|
+
category: string;
|
|
11914
|
+
/** @description Icon name */
|
|
11915
|
+
icon: string;
|
|
11916
|
+
/** @description Input fields this action accepts. Pass these in the "input" object of the workflow block. */
|
|
11917
|
+
input_fields: components["schemas"]["FieldSchemaPublicDto"][] | null;
|
|
11918
|
+
/** @description Output fields this action produces. Reference via {{step_id.field_name}}. */
|
|
11919
|
+
output_fields: components["schemas"]["FieldSchemaPublicDto"][] | null;
|
|
11920
|
+
/** @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. */
|
|
11921
|
+
input_shape: unknown | null;
|
|
11922
|
+
/** @description Raw nested output schema, same shape as input_shape for outputs. */
|
|
11923
|
+
output_shape: unknown | null;
|
|
11924
|
+
/** @description Trigger types this action is compatible with. Filter actions by this when composing a workflow for a specific trigger. Null means compatible with any trigger. */
|
|
11925
|
+
supported_trigger_types: string[] | null;
|
|
11926
|
+
/** @description Whether this action supports being tested in isolation via the dashboard test runner. */
|
|
11927
|
+
can_test: boolean;
|
|
11928
|
+
};
|
|
11929
|
+
TriggerTypePublicDto: {
|
|
11930
|
+
/** @description Trigger type identifier. Use this as the "trigger_type" when creating a workflow. */
|
|
11931
|
+
type: string;
|
|
11932
|
+
/** @description Human-readable name */
|
|
11933
|
+
name: string;
|
|
11934
|
+
/** @description What this trigger does */
|
|
11935
|
+
description: string;
|
|
11936
|
+
/** @description Icon name */
|
|
11937
|
+
icon: string;
|
|
11938
|
+
/** @description Field schema for the trigger payload (the event shape the runtime receives). For triggers whose payload is defined per-workflow (`ai-trigger`, `form-trigger`, `manual-ticket-trigger`), this is empty — the real per-workflow payload contract lives in configuration_def's `Field.JsonSchema`-typed property (aiPayloadShape / formSchema) that the workflow author sets via trigger_configuration. */
|
|
11939
|
+
payload_def: unknown | null;
|
|
11940
|
+
/** @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. */
|
|
11941
|
+
configuration_def: unknown | null;
|
|
11942
|
+
};
|
|
11943
|
+
OperatorPublicDto: {
|
|
11944
|
+
/** @description Operator identifier — use this exact value as "operatorName" in conditions (e.g. "equals", "notEquals", "stringContains"). */
|
|
11945
|
+
name: string;
|
|
11946
|
+
/** @description Human-readable name */
|
|
11947
|
+
display_name: string;
|
|
11948
|
+
/**
|
|
11949
|
+
* @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".
|
|
11950
|
+
* @enum {string}
|
|
11951
|
+
*/
|
|
11952
|
+
type: "Unary" | "Binary" | "Logical";
|
|
11953
|
+
/** @description Field types this operator can be applied to */
|
|
11954
|
+
applies_to: ("String" | "Number" | "Boolean" | "Array" | "Object" | "DateTime" | "LongText" | "Url" | "Email" | "Select" | "LazySelect" | "Code" | "MultiSelect" | "LazyMultiSelect" | "JsonSchema" | "Any" | "AnyObject" | "RichText" | "File" | "PhoneNumber" | "DateOnly" | "CronExpression" | "Integer")[];
|
|
11955
|
+
};
|
|
11956
|
+
WorkflowDefinitionsPublicDto: {
|
|
11957
|
+
/** @description Available action types with their input/output schemas */
|
|
11958
|
+
action_types: components["schemas"]["ActionTypePublicDto"][];
|
|
11959
|
+
/** @description Available trigger types */
|
|
11960
|
+
trigger_types: components["schemas"]["TriggerTypePublicDto"][];
|
|
11961
|
+
/** @description Available control-flow block types */
|
|
11962
|
+
block_types: {
|
|
11963
|
+
type: string;
|
|
11964
|
+
name: string;
|
|
11965
|
+
description: string;
|
|
11966
|
+
}[];
|
|
11967
|
+
/** @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. */
|
|
11968
|
+
operators: components["schemas"]["OperatorPublicDto"][];
|
|
11969
|
+
/** @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. Leaf scopes have no "properties" and are referenced directly, e.g. {{routingSkills}} — a JSON string of every org skill (name + description). */
|
|
11970
|
+
extra_variables: unknown[];
|
|
11971
|
+
};
|
|
11972
|
+
TestWorkflowPublicOutput: {
|
|
11973
|
+
/** @description UUID of the test run — feed into /workflows/:workflow_id/runs/:run_id */
|
|
11974
|
+
run_id: string;
|
|
11975
|
+
};
|
|
11976
|
+
RerunWorkflowRunPublicOutput: {
|
|
11977
|
+
success: boolean;
|
|
11978
|
+
/** @description UUID of the new run when the rerun was kicked off (even if it then failed) */
|
|
11979
|
+
new_run_id?: string;
|
|
11980
|
+
/** @description Failure reason when success is false */
|
|
11981
|
+
error?: string;
|
|
11982
|
+
};
|
|
11983
|
+
OrganizationDto: {
|
|
11984
|
+
/** @description The name of the organization. */
|
|
11985
|
+
name: string;
|
|
11986
|
+
/** @description When the organization was created. */
|
|
11987
|
+
created_at: string | null;
|
|
11988
|
+
/** @description When the organization was last updated. */
|
|
11989
|
+
updated_at: string | null;
|
|
11990
|
+
};
|
|
11991
|
+
SetPhoneAgentCallerNumberOutput: {
|
|
11992
|
+
phone_agent_id: string;
|
|
11993
|
+
caller_number: string | null;
|
|
11994
|
+
};
|
|
11995
|
+
PublicResourceUsageConversationsDto: {
|
|
11996
|
+
conversations: {
|
|
11997
|
+
session_id: string;
|
|
11998
|
+
/** @description Inbox ticket number, if assigned */
|
|
11999
|
+
ticket_number: number | null;
|
|
12000
|
+
/** @description The conversation’s most recent message */
|
|
12001
|
+
last_message: string | null;
|
|
11680
12002
|
/** @description AI replies in this conversation that used the resource */
|
|
11681
12003
|
reply_count: number;
|
|
11682
12004
|
/** @description ISO 8601 timestamp of first use in this conversation */
|
|
@@ -11768,36 +12090,51 @@ export interface components {
|
|
|
11768
12090
|
}[];
|
|
11769
12091
|
total: number;
|
|
11770
12092
|
};
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
description: string | null;
|
|
11776
|
-
/** @description If true, the AI will never auto-apply this tag */
|
|
11777
|
-
exclude_from_auto_tagging: boolean;
|
|
11778
|
-
/** @description Category this tag belongs to, or null if uncategorized */
|
|
11779
|
-
category_id: string | null;
|
|
11780
|
-
/** Format: date-time */
|
|
11781
|
-
created_at: string;
|
|
11782
|
-
/** Format: date-time */
|
|
11783
|
-
updated_at: string;
|
|
12093
|
+
SlackConnectionStatusOutputDto: {
|
|
12094
|
+
connected: boolean;
|
|
12095
|
+
workspace_id: string | null;
|
|
12096
|
+
workspace_name: string | null;
|
|
11784
12097
|
};
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
/**
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
12098
|
+
SlackBotChannelsOutputDto: {
|
|
12099
|
+
connected: boolean;
|
|
12100
|
+
channels: {
|
|
12101
|
+
/** @description Slack channel ID, e.g. C0123456789 */
|
|
12102
|
+
id: string;
|
|
12103
|
+
/** @description Channel name without the leading # */
|
|
12104
|
+
name: string;
|
|
12105
|
+
is_private: boolean;
|
|
12106
|
+
}[];
|
|
12107
|
+
};
|
|
12108
|
+
SlackNotificationSettingsOutputDto: {
|
|
12109
|
+
connected: boolean;
|
|
12110
|
+
/** @description Channel handoff notifications are posted to, or null when they are disabled */
|
|
12111
|
+
notification_channel_id: string | null;
|
|
12112
|
+
notification_channel_name: string | null;
|
|
12113
|
+
/** @description Whether the assigned agent is DMed on assignment and handoff, and @mentioned in the Slack thread */
|
|
12114
|
+
notify_assignee_enabled: boolean;
|
|
12115
|
+
};
|
|
12116
|
+
SlackTagDirectoryOutputDto: {
|
|
12117
|
+
connected: boolean;
|
|
12118
|
+
tag_directory: {
|
|
12119
|
+
[key: string]: {
|
|
12120
|
+
/** @constant */
|
|
12121
|
+
type: "usergroup";
|
|
12122
|
+
id: string;
|
|
12123
|
+
} | {
|
|
12124
|
+
/** @constant */
|
|
12125
|
+
type: "user";
|
|
12126
|
+
id: string;
|
|
12127
|
+
} | {
|
|
12128
|
+
/** @constant */
|
|
12129
|
+
type: "channel";
|
|
12130
|
+
id: string;
|
|
12131
|
+
} | {
|
|
12132
|
+
/** @constant */
|
|
12133
|
+
type: "special";
|
|
12134
|
+
/** @enum {string} */
|
|
12135
|
+
id: "here" | "channel";
|
|
12136
|
+
};
|
|
12137
|
+
};
|
|
11801
12138
|
};
|
|
11802
12139
|
TrainingPublicResponseDto: {
|
|
11803
12140
|
/** @description Unique training ID */
|
|
@@ -11859,7 +12196,7 @@ export interface components {
|
|
|
11859
12196
|
/** Format: email */
|
|
11860
12197
|
email: string;
|
|
11861
12198
|
avatar_url?: string | null;
|
|
11862
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies: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" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
12199
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies: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" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
11863
12200
|
};
|
|
11864
12201
|
OrgUserDetail: {
|
|
11865
12202
|
id: number;
|
|
@@ -11868,7 +12205,7 @@ export interface components {
|
|
|
11868
12205
|
/** Format: email */
|
|
11869
12206
|
email: string;
|
|
11870
12207
|
avatar_url?: string | null;
|
|
11871
|
-
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies: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" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
12208
|
+
permissions?: ("*" | "sessions:read" | "sessions:write" | "sessions-shared-views:read" | "sessions-shared-views:write" | "sessions-create:write" | "sessions-sub-sessions:write" | "contacts:read" | "contacts:write" | "companies:read" | "companies: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" | "workflows:execute" | "actions:read" | "actions:write" | "mini-apps:read" | "mini-apps:write" | "companion:read" | "companion:write" | "redaction:read" | "redaction:write" | "voc:read" | "voc:write" | "audit-logs:read" | "settings:read" | "settings:write" | "settings-general:read" | "settings-general:write" | "settings-billing:read" | "settings-billing:write" | "settings-api-keys:read" | "settings-api-keys:write" | "settings-autopilot:read" | "settings-autopilot:write" | "settings-structured-fields:read" | "settings-structured-fields:write" | "settings-webhooks:read" | "settings-webhooks:write" | "settings-secrets:read" | "settings-secrets:write" | "settings-handoff:read" | "settings-handoff:write" | "settings-translations:read" | "settings-translations:write" | "settings-sso:read" | "settings-sso:write" | "settings-integrations:read" | "settings-integrations:write" | "settings-members:read" | "settings-members:write" | "settings-tags:read" | "settings-tags:write" | "settings-sla:read" | "settings-sla:write" | "settings-csat:read" | "settings-csat:write" | "settings-reports:read" | "settings-reports:write" | "settings-office-hours:read" | "settings-office-hours:write" | "settings-channels:read" | "settings-channels:write" | "settings-channels-voice:read" | "settings-channels-voice:write" | "settings-email-fleet:read" | "settings-email-fleet:write" | "settings-helpdesk:read" | "settings-helpdesk:write" | "settings-custom-statuses:read" | "settings-custom-statuses:write" | "settings-availability-statuses:read" | "settings-availability-statuses:write" | "settings-groups:read" | "settings-groups:write" | "settings-roles:read" | "settings-roles:write" | "settings-macros:read" | "settings-macros:write" | "settings-skills:read" | "settings-skills:write")[] | null;
|
|
11872
12209
|
teams: {
|
|
11873
12210
|
group: components["schemas"]["GroupDto"];
|
|
11874
12211
|
is_user_available_on_group: boolean;
|
|
@@ -11960,251 +12297,11 @@ export interface components {
|
|
|
11960
12297
|
/** @description Dashboard: Customer Insights → Settings → AI Instructions. Org-specific analysis constraints injected into the VOC insights analyzer for future runs. Max 1000 chars. Null means unset. */
|
|
11961
12298
|
custom_analysis_instructions: string | null;
|
|
11962
12299
|
};
|
|
11963
|
-
SlackConnectionStatusOutputDto: {
|
|
11964
|
-
connected: boolean;
|
|
11965
|
-
workspace_id: string | null;
|
|
11966
|
-
workspace_name: string | null;
|
|
11967
|
-
};
|
|
11968
|
-
SlackBotChannelsOutputDto: {
|
|
11969
|
-
connected: boolean;
|
|
11970
|
-
channels: {
|
|
11971
|
-
/** @description Slack channel ID, e.g. C0123456789 */
|
|
11972
|
-
id: string;
|
|
11973
|
-
/** @description Channel name without the leading # */
|
|
11974
|
-
name: string;
|
|
11975
|
-
is_private: boolean;
|
|
11976
|
-
}[];
|
|
11977
|
-
};
|
|
11978
|
-
SlackNotificationSettingsOutputDto: {
|
|
11979
|
-
connected: boolean;
|
|
11980
|
-
/** @description Channel handoff notifications are posted to, or null when they are disabled */
|
|
11981
|
-
notification_channel_id: string | null;
|
|
11982
|
-
notification_channel_name: string | null;
|
|
11983
|
-
/** @description Whether the assigned agent is DMed on assignment and handoff, and @mentioned in the Slack thread */
|
|
11984
|
-
notify_assignee_enabled: boolean;
|
|
11985
|
-
};
|
|
11986
|
-
SlackTagDirectoryOutputDto: {
|
|
11987
|
-
connected: boolean;
|
|
11988
|
-
tag_directory: {
|
|
11989
|
-
[key: string]: {
|
|
11990
|
-
/** @constant */
|
|
11991
|
-
type: "usergroup";
|
|
11992
|
-
id: string;
|
|
11993
|
-
} | {
|
|
11994
|
-
/** @constant */
|
|
11995
|
-
type: "user";
|
|
11996
|
-
id: string;
|
|
11997
|
-
} | {
|
|
11998
|
-
/** @constant */
|
|
11999
|
-
type: "channel";
|
|
12000
|
-
id: string;
|
|
12001
|
-
} | {
|
|
12002
|
-
/** @constant */
|
|
12003
|
-
type: "special";
|
|
12004
|
-
/** @enum {string} */
|
|
12005
|
-
id: "here" | "channel";
|
|
12006
|
-
};
|
|
12007
|
-
};
|
|
12008
|
-
};
|
|
12009
12300
|
SendTemplateOutputDto: {
|
|
12010
12301
|
whatsapp_message_id: string;
|
|
12011
12302
|
opencx_message_id: string;
|
|
12012
12303
|
opencx_session_id: string;
|
|
12013
12304
|
};
|
|
12014
|
-
WorkflowPublicResponseDto: {
|
|
12015
|
-
/** @description Version serial ID */
|
|
12016
|
-
id: number;
|
|
12017
|
-
/** @description Workflow UUID (groups all versions of the same workflow) */
|
|
12018
|
-
workflow_id: string;
|
|
12019
|
-
/** @description Workflow name */
|
|
12020
|
-
name: string;
|
|
12021
|
-
/** @description Workflow description */
|
|
12022
|
-
description: string | null;
|
|
12023
|
-
/** @description Whether this version is currently active */
|
|
12024
|
-
is_active: boolean | null;
|
|
12025
|
-
/** @description Trigger type: "manual-trigger", "ai-trigger", "cron-trigger", "webhook", "form-trigger", or event-based triggers */
|
|
12026
|
-
trigger_type: string;
|
|
12027
|
-
/** @description Version number (increments with each edit) */
|
|
12028
|
-
version_number: number;
|
|
12029
|
-
/** Format: date-time */
|
|
12030
|
-
created_at: string;
|
|
12031
|
-
/** Format: date-time */
|
|
12032
|
-
updated_at: string;
|
|
12033
|
-
};
|
|
12034
|
-
WorkflowDetailPublicResponseDto: {
|
|
12035
|
-
/** @description Version serial ID */
|
|
12036
|
-
id: number;
|
|
12037
|
-
/** @description Workflow UUID (groups all versions of the same workflow) */
|
|
12038
|
-
workflow_id: string;
|
|
12039
|
-
/** @description Workflow name */
|
|
12040
|
-
name: string;
|
|
12041
|
-
/** @description Workflow description */
|
|
12042
|
-
description: string | null;
|
|
12043
|
-
/** @description Whether this version is currently active */
|
|
12044
|
-
is_active: boolean | null;
|
|
12045
|
-
/** @description Trigger type: "manual-trigger", "ai-trigger", "cron-trigger", "webhook", "form-trigger", or event-based triggers */
|
|
12046
|
-
trigger_type: string;
|
|
12047
|
-
/** @description Version number (increments with each edit) */
|
|
12048
|
-
version_number: number;
|
|
12049
|
-
/** Format: date-time */
|
|
12050
|
-
created_at: string;
|
|
12051
|
-
/** Format: date-time */
|
|
12052
|
-
updated_at: string;
|
|
12053
|
-
/** @description Workflow step/block definitions */
|
|
12054
|
-
workflow_blocks: unknown[] | null;
|
|
12055
|
-
/** @description Trigger-specific configuration */
|
|
12056
|
-
trigger_configuration: unknown | null;
|
|
12057
|
-
/** @description Trigger URL for webhook-type workflows. Call this URL (POST) to trigger the workflow. Null for non-webhook workflows. */
|
|
12058
|
-
webhook_url: string | null;
|
|
12059
|
-
};
|
|
12060
|
-
WorkflowRunPublicResponseDto: {
|
|
12061
|
-
/** @description Run UUID */
|
|
12062
|
-
id: string;
|
|
12063
|
-
/** @description Workflow version serial ID that was executed */
|
|
12064
|
-
workflow_id: number;
|
|
12065
|
-
/** @description Run status: "idle", "in_progress", "completed", "failed", "canceled" */
|
|
12066
|
-
status: ("canceled" | "completed" | "failed" | "idle" | "in_progress" | "waiting") | null;
|
|
12067
|
-
/**
|
|
12068
|
-
* @description What caused the run: "manual", "automatic", "scheduled"
|
|
12069
|
-
* @enum {string}
|
|
12070
|
-
*/
|
|
12071
|
-
trigger_cause: "automatic" | "manual" | "scheduled";
|
|
12072
|
-
/** @description How long the run took */
|
|
12073
|
-
duration_in_seconds: number | null;
|
|
12074
|
-
run_started_at: string | null;
|
|
12075
|
-
run_ended_at: string | null;
|
|
12076
|
-
/** @description Whether this was a test run */
|
|
12077
|
-
is_test_run: boolean;
|
|
12078
|
-
/** Format: date-time */
|
|
12079
|
-
created_at: string;
|
|
12080
|
-
};
|
|
12081
|
-
ValidateWorkflowPublicOutput: {
|
|
12082
|
-
/** @description Whether the workflow definition is valid (no error-severity issues) */
|
|
12083
|
-
valid: boolean;
|
|
12084
|
-
/** @description List of validation issues found */
|
|
12085
|
-
issues: {
|
|
12086
|
-
/** @description The step ID where the issue was found, if applicable */
|
|
12087
|
-
step_id: string | null;
|
|
12088
|
-
/** @description Description of the validation issue */
|
|
12089
|
-
message: string;
|
|
12090
|
-
/**
|
|
12091
|
-
* @description "error" blocks create/update/activate; "warning" is advisory only
|
|
12092
|
-
* @enum {string}
|
|
12093
|
-
*/
|
|
12094
|
-
severity: "error" | "warning";
|
|
12095
|
-
}[];
|
|
12096
|
-
/** @description List of action types referenced in the workflow */
|
|
12097
|
-
action_types_used: string[];
|
|
12098
|
-
};
|
|
12099
|
-
WorkflowValidationErrorResponse: {
|
|
12100
|
-
/** @constant */
|
|
12101
|
-
statusCode: 400;
|
|
12102
|
-
/** @description Human-readable summary of the validation failure */
|
|
12103
|
-
message: string;
|
|
12104
|
-
error: string;
|
|
12105
|
-
/** @description Structured validation issues — fix each step_id and retry */
|
|
12106
|
-
issues: {
|
|
12107
|
-
/** @description The step ID where the issue was found, if applicable */
|
|
12108
|
-
step_id: string | null;
|
|
12109
|
-
/** @description Description of the validation issue */
|
|
12110
|
-
message: string;
|
|
12111
|
-
/**
|
|
12112
|
-
* @description "error" blocks create/update/activate; "warning" is advisory only
|
|
12113
|
-
* @enum {string}
|
|
12114
|
-
*/
|
|
12115
|
-
severity: "error" | "warning";
|
|
12116
|
-
}[];
|
|
12117
|
-
};
|
|
12118
|
-
FieldSchemaPublicDto: {
|
|
12119
|
-
/** @description Field name (use as key in input object) */
|
|
12120
|
-
name: string;
|
|
12121
|
-
/** @description Field type: text, number, boolean, select, object, array, etc. */
|
|
12122
|
-
type: string;
|
|
12123
|
-
/** @description Human-readable label */
|
|
12124
|
-
display_name: string;
|
|
12125
|
-
/** @description What this field does */
|
|
12126
|
-
description?: string;
|
|
12127
|
-
/** @description Whether this field must be provided */
|
|
12128
|
-
required: boolean;
|
|
12129
|
-
};
|
|
12130
|
-
ActionTypePublicDto: {
|
|
12131
|
-
/** @description Action type identifier (e.g. "ask-ai", "send-webhook"). Use this as the "type" in workflow_blocks. */
|
|
12132
|
-
type: string;
|
|
12133
|
-
/** @description Human-readable name */
|
|
12134
|
-
name: string;
|
|
12135
|
-
/** @description What this action does */
|
|
12136
|
-
description: string;
|
|
12137
|
-
/** @description Action category (e.g. "AI", "Session", "Outbound") */
|
|
12138
|
-
category: string;
|
|
12139
|
-
/** @description Icon name */
|
|
12140
|
-
icon: string;
|
|
12141
|
-
/** @description Input fields this action accepts. Pass these in the "input" object of the workflow block. */
|
|
12142
|
-
input_fields: components["schemas"]["FieldSchemaPublicDto"][] | null;
|
|
12143
|
-
/** @description Output fields this action produces. Reference via {{step_id.field_name}}. */
|
|
12144
|
-
output_fields: components["schemas"]["FieldSchemaPublicDto"][] | null;
|
|
12145
|
-
/** @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. */
|
|
12146
|
-
input_shape: unknown | null;
|
|
12147
|
-
/** @description Raw nested output schema, same shape as input_shape for outputs. */
|
|
12148
|
-
output_shape: unknown | null;
|
|
12149
|
-
/** @description Trigger types this action is compatible with. Filter actions by this when composing a workflow for a specific trigger. Null means compatible with any trigger. */
|
|
12150
|
-
supported_trigger_types: string[] | null;
|
|
12151
|
-
/** @description Whether this action supports being tested in isolation via the dashboard test runner. */
|
|
12152
|
-
can_test: boolean;
|
|
12153
|
-
};
|
|
12154
|
-
TriggerTypePublicDto: {
|
|
12155
|
-
/** @description Trigger type identifier. Use this as the "trigger_type" when creating a workflow. */
|
|
12156
|
-
type: string;
|
|
12157
|
-
/** @description Human-readable name */
|
|
12158
|
-
name: string;
|
|
12159
|
-
/** @description What this trigger does */
|
|
12160
|
-
description: string;
|
|
12161
|
-
/** @description Icon name */
|
|
12162
|
-
icon: string;
|
|
12163
|
-
/** @description Field schema for the trigger payload (the event shape the runtime receives). For triggers whose payload is defined per-workflow (`ai-trigger`, `form-trigger`, `manual-ticket-trigger`), this is empty — the real per-workflow payload contract lives in configuration_def's `Field.JsonSchema`-typed property (aiPayloadShape / formSchema) that the workflow author sets via trigger_configuration. */
|
|
12164
|
-
payload_def: unknown | null;
|
|
12165
|
-
/** @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. */
|
|
12166
|
-
configuration_def: unknown | null;
|
|
12167
|
-
};
|
|
12168
|
-
OperatorPublicDto: {
|
|
12169
|
-
/** @description Operator identifier — use this exact value as "operatorName" in conditions (e.g. "equals", "notEquals", "stringContains"). */
|
|
12170
|
-
name: string;
|
|
12171
|
-
/** @description Human-readable name */
|
|
12172
|
-
display_name: string;
|
|
12173
|
-
/**
|
|
12174
|
-
* @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".
|
|
12175
|
-
* @enum {string}
|
|
12176
|
-
*/
|
|
12177
|
-
type: "Unary" | "Binary" | "Logical";
|
|
12178
|
-
/** @description Field types this operator can be applied to */
|
|
12179
|
-
applies_to: ("String" | "Number" | "Boolean" | "Array" | "Object" | "DateTime" | "LongText" | "Url" | "Email" | "Select" | "LazySelect" | "Code" | "MultiSelect" | "LazyMultiSelect" | "JsonSchema" | "Any" | "AnyObject" | "RichText" | "File" | "PhoneNumber" | "DateOnly" | "CronExpression" | "Integer")[];
|
|
12180
|
-
};
|
|
12181
|
-
WorkflowDefinitionsPublicDto: {
|
|
12182
|
-
/** @description Available action types with their input/output schemas */
|
|
12183
|
-
action_types: components["schemas"]["ActionTypePublicDto"][];
|
|
12184
|
-
/** @description Available trigger types */
|
|
12185
|
-
trigger_types: components["schemas"]["TriggerTypePublicDto"][];
|
|
12186
|
-
/** @description Available control-flow block types */
|
|
12187
|
-
block_types: {
|
|
12188
|
-
type: string;
|
|
12189
|
-
name: string;
|
|
12190
|
-
description: string;
|
|
12191
|
-
}[];
|
|
12192
|
-
/** @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. */
|
|
12193
|
-
operators: components["schemas"]["OperatorPublicDto"][];
|
|
12194
|
-
/** @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. Leaf scopes have no "properties" and are referenced directly, e.g. {{routingSkills}} — a JSON string of every org skill (name + description). */
|
|
12195
|
-
extra_variables: unknown[];
|
|
12196
|
-
};
|
|
12197
|
-
TestWorkflowPublicOutput: {
|
|
12198
|
-
/** @description UUID of the test run — feed into /workflows/:workflow_id/runs/:run_id */
|
|
12199
|
-
run_id: string;
|
|
12200
|
-
};
|
|
12201
|
-
RerunWorkflowRunPublicOutput: {
|
|
12202
|
-
success: boolean;
|
|
12203
|
-
/** @description UUID of the new run when the rerun was kicked off (even if it then failed) */
|
|
12204
|
-
new_run_id?: string;
|
|
12205
|
-
/** @description Failure reason when success is false */
|
|
12206
|
-
error?: string;
|
|
12207
|
-
};
|
|
12208
12305
|
SyncResultDto: {
|
|
12209
12306
|
changes: {
|
|
12210
12307
|
categories: {
|
|
@@ -12219,20 +12316,82 @@ export interface components {
|
|
|
12219
12316
|
};
|
|
12220
12317
|
};
|
|
12221
12318
|
};
|
|
12222
|
-
HelpCenterListItemDto: {
|
|
12319
|
+
HelpCenterListItemDto: {
|
|
12320
|
+
id: string;
|
|
12321
|
+
name: string;
|
|
12322
|
+
};
|
|
12323
|
+
MediaUploadResponseDto: {
|
|
12324
|
+
/** @description Unique identifier for the stored file. */
|
|
12325
|
+
id: string;
|
|
12326
|
+
/** @description Public URL for the uploaded image. */
|
|
12327
|
+
url: string;
|
|
12328
|
+
};
|
|
12329
|
+
MediaPublicErrorResponseDto: {
|
|
12330
|
+
statusCode: number;
|
|
12331
|
+
message: string;
|
|
12332
|
+
error?: string;
|
|
12333
|
+
};
|
|
12334
|
+
RunReportQueryResponseDto: {
|
|
12335
|
+
rows: {
|
|
12336
|
+
[key: string]: unknown;
|
|
12337
|
+
}[];
|
|
12338
|
+
row_count: number;
|
|
12339
|
+
truncated: boolean;
|
|
12340
|
+
};
|
|
12341
|
+
PartnerOrgDto: {
|
|
12342
|
+
id: string;
|
|
12343
|
+
name: string;
|
|
12344
|
+
external_id: string | null;
|
|
12345
|
+
tags: string[];
|
|
12346
|
+
created_at: string | null;
|
|
12347
|
+
};
|
|
12348
|
+
ListPartnerOrgsResponseDto: {
|
|
12349
|
+
partner: {
|
|
12350
|
+
id: string;
|
|
12351
|
+
name: string;
|
|
12352
|
+
};
|
|
12353
|
+
data: components["schemas"]["PartnerOrgDto"][];
|
|
12354
|
+
total: number;
|
|
12355
|
+
};
|
|
12356
|
+
PartnerOrgHealthDto: {
|
|
12223
12357
|
id: string;
|
|
12224
12358
|
name: string;
|
|
12359
|
+
external_id: string | null;
|
|
12360
|
+
website: string | null;
|
|
12361
|
+
logo_url: string | null;
|
|
12362
|
+
created_at: string | null;
|
|
12363
|
+
tags: string[];
|
|
12364
|
+
health: {
|
|
12365
|
+
/** @enum {string} */
|
|
12366
|
+
status: "healthy" | "setup_incomplete" | "inactive" | "new";
|
|
12367
|
+
members: number;
|
|
12368
|
+
data_sources: number;
|
|
12369
|
+
has_ai_training: boolean;
|
|
12370
|
+
has_actions: boolean;
|
|
12371
|
+
sessions_30d: number;
|
|
12372
|
+
total_sessions: number;
|
|
12373
|
+
last_session_at: string | null;
|
|
12374
|
+
};
|
|
12375
|
+
channels: {
|
|
12376
|
+
chat: boolean;
|
|
12377
|
+
email: boolean;
|
|
12378
|
+
whatsapp: boolean;
|
|
12379
|
+
voice: boolean;
|
|
12380
|
+
};
|
|
12225
12381
|
};
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12382
|
+
SearchPartnerOrgsResponseDto: {
|
|
12383
|
+
partner: {
|
|
12384
|
+
id: string;
|
|
12385
|
+
name: string;
|
|
12386
|
+
};
|
|
12387
|
+
data: components["schemas"]["PartnerOrgHealthDto"][];
|
|
12388
|
+
total: number;
|
|
12389
|
+
limit: number;
|
|
12390
|
+
offset: number;
|
|
12231
12391
|
};
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
message
|
|
12235
|
-
error?: string;
|
|
12392
|
+
SalesforceMiawWebhookResponse: {
|
|
12393
|
+
success: boolean;
|
|
12394
|
+
message?: string;
|
|
12236
12395
|
};
|
|
12237
12396
|
CoworkerTodoItem: {
|
|
12238
12397
|
label: string;
|
|
@@ -15200,6 +15359,244 @@ export interface operations {
|
|
|
15200
15359
|
};
|
|
15201
15360
|
};
|
|
15202
15361
|
};
|
|
15362
|
+
listStructuredFields: {
|
|
15363
|
+
parameters: {
|
|
15364
|
+
query?: never;
|
|
15365
|
+
header?: never;
|
|
15366
|
+
path?: never;
|
|
15367
|
+
cookie?: never;
|
|
15368
|
+
};
|
|
15369
|
+
requestBody?: never;
|
|
15370
|
+
responses: {
|
|
15371
|
+
/** @description Default Response */
|
|
15372
|
+
200: {
|
|
15373
|
+
headers: {
|
|
15374
|
+
[name: string]: unknown;
|
|
15375
|
+
};
|
|
15376
|
+
content: {
|
|
15377
|
+
"application/json": components["schemas"]["StructuredFieldListDto"];
|
|
15378
|
+
};
|
|
15379
|
+
};
|
|
15380
|
+
/** @description Internal Server Error */
|
|
15381
|
+
500: {
|
|
15382
|
+
headers: {
|
|
15383
|
+
[name: string]: unknown;
|
|
15384
|
+
};
|
|
15385
|
+
content: {
|
|
15386
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15387
|
+
};
|
|
15388
|
+
};
|
|
15389
|
+
};
|
|
15390
|
+
};
|
|
15391
|
+
createStructuredField: {
|
|
15392
|
+
parameters: {
|
|
15393
|
+
query?: never;
|
|
15394
|
+
header?: never;
|
|
15395
|
+
path?: never;
|
|
15396
|
+
cookie?: never;
|
|
15397
|
+
};
|
|
15398
|
+
requestBody: {
|
|
15399
|
+
content: {
|
|
15400
|
+
"application/json": components["schemas"]["CreateStructuredFieldDto"];
|
|
15401
|
+
};
|
|
15402
|
+
};
|
|
15403
|
+
responses: {
|
|
15404
|
+
/** @description Default Response */
|
|
15405
|
+
201: {
|
|
15406
|
+
headers: {
|
|
15407
|
+
[name: string]: unknown;
|
|
15408
|
+
};
|
|
15409
|
+
content: {
|
|
15410
|
+
"application/json": components["schemas"]["StructuredFieldTreeDto"];
|
|
15411
|
+
};
|
|
15412
|
+
};
|
|
15413
|
+
/** @description Internal Server Error */
|
|
15414
|
+
500: {
|
|
15415
|
+
headers: {
|
|
15416
|
+
[name: string]: unknown;
|
|
15417
|
+
};
|
|
15418
|
+
content: {
|
|
15419
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15420
|
+
};
|
|
15421
|
+
};
|
|
15422
|
+
};
|
|
15423
|
+
};
|
|
15424
|
+
deleteStructuredField: {
|
|
15425
|
+
parameters: {
|
|
15426
|
+
query?: never;
|
|
15427
|
+
header?: never;
|
|
15428
|
+
path: {
|
|
15429
|
+
/** @description Structured Field ID */
|
|
15430
|
+
fieldId: string;
|
|
15431
|
+
};
|
|
15432
|
+
cookie?: never;
|
|
15433
|
+
};
|
|
15434
|
+
requestBody?: never;
|
|
15435
|
+
responses: {
|
|
15436
|
+
/** @description Default Response */
|
|
15437
|
+
200: {
|
|
15438
|
+
headers: {
|
|
15439
|
+
[name: string]: unknown;
|
|
15440
|
+
};
|
|
15441
|
+
content: {
|
|
15442
|
+
"application/json": components["schemas"]["StructuredFieldsPublicMessageDto"];
|
|
15443
|
+
};
|
|
15444
|
+
};
|
|
15445
|
+
/** @description Internal Server Error */
|
|
15446
|
+
500: {
|
|
15447
|
+
headers: {
|
|
15448
|
+
[name: string]: unknown;
|
|
15449
|
+
};
|
|
15450
|
+
content: {
|
|
15451
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15452
|
+
};
|
|
15453
|
+
};
|
|
15454
|
+
};
|
|
15455
|
+
};
|
|
15456
|
+
updateStructuredField: {
|
|
15457
|
+
parameters: {
|
|
15458
|
+
query?: never;
|
|
15459
|
+
header?: never;
|
|
15460
|
+
path: {
|
|
15461
|
+
/** @description Structured Field ID */
|
|
15462
|
+
fieldId: string;
|
|
15463
|
+
};
|
|
15464
|
+
cookie?: never;
|
|
15465
|
+
};
|
|
15466
|
+
requestBody: {
|
|
15467
|
+
content: {
|
|
15468
|
+
"application/json": components["schemas"]["UpdateStructuredFieldDto"];
|
|
15469
|
+
};
|
|
15470
|
+
};
|
|
15471
|
+
responses: {
|
|
15472
|
+
/** @description Default Response */
|
|
15473
|
+
200: {
|
|
15474
|
+
headers: {
|
|
15475
|
+
[name: string]: unknown;
|
|
15476
|
+
};
|
|
15477
|
+
content: {
|
|
15478
|
+
"application/json": components["schemas"]["StructuredFieldTreeDto"];
|
|
15479
|
+
};
|
|
15480
|
+
};
|
|
15481
|
+
/** @description Internal Server Error */
|
|
15482
|
+
500: {
|
|
15483
|
+
headers: {
|
|
15484
|
+
[name: string]: unknown;
|
|
15485
|
+
};
|
|
15486
|
+
content: {
|
|
15487
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15488
|
+
};
|
|
15489
|
+
};
|
|
15490
|
+
};
|
|
15491
|
+
};
|
|
15492
|
+
createStructuredFieldChoice: {
|
|
15493
|
+
parameters: {
|
|
15494
|
+
query?: never;
|
|
15495
|
+
header?: never;
|
|
15496
|
+
path: {
|
|
15497
|
+
/** @description Structured Field ID */
|
|
15498
|
+
fieldId: string;
|
|
15499
|
+
};
|
|
15500
|
+
cookie?: never;
|
|
15501
|
+
};
|
|
15502
|
+
requestBody: {
|
|
15503
|
+
content: {
|
|
15504
|
+
"application/json": components["schemas"]["CreateStructuredFieldVariantDto"];
|
|
15505
|
+
};
|
|
15506
|
+
};
|
|
15507
|
+
responses: {
|
|
15508
|
+
/** @description Default Response */
|
|
15509
|
+
201: {
|
|
15510
|
+
headers: {
|
|
15511
|
+
[name: string]: unknown;
|
|
15512
|
+
};
|
|
15513
|
+
content: {
|
|
15514
|
+
"application/json": components["schemas"]["StructuredFieldVariantTreeDto"];
|
|
15515
|
+
};
|
|
15516
|
+
};
|
|
15517
|
+
/** @description Internal Server Error */
|
|
15518
|
+
500: {
|
|
15519
|
+
headers: {
|
|
15520
|
+
[name: string]: unknown;
|
|
15521
|
+
};
|
|
15522
|
+
content: {
|
|
15523
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15524
|
+
};
|
|
15525
|
+
};
|
|
15526
|
+
};
|
|
15527
|
+
};
|
|
15528
|
+
deleteStructuredFieldChoice: {
|
|
15529
|
+
parameters: {
|
|
15530
|
+
query?: never;
|
|
15531
|
+
header?: never;
|
|
15532
|
+
path: {
|
|
15533
|
+
/** @description Structured Field ID */
|
|
15534
|
+
fieldId: string;
|
|
15535
|
+
/** @description Choice ID */
|
|
15536
|
+
optionId: string;
|
|
15537
|
+
};
|
|
15538
|
+
cookie?: never;
|
|
15539
|
+
};
|
|
15540
|
+
requestBody?: never;
|
|
15541
|
+
responses: {
|
|
15542
|
+
/** @description Default Response */
|
|
15543
|
+
200: {
|
|
15544
|
+
headers: {
|
|
15545
|
+
[name: string]: unknown;
|
|
15546
|
+
};
|
|
15547
|
+
content: {
|
|
15548
|
+
"application/json": components["schemas"]["StructuredFieldsPublicMessageDto"];
|
|
15549
|
+
};
|
|
15550
|
+
};
|
|
15551
|
+
/** @description Internal Server Error */
|
|
15552
|
+
500: {
|
|
15553
|
+
headers: {
|
|
15554
|
+
[name: string]: unknown;
|
|
15555
|
+
};
|
|
15556
|
+
content: {
|
|
15557
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15558
|
+
};
|
|
15559
|
+
};
|
|
15560
|
+
};
|
|
15561
|
+
};
|
|
15562
|
+
updateStructuredFieldChoice: {
|
|
15563
|
+
parameters: {
|
|
15564
|
+
query?: never;
|
|
15565
|
+
header?: never;
|
|
15566
|
+
path: {
|
|
15567
|
+
/** @description Structured Field ID */
|
|
15568
|
+
fieldId: string;
|
|
15569
|
+
/** @description Choice ID */
|
|
15570
|
+
optionId: string;
|
|
15571
|
+
};
|
|
15572
|
+
cookie?: never;
|
|
15573
|
+
};
|
|
15574
|
+
requestBody: {
|
|
15575
|
+
content: {
|
|
15576
|
+
"application/json": components["schemas"]["UpdateStructuredFieldVariantDto"];
|
|
15577
|
+
};
|
|
15578
|
+
};
|
|
15579
|
+
responses: {
|
|
15580
|
+
/** @description Default Response */
|
|
15581
|
+
200: {
|
|
15582
|
+
headers: {
|
|
15583
|
+
[name: string]: unknown;
|
|
15584
|
+
};
|
|
15585
|
+
content: {
|
|
15586
|
+
"application/json": components["schemas"]["StructuredFieldVariantTreeDto"];
|
|
15587
|
+
};
|
|
15588
|
+
};
|
|
15589
|
+
/** @description Internal Server Error */
|
|
15590
|
+
500: {
|
|
15591
|
+
headers: {
|
|
15592
|
+
[name: string]: unknown;
|
|
15593
|
+
};
|
|
15594
|
+
content: {
|
|
15595
|
+
"application/json": components["schemas"]["ErrorDto"];
|
|
15596
|
+
};
|
|
15597
|
+
};
|
|
15598
|
+
};
|
|
15599
|
+
};
|
|
15203
15600
|
getAutopilotStatus: {
|
|
15204
15601
|
parameters: {
|
|
15205
15602
|
query?: never;
|
|
@@ -22824,7 +23221,7 @@ export interface operations {
|
|
|
22824
23221
|
timezone?: string;
|
|
22825
23222
|
policy_id?: string;
|
|
22826
23223
|
team_id?: string;
|
|
22827
|
-
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review";
|
|
23224
|
+
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review" | "internal";
|
|
22828
23225
|
agent_id?: number;
|
|
22829
23226
|
};
|
|
22830
23227
|
header?: never;
|
|
@@ -22861,7 +23258,7 @@ export interface operations {
|
|
|
22861
23258
|
timezone?: string;
|
|
22862
23259
|
policy_id?: string;
|
|
22863
23260
|
team_id?: string;
|
|
22864
|
-
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review";
|
|
23261
|
+
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review" | "internal";
|
|
22865
23262
|
agent_id?: number;
|
|
22866
23263
|
group_by: "policy" | "team" | "agent" | "channel";
|
|
22867
23264
|
};
|
|
@@ -22899,7 +23296,7 @@ export interface operations {
|
|
|
22899
23296
|
timezone?: string;
|
|
22900
23297
|
policy_id?: string;
|
|
22901
23298
|
team_id?: string;
|
|
22902
|
-
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review";
|
|
23299
|
+
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review" | "internal";
|
|
22903
23300
|
agent_id?: number;
|
|
22904
23301
|
granularity?: "day" | "week";
|
|
22905
23302
|
};
|
|
@@ -22937,7 +23334,7 @@ export interface operations {
|
|
|
22937
23334
|
timezone?: string;
|
|
22938
23335
|
policy_id?: string;
|
|
22939
23336
|
team_id?: string;
|
|
22940
|
-
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review";
|
|
23337
|
+
channel?: "web" | "email" | "phone_voice" | "slack" | "sms" | "whatsapp" | "instagram" | "messenger" | "api" | "web_voice" | "twitter" | "twitter_mentions" | "app_review" | "internal";
|
|
22941
23338
|
agent_id?: number;
|
|
22942
23339
|
};
|
|
22943
23340
|
header?: never;
|