@amigo-ai/platform-sdk 0.48.4 → 0.49.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 +63 -5
- package/dist/types/generated/api.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/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- 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.map +1 -1
- package/package.json +1 -1
|
@@ -1883,6 +1883,26 @@ export interface paths {
|
|
|
1883
1883
|
patch?: never;
|
|
1884
1884
|
trace?: never;
|
|
1885
1885
|
};
|
|
1886
|
+
"/v1/{workspace_id}/config/client": {
|
|
1887
|
+
parameters: {
|
|
1888
|
+
query?: never;
|
|
1889
|
+
header?: never;
|
|
1890
|
+
path?: never;
|
|
1891
|
+
cookie?: never;
|
|
1892
|
+
};
|
|
1893
|
+
/**
|
|
1894
|
+
* Get client configuration
|
|
1895
|
+
* @description Return client-safe configuration for the authenticated workspace.
|
|
1896
|
+
*/
|
|
1897
|
+
get: operations["get-client-config"];
|
|
1898
|
+
put?: never;
|
|
1899
|
+
post?: never;
|
|
1900
|
+
delete?: never;
|
|
1901
|
+
options?: never;
|
|
1902
|
+
head?: never;
|
|
1903
|
+
patch?: never;
|
|
1904
|
+
trace?: never;
|
|
1905
|
+
};
|
|
1886
1906
|
"/v1/{workspace_id}/context-graphs": {
|
|
1887
1907
|
parameters: {
|
|
1888
1908
|
query?: never;
|
|
@@ -10127,6 +10147,11 @@ export interface components {
|
|
|
10127
10147
|
* @default 3
|
|
10128
10148
|
*/
|
|
10129
10149
|
concurrency?: number;
|
|
10150
|
+
/**
|
|
10151
|
+
* Entity Id
|
|
10152
|
+
* @description Optional world entity UUID to bind caller context for every scenario session created by this bridge run. The value is forwarded to each scenario's session-create call and inherited by any forks; identical precedence rules apply per-session (entity match wins over phone, stale UUID falls back to phone lookup, malformed UUID returns 422). Use this to pin an entire regression suite to a specific test patient.
|
|
10153
|
+
*/
|
|
10154
|
+
entity_id?: string | null;
|
|
10130
10155
|
exploration?: components["schemas"]["ExplorationConfig"] | null;
|
|
10131
10156
|
/**
|
|
10132
10157
|
* Max Turns
|
|
@@ -11135,6 +11160,18 @@ export interface components {
|
|
|
11135
11160
|
/** Status */
|
|
11136
11161
|
status: string;
|
|
11137
11162
|
};
|
|
11163
|
+
/**
|
|
11164
|
+
* ClientConfigResponse
|
|
11165
|
+
* @description Client-safe configuration values.
|
|
11166
|
+
*
|
|
11167
|
+
* Values returned here are safe to embed in browser-side code.
|
|
11168
|
+
* API keys are restricted by HTTP referrer or similar origin
|
|
11169
|
+
* controls at the provider level.
|
|
11170
|
+
*/
|
|
11171
|
+
ClientConfigResponse: {
|
|
11172
|
+
/** Google Maps Api Key */
|
|
11173
|
+
google_maps_api_key?: string | null;
|
|
11174
|
+
};
|
|
11138
11175
|
/**
|
|
11139
11176
|
* ClinicOpenHoursParams
|
|
11140
11177
|
* @description Workspace clinic open-hours by weekday.
|
|
@@ -21394,11 +21431,10 @@ export interface components {
|
|
|
21394
21431
|
* ProviderType
|
|
21395
21432
|
* @description Messaging provider that implements a channel.
|
|
21396
21433
|
*
|
|
21397
|
-
* Multiple providers
|
|
21398
|
-
* Infobip both support SMS).
|
|
21434
|
+
* Multiple providers may serve the same ChannelKind.
|
|
21399
21435
|
* @enum {string}
|
|
21400
21436
|
*/
|
|
21401
|
-
ProviderType: "twilio" | "
|
|
21437
|
+
ProviderType: "twilio" | "websocket";
|
|
21402
21438
|
/** ProvisionResponse */
|
|
21403
21439
|
ProvisionResponse: {
|
|
21404
21440
|
workspace: components["schemas"]["WorkspaceResponse"];
|
|
@@ -29188,12 +29224,12 @@ export interface components {
|
|
|
29188
29224
|
branch_name?: string | null;
|
|
29189
29225
|
/**
|
|
29190
29226
|
* Caller Id
|
|
29191
|
-
* @description Simulated caller phone number
|
|
29227
|
+
* @description Simulated caller phone number used to resolve patient context when `entity_id` is not provided (or does not match a row). Omitted/blank values are normalized to the `sim-orchestrator` sentinel, which yields no phone match and an empty caller context — same default the voice test-call WebSocket uses, so patient lookups resolve consistently across modalities.
|
|
29192
29228
|
*/
|
|
29193
29229
|
caller_id?: string | null;
|
|
29194
29230
|
/**
|
|
29195
29231
|
* Entity Id
|
|
29196
|
-
* @description
|
|
29232
|
+
* @description Optional world entity UUID to bind caller context directly. Precedence rules: (1) when this resolves to a world entity in the workspace, it WINS — `caller_id` is not used for identity resolution, and the resolution provenance is `entity_id_lookup`; (2) when this is a well-formed UUID with no matching entity (stale, deleted, wrong workspace), the session falls back to phone lookup against `caller_id` (provenance `phone_lookup`) — no error is raised, the sim is survivable; (3) malformed UUIDs are rejected with HTTP 422 before the request reaches agent-engine. The supplied `caller_id` is still recorded on the active call and surfaced in the greeting metadata in case (1).
|
|
29197
29233
|
*/
|
|
29198
29234
|
entity_id?: string | null;
|
|
29199
29235
|
/**
|
|
@@ -33747,6 +33783,28 @@ export interface operations {
|
|
|
33747
33783
|
};
|
|
33748
33784
|
};
|
|
33749
33785
|
};
|
|
33786
|
+
"get-client-config": {
|
|
33787
|
+
parameters: {
|
|
33788
|
+
query?: never;
|
|
33789
|
+
header?: never;
|
|
33790
|
+
path: {
|
|
33791
|
+
workspace_id: string;
|
|
33792
|
+
};
|
|
33793
|
+
cookie?: never;
|
|
33794
|
+
};
|
|
33795
|
+
requestBody?: never;
|
|
33796
|
+
responses: {
|
|
33797
|
+
/** @description Successful Response */
|
|
33798
|
+
200: {
|
|
33799
|
+
headers: {
|
|
33800
|
+
[name: string]: unknown;
|
|
33801
|
+
};
|
|
33802
|
+
content: {
|
|
33803
|
+
"application/json": components["schemas"]["ClientConfigResponse"];
|
|
33804
|
+
};
|
|
33805
|
+
};
|
|
33806
|
+
};
|
|
33807
|
+
};
|
|
33750
33808
|
"list-context_graphs": {
|
|
33751
33809
|
parameters: {
|
|
33752
33810
|
query?: {
|