@amigo-ai/platform-sdk 0.51.0 → 0.52.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 +573 -120
- 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 +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
|
@@ -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 */
|
|
@@ -17070,6 +17203,7 @@ export interface components {
|
|
|
17070
17203
|
/** Transcript */
|
|
17071
17204
|
transcript: string;
|
|
17072
17205
|
};
|
|
17206
|
+
IdentifierString: string;
|
|
17073
17207
|
/** Identity */
|
|
17074
17208
|
Identity: {
|
|
17075
17209
|
/** Default Spoken Language */
|
|
@@ -17098,6 +17232,21 @@ export interface components {
|
|
|
17098
17232
|
/** Mfa Coverage Pct */
|
|
17099
17233
|
mfa_coverage_pct?: number | null;
|
|
17100
17234
|
};
|
|
17235
|
+
/** Index */
|
|
17236
|
+
"Index-Input": {
|
|
17237
|
+
/** Columns */
|
|
17238
|
+
columns: components["schemas"]["IdentifierString"][];
|
|
17239
|
+
};
|
|
17240
|
+
/** Index */
|
|
17241
|
+
"Index-Output": {
|
|
17242
|
+
/**
|
|
17243
|
+
* Definition
|
|
17244
|
+
* @description ``pg_indexes.indexdef`` — the full CREATE INDEX statement.
|
|
17245
|
+
*/
|
|
17246
|
+
definition: string;
|
|
17247
|
+
/** Name */
|
|
17248
|
+
name: string;
|
|
17249
|
+
};
|
|
17101
17250
|
/** InjectRequest */
|
|
17102
17251
|
InjectRequest: {
|
|
17103
17252
|
/**
|
|
@@ -17715,6 +17864,28 @@ export interface components {
|
|
|
17715
17864
|
*/
|
|
17716
17865
|
version?: number;
|
|
17717
17866
|
};
|
|
17867
|
+
/** Item */
|
|
17868
|
+
Item: {
|
|
17869
|
+
/**
|
|
17870
|
+
* Created At
|
|
17871
|
+
* Format: date-time
|
|
17872
|
+
*/
|
|
17873
|
+
created_at: string;
|
|
17874
|
+
/**
|
|
17875
|
+
* Id
|
|
17876
|
+
* Format: uuid
|
|
17877
|
+
*/
|
|
17878
|
+
id: string;
|
|
17879
|
+
/** Physical Name */
|
|
17880
|
+
physical_name: string;
|
|
17881
|
+
/** Table Name */
|
|
17882
|
+
table_name: string;
|
|
17883
|
+
/**
|
|
17884
|
+
* Workspace Id
|
|
17885
|
+
* Format: uuid
|
|
17886
|
+
*/
|
|
17887
|
+
workspace_id: string;
|
|
17888
|
+
};
|
|
17718
17889
|
/**
|
|
17719
17890
|
* JoinCallRequest
|
|
17720
17891
|
* @description Request to join an active call as operator.
|
|
@@ -21558,6 +21729,16 @@ export interface components {
|
|
|
21558
21729
|
/** Type */
|
|
21559
21730
|
type: string;
|
|
21560
21731
|
};
|
|
21732
|
+
/** RenameColumnAction */
|
|
21733
|
+
RenameColumnAction: {
|
|
21734
|
+
from: components["schemas"]["IdentifierString"];
|
|
21735
|
+
/**
|
|
21736
|
+
* @description discriminator enum property added by openapi-typescript
|
|
21737
|
+
* @enum {string}
|
|
21738
|
+
*/
|
|
21739
|
+
op: "rename_column";
|
|
21740
|
+
to: components["schemas"]["IdentifierString"];
|
|
21741
|
+
};
|
|
21561
21742
|
/**
|
|
21562
21743
|
* RequestTransform
|
|
21563
21744
|
* @description Transforms outbound request body before sending to the integration endpoint.
|
|
@@ -22374,22 +22555,6 @@ export interface components {
|
|
|
22374
22555
|
/** Value */
|
|
22375
22556
|
value: string;
|
|
22376
22557
|
};
|
|
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
22558
|
/** SendGuidanceRequest */
|
|
22394
22559
|
SendGuidanceRequest: {
|
|
22395
22560
|
/** Call Sid */
|
|
@@ -22988,6 +23153,27 @@ export interface components {
|
|
|
22988
23153
|
/** Session Id */
|
|
22989
23154
|
session_id: string;
|
|
22990
23155
|
};
|
|
23156
|
+
/** SetColumnDefaultAction */
|
|
23157
|
+
SetColumnDefaultAction: {
|
|
23158
|
+
default: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Default"];
|
|
23159
|
+
name: components["schemas"]["IdentifierString"];
|
|
23160
|
+
/**
|
|
23161
|
+
* @description discriminator enum property added by openapi-typescript
|
|
23162
|
+
* @enum {string}
|
|
23163
|
+
*/
|
|
23164
|
+
op: "set_column_default";
|
|
23165
|
+
};
|
|
23166
|
+
/** SetColumnNullableAction */
|
|
23167
|
+
SetColumnNullableAction: {
|
|
23168
|
+
name: components["schemas"]["IdentifierString"];
|
|
23169
|
+
/** Nullable */
|
|
23170
|
+
nullable: boolean;
|
|
23171
|
+
/**
|
|
23172
|
+
* @description discriminator enum property added by openapi-typescript
|
|
23173
|
+
* @enum {string}
|
|
23174
|
+
*/
|
|
23175
|
+
op: "set_column_nullable";
|
|
23176
|
+
};
|
|
22991
23177
|
/**
|
|
22992
23178
|
* SignalResponseAlignment
|
|
22993
23179
|
* @description Whether the agent's response aligned with a salient signal in the call.
|
|
@@ -28620,6 +28806,157 @@ export interface components {
|
|
|
28620
28806
|
/** Tags */
|
|
28621
28807
|
tags?: string[];
|
|
28622
28808
|
};
|
|
28809
|
+
/** Request */
|
|
28810
|
+
src__routes__workspace_tables__create_workspace_table__Request: {
|
|
28811
|
+
/** Columns */
|
|
28812
|
+
columns: components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request__Column"][];
|
|
28813
|
+
/** Indexes */
|
|
28814
|
+
indexes?: components["schemas"]["Index-Input"][];
|
|
28815
|
+
/** Primary Key */
|
|
28816
|
+
primary_key?: components["schemas"]["IdentifierString"][] | null;
|
|
28817
|
+
table_name: components["schemas"]["IdentifierString"];
|
|
28818
|
+
/** Unique */
|
|
28819
|
+
unique?: components["schemas"]["IdentifierString"][][];
|
|
28820
|
+
};
|
|
28821
|
+
/** Column */
|
|
28822
|
+
src__routes__workspace_tables__create_workspace_table__Request__Column: {
|
|
28823
|
+
default?: components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request__Default"] | null;
|
|
28824
|
+
name: components["schemas"]["IdentifierString"];
|
|
28825
|
+
/**
|
|
28826
|
+
* Nullable
|
|
28827
|
+
* @default true
|
|
28828
|
+
*/
|
|
28829
|
+
nullable?: boolean;
|
|
28830
|
+
type: components["schemas"]["ColumnType"];
|
|
28831
|
+
};
|
|
28832
|
+
/** Default */
|
|
28833
|
+
src__routes__workspace_tables__create_workspace_table__Request__Default: {
|
|
28834
|
+
/**
|
|
28835
|
+
* Kind
|
|
28836
|
+
* @enum {string}
|
|
28837
|
+
*/
|
|
28838
|
+
kind: "literal" | "uuid_v4" | "now" | "current_date";
|
|
28839
|
+
/**
|
|
28840
|
+
* Value
|
|
28841
|
+
* @description Only meaningful for ``kind="literal"``. Other kinds ignore it.
|
|
28842
|
+
*/
|
|
28843
|
+
value?: string | number | boolean | null;
|
|
28844
|
+
};
|
|
28845
|
+
/** Response */
|
|
28846
|
+
src__routes__workspace_tables__create_workspace_table__Response: {
|
|
28847
|
+
/**
|
|
28848
|
+
* Id
|
|
28849
|
+
* Format: uuid
|
|
28850
|
+
*/
|
|
28851
|
+
id: string;
|
|
28852
|
+
/** Physical Name */
|
|
28853
|
+
physical_name: string;
|
|
28854
|
+
/** Table Name */
|
|
28855
|
+
table_name: string;
|
|
28856
|
+
/**
|
|
28857
|
+
* Workspace Id
|
|
28858
|
+
* Format: uuid
|
|
28859
|
+
*/
|
|
28860
|
+
workspace_id: string;
|
|
28861
|
+
};
|
|
28862
|
+
/** Request */
|
|
28863
|
+
src__routes__workspace_tables__execute_workspace_query__Request: {
|
|
28864
|
+
/**
|
|
28865
|
+
* Sql
|
|
28866
|
+
* @description One SQL statement: SELECT / WITH ... SELECT / INSERT / UPDATE /
|
|
28867
|
+
* DELETE. Multi-statement, DDL, and session-state commands (SET ROLE,
|
|
28868
|
+
* RESET, SET SESSION AUTHORIZATION) reject with 400. ``pg_*``
|
|
28869
|
+
* function calls reject with 400.
|
|
28870
|
+
*/
|
|
28871
|
+
sql: string;
|
|
28872
|
+
};
|
|
28873
|
+
/** Response */
|
|
28874
|
+
src__routes__workspace_tables__execute_workspace_query__Response: {
|
|
28875
|
+
/** Columns */
|
|
28876
|
+
columns: string[];
|
|
28877
|
+
/** Row Count */
|
|
28878
|
+
row_count: number;
|
|
28879
|
+
/** Rows */
|
|
28880
|
+
rows: {
|
|
28881
|
+
[key: string]: unknown;
|
|
28882
|
+
}[];
|
|
28883
|
+
};
|
|
28884
|
+
/** Response */
|
|
28885
|
+
src__routes__workspace_tables__get_workspace_table__Response: {
|
|
28886
|
+
/** Columns */
|
|
28887
|
+
columns: components["schemas"]["Column-Output"][];
|
|
28888
|
+
/** Constraints */
|
|
28889
|
+
constraints: components["schemas"]["Constraint"][];
|
|
28890
|
+
/**
|
|
28891
|
+
* Created At
|
|
28892
|
+
* Format: date-time
|
|
28893
|
+
*/
|
|
28894
|
+
created_at: string;
|
|
28895
|
+
/**
|
|
28896
|
+
* Id
|
|
28897
|
+
* Format: uuid
|
|
28898
|
+
*/
|
|
28899
|
+
id: string;
|
|
28900
|
+
/** Indexes */
|
|
28901
|
+
indexes: components["schemas"]["Index-Output"][];
|
|
28902
|
+
/** Physical Name */
|
|
28903
|
+
physical_name: string;
|
|
28904
|
+
/** Table Name */
|
|
28905
|
+
table_name: string;
|
|
28906
|
+
/**
|
|
28907
|
+
* Workspace Id
|
|
28908
|
+
* Format: uuid
|
|
28909
|
+
*/
|
|
28910
|
+
workspace_id: string;
|
|
28911
|
+
};
|
|
28912
|
+
/** Response */
|
|
28913
|
+
src__routes__workspace_tables__list_workspace_tables__Response: {
|
|
28914
|
+
/** Items */
|
|
28915
|
+
items: components["schemas"]["Item"][];
|
|
28916
|
+
};
|
|
28917
|
+
/** Request */
|
|
28918
|
+
src__routes__workspace_tables__update_workspace_table__Request: {
|
|
28919
|
+
/** Actions */
|
|
28920
|
+
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"])[];
|
|
28921
|
+
};
|
|
28922
|
+
/** Column */
|
|
28923
|
+
src__routes__workspace_tables__update_workspace_table__Request__Column: {
|
|
28924
|
+
default?: components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request__Default"] | null;
|
|
28925
|
+
name: components["schemas"]["IdentifierString"];
|
|
28926
|
+
/**
|
|
28927
|
+
* Nullable
|
|
28928
|
+
* @default true
|
|
28929
|
+
*/
|
|
28930
|
+
nullable?: boolean;
|
|
28931
|
+
type: components["schemas"]["ColumnType"];
|
|
28932
|
+
};
|
|
28933
|
+
/** Default */
|
|
28934
|
+
src__routes__workspace_tables__update_workspace_table__Request__Default: {
|
|
28935
|
+
/**
|
|
28936
|
+
* Kind
|
|
28937
|
+
* @enum {string}
|
|
28938
|
+
*/
|
|
28939
|
+
kind: "literal" | "uuid_v4" | "now" | "current_date";
|
|
28940
|
+
/** Value */
|
|
28941
|
+
value?: string | number | boolean | null;
|
|
28942
|
+
};
|
|
28943
|
+
/** Response */
|
|
28944
|
+
src__routes__workspace_tables__update_workspace_table__Response: {
|
|
28945
|
+
/**
|
|
28946
|
+
* Id
|
|
28947
|
+
* Format: uuid
|
|
28948
|
+
*/
|
|
28949
|
+
id: string;
|
|
28950
|
+
/** Physical Name */
|
|
28951
|
+
physical_name: string;
|
|
28952
|
+
/** Table Name */
|
|
28953
|
+
table_name: string;
|
|
28954
|
+
/**
|
|
28955
|
+
* Workspace Id
|
|
28956
|
+
* Format: uuid
|
|
28957
|
+
*/
|
|
28958
|
+
workspace_id: string;
|
|
28959
|
+
};
|
|
28623
28960
|
};
|
|
28624
28961
|
responses: never;
|
|
28625
28962
|
parameters: never;
|
|
@@ -40780,6 +41117,41 @@ export interface operations {
|
|
|
40780
41117
|
};
|
|
40781
41118
|
};
|
|
40782
41119
|
};
|
|
41120
|
+
"execute-workspace-query": {
|
|
41121
|
+
parameters: {
|
|
41122
|
+
query?: never;
|
|
41123
|
+
header?: never;
|
|
41124
|
+
path: {
|
|
41125
|
+
workspace_id: string;
|
|
41126
|
+
};
|
|
41127
|
+
cookie?: never;
|
|
41128
|
+
};
|
|
41129
|
+
requestBody: {
|
|
41130
|
+
content: {
|
|
41131
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__execute_workspace_query__Request"];
|
|
41132
|
+
};
|
|
41133
|
+
};
|
|
41134
|
+
responses: {
|
|
41135
|
+
/** @description Successful Response */
|
|
41136
|
+
200: {
|
|
41137
|
+
headers: {
|
|
41138
|
+
[name: string]: unknown;
|
|
41139
|
+
};
|
|
41140
|
+
content: {
|
|
41141
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__execute_workspace_query__Response"];
|
|
41142
|
+
};
|
|
41143
|
+
};
|
|
41144
|
+
/** @description Validation Error */
|
|
41145
|
+
422: {
|
|
41146
|
+
headers: {
|
|
41147
|
+
[name: string]: unknown;
|
|
41148
|
+
};
|
|
41149
|
+
content: {
|
|
41150
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
41151
|
+
};
|
|
41152
|
+
};
|
|
41153
|
+
};
|
|
41154
|
+
};
|
|
40783
41155
|
query_table_v1__workspace_id__query__schema___table__get: {
|
|
40784
41156
|
parameters: {
|
|
40785
41157
|
query?: {
|
|
@@ -43660,82 +44032,6 @@ export interface operations {
|
|
|
43660
44032
|
};
|
|
43661
44033
|
};
|
|
43662
44034
|
};
|
|
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
44035
|
"get-voice-settings": {
|
|
43740
44036
|
parameters: {
|
|
43741
44037
|
query?: never;
|
|
@@ -45956,6 +46252,163 @@ export interface operations {
|
|
|
45956
46252
|
};
|
|
45957
46253
|
};
|
|
45958
46254
|
};
|
|
46255
|
+
"list-workspace-tables": {
|
|
46256
|
+
parameters: {
|
|
46257
|
+
query?: never;
|
|
46258
|
+
header?: never;
|
|
46259
|
+
path: {
|
|
46260
|
+
workspace_id: string;
|
|
46261
|
+
};
|
|
46262
|
+
cookie?: never;
|
|
46263
|
+
};
|
|
46264
|
+
requestBody?: never;
|
|
46265
|
+
responses: {
|
|
46266
|
+
/** @description Successful Response */
|
|
46267
|
+
200: {
|
|
46268
|
+
headers: {
|
|
46269
|
+
[name: string]: unknown;
|
|
46270
|
+
};
|
|
46271
|
+
content: {
|
|
46272
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__list_workspace_tables__Response"];
|
|
46273
|
+
};
|
|
46274
|
+
};
|
|
46275
|
+
};
|
|
46276
|
+
};
|
|
46277
|
+
"create-workspace-table": {
|
|
46278
|
+
parameters: {
|
|
46279
|
+
query?: never;
|
|
46280
|
+
header?: never;
|
|
46281
|
+
path: {
|
|
46282
|
+
workspace_id: string;
|
|
46283
|
+
};
|
|
46284
|
+
cookie?: never;
|
|
46285
|
+
};
|
|
46286
|
+
requestBody: {
|
|
46287
|
+
content: {
|
|
46288
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__create_workspace_table__Request"];
|
|
46289
|
+
};
|
|
46290
|
+
};
|
|
46291
|
+
responses: {
|
|
46292
|
+
/** @description Successful Response */
|
|
46293
|
+
201: {
|
|
46294
|
+
headers: {
|
|
46295
|
+
[name: string]: unknown;
|
|
46296
|
+
};
|
|
46297
|
+
content: {
|
|
46298
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__create_workspace_table__Response"];
|
|
46299
|
+
};
|
|
46300
|
+
};
|
|
46301
|
+
/** @description Validation Error */
|
|
46302
|
+
422: {
|
|
46303
|
+
headers: {
|
|
46304
|
+
[name: string]: unknown;
|
|
46305
|
+
};
|
|
46306
|
+
content: {
|
|
46307
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46308
|
+
};
|
|
46309
|
+
};
|
|
46310
|
+
};
|
|
46311
|
+
};
|
|
46312
|
+
"get-workspace-table": {
|
|
46313
|
+
parameters: {
|
|
46314
|
+
query?: never;
|
|
46315
|
+
header?: never;
|
|
46316
|
+
path: {
|
|
46317
|
+
workspace_id: string;
|
|
46318
|
+
table_id: string;
|
|
46319
|
+
};
|
|
46320
|
+
cookie?: never;
|
|
46321
|
+
};
|
|
46322
|
+
requestBody?: never;
|
|
46323
|
+
responses: {
|
|
46324
|
+
/** @description Successful Response */
|
|
46325
|
+
200: {
|
|
46326
|
+
headers: {
|
|
46327
|
+
[name: string]: unknown;
|
|
46328
|
+
};
|
|
46329
|
+
content: {
|
|
46330
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__get_workspace_table__Response"];
|
|
46331
|
+
};
|
|
46332
|
+
};
|
|
46333
|
+
/** @description Validation Error */
|
|
46334
|
+
422: {
|
|
46335
|
+
headers: {
|
|
46336
|
+
[name: string]: unknown;
|
|
46337
|
+
};
|
|
46338
|
+
content: {
|
|
46339
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46340
|
+
};
|
|
46341
|
+
};
|
|
46342
|
+
};
|
|
46343
|
+
};
|
|
46344
|
+
"delete-workspace-table": {
|
|
46345
|
+
parameters: {
|
|
46346
|
+
query?: never;
|
|
46347
|
+
header?: never;
|
|
46348
|
+
path: {
|
|
46349
|
+
workspace_id: string;
|
|
46350
|
+
table_id: string;
|
|
46351
|
+
};
|
|
46352
|
+
cookie?: never;
|
|
46353
|
+
};
|
|
46354
|
+
requestBody?: never;
|
|
46355
|
+
responses: {
|
|
46356
|
+
/** @description Successful Response */
|
|
46357
|
+
200: {
|
|
46358
|
+
headers: {
|
|
46359
|
+
[name: string]: unknown;
|
|
46360
|
+
};
|
|
46361
|
+
content: {
|
|
46362
|
+
"application/json": unknown;
|
|
46363
|
+
};
|
|
46364
|
+
};
|
|
46365
|
+
/** @description Validation Error */
|
|
46366
|
+
422: {
|
|
46367
|
+
headers: {
|
|
46368
|
+
[name: string]: unknown;
|
|
46369
|
+
};
|
|
46370
|
+
content: {
|
|
46371
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46372
|
+
};
|
|
46373
|
+
};
|
|
46374
|
+
};
|
|
46375
|
+
};
|
|
46376
|
+
"update-workspace-table": {
|
|
46377
|
+
parameters: {
|
|
46378
|
+
query?: never;
|
|
46379
|
+
header?: never;
|
|
46380
|
+
path: {
|
|
46381
|
+
workspace_id: string;
|
|
46382
|
+
table_id: string;
|
|
46383
|
+
};
|
|
46384
|
+
cookie?: never;
|
|
46385
|
+
};
|
|
46386
|
+
requestBody: {
|
|
46387
|
+
content: {
|
|
46388
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__update_workspace_table__Request"];
|
|
46389
|
+
};
|
|
46390
|
+
};
|
|
46391
|
+
responses: {
|
|
46392
|
+
/** @description Successful Response */
|
|
46393
|
+
200: {
|
|
46394
|
+
headers: {
|
|
46395
|
+
[name: string]: unknown;
|
|
46396
|
+
};
|
|
46397
|
+
content: {
|
|
46398
|
+
"application/json": components["schemas"]["src__routes__workspace_tables__update_workspace_table__Response"];
|
|
46399
|
+
};
|
|
46400
|
+
};
|
|
46401
|
+
/** @description Validation Error */
|
|
46402
|
+
422: {
|
|
46403
|
+
headers: {
|
|
46404
|
+
[name: string]: unknown;
|
|
46405
|
+
};
|
|
46406
|
+
content: {
|
|
46407
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
46408
|
+
};
|
|
46409
|
+
};
|
|
46410
|
+
};
|
|
46411
|
+
};
|
|
45959
46412
|
list_tasks_by_call_v1__workspace_id__tasks_by_call__call_sid__get: {
|
|
45960
46413
|
parameters: {
|
|
45961
46414
|
query?: never;
|