@amigo-ai/platform-sdk 0.5.9 → 0.6.0
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/types/generated/api.d.ts +754 -17
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +48 -0
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +225 -2
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/phone-numbers.d.ts +6 -0
- package/dist/types/resources/phone-numbers.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +60 -0
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +16 -0
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -83,7 +83,7 @@ export interface paths {
|
|
|
83
83
|
* Get Availability
|
|
84
84
|
* @description Return available appointment slots for the surface's workspace.
|
|
85
85
|
*
|
|
86
|
-
* Queries FHIR Slot resources from world.
|
|
86
|
+
* Queries FHIR Slot resources from world.entities that are free and
|
|
87
87
|
* within the requested date range. Token-authenticated, no Bearer auth.
|
|
88
88
|
*/
|
|
89
89
|
get: operations["get-surface-availability"];
|
|
@@ -1573,7 +1573,7 @@ export interface paths {
|
|
|
1573
1573
|
put?: never;
|
|
1574
1574
|
/**
|
|
1575
1575
|
* Create an outbound call
|
|
1576
|
-
* @description Initiate an outbound voice call from a workspace phone number.
|
|
1576
|
+
* @description Initiate an outbound voice call from a workspace phone number. Provide either phone_from (direct caller ID) or use_case_id (channel-manager selects the optimal number). Supports idempotency via the idempotency_key field.
|
|
1577
1577
|
*/
|
|
1578
1578
|
post: operations["create-outbound-call"];
|
|
1579
1579
|
delete?: never;
|
|
@@ -4452,6 +4452,26 @@ export interface paths {
|
|
|
4452
4452
|
patch?: never;
|
|
4453
4453
|
trace?: never;
|
|
4454
4454
|
};
|
|
4455
|
+
"/v1/{workspace_id}/phone-numbers/bind": {
|
|
4456
|
+
parameters: {
|
|
4457
|
+
query?: never;
|
|
4458
|
+
header?: never;
|
|
4459
|
+
path?: never;
|
|
4460
|
+
cookie?: never;
|
|
4461
|
+
};
|
|
4462
|
+
get?: never;
|
|
4463
|
+
put?: never;
|
|
4464
|
+
/**
|
|
4465
|
+
* Bind a channel-manager phone number
|
|
4466
|
+
* @description Register a channel-manager-provisioned phone number in this workspace. Looks up the phone from channel-manager by ID and creates the binding with sub_account_sid for credential resolution. Requires PhoneNumber.create permission.
|
|
4467
|
+
*/
|
|
4468
|
+
post: operations["bind-channel-phone"];
|
|
4469
|
+
delete?: never;
|
|
4470
|
+
options?: never;
|
|
4471
|
+
head?: never;
|
|
4472
|
+
patch?: never;
|
|
4473
|
+
trace?: never;
|
|
4474
|
+
};
|
|
4455
4475
|
"/v1/{workspace_id}/phone-numbers/{phone_number_id}": {
|
|
4456
4476
|
parameters: {
|
|
4457
4477
|
query?: never;
|
|
@@ -6944,7 +6964,7 @@ export interface paths {
|
|
|
6944
6964
|
};
|
|
6945
6965
|
/**
|
|
6946
6966
|
* List Trigger Runs
|
|
6947
|
-
* @description Execution history — query
|
|
6967
|
+
* @description Execution history — query Delta world_events for this trigger's lifecycle events.
|
|
6948
6968
|
*/
|
|
6949
6969
|
get: operations["list_trigger_runs_v1__workspace_id__triggers__trigger_id__runs_get"];
|
|
6950
6970
|
put?: never;
|
|
@@ -7153,10 +7173,10 @@ export interface paths {
|
|
|
7153
7173
|
* Get Voiceprint Status
|
|
7154
7174
|
* @description Check voiceprint enrollment status for any entity.
|
|
7155
7175
|
*
|
|
7156
|
-
* Queries world.
|
|
7176
|
+
* Queries world.entities for voiceprint enrollment status.
|
|
7157
7177
|
* This works for both world entities (patients/practitioners) and identity
|
|
7158
|
-
* entities (developer console users) — the
|
|
7159
|
-
*
|
|
7178
|
+
* entities (developer console users) — the entity state projection is the
|
|
7179
|
+
* read surface (world.events table has been dropped).
|
|
7160
7180
|
*
|
|
7161
7181
|
* Permissions: authenticated (any role).
|
|
7162
7182
|
*/
|
|
@@ -7215,7 +7235,7 @@ export interface paths {
|
|
|
7215
7235
|
};
|
|
7216
7236
|
/**
|
|
7217
7237
|
* List Deliveries
|
|
7218
|
-
* @description Delivery history — query
|
|
7238
|
+
* @description Delivery history — query Delta world_events for this destination's webhook receives.
|
|
7219
7239
|
*/
|
|
7220
7240
|
get: operations["list_deliveries_v1__workspace_id__webhook_destinations__destination_id__deliveries_get"];
|
|
7221
7241
|
put?: never;
|
|
@@ -7720,7 +7740,7 @@ export interface paths {
|
|
|
7720
7740
|
};
|
|
7721
7741
|
/**
|
|
7722
7742
|
* Outbound sync status per data source
|
|
7723
|
-
* @description Multi-sink outbound sync progress. Shows total/synced/failed/pending counts per data source
|
|
7743
|
+
* @description Multi-sink outbound sync progress. Shows total/synced/failed/pending counts per data source. For workspaces with multiple outbound sinks (e.g. Revolution + HubSpot).
|
|
7724
7744
|
*/
|
|
7725
7745
|
get: operations["outbound-sync-by-sink"];
|
|
7726
7746
|
put?: never;
|
|
@@ -8520,6 +8540,18 @@ export interface components {
|
|
|
8520
8540
|
/** S3 Key */
|
|
8521
8541
|
s3_key: string;
|
|
8522
8542
|
};
|
|
8543
|
+
/** AuditSummary */
|
|
8544
|
+
AuditSummary: {
|
|
8545
|
+
/**
|
|
8546
|
+
* Event Count
|
|
8547
|
+
* @default 0
|
|
8548
|
+
*/
|
|
8549
|
+
event_count?: number;
|
|
8550
|
+
/** Latest Event */
|
|
8551
|
+
latest_event?: {
|
|
8552
|
+
[key: string]: unknown;
|
|
8553
|
+
} | null;
|
|
8554
|
+
};
|
|
8523
8555
|
/** AuditSummaryResponse */
|
|
8524
8556
|
AuditSummaryResponse: {
|
|
8525
8557
|
/** Phi Access Events */
|
|
@@ -8878,6 +8910,48 @@ export interface components {
|
|
|
8878
8910
|
*/
|
|
8879
8911
|
workspace_id: string;
|
|
8880
8912
|
};
|
|
8913
|
+
/**
|
|
8914
|
+
* BindChannelPhoneRequest
|
|
8915
|
+
* @description Bind a channel-manager-provisioned phone number to this workspace.
|
|
8916
|
+
*/
|
|
8917
|
+
BindChannelPhoneRequest: {
|
|
8918
|
+
/**
|
|
8919
|
+
* Capabilities
|
|
8920
|
+
* @default [
|
|
8921
|
+
* "inbound",
|
|
8922
|
+
* "outbound"
|
|
8923
|
+
* ]
|
|
8924
|
+
*/
|
|
8925
|
+
capabilities?: string[];
|
|
8926
|
+
/**
|
|
8927
|
+
* Channel Phone Id
|
|
8928
|
+
* Format: uuid
|
|
8929
|
+
* @description Phone number ID from channel-manager
|
|
8930
|
+
*/
|
|
8931
|
+
channel_phone_id: string;
|
|
8932
|
+
/**
|
|
8933
|
+
* Display Name
|
|
8934
|
+
* @default
|
|
8935
|
+
*/
|
|
8936
|
+
display_name?: string;
|
|
8937
|
+
forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
|
|
8938
|
+
/**
|
|
8939
|
+
* Inbound Service Id
|
|
8940
|
+
* @description Voice agent service ID for inbound call routing
|
|
8941
|
+
*/
|
|
8942
|
+
inbound_service_id?: string | null;
|
|
8943
|
+
/**
|
|
8944
|
+
* Notes
|
|
8945
|
+
* @default
|
|
8946
|
+
*/
|
|
8947
|
+
notes?: string;
|
|
8948
|
+
/**
|
|
8949
|
+
* Setup Id
|
|
8950
|
+
* Format: uuid
|
|
8951
|
+
* @description Channel-manager Twilio setup ID that owns the phone number
|
|
8952
|
+
*/
|
|
8953
|
+
setup_id: string;
|
|
8954
|
+
};
|
|
8881
8955
|
/** Body_enroll-voiceprint */
|
|
8882
8956
|
"Body_enroll-voiceprint": {
|
|
8883
8957
|
/** Audio */
|
|
@@ -9105,6 +9179,141 @@ export interface components {
|
|
|
9105
9179
|
/** Title */
|
|
9106
9180
|
title: string;
|
|
9107
9181
|
};
|
|
9182
|
+
/**
|
|
9183
|
+
* CallDetailResponse
|
|
9184
|
+
* @description Full call detail — the canonical response for GET /calls/{call_id}.
|
|
9185
|
+
*
|
|
9186
|
+
* This is the single source of truth for the call detail shape. The OpenAPI
|
|
9187
|
+
* spec is generated from this model. The SDK TypeScript types are generated
|
|
9188
|
+
* from the spec. The developer-console consumes SDK types directly.
|
|
9189
|
+
*/
|
|
9190
|
+
CallDetailResponse: {
|
|
9191
|
+
audit?: components["schemas"]["AuditSummary"] | null;
|
|
9192
|
+
/**
|
|
9193
|
+
* Barge In Events
|
|
9194
|
+
* @default []
|
|
9195
|
+
*/
|
|
9196
|
+
barge_in_events?: components["schemas"]["BargeInEvent"][];
|
|
9197
|
+
/** Call Analysis */
|
|
9198
|
+
call_analysis?: {
|
|
9199
|
+
[key: string]: unknown;
|
|
9200
|
+
} | null;
|
|
9201
|
+
/**
|
|
9202
|
+
* Call Duration Seconds
|
|
9203
|
+
* @default 0
|
|
9204
|
+
*/
|
|
9205
|
+
call_duration_seconds?: number;
|
|
9206
|
+
/** Call End Time */
|
|
9207
|
+
call_end_time?: string | null;
|
|
9208
|
+
/** Call Sid */
|
|
9209
|
+
call_sid?: string | null;
|
|
9210
|
+
/** Call Start Time */
|
|
9211
|
+
call_start_time?: string | null;
|
|
9212
|
+
/** Caller Id */
|
|
9213
|
+
caller_id?: string | null;
|
|
9214
|
+
/** Completion Reason */
|
|
9215
|
+
completion_reason?: ("completed" | "abandoned" | "escalated" | "transferred" | "timeout" | "error" | "voicemail" | "no_answer" | "caller_hangup" | "forwarded" | "terminal_state" | "warm_transfer_completed" | "no_inbound_audio" | "cancelled") | null;
|
|
9216
|
+
/** Conference Sid */
|
|
9217
|
+
conference_sid?: string | null;
|
|
9218
|
+
config?: components["schemas"]["ConversationConfig"] | null;
|
|
9219
|
+
/** Conversation Summary */
|
|
9220
|
+
conversation_summary?: {
|
|
9221
|
+
[key: string]: unknown;
|
|
9222
|
+
} | null;
|
|
9223
|
+
/** Direction */
|
|
9224
|
+
direction?: ("inbound" | "outbound" | "playground" | "simulated" | "test") | null;
|
|
9225
|
+
emotional_summary?: components["schemas"]["EmotionalSummary"] | null;
|
|
9226
|
+
/** Error */
|
|
9227
|
+
error?: string | null;
|
|
9228
|
+
escalation?: components["schemas"]["EscalationState"] | null;
|
|
9229
|
+
/** Final State */
|
|
9230
|
+
final_state?: string | null;
|
|
9231
|
+
/** Fork Turn Index */
|
|
9232
|
+
fork_turn_index?: number | null;
|
|
9233
|
+
forwarding?: components["schemas"]["ForwardingDetails"] | null;
|
|
9234
|
+
/**
|
|
9235
|
+
* Has Recording
|
|
9236
|
+
* @default false
|
|
9237
|
+
*/
|
|
9238
|
+
has_recording?: boolean;
|
|
9239
|
+
/**
|
|
9240
|
+
* Human Segments
|
|
9241
|
+
* @default []
|
|
9242
|
+
*/
|
|
9243
|
+
human_segments?: components["schemas"]["HumanSegment"][];
|
|
9244
|
+
/** Id */
|
|
9245
|
+
id: string;
|
|
9246
|
+
/** Media Start Time */
|
|
9247
|
+
media_start_time?: string | null;
|
|
9248
|
+
/** Parent Session Id */
|
|
9249
|
+
parent_session_id?: string | null;
|
|
9250
|
+
/**
|
|
9251
|
+
* Participants
|
|
9252
|
+
* @default []
|
|
9253
|
+
*/
|
|
9254
|
+
participants?: components["schemas"]["Participant"][];
|
|
9255
|
+
/** Per Turn Accuracy */
|
|
9256
|
+
per_turn_accuracy?: (number | null)[] | null;
|
|
9257
|
+
/** Phone Number */
|
|
9258
|
+
phone_number?: string | null;
|
|
9259
|
+
/** Quality Score */
|
|
9260
|
+
quality_score?: number | null;
|
|
9261
|
+
/** Recording Path */
|
|
9262
|
+
recording_path?: string | null;
|
|
9263
|
+
/** Run Id */
|
|
9264
|
+
run_id?: string | null;
|
|
9265
|
+
safety?: components["schemas"]["SafetyState"] | null;
|
|
9266
|
+
/** Safety Summary */
|
|
9267
|
+
safety_summary?: {
|
|
9268
|
+
[key: string]: unknown;
|
|
9269
|
+
} | null;
|
|
9270
|
+
/** Score */
|
|
9271
|
+
score?: number | null;
|
|
9272
|
+
/** Score Rationale */
|
|
9273
|
+
score_rationale?: string | null;
|
|
9274
|
+
/** Service Id */
|
|
9275
|
+
service_id?: string | null;
|
|
9276
|
+
/** Source */
|
|
9277
|
+
source?: string | null;
|
|
9278
|
+
/**
|
|
9279
|
+
* States Visited
|
|
9280
|
+
* @default []
|
|
9281
|
+
*/
|
|
9282
|
+
states_visited?: string[];
|
|
9283
|
+
/**
|
|
9284
|
+
* Status
|
|
9285
|
+
* @default completed
|
|
9286
|
+
*/
|
|
9287
|
+
status?: string;
|
|
9288
|
+
timeline?: components["schemas"]["PlaybackTimeline"] | null;
|
|
9289
|
+
/** Transcript Accuracy */
|
|
9290
|
+
transcript_accuracy?: number | null;
|
|
9291
|
+
/**
|
|
9292
|
+
* Triggered Behaviors
|
|
9293
|
+
* @default []
|
|
9294
|
+
*/
|
|
9295
|
+
triggered_behaviors?: string[];
|
|
9296
|
+
/**
|
|
9297
|
+
* Turns
|
|
9298
|
+
* @default []
|
|
9299
|
+
*/
|
|
9300
|
+
turns?: components["schemas"]["Turn"][];
|
|
9301
|
+
/** Twilio Recording Duration */
|
|
9302
|
+
twilio_recording_duration?: number | null;
|
|
9303
|
+
/** Twilio Recording Sid */
|
|
9304
|
+
twilio_recording_sid?: string | null;
|
|
9305
|
+
/** Verified Transcript */
|
|
9306
|
+
verified_transcript?: string | null;
|
|
9307
|
+
/** Verified Words */
|
|
9308
|
+
verified_words?: {
|
|
9309
|
+
[key: string]: unknown;
|
|
9310
|
+
}[] | null;
|
|
9311
|
+
/**
|
|
9312
|
+
* Workspace Id
|
|
9313
|
+
* @default
|
|
9314
|
+
*/
|
|
9315
|
+
workspace_id?: string;
|
|
9316
|
+
};
|
|
9108
9317
|
/** CallEndedEvent */
|
|
9109
9318
|
CallEndedEvent: {
|
|
9110
9319
|
/** Call Sid */
|
|
@@ -9884,6 +10093,21 @@ export interface components {
|
|
|
9884
10093
|
*/
|
|
9885
10094
|
type: "compound_emotion";
|
|
9886
10095
|
};
|
|
10096
|
+
/** ConceptMatch */
|
|
10097
|
+
ConceptMatch: {
|
|
10098
|
+
/** Agent Action */
|
|
10099
|
+
agent_action?: string | null;
|
|
10100
|
+
/** Agent Confidence */
|
|
10101
|
+
agent_confidence?: number | null;
|
|
10102
|
+
/** Agent Reasoning */
|
|
10103
|
+
agent_reasoning?: string | null;
|
|
10104
|
+
/** At */
|
|
10105
|
+
at?: string | null;
|
|
10106
|
+
/** Concept */
|
|
10107
|
+
concept: string;
|
|
10108
|
+
/** Similarity */
|
|
10109
|
+
similarity: number;
|
|
10110
|
+
};
|
|
9887
10111
|
/** ConfidenceBucket */
|
|
9888
10112
|
ConfidenceBucket: {
|
|
9889
10113
|
/**
|
|
@@ -9975,7 +10199,7 @@ export interface components {
|
|
|
9975
10199
|
last_ingested_at: string | null;
|
|
9976
10200
|
/**
|
|
9977
10201
|
* Source
|
|
9978
|
-
* @description Operator-defined source identifier as written to
|
|
10202
|
+
* @description Operator-defined source identifier as written to Delta world_events.source (e.g. 'charm', 'careclinic', 'hazel'). Enum-like; never user input.
|
|
9979
10203
|
*/
|
|
9980
10204
|
source: string;
|
|
9981
10205
|
};
|
|
@@ -10209,6 +10433,25 @@ export interface components {
|
|
|
10209
10433
|
/** Workspace Id */
|
|
10210
10434
|
workspace_id: string;
|
|
10211
10435
|
};
|
|
10436
|
+
/** ConversationConfig */
|
|
10437
|
+
ConversationConfig: {
|
|
10438
|
+
/** Agent Id */
|
|
10439
|
+
agent_id?: string | null;
|
|
10440
|
+
/** Agent Name */
|
|
10441
|
+
agent_name?: string | null;
|
|
10442
|
+
/** Agent Version */
|
|
10443
|
+
agent_version?: number | null;
|
|
10444
|
+
/** Context Graph Id */
|
|
10445
|
+
context_graph_id?: string | null;
|
|
10446
|
+
/** Context Graph Version */
|
|
10447
|
+
context_graph_version?: number | null;
|
|
10448
|
+
/** Gpt Audio Model */
|
|
10449
|
+
gpt_audio_model?: string | null;
|
|
10450
|
+
/** Initial State */
|
|
10451
|
+
initial_state?: string | null;
|
|
10452
|
+
/** Navigation Model */
|
|
10453
|
+
navigation_model?: string | null;
|
|
10454
|
+
};
|
|
10212
10455
|
/**
|
|
10213
10456
|
* ConversationSummary
|
|
10214
10457
|
* @description Conversation flow metrics.
|
|
@@ -10638,6 +10881,10 @@ export interface components {
|
|
|
10638
10881
|
/**
|
|
10639
10882
|
* CreateOutboundCallRequest
|
|
10640
10883
|
* @description Request body for creating an outbound call.
|
|
10884
|
+
*
|
|
10885
|
+
* Exactly one of ``phone_from`` or ``use_case_id`` is required.
|
|
10886
|
+
* When ``use_case_id`` is provided, channel-manager selects the optimal
|
|
10887
|
+
* outbound phone number for that use case.
|
|
10641
10888
|
*/
|
|
10642
10889
|
CreateOutboundCallRequest: {
|
|
10643
10890
|
/**
|
|
@@ -10654,7 +10901,7 @@ export interface components {
|
|
|
10654
10901
|
* Phone From
|
|
10655
10902
|
* @description Caller ID phone number in E.164 format. Must belong to this workspace.
|
|
10656
10903
|
*/
|
|
10657
|
-
phone_from
|
|
10904
|
+
phone_from?: string | null;
|
|
10658
10905
|
/**
|
|
10659
10906
|
* Phone To
|
|
10660
10907
|
* @description Destination phone number in E.164 format (e.g. +18005551234)
|
|
@@ -10670,6 +10917,11 @@ export interface components {
|
|
|
10670
10917
|
* @description Optional system prompt override for this call.
|
|
10671
10918
|
*/
|
|
10672
10919
|
system_prompt?: string | null;
|
|
10920
|
+
/**
|
|
10921
|
+
* Use Case Id
|
|
10922
|
+
* @description Channel-manager use case ID. When provided, channel-manager selects the optimal outbound phone number for this use case.
|
|
10923
|
+
*/
|
|
10924
|
+
use_case_id?: string | null;
|
|
10673
10925
|
};
|
|
10674
10926
|
/**
|
|
10675
10927
|
* CreateOutboundCallResponse
|
|
@@ -10681,6 +10933,16 @@ export interface components {
|
|
|
10681
10933
|
* @description Twilio call SID for the outbound call
|
|
10682
10934
|
*/
|
|
10683
10935
|
call_sid: string;
|
|
10936
|
+
/**
|
|
10937
|
+
* Phone From
|
|
10938
|
+
* @description Resolved caller ID when use_case_id was used.
|
|
10939
|
+
*/
|
|
10940
|
+
phone_from?: string | null;
|
|
10941
|
+
/**
|
|
10942
|
+
* Setup Id
|
|
10943
|
+
* @description Channel-manager setup ID when use_case_id was used.
|
|
10944
|
+
*/
|
|
10945
|
+
setup_id?: string | null;
|
|
10684
10946
|
/**
|
|
10685
10947
|
* Status
|
|
10686
10948
|
* @description Initial call status (typically 'queued')
|
|
@@ -10714,6 +10976,8 @@ export interface components {
|
|
|
10714
10976
|
* ]
|
|
10715
10977
|
*/
|
|
10716
10978
|
capabilities?: string[];
|
|
10979
|
+
/** Channel Phone Id */
|
|
10980
|
+
channel_phone_id?: string | null;
|
|
10717
10981
|
/**
|
|
10718
10982
|
* Display Name
|
|
10719
10983
|
* @default
|
|
@@ -10743,6 +11007,8 @@ export interface components {
|
|
|
10743
11007
|
* @enum {string}
|
|
10744
11008
|
*/
|
|
10745
11009
|
status?: "active" | "inactive";
|
|
11010
|
+
/** Sub Account Sid */
|
|
11011
|
+
sub_account_sid?: string | null;
|
|
10746
11012
|
};
|
|
10747
11013
|
/** CreateRunRequest */
|
|
10748
11014
|
CreateRunRequest: {
|
|
@@ -12006,9 +12272,8 @@ export interface components {
|
|
|
12006
12272
|
/**
|
|
12007
12273
|
* Source Type
|
|
12008
12274
|
* @description Category of the audio input
|
|
12009
|
-
* @enum {string}
|
|
12010
12275
|
*/
|
|
12011
|
-
source_type:
|
|
12276
|
+
source_type: string;
|
|
12012
12277
|
};
|
|
12013
12278
|
/**
|
|
12014
12279
|
* DecisionState
|
|
@@ -12607,6 +12872,27 @@ export interface components {
|
|
|
12607
12872
|
*/
|
|
12608
12873
|
trigger?: string | null;
|
|
12609
12874
|
};
|
|
12875
|
+
/** EmotionalSummary */
|
|
12876
|
+
EmotionalSummary: {
|
|
12877
|
+
/** Average Arousal */
|
|
12878
|
+
average_arousal?: number | null;
|
|
12879
|
+
/** Average Valence */
|
|
12880
|
+
average_valence?: number | null;
|
|
12881
|
+
/** Barge In Count */
|
|
12882
|
+
barge_in_count?: number | null;
|
|
12883
|
+
/** Dominant Emotion */
|
|
12884
|
+
dominant_emotion?: string | null;
|
|
12885
|
+
/** Emotional Shifts */
|
|
12886
|
+
emotional_shifts?: number | null;
|
|
12887
|
+
/** Final Trend */
|
|
12888
|
+
final_trend?: string | null;
|
|
12889
|
+
/** Peak Negative Emotion */
|
|
12890
|
+
peak_negative_emotion?: string | null;
|
|
12891
|
+
/** Peak Negative Valence */
|
|
12892
|
+
peak_negative_valence?: number | null;
|
|
12893
|
+
/** Segment Count */
|
|
12894
|
+
segment_count?: number | null;
|
|
12895
|
+
};
|
|
12610
12896
|
/** EmpathyClassifiedEvent */
|
|
12611
12897
|
EmpathyClassifiedEvent: {
|
|
12612
12898
|
/** Empathy Baseline */
|
|
@@ -13419,6 +13705,51 @@ export interface components {
|
|
|
13419
13705
|
*/
|
|
13420
13706
|
workspace_id: string;
|
|
13421
13707
|
};
|
|
13708
|
+
/** EscalationState */
|
|
13709
|
+
EscalationState: {
|
|
13710
|
+
/** Agent Confidence */
|
|
13711
|
+
agent_confidence?: number | null;
|
|
13712
|
+
/** Completed At */
|
|
13713
|
+
completed_at?: string | null;
|
|
13714
|
+
/** Concept */
|
|
13715
|
+
concept?: string | null;
|
|
13716
|
+
/** Connected At */
|
|
13717
|
+
connected_at?: string | null;
|
|
13718
|
+
/** Escalation Id */
|
|
13719
|
+
escalation_id?: string | null;
|
|
13720
|
+
/** Handle Time Seconds */
|
|
13721
|
+
handle_time_seconds?: number | null;
|
|
13722
|
+
/** Human Segment Turn Count */
|
|
13723
|
+
human_segment_turn_count?: number | null;
|
|
13724
|
+
/**
|
|
13725
|
+
* Immediate
|
|
13726
|
+
* @default false
|
|
13727
|
+
*/
|
|
13728
|
+
immediate?: boolean;
|
|
13729
|
+
/** Operator Entity Id */
|
|
13730
|
+
operator_entity_id?: string | null;
|
|
13731
|
+
/** Operator Type */
|
|
13732
|
+
operator_type?: string | null;
|
|
13733
|
+
/** Regulatory Basis */
|
|
13734
|
+
regulatory_basis?: string | null;
|
|
13735
|
+
/** Requested At */
|
|
13736
|
+
requested_at?: string | null;
|
|
13737
|
+
/** Risk Score */
|
|
13738
|
+
risk_score?: number | null;
|
|
13739
|
+
/** Similarity */
|
|
13740
|
+
similarity?: number | null;
|
|
13741
|
+
/**
|
|
13742
|
+
* Status
|
|
13743
|
+
* @enum {string}
|
|
13744
|
+
*/
|
|
13745
|
+
status: "none" | "requested" | "connected" | "handback" | "completed";
|
|
13746
|
+
/** Trigger */
|
|
13747
|
+
trigger?: string | null;
|
|
13748
|
+
/** Trigger Source */
|
|
13749
|
+
trigger_source?: string | null;
|
|
13750
|
+
/** Wait Seconds */
|
|
13751
|
+
wait_seconds?: number | null;
|
|
13752
|
+
};
|
|
13422
13753
|
/** EscalationStatsBucket */
|
|
13423
13754
|
EscalationStatsBucket: {
|
|
13424
13755
|
/** Count */
|
|
@@ -14419,6 +14750,20 @@ export interface components {
|
|
|
14419
14750
|
/** Should Disconnect */
|
|
14420
14751
|
should_disconnect: boolean;
|
|
14421
14752
|
};
|
|
14753
|
+
/** ForwardingDetails */
|
|
14754
|
+
ForwardingDetails: {
|
|
14755
|
+
/** Forward To */
|
|
14756
|
+
forward_to: string;
|
|
14757
|
+
/** Forwarded At */
|
|
14758
|
+
forwarded_at?: string | null;
|
|
14759
|
+
/** Should Disconnect */
|
|
14760
|
+
should_disconnect: boolean;
|
|
14761
|
+
/**
|
|
14762
|
+
* Warm Transfer
|
|
14763
|
+
* @default true
|
|
14764
|
+
*/
|
|
14765
|
+
warm_transfer?: boolean;
|
|
14766
|
+
};
|
|
14422
14767
|
/**
|
|
14423
14768
|
* FunctionCreateRequest
|
|
14424
14769
|
* @description Register a new function. Name must be unique within the workspace.
|
|
@@ -14791,6 +15136,15 @@ export interface components {
|
|
|
14791
15136
|
/** Y1 */
|
|
14792
15137
|
y1: number;
|
|
14793
15138
|
};
|
|
15139
|
+
/** HumanSegment */
|
|
15140
|
+
HumanSegment: {
|
|
15141
|
+
/** Speaker Role */
|
|
15142
|
+
speaker_role: string;
|
|
15143
|
+
/** Timestamp */
|
|
15144
|
+
timestamp?: string | null;
|
|
15145
|
+
/** Transcript */
|
|
15146
|
+
transcript: string;
|
|
15147
|
+
};
|
|
14794
15148
|
/** Identity */
|
|
14795
15149
|
Identity: {
|
|
14796
15150
|
/** Default Spoken Language */
|
|
@@ -15466,6 +15820,21 @@ export interface components {
|
|
|
15466
15820
|
[key: string]: unknown;
|
|
15467
15821
|
};
|
|
15468
15822
|
};
|
|
15823
|
+
/**
|
|
15824
|
+
* LanguageProviderEntry
|
|
15825
|
+
* @description Per-language TTS provider configuration.
|
|
15826
|
+
*/
|
|
15827
|
+
LanguageProviderEntry: {
|
|
15828
|
+
/** Config */
|
|
15829
|
+
config?: {
|
|
15830
|
+
[key: string]: unknown;
|
|
15831
|
+
};
|
|
15832
|
+
/**
|
|
15833
|
+
* Provider
|
|
15834
|
+
* @enum {string}
|
|
15835
|
+
*/
|
|
15836
|
+
provider: "cartesia" | "elevenlabs" | "groq";
|
|
15837
|
+
};
|
|
15469
15838
|
/** LastPollInfo */
|
|
15470
15839
|
LastPollInfo: {
|
|
15471
15840
|
/** At */
|
|
@@ -16052,7 +16421,7 @@ export interface components {
|
|
|
16052
16421
|
ratio_numerator_event?: string | null;
|
|
16053
16422
|
/**
|
|
16054
16423
|
* Source
|
|
16055
|
-
* @description 'call_intelligence' reads from world.call_intelligence table. 'world_events' reads from
|
|
16424
|
+
* @description 'call_intelligence' reads from world.call_intelligence table. 'world_events' reads from Delta world_events. 'surface_events' reads from Delta world_events WHERE domain='surface'.
|
|
16056
16425
|
* @enum {string}
|
|
16057
16426
|
*/
|
|
16058
16427
|
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
@@ -17170,6 +17539,27 @@ export interface components {
|
|
|
17170
17539
|
*/
|
|
17171
17540
|
rows: unknown[][];
|
|
17172
17541
|
};
|
|
17542
|
+
/** Participant */
|
|
17543
|
+
Participant: {
|
|
17544
|
+
/** Display Name */
|
|
17545
|
+
display_name?: string | null;
|
|
17546
|
+
/**
|
|
17547
|
+
* Joined At
|
|
17548
|
+
* Format: date-time
|
|
17549
|
+
*/
|
|
17550
|
+
joined_at: string;
|
|
17551
|
+
/** Left At */
|
|
17552
|
+
left_at?: string | null;
|
|
17553
|
+
/** Participant Id */
|
|
17554
|
+
participant_id: string;
|
|
17555
|
+
/** Phone Number */
|
|
17556
|
+
phone_number?: string | null;
|
|
17557
|
+
/**
|
|
17558
|
+
* Role
|
|
17559
|
+
* @enum {string}
|
|
17560
|
+
*/
|
|
17561
|
+
role: "caller" | "agent" | "operator";
|
|
17562
|
+
};
|
|
17173
17563
|
/** ParticipantJoinedEvent */
|
|
17174
17564
|
ParticipantJoinedEvent: {
|
|
17175
17565
|
/** Conference Sid */
|
|
@@ -17703,6 +18093,8 @@ export interface components {
|
|
|
17703
18093
|
PhoneNumberResponse: {
|
|
17704
18094
|
/** Capabilities */
|
|
17705
18095
|
capabilities: string[];
|
|
18096
|
+
/** Channel Phone Id */
|
|
18097
|
+
channel_phone_id?: string | null;
|
|
17706
18098
|
/**
|
|
17707
18099
|
* Created At
|
|
17708
18100
|
* Format: date-time
|
|
@@ -17856,6 +18248,36 @@ export interface components {
|
|
|
17856
18248
|
*/
|
|
17857
18249
|
event_type: "pipeline.sync_completed";
|
|
17858
18250
|
};
|
|
18251
|
+
/** PlaybackTimeline */
|
|
18252
|
+
PlaybackTimeline: {
|
|
18253
|
+
/** Avg Perceived Latency Ms */
|
|
18254
|
+
avg_perceived_latency_ms?: number | null;
|
|
18255
|
+
/** Avg Processing Gap Ms */
|
|
18256
|
+
avg_processing_gap_ms?: number | null;
|
|
18257
|
+
/** Duration Seconds */
|
|
18258
|
+
duration_seconds: number;
|
|
18259
|
+
/** Max Processing Gap Ms */
|
|
18260
|
+
max_processing_gap_ms?: number | null;
|
|
18261
|
+
/** Segments */
|
|
18262
|
+
segments: components["schemas"]["TimelineSegment"][];
|
|
18263
|
+
/**
|
|
18264
|
+
* Total Agent Speech Seconds
|
|
18265
|
+
* @default 0
|
|
18266
|
+
*/
|
|
18267
|
+
total_agent_speech_seconds?: number;
|
|
18268
|
+
/**
|
|
18269
|
+
* Total Silence Seconds
|
|
18270
|
+
* @default 0
|
|
18271
|
+
*/
|
|
18272
|
+
total_silence_seconds?: number;
|
|
18273
|
+
/**
|
|
18274
|
+
* Total User Speech Seconds
|
|
18275
|
+
* @default 0
|
|
18276
|
+
*/
|
|
18277
|
+
total_user_speech_seconds?: number;
|
|
18278
|
+
/** Turns */
|
|
18279
|
+
turns: components["schemas"]["TurnTimeline"][];
|
|
18280
|
+
};
|
|
17859
18281
|
/** PositiveSignalResponse */
|
|
17860
18282
|
PositiveSignalResponse: {
|
|
17861
18283
|
/** Count */
|
|
@@ -18061,6 +18483,8 @@ export interface components {
|
|
|
18061
18483
|
};
|
|
18062
18484
|
/** PurgeEntityResponse */
|
|
18063
18485
|
PurgeEntityResponse: {
|
|
18486
|
+
/** Delta Events Note */
|
|
18487
|
+
delta_events_note?: string | null;
|
|
18064
18488
|
/** Display Name */
|
|
18065
18489
|
display_name: string | null;
|
|
18066
18490
|
/** Edges Deleted */
|
|
@@ -18837,6 +19261,33 @@ export interface components {
|
|
|
18837
19261
|
*/
|
|
18838
19262
|
triage_hints: string[];
|
|
18839
19263
|
};
|
|
19264
|
+
/** SafetyState */
|
|
19265
|
+
SafetyState: {
|
|
19266
|
+
/**
|
|
19267
|
+
* Concept Matches
|
|
19268
|
+
* @default []
|
|
19269
|
+
*/
|
|
19270
|
+
concept_matches?: components["schemas"]["ConceptMatch"][];
|
|
19271
|
+
/**
|
|
19272
|
+
* Concern Turn Count
|
|
19273
|
+
* @default 0
|
|
19274
|
+
*/
|
|
19275
|
+
concern_turn_count?: number;
|
|
19276
|
+
/**
|
|
19277
|
+
* Peak Concern Level
|
|
19278
|
+
* @default 0
|
|
19279
|
+
*/
|
|
19280
|
+
peak_concern_level?: number;
|
|
19281
|
+
/** Trajectory */
|
|
19282
|
+
trajectory?: string | null;
|
|
19283
|
+
/**
|
|
19284
|
+
* Triage History
|
|
19285
|
+
* @default []
|
|
19286
|
+
*/
|
|
19287
|
+
triage_history?: {
|
|
19288
|
+
[key: string]: unknown;
|
|
19289
|
+
}[];
|
|
19290
|
+
};
|
|
18840
19291
|
/**
|
|
18841
19292
|
* SafetySummary
|
|
18842
19293
|
* @description Safety filter results.
|
|
@@ -19381,6 +19832,10 @@ export interface components {
|
|
|
19381
19832
|
* @default false
|
|
19382
19833
|
*/
|
|
19383
19834
|
forward_call_enabled?: boolean;
|
|
19835
|
+
/** Language Providers */
|
|
19836
|
+
language_providers?: {
|
|
19837
|
+
[key: string]: components["schemas"]["LanguageProviderEntry"];
|
|
19838
|
+
} | null;
|
|
19384
19839
|
/** Max Buffer Delay Ms */
|
|
19385
19840
|
max_buffer_delay_ms?: number | null;
|
|
19386
19841
|
/** Max Response Sentences */
|
|
@@ -19397,8 +19852,14 @@ export interface components {
|
|
|
19397
19852
|
progress_vocabulary?: string[] | null;
|
|
19398
19853
|
/** Transition Deadline Ms */
|
|
19399
19854
|
transition_deadline_ms?: number | null;
|
|
19855
|
+
/** Tts Config */
|
|
19856
|
+
tts_config?: {
|
|
19857
|
+
[key: string]: unknown;
|
|
19858
|
+
} | null;
|
|
19400
19859
|
/** Tts Model */
|
|
19401
19860
|
tts_model?: ("sonic-turbo" | "sonic-3") | null;
|
|
19861
|
+
/** Tts Provider */
|
|
19862
|
+
tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null;
|
|
19402
19863
|
};
|
|
19403
19864
|
/** SessionEndEvent */
|
|
19404
19865
|
SessionEndEvent: {
|
|
@@ -20266,6 +20727,27 @@ export interface components {
|
|
|
20266
20727
|
*/
|
|
20267
20728
|
topic_risk_score?: number;
|
|
20268
20729
|
};
|
|
20730
|
+
/** StateTransition */
|
|
20731
|
+
StateTransition: {
|
|
20732
|
+
/** Annotation */
|
|
20733
|
+
annotation?: string | null;
|
|
20734
|
+
/** From State */
|
|
20735
|
+
readonly from_state: string;
|
|
20736
|
+
/**
|
|
20737
|
+
* Next State
|
|
20738
|
+
* @default
|
|
20739
|
+
*/
|
|
20740
|
+
next_state?: string;
|
|
20741
|
+
/**
|
|
20742
|
+
* Previous State
|
|
20743
|
+
* @default
|
|
20744
|
+
*/
|
|
20745
|
+
previous_state?: string;
|
|
20746
|
+
/** To State */
|
|
20747
|
+
readonly to_state: string;
|
|
20748
|
+
/** Type */
|
|
20749
|
+
type?: string | null;
|
|
20750
|
+
};
|
|
20269
20751
|
/** StateTransitionEvent */
|
|
20270
20752
|
StateTransitionEvent: {
|
|
20271
20753
|
/**
|
|
@@ -21230,6 +21712,83 @@ export interface components {
|
|
|
21230
21712
|
/** Source System */
|
|
21231
21713
|
source_system?: string | null;
|
|
21232
21714
|
};
|
|
21715
|
+
/** TimelineSegment */
|
|
21716
|
+
TimelineSegment: {
|
|
21717
|
+
/** Audio Ttfb Ms */
|
|
21718
|
+
audio_ttfb_ms?: number | null;
|
|
21719
|
+
/** Audio Window End */
|
|
21720
|
+
audio_window_end?: number | null;
|
|
21721
|
+
/** Audio Window Start */
|
|
21722
|
+
audio_window_start?: number | null;
|
|
21723
|
+
/** Duration Ms */
|
|
21724
|
+
duration_ms?: number | null;
|
|
21725
|
+
/** E2E Ttfb Ms */
|
|
21726
|
+
e2e_ttfb_ms?: number | null;
|
|
21727
|
+
/** Emotion */
|
|
21728
|
+
emotion?: string | null;
|
|
21729
|
+
/** End */
|
|
21730
|
+
end: number;
|
|
21731
|
+
/** Engine Ms */
|
|
21732
|
+
engine_ms?: number | null;
|
|
21733
|
+
/** Eot Confidence */
|
|
21734
|
+
eot_confidence?: number | null;
|
|
21735
|
+
/** From State */
|
|
21736
|
+
from_state?: string | null;
|
|
21737
|
+
/** Label */
|
|
21738
|
+
label: string;
|
|
21739
|
+
/** Lane */
|
|
21740
|
+
lane: string;
|
|
21741
|
+
/** Nav Ms */
|
|
21742
|
+
nav_ms?: number | null;
|
|
21743
|
+
/** Render Ms */
|
|
21744
|
+
render_ms?: number | null;
|
|
21745
|
+
/** Start */
|
|
21746
|
+
start: number;
|
|
21747
|
+
/** State */
|
|
21748
|
+
state?: string | null;
|
|
21749
|
+
/** Stt Confidence */
|
|
21750
|
+
stt_confidence?: number | null;
|
|
21751
|
+
/** Succeeded */
|
|
21752
|
+
succeeded?: boolean | null;
|
|
21753
|
+
/** To State */
|
|
21754
|
+
to_state?: string | null;
|
|
21755
|
+
/** Tool Name */
|
|
21756
|
+
tool_name?: string | null;
|
|
21757
|
+
/** Turn Index */
|
|
21758
|
+
turn_index: number;
|
|
21759
|
+
/** Type */
|
|
21760
|
+
type: string;
|
|
21761
|
+
/** Valence */
|
|
21762
|
+
valence?: number | null;
|
|
21763
|
+
};
|
|
21764
|
+
/** ToolCall */
|
|
21765
|
+
ToolCall: {
|
|
21766
|
+
/** Call Id */
|
|
21767
|
+
call_id?: string | null;
|
|
21768
|
+
/** Duration Ms */
|
|
21769
|
+
duration_ms?: number | null;
|
|
21770
|
+
/** Endpoint Name */
|
|
21771
|
+
endpoint_name?: string | null;
|
|
21772
|
+
/** Error Message */
|
|
21773
|
+
error_message?: string | null;
|
|
21774
|
+
/** Input */
|
|
21775
|
+
input?: {
|
|
21776
|
+
[key: string]: unknown;
|
|
21777
|
+
} | null;
|
|
21778
|
+
/** Integration Name */
|
|
21779
|
+
integration_name?: string | null;
|
|
21780
|
+
/** Output */
|
|
21781
|
+
output?: string | null;
|
|
21782
|
+
/** Protocol */
|
|
21783
|
+
protocol?: string | null;
|
|
21784
|
+
/**
|
|
21785
|
+
* Succeeded
|
|
21786
|
+
* @default true
|
|
21787
|
+
*/
|
|
21788
|
+
succeeded?: boolean;
|
|
21789
|
+
/** Tool Name */
|
|
21790
|
+
tool_name: string;
|
|
21791
|
+
};
|
|
21233
21792
|
/** ToolCallCompletedEvent */
|
|
21234
21793
|
ToolCallCompletedEvent: {
|
|
21235
21794
|
/**
|
|
@@ -21933,6 +22492,83 @@ export interface components {
|
|
|
21933
22492
|
*/
|
|
21934
22493
|
triggered_at: string;
|
|
21935
22494
|
};
|
|
22495
|
+
/** Turn */
|
|
22496
|
+
Turn: {
|
|
22497
|
+
/** Agent Action */
|
|
22498
|
+
agent_action?: string | null;
|
|
22499
|
+
/** Agent Speech End Ms */
|
|
22500
|
+
agent_speech_end_ms?: number | null;
|
|
22501
|
+
/** Agent Speech Start Ms */
|
|
22502
|
+
agent_speech_start_ms?: number | null;
|
|
22503
|
+
/** Agent Transcript */
|
|
22504
|
+
agent_transcript?: string | null;
|
|
22505
|
+
/** Audio Ttfb Ms */
|
|
22506
|
+
audio_ttfb_ms?: number | null;
|
|
22507
|
+
/** Audio Window End Ms */
|
|
22508
|
+
audio_window_end_ms?: number | null;
|
|
22509
|
+
/** Audio Window Start Ms */
|
|
22510
|
+
audio_window_start_ms?: number | null;
|
|
22511
|
+
/** Emotion Label */
|
|
22512
|
+
emotion_label?: string | null;
|
|
22513
|
+
/** Emotion Valence */
|
|
22514
|
+
emotion_valence?: number | null;
|
|
22515
|
+
/** Engine Ms */
|
|
22516
|
+
engine_ms?: number | null;
|
|
22517
|
+
/** Eot Confidence */
|
|
22518
|
+
eot_confidence?: number | null;
|
|
22519
|
+
/** Filler Type */
|
|
22520
|
+
filler_type?: string | null;
|
|
22521
|
+
/** Id */
|
|
22522
|
+
id?: string | null;
|
|
22523
|
+
/**
|
|
22524
|
+
* Inner Thoughts
|
|
22525
|
+
* @default []
|
|
22526
|
+
*/
|
|
22527
|
+
inner_thoughts?: string[];
|
|
22528
|
+
/**
|
|
22529
|
+
* Interrupted
|
|
22530
|
+
* @default false
|
|
22531
|
+
*/
|
|
22532
|
+
interrupted?: boolean;
|
|
22533
|
+
/** Nav Ms */
|
|
22534
|
+
nav_ms?: number | null;
|
|
22535
|
+
/** Render Ms */
|
|
22536
|
+
render_ms?: number | null;
|
|
22537
|
+
/** Speaker Id */
|
|
22538
|
+
speaker_id?: string | null;
|
|
22539
|
+
/** Speaker Role */
|
|
22540
|
+
speaker_role?: string | null;
|
|
22541
|
+
/**
|
|
22542
|
+
* State
|
|
22543
|
+
* @default
|
|
22544
|
+
*/
|
|
22545
|
+
state?: string;
|
|
22546
|
+
/**
|
|
22547
|
+
* State Transitions
|
|
22548
|
+
* @default []
|
|
22549
|
+
*/
|
|
22550
|
+
state_transitions?: components["schemas"]["StateTransition"][];
|
|
22551
|
+
/** Stt Confidence */
|
|
22552
|
+
stt_confidence?: number | null;
|
|
22553
|
+
/** Timestamp */
|
|
22554
|
+
timestamp?: string | null;
|
|
22555
|
+
/**
|
|
22556
|
+
* Tool Calls
|
|
22557
|
+
* @default []
|
|
22558
|
+
*/
|
|
22559
|
+
tool_calls?: components["schemas"]["ToolCall"][];
|
|
22560
|
+
/**
|
|
22561
|
+
* Trigger
|
|
22562
|
+
* @default
|
|
22563
|
+
*/
|
|
22564
|
+
trigger?: string;
|
|
22565
|
+
/** User Speech End Ms */
|
|
22566
|
+
user_speech_end_ms?: number | null;
|
|
22567
|
+
/** User Speech Start Ms */
|
|
22568
|
+
user_speech_start_ms?: number | null;
|
|
22569
|
+
/** User Transcript */
|
|
22570
|
+
user_transcript?: string | null;
|
|
22571
|
+
};
|
|
21936
22572
|
/**
|
|
21937
22573
|
* TurnPolicy
|
|
21938
22574
|
* @description Voice pipeline parameters declared per HSM state.
|
|
@@ -21987,6 +22623,17 @@ export interface components {
|
|
|
21987
22623
|
/** Stt Eot Timeout Ms */
|
|
21988
22624
|
stt_eot_timeout_ms?: number | null;
|
|
21989
22625
|
};
|
|
22626
|
+
/** TurnTimeline */
|
|
22627
|
+
TurnTimeline: {
|
|
22628
|
+
/** Active End */
|
|
22629
|
+
active_end: number;
|
|
22630
|
+
/** Active Start */
|
|
22631
|
+
active_start: number;
|
|
22632
|
+
/** Seek To */
|
|
22633
|
+
seek_to: number;
|
|
22634
|
+
/** Turn Index */
|
|
22635
|
+
turn_index: number;
|
|
22636
|
+
};
|
|
21990
22637
|
/** UnificationRuleResponse */
|
|
21991
22638
|
UnificationRuleResponse: {
|
|
21992
22639
|
/** Accuracy */
|
|
@@ -22192,6 +22839,8 @@ export interface components {
|
|
|
22192
22839
|
UpdatePhoneNumberRequest: {
|
|
22193
22840
|
/** Capabilities */
|
|
22194
22841
|
capabilities?: string[] | null;
|
|
22842
|
+
/** Channel Phone Id */
|
|
22843
|
+
channel_phone_id?: string | null;
|
|
22195
22844
|
/** Display Name */
|
|
22196
22845
|
display_name?: string | null;
|
|
22197
22846
|
forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
|
|
@@ -22205,6 +22854,8 @@ export interface components {
|
|
|
22205
22854
|
provider_phone_sid?: string | null;
|
|
22206
22855
|
/** Status */
|
|
22207
22856
|
status?: ("active" | "inactive") | null;
|
|
22857
|
+
/** Sub Account Sid */
|
|
22858
|
+
sub_account_sid?: string | null;
|
|
22208
22859
|
};
|
|
22209
22860
|
/** UpdateSafetyConfigRequest */
|
|
22210
22861
|
UpdateSafetyConfigRequest: {
|
|
@@ -22601,6 +23252,10 @@ export interface components {
|
|
|
22601
23252
|
};
|
|
22602
23253
|
/** VoiceConfig */
|
|
22603
23254
|
VoiceConfig: {
|
|
23255
|
+
/** Language Providers */
|
|
23256
|
+
language_providers?: {
|
|
23257
|
+
[key: string]: components["schemas"]["LanguageProviderEntry"];
|
|
23258
|
+
} | null;
|
|
22604
23259
|
/**
|
|
22605
23260
|
* Similarity Boost
|
|
22606
23261
|
* @default 0
|
|
@@ -22616,6 +23271,12 @@ export interface components {
|
|
|
22616
23271
|
* @default 0
|
|
22617
23272
|
*/
|
|
22618
23273
|
style?: number;
|
|
23274
|
+
/** Tts Config */
|
|
23275
|
+
tts_config?: {
|
|
23276
|
+
[key: string]: unknown;
|
|
23277
|
+
} | null;
|
|
23278
|
+
/** Tts Provider */
|
|
23279
|
+
tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null;
|
|
22619
23280
|
/** Voice Id */
|
|
22620
23281
|
voice_id: string;
|
|
22621
23282
|
};
|
|
@@ -22744,6 +23405,10 @@ export interface components {
|
|
|
22744
23405
|
keyterms?: string[] | null;
|
|
22745
23406
|
/** Language */
|
|
22746
23407
|
language?: string | null;
|
|
23408
|
+
/** Language Providers */
|
|
23409
|
+
language_providers?: {
|
|
23410
|
+
[key: string]: components["schemas"]["LanguageProviderEntry"];
|
|
23411
|
+
} | null;
|
|
22747
23412
|
/** Post Call Analysis Enabled */
|
|
22748
23413
|
post_call_analysis_enabled?: boolean | null;
|
|
22749
23414
|
/** Pronunciation Dict Id */
|
|
@@ -22778,6 +23443,10 @@ export interface components {
|
|
|
22778
23443
|
keyterms: string[];
|
|
22779
23444
|
/** Language */
|
|
22780
23445
|
language: string;
|
|
23446
|
+
/** Language Providers */
|
|
23447
|
+
language_providers?: {
|
|
23448
|
+
[key: string]: components["schemas"]["LanguageProviderEntry"];
|
|
23449
|
+
} | null;
|
|
22781
23450
|
/** Post Call Analysis Enabled */
|
|
22782
23451
|
post_call_analysis_enabled: boolean;
|
|
22783
23452
|
/** Pronunciation Dict Id */
|
|
@@ -27261,6 +27930,13 @@ export interface operations {
|
|
|
27261
27930
|
};
|
|
27262
27931
|
content?: never;
|
|
27263
27932
|
};
|
|
27933
|
+
/** @description No phone number available for use case */
|
|
27934
|
+
404: {
|
|
27935
|
+
headers: {
|
|
27936
|
+
[name: string]: unknown;
|
|
27937
|
+
};
|
|
27938
|
+
content?: never;
|
|
27939
|
+
};
|
|
27264
27940
|
/** @description Validation Error */
|
|
27265
27941
|
422: {
|
|
27266
27942
|
headers: {
|
|
@@ -27284,7 +27960,7 @@ export interface operations {
|
|
|
27284
27960
|
};
|
|
27285
27961
|
content?: never;
|
|
27286
27962
|
};
|
|
27287
|
-
/** @description Voice agent
|
|
27963
|
+
/** @description Voice agent, outbound calls, or channel manager not configured */
|
|
27288
27964
|
503: {
|
|
27289
27965
|
headers: {
|
|
27290
27966
|
[name: string]: unknown;
|
|
@@ -27398,9 +28074,7 @@ export interface operations {
|
|
|
27398
28074
|
[name: string]: unknown;
|
|
27399
28075
|
};
|
|
27400
28076
|
content: {
|
|
27401
|
-
"application/json":
|
|
27402
|
-
[key: string]: unknown;
|
|
27403
|
-
};
|
|
28077
|
+
"application/json": components["schemas"]["CallDetailResponse"];
|
|
27404
28078
|
};
|
|
27405
28079
|
};
|
|
27406
28080
|
/** @description Call not found */
|
|
@@ -33626,6 +34300,69 @@ export interface operations {
|
|
|
33626
34300
|
};
|
|
33627
34301
|
};
|
|
33628
34302
|
};
|
|
34303
|
+
"bind-channel-phone": {
|
|
34304
|
+
parameters: {
|
|
34305
|
+
query?: never;
|
|
34306
|
+
header?: never;
|
|
34307
|
+
path: {
|
|
34308
|
+
workspace_id: string;
|
|
34309
|
+
};
|
|
34310
|
+
cookie?: never;
|
|
34311
|
+
};
|
|
34312
|
+
requestBody: {
|
|
34313
|
+
content: {
|
|
34314
|
+
"application/json": components["schemas"]["BindChannelPhoneRequest"];
|
|
34315
|
+
};
|
|
34316
|
+
};
|
|
34317
|
+
responses: {
|
|
34318
|
+
/** @description Successful Response */
|
|
34319
|
+
201: {
|
|
34320
|
+
headers: {
|
|
34321
|
+
[name: string]: unknown;
|
|
34322
|
+
};
|
|
34323
|
+
content: {
|
|
34324
|
+
"application/json": components["schemas"]["PhoneNumberResponse"];
|
|
34325
|
+
};
|
|
34326
|
+
};
|
|
34327
|
+
/** @description Insufficient permissions. */
|
|
34328
|
+
403: {
|
|
34329
|
+
headers: {
|
|
34330
|
+
[name: string]: unknown;
|
|
34331
|
+
};
|
|
34332
|
+
content?: never;
|
|
34333
|
+
};
|
|
34334
|
+
/** @description Channel phone ID not found in channel-manager. */
|
|
34335
|
+
404: {
|
|
34336
|
+
headers: {
|
|
34337
|
+
[name: string]: unknown;
|
|
34338
|
+
};
|
|
34339
|
+
content?: never;
|
|
34340
|
+
};
|
|
34341
|
+
/** @description Phone number already registered. */
|
|
34342
|
+
409: {
|
|
34343
|
+
headers: {
|
|
34344
|
+
[name: string]: unknown;
|
|
34345
|
+
};
|
|
34346
|
+
content?: never;
|
|
34347
|
+
};
|
|
34348
|
+
/** @description Validation Error */
|
|
34349
|
+
422: {
|
|
34350
|
+
headers: {
|
|
34351
|
+
[name: string]: unknown;
|
|
34352
|
+
};
|
|
34353
|
+
content: {
|
|
34354
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
34355
|
+
};
|
|
34356
|
+
};
|
|
34357
|
+
/** @description Channel manager not configured. */
|
|
34358
|
+
503: {
|
|
34359
|
+
headers: {
|
|
34360
|
+
[name: string]: unknown;
|
|
34361
|
+
};
|
|
34362
|
+
content?: never;
|
|
34363
|
+
};
|
|
34364
|
+
};
|
|
34365
|
+
};
|
|
33629
34366
|
"get-phone-number": {
|
|
33630
34367
|
parameters: {
|
|
33631
34368
|
query?: never;
|