@amigo-ai/platform-sdk 0.25.0 → 0.26.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 +59 -51
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/functions.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/settings.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -11679,15 +11679,9 @@ export interface components {
|
|
|
11679
11679
|
CreateAgentVersionRequest: {
|
|
11680
11680
|
/** @default */
|
|
11681
11681
|
background?: components["schemas"]["BackgroundString"];
|
|
11682
|
-
/**
|
|
11683
|
-
* Behaviors
|
|
11684
|
-
* @default []
|
|
11685
|
-
*/
|
|
11682
|
+
/** Behaviors */
|
|
11686
11683
|
behaviors?: string[];
|
|
11687
|
-
/**
|
|
11688
|
-
* Communication Patterns
|
|
11689
|
-
* @default []
|
|
11690
|
-
*/
|
|
11684
|
+
/** Communication Patterns */
|
|
11691
11685
|
communication_patterns?: string[];
|
|
11692
11686
|
identity: components["schemas"]["Identity"];
|
|
11693
11687
|
/**
|
|
@@ -12017,16 +12011,10 @@ export interface components {
|
|
|
12017
12011
|
* @description Patient entity in the world model. Must exist in workspace as a person entity.
|
|
12018
12012
|
*/
|
|
12019
12013
|
patient_entity_id: string;
|
|
12020
|
-
/**
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
phone_from?: string | null;
|
|
12025
|
-
/**
|
|
12026
|
-
* Phone To
|
|
12027
|
-
* @description Destination phone number in E.164 format.
|
|
12028
|
-
*/
|
|
12029
|
-
phone_to: string;
|
|
12014
|
+
/** @description Caller ID phone number in E.164 format. Must belong to this workspace. */
|
|
12015
|
+
phone_from?: components["schemas"]["PhoneE164"] | null;
|
|
12016
|
+
/** @description Destination phone number in E.164 format. */
|
|
12017
|
+
phone_to: components["schemas"]["PhoneE164"];
|
|
12030
12018
|
/** @description Why the call is being made (e.g. appointment_reminder, follow_up, lab_results). */
|
|
12031
12019
|
reason: components["schemas"]["NameString"];
|
|
12032
12020
|
/**
|
|
@@ -12107,7 +12095,7 @@ export interface components {
|
|
|
12107
12095
|
* "outbound"
|
|
12108
12096
|
* ]
|
|
12109
12097
|
*/
|
|
12110
|
-
capabilities?:
|
|
12098
|
+
capabilities?: ("inbound" | "outbound")[];
|
|
12111
12099
|
/** Channel Phone Id */
|
|
12112
12100
|
channel_phone_id?: string | null;
|
|
12113
12101
|
/**
|
|
@@ -12123,8 +12111,7 @@ export interface components {
|
|
|
12123
12111
|
* @default
|
|
12124
12112
|
*/
|
|
12125
12113
|
notes?: string;
|
|
12126
|
-
|
|
12127
|
-
phone_number: string;
|
|
12114
|
+
phone_number: components["schemas"]["PhoneE164"];
|
|
12128
12115
|
/**
|
|
12129
12116
|
* Provider
|
|
12130
12117
|
* @default twilio
|
|
@@ -12186,10 +12173,7 @@ export interface components {
|
|
|
12186
12173
|
* @default true
|
|
12187
12174
|
*/
|
|
12188
12175
|
is_active?: boolean;
|
|
12189
|
-
/**
|
|
12190
|
-
* Keyterms
|
|
12191
|
-
* @default []
|
|
12192
|
-
*/
|
|
12176
|
+
/** Keyterms */
|
|
12193
12177
|
keyterms?: string[];
|
|
12194
12178
|
name: components["schemas"]["NameString"];
|
|
12195
12179
|
/** Persona Id */
|
|
@@ -12199,10 +12183,7 @@ export interface components {
|
|
|
12199
12183
|
* @default true
|
|
12200
12184
|
*/
|
|
12201
12185
|
safety_filters_enabled?: boolean;
|
|
12202
|
-
/**
|
|
12203
|
-
* Tags
|
|
12204
|
-
* @default []
|
|
12205
|
-
*/
|
|
12186
|
+
/** Tags */
|
|
12206
12187
|
tags?: components["schemas"]["ServiceTag"][];
|
|
12207
12188
|
/**
|
|
12208
12189
|
* Tool Capacity
|
|
@@ -12277,10 +12258,7 @@ export interface components {
|
|
|
12277
12258
|
input_schema: {
|
|
12278
12259
|
[key: string]: unknown;
|
|
12279
12260
|
};
|
|
12280
|
-
/**
|
|
12281
|
-
* Integration Tools
|
|
12282
|
-
* @default []
|
|
12283
|
-
*/
|
|
12261
|
+
/** Integration Tools */
|
|
12284
12262
|
integration_tools?: components["schemas"]["IntegrationToolRef-Input"][];
|
|
12285
12263
|
/**
|
|
12286
12264
|
* Max Agent Turns
|
|
@@ -12311,10 +12289,7 @@ export interface components {
|
|
|
12311
12289
|
} | null;
|
|
12312
12290
|
/** Slug */
|
|
12313
12291
|
slug: string;
|
|
12314
|
-
/**
|
|
12315
|
-
* Static Tools
|
|
12316
|
-
* @default []
|
|
12317
|
-
*/
|
|
12292
|
+
/** Static Tools */
|
|
12318
12293
|
static_tools?: components["schemas"]["StaticToolDef-Input"][];
|
|
12319
12294
|
system_prompt?: components["schemas"]["StrippedNonemptyString"] | null;
|
|
12320
12295
|
/** Thinking Effort */
|
|
@@ -16179,8 +16154,7 @@ export interface components {
|
|
|
16179
16154
|
* @default true
|
|
16180
16155
|
*/
|
|
16181
16156
|
enabled?: boolean;
|
|
16182
|
-
|
|
16183
|
-
forward_to: string;
|
|
16157
|
+
forward_to: components["schemas"]["PhoneE164"];
|
|
16184
16158
|
/**
|
|
16185
16159
|
* Should Disconnect
|
|
16186
16160
|
* @default true
|
|
@@ -17822,6 +17796,20 @@ export interface components {
|
|
|
17822
17796
|
/** Metering Unit */
|
|
17823
17797
|
metering_unit?: string | null;
|
|
17824
17798
|
};
|
|
17799
|
+
/** MeteringEmitResponse */
|
|
17800
|
+
MeteringEmitResponse: {
|
|
17801
|
+
/**
|
|
17802
|
+
* Event Type
|
|
17803
|
+
* @description Echo of the emitted event_type.
|
|
17804
|
+
*/
|
|
17805
|
+
event_type: string;
|
|
17806
|
+
/**
|
|
17807
|
+
* Status
|
|
17808
|
+
* @description Emission outcome. Always 'accepted' on 202.
|
|
17809
|
+
* @constant
|
|
17810
|
+
*/
|
|
17811
|
+
status: "accepted";
|
|
17812
|
+
};
|
|
17825
17813
|
/** MetricCatalogEntry */
|
|
17826
17814
|
MetricCatalogEntry: {
|
|
17827
17815
|
/** Builtin */
|
|
@@ -19858,6 +19846,7 @@ export interface components {
|
|
|
19858
19846
|
*/
|
|
19859
19847
|
workspace_id: string;
|
|
19860
19848
|
};
|
|
19849
|
+
PhoneE164: string;
|
|
19861
19850
|
/** PhoneNumberCallVolume */
|
|
19862
19851
|
PhoneNumberCallVolume: {
|
|
19863
19852
|
/**
|
|
@@ -20379,8 +20368,7 @@ export interface components {
|
|
|
20379
20368
|
* @default
|
|
20380
20369
|
*/
|
|
20381
20370
|
display_name?: string;
|
|
20382
|
-
|
|
20383
|
-
phone_number: string;
|
|
20371
|
+
phone_number: components["schemas"]["PhoneE164"];
|
|
20384
20372
|
};
|
|
20385
20373
|
/** PurgeEntityResponse */
|
|
20386
20374
|
PurgeEntityResponse: {
|
|
@@ -22801,11 +22789,8 @@ export interface components {
|
|
|
22801
22789
|
* @description Client-provided idempotency key for SMS/WhatsApp.
|
|
22802
22790
|
*/
|
|
22803
22791
|
idempotency_key?: string | null;
|
|
22804
|
-
/**
|
|
22805
|
-
|
|
22806
|
-
* @description E.164 phone override for SMS/WhatsApp. Resolved from entity if omitted.
|
|
22807
|
-
*/
|
|
22808
|
-
phone_to?: string | null;
|
|
22792
|
+
/** @description E.164 phone override for SMS/WhatsApp. Resolved from entity if omitted. */
|
|
22793
|
+
phone_to?: components["schemas"]["PhoneE164"] | null;
|
|
22809
22794
|
/**
|
|
22810
22795
|
* Service Id
|
|
22811
22796
|
* Format: uuid
|
|
@@ -25066,8 +25051,23 @@ export interface components {
|
|
|
25066
25051
|
/** Turn Count */
|
|
25067
25052
|
turn_count: number;
|
|
25068
25053
|
};
|
|
25069
|
-
/**
|
|
25054
|
+
/**
|
|
25055
|
+
* TurnErrorEvent
|
|
25056
|
+
* @description Terminal error frame on the turn stream.
|
|
25057
|
+
*
|
|
25058
|
+
* Carries a stable ``code`` so SDK consumers can branch deterministically
|
|
25059
|
+
* without parsing free-form ``message`` text. ``retryable`` tells the
|
|
25060
|
+
* consumer whether issuing the same turn again is likely to succeed.
|
|
25061
|
+
* ``status_code`` is the upstream HTTP status when the error originated
|
|
25062
|
+
* from a downstream service (agent-engine), and is otherwise omitted.
|
|
25063
|
+
*/
|
|
25070
25064
|
TurnErrorEvent: {
|
|
25065
|
+
/**
|
|
25066
|
+
* Code
|
|
25067
|
+
* @default unknown
|
|
25068
|
+
* @enum {string}
|
|
25069
|
+
*/
|
|
25070
|
+
code?: "upstream_error" | "stream_interrupted" | "client_error" | "unknown";
|
|
25071
25071
|
/**
|
|
25072
25072
|
* @description discriminator enum property added by openapi-typescript
|
|
25073
25073
|
* @enum {string}
|
|
@@ -25075,6 +25075,16 @@ export interface components {
|
|
|
25075
25075
|
event: "error";
|
|
25076
25076
|
/** Message */
|
|
25077
25077
|
message: string;
|
|
25078
|
+
/**
|
|
25079
|
+
* Retryable
|
|
25080
|
+
* @default false
|
|
25081
|
+
*/
|
|
25082
|
+
retryable?: boolean;
|
|
25083
|
+
/**
|
|
25084
|
+
* Status Code
|
|
25085
|
+
* @default null
|
|
25086
|
+
*/
|
|
25087
|
+
status_code?: number | null;
|
|
25078
25088
|
};
|
|
25079
25089
|
/** TurnMessageEvent */
|
|
25080
25090
|
TurnMessageEvent: {
|
|
@@ -25441,7 +25451,7 @@ export interface components {
|
|
|
25441
25451
|
/** UpdatePhoneNumberRequest */
|
|
25442
25452
|
UpdatePhoneNumberRequest: {
|
|
25443
25453
|
/** Capabilities */
|
|
25444
|
-
capabilities?:
|
|
25454
|
+
capabilities?: ("inbound" | "outbound")[] | null;
|
|
25445
25455
|
/** Channel Phone Id */
|
|
25446
25456
|
channel_phone_id?: string | null;
|
|
25447
25457
|
/** Display Name */
|
|
@@ -36324,9 +36334,7 @@ export interface operations {
|
|
|
36324
36334
|
[name: string]: unknown;
|
|
36325
36335
|
};
|
|
36326
36336
|
content: {
|
|
36327
|
-
"application/json":
|
|
36328
|
-
[key: string]: string;
|
|
36329
|
-
};
|
|
36337
|
+
"application/json": components["schemas"]["MeteringEmitResponse"];
|
|
36330
36338
|
};
|
|
36331
36339
|
};
|
|
36332
36340
|
/** @description Validation Error */
|