@amigo-ai/platform-sdk 0.51.0 → 0.53.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/api.md +0 -2
- package/dist/index.cjs +0 -13
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +0 -13
- package/dist/index.mjs.map +2 -2
- package/dist/resources/settings.js +2 -11
- package/dist/resources/settings.js.map +1 -1
- package/dist/types/generated/api.d.ts +631 -122
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/fhir.d.ts +12 -0
- package/dist/types/resources/fhir.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 +2 -10
- 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
|
@@ -2710,7 +2710,7 @@ export interface paths {
|
|
|
2710
2710
|
put?: never;
|
|
2711
2711
|
/**
|
|
2712
2712
|
* Import FHIR Bundle
|
|
2713
|
-
* @description Import a FHIR Bundle. Decomposes into events and creates patient entities.
|
|
2713
|
+
* @description Import a FHIR Bundle. Decomposes supported resources into upserted world events and creates patient entities. Unsupported resource types are skipped and reported; omitted resources are not deleted.
|
|
2714
2714
|
*/
|
|
2715
2715
|
post: operations["fhir-import"];
|
|
2716
2716
|
delete?: never;
|
|
@@ -2730,7 +2730,7 @@ export interface paths {
|
|
|
2730
2730
|
put?: never;
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Import FHIR resources via NDJSON streaming
|
|
2733
|
-
* @description Stream FHIR resources as NDJSON (one resource per line). Bypasses the buffered-body size cap on /fhir/import. Callers MUST
|
|
2733
|
+
* @description Stream FHIR resources as NDJSON (one resource per line). Bypasses the buffered-body size cap on /fhir/import. Callers MUST pre-resolve any bundle-internal urn:uuid: references. Unsupported resource types are skipped and reported; omitted resources are not deleted.
|
|
2734
2734
|
*/
|
|
2735
2735
|
post: operations["fhir-import-stream"];
|
|
2736
2736
|
delete?: never;
|
|
@@ -5158,6 +5158,23 @@ export interface paths {
|
|
|
5158
5158
|
patch?: never;
|
|
5159
5159
|
trace?: never;
|
|
5160
5160
|
};
|
|
5161
|
+
"/v1/{workspace_id}/query": {
|
|
5162
|
+
parameters: {
|
|
5163
|
+
query?: never;
|
|
5164
|
+
header?: never;
|
|
5165
|
+
path?: never;
|
|
5166
|
+
cookie?: never;
|
|
5167
|
+
};
|
|
5168
|
+
get?: never;
|
|
5169
|
+
put?: never;
|
|
5170
|
+
/** Execute Workspace Query */
|
|
5171
|
+
post: operations["execute-workspace-query"];
|
|
5172
|
+
delete?: never;
|
|
5173
|
+
options?: never;
|
|
5174
|
+
head?: never;
|
|
5175
|
+
patch?: never;
|
|
5176
|
+
trace?: never;
|
|
5177
|
+
};
|
|
5161
5178
|
"/v1/{workspace_id}/query/{schema}/{table}": {
|
|
5162
5179
|
parameters: {
|
|
5163
5180
|
query?: never;
|
|
@@ -6378,34 +6395,6 @@ export interface paths {
|
|
|
6378
6395
|
patch?: never;
|
|
6379
6396
|
trace?: never;
|
|
6380
6397
|
};
|
|
6381
|
-
"/v1/{workspace_id}/settings/security": {
|
|
6382
|
-
parameters: {
|
|
6383
|
-
query?: never;
|
|
6384
|
-
header?: never;
|
|
6385
|
-
path?: never;
|
|
6386
|
-
cookie?: never;
|
|
6387
|
-
};
|
|
6388
|
-
/**
|
|
6389
|
-
* Get workspace security settings
|
|
6390
|
-
* @description Get workspace security settings.
|
|
6391
|
-
*
|
|
6392
|
-
* Permissions: authenticated (any role).
|
|
6393
|
-
*/
|
|
6394
|
-
get: operations["get-security-settings"];
|
|
6395
|
-
/**
|
|
6396
|
-
* Update workspace security settings
|
|
6397
|
-
* @description Update workspace security settings.
|
|
6398
|
-
*
|
|
6399
|
-
* Permissions: admin, owner.
|
|
6400
|
-
*/
|
|
6401
|
-
put: operations["update-security-settings"];
|
|
6402
|
-
post?: never;
|
|
6403
|
-
delete?: never;
|
|
6404
|
-
options?: never;
|
|
6405
|
-
head?: never;
|
|
6406
|
-
patch?: never;
|
|
6407
|
-
trace?: never;
|
|
6408
|
-
};
|
|
6409
6398
|
"/v1/{workspace_id}/settings/voice": {
|
|
6410
6399
|
parameters: {
|
|
6411
6400
|
query?: never;
|
|
@@ -7342,6 +7331,43 @@ export interface paths {
|
|
|
7342
7331
|
patch?: never;
|
|
7343
7332
|
trace?: never;
|
|
7344
7333
|
};
|
|
7334
|
+
"/v1/{workspace_id}/tables": {
|
|
7335
|
+
parameters: {
|
|
7336
|
+
query?: never;
|
|
7337
|
+
header?: never;
|
|
7338
|
+
path?: never;
|
|
7339
|
+
cookie?: never;
|
|
7340
|
+
};
|
|
7341
|
+
/** List Workspace Tables */
|
|
7342
|
+
get: operations["list-workspace-tables"];
|
|
7343
|
+
put?: never;
|
|
7344
|
+
/** Create Workspace Table */
|
|
7345
|
+
post: operations["create-workspace-table"];
|
|
7346
|
+
delete?: never;
|
|
7347
|
+
options?: never;
|
|
7348
|
+
head?: never;
|
|
7349
|
+
patch?: never;
|
|
7350
|
+
trace?: never;
|
|
7351
|
+
};
|
|
7352
|
+
"/v1/{workspace_id}/tables/{table_id}": {
|
|
7353
|
+
parameters: {
|
|
7354
|
+
query?: never;
|
|
7355
|
+
header?: never;
|
|
7356
|
+
path?: never;
|
|
7357
|
+
cookie?: never;
|
|
7358
|
+
};
|
|
7359
|
+
/** Get Workspace Table */
|
|
7360
|
+
get: operations["get-workspace-table"];
|
|
7361
|
+
put?: never;
|
|
7362
|
+
post?: never;
|
|
7363
|
+
/** Delete Workspace Table */
|
|
7364
|
+
delete: operations["delete-workspace-table"];
|
|
7365
|
+
options?: never;
|
|
7366
|
+
head?: never;
|
|
7367
|
+
/** Update Workspace Table */
|
|
7368
|
+
patch: operations["update-workspace-table"];
|
|
7369
|
+
trace?: never;
|
|
7370
|
+
};
|
|
7345
7371
|
"/v1/{workspace_id}/tasks/by-call/{call_sid}": {
|
|
7346
7372
|
parameters: {
|
|
7347
7373
|
query?: never;
|
|
@@ -8730,6 +8756,37 @@ export interface components {
|
|
|
8730
8756
|
/** Workspace Id */
|
|
8731
8757
|
workspace_id?: string | null;
|
|
8732
8758
|
};
|
|
8759
|
+
/** AddColumnAction */
|
|
8760
|
+
AddColumnAction: {
|
|
8761
|
+
column: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Column"];
|
|
8762
|
+
/**
|
|
8763
|
+
* @description discriminator enum property added by openapi-typescript
|
|
8764
|
+
* @enum {string}
|
|
8765
|
+
*/
|
|
8766
|
+
op: "add_column";
|
|
8767
|
+
};
|
|
8768
|
+
/** AddIndexAction */
|
|
8769
|
+
AddIndexAction: {
|
|
8770
|
+
/** Columns */
|
|
8771
|
+
columns: components["schemas"]["IdentifierString"][];
|
|
8772
|
+
index_name: components["schemas"]["IdentifierString"];
|
|
8773
|
+
/**
|
|
8774
|
+
* @description discriminator enum property added by openapi-typescript
|
|
8775
|
+
* @enum {string}
|
|
8776
|
+
*/
|
|
8777
|
+
op: "add_index";
|
|
8778
|
+
};
|
|
8779
|
+
/** AddUniqueAction */
|
|
8780
|
+
AddUniqueAction: {
|
|
8781
|
+
/** Columns */
|
|
8782
|
+
columns: components["schemas"]["IdentifierString"][];
|
|
8783
|
+
constraint_name?: components["schemas"]["IdentifierString"] | null;
|
|
8784
|
+
/**
|
|
8785
|
+
* @description discriminator enum property added by openapi-typescript
|
|
8786
|
+
* @enum {string}
|
|
8787
|
+
*/
|
|
8788
|
+
op: "add_unique";
|
|
8789
|
+
};
|
|
8733
8790
|
/** AgentAnalyticsEntry */
|
|
8734
8791
|
AgentAnalyticsEntry: {
|
|
8735
8792
|
/**
|
|
@@ -10506,6 +10563,16 @@ export interface components {
|
|
|
10506
10563
|
/** Value */
|
|
10507
10564
|
value: string | null;
|
|
10508
10565
|
};
|
|
10566
|
+
/** ChangeColumnTypeAction */
|
|
10567
|
+
ChangeColumnTypeAction: {
|
|
10568
|
+
name: components["schemas"]["IdentifierString"];
|
|
10569
|
+
new_type: components["schemas"]["ColumnType"];
|
|
10570
|
+
/**
|
|
10571
|
+
* @description discriminator enum property added by openapi-typescript
|
|
10572
|
+
* @enum {string}
|
|
10573
|
+
*/
|
|
10574
|
+
op: "change_column_type";
|
|
10575
|
+
};
|
|
10509
10576
|
/** ChannelEmailBouncedEvent */
|
|
10510
10577
|
ChannelEmailBouncedEvent: {
|
|
10511
10578
|
/**
|
|
@@ -11050,6 +11117,24 @@ export interface components {
|
|
|
11050
11117
|
/** Validation */
|
|
11051
11118
|
validation?: string | null;
|
|
11052
11119
|
};
|
|
11120
|
+
/** Column */
|
|
11121
|
+
"Column-Output": {
|
|
11122
|
+
/**
|
|
11123
|
+
* Data Type
|
|
11124
|
+
* @description Postgres-side type as reported by ``information_schema.columns``
|
|
11125
|
+
* (e.g. ``uuid``, ``text``, ``timestamp with time zone``).
|
|
11126
|
+
*/
|
|
11127
|
+
data_type: string;
|
|
11128
|
+
/**
|
|
11129
|
+
* Default
|
|
11130
|
+
* @description Postgres-side default expression text, or NULL if no DEFAULT.
|
|
11131
|
+
*/
|
|
11132
|
+
default: string | null;
|
|
11133
|
+
/** Is Nullable */
|
|
11134
|
+
is_nullable: boolean;
|
|
11135
|
+
/** Name */
|
|
11136
|
+
name: string;
|
|
11137
|
+
};
|
|
11053
11138
|
/** ColumnInfo */
|
|
11054
11139
|
ColumnInfo: {
|
|
11055
11140
|
/** Column Name */
|
|
@@ -11059,6 +11144,8 @@ export interface components {
|
|
|
11059
11144
|
/** Data Type */
|
|
11060
11145
|
data_type: string;
|
|
11061
11146
|
};
|
|
11147
|
+
/** @enum {string} */
|
|
11148
|
+
ColumnType: "text" | "int" | "bigint" | "numeric" | "boolean" | "uuid" | "timestamptz" | "date" | "time" | "jsonb" | "bytea";
|
|
11062
11149
|
/** ColumnsResponse */
|
|
11063
11150
|
ColumnsResponse: {
|
|
11064
11151
|
/** Count */
|
|
@@ -11439,6 +11526,16 @@ export interface components {
|
|
|
11439
11526
|
/** Connectors */
|
|
11440
11527
|
connectors: components["schemas"]["ConnectorDef"][];
|
|
11441
11528
|
};
|
|
11529
|
+
/** Constraint */
|
|
11530
|
+
Constraint: {
|
|
11531
|
+
/**
|
|
11532
|
+
* Definition
|
|
11533
|
+
* @description ``pg_get_constraintdef(oid)`` — the postgres-rendered definition.
|
|
11534
|
+
*/
|
|
11535
|
+
definition: string;
|
|
11536
|
+
/** Name */
|
|
11537
|
+
name: string;
|
|
11538
|
+
};
|
|
11442
11539
|
/**
|
|
11443
11540
|
* ContentPartPayload
|
|
11444
11541
|
* @description HTTP/WebSocket shape for a modality-neutral conversation content part.
|
|
@@ -14080,6 +14177,42 @@ export interface components {
|
|
|
14080
14177
|
*/
|
|
14081
14178
|
verified: boolean;
|
|
14082
14179
|
};
|
|
14180
|
+
/** DropColumnAction */
|
|
14181
|
+
DropColumnAction: {
|
|
14182
|
+
name: components["schemas"]["IdentifierString"];
|
|
14183
|
+
/**
|
|
14184
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14185
|
+
* @enum {string}
|
|
14186
|
+
*/
|
|
14187
|
+
op: "drop_column";
|
|
14188
|
+
};
|
|
14189
|
+
/** DropColumnDefaultAction */
|
|
14190
|
+
DropColumnDefaultAction: {
|
|
14191
|
+
name: components["schemas"]["IdentifierString"];
|
|
14192
|
+
/**
|
|
14193
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14194
|
+
* @enum {string}
|
|
14195
|
+
*/
|
|
14196
|
+
op: "drop_column_default";
|
|
14197
|
+
};
|
|
14198
|
+
/** DropConstraintAction */
|
|
14199
|
+
DropConstraintAction: {
|
|
14200
|
+
name: components["schemas"]["IdentifierString"];
|
|
14201
|
+
/**
|
|
14202
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14203
|
+
* @enum {string}
|
|
14204
|
+
*/
|
|
14205
|
+
op: "drop_constraint";
|
|
14206
|
+
};
|
|
14207
|
+
/** DropIndexAction */
|
|
14208
|
+
DropIndexAction: {
|
|
14209
|
+
index_name: components["schemas"]["IdentifierString"];
|
|
14210
|
+
/**
|
|
14211
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14212
|
+
* @enum {string}
|
|
14213
|
+
*/
|
|
14214
|
+
op: "drop_index";
|
|
14215
|
+
};
|
|
14083
14216
|
/** EgressIpsResponse */
|
|
14084
14217
|
EgressIpsResponse: {
|
|
14085
14218
|
/** Egress Ips */
|
|
@@ -15748,15 +15881,37 @@ export interface components {
|
|
|
15748
15881
|
source?: string;
|
|
15749
15882
|
/** Source System */
|
|
15750
15883
|
source_system?: string | null;
|
|
15884
|
+
/**
|
|
15885
|
+
* @description Controls resources whose resourceType is missing or not projected by platform FHIR APIs. 'error' skips the resource and adds a per-resource error; 'skip' skips it without adding an error. Unsupported resources are never emitted as silent raw world events.
|
|
15886
|
+
* @default error
|
|
15887
|
+
*/
|
|
15888
|
+
unsupported_resource_policy?: components["schemas"]["FhirUnsupportedResourcePolicy"];
|
|
15751
15889
|
};
|
|
15752
15890
|
/** FhirImportResponse */
|
|
15753
15891
|
FhirImportResponse: {
|
|
15892
|
+
/**
|
|
15893
|
+
* Absence Semantics
|
|
15894
|
+
* @description Resources omitted from a later bundle are not deleted or archived by import.
|
|
15895
|
+
* @default absent_resources_persist
|
|
15896
|
+
* @constant
|
|
15897
|
+
*/
|
|
15898
|
+
absence_semantics?: "absent_resources_persist";
|
|
15754
15899
|
/** Entities Created */
|
|
15755
15900
|
entities_created: number;
|
|
15756
15901
|
/** Entities Updated */
|
|
15757
15902
|
entities_updated: number;
|
|
15903
|
+
/**
|
|
15904
|
+
* Error Count
|
|
15905
|
+
* @default 0
|
|
15906
|
+
*/
|
|
15907
|
+
error_count?: number;
|
|
15758
15908
|
/** Errors */
|
|
15759
15909
|
errors?: string[];
|
|
15910
|
+
/**
|
|
15911
|
+
* Errors Truncated
|
|
15912
|
+
* @default false
|
|
15913
|
+
*/
|
|
15914
|
+
errors_truncated?: boolean;
|
|
15760
15915
|
/** Events Created */
|
|
15761
15916
|
events_created: number;
|
|
15762
15917
|
/**
|
|
@@ -15769,6 +15924,25 @@ export interface components {
|
|
|
15769
15924
|
* @default 0
|
|
15770
15925
|
*/
|
|
15771
15926
|
events_updated?: number;
|
|
15927
|
+
/**
|
|
15928
|
+
* Unsupported Resource Count
|
|
15929
|
+
* @default 0
|
|
15930
|
+
*/
|
|
15931
|
+
unsupported_resource_count?: number;
|
|
15932
|
+
/** Unsupported Resources */
|
|
15933
|
+
unsupported_resources?: components["schemas"]["FhirUnsupportedResourceItem"][];
|
|
15934
|
+
/**
|
|
15935
|
+
* Unsupported Resources Truncated
|
|
15936
|
+
* @default false
|
|
15937
|
+
*/
|
|
15938
|
+
unsupported_resources_truncated?: boolean;
|
|
15939
|
+
/**
|
|
15940
|
+
* Upsert Semantics
|
|
15941
|
+
* @description FHIR import uses workspace + resourceType + id as the natural key. Identical re-uploads can be deduped; changed resources supersede prior current events.
|
|
15942
|
+
* @default same_resource_id_upsert
|
|
15943
|
+
* @constant
|
|
15944
|
+
*/
|
|
15945
|
+
upsert_semantics?: "same_resource_id_upsert";
|
|
15772
15946
|
};
|
|
15773
15947
|
/** FhirLocationListResponse */
|
|
15774
15948
|
FhirLocationListResponse: {
|
|
@@ -16176,6 +16350,19 @@ export interface components {
|
|
|
16176
16350
|
/** Sync Healthy */
|
|
16177
16351
|
sync_healthy?: boolean | null;
|
|
16178
16352
|
};
|
|
16353
|
+
/** FhirUnsupportedResourceItem */
|
|
16354
|
+
FhirUnsupportedResourceItem: {
|
|
16355
|
+
/** Location */
|
|
16356
|
+
location: string;
|
|
16357
|
+
/** Reason */
|
|
16358
|
+
reason: string;
|
|
16359
|
+
/** Resource Id */
|
|
16360
|
+
resource_id?: string | null;
|
|
16361
|
+
/** Resource Type */
|
|
16362
|
+
resource_type?: string | null;
|
|
16363
|
+
};
|
|
16364
|
+
/** @enum {string} */
|
|
16365
|
+
FhirUnsupportedResourcePolicy: "error" | "skip";
|
|
16179
16366
|
/** FhirWriteRequest */
|
|
16180
16367
|
FhirWriteRequest: {
|
|
16181
16368
|
/** Data */
|
|
@@ -17070,6 +17257,7 @@ export interface components {
|
|
|
17070
17257
|
/** Transcript */
|
|
17071
17258
|
transcript: string;
|
|
17072
17259
|
};
|
|
17260
|
+
IdentifierString: string;
|
|
17073
17261
|
/** Identity */
|
|
17074
17262
|
Identity: {
|
|
17075
17263
|
/** Default Spoken Language */
|
|
@@ -17098,6 +17286,21 @@ export interface components {
|
|
|
17098
17286
|
/** Mfa Coverage Pct */
|
|
17099
17287
|
mfa_coverage_pct?: number | null;
|
|
17100
17288
|
};
|
|
17289
|
+
/** Index */
|
|
17290
|
+
"Index-Input": {
|
|
17291
|
+
/** Columns */
|
|
17292
|
+
columns: components["schemas"]["IdentifierString"][];
|
|
17293
|
+
};
|
|
17294
|
+
/** Index */
|
|
17295
|
+
"Index-Output": {
|
|
17296
|
+
/**
|
|
17297
|
+
* Definition
|
|
17298
|
+
* @description ``pg_indexes.indexdef`` — the full CREATE INDEX statement.
|
|
17299
|
+
*/
|
|
17300
|
+
definition: string;
|
|
17301
|
+
/** Name */
|
|
17302
|
+
name: string;
|
|
17303
|
+
};
|
|
17101
17304
|
/** InjectRequest */
|
|
17102
17305
|
InjectRequest: {
|
|
17103
17306
|
/**
|
|
@@ -17715,6 +17918,28 @@ export interface components {
|
|
|
17715
17918
|
*/
|
|
17716
17919
|
version?: number;
|
|
17717
17920
|
};
|
|
17921
|
+
/** Item */
|
|
17922
|
+
Item: {
|
|
17923
|
+
/**
|
|
17924
|
+
* Created At
|
|
17925
|
+
* Format: date-time
|
|
17926
|
+
*/
|
|
17927
|
+
created_at: string;
|
|
17928
|
+
/**
|
|
17929
|
+
* Id
|
|
17930
|
+
* Format: uuid
|
|
17931
|
+
*/
|
|
17932
|
+
id: string;
|
|
17933
|
+
/** Physical Name */
|
|
17934
|
+
physical_name: string;
|
|
17935
|
+
/** Table Name */
|
|
17936
|
+
table_name: string;
|
|
17937
|
+
/**
|
|
17938
|
+
* Workspace Id
|
|
17939
|
+
* Format: uuid
|
|
17940
|
+
*/
|
|
17941
|
+
workspace_id: string;
|
|
17942
|
+
};
|
|
17718
17943
|
/**
|
|
17719
17944
|
* JoinCallRequest
|
|
17720
17945
|
* @description Request to join an active call as operator.
|
|
@@ -21558,6 +21783,16 @@ export interface components {
|
|
|
21558
21783
|
/** Type */
|
|
21559
21784
|
type: string;
|
|
21560
21785
|
};
|
|
21786
|
+
/** RenameColumnAction */
|
|
21787
|
+
RenameColumnAction: {
|
|
21788
|
+
from: components["schemas"]["IdentifierString"];
|
|
21789
|
+
/**
|
|
21790
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21791
|
+
* @enum {string}
|
|
21792
|
+
*/
|
|
21793
|
+
op: "rename_column";
|
|
21794
|
+
to: components["schemas"]["IdentifierString"];
|
|
21795
|
+
};
|
|
21561
21796
|
/**
|
|
21562
21797
|
* RequestTransform
|
|
21563
21798
|
* @description Transforms outbound request body before sending to the integration endpoint.
|
|
@@ -22374,22 +22609,6 @@ export interface components {
|
|
|
22374
22609
|
/** Value */
|
|
22375
22610
|
value: string;
|
|
22376
22611
|
};
|
|
22377
|
-
/**
|
|
22378
|
-
* SecuritySettingsRequest
|
|
22379
|
-
* @description Partial update — only provided fields are changed.
|
|
22380
|
-
*/
|
|
22381
|
-
SecuritySettingsRequest: {
|
|
22382
|
-
/** Voice Auth Enabled */
|
|
22383
|
-
voice_auth_enabled?: boolean | null;
|
|
22384
|
-
};
|
|
22385
|
-
/** SecuritySettingsResponse */
|
|
22386
|
-
SecuritySettingsResponse: {
|
|
22387
|
-
/**
|
|
22388
|
-
* Voice Auth Enabled
|
|
22389
|
-
* @default false
|
|
22390
|
-
*/
|
|
22391
|
-
voice_auth_enabled?: boolean;
|
|
22392
|
-
};
|
|
22393
22612
|
/** SendGuidanceRequest */
|
|
22394
22613
|
SendGuidanceRequest: {
|
|
22395
22614
|
/** Call Sid */
|
|
@@ -22988,6 +23207,27 @@ export interface components {
|
|
|
22988
23207
|
/** Session Id */
|
|
22989
23208
|
session_id: string;
|
|
22990
23209
|
};
|
|
23210
|
+
/** SetColumnDefaultAction */
|
|
23211
|
+
SetColumnDefaultAction: {
|
|
23212
|
+
default: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Default"];
|
|
23213
|
+
name: components["schemas"]["IdentifierString"];
|
|
23214
|
+
/**
|
|
23215
|
+
* @description discriminator enum property added by openapi-typescript
|
|
23216
|
+
* @enum {string}
|
|
23217
|
+
*/
|
|
23218
|
+
op: "set_column_default";
|
|
23219
|
+
};
|
|
23220
|
+
/** SetColumnNullableAction */
|
|
23221
|
+
SetColumnNullableAction: {
|
|
23222
|
+
name: components["schemas"]["IdentifierString"];
|
|
23223
|
+
/** Nullable */
|
|
23224
|
+
nullable: boolean;
|
|
23225
|
+
/**
|
|
23226
|
+
* @description discriminator enum property added by openapi-typescript
|
|
23227
|
+
* @enum {string}
|
|
23228
|
+
*/
|
|
23229
|
+
op: "set_column_nullable";
|
|
23230
|
+
};
|
|
22991
23231
|
/**
|
|
22992
23232
|
* SignalResponseAlignment
|
|
22993
23233
|
* @description Whether the agent's response aligned with a salient signal in the call.
|
|
@@ -28620,6 +28860,157 @@ export interface components {
|
|
|
28620
28860
|
/** Tags */
|
|
28621
28861
|
tags?: string[];
|
|
28622
28862
|
};
|
|
28863
|
+
/** Request */
|
|
28864
|
+
src__routes__workspace_tables__create_workspace_table__Request: {
|
|
28865
|
+
/** Columns */
|
|
28866
|
+
columns: components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request__Column"][];
|
|
28867
|
+
/** Indexes */
|
|
28868
|
+
indexes?: components["schemas"]["Index-Input"][];
|
|
28869
|
+
/** Primary Key */
|
|
28870
|
+
primary_key?: components["schemas"]["IdentifierString"][] | null;
|
|
28871
|
+
table_name: components["schemas"]["IdentifierString"];
|
|
28872
|
+
/** Unique */
|
|
28873
|
+
unique?: components["schemas"]["IdentifierString"][][];
|
|
28874
|
+
};
|
|
28875
|
+
/** Column */
|
|
28876
|
+
src__routes__workspace_tables__create_workspace_table__Request__Column: {
|
|
28877
|
+
default?: components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request__Default"] | null;
|
|
28878
|
+
name: components["schemas"]["IdentifierString"];
|
|
28879
|
+
/**
|
|
28880
|
+
* Nullable
|
|
28881
|
+
* @default true
|
|
28882
|
+
*/
|
|
28883
|
+
nullable?: boolean;
|
|
28884
|
+
type: components["schemas"]["ColumnType"];
|
|
28885
|
+
};
|
|
28886
|
+
/** Default */
|
|
28887
|
+
src__routes__workspace_tables__create_workspace_table__Request__Default: {
|
|
28888
|
+
/**
|
|
28889
|
+
* Kind
|
|
28890
|
+
* @enum {string}
|
|
28891
|
+
*/
|
|
28892
|
+
kind: "literal" | "uuid_v4" | "now" | "current_date";
|
|
28893
|
+
/**
|
|
28894
|
+
* Value
|
|
28895
|
+
* @description Only meaningful for ``kind="literal"``. Other kinds ignore it.
|
|
28896
|
+
*/
|
|
28897
|
+
value?: string | number | boolean | null;
|
|
28898
|
+
};
|
|
28899
|
+
/** Response */
|
|
28900
|
+
src__routes__workspace_tables__create_workspace_table__Response: {
|
|
28901
|
+
/**
|
|
28902
|
+
* Id
|
|
28903
|
+
* Format: uuid
|
|
28904
|
+
*/
|
|
28905
|
+
id: string;
|
|
28906
|
+
/** Physical Name */
|
|
28907
|
+
physical_name: string;
|
|
28908
|
+
/** Table Name */
|
|
28909
|
+
table_name: string;
|
|
28910
|
+
/**
|
|
28911
|
+
* Workspace Id
|
|
28912
|
+
* Format: uuid
|
|
28913
|
+
*/
|
|
28914
|
+
workspace_id: string;
|
|
28915
|
+
};
|
|
28916
|
+
/** Request */
|
|
28917
|
+
src__routes__workspace_tables__execute_workspace_query__Request: {
|
|
28918
|
+
/**
|
|
28919
|
+
* Sql
|
|
28920
|
+
* @description One SQL statement: SELECT / WITH ... SELECT / INSERT / UPDATE /
|
|
28921
|
+
* DELETE. Multi-statement, DDL, and session-state commands (SET ROLE,
|
|
28922
|
+
* RESET, SET SESSION AUTHORIZATION) reject with 400. ``pg_*``
|
|
28923
|
+
* function calls reject with 400.
|
|
28924
|
+
*/
|
|
28925
|
+
sql: string;
|
|
28926
|
+
};
|
|
28927
|
+
/** Response */
|
|
28928
|
+
src__routes__workspace_tables__execute_workspace_query__Response: {
|
|
28929
|
+
/** Columns */
|
|
28930
|
+
columns: string[];
|
|
28931
|
+
/** Row Count */
|
|
28932
|
+
row_count: number;
|
|
28933
|
+
/** Rows */
|
|
28934
|
+
rows: {
|
|
28935
|
+
[key: string]: unknown;
|
|
28936
|
+
}[];
|
|
28937
|
+
};
|
|
28938
|
+
/** Response */
|
|
28939
|
+
src__routes__workspace_tables__get_workspace_table__Response: {
|
|
28940
|
+
/** Columns */
|
|
28941
|
+
columns: components["schemas"]["Column-Output"][];
|
|
28942
|
+
/** Constraints */
|
|
28943
|
+
constraints: components["schemas"]["Constraint"][];
|
|
28944
|
+
/**
|
|
28945
|
+
* Created At
|
|
28946
|
+
* Format: date-time
|
|
28947
|
+
*/
|
|
28948
|
+
created_at: string;
|
|
28949
|
+
/**
|
|
28950
|
+
* Id
|
|
28951
|
+
* Format: uuid
|
|
28952
|
+
*/
|
|
28953
|
+
id: string;
|
|
28954
|
+
/** Indexes */
|
|
28955
|
+
indexes: components["schemas"]["Index-Output"][];
|
|
28956
|
+
/** Physical Name */
|
|
28957
|
+
physical_name: string;
|
|
28958
|
+
/** Table Name */
|
|
28959
|
+
table_name: string;
|
|
28960
|
+
/**
|
|
28961
|
+
* Workspace Id
|
|
28962
|
+
* Format: uuid
|
|
28963
|
+
*/
|
|
28964
|
+
workspace_id: string;
|
|
28965
|
+
};
|
|
28966
|
+
/** Response */
|
|
28967
|
+
src__routes__workspace_tables__list_workspace_tables__Response: {
|
|
28968
|
+
/** Items */
|
|
28969
|
+
items: components["schemas"]["Item"][];
|
|
28970
|
+
};
|
|
28971
|
+
/** Request */
|
|
28972
|
+
src__routes__workspace_tables__update_workspace_table__Request: {
|
|
28973
|
+
/** Actions */
|
|
28974
|
+
actions: (components["schemas"]["AddColumnAction"] | components["schemas"]["DropColumnAction"] | components["schemas"]["RenameColumnAction"] | components["schemas"]["ChangeColumnTypeAction"] | components["schemas"]["SetColumnNullableAction"] | components["schemas"]["SetColumnDefaultAction"] | components["schemas"]["DropColumnDefaultAction"] | components["schemas"]["AddUniqueAction"] | components["schemas"]["DropConstraintAction"] | components["schemas"]["AddIndexAction"] | components["schemas"]["DropIndexAction"])[];
|
|
28975
|
+
};
|
|
28976
|
+
/** Column */
|
|
28977
|
+
src__routes__workspace_tables__update_workspace_table__Request__Column: {
|
|
28978
|
+
default?: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Default"] | null;
|
|
28979
|
+
name: components["schemas"]["IdentifierString"];
|
|
28980
|
+
/**
|
|
28981
|
+
* Nullable
|
|
28982
|
+
* @default true
|
|
28983
|
+
*/
|
|
28984
|
+
nullable?: boolean;
|
|
28985
|
+
type: components["schemas"]["ColumnType"];
|
|
28986
|
+
};
|
|
28987
|
+
/** Default */
|
|
28988
|
+
src__routes__workspace_tables__update_workspace_table__Request__Default: {
|
|
28989
|
+
/**
|
|
28990
|
+
* Kind
|
|
28991
|
+
* @enum {string}
|
|
28992
|
+
*/
|
|
28993
|
+
kind: "literal" | "uuid_v4" | "now" | "current_date";
|
|
28994
|
+
/** Value */
|
|
28995
|
+
value?: string | number | boolean | null;
|
|
28996
|
+
};
|
|
28997
|
+
/** Response */
|
|
28998
|
+
src__routes__workspace_tables__update_workspace_table__Response: {
|
|
28999
|
+
/**
|
|
29000
|
+
* Id
|
|
29001
|
+
* Format: uuid
|
|
29002
|
+
*/
|
|
29003
|
+
id: string;
|
|
29004
|
+
/** Physical Name */
|
|
29005
|
+
physical_name: string;
|
|
29006
|
+
/** Table Name */
|
|
29007
|
+
table_name: string;
|
|
29008
|
+
/**
|
|
29009
|
+
* Workspace Id
|
|
29010
|
+
* Format: uuid
|
|
29011
|
+
*/
|
|
29012
|
+
workspace_id: string;
|
|
29013
|
+
};
|
|
28623
29014
|
};
|
|
28624
29015
|
responses: never;
|
|
28625
29016
|
parameters: never;
|
|
@@ -35361,6 +35752,8 @@ export interface operations {
|
|
|
35361
35752
|
data_source_id?: string | null;
|
|
35362
35753
|
/** @description Skip identical re-uploads via content-hash dedup */
|
|
35363
35754
|
dedup?: boolean;
|
|
35755
|
+
/** @description Use 'error' to report unsupported resources, or 'skip' to skip them without errors. */
|
|
35756
|
+
unsupported_resource_policy?: components["schemas"]["FhirUnsupportedResourcePolicy"];
|
|
35364
35757
|
};
|
|
35365
35758
|
header?: never;
|
|
35366
35759
|
path: {
|
|
@@ -40780,6 +41173,41 @@ export interface operations {
|
|
|
40780
41173
|
};
|
|
40781
41174
|
};
|
|
40782
41175
|
};
|
|
41176
|
+
"execute-workspace-query": {
|
|
41177
|
+
parameters: {
|
|
41178
|
+
query?: never;
|
|
41179
|
+
header?: never;
|
|
41180
|
+
path: {
|
|
41181
|
+
workspace_id: string;
|
|
41182
|
+
};
|
|
41183
|
+
cookie?: never;
|
|
41184
|
+
};
|
|
41185
|
+
requestBody: {
|
|
41186
|
+
content: {
|
|
41187
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__execute_workspace_query__Request"];
|
|
41188
|
+
};
|
|
41189
|
+
};
|
|
41190
|
+
responses: {
|
|
41191
|
+
/** @description Successful Response */
|
|
41192
|
+
200: {
|
|
41193
|
+
headers: {
|
|
41194
|
+
[name: string]: unknown;
|
|
41195
|
+
};
|
|
41196
|
+
content: {
|
|
41197
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__execute_workspace_query__Response"];
|
|
41198
|
+
};
|
|
41199
|
+
};
|
|
41200
|
+
/** @description Validation Error */
|
|
41201
|
+
422: {
|
|
41202
|
+
headers: {
|
|
41203
|
+
[name: string]: unknown;
|
|
41204
|
+
};
|
|
41205
|
+
content: {
|
|
41206
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
41207
|
+
};
|
|
41208
|
+
};
|
|
41209
|
+
};
|
|
41210
|
+
};
|
|
40783
41211
|
query_table_v1__workspace_id__query__schema___table__get: {
|
|
40784
41212
|
parameters: {
|
|
40785
41213
|
query?: {
|
|
@@ -43660,82 +44088,6 @@ export interface operations {
|
|
|
43660
44088
|
};
|
|
43661
44089
|
};
|
|
43662
44090
|
};
|
|
43663
|
-
"get-security-settings": {
|
|
43664
|
-
parameters: {
|
|
43665
|
-
query?: never;
|
|
43666
|
-
header?: never;
|
|
43667
|
-
path: {
|
|
43668
|
-
workspace_id: string;
|
|
43669
|
-
};
|
|
43670
|
-
cookie?: never;
|
|
43671
|
-
};
|
|
43672
|
-
requestBody?: never;
|
|
43673
|
-
responses: {
|
|
43674
|
-
/** @description Successful Response */
|
|
43675
|
-
200: {
|
|
43676
|
-
headers: {
|
|
43677
|
-
[name: string]: unknown;
|
|
43678
|
-
};
|
|
43679
|
-
content: {
|
|
43680
|
-
"application/json": components["schemas"]["SecuritySettingsResponse"];
|
|
43681
|
-
};
|
|
43682
|
-
};
|
|
43683
|
-
/** @description Rate limited */
|
|
43684
|
-
429: {
|
|
43685
|
-
headers: {
|
|
43686
|
-
[name: string]: unknown;
|
|
43687
|
-
};
|
|
43688
|
-
content?: never;
|
|
43689
|
-
};
|
|
43690
|
-
};
|
|
43691
|
-
};
|
|
43692
|
-
"update-security-settings": {
|
|
43693
|
-
parameters: {
|
|
43694
|
-
query?: never;
|
|
43695
|
-
header?: never;
|
|
43696
|
-
path: {
|
|
43697
|
-
workspace_id: string;
|
|
43698
|
-
};
|
|
43699
|
-
cookie?: never;
|
|
43700
|
-
};
|
|
43701
|
-
requestBody: {
|
|
43702
|
-
content: {
|
|
43703
|
-
"application/json": components["schemas"]["SecuritySettingsRequest"];
|
|
43704
|
-
};
|
|
43705
|
-
};
|
|
43706
|
-
responses: {
|
|
43707
|
-
/** @description Successful Response */
|
|
43708
|
-
200: {
|
|
43709
|
-
headers: {
|
|
43710
|
-
[name: string]: unknown;
|
|
43711
|
-
};
|
|
43712
|
-
content: {
|
|
43713
|
-
"application/json": components["schemas"]["SecuritySettingsResponse"];
|
|
43714
|
-
};
|
|
43715
|
-
};
|
|
43716
|
-
/** @description Workspace not found */
|
|
43717
|
-
404: {
|
|
43718
|
-
headers: {
|
|
43719
|
-
[name: string]: unknown;
|
|
43720
|
-
};
|
|
43721
|
-
content?: never;
|
|
43722
|
-
};
|
|
43723
|
-
/** @description Validation error */
|
|
43724
|
-
422: {
|
|
43725
|
-
headers: {
|
|
43726
|
-
[name: string]: unknown;
|
|
43727
|
-
};
|
|
43728
|
-
content?: never;
|
|
43729
|
-
};
|
|
43730
|
-
/** @description Rate limited */
|
|
43731
|
-
429: {
|
|
43732
|
-
headers: {
|
|
43733
|
-
[name: string]: unknown;
|
|
43734
|
-
};
|
|
43735
|
-
content?: never;
|
|
43736
|
-
};
|
|
43737
|
-
};
|
|
43738
|
-
};
|
|
43739
44091
|
"get-voice-settings": {
|
|
43740
44092
|
parameters: {
|
|
43741
44093
|
query?: never;
|
|
@@ -45956,6 +46308,163 @@ export interface operations {
|
|
|
45956
46308
|
};
|
|
45957
46309
|
};
|
|
45958
46310
|
};
|
|
46311
|
+
"list-workspace-tables": {
|
|
46312
|
+
parameters: {
|
|
46313
|
+
query?: never;
|
|
46314
|
+
header?: never;
|
|
46315
|
+
path: {
|
|
46316
|
+
workspace_id: string;
|
|
46317
|
+
};
|
|
46318
|
+
cookie?: never;
|
|
46319
|
+
};
|
|
46320
|
+
requestBody?: never;
|
|
46321
|
+
responses: {
|
|
46322
|
+
/** @description Successful Response */
|
|
46323
|
+
200: {
|
|
46324
|
+
headers: {
|
|
46325
|
+
[name: string]: unknown;
|
|
46326
|
+
};
|
|
46327
|
+
content: {
|
|
46328
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__list_workspace_tables__Response"];
|
|
46329
|
+
};
|
|
46330
|
+
};
|
|
46331
|
+
};
|
|
46332
|
+
};
|
|
46333
|
+
"create-workspace-table": {
|
|
46334
|
+
parameters: {
|
|
46335
|
+
query?: never;
|
|
46336
|
+
header?: never;
|
|
46337
|
+
path: {
|
|
46338
|
+
workspace_id: string;
|
|
46339
|
+
};
|
|
46340
|
+
cookie?: never;
|
|
46341
|
+
};
|
|
46342
|
+
requestBody: {
|
|
46343
|
+
content: {
|
|
46344
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request"];
|
|
46345
|
+
};
|
|
46346
|
+
};
|
|
46347
|
+
responses: {
|
|
46348
|
+
/** @description Successful Response */
|
|
46349
|
+
201: {
|
|
46350
|
+
headers: {
|
|
46351
|
+
[name: string]: unknown;
|
|
46352
|
+
};
|
|
46353
|
+
content: {
|
|
46354
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__create_workspace_table__Response"];
|
|
46355
|
+
};
|
|
46356
|
+
};
|
|
46357
|
+
/** @description Validation Error */
|
|
46358
|
+
422: {
|
|
46359
|
+
headers: {
|
|
46360
|
+
[name: string]: unknown;
|
|
46361
|
+
};
|
|
46362
|
+
content: {
|
|
46363
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46364
|
+
};
|
|
46365
|
+
};
|
|
46366
|
+
};
|
|
46367
|
+
};
|
|
46368
|
+
"get-workspace-table": {
|
|
46369
|
+
parameters: {
|
|
46370
|
+
query?: never;
|
|
46371
|
+
header?: never;
|
|
46372
|
+
path: {
|
|
46373
|
+
workspace_id: string;
|
|
46374
|
+
table_id: string;
|
|
46375
|
+
};
|
|
46376
|
+
cookie?: never;
|
|
46377
|
+
};
|
|
46378
|
+
requestBody?: never;
|
|
46379
|
+
responses: {
|
|
46380
|
+
/** @description Successful Response */
|
|
46381
|
+
200: {
|
|
46382
|
+
headers: {
|
|
46383
|
+
[name: string]: unknown;
|
|
46384
|
+
};
|
|
46385
|
+
content: {
|
|
46386
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__get_workspace_table__Response"];
|
|
46387
|
+
};
|
|
46388
|
+
};
|
|
46389
|
+
/** @description Validation Error */
|
|
46390
|
+
422: {
|
|
46391
|
+
headers: {
|
|
46392
|
+
[name: string]: unknown;
|
|
46393
|
+
};
|
|
46394
|
+
content: {
|
|
46395
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46396
|
+
};
|
|
46397
|
+
};
|
|
46398
|
+
};
|
|
46399
|
+
};
|
|
46400
|
+
"delete-workspace-table": {
|
|
46401
|
+
parameters: {
|
|
46402
|
+
query?: never;
|
|
46403
|
+
header?: never;
|
|
46404
|
+
path: {
|
|
46405
|
+
workspace_id: string;
|
|
46406
|
+
table_id: string;
|
|
46407
|
+
};
|
|
46408
|
+
cookie?: never;
|
|
46409
|
+
};
|
|
46410
|
+
requestBody?: never;
|
|
46411
|
+
responses: {
|
|
46412
|
+
/** @description Successful Response */
|
|
46413
|
+
200: {
|
|
46414
|
+
headers: {
|
|
46415
|
+
[name: string]: unknown;
|
|
46416
|
+
};
|
|
46417
|
+
content: {
|
|
46418
|
+
"application/json": unknown;
|
|
46419
|
+
};
|
|
46420
|
+
};
|
|
46421
|
+
/** @description Validation Error */
|
|
46422
|
+
422: {
|
|
46423
|
+
headers: {
|
|
46424
|
+
[name: string]: unknown;
|
|
46425
|
+
};
|
|
46426
|
+
content: {
|
|
46427
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46428
|
+
};
|
|
46429
|
+
};
|
|
46430
|
+
};
|
|
46431
|
+
};
|
|
46432
|
+
"update-workspace-table": {
|
|
46433
|
+
parameters: {
|
|
46434
|
+
query?: never;
|
|
46435
|
+
header?: never;
|
|
46436
|
+
path: {
|
|
46437
|
+
workspace_id: string;
|
|
46438
|
+
table_id: string;
|
|
46439
|
+
};
|
|
46440
|
+
cookie?: never;
|
|
46441
|
+
};
|
|
46442
|
+
requestBody: {
|
|
46443
|
+
content: {
|
|
46444
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request"];
|
|
46445
|
+
};
|
|
46446
|
+
};
|
|
46447
|
+
responses: {
|
|
46448
|
+
/** @description Successful Response */
|
|
46449
|
+
200: {
|
|
46450
|
+
headers: {
|
|
46451
|
+
[name: string]: unknown;
|
|
46452
|
+
};
|
|
46453
|
+
content: {
|
|
46454
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__update_workspace_table__Response"];
|
|
46455
|
+
};
|
|
46456
|
+
};
|
|
46457
|
+
/** @description Validation Error */
|
|
46458
|
+
422: {
|
|
46459
|
+
headers: {
|
|
46460
|
+
[name: string]: unknown;
|
|
46461
|
+
};
|
|
46462
|
+
content: {
|
|
46463
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46464
|
+
};
|
|
46465
|
+
};
|
|
46466
|
+
};
|
|
46467
|
+
};
|
|
45959
46468
|
list_tasks_by_call_v1__workspace_id__tasks_by_call__call_sid__get: {
|
|
45960
46469
|
parameters: {
|
|
45961
46470
|
query?: never;
|