@amigo-ai/platform-sdk 0.48.0 → 0.48.2
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 +179 -271
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +6 -3
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +30 -0
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts +25 -0
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts +7 -0
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -23,32 +23,6 @@ export interface paths {
|
|
|
23
23
|
patch?: never;
|
|
24
24
|
trace?: never;
|
|
25
25
|
};
|
|
26
|
-
"/s/vcard/{workspace_slug}.vcf": {
|
|
27
|
-
parameters: {
|
|
28
|
-
query?: never;
|
|
29
|
-
header?: never;
|
|
30
|
-
path?: never;
|
|
31
|
-
cookie?: never;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Serve Vcard
|
|
35
|
-
* @description Serve a vCard contact card for a workspace.
|
|
36
|
-
*
|
|
37
|
-
* Public, unauthenticated endpoint. iOS blocks clickable links in SMS
|
|
38
|
-
* from unknown senders — sending a vCard first lets patients save the
|
|
39
|
-
* number so subsequent SMS links render as tappable.
|
|
40
|
-
*
|
|
41
|
-
* Path: ``/s/vcard/{workspace_slug}.vcf``
|
|
42
|
-
*/
|
|
43
|
-
get: operations["serve-vcard"];
|
|
44
|
-
put?: never;
|
|
45
|
-
post?: never;
|
|
46
|
-
delete?: never;
|
|
47
|
-
options?: never;
|
|
48
|
-
head?: never;
|
|
49
|
-
patch?: never;
|
|
50
|
-
trace?: never;
|
|
51
|
-
};
|
|
52
26
|
"/s/{token}": {
|
|
53
27
|
parameters: {
|
|
54
28
|
query?: never;
|
|
@@ -1746,26 +1720,6 @@ export interface paths {
|
|
|
1746
1720
|
patch?: never;
|
|
1747
1721
|
trace?: never;
|
|
1748
1722
|
};
|
|
1749
|
-
"/v1/{workspace_id}/causal/drivers": {
|
|
1750
|
-
parameters: {
|
|
1751
|
-
query?: never;
|
|
1752
|
-
header?: never;
|
|
1753
|
-
path?: never;
|
|
1754
|
-
cookie?: never;
|
|
1755
|
-
};
|
|
1756
|
-
/**
|
|
1757
|
-
* List Drivers
|
|
1758
|
-
* @description Ranked SPR drivers for one (outcome_family, outcome_key). Byar 1978 95% CI. SPR > 1 = feature value over-indexes for this outcome vs. the workspace baseline. Filter by feature_family (demographic|comorbidity) or feature_arity (1=univariate, 2=pairwise). min_support_only=true (default) hides observed < 5 rows. This is DESCRIPTIVE attribution — v2 causal (ITS + synthetic control) lands via the analytics.public.causal_attribution pipeline in Phase 5.
|
|
1759
|
-
*/
|
|
1760
|
-
get: operations["list_drivers_v1__workspace_id__causal_drivers_get"];
|
|
1761
|
-
put?: never;
|
|
1762
|
-
post?: never;
|
|
1763
|
-
delete?: never;
|
|
1764
|
-
options?: never;
|
|
1765
|
-
head?: never;
|
|
1766
|
-
patch?: never;
|
|
1767
|
-
trace?: never;
|
|
1768
|
-
};
|
|
1769
1723
|
"/v1/{workspace_id}/channels/ses-setup": {
|
|
1770
1724
|
parameters: {
|
|
1771
1725
|
query?: never;
|
|
@@ -6151,8 +6105,8 @@ export interface paths {
|
|
|
6151
6105
|
get?: never;
|
|
6152
6106
|
put?: never;
|
|
6153
6107
|
/**
|
|
6154
|
-
* Start a text conversation session with an entity
|
|
6155
|
-
* @description Start
|
|
6108
|
+
* Start a web text conversation session with an entity
|
|
6109
|
+
* @description Start a web text session with a world model entity. Materializes the conversation and returns conversation_id for subsequent turns via POST /v1/{ws}/conversations/{id}/turns.
|
|
6156
6110
|
*/
|
|
6157
6111
|
post: operations["start_text_session_v1__workspace_id__sessions_start_post"];
|
|
6158
6112
|
delete?: never;
|
|
@@ -7495,9 +7449,12 @@ export interface paths {
|
|
|
7495
7449
|
* Deliver Surface
|
|
7496
7450
|
* @description Record a real delivery handoff for a surface.
|
|
7497
7451
|
*
|
|
7498
|
-
*
|
|
7499
|
-
*
|
|
7500
|
-
*
|
|
7452
|
+
* Email targets are delivered through channel-manager's
|
|
7453
|
+
* ``POST /v1/email/send`` (CM owns SES sender identity, IP pool, DKIM,
|
|
7454
|
+
* suppression — keyed on the surface row's ``use_case_id``). Phone-shaped
|
|
7455
|
+
* addresses return 422 — SMS surface delivery was removed in PR #2783.
|
|
7456
|
+
* Other targets record an external handoff that was completed outside
|
|
7457
|
+
* platform-api.
|
|
7501
7458
|
*
|
|
7502
7459
|
* Permissions: member, admin, owner (surfaces:write)
|
|
7503
7460
|
*/
|
|
@@ -10389,7 +10346,7 @@ export interface components {
|
|
|
10389
10346
|
/** Service Id */
|
|
10390
10347
|
service_id?: string | null;
|
|
10391
10348
|
/** Source */
|
|
10392
|
-
source?:
|
|
10349
|
+
source?: ("real" | "simulation" | "playground" | "scribe") | null;
|
|
10393
10350
|
/**
|
|
10394
10351
|
* States Visited
|
|
10395
10352
|
* @default []
|
|
@@ -10693,7 +10650,7 @@ export interface components {
|
|
|
10693
10650
|
quality_score?: number | null;
|
|
10694
10651
|
/**
|
|
10695
10652
|
* Run Id
|
|
10696
|
-
* @description Simulation run ID (
|
|
10653
|
+
* @description Simulation run ID (simulation calls only)
|
|
10697
10654
|
*/
|
|
10698
10655
|
run_id?: string | null;
|
|
10699
10656
|
/**
|
|
@@ -10703,9 +10660,9 @@ export interface components {
|
|
|
10703
10660
|
service_id?: string | null;
|
|
10704
10661
|
/**
|
|
10705
10662
|
* Source
|
|
10706
|
-
* @description
|
|
10663
|
+
* @description Call source — real, simulation, playground, or scribe
|
|
10707
10664
|
*/
|
|
10708
|
-
source?: ("real" | "
|
|
10665
|
+
source?: ("real" | "simulation" | "playground" | "scribe") | null;
|
|
10709
10666
|
/**
|
|
10710
10667
|
* Started At
|
|
10711
10668
|
* @description When the call started
|
|
@@ -11019,7 +10976,7 @@ export interface components {
|
|
|
11019
10976
|
* Each kind maps to one or more providers.
|
|
11020
10977
|
* @enum {string}
|
|
11021
10978
|
*/
|
|
11022
|
-
ChannelKind: "voice" | "sms" | "whatsapp" | "
|
|
10979
|
+
ChannelKind: "voice" | "sms" | "whatsapp" | "email" | "web" | "scribe";
|
|
11023
10980
|
/**
|
|
11024
10981
|
* ChannelOverride
|
|
11025
10982
|
* @description Per-channel behavior override for a state.
|
|
@@ -11039,7 +10996,7 @@ export interface components {
|
|
|
11039
10996
|
* @description Delivery channels for surfaces.
|
|
11040
10997
|
* @enum {string}
|
|
11041
10998
|
*/
|
|
11042
|
-
ChannelType: "
|
|
10999
|
+
ChannelType: "email" | "web";
|
|
11043
11000
|
/**
|
|
11044
11001
|
* ChannelVoicemailStatusEvent
|
|
11045
11002
|
* @description Ringless voicemail status callback projected from VoiceDrop. ``status``
|
|
@@ -12821,7 +12778,7 @@ export interface components {
|
|
|
12821
12778
|
version_sets?: {
|
|
12822
12779
|
[key: string]: components["schemas"]["VersionSet"];
|
|
12823
12780
|
};
|
|
12824
|
-
voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
|
|
12781
|
+
voice_config?: components["schemas"]["ServiceVoiceConfig-Input"] | null;
|
|
12825
12782
|
};
|
|
12826
12783
|
/** CreateSesSetupRequest */
|
|
12827
12784
|
CreateSesSetupRequest: {
|
|
@@ -12983,6 +12940,8 @@ export interface components {
|
|
|
12983
12940
|
/** Submit Button Text */
|
|
12984
12941
|
submit_button_text?: string | null;
|
|
12985
12942
|
title: components["schemas"]["NameString"];
|
|
12943
|
+
/** Use Case Id */
|
|
12944
|
+
use_case_id?: string | null;
|
|
12986
12945
|
};
|
|
12987
12946
|
/** CreateSurfaceResponse */
|
|
12988
12947
|
CreateSurfaceResponse: {
|
|
@@ -13017,6 +12976,8 @@ export interface components {
|
|
|
13017
12976
|
token?: string | null;
|
|
13018
12977
|
/** Url */
|
|
13019
12978
|
url?: string | null;
|
|
12979
|
+
/** Use Case Id */
|
|
12980
|
+
use_case_id?: string | null;
|
|
13020
12981
|
};
|
|
13021
12982
|
/** CreateToolRequest */
|
|
13022
12983
|
CreateToolRequest: {
|
|
@@ -14372,75 +14333,6 @@ export interface components {
|
|
|
14372
14333
|
*/
|
|
14373
14334
|
verified: boolean;
|
|
14374
14335
|
};
|
|
14375
|
-
/**
|
|
14376
|
-
* DriverRow
|
|
14377
|
-
* @description One SPR row — generic (outcome, feature-tuple) grain.
|
|
14378
|
-
*/
|
|
14379
|
-
DriverRow: {
|
|
14380
|
-
/** As Of Date */
|
|
14381
|
-
as_of_date?: string | null;
|
|
14382
|
-
/** Expected */
|
|
14383
|
-
expected?: number | null;
|
|
14384
|
-
/** Feature Arity */
|
|
14385
|
-
feature_arity: number;
|
|
14386
|
-
/** Feature Family 1 */
|
|
14387
|
-
feature_family_1: string;
|
|
14388
|
-
/** Feature Family 2 */
|
|
14389
|
-
feature_family_2?: string | null;
|
|
14390
|
-
/** Feature Name 1 */
|
|
14391
|
-
feature_name_1: string;
|
|
14392
|
-
/** Feature Name 2 */
|
|
14393
|
-
feature_name_2?: string | null;
|
|
14394
|
-
/** Feature Population */
|
|
14395
|
-
feature_population?: number | null;
|
|
14396
|
-
/** Feature Value 1 */
|
|
14397
|
-
feature_value_1: string;
|
|
14398
|
-
/** Feature Value 2 */
|
|
14399
|
-
feature_value_2?: string | null;
|
|
14400
|
-
/** Min Support Met */
|
|
14401
|
-
min_support_met: boolean;
|
|
14402
|
-
/** Observed */
|
|
14403
|
-
observed: number;
|
|
14404
|
-
/** Outcome Code System */
|
|
14405
|
-
outcome_code_system?: string | null;
|
|
14406
|
-
/** Outcome Display */
|
|
14407
|
-
outcome_display?: string | null;
|
|
14408
|
-
/** Outcome Family */
|
|
14409
|
-
outcome_family: string;
|
|
14410
|
-
/** Outcome Key */
|
|
14411
|
-
outcome_key: string;
|
|
14412
|
-
/** Spr */
|
|
14413
|
-
spr?: number | null;
|
|
14414
|
-
/** Spr Ci Lower */
|
|
14415
|
-
spr_ci_lower?: number | null;
|
|
14416
|
-
/** Spr Ci Upper */
|
|
14417
|
-
spr_ci_upper?: number | null;
|
|
14418
|
-
/** Window Days */
|
|
14419
|
-
window_days?: number | null;
|
|
14420
|
-
/**
|
|
14421
|
-
* Workspace Id
|
|
14422
|
-
* Format: uuid
|
|
14423
|
-
*/
|
|
14424
|
-
workspace_id: string;
|
|
14425
|
-
};
|
|
14426
|
-
/** DriversResponse */
|
|
14427
|
-
DriversResponse: {
|
|
14428
|
-
/** Count */
|
|
14429
|
-
count: number;
|
|
14430
|
-
/** Items */
|
|
14431
|
-
items: components["schemas"]["DriverRow"][];
|
|
14432
|
-
/** Outcome Family */
|
|
14433
|
-
outcome_family: string;
|
|
14434
|
-
/** Outcome Key */
|
|
14435
|
-
outcome_key: string;
|
|
14436
|
-
/** Sort By */
|
|
14437
|
-
sort_by: string;
|
|
14438
|
-
/**
|
|
14439
|
-
* Workspace Id
|
|
14440
|
-
* Format: uuid
|
|
14441
|
-
*/
|
|
14442
|
-
workspace_id: string;
|
|
14443
|
-
};
|
|
14444
14336
|
/** EditSoapRequest */
|
|
14445
14337
|
EditSoapRequest: {
|
|
14446
14338
|
/** Content */
|
|
@@ -14793,6 +14685,7 @@ export interface components {
|
|
|
14793
14685
|
name: string;
|
|
14794
14686
|
/** Path */
|
|
14795
14687
|
path: string;
|
|
14688
|
+
request_transform?: components["schemas"]["RequestTransform"] | null;
|
|
14796
14689
|
/** Response Filter */
|
|
14797
14690
|
response_filter?: string[] | null;
|
|
14798
14691
|
/** Response Mapping */
|
|
@@ -14867,6 +14760,7 @@ export interface components {
|
|
|
14867
14760
|
name: string;
|
|
14868
14761
|
/** Path */
|
|
14869
14762
|
path: string;
|
|
14763
|
+
request_transform?: components["schemas"]["RequestTransform"] | null;
|
|
14870
14764
|
/** Response Filter */
|
|
14871
14765
|
response_filter?: string[] | null;
|
|
14872
14766
|
/** Response Mapping */
|
|
@@ -16865,16 +16759,16 @@ export interface components {
|
|
|
16865
16759
|
};
|
|
16866
16760
|
/**
|
|
16867
16761
|
* ForwardAction
|
|
16868
|
-
* @description Cold-transfer the caller to the
|
|
16869
|
-
*
|
|
16762
|
+
* @description Cold-transfer the caller to the service's configured forwarding
|
|
16763
|
+
* destination (set via ``Service.voice_config.forwarding``).
|
|
16870
16764
|
*
|
|
16871
16765
|
* No agent-side decision and no operator dashboard required — the engine
|
|
16872
|
-
* invokes the same forwarding callback used by the LLM-driven
|
|
16873
|
-
* tool, with no location override, which falls through to
|
|
16874
|
-
*
|
|
16766
|
+
* invokes the same forwarding callback used by the LLM-driven
|
|
16767
|
+
* ``forward_call`` tool, with no location override, which falls through to
|
|
16768
|
+
* the per-service ``ServiceForwardingConfig``.
|
|
16875
16769
|
*
|
|
16876
|
-
* If forwarding is
|
|
16877
|
-
*
|
|
16770
|
+
* If ``voice_config.forwarding`` is unset, the dispatcher falls back to the
|
|
16771
|
+
* operator path (audit event + SSE only).
|
|
16878
16772
|
*/
|
|
16879
16773
|
ForwardAction: {
|
|
16880
16774
|
/**
|
|
@@ -16914,6 +16808,12 @@ export interface components {
|
|
|
16914
16808
|
/**
|
|
16915
16809
|
* ForwardingConfigRequest
|
|
16916
16810
|
* @description Call forwarding configuration for create/update requests.
|
|
16811
|
+
*
|
|
16812
|
+
* Deprecated: per-phone forwarding has moved to per-service config
|
|
16813
|
+
* (``Service.voice_config.forwarding``). The field is accepted for one
|
|
16814
|
+
* release for SDK backward-compat but is no longer read by the voice
|
|
16815
|
+
* agent at session time. Will be removed in a follow-up PR alongside
|
|
16816
|
+
* the ``platform.phone_numbers`` table drop.
|
|
16917
16817
|
*/
|
|
16918
16818
|
ForwardingConfigRequest: {
|
|
16919
16819
|
/**
|
|
@@ -17168,7 +17068,7 @@ export interface components {
|
|
|
17168
17068
|
* @description A named gap detection rule.
|
|
17169
17069
|
*/
|
|
17170
17070
|
"GapRequirement-Input": {
|
|
17171
|
-
/** @default
|
|
17071
|
+
/** @default email */
|
|
17172
17072
|
channel?: components["schemas"]["ChannelType"];
|
|
17173
17073
|
/**
|
|
17174
17074
|
* Entity Type
|
|
@@ -17200,7 +17100,7 @@ export interface components {
|
|
|
17200
17100
|
* @description A named gap detection rule.
|
|
17201
17101
|
*/
|
|
17202
17102
|
"GapRequirement-Output": {
|
|
17203
|
-
/** @default
|
|
17103
|
+
/** @default email */
|
|
17204
17104
|
channel?: components["schemas"]["ChannelType"];
|
|
17205
17105
|
/**
|
|
17206
17106
|
* Entity Type
|
|
@@ -17726,21 +17626,6 @@ export interface components {
|
|
|
17726
17626
|
*/
|
|
17727
17627
|
turn_taking_quality?: string | null;
|
|
17728
17628
|
};
|
|
17729
|
-
/**
|
|
17730
|
-
* InternalForwardingResponse
|
|
17731
|
-
* @description Resolved forwarding config for a phone number.
|
|
17732
|
-
*/
|
|
17733
|
-
InternalForwardingResponse: {
|
|
17734
|
-
/** Forward To */
|
|
17735
|
-
forward_to: string;
|
|
17736
|
-
/** Should Disconnect */
|
|
17737
|
-
should_disconnect: boolean;
|
|
17738
|
-
/**
|
|
17739
|
-
* Warm Transfer
|
|
17740
|
-
* @default true
|
|
17741
|
-
*/
|
|
17742
|
-
warm_transfer?: boolean;
|
|
17743
|
-
};
|
|
17744
17629
|
/**
|
|
17745
17630
|
* InternalIntegrationResponse
|
|
17746
17631
|
* @description Wire format matching platform_lib.integrations.models.IntegrationConfig.
|
|
@@ -19802,7 +19687,7 @@ export interface components {
|
|
|
19802
19687
|
* @default true
|
|
19803
19688
|
*/
|
|
19804
19689
|
active?: boolean;
|
|
19805
|
-
/** @default
|
|
19690
|
+
/** @default email */
|
|
19806
19691
|
channel?: components["schemas"]["ChannelType"];
|
|
19807
19692
|
/**
|
|
19808
19693
|
* Consent Required
|
|
@@ -21491,7 +21376,7 @@ export interface components {
|
|
|
21491
21376
|
* Infobip both support SMS).
|
|
21492
21377
|
* @enum {string}
|
|
21493
21378
|
*/
|
|
21494
|
-
ProviderType: "twilio" | "infobip" | "
|
|
21379
|
+
ProviderType: "twilio" | "infobip" | "websocket";
|
|
21495
21380
|
/** ProvisionResponse */
|
|
21496
21381
|
ProvisionResponse: {
|
|
21497
21382
|
workspace: components["schemas"]["WorkspaceResponse"];
|
|
@@ -21622,7 +21507,7 @@ export interface components {
|
|
|
21622
21507
|
};
|
|
21623
21508
|
/**
|
|
21624
21509
|
* QuietHours
|
|
21625
|
-
* @description
|
|
21510
|
+
* @description Quiet hours — no outbound outreach during this window.
|
|
21626
21511
|
*/
|
|
21627
21512
|
QuietHours: {
|
|
21628
21513
|
/**
|
|
@@ -21962,6 +21847,26 @@ export interface components {
|
|
|
21962
21847
|
/** Type */
|
|
21963
21848
|
type: string;
|
|
21964
21849
|
};
|
|
21850
|
+
/**
|
|
21851
|
+
* RequestTransform
|
|
21852
|
+
* @description Transforms outbound request body before sending to the integration endpoint.
|
|
21853
|
+
*
|
|
21854
|
+
* Applied after path-param substitution and auth-header resolution, right
|
|
21855
|
+
* before the HTTP call. Mirror of the response-side pipeline
|
|
21856
|
+
* (``response_filter`` / ``result_key`` / ``result_template``).
|
|
21857
|
+
*
|
|
21858
|
+
* Inject targets the **outermost** dict: when combined with
|
|
21859
|
+
* ``wrap_params_key``, injected fields sit alongside the wrapper key,
|
|
21860
|
+
* never inside the wrapped sub-dict.
|
|
21861
|
+
*/
|
|
21862
|
+
RequestTransform: {
|
|
21863
|
+
/** Inject */
|
|
21864
|
+
inject?: {
|
|
21865
|
+
[key: string]: string;
|
|
21866
|
+
};
|
|
21867
|
+
/** Wrap Params Key */
|
|
21868
|
+
wrap_params_key?: string | null;
|
|
21869
|
+
};
|
|
21965
21870
|
/**
|
|
21966
21871
|
* ResolveTemplateRequest
|
|
21967
21872
|
* @description Resolve a form template for a specific entity.
|
|
@@ -23060,7 +22965,7 @@ export interface components {
|
|
|
23060
22965
|
version_sets: {
|
|
23061
22966
|
[key: string]: components["schemas"]["VersionSet"];
|
|
23062
22967
|
};
|
|
23063
|
-
voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
|
|
22968
|
+
voice_config?: components["schemas"]["ServiceVoiceConfig-Output"] | null;
|
|
23064
22969
|
};
|
|
23065
22970
|
/** ServiceBindingRequest */
|
|
23066
22971
|
ServiceBindingRequest: {
|
|
@@ -23103,6 +23008,34 @@ export interface components {
|
|
|
23103
23008
|
*/
|
|
23104
23009
|
workspace_id: string;
|
|
23105
23010
|
};
|
|
23011
|
+
/**
|
|
23012
|
+
* ServiceForwardingConfig
|
|
23013
|
+
* @description Per-service call-forwarding destination + transfer mechanism.
|
|
23014
|
+
*
|
|
23015
|
+
* Read by:
|
|
23016
|
+
* - LLM-driven ``forward_call`` tool (tier 3 fallback when the LLM doesn't
|
|
23017
|
+
* pass an explicit ``phone_number`` and no EHR location is configured).
|
|
23018
|
+
* - ``EscalationPolicy.ForwardAction`` — engine-fired escalation with no
|
|
23019
|
+
* overrides falls through to the same path.
|
|
23020
|
+
*
|
|
23021
|
+
* Distinct from ``platform_lib.phone_numbers.ForwardingConfig`` (per-phone
|
|
23022
|
+
* legacy shape with ``enabled``); per-service forwarding is a binary
|
|
23023
|
+
* presence — set means tier 3 resolves to it, None means tier 3 has no
|
|
23024
|
+
* static target.
|
|
23025
|
+
*/
|
|
23026
|
+
ServiceForwardingConfig: {
|
|
23027
|
+
forward_to: components["schemas"]["PhoneE164"];
|
|
23028
|
+
/**
|
|
23029
|
+
* Should Disconnect
|
|
23030
|
+
* @default true
|
|
23031
|
+
*/
|
|
23032
|
+
should_disconnect?: boolean;
|
|
23033
|
+
/**
|
|
23034
|
+
* Warm Transfer
|
|
23035
|
+
* @default true
|
|
23036
|
+
*/
|
|
23037
|
+
warm_transfer?: boolean;
|
|
23038
|
+
};
|
|
23106
23039
|
/** ServiceResponse */
|
|
23107
23040
|
ServiceResponse: {
|
|
23108
23041
|
/**
|
|
@@ -23177,7 +23110,7 @@ export interface components {
|
|
|
23177
23110
|
version_sets: {
|
|
23178
23111
|
[key: string]: components["schemas"]["VersionSet"];
|
|
23179
23112
|
};
|
|
23180
|
-
voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
|
|
23113
|
+
voice_config?: components["schemas"]["ServiceVoiceConfig-Output"] | null;
|
|
23181
23114
|
/**
|
|
23182
23115
|
* Workspace Id
|
|
23183
23116
|
* Format: uuid
|
|
@@ -23198,7 +23131,75 @@ export interface components {
|
|
|
23198
23131
|
* Each field is optional — None means inherit from the layer above
|
|
23199
23132
|
* (workspace VoiceSettings → env vars → hardcoded defaults).
|
|
23200
23133
|
*/
|
|
23201
|
-
ServiceVoiceConfig: {
|
|
23134
|
+
"ServiceVoiceConfig-Input": {
|
|
23135
|
+
/**
|
|
23136
|
+
* Backchannel Delay Ms
|
|
23137
|
+
* @default 400
|
|
23138
|
+
*/
|
|
23139
|
+
backchannel_delay_ms?: number;
|
|
23140
|
+
/** Barge In Cooldown S */
|
|
23141
|
+
barge_in_cooldown_s?: number | null;
|
|
23142
|
+
/** Barge In Min Speech S */
|
|
23143
|
+
barge_in_min_speech_s?: number | null;
|
|
23144
|
+
/** Eager Eot Threshold */
|
|
23145
|
+
eager_eot_threshold?: number | null;
|
|
23146
|
+
/** Empathy Hold Ms */
|
|
23147
|
+
empathy_hold_ms?: number | null;
|
|
23148
|
+
/** Eot Timeout Ms */
|
|
23149
|
+
eot_timeout_ms?: number | null;
|
|
23150
|
+
/** Filler Cooldown Ms */
|
|
23151
|
+
filler_cooldown_ms?: number | null;
|
|
23152
|
+
/**
|
|
23153
|
+
* Filler Style
|
|
23154
|
+
* @default backchannel
|
|
23155
|
+
* @enum {string}
|
|
23156
|
+
*/
|
|
23157
|
+
filler_style?: "backchannel" | "phrase" | "silent";
|
|
23158
|
+
/** Filler Vocabulary */
|
|
23159
|
+
filler_vocabulary?: string[] | null;
|
|
23160
|
+
/**
|
|
23161
|
+
* Forward Call Enabled
|
|
23162
|
+
* @default false
|
|
23163
|
+
*/
|
|
23164
|
+
forward_call_enabled?: boolean;
|
|
23165
|
+
forwarding?: components["schemas"]["ServiceForwardingConfig"] | null;
|
|
23166
|
+
/** Language Providers */
|
|
23167
|
+
language_providers?: {
|
|
23168
|
+
[key: string]: components["schemas"]["LanguageProviderEntry"];
|
|
23169
|
+
} | null;
|
|
23170
|
+
/** Max Buffer Delay Ms */
|
|
23171
|
+
max_buffer_delay_ms?: number | null;
|
|
23172
|
+
/** Max Response Sentences */
|
|
23173
|
+
max_response_sentences?: number | null;
|
|
23174
|
+
/** Max Response Words */
|
|
23175
|
+
max_response_words?: number | null;
|
|
23176
|
+
/** Min Tts Speed */
|
|
23177
|
+
min_tts_speed?: number | null;
|
|
23178
|
+
/** Post Eot Pause Ms */
|
|
23179
|
+
post_eot_pause_ms?: number | null;
|
|
23180
|
+
/** Progress Interval Ms */
|
|
23181
|
+
progress_interval_ms?: number | null;
|
|
23182
|
+
/** Progress Vocabulary */
|
|
23183
|
+
progress_vocabulary?: string[] | null;
|
|
23184
|
+
/** Transition Deadline Ms */
|
|
23185
|
+
transition_deadline_ms?: number | null;
|
|
23186
|
+
/** Tts Config */
|
|
23187
|
+
tts_config?: {
|
|
23188
|
+
[key: string]: unknown;
|
|
23189
|
+
} | null;
|
|
23190
|
+
/** Tts Model */
|
|
23191
|
+
tts_model?: ("sonic-turbo" | "sonic-3") | null;
|
|
23192
|
+
/** Tts Provider */
|
|
23193
|
+
tts_provider?: ("cartesia" | "elevenlabs" | "groq") | null;
|
|
23194
|
+
};
|
|
23195
|
+
/**
|
|
23196
|
+
* ServiceVoiceConfig
|
|
23197
|
+
* @description Per-service voice pipeline tuning. Overrides workspace/env defaults.
|
|
23198
|
+
*
|
|
23199
|
+
* Each field is optional — None means inherit from the layer above
|
|
23200
|
+
* (workspace VoiceSettings → env vars → hardcoded defaults).
|
|
23201
|
+
*/
|
|
23202
|
+
"ServiceVoiceConfig-Output": {
|
|
23202
23203
|
/**
|
|
23203
23204
|
* Backchannel Delay Ms
|
|
23204
23205
|
* @default 400
|
|
@@ -23229,6 +23230,7 @@ export interface components {
|
|
|
23229
23230
|
* @default false
|
|
23230
23231
|
*/
|
|
23231
23232
|
forward_call_enabled?: boolean;
|
|
23233
|
+
forwarding?: components["schemas"]["ServiceForwardingConfig"] | null;
|
|
23232
23234
|
/** Language Providers */
|
|
23233
23235
|
language_providers?: {
|
|
23234
23236
|
[key: string]: components["schemas"]["LanguageProviderEntry"];
|
|
@@ -24528,9 +24530,9 @@ export interface components {
|
|
|
24528
24530
|
canonical_id?: components["schemas"]["CanonicalIdString"] | null;
|
|
24529
24531
|
/**
|
|
24530
24532
|
* Channel Kind
|
|
24531
|
-
* @
|
|
24533
|
+
* @constant
|
|
24532
24534
|
*/
|
|
24533
|
-
channel_kind: "
|
|
24535
|
+
channel_kind: "web";
|
|
24534
24536
|
/**
|
|
24535
24537
|
* Entity Id
|
|
24536
24538
|
* @description World model entity UUID. Provide either entity_id or canonical_id.
|
|
@@ -24541,31 +24543,19 @@ export interface components {
|
|
|
24541
24543
|
* @description Custom greeting. Agent auto-greets if omitted.
|
|
24542
24544
|
*/
|
|
24543
24545
|
greeting?: string | null;
|
|
24544
|
-
/**
|
|
24545
|
-
* Idempotency Key
|
|
24546
|
-
* @description Client-provided idempotency key for SMS/WhatsApp.
|
|
24547
|
-
*/
|
|
24548
|
-
idempotency_key?: string | null;
|
|
24549
|
-
/** @description E.164 phone override for SMS/WhatsApp. Resolved from entity if omitted. */
|
|
24550
|
-
phone_to?: components["schemas"]["PhoneE164"] | null;
|
|
24551
24546
|
/**
|
|
24552
24547
|
* Service Id
|
|
24553
24548
|
* Format: uuid
|
|
24554
24549
|
*/
|
|
24555
24550
|
service_id: string;
|
|
24556
|
-
/**
|
|
24557
|
-
* Surface Id
|
|
24558
|
-
* @description Surface to deliver inline in the conversation.
|
|
24559
|
-
*/
|
|
24560
|
-
surface_id?: string | null;
|
|
24561
24551
|
};
|
|
24562
24552
|
/** StartSessionResponse */
|
|
24563
24553
|
StartSessionResponse: {
|
|
24564
24554
|
/**
|
|
24565
24555
|
* Channel Kind
|
|
24566
|
-
* @
|
|
24556
|
+
* @constant
|
|
24567
24557
|
*/
|
|
24568
|
-
channel_kind: "
|
|
24558
|
+
channel_kind: "web";
|
|
24569
24559
|
/**
|
|
24570
24560
|
* Conversation Id
|
|
24571
24561
|
* Format: uuid
|
|
@@ -24578,10 +24568,6 @@ export interface components {
|
|
|
24578
24568
|
* Format: uuid
|
|
24579
24569
|
*/
|
|
24580
24570
|
entity_id: string;
|
|
24581
|
-
/** Phone From */
|
|
24582
|
-
phone_from?: string | null;
|
|
24583
|
-
/** Phone To */
|
|
24584
|
-
phone_to?: string | null;
|
|
24585
24571
|
/**
|
|
24586
24572
|
* Service Id
|
|
24587
24573
|
* Format: uuid
|
|
@@ -25155,6 +25141,8 @@ export interface components {
|
|
|
25155
25141
|
} | null;
|
|
25156
25142
|
/** Title */
|
|
25157
25143
|
title?: string | null;
|
|
25144
|
+
/** Use Case Id */
|
|
25145
|
+
use_case_id?: string | null;
|
|
25158
25146
|
};
|
|
25159
25147
|
/** SurfaceReviewApprovedEvent */
|
|
25160
25148
|
SurfaceReviewApprovedEvent: {
|
|
@@ -26067,6 +26055,15 @@ export interface components {
|
|
|
26067
26055
|
integration_name?: string | null;
|
|
26068
26056
|
/** Output */
|
|
26069
26057
|
output?: string | null;
|
|
26058
|
+
/** Output Original Length */
|
|
26059
|
+
output_original_length?: number | null;
|
|
26060
|
+
/**
|
|
26061
|
+
* Output Truncated
|
|
26062
|
+
* @default false
|
|
26063
|
+
*/
|
|
26064
|
+
output_truncated?: boolean;
|
|
26065
|
+
/** Output Truncated To */
|
|
26066
|
+
output_truncated_to?: number | null;
|
|
26070
26067
|
/** Protocol */
|
|
26071
26068
|
protocol?: string | null;
|
|
26072
26069
|
/**
|
|
@@ -27489,7 +27486,7 @@ export interface components {
|
|
|
27489
27486
|
version_sets?: {
|
|
27490
27487
|
[key: string]: components["schemas"]["VersionSet"];
|
|
27491
27488
|
} | null;
|
|
27492
|
-
voice_config?: components["schemas"]["ServiceVoiceConfig"] | null;
|
|
27489
|
+
voice_config?: components["schemas"]["ServiceVoiceConfig-Input"] | null;
|
|
27493
27490
|
};
|
|
27494
27491
|
/** UpdateSkillRequest */
|
|
27495
27492
|
UpdateSkillRequest: {
|
|
@@ -29246,51 +29243,6 @@ export interface operations {
|
|
|
29246
29243
|
};
|
|
29247
29244
|
};
|
|
29248
29245
|
};
|
|
29249
|
-
"serve-vcard": {
|
|
29250
|
-
parameters: {
|
|
29251
|
-
query?: never;
|
|
29252
|
-
header?: never;
|
|
29253
|
-
path: {
|
|
29254
|
-
workspace_slug: string;
|
|
29255
|
-
};
|
|
29256
|
-
cookie?: never;
|
|
29257
|
-
};
|
|
29258
|
-
requestBody?: never;
|
|
29259
|
-
responses: {
|
|
29260
|
-
/** @description Successful Response */
|
|
29261
|
-
200: {
|
|
29262
|
-
headers: {
|
|
29263
|
-
[name: string]: unknown;
|
|
29264
|
-
};
|
|
29265
|
-
content: {
|
|
29266
|
-
"application/json": unknown;
|
|
29267
|
-
};
|
|
29268
|
-
};
|
|
29269
|
-
/** @description Workspace or phone number not found */
|
|
29270
|
-
404: {
|
|
29271
|
-
headers: {
|
|
29272
|
-
[name: string]: unknown;
|
|
29273
|
-
};
|
|
29274
|
-
content?: never;
|
|
29275
|
-
};
|
|
29276
|
-
/** @description Validation Error */
|
|
29277
|
-
422: {
|
|
29278
|
-
headers: {
|
|
29279
|
-
[name: string]: unknown;
|
|
29280
|
-
};
|
|
29281
|
-
content: {
|
|
29282
|
-
"application/json": components["schemas"]["HTTPValidationError"];
|
|
29283
|
-
};
|
|
29284
|
-
};
|
|
29285
|
-
/** @description Rate limited */
|
|
29286
|
-
429: {
|
|
29287
|
-
headers: {
|
|
29288
|
-
[name: string]: unknown;
|
|
29289
|
-
};
|
|
29290
|
-
content?: never;
|
|
29291
|
-
};
|
|
29292
|
-
};
|
|
29293
|
-
};
|
|
29294
29246
|
"render-surface": {
|
|
29295
29247
|
parameters: {
|
|
29296
29248
|
query?: never;
|
|
@@ -33386,45 +33338,6 @@ export interface operations {
|
|
|
33386
33338
|
};
|
|
33387
33339
|
};
|
|
33388
33340
|
};
|
|
33389
|
-
list_drivers_v1__workspace_id__causal_drivers_get: {
|
|
33390
|
-
parameters: {
|
|
33391
|
-
query: {
|
|
33392
|
-
outcome_family: "disease_incidence";
|
|
33393
|
-
outcome_key: string;
|
|
33394
|
-
feature_family?: ("demographic" | "comorbidity") | null;
|
|
33395
|
-
feature_arity?: (1 | 2) | null;
|
|
33396
|
-
min_support_only?: boolean;
|
|
33397
|
-
sort_by?: "spr" | "observed" | "feature_population";
|
|
33398
|
-
limit?: number;
|
|
33399
|
-
};
|
|
33400
|
-
header?: never;
|
|
33401
|
-
path: {
|
|
33402
|
-
workspace_id: string;
|
|
33403
|
-
};
|
|
33404
|
-
cookie?: never;
|
|
33405
|
-
};
|
|
33406
|
-
requestBody?: never;
|
|
33407
|
-
responses: {
|
|
33408
|
-
/** @description Successful Response */
|
|
33409
|
-
200: {
|
|
33410
|
-
headers: {
|
|
33411
|
-
[name: string]: unknown;
|
|
33412
|
-
};
|
|
33413
|
-
content: {
|
|
33414
|
-
"application/json": components["schemas"]["DriversResponse"];
|
|
33415
|
-
};
|
|
33416
|
-
};
|
|
33417
|
-
/** @description Validation Error */
|
|
33418
|
-
422: {
|
|
33419
|
-
headers: {
|
|
33420
|
-
[name: string]: unknown;
|
|
33421
|
-
};
|
|
33422
|
-
content: {
|
|
33423
|
-
"application/json": components["schemas"]["HTTPValidationError"];
|
|
33424
|
-
};
|
|
33425
|
-
};
|
|
33426
|
-
};
|
|
33427
|
-
};
|
|
33428
33341
|
"list-ses-setups": {
|
|
33429
33342
|
parameters: {
|
|
33430
33343
|
query?: {
|
|
@@ -43842,19 +43755,14 @@ export interface operations {
|
|
|
43842
43755
|
};
|
|
43843
43756
|
content?: never;
|
|
43844
43757
|
};
|
|
43845
|
-
/** @description
|
|
43846
|
-
409: {
|
|
43847
|
-
headers: {
|
|
43848
|
-
[name: string]: unknown;
|
|
43849
|
-
};
|
|
43850
|
-
content?: never;
|
|
43851
|
-
};
|
|
43852
|
-
/** @description Entity has no phone for SMS/WhatsApp channel. */
|
|
43758
|
+
/** @description Validation Error */
|
|
43853
43759
|
422: {
|
|
43854
43760
|
headers: {
|
|
43855
43761
|
[name: string]: unknown;
|
|
43856
43762
|
};
|
|
43857
|
-
content
|
|
43763
|
+
content: {
|
|
43764
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
43765
|
+
};
|
|
43858
43766
|
};
|
|
43859
43767
|
/** @description Agent service unavailable. */
|
|
43860
43768
|
503: {
|