@amigo-ai/platform-sdk 0.79.0 → 0.80.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 -17
- package/dist/index.cjs.map +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -17
- package/dist/index.mjs.map +2 -2
- package/dist/resources/channels/index.js.map +1 -1
- package/dist/resources/channels/ses-setup.js +0 -17
- package/dist/resources/channels/ses-setup.js.map +1 -1
- package/dist/types/generated/api.d.ts +126 -84
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/channels/index.d.ts +1 -1
- package/dist/types/resources/channels/index.d.ts.map +1 -1
- package/dist/types/resources/channels/ses-setup.d.ts +0 -12
- package/dist/types/resources/channels/ses-setup.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/channels/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/channels/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAOjD,MAAM,OAAO,gBAAiB,SAAQ,uBAAuB;IAClD,QAAQ,CAAkB;IAEnC,YAAY,MAAqB,EAAE,WAAmB;QACpD,KAAK,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;QAC1B,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;IAC3D,CAAC;CACF"}
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
* live DNS lookup and update each record's ``verified`` flag.
|
|
10
10
|
*/
|
|
11
11
|
import { WorkspaceScopedResource, extractData } from '../base.js';
|
|
12
|
-
const _SES_SETUP_LIST_RESPONSE_GUARD = true;
|
|
13
|
-
void _SES_SETUP_LIST_RESPONSE_GUARD;
|
|
14
12
|
export class SesSetupResource extends WorkspaceScopedResource {
|
|
15
13
|
/**
|
|
16
14
|
* Create an SES tenant + verified domain identity for this workspace.
|
|
@@ -25,21 +23,6 @@ export class SesSetupResource extends WorkspaceScopedResource {
|
|
|
25
23
|
body,
|
|
26
24
|
}));
|
|
27
25
|
}
|
|
28
|
-
/**
|
|
29
|
-
* List SES setups owned by this workspace.
|
|
30
|
-
*
|
|
31
|
-
* Each item carries the cached ``dns_verified`` aggregate; call ``get``
|
|
32
|
-
* for per-record DNS detail.
|
|
33
|
-
*/
|
|
34
|
-
async list(params) {
|
|
35
|
-
return extractData(await this.client.GET('/v1/{workspace_id}/channels/ses-setup', {
|
|
36
|
-
params: { path: { workspace_id: this.workspaceId }, query: params },
|
|
37
|
-
}));
|
|
38
|
-
}
|
|
39
|
-
/** Auto-paginating async iterable over every SES setup in the workspace. */
|
|
40
|
-
listAutoPaging(params) {
|
|
41
|
-
return this.iteratePaginatedList((pageParams) => this.list(pageParams), params);
|
|
42
|
-
}
|
|
43
26
|
/**
|
|
44
27
|
* Get an SES setup with a live DNS verification refresh.
|
|
45
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ses-setup.js","sourceRoot":"","sources":["../../../src/resources/channels/ses-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"ses-setup.js","sourceRoot":"","sources":["../../../src/resources/channels/ses-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAUjE,MAAM,OAAO,gBAAiB,SAAQ,uBAAuB;IAC3D;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CAAC,IAA2B;QACtC,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,uCAAuC,EAAE;YAC9D,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE;YACpD,IAAI;SACL,CAAC,CACH,CAAA;IACH,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CAAC,OAAe;QACvB,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,kDAAkD,EAAE;YACxE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;SACxE,CAAC,CACH,CAAA;IACH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CAAC,OAAe;QAC1B,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,yDAAyD,EAAE;YAChF,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;SACxE,CAAC,CACH,CAAA;IACH,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,MAAM,CAAC,OAAe;QAC1B,OAAO,WAAW,CAChB,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,kDAAkD,EAAE;YAC3E,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE;SACxE,CAAC,CACH,CAAA;IACH,CAAC;CACF"}
|
|
@@ -1759,11 +1759,7 @@ export interface paths {
|
|
|
1759
1759
|
path?: never;
|
|
1760
1760
|
cookie?: never;
|
|
1761
1761
|
};
|
|
1762
|
-
|
|
1763
|
-
* List SES setups
|
|
1764
|
-
* @description Paginated list of the SES setups owned by this workspace. Items carry the cached ``dns_verified`` aggregate; call ``GET /ses-setup/{id}`` for per-record DNS detail. Setups are scoped to the workspace that created them (intrinsic ownership); other tenants' setups are not returned. Requires ``Channel.view`` permission.
|
|
1765
|
-
*/
|
|
1766
|
-
get: operations["list-ses-setups"];
|
|
1762
|
+
get?: never;
|
|
1767
1763
|
put?: never;
|
|
1768
1764
|
/**
|
|
1769
1765
|
* Create an SES setup
|
|
@@ -5340,6 +5336,26 @@ export interface paths {
|
|
|
5340
5336
|
patch?: never;
|
|
5341
5337
|
trace?: never;
|
|
5342
5338
|
};
|
|
5339
|
+
"/v1/{workspace_id}/sessions/fleet-status": {
|
|
5340
|
+
parameters: {
|
|
5341
|
+
query?: never;
|
|
5342
|
+
header?: never;
|
|
5343
|
+
path?: never;
|
|
5344
|
+
cookie?: never;
|
|
5345
|
+
};
|
|
5346
|
+
/**
|
|
5347
|
+
* Voice fleet capacity status
|
|
5348
|
+
* @description Live Agones voice-fleet capacity: Ready/Allocated/total GameServers plus headroom against the maxReplicas ceiling. Workspace-GLOBAL — one fleet serves every workspace, so the path workspace_id is only the auth anchor, never a data filter. Operator-only.
|
|
5349
|
+
*/
|
|
5350
|
+
get: operations["get_fleet_status_v1__workspace_id__sessions_fleet_status_get"];
|
|
5351
|
+
put?: never;
|
|
5352
|
+
post?: never;
|
|
5353
|
+
delete?: never;
|
|
5354
|
+
options?: never;
|
|
5355
|
+
head?: never;
|
|
5356
|
+
patch?: never;
|
|
5357
|
+
trace?: never;
|
|
5358
|
+
};
|
|
5343
5359
|
"/v1/{workspace_id}/sessions/start": {
|
|
5344
5360
|
parameters: {
|
|
5345
5361
|
query?: never;
|
|
@@ -8425,6 +8441,8 @@ export interface components {
|
|
|
8425
8441
|
Body_upload_intake_file_v1__workspace_id__intake_files_post: {
|
|
8426
8442
|
/** Dataset */
|
|
8427
8443
|
dataset: string;
|
|
8444
|
+
/** Document Id */
|
|
8445
|
+
document_id?: string | null;
|
|
8428
8446
|
/** File */
|
|
8429
8447
|
file: string;
|
|
8430
8448
|
};
|
|
@@ -12178,9 +12196,19 @@ export interface components {
|
|
|
12178
12196
|
* @description A registered schema in the Schemas list (intake-ui-mvp-design.md §5.3).
|
|
12179
12197
|
*/
|
|
12180
12198
|
DatasetRow: {
|
|
12199
|
+
/**
|
|
12200
|
+
* Accepted File Types
|
|
12201
|
+
* @description Document datasets: the full accepted-type set (V265). Empty for snapshot
|
|
12202
|
+
* or legacy single-type documents (the UI falls back to ``file_type``).
|
|
12203
|
+
* @default []
|
|
12204
|
+
*/
|
|
12205
|
+
accepted_file_types?: string[];
|
|
12181
12206
|
/** Field Count */
|
|
12182
12207
|
field_count: number;
|
|
12183
|
-
/**
|
|
12208
|
+
/**
|
|
12209
|
+
* File Type
|
|
12210
|
+
* @description Primary/representative file type (the first accepted type).
|
|
12211
|
+
*/
|
|
12184
12212
|
file_type: string;
|
|
12185
12213
|
/**
|
|
12186
12214
|
* Ingestion Mode
|
|
@@ -14833,6 +14861,55 @@ export interface components {
|
|
|
14833
14861
|
[key: string]: unknown;
|
|
14834
14862
|
} | null;
|
|
14835
14863
|
};
|
|
14864
|
+
/**
|
|
14865
|
+
* FlagProviderHealthResponse
|
|
14866
|
+
* @description Whether feature-flag flips are actually runtime-controllable.
|
|
14867
|
+
*
|
|
14868
|
+
* Surfaces ``FeatureFlagClient.doctor()`` so operators can detect the
|
|
14869
|
+
* silently-inert state where flag flips, per-workspace ramps, kill switches,
|
|
14870
|
+
* and rollbacks resolve to code/env defaults instead of taking effect.
|
|
14871
|
+
*/
|
|
14872
|
+
FlagProviderHealthResponse: {
|
|
14873
|
+
/** Env Enabled */
|
|
14874
|
+
env_enabled: boolean;
|
|
14875
|
+
/** Provider Ready */
|
|
14876
|
+
provider_ready: boolean;
|
|
14877
|
+
/** Provider Registered */
|
|
14878
|
+
provider_registered: boolean;
|
|
14879
|
+
/** Reason */
|
|
14880
|
+
reason: string;
|
|
14881
|
+
/** Runtime Controllable */
|
|
14882
|
+
runtime_controllable: boolean;
|
|
14883
|
+
};
|
|
14884
|
+
/**
|
|
14885
|
+
* FleetStatusResponse
|
|
14886
|
+
* @description Live voice Agones fleet capacity (workspace-global).
|
|
14887
|
+
*
|
|
14888
|
+
* ``headroom`` = remaining isolated-call slots (``max_replicas - allocated``);
|
|
14889
|
+
* ``max_replicas``/``headroom`` are null when the ceiling isn't configured upstream.
|
|
14890
|
+
* The counts span the whole fleet (one fleet serves every workspace) — this is NOT
|
|
14891
|
+
* per-workspace.
|
|
14892
|
+
*/
|
|
14893
|
+
FleetStatusResponse: {
|
|
14894
|
+
/** Allocated */
|
|
14895
|
+
allocated: number;
|
|
14896
|
+
/** By State */
|
|
14897
|
+
by_state: {
|
|
14898
|
+
[key: string]: number;
|
|
14899
|
+
};
|
|
14900
|
+
/** Fleet */
|
|
14901
|
+
fleet: string;
|
|
14902
|
+
/** Headroom */
|
|
14903
|
+
headroom: number | null;
|
|
14904
|
+
/** Max Replicas */
|
|
14905
|
+
max_replicas: number | null;
|
|
14906
|
+
/** Namespace */
|
|
14907
|
+
namespace: string;
|
|
14908
|
+
/** Ready */
|
|
14909
|
+
ready: number;
|
|
14910
|
+
/** Total */
|
|
14911
|
+
total: number;
|
|
14912
|
+
};
|
|
14836
14913
|
/** ForecastDrawPoint */
|
|
14837
14914
|
ForecastDrawPoint: {
|
|
14838
14915
|
/** Draw Id */
|
|
@@ -15593,6 +15670,12 @@ export interface components {
|
|
|
15593
15670
|
* @description Schema slug (UI label "Schema").
|
|
15594
15671
|
*/
|
|
15595
15672
|
dataset: string;
|
|
15673
|
+
/**
|
|
15674
|
+
* Document Id
|
|
15675
|
+
* @description The document this version belongs to (§5.9). Null for snapshot/CSV rows;
|
|
15676
|
+
* set for documents — the console groups versions by it and the version chain.
|
|
15677
|
+
*/
|
|
15678
|
+
document_id?: string | null;
|
|
15596
15679
|
/**
|
|
15597
15680
|
* Error Reason
|
|
15598
15681
|
* @description Null unless rejected/failed.
|
|
@@ -15619,6 +15702,12 @@ export interface components {
|
|
|
15619
15702
|
/** Size Bytes */
|
|
15620
15703
|
size_bytes: number;
|
|
15621
15704
|
status: components["schemas"]["_FileStatus"];
|
|
15705
|
+
/**
|
|
15706
|
+
* Version
|
|
15707
|
+
* @description The file's version number (per-document for documents, per-dataset for
|
|
15708
|
+
* snapshot). Lets the UI render a document's version history.
|
|
15709
|
+
*/
|
|
15710
|
+
version?: number | null;
|
|
15622
15711
|
};
|
|
15623
15712
|
/** IntakeLinkResponse */
|
|
15624
15713
|
IntakeLinkResponse: {
|
|
@@ -18117,17 +18206,6 @@ export interface components {
|
|
|
18117
18206
|
/** Total */
|
|
18118
18207
|
total?: number | null;
|
|
18119
18208
|
};
|
|
18120
|
-
/** PaginatedResponse[SesSetupListItemResponse] */
|
|
18121
|
-
PaginatedResponse_SesSetupListItemResponse_: {
|
|
18122
|
-
/** Continuation Token */
|
|
18123
|
-
continuation_token?: number | null;
|
|
18124
|
-
/** Has More */
|
|
18125
|
-
has_more: boolean;
|
|
18126
|
-
/** Items */
|
|
18127
|
-
items: components["schemas"]["SesSetupListItemResponse"][];
|
|
18128
|
-
/** Total */
|
|
18129
|
-
total?: number | null;
|
|
18130
|
-
};
|
|
18131
18209
|
/** PaginatedResponse[SimulationCaseResponse] */
|
|
18132
18210
|
PaginatedResponse_SimulationCaseResponse_: {
|
|
18133
18211
|
/** Continuation Token */
|
|
@@ -19487,6 +19565,15 @@ export interface components {
|
|
|
19487
19565
|
* ``schema_version`` auto).
|
|
19488
19566
|
*/
|
|
19489
19567
|
RegisterSchemaRequest: {
|
|
19568
|
+
/**
|
|
19569
|
+
* Accepted File Types
|
|
19570
|
+
* @description Document only — the SET of accepted file types (V265, e.g.
|
|
19571
|
+
* ``["pdf","docx","md"]``). Empty → single-type (just ``file_type``).
|
|
19572
|
+
* ``file_type`` is included as the primary. Mixing in a tabular type
|
|
19573
|
+
* (csv/xls/xlsx) is rejected; snapshot datasets are single-type.
|
|
19574
|
+
* @default []
|
|
19575
|
+
*/
|
|
19576
|
+
accepted_file_types?: components["schemas"]["_FileType"][];
|
|
19490
19577
|
/** @description Document only — extraction config; defaulted server-side when omitted. */
|
|
19491
19578
|
document_processing?: components["schemas"]["DocumentProcessingSpec"] | null;
|
|
19492
19579
|
file_type: components["schemas"]["_FileType"];
|
|
@@ -20760,32 +20847,6 @@ export interface components {
|
|
|
20760
20847
|
*/
|
|
20761
20848
|
updated_at: string;
|
|
20762
20849
|
};
|
|
20763
|
-
/** SesSetupListItemResponse */
|
|
20764
|
-
SesSetupListItemResponse: {
|
|
20765
|
-
/**
|
|
20766
|
-
* Created At
|
|
20767
|
-
* Format: date-time
|
|
20768
|
-
*/
|
|
20769
|
-
created_at: string;
|
|
20770
|
-
/** Dns Checked At */
|
|
20771
|
-
dns_checked_at: string | null;
|
|
20772
|
-
/**
|
|
20773
|
-
* Dns Verified
|
|
20774
|
-
* @description Aggregate of every DNS record's ``verified`` at the last refresh.
|
|
20775
|
-
*/
|
|
20776
|
-
dns_verified: boolean;
|
|
20777
|
-
/** Domain Identity */
|
|
20778
|
-
domain_identity: string;
|
|
20779
|
-
/** Id */
|
|
20780
|
-
id: string;
|
|
20781
|
-
/** Tenant Name */
|
|
20782
|
-
tenant_name: string;
|
|
20783
|
-
/**
|
|
20784
|
-
* Updated At
|
|
20785
|
-
* Format: date-time
|
|
20786
|
-
*/
|
|
20787
|
-
updated_at: string;
|
|
20788
|
-
};
|
|
20789
20850
|
/** SessionEndEvent */
|
|
20790
20851
|
SessionEndEvent: {
|
|
20791
20852
|
/**
|
|
@@ -31427,47 +31488,6 @@ export interface operations {
|
|
|
31427
31488
|
};
|
|
31428
31489
|
};
|
|
31429
31490
|
};
|
|
31430
|
-
"list-ses-setups": {
|
|
31431
|
-
parameters: {
|
|
31432
|
-
query?: {
|
|
31433
|
-
limit?: number;
|
|
31434
|
-
continuation_token?: number;
|
|
31435
|
-
};
|
|
31436
|
-
header?: never;
|
|
31437
|
-
path: {
|
|
31438
|
-
workspace_id: string;
|
|
31439
|
-
};
|
|
31440
|
-
cookie?: never;
|
|
31441
|
-
};
|
|
31442
|
-
requestBody?: never;
|
|
31443
|
-
responses: {
|
|
31444
|
-
/** @description Successful Response */
|
|
31445
|
-
200: {
|
|
31446
|
-
headers: {
|
|
31447
|
-
[name: string]: unknown;
|
|
31448
|
-
};
|
|
31449
|
-
content: {
|
|
31450
|
-
"application/json": components["schemas"]["PaginatedResponse_SesSetupListItemResponse_"];
|
|
31451
|
-
};
|
|
31452
|
-
};
|
|
31453
|
-
/** @description Insufficient permissions. */
|
|
31454
|
-
403: {
|
|
31455
|
-
headers: {
|
|
31456
|
-
[name: string]: unknown;
|
|
31457
|
-
};
|
|
31458
|
-
content?: never;
|
|
31459
|
-
};
|
|
31460
|
-
/** @description Validation Error */
|
|
31461
|
-
422: {
|
|
31462
|
-
headers: {
|
|
31463
|
-
[name: string]: unknown;
|
|
31464
|
-
};
|
|
31465
|
-
content: {
|
|
31466
|
-
"application/json": components["schemas"]["HTTPValidationError"];
|
|
31467
|
-
};
|
|
31468
|
-
};
|
|
31469
|
-
};
|
|
31470
|
-
};
|
|
31471
31491
|
"create-ses-setup": {
|
|
31472
31492
|
parameters: {
|
|
31473
31493
|
query?: never;
|
|
@@ -40520,6 +40540,28 @@ export interface operations {
|
|
|
40520
40540
|
};
|
|
40521
40541
|
};
|
|
40522
40542
|
};
|
|
40543
|
+
get_fleet_status_v1__workspace_id__sessions_fleet_status_get: {
|
|
40544
|
+
parameters: {
|
|
40545
|
+
query?: never;
|
|
40546
|
+
header?: never;
|
|
40547
|
+
path: {
|
|
40548
|
+
workspace_id: string;
|
|
40549
|
+
};
|
|
40550
|
+
cookie?: never;
|
|
40551
|
+
};
|
|
40552
|
+
requestBody?: never;
|
|
40553
|
+
responses: {
|
|
40554
|
+
/** @description Successful Response */
|
|
40555
|
+
200: {
|
|
40556
|
+
headers: {
|
|
40557
|
+
[name: string]: unknown;
|
|
40558
|
+
};
|
|
40559
|
+
content: {
|
|
40560
|
+
"application/json": components["schemas"]["FleetStatusResponse"];
|
|
40561
|
+
};
|
|
40562
|
+
};
|
|
40563
|
+
};
|
|
40564
|
+
};
|
|
40523
40565
|
start_text_session_v1__workspace_id__sessions_start_post: {
|
|
40524
40566
|
parameters: {
|
|
40525
40567
|
query?: never;
|