@amigo-ai/platform-sdk 0.78.1 → 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/core/reconnecting-websocket.js +142 -29
- package/dist/core/reconnecting-websocket.js.map +1 -1
- package/dist/index.cjs +65 -40
- package/dist/index.cjs.map +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +65 -40
- 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/resources/observers.js.map +1 -1
- package/dist/types/core/reconnecting-websocket.d.ts +57 -7
- package/dist/types/core/reconnecting-websocket.d.ts.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 +2 -2
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- 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/observers.d.ts +7 -4
- package/dist/types/resources/observers.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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observers.js","sourceRoot":"","sources":["../../src/resources/observers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EACL,2BAA2B,
|
|
1
|
+
{"version":3,"file":"observers.js","sourceRoot":"","sources":["../../src/resources/observers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EACL,2BAA2B,GAM5B,MAAM,mCAAmC,CAAA;AAG1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAcnD,mEAAmE;AACnE,MAAM,4BAA4B,GAAG,gCAAgC,CAAA;AACrE,MAAM,oBAAoB,GAAG,IAAI,CAAA;AA2EjC;;;;;;;;;;GAUG;AACH,MAA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,OAAO,IAAI,CAAA;IACb,CAAC;IAED,IAAI,OAAgB,CAAA;IACpB,IAAI,CAAC;QACH,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;IAC5B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAA;IACb,CAAC;IACD,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAA;IAC1F,MAAM,GAAG,GAAG,OAAkC,CAAA;IAC9C,IAAI,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAA;IAChD,OAAO,GAAuB,CAAA;AAChC,CAAC"}
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
* lifecycle requirements:
|
|
7
7
|
*
|
|
8
8
|
* * Resume on transient drops with exponential backoff + full jitter
|
|
9
|
-
* * Treat
|
|
10
|
-
*
|
|
9
|
+
* * Treat permanent-rejection close codes (1008 / 3003 / 4001 / 4003 /
|
|
10
|
+
* 4004 / 4100 / 4403) as terminal — fail fast, do not loop
|
|
11
|
+
* * Treat 4029 / 1013 (rate limit / cap) as reconnectable on a slow floor,
|
|
12
|
+
* surfacing a ``rate_limited`` reconnect reason
|
|
11
13
|
* * Watchdog the connection: if no message arrives within an idle window,
|
|
12
14
|
* the upstream is dead even if the TCP socket has not closed; force a
|
|
13
|
-
* reconnect
|
|
15
|
+
* reconnect (with a NON-terminal close code so the loop actually rebuilds)
|
|
14
16
|
* * Surface every typed message through ``onMessage`` and every state
|
|
15
17
|
* transition through ``onStateChange``
|
|
16
18
|
*
|
|
@@ -28,6 +30,18 @@
|
|
|
28
30
|
export type ReconnectingWebSocketState = 'connecting' | 'open' | 'closing' | 'closed' | 'reconnecting' | 'terminal';
|
|
29
31
|
/** Reasons surfaced to {@link ReconnectingWebSocketOptions.onError} on a terminal close. */
|
|
30
32
|
export type ReconnectingWebSocketErrorReason = 'auth' | 'rate_limited' | 'client_error' | 'server_error' | 'reconnect_budget_exhausted' | 'aborted' | 'idle_watchdog' | 'open_failed' | 'unknown';
|
|
33
|
+
/**
|
|
34
|
+
* Coarse cause surfaced to {@link ReconnectingWebSocketOptions.onReconnect}
|
|
35
|
+
* describing WHY the loop is reconnecting. Lets consumers vary the banner
|
|
36
|
+
* copy ("connection went quiet" vs. "too many connections — retrying").
|
|
37
|
+
*
|
|
38
|
+
* * ``idle_watchdog`` — no frame arrived within ``idleTimeoutMs``; the
|
|
39
|
+
* watchdog force-closed the (apparently dead) socket.
|
|
40
|
+
* * ``rate_limited`` — the server closed with a rate-limit code (4029 /
|
|
41
|
+
* 1013); the backoff floor is raised before retrying.
|
|
42
|
+
* * ``transient`` — an ordinary network drop / unclassified close code.
|
|
43
|
+
*/
|
|
44
|
+
export type ReconnectingWebSocketReconnectReason = 'idle_watchdog' | 'rate_limited' | 'transient';
|
|
31
45
|
/** Structured terminal error surfaced to consumers. */
|
|
32
46
|
export declare class ReconnectingWebSocketError extends Error {
|
|
33
47
|
readonly reason: ReconnectingWebSocketErrorReason;
|
|
@@ -51,8 +65,27 @@ export interface ReconnectingWebSocketOptions {
|
|
|
51
65
|
/**
|
|
52
66
|
* Optional WebSocket subprotocols. The platform's auth scheme passes the
|
|
53
67
|
* bearer token here (``['auth', token]``) so it never appears in the URL.
|
|
68
|
+
*
|
|
69
|
+
* Frozen at subscribe time and reused verbatim on every (re)connect. For a
|
|
70
|
+
* long-lived stream whose bearer token can expire between reconnects, pass
|
|
71
|
+
* {@link getProtocols} instead so each (re)connect picks up a fresh token.
|
|
54
72
|
*/
|
|
55
73
|
protocols?: string | string[];
|
|
74
|
+
/**
|
|
75
|
+
* Optional provider for the WebSocket subprotocols, invoked on EACH
|
|
76
|
+
* (re)connect to obtain fresh subprotocols (typically a refreshed bearer
|
|
77
|
+
* token in the ``['auth', token]`` pair). Use this for long-lived streams
|
|
78
|
+
* where the token can expire while the loop is reconnecting — the static
|
|
79
|
+
* {@link protocols} freeze the value at subscribe time and would replay a
|
|
80
|
+
* stale token on every retry, looping forever against a 4403.
|
|
81
|
+
*
|
|
82
|
+
* When provided, this takes precedence over {@link protocols}. May return
|
|
83
|
+
* synchronously or as a promise. If it throws / rejects, the connection
|
|
84
|
+
* attempt fails as ``open_failed`` and the reconnect loop retries (so a
|
|
85
|
+
* transient token-refresh hiccup is survivable). Falls back to
|
|
86
|
+
* {@link protocols} when absent — fully backward compatible.
|
|
87
|
+
*/
|
|
88
|
+
getProtocols?: () => string | string[] | Promise<string | string[]>;
|
|
56
89
|
/**
|
|
57
90
|
* Initial backoff delay (ms). Doubles with full jitter on each successive
|
|
58
91
|
* failure up to ``maxDelayMs``. Default ``1_000``.
|
|
@@ -95,18 +128,28 @@ export interface ReconnectingWebSocketOptions {
|
|
|
95
128
|
onMessage: (event: MessageEvent) => void;
|
|
96
129
|
/**
|
|
97
130
|
* Invoked just before each reconnect attempt with the 1-based attempt
|
|
98
|
-
* number, the planned delay (ms),
|
|
99
|
-
* reconnect.
|
|
131
|
+
* number, the planned delay (ms), the close code that triggered the
|
|
132
|
+
* reconnect, and a coarse ``reason`` describing WHY we are reconnecting.
|
|
133
|
+
*
|
|
134
|
+
* ``reason`` lets consumers tailor the banner copy: ``idle_watchdog`` →
|
|
135
|
+
* "connection went quiet, reconnecting…"; ``rate_limited`` → "too many
|
|
136
|
+
* connections — retrying…"; ``transient`` → generic "reconnecting…". The
|
|
137
|
+
* ``reason`` field is additive — existing consumers that ignore it keep
|
|
138
|
+
* working unchanged.
|
|
100
139
|
*/
|
|
101
140
|
onReconnect?: (info: {
|
|
102
141
|
attempt: number;
|
|
103
142
|
delayMs: number;
|
|
104
143
|
closeCode: number | undefined;
|
|
144
|
+
reason: ReconnectingWebSocketReconnectReason;
|
|
105
145
|
}) => void;
|
|
106
146
|
/**
|
|
107
147
|
* Invoked exactly once per ``ReconnectingWebSocket`` instance on a
|
|
108
148
|
* terminal failure (consumer-aborted, reconnect budget exhausted, or a
|
|
109
|
-
* close code in the terminal set:
|
|
149
|
+
* close code in the terminal set: 1008 / 3003 / 4001 / 4003 / 4004 /
|
|
150
|
+
* 4100 / 4403). The {@link ReconnectingWebSocketError.closeCode} carries
|
|
151
|
+
* the originating wire close code (when one exists) so consumers can
|
|
152
|
+
* branch on it.
|
|
110
153
|
*/
|
|
111
154
|
onError?: (error: ReconnectingWebSocketError) => void;
|
|
112
155
|
}
|
|
@@ -142,9 +185,16 @@ export interface ReconnectingWebSocketHandle {
|
|
|
142
185
|
* ```ts
|
|
143
186
|
* const handle = createReconnectingWebSocket({
|
|
144
187
|
* url: client.conversations.sessionConnectUrl({ serviceId, entityId }),
|
|
145
|
-
*
|
|
188
|
+
* // Re-mint the auth subprotocols on EACH (re)connect so a token that
|
|
189
|
+
* // expires mid-stream is refreshed before the retry — falls back to the
|
|
190
|
+
* // static `protocols` option when omitted.
|
|
191
|
+
* getProtocols: async () => sessionConnectAuthProtocols(await freshToken()),
|
|
146
192
|
* onMessage: (e) => console.log('frame', e.data),
|
|
147
193
|
* onStateChange: (s) => console.log('state', s),
|
|
194
|
+
* onReconnect: ({ reason, delayMs }) => {
|
|
195
|
+
* if (reason === 'rate_limited') showBanner('Too many connections — retrying…');
|
|
196
|
+
* else if (reason === 'idle_watchdog') showBanner('Connection went quiet — reconnecting…');
|
|
197
|
+
* },
|
|
148
198
|
* onError: (err) => console.error('terminal:', err.reason, err.closeCode),
|
|
149
199
|
* });
|
|
150
200
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconnecting-websocket.d.ts","sourceRoot":"","sources":["../../../src/core/reconnecting-websocket.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"reconnecting-websocket.d.ts","sourceRoot":"","sources":["../../../src/core/reconnecting-websocket.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,wFAAwF;AACxF,MAAM,MAAM,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759,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;
|