@amigo-ai/platform-sdk 0.5.4 → 0.5.6
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.
|
@@ -1562,6 +1562,26 @@ export interface paths {
|
|
|
1562
1562
|
patch?: never;
|
|
1563
1563
|
trace?: never;
|
|
1564
1564
|
};
|
|
1565
|
+
"/v1/{workspace_id}/calls/outbound": {
|
|
1566
|
+
parameters: {
|
|
1567
|
+
query?: never;
|
|
1568
|
+
header?: never;
|
|
1569
|
+
path?: never;
|
|
1570
|
+
cookie?: never;
|
|
1571
|
+
};
|
|
1572
|
+
get?: never;
|
|
1573
|
+
put?: never;
|
|
1574
|
+
/**
|
|
1575
|
+
* Create an outbound call
|
|
1576
|
+
* @description Initiate an outbound voice call from a workspace phone number. The phone_from number must be registered in this workspace. Supports idempotency via the idempotency_key field.
|
|
1577
|
+
*/
|
|
1578
|
+
post: operations["create-outbound-call"];
|
|
1579
|
+
delete?: never;
|
|
1580
|
+
options?: never;
|
|
1581
|
+
head?: never;
|
|
1582
|
+
patch?: never;
|
|
1583
|
+
trace?: never;
|
|
1584
|
+
};
|
|
1565
1585
|
"/v1/{workspace_id}/calls/phone-volume": {
|
|
1566
1586
|
parameters: {
|
|
1567
1587
|
query?: never;
|
|
@@ -8175,6 +8195,16 @@ export interface components {
|
|
|
8175
8195
|
/** Workspace Id */
|
|
8176
8196
|
workspace_id: string;
|
|
8177
8197
|
};
|
|
8198
|
+
/** AgentTranscriptDeltaEvent */
|
|
8199
|
+
AgentTranscriptDeltaEvent: {
|
|
8200
|
+
/** Delta */
|
|
8201
|
+
delta: string;
|
|
8202
|
+
/**
|
|
8203
|
+
* @description discriminator enum property added by openapi-typescript
|
|
8204
|
+
* @enum {string}
|
|
8205
|
+
*/
|
|
8206
|
+
type: "agent_transcript_delta";
|
|
8207
|
+
};
|
|
8178
8208
|
/** AgentTranscriptEvent */
|
|
8179
8209
|
AgentTranscriptEvent: {
|
|
8180
8210
|
/**
|
|
@@ -8186,7 +8216,7 @@ export interface components {
|
|
|
8186
8216
|
* Filler Type
|
|
8187
8217
|
* @default null
|
|
8188
8218
|
*/
|
|
8189
|
-
filler_type?:
|
|
8219
|
+
filler_type?: ("empathy" | "receipt" | "working") | null;
|
|
8190
8220
|
/**
|
|
8191
8221
|
* Interrupted
|
|
8192
8222
|
* @default false
|
|
@@ -8644,6 +8674,39 @@ export interface components {
|
|
|
8644
8674
|
region?: string | null;
|
|
8645
8675
|
};
|
|
8646
8676
|
BackgroundString: string;
|
|
8677
|
+
/** BargeInEvent */
|
|
8678
|
+
BargeInEvent: {
|
|
8679
|
+
/**
|
|
8680
|
+
* Discarded Texts
|
|
8681
|
+
* @default null
|
|
8682
|
+
*/
|
|
8683
|
+
discarded_texts?: string[] | null;
|
|
8684
|
+
/**
|
|
8685
|
+
* Interrupted Speaker Id
|
|
8686
|
+
* @default null
|
|
8687
|
+
*/
|
|
8688
|
+
interrupted_speaker_id?: string | null;
|
|
8689
|
+
/**
|
|
8690
|
+
* Interrupted Text
|
|
8691
|
+
* @default null
|
|
8692
|
+
*/
|
|
8693
|
+
interrupted_text?: string | null;
|
|
8694
|
+
/**
|
|
8695
|
+
* Interrupting Speaker Id
|
|
8696
|
+
* @default null
|
|
8697
|
+
*/
|
|
8698
|
+
interrupting_speaker_id?: string | null;
|
|
8699
|
+
/**
|
|
8700
|
+
* Total Barge Ins
|
|
8701
|
+
* @default null
|
|
8702
|
+
*/
|
|
8703
|
+
total_barge_ins?: number | null;
|
|
8704
|
+
/**
|
|
8705
|
+
* @description discriminator enum property added by openapi-typescript
|
|
8706
|
+
* @enum {string}
|
|
8707
|
+
*/
|
|
8708
|
+
type: "barge_in";
|
|
8709
|
+
};
|
|
8647
8710
|
/**
|
|
8648
8711
|
* BatchActionResponse
|
|
8649
8712
|
* @description Result of a batch operation.
|
|
@@ -9082,8 +9145,11 @@ export interface components {
|
|
|
9082
9145
|
event_type: "call.escalated";
|
|
9083
9146
|
/** Reason */
|
|
9084
9147
|
reason: string;
|
|
9085
|
-
/**
|
|
9086
|
-
|
|
9148
|
+
/**
|
|
9149
|
+
* Trigger
|
|
9150
|
+
* @enum {string}
|
|
9151
|
+
*/
|
|
9152
|
+
trigger: "caller" | "ai" | "operator";
|
|
9087
9153
|
};
|
|
9088
9154
|
/**
|
|
9089
9155
|
* CallIntelligenceDetail
|
|
@@ -9540,12 +9606,16 @@ export interface components {
|
|
|
9540
9606
|
lower_95?: number | null;
|
|
9541
9607
|
/** Median */
|
|
9542
9608
|
median?: number | null;
|
|
9609
|
+
/** Observed */
|
|
9610
|
+
observed?: number | null;
|
|
9543
9611
|
/** T */
|
|
9544
9612
|
t: number;
|
|
9545
9613
|
/** Upper 95 */
|
|
9546
9614
|
upper_95?: number | null;
|
|
9547
9615
|
/** Workspace Id */
|
|
9548
9616
|
workspace_id: string;
|
|
9617
|
+
/** Ym */
|
|
9618
|
+
ym?: string | null;
|
|
9549
9619
|
};
|
|
9550
9620
|
/** ClusterForecastResponse */
|
|
9551
9621
|
ClusterForecastResponse: {
|
|
@@ -9802,6 +9872,18 @@ export interface components {
|
|
|
9802
9872
|
/** Total Credentials */
|
|
9803
9873
|
total_credentials: number;
|
|
9804
9874
|
};
|
|
9875
|
+
/** CompoundEmotionEvent */
|
|
9876
|
+
CompoundEmotionEvent: {
|
|
9877
|
+
/** Compounds */
|
|
9878
|
+
compounds: components["schemas"]["EmotionScore"][];
|
|
9879
|
+
/** Turn Index */
|
|
9880
|
+
turn_index: number;
|
|
9881
|
+
/**
|
|
9882
|
+
* @description discriminator enum property added by openapi-typescript
|
|
9883
|
+
* @enum {string}
|
|
9884
|
+
*/
|
|
9885
|
+
type: "compound_emotion";
|
|
9886
|
+
};
|
|
9805
9887
|
/** ConfidenceBucket */
|
|
9806
9888
|
ConfidenceBucket: {
|
|
9807
9889
|
/**
|
|
@@ -9824,11 +9906,7 @@ export interface components {
|
|
|
9824
9906
|
};
|
|
9825
9907
|
/**
|
|
9826
9908
|
* ConnectorDef
|
|
9827
|
-
* @description A single connector definition in
|
|
9828
|
-
*
|
|
9829
|
-
* Config is config — no mutable status fields. Health and sync state
|
|
9830
|
-
* are derived from the event stream (Phase 6) or world.data_sources
|
|
9831
|
-
* index (interim).
|
|
9909
|
+
* @description A single connector definition stored in platform.connector_configs.
|
|
9832
9910
|
*/
|
|
9833
9911
|
ConnectorDef: {
|
|
9834
9912
|
/** Connection Config */
|
|
@@ -10557,6 +10635,58 @@ export interface components {
|
|
|
10557
10635
|
*/
|
|
10558
10636
|
type?: "clinical" | "administrative" | "crisis_counselor";
|
|
10559
10637
|
};
|
|
10638
|
+
/**
|
|
10639
|
+
* CreateOutboundCallRequest
|
|
10640
|
+
* @description Request body for creating an outbound call.
|
|
10641
|
+
*/
|
|
10642
|
+
CreateOutboundCallRequest: {
|
|
10643
|
+
/**
|
|
10644
|
+
* Idempotency Key
|
|
10645
|
+
* @description Client-provided idempotency key. Auto-generated if omitted.
|
|
10646
|
+
*/
|
|
10647
|
+
idempotency_key?: string | null;
|
|
10648
|
+
/**
|
|
10649
|
+
* Outbound Task Entity Id
|
|
10650
|
+
* @description World model outbound_task entity ID for completion feedback.
|
|
10651
|
+
*/
|
|
10652
|
+
outbound_task_entity_id?: string | null;
|
|
10653
|
+
/**
|
|
10654
|
+
* Phone From
|
|
10655
|
+
* @description Caller ID phone number in E.164 format. Must belong to this workspace.
|
|
10656
|
+
*/
|
|
10657
|
+
phone_from: string;
|
|
10658
|
+
/**
|
|
10659
|
+
* Phone To
|
|
10660
|
+
* @description Destination phone number in E.164 format (e.g. +18005551234)
|
|
10661
|
+
*/
|
|
10662
|
+
phone_to: string;
|
|
10663
|
+
/**
|
|
10664
|
+
* Service Id
|
|
10665
|
+
* @description Service ID for the voice agent to use.
|
|
10666
|
+
*/
|
|
10667
|
+
service_id?: string | null;
|
|
10668
|
+
/**
|
|
10669
|
+
* System Prompt
|
|
10670
|
+
* @description Optional system prompt override for this call.
|
|
10671
|
+
*/
|
|
10672
|
+
system_prompt?: string | null;
|
|
10673
|
+
};
|
|
10674
|
+
/**
|
|
10675
|
+
* CreateOutboundCallResponse
|
|
10676
|
+
* @description Response from creating an outbound call.
|
|
10677
|
+
*/
|
|
10678
|
+
CreateOutboundCallResponse: {
|
|
10679
|
+
/**
|
|
10680
|
+
* Call Sid
|
|
10681
|
+
* @description Twilio call SID for the outbound call
|
|
10682
|
+
*/
|
|
10683
|
+
call_sid: string;
|
|
10684
|
+
/**
|
|
10685
|
+
* Status
|
|
10686
|
+
* @description Initial call status (typically 'queued')
|
|
10687
|
+
*/
|
|
10688
|
+
status: string;
|
|
10689
|
+
};
|
|
10560
10690
|
/** CreatePersonaRequest */
|
|
10561
10691
|
CreatePersonaRequest: {
|
|
10562
10692
|
/** @default */
|
|
@@ -12289,6 +12419,128 @@ export interface components {
|
|
|
12289
12419
|
/** Region */
|
|
12290
12420
|
region: string;
|
|
12291
12421
|
};
|
|
12422
|
+
/** EmotionBurst */
|
|
12423
|
+
EmotionBurst: {
|
|
12424
|
+
/** Score */
|
|
12425
|
+
score: number;
|
|
12426
|
+
/** Type */
|
|
12427
|
+
type: string;
|
|
12428
|
+
};
|
|
12429
|
+
/** EmotionEvent */
|
|
12430
|
+
EmotionEvent: {
|
|
12431
|
+
/** Arousal */
|
|
12432
|
+
arousal: number;
|
|
12433
|
+
/**
|
|
12434
|
+
* Barge In Count
|
|
12435
|
+
* @default 0
|
|
12436
|
+
*/
|
|
12437
|
+
barge_in_count?: number;
|
|
12438
|
+
/**
|
|
12439
|
+
* Call Duration S
|
|
12440
|
+
* @default null
|
|
12441
|
+
*/
|
|
12442
|
+
call_duration_s?: number | null;
|
|
12443
|
+
/**
|
|
12444
|
+
* Coherence
|
|
12445
|
+
* @default null
|
|
12446
|
+
*/
|
|
12447
|
+
coherence?: number | null;
|
|
12448
|
+
/**
|
|
12449
|
+
* Dominance
|
|
12450
|
+
* @default null
|
|
12451
|
+
*/
|
|
12452
|
+
dominance?: number | null;
|
|
12453
|
+
/** Dominant */
|
|
12454
|
+
dominant: string;
|
|
12455
|
+
/**
|
|
12456
|
+
* Emotional Shifts
|
|
12457
|
+
* @default null
|
|
12458
|
+
*/
|
|
12459
|
+
emotional_shifts?: number | null;
|
|
12460
|
+
/**
|
|
12461
|
+
* Language Sentiment
|
|
12462
|
+
* @default null
|
|
12463
|
+
*/
|
|
12464
|
+
language_sentiment?: number | null;
|
|
12465
|
+
/**
|
|
12466
|
+
* Language Toxicity
|
|
12467
|
+
* @default null
|
|
12468
|
+
*/
|
|
12469
|
+
language_toxicity?: {
|
|
12470
|
+
[key: string]: number;
|
|
12471
|
+
} | null;
|
|
12472
|
+
/**
|
|
12473
|
+
* Provider
|
|
12474
|
+
* @default null
|
|
12475
|
+
*/
|
|
12476
|
+
provider?: string | null;
|
|
12477
|
+
/**
|
|
12478
|
+
* Recent Bursts
|
|
12479
|
+
* @default null
|
|
12480
|
+
*/
|
|
12481
|
+
recent_bursts?: components["schemas"]["EmotionBurst"][] | null;
|
|
12482
|
+
/**
|
|
12483
|
+
* Scores
|
|
12484
|
+
* @default null
|
|
12485
|
+
*/
|
|
12486
|
+
scores?: components["schemas"]["EmotionScore"][] | null;
|
|
12487
|
+
/**
|
|
12488
|
+
* Segment Arousal
|
|
12489
|
+
* @default null
|
|
12490
|
+
*/
|
|
12491
|
+
segment_arousal?: number | null;
|
|
12492
|
+
/**
|
|
12493
|
+
* Segment Dominant
|
|
12494
|
+
* @default null
|
|
12495
|
+
*/
|
|
12496
|
+
segment_dominant?: string | null;
|
|
12497
|
+
/**
|
|
12498
|
+
* Segment Valence
|
|
12499
|
+
* @default null
|
|
12500
|
+
*/
|
|
12501
|
+
segment_valence?: number | null;
|
|
12502
|
+
/** @default null */
|
|
12503
|
+
speaker?: components["schemas"]["SpeakerAcoustics"] | null;
|
|
12504
|
+
/**
|
|
12505
|
+
* Speaker Similarity
|
|
12506
|
+
* @default null
|
|
12507
|
+
*/
|
|
12508
|
+
speaker_similarity?: number | null;
|
|
12509
|
+
/**
|
|
12510
|
+
* Total Segments
|
|
12511
|
+
* @default null
|
|
12512
|
+
*/
|
|
12513
|
+
total_segments?: number | null;
|
|
12514
|
+
/**
|
|
12515
|
+
* Trend
|
|
12516
|
+
* @default null
|
|
12517
|
+
*/
|
|
12518
|
+
trend?: ("improving" | "stable" | "deteriorating") | null;
|
|
12519
|
+
/**
|
|
12520
|
+
* Turn Count
|
|
12521
|
+
* @default null
|
|
12522
|
+
*/
|
|
12523
|
+
turn_count?: number | null;
|
|
12524
|
+
/**
|
|
12525
|
+
* @description discriminator enum property added by openapi-typescript
|
|
12526
|
+
* @enum {string}
|
|
12527
|
+
*/
|
|
12528
|
+
type: "emotion";
|
|
12529
|
+
/** Valence */
|
|
12530
|
+
valence: number;
|
|
12531
|
+
/**
|
|
12532
|
+
* Verified Speaker Id
|
|
12533
|
+
* @default null
|
|
12534
|
+
*/
|
|
12535
|
+
verified_speaker_id?: string | null;
|
|
12536
|
+
};
|
|
12537
|
+
/** EmotionScore */
|
|
12538
|
+
EmotionScore: {
|
|
12539
|
+
/** Name */
|
|
12540
|
+
name: string;
|
|
12541
|
+
/** Score */
|
|
12542
|
+
score: number;
|
|
12543
|
+
};
|
|
12292
12544
|
/**
|
|
12293
12545
|
* EmotionSummary
|
|
12294
12546
|
* @description Aggregated emotional analysis across the call.
|
|
@@ -12355,6 +12607,44 @@ export interface components {
|
|
|
12355
12607
|
*/
|
|
12356
12608
|
trigger?: string | null;
|
|
12357
12609
|
};
|
|
12610
|
+
/** EmpathyClassifiedEvent */
|
|
12611
|
+
EmpathyClassifiedEvent: {
|
|
12612
|
+
/** Empathy Baseline */
|
|
12613
|
+
empathy_baseline: number;
|
|
12614
|
+
/**
|
|
12615
|
+
* Filler Type
|
|
12616
|
+
* @enum {string}
|
|
12617
|
+
*/
|
|
12618
|
+
filler_type: "empathy" | "receipt" | "working";
|
|
12619
|
+
/** Should Pause */
|
|
12620
|
+
should_pause: boolean;
|
|
12621
|
+
/** Suppress Filler */
|
|
12622
|
+
suppress_filler: boolean;
|
|
12623
|
+
/** Tier */
|
|
12624
|
+
tier: number;
|
|
12625
|
+
/**
|
|
12626
|
+
* Tier Name
|
|
12627
|
+
* @enum {string}
|
|
12628
|
+
*/
|
|
12629
|
+
tier_name: "FUNCTIONAL" | "LIGHT_TOUCH" | "FULL_EMPATHY" | "HOLD_SPACE";
|
|
12630
|
+
/**
|
|
12631
|
+
* @description discriminator enum property added by openapi-typescript
|
|
12632
|
+
* @enum {string}
|
|
12633
|
+
*/
|
|
12634
|
+
type: "empathy_classified";
|
|
12635
|
+
};
|
|
12636
|
+
/** EncounterUpdatedEvent */
|
|
12637
|
+
EncounterUpdatedEvent: {
|
|
12638
|
+
/** Encounter Entity Id */
|
|
12639
|
+
encounter_entity_id: string;
|
|
12640
|
+
/**
|
|
12641
|
+
* @description discriminator enum property added by openapi-typescript
|
|
12642
|
+
* @enum {string}
|
|
12643
|
+
*/
|
|
12644
|
+
event_type: "encounter.updated";
|
|
12645
|
+
/** Session Id */
|
|
12646
|
+
session_id: string;
|
|
12647
|
+
};
|
|
12358
12648
|
/**
|
|
12359
12649
|
* EndpointConfig
|
|
12360
12650
|
* @description Configuration for a single integration endpoint.
|
|
@@ -14679,7 +14969,7 @@ export interface components {
|
|
|
14679
14969
|
* @description Communication protocol
|
|
14680
14970
|
* @enum {string}
|
|
14681
14971
|
*/
|
|
14682
|
-
protocol: "rest" | "fhir" | "mcp";
|
|
14972
|
+
protocol: "rest" | "fhir" | "mcp" | "desktop";
|
|
14683
14973
|
/**
|
|
14684
14974
|
* Updated At
|
|
14685
14975
|
* Format: date-time
|
|
@@ -15153,6 +15443,31 @@ export interface components {
|
|
|
15153
15443
|
*/
|
|
15154
15444
|
event_count?: number;
|
|
15155
15445
|
};
|
|
15446
|
+
/** LatencyEvent */
|
|
15447
|
+
LatencyEvent: {
|
|
15448
|
+
/** Audio Ttfb Ms */
|
|
15449
|
+
audio_ttfb_ms: number;
|
|
15450
|
+
/** Continuation */
|
|
15451
|
+
continuation: boolean;
|
|
15452
|
+
/** E2E Ttfb Ms */
|
|
15453
|
+
e2e_ttfb_ms: number;
|
|
15454
|
+
/** Engine Ms */
|
|
15455
|
+
engine_ms: number;
|
|
15456
|
+
/**
|
|
15457
|
+
* Is Greeting
|
|
15458
|
+
* @default false
|
|
15459
|
+
*/
|
|
15460
|
+
is_greeting?: boolean;
|
|
15461
|
+
/** Nav Ms */
|
|
15462
|
+
nav_ms: number;
|
|
15463
|
+
/** Render Ms */
|
|
15464
|
+
render_ms: number;
|
|
15465
|
+
/**
|
|
15466
|
+
* @description discriminator enum property added by openapi-typescript
|
|
15467
|
+
* @enum {string}
|
|
15468
|
+
*/
|
|
15469
|
+
type: "latency";
|
|
15470
|
+
};
|
|
15156
15471
|
/**
|
|
15157
15472
|
* LatencySummary
|
|
15158
15473
|
* @description Audio latency and silence metrics.
|
|
@@ -15841,6 +16156,75 @@ export interface components {
|
|
|
15841
16156
|
workspace_id: string;
|
|
15842
16157
|
};
|
|
15843
16158
|
NameString: string;
|
|
16159
|
+
/** NarrativeUpdatedEvent */
|
|
16160
|
+
NarrativeUpdatedEvent: {
|
|
16161
|
+
/** Confidence */
|
|
16162
|
+
confidence: number;
|
|
16163
|
+
/** Event Count */
|
|
16164
|
+
event_count: number;
|
|
16165
|
+
/** Event Id */
|
|
16166
|
+
event_id: string;
|
|
16167
|
+
/**
|
|
16168
|
+
* @description discriminator enum property added by openapi-typescript
|
|
16169
|
+
* @enum {string}
|
|
16170
|
+
*/
|
|
16171
|
+
event_type: "self_image.brief_generated";
|
|
16172
|
+
/** Target Entity Id */
|
|
16173
|
+
target_entity_id: string;
|
|
16174
|
+
/** Target Entity Type */
|
|
16175
|
+
target_entity_type: string;
|
|
16176
|
+
/** Version */
|
|
16177
|
+
version: string;
|
|
16178
|
+
};
|
|
16179
|
+
/** NavTimingEvent */
|
|
16180
|
+
NavTimingEvent: {
|
|
16181
|
+
/**
|
|
16182
|
+
* Input Tokens
|
|
16183
|
+
* @default null
|
|
16184
|
+
*/
|
|
16185
|
+
input_tokens?: number | null;
|
|
16186
|
+
/**
|
|
16187
|
+
* Model
|
|
16188
|
+
* @default null
|
|
16189
|
+
*/
|
|
16190
|
+
model?: string | null;
|
|
16191
|
+
/** Nav Ms */
|
|
16192
|
+
nav_ms: number;
|
|
16193
|
+
/**
|
|
16194
|
+
* Output Tokens
|
|
16195
|
+
* @default null
|
|
16196
|
+
*/
|
|
16197
|
+
output_tokens?: number | null;
|
|
16198
|
+
/** Render Ms */
|
|
16199
|
+
render_ms: number;
|
|
16200
|
+
/**
|
|
16201
|
+
* Retry Attempts
|
|
16202
|
+
* @default null
|
|
16203
|
+
*/
|
|
16204
|
+
retry_attempts?: number | null;
|
|
16205
|
+
/**
|
|
16206
|
+
* Selected Action
|
|
16207
|
+
* @default null
|
|
16208
|
+
*/
|
|
16209
|
+
selected_action?: string | null;
|
|
16210
|
+
/**
|
|
16211
|
+
* State
|
|
16212
|
+
* @default null
|
|
16213
|
+
*/
|
|
16214
|
+
state?: string | null;
|
|
16215
|
+
/** Total Ms */
|
|
16216
|
+
total_ms: number;
|
|
16217
|
+
/**
|
|
16218
|
+
* @description discriminator enum property added by openapi-typescript
|
|
16219
|
+
* @enum {string}
|
|
16220
|
+
*/
|
|
16221
|
+
type: "nav_timing";
|
|
16222
|
+
/**
|
|
16223
|
+
* Used Fallback
|
|
16224
|
+
* @default null
|
|
16225
|
+
*/
|
|
16226
|
+
used_fallback?: boolean | null;
|
|
16227
|
+
};
|
|
15844
16228
|
/** NonDesiredState */
|
|
15845
16229
|
NonDesiredState: {
|
|
15846
16230
|
/**
|
|
@@ -15892,7 +16276,7 @@ export interface components {
|
|
|
15892
16276
|
/** Smoking */
|
|
15893
16277
|
smoking: components["schemas"]["NoteRollupCategoryEntry"][];
|
|
15894
16278
|
};
|
|
15895
|
-
ObserverSSEEvent: components["schemas"]["
|
|
16279
|
+
ObserverSSEEvent: components["schemas"]["AgentTranscriptDeltaEvent"] | components["schemas"]["AgentTranscriptEvent"] | components["schemas"]["BargeInEvent"] | components["schemas"]["CompoundEmotionEvent"] | components["schemas"]["EmotionEvent"] | components["schemas"]["EmpathyClassifiedEvent"] | components["schemas"]["ForwardCallResolvedEvent"] | components["schemas"]["LatencyEvent"] | components["schemas"]["NavTimingEvent"] | components["schemas"]["ParticipantJoinedEvent"] | components["schemas"]["ParticipantLeftEvent"] | components["schemas"]["SessionEndEvent"] | components["schemas"]["SessionInfoEvent"] | components["schemas"]["SessionStartEvent"] | components["schemas"]["SpeakerMutedEvent"] | components["schemas"]["StateTransitionEvent"] | components["schemas"]["ToolCallCompletedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["UserTranscriptEvent"] | components["schemas"]["VoiceContextAppliedEvent"];
|
|
15896
16280
|
/** OcrRequest */
|
|
15897
16281
|
OcrRequest: {
|
|
15898
16282
|
/**
|
|
@@ -15932,8 +16316,11 @@ export interface components {
|
|
|
15932
16316
|
* @enum {string}
|
|
15933
16317
|
*/
|
|
15934
16318
|
event_type: "operator.joined_call";
|
|
15935
|
-
/**
|
|
15936
|
-
|
|
16319
|
+
/**
|
|
16320
|
+
* Mode
|
|
16321
|
+
* @enum {string}
|
|
16322
|
+
*/
|
|
16323
|
+
mode: "listen" | "takeover";
|
|
15937
16324
|
/** Operator Id */
|
|
15938
16325
|
operator_id: string;
|
|
15939
16326
|
};
|
|
@@ -15963,8 +16350,11 @@ export interface components {
|
|
|
15963
16350
|
* @enum {string}
|
|
15964
16351
|
*/
|
|
15965
16352
|
event_type: "operator.mode_changed";
|
|
15966
|
-
/**
|
|
15967
|
-
|
|
16353
|
+
/**
|
|
16354
|
+
* Mode
|
|
16355
|
+
* @enum {string}
|
|
16356
|
+
*/
|
|
16357
|
+
mode: "listen" | "takeover";
|
|
15968
16358
|
/** Operator Id */
|
|
15969
16359
|
operator_id: string;
|
|
15970
16360
|
};
|
|
@@ -16210,9 +16600,12 @@ export interface components {
|
|
|
16210
16600
|
event_type: "operator.status_changed";
|
|
16211
16601
|
/** Operator Id */
|
|
16212
16602
|
operator_id: string;
|
|
16213
|
-
/**
|
|
16214
|
-
|
|
16215
|
-
|
|
16603
|
+
/**
|
|
16604
|
+
* Status
|
|
16605
|
+
* @enum {string}
|
|
16606
|
+
*/
|
|
16607
|
+
status: "online" | "busy" | "offline";
|
|
16608
|
+
};
|
|
16216
16609
|
/** OperatorStatusCounts */
|
|
16217
16610
|
OperatorStatusCounts: {
|
|
16218
16611
|
/** Busy */
|
|
@@ -16735,6 +17128,75 @@ export interface components {
|
|
|
16735
17128
|
*/
|
|
16736
17129
|
rows: unknown[][];
|
|
16737
17130
|
};
|
|
17131
|
+
/** ParticipantJoinedEvent */
|
|
17132
|
+
ParticipantJoinedEvent: {
|
|
17133
|
+
/** Conference Sid */
|
|
17134
|
+
conference_sid: string;
|
|
17135
|
+
/**
|
|
17136
|
+
* Display Name
|
|
17137
|
+
* @default null
|
|
17138
|
+
*/
|
|
17139
|
+
display_name?: string | null;
|
|
17140
|
+
/**
|
|
17141
|
+
* Operator Entity Id
|
|
17142
|
+
* @default null
|
|
17143
|
+
*/
|
|
17144
|
+
operator_entity_id?: string | null;
|
|
17145
|
+
/** Participant Id */
|
|
17146
|
+
participant_id: string;
|
|
17147
|
+
/**
|
|
17148
|
+
* Participant Name
|
|
17149
|
+
* @default null
|
|
17150
|
+
*/
|
|
17151
|
+
participant_name?: string | null;
|
|
17152
|
+
/**
|
|
17153
|
+
* Participant Role
|
|
17154
|
+
* @enum {string}
|
|
17155
|
+
*/
|
|
17156
|
+
participant_role: "caller" | "agent" | "operator";
|
|
17157
|
+
/**
|
|
17158
|
+
* Phone Number
|
|
17159
|
+
* @default null
|
|
17160
|
+
*/
|
|
17161
|
+
phone_number?: string | null;
|
|
17162
|
+
/**
|
|
17163
|
+
* @description discriminator enum property added by openapi-typescript
|
|
17164
|
+
* @enum {string}
|
|
17165
|
+
*/
|
|
17166
|
+
type: "participant_joined";
|
|
17167
|
+
};
|
|
17168
|
+
/** ParticipantLeftEvent */
|
|
17169
|
+
ParticipantLeftEvent: {
|
|
17170
|
+
/** Conference Sid */
|
|
17171
|
+
conference_sid: string;
|
|
17172
|
+
/**
|
|
17173
|
+
* Display Name
|
|
17174
|
+
* @default null
|
|
17175
|
+
*/
|
|
17176
|
+
display_name?: string | null;
|
|
17177
|
+
/**
|
|
17178
|
+
* Operator Entity Id
|
|
17179
|
+
* @default null
|
|
17180
|
+
*/
|
|
17181
|
+
operator_entity_id?: string | null;
|
|
17182
|
+
/** Participant Id */
|
|
17183
|
+
participant_id: string;
|
|
17184
|
+
/**
|
|
17185
|
+
* Participant Role
|
|
17186
|
+
* @enum {string}
|
|
17187
|
+
*/
|
|
17188
|
+
participant_role: "caller" | "agent" | "operator";
|
|
17189
|
+
/**
|
|
17190
|
+
* Phone Number
|
|
17191
|
+
* @default null
|
|
17192
|
+
*/
|
|
17193
|
+
phone_number?: string | null;
|
|
17194
|
+
/**
|
|
17195
|
+
* @description discriminator enum property added by openapi-typescript
|
|
17196
|
+
* @enum {string}
|
|
17197
|
+
*/
|
|
17198
|
+
type: "participant_left";
|
|
17199
|
+
};
|
|
16738
17200
|
/** PatientBurdenDetailResponse */
|
|
16739
17201
|
PatientBurdenDetailResponse: {
|
|
16740
17202
|
/** Age Adjusted Charlson Index */
|
|
@@ -17042,6 +17504,12 @@ export interface components {
|
|
|
17042
17504
|
nationality?: string | null;
|
|
17043
17505
|
/** Patient Id */
|
|
17044
17506
|
patient_id: string;
|
|
17507
|
+
/** Pca X */
|
|
17508
|
+
pca_x?: number | null;
|
|
17509
|
+
/** Pca Y */
|
|
17510
|
+
pca_y?: number | null;
|
|
17511
|
+
/** Pca Z */
|
|
17512
|
+
pca_z?: number | null;
|
|
17045
17513
|
/** Risk Tier */
|
|
17046
17514
|
risk_tier?: number | null;
|
|
17047
17515
|
/** Umap X */
|
|
@@ -18150,6 +18618,39 @@ export interface components {
|
|
|
18150
18618
|
/** Rejected */
|
|
18151
18619
|
rejected: number;
|
|
18152
18620
|
};
|
|
18621
|
+
/** ReviewSubmittedEvent */
|
|
18622
|
+
ReviewSubmittedEvent: {
|
|
18623
|
+
/**
|
|
18624
|
+
* Action
|
|
18625
|
+
* @enum {string}
|
|
18626
|
+
*/
|
|
18627
|
+
action: "approve" | "reject" | "correct" | "batch_approve" | "batch_reject";
|
|
18628
|
+
/**
|
|
18629
|
+
* Count
|
|
18630
|
+
* @default null
|
|
18631
|
+
*/
|
|
18632
|
+
count?: number | null;
|
|
18633
|
+
/**
|
|
18634
|
+
* Entity Id
|
|
18635
|
+
* @default null
|
|
18636
|
+
*/
|
|
18637
|
+
entity_id?: string | null;
|
|
18638
|
+
/**
|
|
18639
|
+
* Entity Type
|
|
18640
|
+
* @default null
|
|
18641
|
+
*/
|
|
18642
|
+
entity_type?: string | null;
|
|
18643
|
+
/**
|
|
18644
|
+
* @description discriminator enum property added by openapi-typescript
|
|
18645
|
+
* @enum {string}
|
|
18646
|
+
*/
|
|
18647
|
+
event_type: "review.submitted";
|
|
18648
|
+
/**
|
|
18649
|
+
* Item Id
|
|
18650
|
+
* @default null
|
|
18651
|
+
*/
|
|
18652
|
+
item_id?: string | null;
|
|
18653
|
+
};
|
|
18153
18654
|
/**
|
|
18154
18655
|
* RiskSignalConfig
|
|
18155
18656
|
* @description Per-workspace risk scoring config. Stored on Service.
|
|
@@ -18857,6 +19358,107 @@ export interface components {
|
|
|
18857
19358
|
/** Tts Model */
|
|
18858
19359
|
tts_model?: ("sonic-turbo" | "sonic-3") | null;
|
|
18859
19360
|
};
|
|
19361
|
+
/** SessionEndEvent */
|
|
19362
|
+
SessionEndEvent: {
|
|
19363
|
+
/**
|
|
19364
|
+
* Call Sid
|
|
19365
|
+
* @default null
|
|
19366
|
+
*/
|
|
19367
|
+
call_sid?: string | null;
|
|
19368
|
+
/**
|
|
19369
|
+
* Completion Reason
|
|
19370
|
+
* @default
|
|
19371
|
+
*/
|
|
19372
|
+
completion_reason?: string;
|
|
19373
|
+
/**
|
|
19374
|
+
* Duration S
|
|
19375
|
+
* @default 0
|
|
19376
|
+
*/
|
|
19377
|
+
duration_s?: number;
|
|
19378
|
+
/**
|
|
19379
|
+
* Emotional Summary
|
|
19380
|
+
* @default null
|
|
19381
|
+
*/
|
|
19382
|
+
emotional_summary?: {
|
|
19383
|
+
[key: string]: unknown;
|
|
19384
|
+
} | null;
|
|
19385
|
+
/**
|
|
19386
|
+
* Final State
|
|
19387
|
+
* @default
|
|
19388
|
+
*/
|
|
19389
|
+
final_state?: string;
|
|
19390
|
+
/**
|
|
19391
|
+
* Has Recording
|
|
19392
|
+
* @default null
|
|
19393
|
+
*/
|
|
19394
|
+
has_recording?: boolean | null;
|
|
19395
|
+
/**
|
|
19396
|
+
* Session Id
|
|
19397
|
+
* @default null
|
|
19398
|
+
*/
|
|
19399
|
+
session_id?: string | null;
|
|
19400
|
+
/**
|
|
19401
|
+
* Trace Id
|
|
19402
|
+
* @default null
|
|
19403
|
+
*/
|
|
19404
|
+
trace_id?: string | null;
|
|
19405
|
+
/**
|
|
19406
|
+
* Turns
|
|
19407
|
+
* @default 0
|
|
19408
|
+
*/
|
|
19409
|
+
turns?: number;
|
|
19410
|
+
/**
|
|
19411
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19412
|
+
* @enum {string}
|
|
19413
|
+
*/
|
|
19414
|
+
type: "session_end";
|
|
19415
|
+
};
|
|
19416
|
+
/** SessionInfoEvent */
|
|
19417
|
+
SessionInfoEvent: {
|
|
19418
|
+
/** Call Sid */
|
|
19419
|
+
call_sid: string;
|
|
19420
|
+
/**
|
|
19421
|
+
* Caller Id
|
|
19422
|
+
* @default
|
|
19423
|
+
*/
|
|
19424
|
+
caller_id?: string;
|
|
19425
|
+
/**
|
|
19426
|
+
* Current State
|
|
19427
|
+
* @default
|
|
19428
|
+
*/
|
|
19429
|
+
current_state?: string;
|
|
19430
|
+
/**
|
|
19431
|
+
* Direction
|
|
19432
|
+
* @default inbound
|
|
19433
|
+
* @enum {string}
|
|
19434
|
+
*/
|
|
19435
|
+
direction?: "inbound" | "outbound" | "playground" | "simulated" | "test";
|
|
19436
|
+
/**
|
|
19437
|
+
* Duration Seconds
|
|
19438
|
+
* @default 0
|
|
19439
|
+
*/
|
|
19440
|
+
duration_seconds?: number;
|
|
19441
|
+
/**
|
|
19442
|
+
* Service Id
|
|
19443
|
+
* @default
|
|
19444
|
+
*/
|
|
19445
|
+
service_id?: string;
|
|
19446
|
+
/**
|
|
19447
|
+
* Start Time
|
|
19448
|
+
* @default 0
|
|
19449
|
+
*/
|
|
19450
|
+
start_time?: number;
|
|
19451
|
+
/**
|
|
19452
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19453
|
+
* @enum {string}
|
|
19454
|
+
*/
|
|
19455
|
+
type: "session_info";
|
|
19456
|
+
/**
|
|
19457
|
+
* Workspace Id
|
|
19458
|
+
* @default
|
|
19459
|
+
*/
|
|
19460
|
+
workspace_id?: string;
|
|
19461
|
+
};
|
|
18860
19462
|
/** SessionResponse */
|
|
18861
19463
|
SessionResponse: {
|
|
18862
19464
|
/** Created At */
|
|
@@ -18864,6 +19466,49 @@ export interface components {
|
|
|
18864
19466
|
/** Id */
|
|
18865
19467
|
id: string;
|
|
18866
19468
|
};
|
|
19469
|
+
/** SessionStartEvent */
|
|
19470
|
+
SessionStartEvent: {
|
|
19471
|
+
/**
|
|
19472
|
+
* Call Sid
|
|
19473
|
+
* @default null
|
|
19474
|
+
*/
|
|
19475
|
+
call_sid?: string | null;
|
|
19476
|
+
/**
|
|
19477
|
+
* Initial State
|
|
19478
|
+
* @default null
|
|
19479
|
+
*/
|
|
19480
|
+
initial_state?: string | null;
|
|
19481
|
+
/**
|
|
19482
|
+
* Mode
|
|
19483
|
+
* @default null
|
|
19484
|
+
*/
|
|
19485
|
+
mode?: string | null;
|
|
19486
|
+
/**
|
|
19487
|
+
* Service Id
|
|
19488
|
+
* @default null
|
|
19489
|
+
*/
|
|
19490
|
+
service_id?: string | null;
|
|
19491
|
+
/**
|
|
19492
|
+
* Session Id
|
|
19493
|
+
* @default null
|
|
19494
|
+
*/
|
|
19495
|
+
session_id?: string | null;
|
|
19496
|
+
/**
|
|
19497
|
+
* Trace Id
|
|
19498
|
+
* @default null
|
|
19499
|
+
*/
|
|
19500
|
+
trace_id?: string | null;
|
|
19501
|
+
/**
|
|
19502
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19503
|
+
* @enum {string}
|
|
19504
|
+
*/
|
|
19505
|
+
type: "session_start";
|
|
19506
|
+
/**
|
|
19507
|
+
* Workspace Id
|
|
19508
|
+
* @default null
|
|
19509
|
+
*/
|
|
19510
|
+
workspace_id?: string | null;
|
|
19511
|
+
};
|
|
18867
19512
|
/** SessionStatusResponse */
|
|
18868
19513
|
SessionStatusResponse: {
|
|
18869
19514
|
/** Connected */
|
|
@@ -19164,6 +19809,28 @@ export interface components {
|
|
|
19164
19809
|
*/
|
|
19165
19810
|
safety_response?: string;
|
|
19166
19811
|
};
|
|
19812
|
+
/** SimulationTurnStoredEvent */
|
|
19813
|
+
SimulationTurnStoredEvent: {
|
|
19814
|
+
/**
|
|
19815
|
+
* @description discriminator enum property added by openapi-typescript
|
|
19816
|
+
* @enum {string}
|
|
19817
|
+
*/
|
|
19818
|
+
event_type: "simulation.turn_stored";
|
|
19819
|
+
/** Is Terminal */
|
|
19820
|
+
is_terminal: boolean;
|
|
19821
|
+
/** Run Id */
|
|
19822
|
+
run_id: string;
|
|
19823
|
+
/** Service Id */
|
|
19824
|
+
service_id: string;
|
|
19825
|
+
/** Session Id */
|
|
19826
|
+
session_id: string;
|
|
19827
|
+
/** State After */
|
|
19828
|
+
state_after: string;
|
|
19829
|
+
/** State Before */
|
|
19830
|
+
state_before: string;
|
|
19831
|
+
/** Turn Index */
|
|
19832
|
+
turn_index: number;
|
|
19833
|
+
};
|
|
19167
19834
|
/** SinkSyncStatus */
|
|
19168
19835
|
SinkSyncStatus: {
|
|
19169
19836
|
/**
|
|
@@ -19483,6 +20150,34 @@ export interface components {
|
|
|
19483
20150
|
/** Workspace Id */
|
|
19484
20151
|
workspace_id: string;
|
|
19485
20152
|
};
|
|
20153
|
+
/** SpeakerAcoustics */
|
|
20154
|
+
SpeakerAcoustics: {
|
|
20155
|
+
/**
|
|
20156
|
+
* Energy Delta
|
|
20157
|
+
* @default null
|
|
20158
|
+
*/
|
|
20159
|
+
energy_delta?: number | null;
|
|
20160
|
+
/**
|
|
20161
|
+
* Energy Trend
|
|
20162
|
+
* @default null
|
|
20163
|
+
*/
|
|
20164
|
+
energy_trend?: ("rising" | "falling" | "stable") | null;
|
|
20165
|
+
/**
|
|
20166
|
+
* Normalized
|
|
20167
|
+
* @default null
|
|
20168
|
+
*/
|
|
20169
|
+
normalized?: boolean | null;
|
|
20170
|
+
/**
|
|
20171
|
+
* Pitch Delta
|
|
20172
|
+
* @default null
|
|
20173
|
+
*/
|
|
20174
|
+
pitch_delta?: number | null;
|
|
20175
|
+
/**
|
|
20176
|
+
* Zcr Delta
|
|
20177
|
+
* @default null
|
|
20178
|
+
*/
|
|
20179
|
+
zcr_delta?: number | null;
|
|
20180
|
+
};
|
|
19486
20181
|
/** SpeakerMutedEvent */
|
|
19487
20182
|
SpeakerMutedEvent: {
|
|
19488
20183
|
/** Muted */
|
|
@@ -19529,6 +20224,28 @@ export interface components {
|
|
|
19529
20224
|
*/
|
|
19530
20225
|
topic_risk_score?: number;
|
|
19531
20226
|
};
|
|
20227
|
+
/** StateTransitionEvent */
|
|
20228
|
+
StateTransitionEvent: {
|
|
20229
|
+
/**
|
|
20230
|
+
* Annotation
|
|
20231
|
+
* @default null
|
|
20232
|
+
*/
|
|
20233
|
+
annotation?: string | null;
|
|
20234
|
+
/** Next State */
|
|
20235
|
+
next_state: string;
|
|
20236
|
+
/** Previous State */
|
|
20237
|
+
previous_state: string;
|
|
20238
|
+
/**
|
|
20239
|
+
* Transition Type
|
|
20240
|
+
* @default null
|
|
20241
|
+
*/
|
|
20242
|
+
transition_type?: string | null;
|
|
20243
|
+
/**
|
|
20244
|
+
* @description discriminator enum property added by openapi-typescript
|
|
20245
|
+
* @enum {string}
|
|
20246
|
+
*/
|
|
20247
|
+
type: "state_transition";
|
|
20248
|
+
};
|
|
19532
20249
|
/**
|
|
19533
20250
|
* StaticToolDef
|
|
19534
20251
|
* @description A built-in tool available to companion agents.
|
|
@@ -19700,8 +20417,11 @@ export interface components {
|
|
|
19700
20417
|
};
|
|
19701
20418
|
/** SurfaceCreatedEvent */
|
|
19702
20419
|
SurfaceCreatedEvent: {
|
|
19703
|
-
/**
|
|
19704
|
-
|
|
20420
|
+
/**
|
|
20421
|
+
* Channel
|
|
20422
|
+
* @default null
|
|
20423
|
+
*/
|
|
20424
|
+
channel?: string | null;
|
|
19705
20425
|
/** Entity Id */
|
|
19706
20426
|
entity_id: string;
|
|
19707
20427
|
/**
|
|
@@ -19753,6 +20473,16 @@ export interface components {
|
|
|
19753
20473
|
* @enum {string}
|
|
19754
20474
|
*/
|
|
19755
20475
|
event_type: "surface.delivered";
|
|
20476
|
+
/**
|
|
20477
|
+
* Message Id
|
|
20478
|
+
* @default null
|
|
20479
|
+
*/
|
|
20480
|
+
message_id?: string | null;
|
|
20481
|
+
/**
|
|
20482
|
+
* Short Url
|
|
20483
|
+
* @default null
|
|
20484
|
+
*/
|
|
20485
|
+
short_url?: string | null;
|
|
19756
20486
|
/** Surface Id */
|
|
19757
20487
|
surface_id: string;
|
|
19758
20488
|
};
|
|
@@ -19805,8 +20535,8 @@ export interface components {
|
|
|
19805
20535
|
* @enum {string}
|
|
19806
20536
|
*/
|
|
19807
20537
|
event_type: "surface.field_saved";
|
|
19808
|
-
/** Field
|
|
19809
|
-
|
|
20538
|
+
/** Field Key */
|
|
20539
|
+
field_key: string;
|
|
19810
20540
|
/** Surface Id */
|
|
19811
20541
|
surface_id: string;
|
|
19812
20542
|
};
|
|
@@ -19951,8 +20681,11 @@ export interface components {
|
|
|
19951
20681
|
* @enum {string}
|
|
19952
20682
|
*/
|
|
19953
20683
|
event_type: "surface.review_rejected";
|
|
19954
|
-
/**
|
|
19955
|
-
|
|
20684
|
+
/**
|
|
20685
|
+
* Reason
|
|
20686
|
+
* @default null
|
|
20687
|
+
*/
|
|
20688
|
+
reason?: string | null;
|
|
19956
20689
|
/** Surface Id */
|
|
19957
20690
|
surface_id: string;
|
|
19958
20691
|
};
|
|
@@ -20022,6 +20755,11 @@ export interface components {
|
|
|
20022
20755
|
* @enum {string}
|
|
20023
20756
|
*/
|
|
20024
20757
|
event_type: "surface.submitted";
|
|
20758
|
+
/**
|
|
20759
|
+
* Fields Submitted
|
|
20760
|
+
* @default null
|
|
20761
|
+
*/
|
|
20762
|
+
fields_submitted?: string[] | null;
|
|
20025
20763
|
/**
|
|
20026
20764
|
* Submitted At
|
|
20027
20765
|
* @default null
|
|
@@ -20399,6 +21137,48 @@ export interface components {
|
|
|
20399
21137
|
*/
|
|
20400
21138
|
sub_tool_logs: components["schemas"]["SubToolLog"][];
|
|
20401
21139
|
};
|
|
21140
|
+
/** TextCompletedEvent */
|
|
21141
|
+
TextCompletedEvent: {
|
|
21142
|
+
/** Channel Kind */
|
|
21143
|
+
channel_kind: string;
|
|
21144
|
+
/**
|
|
21145
|
+
* Completion Reason
|
|
21146
|
+
* @default null
|
|
21147
|
+
*/
|
|
21148
|
+
completion_reason?: string | null;
|
|
21149
|
+
/** Duration Seconds */
|
|
21150
|
+
duration_seconds: number;
|
|
21151
|
+
/**
|
|
21152
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21153
|
+
* @enum {string}
|
|
21154
|
+
*/
|
|
21155
|
+
event_type: "text.completed";
|
|
21156
|
+
/** Final State */
|
|
21157
|
+
final_state: string;
|
|
21158
|
+
/** Session Id */
|
|
21159
|
+
session_id: string;
|
|
21160
|
+
/** Turn Count */
|
|
21161
|
+
turn_count: number;
|
|
21162
|
+
};
|
|
21163
|
+
/** TextStartedEvent */
|
|
21164
|
+
TextStartedEvent: {
|
|
21165
|
+
/** Channel Kind */
|
|
21166
|
+
channel_kind: string;
|
|
21167
|
+
/**
|
|
21168
|
+
* Entity Id
|
|
21169
|
+
* @default null
|
|
21170
|
+
*/
|
|
21171
|
+
entity_id?: string | null;
|
|
21172
|
+
/**
|
|
21173
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21174
|
+
* @enum {string}
|
|
21175
|
+
*/
|
|
21176
|
+
event_type: "text.started";
|
|
21177
|
+
/** Service Id */
|
|
21178
|
+
service_id: string;
|
|
21179
|
+
/** Session Id */
|
|
21180
|
+
session_id: string;
|
|
21181
|
+
};
|
|
20402
21182
|
/** ThroughputBucket */
|
|
20403
21183
|
ThroughputBucket: {
|
|
20404
21184
|
/** Bucket */
|
|
@@ -20891,6 +21671,34 @@ export interface components {
|
|
|
20891
21671
|
/** Year Month */
|
|
20892
21672
|
year_month: string;
|
|
20893
21673
|
};
|
|
21674
|
+
/** TriggerCompletedEvent */
|
|
21675
|
+
TriggerCompletedEvent: {
|
|
21676
|
+
/**
|
|
21677
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21678
|
+
* @enum {string}
|
|
21679
|
+
*/
|
|
21680
|
+
event_type: "trigger.completed";
|
|
21681
|
+
/** Status */
|
|
21682
|
+
status: string;
|
|
21683
|
+
/** Trigger Id */
|
|
21684
|
+
trigger_id: string;
|
|
21685
|
+
/** Trigger Name */
|
|
21686
|
+
trigger_name: string;
|
|
21687
|
+
};
|
|
21688
|
+
/** TriggerFailedEvent */
|
|
21689
|
+
TriggerFailedEvent: {
|
|
21690
|
+
/**
|
|
21691
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21692
|
+
* @enum {string}
|
|
21693
|
+
*/
|
|
21694
|
+
event_type: "trigger.failed";
|
|
21695
|
+
/** Status */
|
|
21696
|
+
status: string;
|
|
21697
|
+
/** Trigger Id */
|
|
21698
|
+
trigger_id: string;
|
|
21699
|
+
/** Trigger Name */
|
|
21700
|
+
trigger_name: string;
|
|
21701
|
+
};
|
|
20894
21702
|
/** TriggerFireResponse */
|
|
20895
21703
|
TriggerFireResponse: {
|
|
20896
21704
|
/**
|
|
@@ -20910,6 +21718,23 @@ export interface components {
|
|
|
20910
21718
|
*/
|
|
20911
21719
|
trigger_id: string;
|
|
20912
21720
|
};
|
|
21721
|
+
/** TriggerFiredEvent */
|
|
21722
|
+
TriggerFiredEvent: {
|
|
21723
|
+
/**
|
|
21724
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21725
|
+
* @enum {string}
|
|
21726
|
+
*/
|
|
21727
|
+
event_type: "trigger.fired";
|
|
21728
|
+
/**
|
|
21729
|
+
* Manual
|
|
21730
|
+
* @default false
|
|
21731
|
+
*/
|
|
21732
|
+
manual?: boolean;
|
|
21733
|
+
/** Trigger Id */
|
|
21734
|
+
trigger_id: string;
|
|
21735
|
+
/** Trigger Name */
|
|
21736
|
+
trigger_name: string;
|
|
21737
|
+
};
|
|
20913
21738
|
/** TriggerResponse */
|
|
20914
21739
|
TriggerResponse: {
|
|
20915
21740
|
/**
|
|
@@ -21746,6 +22571,35 @@ export interface components {
|
|
|
21746
22571
|
/** Voice Id */
|
|
21747
22572
|
voice_id: string;
|
|
21748
22573
|
};
|
|
22574
|
+
/** VoiceContextAppliedEvent */
|
|
22575
|
+
VoiceContextAppliedEvent: {
|
|
22576
|
+
/** Emotion Detection Enabled */
|
|
22577
|
+
emotion_detection_enabled: boolean;
|
|
22578
|
+
/** Filler Enabled */
|
|
22579
|
+
filler_enabled: boolean;
|
|
22580
|
+
/** Reasoning */
|
|
22581
|
+
reasoning: string;
|
|
22582
|
+
/**
|
|
22583
|
+
* Tts Emotion
|
|
22584
|
+
* @default null
|
|
22585
|
+
*/
|
|
22586
|
+
tts_emotion?: string | null;
|
|
22587
|
+
/**
|
|
22588
|
+
* Tts Speed
|
|
22589
|
+
* @default null
|
|
22590
|
+
*/
|
|
22591
|
+
tts_speed?: number | null;
|
|
22592
|
+
/**
|
|
22593
|
+
* Tts Volume
|
|
22594
|
+
* @default null
|
|
22595
|
+
*/
|
|
22596
|
+
tts_volume?: number | null;
|
|
22597
|
+
/**
|
|
22598
|
+
* @description discriminator enum property added by openapi-typescript
|
|
22599
|
+
* @enum {string}
|
|
22600
|
+
*/
|
|
22601
|
+
type: "voice_context_applied";
|
|
22602
|
+
};
|
|
21749
22603
|
/** VoiceJudgeRecentResponse */
|
|
21750
22604
|
VoiceJudgeRecentResponse: {
|
|
21751
22605
|
/** Count */
|
|
@@ -22337,7 +23191,7 @@ export interface components {
|
|
|
22337
23191
|
*/
|
|
22338
23192
|
updated_at: string;
|
|
22339
23193
|
};
|
|
22340
|
-
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"];
|
|
23194
|
+
WorkspaceSSEEvent: components["schemas"]["CallStartedEvent"] | components["schemas"]["CallEndedEvent"] | components["schemas"]["CallEscalatedEvent"] | components["schemas"]["EncounterUpdatedEvent"] | components["schemas"]["NarrativeUpdatedEvent"] | components["schemas"]["ReviewSubmittedEvent"] | components["schemas"]["SimulationTurnStoredEvent"] | components["schemas"]["SurfaceCreatedEvent"] | components["schemas"]["SurfaceDeliveredEvent"] | components["schemas"]["SurfaceUpdatedEvent"] | components["schemas"]["SurfaceArchivedEvent"] | components["schemas"]["SurfaceReshapedEvent"] | components["schemas"]["SurfaceSubmittedEvent"] | components["schemas"]["SurfaceFieldSavedEvent"] | components["schemas"]["SurfaceOpenedEvent"] | components["schemas"]["SurfacePendingReviewEvent"] | components["schemas"]["SurfaceReviewApprovedEvent"] | components["schemas"]["SurfaceReviewRejectedEvent"] | components["schemas"]["TextStartedEvent"] | components["schemas"]["TextCompletedEvent"] | components["schemas"]["TriggerFiredEvent"] | components["schemas"]["TriggerCompletedEvent"] | components["schemas"]["TriggerFailedEvent"] | components["schemas"]["PipelineSyncCompletedEvent"] | components["schemas"]["PipelineErrorEvent"] | components["schemas"]["OperatorRegisteredEvent"] | components["schemas"]["OperatorStatusChangedEvent"] | components["schemas"]["OperatorProfileUpdatedEvent"] | components["schemas"]["OperatorJoinedCallEvent"] | components["schemas"]["OperatorLeftCallEvent"] | components["schemas"]["OperatorModeChangedEvent"] | components["schemas"]["OperatorWrapUpEvent"];
|
|
22341
23195
|
/**
|
|
22342
23196
|
* WrapUpRequest
|
|
22343
23197
|
* @description Request to record operator intervention wrap-up.
|
|
@@ -26309,6 +27163,76 @@ export interface operations {
|
|
|
26309
27163
|
};
|
|
26310
27164
|
};
|
|
26311
27165
|
};
|
|
27166
|
+
"create-outbound-call": {
|
|
27167
|
+
parameters: {
|
|
27168
|
+
query?: never;
|
|
27169
|
+
header?: never;
|
|
27170
|
+
path: {
|
|
27171
|
+
workspace_id: string;
|
|
27172
|
+
};
|
|
27173
|
+
cookie?: never;
|
|
27174
|
+
};
|
|
27175
|
+
requestBody: {
|
|
27176
|
+
content: {
|
|
27177
|
+
"application/json": components["schemas"]["CreateOutboundCallRequest"];
|
|
27178
|
+
};
|
|
27179
|
+
};
|
|
27180
|
+
responses: {
|
|
27181
|
+
/** @description Successful Response */
|
|
27182
|
+
201: {
|
|
27183
|
+
headers: {
|
|
27184
|
+
[name: string]: unknown;
|
|
27185
|
+
};
|
|
27186
|
+
content: {
|
|
27187
|
+
"application/json": components["schemas"]["CreateOutboundCallResponse"];
|
|
27188
|
+
};
|
|
27189
|
+
};
|
|
27190
|
+
/** @description Invalid phone number format */
|
|
27191
|
+
400: {
|
|
27192
|
+
headers: {
|
|
27193
|
+
[name: string]: unknown;
|
|
27194
|
+
};
|
|
27195
|
+
content?: never;
|
|
27196
|
+
};
|
|
27197
|
+
/** @description phone_from does not belong to this workspace */
|
|
27198
|
+
403: {
|
|
27199
|
+
headers: {
|
|
27200
|
+
[name: string]: unknown;
|
|
27201
|
+
};
|
|
27202
|
+
content?: never;
|
|
27203
|
+
};
|
|
27204
|
+
/** @description Validation Error */
|
|
27205
|
+
422: {
|
|
27206
|
+
headers: {
|
|
27207
|
+
[name: string]: unknown;
|
|
27208
|
+
};
|
|
27209
|
+
content: {
|
|
27210
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
27211
|
+
};
|
|
27212
|
+
};
|
|
27213
|
+
/** @description Rate limit exceeded */
|
|
27214
|
+
429: {
|
|
27215
|
+
headers: {
|
|
27216
|
+
[name: string]: unknown;
|
|
27217
|
+
};
|
|
27218
|
+
content?: never;
|
|
27219
|
+
};
|
|
27220
|
+
/** @description Upstream Twilio or voice agent error */
|
|
27221
|
+
502: {
|
|
27222
|
+
headers: {
|
|
27223
|
+
[name: string]: unknown;
|
|
27224
|
+
};
|
|
27225
|
+
content?: never;
|
|
27226
|
+
};
|
|
27227
|
+
/** @description Voice agent or outbound calls not configured */
|
|
27228
|
+
503: {
|
|
27229
|
+
headers: {
|
|
27230
|
+
[name: string]: unknown;
|
|
27231
|
+
};
|
|
27232
|
+
content?: never;
|
|
27233
|
+
};
|
|
27234
|
+
};
|
|
27235
|
+
};
|
|
26312
27236
|
"get-phone-call-volume": {
|
|
26313
27237
|
parameters: {
|
|
26314
27238
|
query?: {
|