@amigo-ai/platform-sdk 0.5.10 → 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 +708 -16
- package/dist/types/generated/api.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/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;
|
|
@@ -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 */
|
|
@@ -16067,7 +16421,7 @@ export interface components {
|
|
|
16067
16421
|
ratio_numerator_event?: string | null;
|
|
16068
16422
|
/**
|
|
16069
16423
|
* Source
|
|
16070
|
-
* @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'.
|
|
16071
16425
|
* @enum {string}
|
|
16072
16426
|
*/
|
|
16073
16427
|
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
@@ -17185,6 +17539,27 @@ export interface components {
|
|
|
17185
17539
|
*/
|
|
17186
17540
|
rows: unknown[][];
|
|
17187
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
|
+
};
|
|
17188
17563
|
/** ParticipantJoinedEvent */
|
|
17189
17564
|
ParticipantJoinedEvent: {
|
|
17190
17565
|
/** Conference Sid */
|
|
@@ -17718,6 +18093,8 @@ export interface components {
|
|
|
17718
18093
|
PhoneNumberResponse: {
|
|
17719
18094
|
/** Capabilities */
|
|
17720
18095
|
capabilities: string[];
|
|
18096
|
+
/** Channel Phone Id */
|
|
18097
|
+
channel_phone_id?: string | null;
|
|
17721
18098
|
/**
|
|
17722
18099
|
* Created At
|
|
17723
18100
|
* Format: date-time
|
|
@@ -17871,6 +18248,36 @@ export interface components {
|
|
|
17871
18248
|
*/
|
|
17872
18249
|
event_type: "pipeline.sync_completed";
|
|
17873
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
|
+
};
|
|
17874
18281
|
/** PositiveSignalResponse */
|
|
17875
18282
|
PositiveSignalResponse: {
|
|
17876
18283
|
/** Count */
|
|
@@ -18854,6 +19261,33 @@ export interface components {
|
|
|
18854
19261
|
*/
|
|
18855
19262
|
triage_hints: string[];
|
|
18856
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
|
+
};
|
|
18857
19291
|
/**
|
|
18858
19292
|
* SafetySummary
|
|
18859
19293
|
* @description Safety filter results.
|
|
@@ -20293,6 +20727,27 @@ export interface components {
|
|
|
20293
20727
|
*/
|
|
20294
20728
|
topic_risk_score?: number;
|
|
20295
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
|
+
};
|
|
20296
20751
|
/** StateTransitionEvent */
|
|
20297
20752
|
StateTransitionEvent: {
|
|
20298
20753
|
/**
|
|
@@ -21257,6 +21712,83 @@ export interface components {
|
|
|
21257
21712
|
/** Source System */
|
|
21258
21713
|
source_system?: string | null;
|
|
21259
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
|
+
};
|
|
21260
21792
|
/** ToolCallCompletedEvent */
|
|
21261
21793
|
ToolCallCompletedEvent: {
|
|
21262
21794
|
/**
|
|
@@ -21960,6 +22492,83 @@ export interface components {
|
|
|
21960
22492
|
*/
|
|
21961
22493
|
triggered_at: string;
|
|
21962
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
|
+
};
|
|
21963
22572
|
/**
|
|
21964
22573
|
* TurnPolicy
|
|
21965
22574
|
* @description Voice pipeline parameters declared per HSM state.
|
|
@@ -22014,6 +22623,17 @@ export interface components {
|
|
|
22014
22623
|
/** Stt Eot Timeout Ms */
|
|
22015
22624
|
stt_eot_timeout_ms?: number | null;
|
|
22016
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
|
+
};
|
|
22017
22637
|
/** UnificationRuleResponse */
|
|
22018
22638
|
UnificationRuleResponse: {
|
|
22019
22639
|
/** Accuracy */
|
|
@@ -22219,6 +22839,8 @@ export interface components {
|
|
|
22219
22839
|
UpdatePhoneNumberRequest: {
|
|
22220
22840
|
/** Capabilities */
|
|
22221
22841
|
capabilities?: string[] | null;
|
|
22842
|
+
/** Channel Phone Id */
|
|
22843
|
+
channel_phone_id?: string | null;
|
|
22222
22844
|
/** Display Name */
|
|
22223
22845
|
display_name?: string | null;
|
|
22224
22846
|
forwarding?: components["schemas"]["ForwardingConfigRequest"] | null;
|
|
@@ -22232,6 +22854,8 @@ export interface components {
|
|
|
22232
22854
|
provider_phone_sid?: string | null;
|
|
22233
22855
|
/** Status */
|
|
22234
22856
|
status?: ("active" | "inactive") | null;
|
|
22857
|
+
/** Sub Account Sid */
|
|
22858
|
+
sub_account_sid?: string | null;
|
|
22235
22859
|
};
|
|
22236
22860
|
/** UpdateSafetyConfigRequest */
|
|
22237
22861
|
UpdateSafetyConfigRequest: {
|
|
@@ -27306,6 +27930,13 @@ export interface operations {
|
|
|
27306
27930
|
};
|
|
27307
27931
|
content?: never;
|
|
27308
27932
|
};
|
|
27933
|
+
/** @description No phone number available for use case */
|
|
27934
|
+
404: {
|
|
27935
|
+
headers: {
|
|
27936
|
+
[name: string]: unknown;
|
|
27937
|
+
};
|
|
27938
|
+
content?: never;
|
|
27939
|
+
};
|
|
27309
27940
|
/** @description Validation Error */
|
|
27310
27941
|
422: {
|
|
27311
27942
|
headers: {
|
|
@@ -27329,7 +27960,7 @@ export interface operations {
|
|
|
27329
27960
|
};
|
|
27330
27961
|
content?: never;
|
|
27331
27962
|
};
|
|
27332
|
-
/** @description Voice agent
|
|
27963
|
+
/** @description Voice agent, outbound calls, or channel manager not configured */
|
|
27333
27964
|
503: {
|
|
27334
27965
|
headers: {
|
|
27335
27966
|
[name: string]: unknown;
|
|
@@ -27443,9 +28074,7 @@ export interface operations {
|
|
|
27443
28074
|
[name: string]: unknown;
|
|
27444
28075
|
};
|
|
27445
28076
|
content: {
|
|
27446
|
-
"application/json":
|
|
27447
|
-
[key: string]: unknown;
|
|
27448
|
-
};
|
|
28077
|
+
"application/json": components["schemas"]["CallDetailResponse"];
|
|
27449
28078
|
};
|
|
27450
28079
|
};
|
|
27451
28080
|
/** @description Call not found */
|
|
@@ -33671,6 +34300,69 @@ export interface operations {
|
|
|
33671
34300
|
};
|
|
33672
34301
|
};
|
|
33673
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
|
+
};
|
|
33674
34366
|
"get-phone-number": {
|
|
33675
34367
|
parameters: {
|
|
33676
34368
|
query?: never;
|