@aperture-browser/api-schema 0.0.0-init.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/LICENSE +21 -0
- package/README.md +5 -0
- package/dist/index.d.ts +4380 -0
- package/dist/index.js +1684 -0
- package/dist/index.js.map +1 -0
- package/package.json +42 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,4380 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
import { SchemaError } from "effect/Schema";
|
|
4
|
+
import * as HttpClientError from "effect/unstable/http/HttpClientError";
|
|
5
|
+
import * as HttpClientRequest from "effect/unstable/http/HttpClientRequest";
|
|
6
|
+
import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse";
|
|
7
|
+
import * as HttpClient from "effect/unstable/http/HttpClient";
|
|
8
|
+
|
|
9
|
+
//#region src/api.gen.d.ts
|
|
10
|
+
type Health = {
|
|
11
|
+
readonly "status": "ok";
|
|
12
|
+
readonly "color": "blue" | "green";
|
|
13
|
+
readonly "role": "active" | "inactive";
|
|
14
|
+
readonly "version": string;
|
|
15
|
+
readonly "activeColor": "blue" | "green";
|
|
16
|
+
};
|
|
17
|
+
declare const Health: Schema.Struct<{
|
|
18
|
+
readonly status: Schema.Literal<"ok">;
|
|
19
|
+
readonly color: Schema.Literals<readonly ["blue", "green"]>;
|
|
20
|
+
readonly role: Schema.Literals<readonly ["active", "inactive"]>;
|
|
21
|
+
readonly version: Schema.String;
|
|
22
|
+
readonly activeColor: Schema.Literals<readonly ["blue", "green"]>;
|
|
23
|
+
}>;
|
|
24
|
+
type UUIDv7 = string;
|
|
25
|
+
declare const UUIDv7: Schema.String;
|
|
26
|
+
type PrincipalType = "api_token" | "user" | "system";
|
|
27
|
+
declare const PrincipalType: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
28
|
+
type AuthorityType = "system_admin" | "tenant";
|
|
29
|
+
declare const AuthorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
30
|
+
type Scope = "system:admin" | "sessions:read" | "sessions:write" | "snapshots:read" | "snapshots:write" | "tenant:write" | "tenants:write";
|
|
31
|
+
declare const Scope: Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>;
|
|
32
|
+
type ResourceMode = "all" | "allowlist";
|
|
33
|
+
declare const ResourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
34
|
+
type ResourceType = "session" | "snapshot";
|
|
35
|
+
declare const ResourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
36
|
+
type ErrorDetail = {
|
|
37
|
+
readonly "code": string;
|
|
38
|
+
readonly "message": string;
|
|
39
|
+
};
|
|
40
|
+
declare const ErrorDetail: Schema.Struct<{
|
|
41
|
+
readonly code: Schema.String;
|
|
42
|
+
readonly message: Schema.String;
|
|
43
|
+
}>;
|
|
44
|
+
type BrowserChannel = {
|
|
45
|
+
readonly "name": string;
|
|
46
|
+
};
|
|
47
|
+
declare const BrowserChannel: Schema.Struct<{
|
|
48
|
+
readonly name: Schema.String;
|
|
49
|
+
}>;
|
|
50
|
+
type PageMeta = {
|
|
51
|
+
readonly "limit": number;
|
|
52
|
+
readonly "nextCursor"?: string;
|
|
53
|
+
readonly "hasMore": boolean;
|
|
54
|
+
};
|
|
55
|
+
declare const PageMeta: Schema.Struct<{
|
|
56
|
+
readonly limit: Schema.Number;
|
|
57
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
58
|
+
readonly hasMore: Schema.Boolean;
|
|
59
|
+
}>;
|
|
60
|
+
type TenantInput = {
|
|
61
|
+
readonly "displayName": string;
|
|
62
|
+
};
|
|
63
|
+
declare const TenantInput: Schema.Struct<{
|
|
64
|
+
readonly displayName: Schema.String;
|
|
65
|
+
}>;
|
|
66
|
+
type UserInput = {
|
|
67
|
+
readonly "email"?: string | null;
|
|
68
|
+
readonly "displayName": string;
|
|
69
|
+
readonly "isSystemAdmin": boolean;
|
|
70
|
+
};
|
|
71
|
+
declare const UserInput: Schema.Struct<{
|
|
72
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
73
|
+
readonly displayName: Schema.String;
|
|
74
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
75
|
+
}>;
|
|
76
|
+
type UserInvitation = {
|
|
77
|
+
readonly "token": string;
|
|
78
|
+
readonly "expiresAt": string;
|
|
79
|
+
};
|
|
80
|
+
declare const UserInvitation: Schema.Struct<{
|
|
81
|
+
readonly token: Schema.String;
|
|
82
|
+
readonly expiresAt: Schema.String;
|
|
83
|
+
}>;
|
|
84
|
+
type TenantScope = "sessions:read" | "sessions:write" | "snapshots:read" | "snapshots:write" | "tenant:write";
|
|
85
|
+
declare const TenantScope: Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>;
|
|
86
|
+
type SessionStatus = "creating" | "running" | "suspended" | "deleted" | "expired" | "failed";
|
|
87
|
+
declare const SessionStatus: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
88
|
+
type IceServer = {
|
|
89
|
+
readonly "urls": ReadonlyArray<string>;
|
|
90
|
+
readonly "username"?: string;
|
|
91
|
+
readonly "credential"?: string;
|
|
92
|
+
};
|
|
93
|
+
declare const IceServer: Schema.Struct<{
|
|
94
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
95
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
96
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
97
|
+
}>;
|
|
98
|
+
type StringMap = {
|
|
99
|
+
readonly [x: string]: string;
|
|
100
|
+
};
|
|
101
|
+
declare const StringMap: Schema.$Record<Schema.String, Schema.String>;
|
|
102
|
+
type SessionCollaborationCapabilities = {
|
|
103
|
+
readonly "editorToken": string;
|
|
104
|
+
readonly "viewerToken": string;
|
|
105
|
+
};
|
|
106
|
+
declare const SessionCollaborationCapabilities: Schema.Struct<{
|
|
107
|
+
readonly editorToken: Schema.String;
|
|
108
|
+
readonly viewerToken: Schema.String;
|
|
109
|
+
}>;
|
|
110
|
+
type SessionProxy = {
|
|
111
|
+
readonly "upstream": "direct" | "proxy" | "tunnel";
|
|
112
|
+
readonly "url"?: string;
|
|
113
|
+
readonly "tunnel"?: {
|
|
114
|
+
readonly "url"?: string;
|
|
115
|
+
};
|
|
116
|
+
readonly "bypass"?: string;
|
|
117
|
+
};
|
|
118
|
+
declare const SessionProxy: Schema.Struct<{
|
|
119
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
120
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
121
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
122
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
123
|
+
}>>;
|
|
124
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
125
|
+
}>;
|
|
126
|
+
type BrowserConfig = {
|
|
127
|
+
readonly "channel": string;
|
|
128
|
+
readonly "args"?: ReadonlyArray<string>;
|
|
129
|
+
};
|
|
130
|
+
declare const BrowserConfig: Schema.Struct<{
|
|
131
|
+
readonly channel: Schema.String;
|
|
132
|
+
readonly args: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
133
|
+
}>;
|
|
134
|
+
type BrowserStorageEntry = {
|
|
135
|
+
readonly "name": string;
|
|
136
|
+
readonly "value": string;
|
|
137
|
+
};
|
|
138
|
+
declare const BrowserStorageEntry: Schema.Struct<{
|
|
139
|
+
readonly name: Schema.String;
|
|
140
|
+
readonly value: Schema.String;
|
|
141
|
+
}>;
|
|
142
|
+
type InitialBrowserScrollPosition = {
|
|
143
|
+
readonly "x": number;
|
|
144
|
+
readonly "y": number;
|
|
145
|
+
};
|
|
146
|
+
declare const InitialBrowserScrollPosition: Schema.Struct<{
|
|
147
|
+
readonly x: Schema.Number;
|
|
148
|
+
readonly y: Schema.Number;
|
|
149
|
+
}>;
|
|
150
|
+
type InitialBrowserElementPathStep = {
|
|
151
|
+
readonly "tag": string;
|
|
152
|
+
readonly "index": number;
|
|
153
|
+
};
|
|
154
|
+
declare const InitialBrowserElementPathStep: Schema.Struct<{
|
|
155
|
+
readonly tag: Schema.String;
|
|
156
|
+
readonly index: Schema.Number;
|
|
157
|
+
}>;
|
|
158
|
+
type InitialBrowserControlSelection = {
|
|
159
|
+
readonly "start": number;
|
|
160
|
+
readonly "end": number;
|
|
161
|
+
readonly "direction": "forward" | "backward" | "none";
|
|
162
|
+
};
|
|
163
|
+
declare const InitialBrowserControlSelection: Schema.Struct<{
|
|
164
|
+
readonly start: Schema.Number;
|
|
165
|
+
readonly end: Schema.Number;
|
|
166
|
+
readonly direction: Schema.Literals<readonly ["forward", "backward", "none"]>;
|
|
167
|
+
}>;
|
|
168
|
+
type BrowserCookieSameSite = "Strict" | "Lax" | "None";
|
|
169
|
+
declare const BrowserCookieSameSite: Schema.Literals<readonly ["Strict", "Lax", "None"]>;
|
|
170
|
+
type InitialBrowserCookiePartitionKey = {
|
|
171
|
+
readonly "topLevelSite": string;
|
|
172
|
+
readonly "hasCrossSiteAncestor"?: boolean;
|
|
173
|
+
};
|
|
174
|
+
declare const InitialBrowserCookiePartitionKey: Schema.Struct<{
|
|
175
|
+
readonly topLevelSite: Schema.String;
|
|
176
|
+
readonly hasCrossSiteAncestor: Schema.optionalKey<Schema.Boolean>;
|
|
177
|
+
}>;
|
|
178
|
+
type InitialIndexedDBKeyPath = {
|
|
179
|
+
readonly "kind": "none" | "string" | "array";
|
|
180
|
+
readonly "value"?: ReadonlyArray<string>;
|
|
181
|
+
};
|
|
182
|
+
declare const InitialIndexedDBKeyPath: Schema.Struct<{
|
|
183
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
184
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
185
|
+
}>;
|
|
186
|
+
type InitialIndexedDBIndexKeyPath = {
|
|
187
|
+
readonly "kind": "string" | "array";
|
|
188
|
+
readonly "value": ReadonlyArray<string>;
|
|
189
|
+
};
|
|
190
|
+
declare const InitialIndexedDBIndexKeyPath: Schema.Struct<{
|
|
191
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
192
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
193
|
+
}>;
|
|
194
|
+
type InitialIndexedDBRecord = {
|
|
195
|
+
readonly "key": string;
|
|
196
|
+
readonly "value": string;
|
|
197
|
+
};
|
|
198
|
+
declare const InitialIndexedDBRecord: Schema.Struct<{
|
|
199
|
+
readonly key: Schema.String;
|
|
200
|
+
readonly value: Schema.String;
|
|
201
|
+
}>;
|
|
202
|
+
type InitialOPFSFile = {
|
|
203
|
+
readonly "path": string;
|
|
204
|
+
readonly "body": string;
|
|
205
|
+
};
|
|
206
|
+
declare const InitialOPFSFile: Schema.Struct<{
|
|
207
|
+
readonly path: Schema.String;
|
|
208
|
+
readonly body: Schema.String;
|
|
209
|
+
}>;
|
|
210
|
+
type ProxyTunnelConfig = {
|
|
211
|
+
readonly "url"?: string;
|
|
212
|
+
readonly "auth"?: string;
|
|
213
|
+
};
|
|
214
|
+
declare const ProxyTunnelConfig: Schema.Struct<{
|
|
215
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
216
|
+
readonly auth: Schema.optionalKey<Schema.String>;
|
|
217
|
+
}>;
|
|
218
|
+
type CursorVisibility = {
|
|
219
|
+
readonly "visible": boolean;
|
|
220
|
+
};
|
|
221
|
+
declare const CursorVisibility: Schema.Struct<{
|
|
222
|
+
readonly visible: Schema.Boolean;
|
|
223
|
+
}>;
|
|
224
|
+
type Recording = {
|
|
225
|
+
readonly "recordingId": string;
|
|
226
|
+
readonly "mode": "tab" | "viewer";
|
|
227
|
+
readonly "targetId": string;
|
|
228
|
+
readonly "captureGeneration": number;
|
|
229
|
+
readonly "status": "starting" | "running" | "stopped" | "failed";
|
|
230
|
+
readonly "stopReason"?: string;
|
|
231
|
+
readonly "relativePath": string;
|
|
232
|
+
readonly "startedAt": string;
|
|
233
|
+
readonly "stoppedAt"?: string;
|
|
234
|
+
readonly "sizeBytes"?: number;
|
|
235
|
+
readonly "fps": number;
|
|
236
|
+
readonly "bitrateKbps": number;
|
|
237
|
+
readonly "codec": "vp8" | "h264-va";
|
|
238
|
+
};
|
|
239
|
+
declare const Recording: Schema.Struct<{
|
|
240
|
+
readonly recordingId: Schema.String;
|
|
241
|
+
readonly mode: Schema.Literals<readonly ["tab", "viewer"]>;
|
|
242
|
+
readonly targetId: Schema.String;
|
|
243
|
+
readonly captureGeneration: Schema.Number;
|
|
244
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "failed"]>;
|
|
245
|
+
readonly stopReason: Schema.optionalKey<Schema.String>;
|
|
246
|
+
readonly relativePath: Schema.String;
|
|
247
|
+
readonly startedAt: Schema.String;
|
|
248
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
249
|
+
readonly sizeBytes: Schema.optionalKey<Schema.Number>;
|
|
250
|
+
readonly fps: Schema.Number;
|
|
251
|
+
readonly bitrateKbps: Schema.Number;
|
|
252
|
+
readonly codec: Schema.Literals<readonly ["vp8", "h264-va"]>;
|
|
253
|
+
}>;
|
|
254
|
+
type CreateSessionRecordingInput = {
|
|
255
|
+
readonly "targetId": string;
|
|
256
|
+
readonly "fps"?: number;
|
|
257
|
+
readonly "bitrateKbps"?: number;
|
|
258
|
+
readonly "codec"?: "vp8" | "h264-va";
|
|
259
|
+
};
|
|
260
|
+
declare const CreateSessionRecordingInput: Schema.Struct<{
|
|
261
|
+
readonly targetId: Schema.String;
|
|
262
|
+
readonly fps: Schema.optionalKey<Schema.Number>;
|
|
263
|
+
readonly bitrateKbps: Schema.optionalKey<Schema.Number>;
|
|
264
|
+
readonly codec: Schema.optionalKey<Schema.Literals<readonly ["vp8", "h264-va"]>>;
|
|
265
|
+
}>;
|
|
266
|
+
type RetargetSessionRecordingInput = {
|
|
267
|
+
readonly "targetId": string;
|
|
268
|
+
};
|
|
269
|
+
declare const RetargetSessionRecordingInput: Schema.Struct<{
|
|
270
|
+
readonly targetId: Schema.String;
|
|
271
|
+
}>;
|
|
272
|
+
type SessionFile = {
|
|
273
|
+
readonly "name": string;
|
|
274
|
+
readonly "relativePath": string;
|
|
275
|
+
readonly "size": number;
|
|
276
|
+
readonly "modifiedAt": string;
|
|
277
|
+
readonly "mimeType": string;
|
|
278
|
+
};
|
|
279
|
+
declare const SessionFile: Schema.Struct<{
|
|
280
|
+
readonly name: Schema.String;
|
|
281
|
+
readonly relativePath: Schema.String;
|
|
282
|
+
readonly size: Schema.Number;
|
|
283
|
+
readonly modifiedAt: Schema.String;
|
|
284
|
+
readonly mimeType: Schema.String;
|
|
285
|
+
}>;
|
|
286
|
+
type SessionFileDownloadURLInput = {
|
|
287
|
+
readonly "relativePath": string;
|
|
288
|
+
readonly "ttlSeconds"?: number;
|
|
289
|
+
};
|
|
290
|
+
declare const SessionFileDownloadURLInput: Schema.Struct<{
|
|
291
|
+
readonly relativePath: Schema.String;
|
|
292
|
+
readonly ttlSeconds: Schema.optionalKey<Schema.Number>;
|
|
293
|
+
}>;
|
|
294
|
+
type SessionFileDownloadURL = {
|
|
295
|
+
readonly "url": string;
|
|
296
|
+
readonly "expiresAt": string;
|
|
297
|
+
};
|
|
298
|
+
declare const SessionFileDownloadURL: Schema.Struct<{
|
|
299
|
+
readonly url: Schema.String;
|
|
300
|
+
readonly expiresAt: Schema.String;
|
|
301
|
+
}>;
|
|
302
|
+
type UpdateSnapshotInput = {
|
|
303
|
+
readonly "description"?: string | null;
|
|
304
|
+
};
|
|
305
|
+
declare const UpdateSnapshotInput: Schema.Struct<{
|
|
306
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
307
|
+
}>;
|
|
308
|
+
type Tenant = {
|
|
309
|
+
readonly "id": UUIDv7;
|
|
310
|
+
readonly "displayName": string;
|
|
311
|
+
readonly "createdAt": string;
|
|
312
|
+
readonly "deletedAt"?: string | null;
|
|
313
|
+
};
|
|
314
|
+
declare const Tenant: Schema.Struct<{
|
|
315
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
316
|
+
readonly displayName: Schema.String;
|
|
317
|
+
readonly createdAt: Schema.String;
|
|
318
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
319
|
+
}>;
|
|
320
|
+
type User = {
|
|
321
|
+
readonly "id": UUIDv7;
|
|
322
|
+
readonly "email"?: string | null;
|
|
323
|
+
readonly "displayName": string;
|
|
324
|
+
readonly "isSystemAdmin": boolean;
|
|
325
|
+
readonly "createdAt": string;
|
|
326
|
+
readonly "updatedAt": string;
|
|
327
|
+
readonly "disabledAt"?: string | null;
|
|
328
|
+
readonly "passwordSetupStatus"?: "available" | "configured" | "email_required" | "user_disabled" | "login_disabled";
|
|
329
|
+
};
|
|
330
|
+
declare const User: Schema.Struct<{
|
|
331
|
+
readonly id: Schema.String;
|
|
332
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
333
|
+
readonly displayName: Schema.String;
|
|
334
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
335
|
+
readonly createdAt: Schema.String;
|
|
336
|
+
readonly updatedAt: Schema.String;
|
|
337
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
338
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
339
|
+
}>;
|
|
340
|
+
type SessionBulkInput = {
|
|
341
|
+
readonly "ids": ReadonlyArray<UUIDv7>;
|
|
342
|
+
};
|
|
343
|
+
declare const SessionBulkInput: Schema.Struct<{
|
|
344
|
+
readonly ids: Schema.$Array<Schema.String>;
|
|
345
|
+
}>;
|
|
346
|
+
type Event = {
|
|
347
|
+
readonly "id": UUIDv7;
|
|
348
|
+
readonly "tenantId": UUIDv7;
|
|
349
|
+
readonly "resourceType": string;
|
|
350
|
+
readonly "resourceId": string;
|
|
351
|
+
readonly "type": string;
|
|
352
|
+
readonly "message": string;
|
|
353
|
+
readonly "data": {
|
|
354
|
+
readonly [x: string]: Schema.Json;
|
|
355
|
+
};
|
|
356
|
+
readonly "createdAt": string;
|
|
357
|
+
};
|
|
358
|
+
declare const Event: Schema.Struct<{
|
|
359
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
360
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
361
|
+
readonly resourceType: Schema.String;
|
|
362
|
+
readonly resourceId: Schema.String;
|
|
363
|
+
readonly type: Schema.String;
|
|
364
|
+
readonly message: Schema.String;
|
|
365
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
366
|
+
readonly createdAt: Schema.String;
|
|
367
|
+
}>;
|
|
368
|
+
type AuditEvent = {
|
|
369
|
+
readonly "id": UUIDv7;
|
|
370
|
+
readonly "actorType": PrincipalType;
|
|
371
|
+
readonly "actorId"?: string | null;
|
|
372
|
+
readonly "tenantId"?: UUIDv7 | null;
|
|
373
|
+
readonly "action": string;
|
|
374
|
+
readonly "resourceType": string;
|
|
375
|
+
readonly "resourceId"?: string | null;
|
|
376
|
+
readonly "data": {
|
|
377
|
+
readonly [x: string]: Schema.Json;
|
|
378
|
+
};
|
|
379
|
+
readonly "createdAt": string;
|
|
380
|
+
};
|
|
381
|
+
declare const AuditEvent: Schema.Struct<{
|
|
382
|
+
readonly id: Schema.String;
|
|
383
|
+
readonly actorType: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
384
|
+
readonly actorId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
385
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
386
|
+
readonly action: Schema.String;
|
|
387
|
+
readonly resourceType: Schema.String;
|
|
388
|
+
readonly resourceId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
389
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
390
|
+
readonly createdAt: Schema.String;
|
|
391
|
+
}>;
|
|
392
|
+
type ResourceGrant = {
|
|
393
|
+
readonly "resourceType": ResourceType;
|
|
394
|
+
readonly "resourceId": UUIDv7;
|
|
395
|
+
};
|
|
396
|
+
declare const ResourceGrant: Schema.Struct<{
|
|
397
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
398
|
+
readonly resourceId: Schema.String;
|
|
399
|
+
}>;
|
|
400
|
+
type Error = {
|
|
401
|
+
readonly "error": ErrorDetail;
|
|
402
|
+
};
|
|
403
|
+
declare const Error: Schema.Struct<{
|
|
404
|
+
readonly error: Schema.Struct<{
|
|
405
|
+
readonly code: Schema.String;
|
|
406
|
+
readonly message: Schema.String;
|
|
407
|
+
}>;
|
|
408
|
+
}>;
|
|
409
|
+
type BrowserChannels = {
|
|
410
|
+
readonly "channels": ReadonlyArray<BrowserChannel>;
|
|
411
|
+
};
|
|
412
|
+
declare const BrowserChannels: Schema.Struct<{
|
|
413
|
+
readonly channels: Schema.$Array<Schema.Struct<{
|
|
414
|
+
readonly name: Schema.String;
|
|
415
|
+
}>>;
|
|
416
|
+
}>;
|
|
417
|
+
type TenantMembership = {
|
|
418
|
+
readonly "tenantId": UUIDv7;
|
|
419
|
+
readonly "userId": UUIDv7;
|
|
420
|
+
readonly "scopes": ReadonlyArray<TenantScope>;
|
|
421
|
+
readonly "createdAt": string;
|
|
422
|
+
readonly "updatedAt": string;
|
|
423
|
+
};
|
|
424
|
+
declare const TenantMembership: Schema.Struct<{
|
|
425
|
+
readonly tenantId: Schema.String;
|
|
426
|
+
readonly userId: Schema.String;
|
|
427
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
428
|
+
readonly createdAt: Schema.String;
|
|
429
|
+
readonly updatedAt: Schema.String;
|
|
430
|
+
}>;
|
|
431
|
+
type TenantMembershipInput = {
|
|
432
|
+
readonly "scopes": ReadonlyArray<TenantScope>;
|
|
433
|
+
};
|
|
434
|
+
declare const TenantMembershipInput: Schema.Struct<{
|
|
435
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
436
|
+
}>;
|
|
437
|
+
type SessionMedia = {
|
|
438
|
+
readonly "mode": "auto" | "cdp";
|
|
439
|
+
readonly "webrtcProducer": boolean;
|
|
440
|
+
readonly "iceServers"?: ReadonlyArray<IceServer>;
|
|
441
|
+
};
|
|
442
|
+
declare const SessionMedia: Schema.Struct<{
|
|
443
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
444
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
445
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
446
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
447
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
448
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
449
|
+
}>>>;
|
|
450
|
+
}>;
|
|
451
|
+
type InitialCacheStorageEntry = {
|
|
452
|
+
readonly "url": string;
|
|
453
|
+
readonly "requestHeaders": StringMap;
|
|
454
|
+
readonly "responseHeaders": StringMap;
|
|
455
|
+
readonly "responseStatus": number;
|
|
456
|
+
readonly "responseStatusText": string;
|
|
457
|
+
readonly "responseBody": string;
|
|
458
|
+
};
|
|
459
|
+
declare const InitialCacheStorageEntry: Schema.Struct<{
|
|
460
|
+
readonly url: Schema.String;
|
|
461
|
+
readonly requestHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
462
|
+
readonly responseHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
463
|
+
readonly responseStatus: Schema.Number;
|
|
464
|
+
readonly responseStatusText: Schema.String;
|
|
465
|
+
readonly responseBody: Schema.String;
|
|
466
|
+
}>;
|
|
467
|
+
type ReplaceTagsInput = {
|
|
468
|
+
readonly "tags": StringMap;
|
|
469
|
+
};
|
|
470
|
+
declare const ReplaceTagsInput: Schema.Struct<{
|
|
471
|
+
readonly tags: Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>;
|
|
472
|
+
}>;
|
|
473
|
+
type PromoteSessionInput = {
|
|
474
|
+
readonly "name": string;
|
|
475
|
+
readonly "description"?: string | null;
|
|
476
|
+
readonly "force"?: boolean;
|
|
477
|
+
readonly "tags"?: StringMap;
|
|
478
|
+
};
|
|
479
|
+
declare const PromoteSessionInput: Schema.Struct<{
|
|
480
|
+
readonly name: Schema.String;
|
|
481
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
482
|
+
readonly force: Schema.optionalKey<Schema.Boolean>;
|
|
483
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
484
|
+
}>;
|
|
485
|
+
type Snapshot = {
|
|
486
|
+
readonly "id": UUIDv7;
|
|
487
|
+
readonly "name": string;
|
|
488
|
+
readonly "tenantId": UUIDv7;
|
|
489
|
+
readonly "description"?: string | null;
|
|
490
|
+
readonly "parentSnapshotId"?: UUIDv7;
|
|
491
|
+
readonly "promotedFromSessionId"?: UUIDv7;
|
|
492
|
+
readonly "createdAt": string;
|
|
493
|
+
readonly "deletedAt"?: string | null;
|
|
494
|
+
readonly "expiresAt"?: string;
|
|
495
|
+
readonly "tags"?: StringMap;
|
|
496
|
+
};
|
|
497
|
+
declare const Snapshot: Schema.Struct<{
|
|
498
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
499
|
+
readonly name: Schema.String;
|
|
500
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
501
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
502
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
503
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
504
|
+
readonly createdAt: Schema.String;
|
|
505
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
506
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
507
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
508
|
+
}>;
|
|
509
|
+
type InitialTargetStorageOrigin = {
|
|
510
|
+
readonly "origin": string;
|
|
511
|
+
readonly "entries": ReadonlyArray<BrowserStorageEntry>;
|
|
512
|
+
};
|
|
513
|
+
declare const InitialTargetStorageOrigin: Schema.Struct<{
|
|
514
|
+
readonly origin: Schema.String;
|
|
515
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
516
|
+
readonly name: Schema.String;
|
|
517
|
+
readonly value: Schema.String;
|
|
518
|
+
}>>;
|
|
519
|
+
}>;
|
|
520
|
+
type InitialBrowserElementLocator = {
|
|
521
|
+
readonly "tag": string;
|
|
522
|
+
readonly "id"?: string;
|
|
523
|
+
readonly "name"?: string;
|
|
524
|
+
readonly "inputType"?: string;
|
|
525
|
+
readonly "autocomplete"?: string;
|
|
526
|
+
readonly "ariaLabel"?: string;
|
|
527
|
+
readonly "placeholder"?: string;
|
|
528
|
+
readonly "path": ReadonlyArray<InitialBrowserElementPathStep>;
|
|
529
|
+
};
|
|
530
|
+
declare const InitialBrowserElementLocator: Schema.Struct<{
|
|
531
|
+
readonly tag: Schema.String;
|
|
532
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
533
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
534
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
535
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
536
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
537
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
538
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
539
|
+
readonly tag: Schema.String;
|
|
540
|
+
readonly index: Schema.Number;
|
|
541
|
+
}>>;
|
|
542
|
+
}>;
|
|
543
|
+
type InitialBrowserCookie = {
|
|
544
|
+
readonly "name": string;
|
|
545
|
+
readonly "value": string;
|
|
546
|
+
readonly "domain": string;
|
|
547
|
+
readonly "hostOnly"?: boolean;
|
|
548
|
+
readonly "path": string;
|
|
549
|
+
readonly "expires"?: number;
|
|
550
|
+
readonly "httpOnly"?: boolean;
|
|
551
|
+
readonly "secure"?: boolean;
|
|
552
|
+
readonly "sameSite"?: BrowserCookieSameSite;
|
|
553
|
+
readonly "partitionKey"?: InitialBrowserCookiePartitionKey;
|
|
554
|
+
};
|
|
555
|
+
declare const InitialBrowserCookie: Schema.Struct<{
|
|
556
|
+
readonly name: Schema.String;
|
|
557
|
+
readonly value: Schema.String;
|
|
558
|
+
readonly domain: Schema.String;
|
|
559
|
+
readonly hostOnly: Schema.optionalKey<Schema.Boolean>;
|
|
560
|
+
readonly path: Schema.String;
|
|
561
|
+
readonly expires: Schema.optionalKey<Schema.Number>;
|
|
562
|
+
readonly httpOnly: Schema.optionalKey<Schema.Boolean>;
|
|
563
|
+
readonly secure: Schema.optionalKey<Schema.Boolean>;
|
|
564
|
+
readonly sameSite: Schema.optionalKey<Schema.Literals<readonly ["Strict", "Lax", "None"]>>;
|
|
565
|
+
readonly partitionKey: Schema.optionalKey<Schema.Struct<{
|
|
566
|
+
readonly topLevelSite: Schema.String;
|
|
567
|
+
readonly hasCrossSiteAncestor: Schema.optionalKey<Schema.Boolean>;
|
|
568
|
+
}>>;
|
|
569
|
+
}>;
|
|
570
|
+
type InitialIndexedDBIndex = {
|
|
571
|
+
readonly "name": string;
|
|
572
|
+
readonly "keyPath": InitialIndexedDBIndexKeyPath;
|
|
573
|
+
readonly "unique": boolean;
|
|
574
|
+
readonly "multiEntry": boolean;
|
|
575
|
+
};
|
|
576
|
+
declare const InitialIndexedDBIndex: Schema.Struct<{
|
|
577
|
+
readonly name: Schema.String;
|
|
578
|
+
readonly keyPath: Schema.Struct<{
|
|
579
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
580
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
581
|
+
}>;
|
|
582
|
+
readonly unique: Schema.Boolean;
|
|
583
|
+
readonly multiEntry: Schema.Boolean;
|
|
584
|
+
}>;
|
|
585
|
+
type ProxyConfig = {
|
|
586
|
+
readonly "upstream"?: "direct" | "proxy" | "tunnel";
|
|
587
|
+
readonly "url"?: string;
|
|
588
|
+
readonly "tunnel"?: ProxyTunnelConfig;
|
|
589
|
+
readonly "bypass"?: string;
|
|
590
|
+
};
|
|
591
|
+
declare const ProxyConfig: Schema.Struct<{
|
|
592
|
+
readonly upstream: Schema.optionalKey<Schema.Literals<readonly ["direct", "proxy", "tunnel"]>>;
|
|
593
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
594
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
595
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
596
|
+
readonly auth: Schema.optionalKey<Schema.String>;
|
|
597
|
+
}>>;
|
|
598
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
599
|
+
}>;
|
|
600
|
+
type UpdateProxyAssignment = {
|
|
601
|
+
readonly "upstream"?: "direct" | "proxy" | "tunnel";
|
|
602
|
+
readonly "url"?: string;
|
|
603
|
+
readonly "tunnel"?: ProxyTunnelConfig;
|
|
604
|
+
readonly "bypass"?: string;
|
|
605
|
+
readonly "drain"?: boolean;
|
|
606
|
+
};
|
|
607
|
+
declare const UpdateProxyAssignment: Schema.Struct<{
|
|
608
|
+
readonly upstream: Schema.optionalKey<Schema.Literals<readonly ["direct", "proxy", "tunnel"]>>;
|
|
609
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
610
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
611
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
612
|
+
readonly auth: Schema.optionalKey<Schema.String>;
|
|
613
|
+
}>>;
|
|
614
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
615
|
+
readonly drain: Schema.optionalKey<Schema.Boolean>;
|
|
616
|
+
}>;
|
|
617
|
+
type TenantPage = {
|
|
618
|
+
readonly "data": ReadonlyArray<Tenant>;
|
|
619
|
+
readonly "meta": PageMeta;
|
|
620
|
+
};
|
|
621
|
+
declare const TenantPage: Schema.Struct<{
|
|
622
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
623
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
624
|
+
readonly displayName: Schema.String;
|
|
625
|
+
readonly createdAt: Schema.String;
|
|
626
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
627
|
+
}>>;
|
|
628
|
+
readonly meta: Schema.Struct<{
|
|
629
|
+
readonly limit: Schema.Number;
|
|
630
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
631
|
+
readonly hasMore: Schema.Boolean;
|
|
632
|
+
}>;
|
|
633
|
+
}>;
|
|
634
|
+
type UserPage = {
|
|
635
|
+
readonly "data": ReadonlyArray<User>;
|
|
636
|
+
readonly "meta": PageMeta;
|
|
637
|
+
};
|
|
638
|
+
declare const UserPage: Schema.Struct<{
|
|
639
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
640
|
+
readonly id: Schema.String;
|
|
641
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
642
|
+
readonly displayName: Schema.String;
|
|
643
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
644
|
+
readonly createdAt: Schema.String;
|
|
645
|
+
readonly updatedAt: Schema.String;
|
|
646
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
647
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
648
|
+
}>>;
|
|
649
|
+
readonly meta: Schema.Struct<{
|
|
650
|
+
readonly limit: Schema.Number;
|
|
651
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
652
|
+
readonly hasMore: Schema.Boolean;
|
|
653
|
+
}>;
|
|
654
|
+
}>;
|
|
655
|
+
type EventPage = {
|
|
656
|
+
readonly "data": ReadonlyArray<Event>;
|
|
657
|
+
readonly "meta": PageMeta;
|
|
658
|
+
};
|
|
659
|
+
declare const EventPage: Schema.Struct<{
|
|
660
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
661
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
662
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
663
|
+
readonly resourceType: Schema.String;
|
|
664
|
+
readonly resourceId: Schema.String;
|
|
665
|
+
readonly type: Schema.String;
|
|
666
|
+
readonly message: Schema.String;
|
|
667
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
668
|
+
readonly createdAt: Schema.String;
|
|
669
|
+
}>>;
|
|
670
|
+
readonly meta: Schema.Struct<{
|
|
671
|
+
readonly limit: Schema.Number;
|
|
672
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
673
|
+
readonly hasMore: Schema.Boolean;
|
|
674
|
+
}>;
|
|
675
|
+
}>;
|
|
676
|
+
type AuditEventPage = {
|
|
677
|
+
readonly "data": ReadonlyArray<AuditEvent>;
|
|
678
|
+
readonly "meta": PageMeta;
|
|
679
|
+
};
|
|
680
|
+
declare const AuditEventPage: Schema.Struct<{
|
|
681
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
682
|
+
readonly id: Schema.String;
|
|
683
|
+
readonly actorType: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
684
|
+
readonly actorId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
685
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
686
|
+
readonly action: Schema.String;
|
|
687
|
+
readonly resourceType: Schema.String;
|
|
688
|
+
readonly resourceId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
689
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
690
|
+
readonly createdAt: Schema.String;
|
|
691
|
+
}>>;
|
|
692
|
+
readonly meta: Schema.Struct<{
|
|
693
|
+
readonly limit: Schema.Number;
|
|
694
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
695
|
+
readonly hasMore: Schema.Boolean;
|
|
696
|
+
}>;
|
|
697
|
+
}>;
|
|
698
|
+
type Principal = {
|
|
699
|
+
readonly "type": PrincipalType;
|
|
700
|
+
readonly "id": string;
|
|
701
|
+
readonly "authMethod": "api_token" | "oidc" | "passkey" | "password";
|
|
702
|
+
readonly "tokenId": UUIDv7 | null;
|
|
703
|
+
readonly "userId"?: UUIDv7 | null;
|
|
704
|
+
readonly "name": string;
|
|
705
|
+
readonly "authorityType": AuthorityType;
|
|
706
|
+
readonly "tenantId"?: UUIDv7 | null;
|
|
707
|
+
readonly "scopes": ReadonlyArray<Scope>;
|
|
708
|
+
readonly "resourceMode": ResourceMode;
|
|
709
|
+
readonly "resourceGrants": ReadonlyArray<ResourceGrant>;
|
|
710
|
+
};
|
|
711
|
+
declare const Principal: Schema.Struct<{
|
|
712
|
+
readonly type: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
713
|
+
readonly id: Schema.String;
|
|
714
|
+
readonly authMethod: Schema.Literals<readonly ["api_token", "oidc", "passkey", "password"]>;
|
|
715
|
+
readonly tokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
716
|
+
readonly userId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
717
|
+
readonly name: Schema.String;
|
|
718
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
719
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
720
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
721
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
722
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
723
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
724
|
+
readonly resourceId: Schema.String;
|
|
725
|
+
}>>;
|
|
726
|
+
}>;
|
|
727
|
+
type Token = {
|
|
728
|
+
readonly "id": UUIDv7;
|
|
729
|
+
readonly "authorityType": AuthorityType;
|
|
730
|
+
readonly "tenantId"?: UUIDv7 | null;
|
|
731
|
+
readonly "name": string;
|
|
732
|
+
readonly "scopes": ReadonlyArray<Scope>;
|
|
733
|
+
readonly "createdAt": string;
|
|
734
|
+
readonly "createdByType": PrincipalType;
|
|
735
|
+
readonly "createdById": UUIDv7 | null;
|
|
736
|
+
readonly "parentTokenId": UUIDv7 | null;
|
|
737
|
+
readonly "resourceMode": ResourceMode;
|
|
738
|
+
readonly "resourceGrants": ReadonlyArray<ResourceGrant>;
|
|
739
|
+
readonly "expiresAt"?: string | null;
|
|
740
|
+
readonly "revokedAt"?: string | null;
|
|
741
|
+
};
|
|
742
|
+
declare const Token: Schema.Struct<{
|
|
743
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
744
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
745
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
746
|
+
readonly name: Schema.String;
|
|
747
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
748
|
+
readonly createdAt: Schema.String;
|
|
749
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
750
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
751
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
752
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
753
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
754
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
755
|
+
readonly resourceId: Schema.String;
|
|
756
|
+
}>>;
|
|
757
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
758
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
759
|
+
}>;
|
|
760
|
+
type CreateAdminTokenInput = {
|
|
761
|
+
readonly "name": string;
|
|
762
|
+
readonly "authorityType": "system_admin";
|
|
763
|
+
readonly "scopes": ReadonlyArray<Scope>;
|
|
764
|
+
readonly "expiresAt"?: string | null;
|
|
765
|
+
readonly "resourceMode"?: "all";
|
|
766
|
+
readonly "resourceGrants"?: ReadonlyArray<ResourceGrant>;
|
|
767
|
+
} | {
|
|
768
|
+
readonly "name": string;
|
|
769
|
+
readonly "authorityType": "tenant";
|
|
770
|
+
readonly "tenantId": UUIDv7;
|
|
771
|
+
readonly "scopes": ReadonlyArray<TenantScope>;
|
|
772
|
+
readonly "expiresAt"?: string | null;
|
|
773
|
+
readonly "resourceMode"?: ResourceMode;
|
|
774
|
+
readonly "resourceGrants"?: ReadonlyArray<ResourceGrant>;
|
|
775
|
+
};
|
|
776
|
+
declare const CreateAdminTokenInput: Schema.Union<readonly [Schema.Struct<{
|
|
777
|
+
readonly name: Schema.String;
|
|
778
|
+
readonly authorityType: Schema.Literal<"system_admin">;
|
|
779
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
780
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
781
|
+
readonly resourceMode: Schema.optionalKey<Schema.Literal<"all">>;
|
|
782
|
+
readonly resourceGrants: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
783
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
784
|
+
readonly resourceId: Schema.String;
|
|
785
|
+
}>>>;
|
|
786
|
+
}>, Schema.Struct<{
|
|
787
|
+
readonly name: Schema.String;
|
|
788
|
+
readonly authorityType: Schema.Literal<"tenant">;
|
|
789
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
790
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
791
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
792
|
+
readonly resourceMode: Schema.optionalKey<Schema.Literals<readonly ["all", "allowlist"]>>;
|
|
793
|
+
readonly resourceGrants: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
794
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
795
|
+
readonly resourceId: Schema.String;
|
|
796
|
+
}>>>;
|
|
797
|
+
}>]>;
|
|
798
|
+
type CreateTenantTokenInput = {
|
|
799
|
+
readonly "name": string;
|
|
800
|
+
readonly "scopes": ReadonlyArray<TenantScope>;
|
|
801
|
+
readonly "expiresAt"?: string | null;
|
|
802
|
+
readonly "resourceMode"?: ResourceMode;
|
|
803
|
+
readonly "resourceGrants"?: ReadonlyArray<ResourceGrant>;
|
|
804
|
+
};
|
|
805
|
+
declare const CreateTenantTokenInput: Schema.Struct<{
|
|
806
|
+
readonly name: Schema.String;
|
|
807
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
808
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
809
|
+
readonly resourceMode: Schema.optionalKey<Schema.Literals<readonly ["all", "allowlist"]>>;
|
|
810
|
+
readonly resourceGrants: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
811
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
812
|
+
readonly resourceId: Schema.String;
|
|
813
|
+
}>>>;
|
|
814
|
+
}>;
|
|
815
|
+
type Session = {
|
|
816
|
+
readonly "id": UUIDv7;
|
|
817
|
+
readonly "tenantId": UUIDv7;
|
|
818
|
+
readonly "baseSnapshotName"?: string;
|
|
819
|
+
readonly "label"?: string;
|
|
820
|
+
readonly "status": SessionStatus;
|
|
821
|
+
readonly "browserChannel"?: string;
|
|
822
|
+
readonly "media": SessionMedia;
|
|
823
|
+
readonly "createdAt": string;
|
|
824
|
+
readonly "startedAt"?: string;
|
|
825
|
+
readonly "stoppedAt"?: string;
|
|
826
|
+
readonly "deletedAt"?: string | null;
|
|
827
|
+
readonly "expiresAt": string;
|
|
828
|
+
readonly "lastConnectedAt"?: string;
|
|
829
|
+
readonly "suspendedAt"?: string;
|
|
830
|
+
readonly "tags"?: StringMap;
|
|
831
|
+
readonly "cdpUrl"?: string;
|
|
832
|
+
readonly "sessionToken"?: string;
|
|
833
|
+
readonly "collaboration"?: SessionCollaborationCapabilities;
|
|
834
|
+
readonly "proxy"?: SessionProxy;
|
|
835
|
+
};
|
|
836
|
+
declare const Session: Schema.Struct<{
|
|
837
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
838
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
839
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
840
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
841
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
842
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
843
|
+
readonly media: Schema.Struct<{
|
|
844
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
845
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
846
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
847
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
848
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
849
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
850
|
+
}>>>;
|
|
851
|
+
}>;
|
|
852
|
+
readonly createdAt: Schema.String;
|
|
853
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
854
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
855
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
856
|
+
readonly expiresAt: Schema.String;
|
|
857
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
858
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
859
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
860
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
861
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
862
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
863
|
+
readonly editorToken: Schema.String;
|
|
864
|
+
readonly viewerToken: Schema.String;
|
|
865
|
+
}>>;
|
|
866
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
867
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
868
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
869
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
870
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
871
|
+
}>>;
|
|
872
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
873
|
+
}>>;
|
|
874
|
+
}>;
|
|
875
|
+
type InitialCacheStorageCache = {
|
|
876
|
+
readonly "name": string;
|
|
877
|
+
readonly "entries": ReadonlyArray<InitialCacheStorageEntry>;
|
|
878
|
+
};
|
|
879
|
+
declare const InitialCacheStorageCache: Schema.Struct<{
|
|
880
|
+
readonly name: Schema.String;
|
|
881
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
882
|
+
readonly url: Schema.String;
|
|
883
|
+
readonly requestHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
884
|
+
readonly responseHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
885
|
+
readonly responseStatus: Schema.Number;
|
|
886
|
+
readonly responseStatusText: Schema.String;
|
|
887
|
+
readonly responseBody: Schema.String;
|
|
888
|
+
}>>;
|
|
889
|
+
}>;
|
|
890
|
+
type SnapshotMutation = {
|
|
891
|
+
readonly "snapshot": Snapshot;
|
|
892
|
+
};
|
|
893
|
+
declare const SnapshotMutation: Schema.Struct<{
|
|
894
|
+
readonly snapshot: Schema.Struct<{
|
|
895
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
896
|
+
readonly name: Schema.String;
|
|
897
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
898
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
899
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
900
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
901
|
+
readonly createdAt: Schema.String;
|
|
902
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
903
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
904
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
905
|
+
}>;
|
|
906
|
+
}>;
|
|
907
|
+
type SnapshotPage = {
|
|
908
|
+
readonly "data": ReadonlyArray<Snapshot>;
|
|
909
|
+
readonly "meta": PageMeta;
|
|
910
|
+
};
|
|
911
|
+
declare const SnapshotPage: Schema.Struct<{
|
|
912
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
913
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
914
|
+
readonly name: Schema.String;
|
|
915
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
916
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
917
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
918
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
919
|
+
readonly createdAt: Schema.String;
|
|
920
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
921
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
922
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
923
|
+
}>>;
|
|
924
|
+
readonly meta: Schema.Struct<{
|
|
925
|
+
readonly limit: Schema.Number;
|
|
926
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
927
|
+
readonly hasMore: Schema.Boolean;
|
|
928
|
+
}>;
|
|
929
|
+
}>;
|
|
930
|
+
type InitialBrowserControlState = {
|
|
931
|
+
readonly "locator": InitialBrowserElementLocator;
|
|
932
|
+
readonly "value": string;
|
|
933
|
+
readonly "checked"?: boolean;
|
|
934
|
+
readonly "selectedIndices"?: ReadonlyArray<number>;
|
|
935
|
+
readonly "selection"?: InitialBrowserControlSelection;
|
|
936
|
+
};
|
|
937
|
+
declare const InitialBrowserControlState: Schema.Struct<{
|
|
938
|
+
readonly locator: Schema.Struct<{
|
|
939
|
+
readonly tag: Schema.String;
|
|
940
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
941
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
942
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
943
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
944
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
945
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
946
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
947
|
+
readonly tag: Schema.String;
|
|
948
|
+
readonly index: Schema.Number;
|
|
949
|
+
}>>;
|
|
950
|
+
}>;
|
|
951
|
+
readonly value: Schema.String;
|
|
952
|
+
readonly checked: Schema.optionalKey<Schema.Boolean>;
|
|
953
|
+
readonly selectedIndices: Schema.optionalKey<Schema.$Array<Schema.Number>>;
|
|
954
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
955
|
+
readonly start: Schema.Number;
|
|
956
|
+
readonly end: Schema.Number;
|
|
957
|
+
readonly direction: Schema.Literals<readonly ["forward", "backward", "none"]>;
|
|
958
|
+
}>>;
|
|
959
|
+
}>;
|
|
960
|
+
type InitialBrowserContentEditableState = {
|
|
961
|
+
readonly "locator": InitialBrowserElementLocator;
|
|
962
|
+
readonly "html": string;
|
|
963
|
+
};
|
|
964
|
+
declare const InitialBrowserContentEditableState: Schema.Struct<{
|
|
965
|
+
readonly locator: Schema.Struct<{
|
|
966
|
+
readonly tag: Schema.String;
|
|
967
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
968
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
969
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
970
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
971
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
972
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
973
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
974
|
+
readonly tag: Schema.String;
|
|
975
|
+
readonly index: Schema.Number;
|
|
976
|
+
}>>;
|
|
977
|
+
}>;
|
|
978
|
+
readonly html: Schema.String;
|
|
979
|
+
}>;
|
|
980
|
+
type InitialBrowserElementScrollPosition = {
|
|
981
|
+
readonly "locator": InitialBrowserElementLocator;
|
|
982
|
+
readonly "x": number;
|
|
983
|
+
readonly "y": number;
|
|
984
|
+
};
|
|
985
|
+
declare const InitialBrowserElementScrollPosition: Schema.Struct<{
|
|
986
|
+
readonly locator: Schema.Struct<{
|
|
987
|
+
readonly tag: Schema.String;
|
|
988
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
989
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
990
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
991
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
992
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
993
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
994
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
995
|
+
readonly tag: Schema.String;
|
|
996
|
+
readonly index: Schema.Number;
|
|
997
|
+
}>>;
|
|
998
|
+
}>;
|
|
999
|
+
readonly x: Schema.Number;
|
|
1000
|
+
readonly y: Schema.Number;
|
|
1001
|
+
}>;
|
|
1002
|
+
type InitialBrowserSelectionEndpoint = {
|
|
1003
|
+
readonly "locator": InitialBrowserElementLocator;
|
|
1004
|
+
readonly "nodePath": ReadonlyArray<number>;
|
|
1005
|
+
readonly "offset": number;
|
|
1006
|
+
};
|
|
1007
|
+
declare const InitialBrowserSelectionEndpoint: Schema.Struct<{
|
|
1008
|
+
readonly locator: Schema.Struct<{
|
|
1009
|
+
readonly tag: Schema.String;
|
|
1010
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1011
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1012
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1013
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1014
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1015
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1016
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1017
|
+
readonly tag: Schema.String;
|
|
1018
|
+
readonly index: Schema.Number;
|
|
1019
|
+
}>>;
|
|
1020
|
+
}>;
|
|
1021
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1022
|
+
readonly offset: Schema.Number;
|
|
1023
|
+
}>;
|
|
1024
|
+
type InitialIndexedDBObjectStore = {
|
|
1025
|
+
readonly "name": string;
|
|
1026
|
+
readonly "keyPath": InitialIndexedDBKeyPath;
|
|
1027
|
+
readonly "autoIncrement": boolean;
|
|
1028
|
+
readonly "indexes": ReadonlyArray<InitialIndexedDBIndex>;
|
|
1029
|
+
readonly "records": ReadonlyArray<InitialIndexedDBRecord>;
|
|
1030
|
+
};
|
|
1031
|
+
declare const InitialIndexedDBObjectStore: Schema.Struct<{
|
|
1032
|
+
readonly name: Schema.String;
|
|
1033
|
+
readonly keyPath: Schema.Struct<{
|
|
1034
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
1035
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1036
|
+
}>;
|
|
1037
|
+
readonly autoIncrement: Schema.Boolean;
|
|
1038
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
1039
|
+
readonly name: Schema.String;
|
|
1040
|
+
readonly keyPath: Schema.Struct<{
|
|
1041
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
1042
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
1043
|
+
}>;
|
|
1044
|
+
readonly unique: Schema.Boolean;
|
|
1045
|
+
readonly multiEntry: Schema.Boolean;
|
|
1046
|
+
}>>;
|
|
1047
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
1048
|
+
readonly key: Schema.String;
|
|
1049
|
+
readonly value: Schema.String;
|
|
1050
|
+
}>>;
|
|
1051
|
+
}>;
|
|
1052
|
+
type AuthMe = {
|
|
1053
|
+
readonly "principal": Principal;
|
|
1054
|
+
readonly "selectedTenant": Tenant | null;
|
|
1055
|
+
readonly "availableTenants": ReadonlyArray<Tenant>;
|
|
1056
|
+
};
|
|
1057
|
+
declare const AuthMe: Schema.Struct<{
|
|
1058
|
+
readonly principal: Schema.Struct<{
|
|
1059
|
+
readonly type: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
1060
|
+
readonly id: Schema.String;
|
|
1061
|
+
readonly authMethod: Schema.Literals<readonly ["api_token", "oidc", "passkey", "password"]>;
|
|
1062
|
+
readonly tokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1063
|
+
readonly userId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1064
|
+
readonly name: Schema.String;
|
|
1065
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
1066
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1067
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
1068
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
1069
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
1070
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
1071
|
+
readonly resourceId: Schema.String;
|
|
1072
|
+
}>>;
|
|
1073
|
+
}>;
|
|
1074
|
+
readonly selectedTenant: Schema.Union<readonly [Schema.Struct<{
|
|
1075
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1076
|
+
readonly displayName: Schema.String;
|
|
1077
|
+
readonly createdAt: Schema.String;
|
|
1078
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1079
|
+
}>, Schema.Null]>;
|
|
1080
|
+
readonly availableTenants: Schema.$Array<Schema.Struct<{
|
|
1081
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1082
|
+
readonly displayName: Schema.String;
|
|
1083
|
+
readonly createdAt: Schema.String;
|
|
1084
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1085
|
+
}>>;
|
|
1086
|
+
}>;
|
|
1087
|
+
type TokenPage = {
|
|
1088
|
+
readonly "data": ReadonlyArray<Token>;
|
|
1089
|
+
readonly "meta": PageMeta;
|
|
1090
|
+
};
|
|
1091
|
+
declare const TokenPage: Schema.Struct<{
|
|
1092
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
1093
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1094
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
1095
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1096
|
+
readonly name: Schema.String;
|
|
1097
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
1098
|
+
readonly createdAt: Schema.String;
|
|
1099
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
1100
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1101
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1102
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
1103
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
1104
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
1105
|
+
readonly resourceId: Schema.String;
|
|
1106
|
+
}>>;
|
|
1107
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1108
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1109
|
+
}>>;
|
|
1110
|
+
readonly meta: Schema.Struct<{
|
|
1111
|
+
readonly limit: Schema.Number;
|
|
1112
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
1113
|
+
readonly hasMore: Schema.Boolean;
|
|
1114
|
+
}>;
|
|
1115
|
+
}>;
|
|
1116
|
+
type CreateTokenResponse = {
|
|
1117
|
+
readonly "token": Token;
|
|
1118
|
+
readonly "rawToken": string;
|
|
1119
|
+
};
|
|
1120
|
+
declare const CreateTokenResponse: Schema.Struct<{
|
|
1121
|
+
readonly token: Schema.Struct<{
|
|
1122
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1123
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
1124
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1125
|
+
readonly name: Schema.String;
|
|
1126
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
1127
|
+
readonly createdAt: Schema.String;
|
|
1128
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
1129
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1130
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1131
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
1132
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
1133
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
1134
|
+
readonly resourceId: Schema.String;
|
|
1135
|
+
}>>;
|
|
1136
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1137
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1138
|
+
}>;
|
|
1139
|
+
readonly rawToken: Schema.String;
|
|
1140
|
+
}>;
|
|
1141
|
+
type SessionPage = {
|
|
1142
|
+
readonly "data": ReadonlyArray<Session>;
|
|
1143
|
+
readonly "meta": PageMeta;
|
|
1144
|
+
};
|
|
1145
|
+
declare const SessionPage: Schema.Struct<{
|
|
1146
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
1147
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1148
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1149
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
1150
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
1151
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
1152
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
1153
|
+
readonly media: Schema.Struct<{
|
|
1154
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
1155
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
1156
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1157
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
1158
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
1159
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
1160
|
+
}>>>;
|
|
1161
|
+
}>;
|
|
1162
|
+
readonly createdAt: Schema.String;
|
|
1163
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
1164
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
1165
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1166
|
+
readonly expiresAt: Schema.String;
|
|
1167
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
1168
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
1169
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
1170
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
1171
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
1172
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
1173
|
+
readonly editorToken: Schema.String;
|
|
1174
|
+
readonly viewerToken: Schema.String;
|
|
1175
|
+
}>>;
|
|
1176
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
1177
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
1178
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1179
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
1180
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1181
|
+
}>>;
|
|
1182
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
1183
|
+
}>>;
|
|
1184
|
+
}>>;
|
|
1185
|
+
readonly meta: Schema.Struct<{
|
|
1186
|
+
readonly limit: Schema.Number;
|
|
1187
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
1188
|
+
readonly hasMore: Schema.Boolean;
|
|
1189
|
+
}>;
|
|
1190
|
+
}>;
|
|
1191
|
+
type CreateSessionResult = {
|
|
1192
|
+
readonly "session": Session;
|
|
1193
|
+
readonly "cdpUrl": string;
|
|
1194
|
+
readonly "sessionToken": string;
|
|
1195
|
+
};
|
|
1196
|
+
declare const CreateSessionResult: Schema.Struct<{
|
|
1197
|
+
readonly session: Schema.Struct<{
|
|
1198
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1199
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1200
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
1201
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
1202
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
1203
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
1204
|
+
readonly media: Schema.Struct<{
|
|
1205
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
1206
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
1207
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1208
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
1209
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
1210
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
1211
|
+
}>>>;
|
|
1212
|
+
}>;
|
|
1213
|
+
readonly createdAt: Schema.String;
|
|
1214
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
1215
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
1216
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1217
|
+
readonly expiresAt: Schema.String;
|
|
1218
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
1219
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
1220
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
1221
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
1222
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
1223
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
1224
|
+
readonly editorToken: Schema.String;
|
|
1225
|
+
readonly viewerToken: Schema.String;
|
|
1226
|
+
}>>;
|
|
1227
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
1228
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
1229
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1230
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
1231
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1232
|
+
}>>;
|
|
1233
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
1234
|
+
}>>;
|
|
1235
|
+
}>;
|
|
1236
|
+
readonly cdpUrl: Schema.String;
|
|
1237
|
+
readonly sessionToken: Schema.String;
|
|
1238
|
+
}>;
|
|
1239
|
+
type SessionBulkResponse = {
|
|
1240
|
+
readonly "sessions": ReadonlyArray<Session>;
|
|
1241
|
+
};
|
|
1242
|
+
declare const SessionBulkResponse: Schema.Struct<{
|
|
1243
|
+
readonly sessions: Schema.$Array<Schema.Struct<{
|
|
1244
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1245
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1246
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
1247
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
1248
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
1249
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
1250
|
+
readonly media: Schema.Struct<{
|
|
1251
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
1252
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
1253
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1254
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
1255
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
1256
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
1257
|
+
}>>>;
|
|
1258
|
+
}>;
|
|
1259
|
+
readonly createdAt: Schema.String;
|
|
1260
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
1261
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
1262
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1263
|
+
readonly expiresAt: Schema.String;
|
|
1264
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
1265
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
1266
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
1267
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
1268
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
1269
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
1270
|
+
readonly editorToken: Schema.String;
|
|
1271
|
+
readonly viewerToken: Schema.String;
|
|
1272
|
+
}>>;
|
|
1273
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
1274
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
1275
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1276
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
1277
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1278
|
+
}>>;
|
|
1279
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
1280
|
+
}>>;
|
|
1281
|
+
}>>;
|
|
1282
|
+
}>;
|
|
1283
|
+
type SessionMutation = {
|
|
1284
|
+
readonly "session": Session;
|
|
1285
|
+
readonly "cdpUrl"?: string;
|
|
1286
|
+
readonly "sessionToken"?: string;
|
|
1287
|
+
};
|
|
1288
|
+
declare const SessionMutation: Schema.Struct<{
|
|
1289
|
+
readonly session: Schema.Struct<{
|
|
1290
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1291
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
1292
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
1293
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
1294
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
1295
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
1296
|
+
readonly media: Schema.Struct<{
|
|
1297
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
1298
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
1299
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1300
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
1301
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
1302
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
1303
|
+
}>>>;
|
|
1304
|
+
}>;
|
|
1305
|
+
readonly createdAt: Schema.String;
|
|
1306
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
1307
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
1308
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1309
|
+
readonly expiresAt: Schema.String;
|
|
1310
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
1311
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
1312
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
1313
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
1314
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
1315
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
1316
|
+
readonly editorToken: Schema.String;
|
|
1317
|
+
readonly viewerToken: Schema.String;
|
|
1318
|
+
}>>;
|
|
1319
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
1320
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
1321
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1322
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
1323
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1324
|
+
}>>;
|
|
1325
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
1326
|
+
}>>;
|
|
1327
|
+
}>;
|
|
1328
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
1329
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
1330
|
+
}>;
|
|
1331
|
+
type InitialBrowserDocumentSelection = {
|
|
1332
|
+
readonly "anchor": InitialBrowserSelectionEndpoint;
|
|
1333
|
+
readonly "focus": InitialBrowserSelectionEndpoint;
|
|
1334
|
+
};
|
|
1335
|
+
declare const InitialBrowserDocumentSelection: Schema.Struct<{
|
|
1336
|
+
readonly anchor: Schema.Struct<{
|
|
1337
|
+
readonly locator: Schema.Struct<{
|
|
1338
|
+
readonly tag: Schema.String;
|
|
1339
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1340
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1341
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1342
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1343
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1344
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1345
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1346
|
+
readonly tag: Schema.String;
|
|
1347
|
+
readonly index: Schema.Number;
|
|
1348
|
+
}>>;
|
|
1349
|
+
}>;
|
|
1350
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1351
|
+
readonly offset: Schema.Number;
|
|
1352
|
+
}>;
|
|
1353
|
+
readonly focus: Schema.Struct<{
|
|
1354
|
+
readonly locator: Schema.Struct<{
|
|
1355
|
+
readonly tag: Schema.String;
|
|
1356
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1357
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1358
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1359
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1360
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1361
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1362
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1363
|
+
readonly tag: Schema.String;
|
|
1364
|
+
readonly index: Schema.Number;
|
|
1365
|
+
}>>;
|
|
1366
|
+
}>;
|
|
1367
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1368
|
+
readonly offset: Schema.Number;
|
|
1369
|
+
}>;
|
|
1370
|
+
}>;
|
|
1371
|
+
type InitialIndexedDBDatabase = {
|
|
1372
|
+
readonly "name": string;
|
|
1373
|
+
readonly "version": number;
|
|
1374
|
+
readonly "objectStores": ReadonlyArray<InitialIndexedDBObjectStore>;
|
|
1375
|
+
};
|
|
1376
|
+
declare const InitialIndexedDBDatabase: Schema.Struct<{
|
|
1377
|
+
readonly name: Schema.String;
|
|
1378
|
+
readonly version: Schema.Number;
|
|
1379
|
+
readonly objectStores: Schema.$Array<Schema.Struct<{
|
|
1380
|
+
readonly name: Schema.String;
|
|
1381
|
+
readonly keyPath: Schema.Struct<{
|
|
1382
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
1383
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1384
|
+
}>;
|
|
1385
|
+
readonly autoIncrement: Schema.Boolean;
|
|
1386
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
1387
|
+
readonly name: Schema.String;
|
|
1388
|
+
readonly keyPath: Schema.Struct<{
|
|
1389
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
1390
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
1391
|
+
}>;
|
|
1392
|
+
readonly unique: Schema.Boolean;
|
|
1393
|
+
readonly multiEntry: Schema.Boolean;
|
|
1394
|
+
}>>;
|
|
1395
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
1396
|
+
readonly key: Schema.String;
|
|
1397
|
+
readonly value: Schema.String;
|
|
1398
|
+
}>>;
|
|
1399
|
+
}>>;
|
|
1400
|
+
}>;
|
|
1401
|
+
type InitialBrowserDocumentState = {
|
|
1402
|
+
readonly "version": 1;
|
|
1403
|
+
readonly "windowName"?: string;
|
|
1404
|
+
readonly "historyState"?: string;
|
|
1405
|
+
readonly "controls": ReadonlyArray<InitialBrowserControlState>;
|
|
1406
|
+
readonly "contentEditables": ReadonlyArray<InitialBrowserContentEditableState>;
|
|
1407
|
+
readonly "scrollPositions": ReadonlyArray<InitialBrowserElementScrollPosition>;
|
|
1408
|
+
readonly "focus"?: InitialBrowserElementLocator;
|
|
1409
|
+
readonly "selection"?: InitialBrowserDocumentSelection;
|
|
1410
|
+
};
|
|
1411
|
+
declare const InitialBrowserDocumentState: Schema.Struct<{
|
|
1412
|
+
readonly version: Schema.Literal<1>;
|
|
1413
|
+
readonly windowName: Schema.optionalKey<Schema.String>;
|
|
1414
|
+
readonly historyState: Schema.optionalKey<Schema.String>;
|
|
1415
|
+
readonly controls: Schema.$Array<Schema.Struct<{
|
|
1416
|
+
readonly locator: Schema.Struct<{
|
|
1417
|
+
readonly tag: Schema.String;
|
|
1418
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1419
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1420
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1421
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1422
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1423
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1424
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1425
|
+
readonly tag: Schema.String;
|
|
1426
|
+
readonly index: Schema.Number;
|
|
1427
|
+
}>>;
|
|
1428
|
+
}>;
|
|
1429
|
+
readonly value: Schema.String;
|
|
1430
|
+
readonly checked: Schema.optionalKey<Schema.Boolean>;
|
|
1431
|
+
readonly selectedIndices: Schema.optionalKey<Schema.$Array<Schema.Number>>;
|
|
1432
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
1433
|
+
readonly start: Schema.Number;
|
|
1434
|
+
readonly end: Schema.Number;
|
|
1435
|
+
readonly direction: Schema.Literals<readonly ["forward", "backward", "none"]>;
|
|
1436
|
+
}>>;
|
|
1437
|
+
}>>;
|
|
1438
|
+
readonly contentEditables: Schema.$Array<Schema.Struct<{
|
|
1439
|
+
readonly locator: Schema.Struct<{
|
|
1440
|
+
readonly tag: Schema.String;
|
|
1441
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1442
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1443
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1444
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1445
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1446
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1447
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1448
|
+
readonly tag: Schema.String;
|
|
1449
|
+
readonly index: Schema.Number;
|
|
1450
|
+
}>>;
|
|
1451
|
+
}>;
|
|
1452
|
+
readonly html: Schema.String;
|
|
1453
|
+
}>>;
|
|
1454
|
+
readonly scrollPositions: Schema.$Array<Schema.Struct<{
|
|
1455
|
+
readonly locator: Schema.Struct<{
|
|
1456
|
+
readonly tag: Schema.String;
|
|
1457
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1458
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1459
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1460
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1461
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1462
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1463
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1464
|
+
readonly tag: Schema.String;
|
|
1465
|
+
readonly index: Schema.Number;
|
|
1466
|
+
}>>;
|
|
1467
|
+
}>;
|
|
1468
|
+
readonly x: Schema.Number;
|
|
1469
|
+
readonly y: Schema.Number;
|
|
1470
|
+
}>>;
|
|
1471
|
+
readonly focus: Schema.optionalKey<Schema.Struct<{
|
|
1472
|
+
readonly tag: Schema.String;
|
|
1473
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1474
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1475
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1476
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1477
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1478
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1479
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1480
|
+
readonly tag: Schema.String;
|
|
1481
|
+
readonly index: Schema.Number;
|
|
1482
|
+
}>>;
|
|
1483
|
+
}>>;
|
|
1484
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
1485
|
+
readonly anchor: Schema.Struct<{
|
|
1486
|
+
readonly locator: Schema.Struct<{
|
|
1487
|
+
readonly tag: Schema.String;
|
|
1488
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1489
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1490
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1491
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1492
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1493
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1494
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1495
|
+
readonly tag: Schema.String;
|
|
1496
|
+
readonly index: Schema.Number;
|
|
1497
|
+
}>>;
|
|
1498
|
+
}>;
|
|
1499
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1500
|
+
readonly offset: Schema.Number;
|
|
1501
|
+
}>;
|
|
1502
|
+
readonly focus: Schema.Struct<{
|
|
1503
|
+
readonly locator: Schema.Struct<{
|
|
1504
|
+
readonly tag: Schema.String;
|
|
1505
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1506
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1507
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1508
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1509
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1510
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1511
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1512
|
+
readonly tag: Schema.String;
|
|
1513
|
+
readonly index: Schema.Number;
|
|
1514
|
+
}>>;
|
|
1515
|
+
}>;
|
|
1516
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1517
|
+
readonly offset: Schema.Number;
|
|
1518
|
+
}>;
|
|
1519
|
+
}>>;
|
|
1520
|
+
}>;
|
|
1521
|
+
type InitialStorageOrigin = {
|
|
1522
|
+
readonly "origin": string;
|
|
1523
|
+
readonly "ancestorOrigins"?: ReadonlyArray<string>;
|
|
1524
|
+
readonly "localStorage": ReadonlyArray<BrowserStorageEntry>;
|
|
1525
|
+
readonly "indexedDB"?: ReadonlyArray<InitialIndexedDBDatabase>;
|
|
1526
|
+
readonly "cacheStorage"?: ReadonlyArray<InitialCacheStorageCache>;
|
|
1527
|
+
readonly "opfs"?: ReadonlyArray<InitialOPFSFile>;
|
|
1528
|
+
};
|
|
1529
|
+
declare const InitialStorageOrigin: Schema.Struct<{
|
|
1530
|
+
readonly origin: Schema.String;
|
|
1531
|
+
readonly ancestorOrigins: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1532
|
+
readonly localStorage: Schema.$Array<Schema.Struct<{
|
|
1533
|
+
readonly name: Schema.String;
|
|
1534
|
+
readonly value: Schema.String;
|
|
1535
|
+
}>>;
|
|
1536
|
+
readonly indexedDB: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1537
|
+
readonly name: Schema.String;
|
|
1538
|
+
readonly version: Schema.Number;
|
|
1539
|
+
readonly objectStores: Schema.$Array<Schema.Struct<{
|
|
1540
|
+
readonly name: Schema.String;
|
|
1541
|
+
readonly keyPath: Schema.Struct<{
|
|
1542
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
1543
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1544
|
+
}>;
|
|
1545
|
+
readonly autoIncrement: Schema.Boolean;
|
|
1546
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
1547
|
+
readonly name: Schema.String;
|
|
1548
|
+
readonly keyPath: Schema.Struct<{
|
|
1549
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
1550
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
1551
|
+
}>;
|
|
1552
|
+
readonly unique: Schema.Boolean;
|
|
1553
|
+
readonly multiEntry: Schema.Boolean;
|
|
1554
|
+
}>>;
|
|
1555
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
1556
|
+
readonly key: Schema.String;
|
|
1557
|
+
readonly value: Schema.String;
|
|
1558
|
+
}>>;
|
|
1559
|
+
}>>;
|
|
1560
|
+
}>>>;
|
|
1561
|
+
readonly cacheStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1562
|
+
readonly name: Schema.String;
|
|
1563
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1564
|
+
readonly url: Schema.String;
|
|
1565
|
+
readonly requestHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
1566
|
+
readonly responseHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
1567
|
+
readonly responseStatus: Schema.Number;
|
|
1568
|
+
readonly responseStatusText: Schema.String;
|
|
1569
|
+
readonly responseBody: Schema.String;
|
|
1570
|
+
}>>;
|
|
1571
|
+
}>>>;
|
|
1572
|
+
readonly opfs: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1573
|
+
readonly path: Schema.String;
|
|
1574
|
+
readonly body: Schema.String;
|
|
1575
|
+
}>>>;
|
|
1576
|
+
}>;
|
|
1577
|
+
type InitialBrowserTarget = {
|
|
1578
|
+
readonly "url": string;
|
|
1579
|
+
readonly "sessionStorage"?: ReadonlyArray<InitialTargetStorageOrigin>;
|
|
1580
|
+
readonly "scroll"?: InitialBrowserScrollPosition;
|
|
1581
|
+
readonly "documentState"?: InitialBrowserDocumentState;
|
|
1582
|
+
readonly "openerTargetIndex"?: number;
|
|
1583
|
+
readonly "active"?: boolean;
|
|
1584
|
+
};
|
|
1585
|
+
declare const InitialBrowserTarget: Schema.Struct<{
|
|
1586
|
+
readonly url: Schema.String;
|
|
1587
|
+
readonly sessionStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1588
|
+
readonly origin: Schema.String;
|
|
1589
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1590
|
+
readonly name: Schema.String;
|
|
1591
|
+
readonly value: Schema.String;
|
|
1592
|
+
}>>;
|
|
1593
|
+
}>>>;
|
|
1594
|
+
readonly scroll: Schema.optionalKey<Schema.Struct<{
|
|
1595
|
+
readonly x: Schema.Number;
|
|
1596
|
+
readonly y: Schema.Number;
|
|
1597
|
+
}>>;
|
|
1598
|
+
readonly documentState: Schema.optionalKey<Schema.Struct<{
|
|
1599
|
+
readonly version: Schema.Literal<1>;
|
|
1600
|
+
readonly windowName: Schema.optionalKey<Schema.String>;
|
|
1601
|
+
readonly historyState: Schema.optionalKey<Schema.String>;
|
|
1602
|
+
readonly controls: Schema.$Array<Schema.Struct<{
|
|
1603
|
+
readonly locator: Schema.Struct<{
|
|
1604
|
+
readonly tag: Schema.String;
|
|
1605
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1606
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1607
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1608
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1609
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1610
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1611
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1612
|
+
readonly tag: Schema.String;
|
|
1613
|
+
readonly index: Schema.Number;
|
|
1614
|
+
}>>;
|
|
1615
|
+
}>;
|
|
1616
|
+
readonly value: Schema.String;
|
|
1617
|
+
readonly checked: Schema.optionalKey<Schema.Boolean>;
|
|
1618
|
+
readonly selectedIndices: Schema.optionalKey<Schema.$Array<Schema.Number>>;
|
|
1619
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
1620
|
+
readonly start: Schema.Number;
|
|
1621
|
+
readonly end: Schema.Number;
|
|
1622
|
+
readonly direction: Schema.Literals<readonly ["forward", "backward", "none"]>;
|
|
1623
|
+
}>>;
|
|
1624
|
+
}>>;
|
|
1625
|
+
readonly contentEditables: Schema.$Array<Schema.Struct<{
|
|
1626
|
+
readonly locator: Schema.Struct<{
|
|
1627
|
+
readonly tag: Schema.String;
|
|
1628
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1629
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1630
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1631
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1632
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1633
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1634
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1635
|
+
readonly tag: Schema.String;
|
|
1636
|
+
readonly index: Schema.Number;
|
|
1637
|
+
}>>;
|
|
1638
|
+
}>;
|
|
1639
|
+
readonly html: Schema.String;
|
|
1640
|
+
}>>;
|
|
1641
|
+
readonly scrollPositions: Schema.$Array<Schema.Struct<{
|
|
1642
|
+
readonly locator: Schema.Struct<{
|
|
1643
|
+
readonly tag: Schema.String;
|
|
1644
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1645
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1646
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1647
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1648
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1649
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1650
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1651
|
+
readonly tag: Schema.String;
|
|
1652
|
+
readonly index: Schema.Number;
|
|
1653
|
+
}>>;
|
|
1654
|
+
}>;
|
|
1655
|
+
readonly x: Schema.Number;
|
|
1656
|
+
readonly y: Schema.Number;
|
|
1657
|
+
}>>;
|
|
1658
|
+
readonly focus: Schema.optionalKey<Schema.Struct<{
|
|
1659
|
+
readonly tag: Schema.String;
|
|
1660
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1661
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1662
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1663
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1664
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1665
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1666
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1667
|
+
readonly tag: Schema.String;
|
|
1668
|
+
readonly index: Schema.Number;
|
|
1669
|
+
}>>;
|
|
1670
|
+
}>>;
|
|
1671
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
1672
|
+
readonly anchor: Schema.Struct<{
|
|
1673
|
+
readonly locator: Schema.Struct<{
|
|
1674
|
+
readonly tag: Schema.String;
|
|
1675
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1676
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1677
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1678
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1679
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1680
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1681
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1682
|
+
readonly tag: Schema.String;
|
|
1683
|
+
readonly index: Schema.Number;
|
|
1684
|
+
}>>;
|
|
1685
|
+
}>;
|
|
1686
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1687
|
+
readonly offset: Schema.Number;
|
|
1688
|
+
}>;
|
|
1689
|
+
readonly focus: Schema.Struct<{
|
|
1690
|
+
readonly locator: Schema.Struct<{
|
|
1691
|
+
readonly tag: Schema.String;
|
|
1692
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1693
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1694
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1695
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1696
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1697
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1698
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1699
|
+
readonly tag: Schema.String;
|
|
1700
|
+
readonly index: Schema.Number;
|
|
1701
|
+
}>>;
|
|
1702
|
+
}>;
|
|
1703
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1704
|
+
readonly offset: Schema.Number;
|
|
1705
|
+
}>;
|
|
1706
|
+
}>>;
|
|
1707
|
+
}>>;
|
|
1708
|
+
readonly openerTargetIndex: Schema.optionalKey<Schema.Number>;
|
|
1709
|
+
readonly active: Schema.optionalKey<Schema.Boolean>;
|
|
1710
|
+
}>;
|
|
1711
|
+
type InitialBrowserStorageState = {
|
|
1712
|
+
readonly "cookies": ReadonlyArray<InitialBrowserCookie>;
|
|
1713
|
+
readonly "origins": ReadonlyArray<InitialStorageOrigin>;
|
|
1714
|
+
};
|
|
1715
|
+
declare const InitialBrowserStorageState: Schema.Struct<{
|
|
1716
|
+
readonly cookies: Schema.$Array<Schema.Struct<{
|
|
1717
|
+
readonly name: Schema.String;
|
|
1718
|
+
readonly value: Schema.String;
|
|
1719
|
+
readonly domain: Schema.String;
|
|
1720
|
+
readonly hostOnly: Schema.optionalKey<Schema.Boolean>;
|
|
1721
|
+
readonly path: Schema.String;
|
|
1722
|
+
readonly expires: Schema.optionalKey<Schema.Number>;
|
|
1723
|
+
readonly httpOnly: Schema.optionalKey<Schema.Boolean>;
|
|
1724
|
+
readonly secure: Schema.optionalKey<Schema.Boolean>;
|
|
1725
|
+
readonly sameSite: Schema.optionalKey<Schema.Literals<readonly ["Strict", "Lax", "None"]>>;
|
|
1726
|
+
readonly partitionKey: Schema.optionalKey<Schema.Struct<{
|
|
1727
|
+
readonly topLevelSite: Schema.String;
|
|
1728
|
+
readonly hasCrossSiteAncestor: Schema.optionalKey<Schema.Boolean>;
|
|
1729
|
+
}>>;
|
|
1730
|
+
}>>;
|
|
1731
|
+
readonly origins: Schema.$Array<Schema.Struct<{
|
|
1732
|
+
readonly origin: Schema.String;
|
|
1733
|
+
readonly ancestorOrigins: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1734
|
+
readonly localStorage: Schema.$Array<Schema.Struct<{
|
|
1735
|
+
readonly name: Schema.String;
|
|
1736
|
+
readonly value: Schema.String;
|
|
1737
|
+
}>>;
|
|
1738
|
+
readonly indexedDB: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1739
|
+
readonly name: Schema.String;
|
|
1740
|
+
readonly version: Schema.Number;
|
|
1741
|
+
readonly objectStores: Schema.$Array<Schema.Struct<{
|
|
1742
|
+
readonly name: Schema.String;
|
|
1743
|
+
readonly keyPath: Schema.Struct<{
|
|
1744
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
1745
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1746
|
+
}>;
|
|
1747
|
+
readonly autoIncrement: Schema.Boolean;
|
|
1748
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
1749
|
+
readonly name: Schema.String;
|
|
1750
|
+
readonly keyPath: Schema.Struct<{
|
|
1751
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
1752
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
1753
|
+
}>;
|
|
1754
|
+
readonly unique: Schema.Boolean;
|
|
1755
|
+
readonly multiEntry: Schema.Boolean;
|
|
1756
|
+
}>>;
|
|
1757
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
1758
|
+
readonly key: Schema.String;
|
|
1759
|
+
readonly value: Schema.String;
|
|
1760
|
+
}>>;
|
|
1761
|
+
}>>;
|
|
1762
|
+
}>>>;
|
|
1763
|
+
readonly cacheStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1764
|
+
readonly name: Schema.String;
|
|
1765
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1766
|
+
readonly url: Schema.String;
|
|
1767
|
+
readonly requestHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
1768
|
+
readonly responseHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
1769
|
+
readonly responseStatus: Schema.Number;
|
|
1770
|
+
readonly responseStatusText: Schema.String;
|
|
1771
|
+
readonly responseBody: Schema.String;
|
|
1772
|
+
}>>;
|
|
1773
|
+
}>>>;
|
|
1774
|
+
readonly opfs: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1775
|
+
readonly path: Schema.String;
|
|
1776
|
+
readonly body: Schema.String;
|
|
1777
|
+
}>>>;
|
|
1778
|
+
}>>;
|
|
1779
|
+
}>;
|
|
1780
|
+
type CreateSessionInput = {
|
|
1781
|
+
readonly "baseSnapshotName"?: string | null;
|
|
1782
|
+
readonly "label"?: string | null;
|
|
1783
|
+
readonly "browser": BrowserConfig;
|
|
1784
|
+
readonly "initialTargets"?: ReadonlyArray<InitialBrowserTarget>;
|
|
1785
|
+
readonly "storageState"?: InitialBrowserStorageState;
|
|
1786
|
+
readonly "tags"?: StringMap;
|
|
1787
|
+
readonly "proxy"?: ProxyConfig;
|
|
1788
|
+
};
|
|
1789
|
+
declare const CreateSessionInput: Schema.Struct<{
|
|
1790
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1791
|
+
readonly label: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1792
|
+
readonly browser: Schema.Struct<{
|
|
1793
|
+
readonly channel: Schema.String;
|
|
1794
|
+
readonly args: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1795
|
+
}>;
|
|
1796
|
+
readonly initialTargets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1797
|
+
readonly url: Schema.String;
|
|
1798
|
+
readonly sessionStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1799
|
+
readonly origin: Schema.String;
|
|
1800
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1801
|
+
readonly name: Schema.String;
|
|
1802
|
+
readonly value: Schema.String;
|
|
1803
|
+
}>>;
|
|
1804
|
+
}>>>;
|
|
1805
|
+
readonly scroll: Schema.optionalKey<Schema.Struct<{
|
|
1806
|
+
readonly x: Schema.Number;
|
|
1807
|
+
readonly y: Schema.Number;
|
|
1808
|
+
}>>;
|
|
1809
|
+
readonly documentState: Schema.optionalKey<Schema.Struct<{
|
|
1810
|
+
readonly version: Schema.Literal<1>;
|
|
1811
|
+
readonly windowName: Schema.optionalKey<Schema.String>;
|
|
1812
|
+
readonly historyState: Schema.optionalKey<Schema.String>;
|
|
1813
|
+
readonly controls: Schema.$Array<Schema.Struct<{
|
|
1814
|
+
readonly locator: Schema.Struct<{
|
|
1815
|
+
readonly tag: Schema.String;
|
|
1816
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1817
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1818
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1819
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1820
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1821
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1822
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1823
|
+
readonly tag: Schema.String;
|
|
1824
|
+
readonly index: Schema.Number;
|
|
1825
|
+
}>>;
|
|
1826
|
+
}>;
|
|
1827
|
+
readonly value: Schema.String;
|
|
1828
|
+
readonly checked: Schema.optionalKey<Schema.Boolean>;
|
|
1829
|
+
readonly selectedIndices: Schema.optionalKey<Schema.$Array<Schema.Number>>;
|
|
1830
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
1831
|
+
readonly start: Schema.Number;
|
|
1832
|
+
readonly end: Schema.Number;
|
|
1833
|
+
readonly direction: Schema.Literals<readonly ["forward", "backward", "none"]>;
|
|
1834
|
+
}>>;
|
|
1835
|
+
}>>;
|
|
1836
|
+
readonly contentEditables: Schema.$Array<Schema.Struct<{
|
|
1837
|
+
readonly locator: Schema.Struct<{
|
|
1838
|
+
readonly tag: Schema.String;
|
|
1839
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1840
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1841
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1842
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1843
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1844
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1845
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1846
|
+
readonly tag: Schema.String;
|
|
1847
|
+
readonly index: Schema.Number;
|
|
1848
|
+
}>>;
|
|
1849
|
+
}>;
|
|
1850
|
+
readonly html: Schema.String;
|
|
1851
|
+
}>>;
|
|
1852
|
+
readonly scrollPositions: Schema.$Array<Schema.Struct<{
|
|
1853
|
+
readonly locator: Schema.Struct<{
|
|
1854
|
+
readonly tag: Schema.String;
|
|
1855
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1856
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1857
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1858
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1859
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1860
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1861
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1862
|
+
readonly tag: Schema.String;
|
|
1863
|
+
readonly index: Schema.Number;
|
|
1864
|
+
}>>;
|
|
1865
|
+
}>;
|
|
1866
|
+
readonly x: Schema.Number;
|
|
1867
|
+
readonly y: Schema.Number;
|
|
1868
|
+
}>>;
|
|
1869
|
+
readonly focus: Schema.optionalKey<Schema.Struct<{
|
|
1870
|
+
readonly tag: Schema.String;
|
|
1871
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1872
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1873
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1874
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1875
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1876
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1877
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1878
|
+
readonly tag: Schema.String;
|
|
1879
|
+
readonly index: Schema.Number;
|
|
1880
|
+
}>>;
|
|
1881
|
+
}>>;
|
|
1882
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
1883
|
+
readonly anchor: Schema.Struct<{
|
|
1884
|
+
readonly locator: Schema.Struct<{
|
|
1885
|
+
readonly tag: Schema.String;
|
|
1886
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1887
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1888
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1889
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1890
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1891
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1892
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1893
|
+
readonly tag: Schema.String;
|
|
1894
|
+
readonly index: Schema.Number;
|
|
1895
|
+
}>>;
|
|
1896
|
+
}>;
|
|
1897
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1898
|
+
readonly offset: Schema.Number;
|
|
1899
|
+
}>;
|
|
1900
|
+
readonly focus: Schema.Struct<{
|
|
1901
|
+
readonly locator: Schema.Struct<{
|
|
1902
|
+
readonly tag: Schema.String;
|
|
1903
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
1904
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
1905
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
1906
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
1907
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
1908
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
1909
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
1910
|
+
readonly tag: Schema.String;
|
|
1911
|
+
readonly index: Schema.Number;
|
|
1912
|
+
}>>;
|
|
1913
|
+
}>;
|
|
1914
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
1915
|
+
readonly offset: Schema.Number;
|
|
1916
|
+
}>;
|
|
1917
|
+
}>>;
|
|
1918
|
+
}>>;
|
|
1919
|
+
readonly openerTargetIndex: Schema.optionalKey<Schema.Number>;
|
|
1920
|
+
readonly active: Schema.optionalKey<Schema.Boolean>;
|
|
1921
|
+
}>>>;
|
|
1922
|
+
readonly storageState: Schema.optionalKey<Schema.Struct<{
|
|
1923
|
+
readonly cookies: Schema.$Array<Schema.Struct<{
|
|
1924
|
+
readonly name: Schema.String;
|
|
1925
|
+
readonly value: Schema.String;
|
|
1926
|
+
readonly domain: Schema.String;
|
|
1927
|
+
readonly hostOnly: Schema.optionalKey<Schema.Boolean>;
|
|
1928
|
+
readonly path: Schema.String;
|
|
1929
|
+
readonly expires: Schema.optionalKey<Schema.Number>;
|
|
1930
|
+
readonly httpOnly: Schema.optionalKey<Schema.Boolean>;
|
|
1931
|
+
readonly secure: Schema.optionalKey<Schema.Boolean>;
|
|
1932
|
+
readonly sameSite: Schema.optionalKey<Schema.Literals<readonly ["Strict", "Lax", "None"]>>;
|
|
1933
|
+
readonly partitionKey: Schema.optionalKey<Schema.Struct<{
|
|
1934
|
+
readonly topLevelSite: Schema.String;
|
|
1935
|
+
readonly hasCrossSiteAncestor: Schema.optionalKey<Schema.Boolean>;
|
|
1936
|
+
}>>;
|
|
1937
|
+
}>>;
|
|
1938
|
+
readonly origins: Schema.$Array<Schema.Struct<{
|
|
1939
|
+
readonly origin: Schema.String;
|
|
1940
|
+
readonly ancestorOrigins: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1941
|
+
readonly localStorage: Schema.$Array<Schema.Struct<{
|
|
1942
|
+
readonly name: Schema.String;
|
|
1943
|
+
readonly value: Schema.String;
|
|
1944
|
+
}>>;
|
|
1945
|
+
readonly indexedDB: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1946
|
+
readonly name: Schema.String;
|
|
1947
|
+
readonly version: Schema.Number;
|
|
1948
|
+
readonly objectStores: Schema.$Array<Schema.Struct<{
|
|
1949
|
+
readonly name: Schema.String;
|
|
1950
|
+
readonly keyPath: Schema.Struct<{
|
|
1951
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
1952
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1953
|
+
}>;
|
|
1954
|
+
readonly autoIncrement: Schema.Boolean;
|
|
1955
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
1956
|
+
readonly name: Schema.String;
|
|
1957
|
+
readonly keyPath: Schema.Struct<{
|
|
1958
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
1959
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
1960
|
+
}>;
|
|
1961
|
+
readonly unique: Schema.Boolean;
|
|
1962
|
+
readonly multiEntry: Schema.Boolean;
|
|
1963
|
+
}>>;
|
|
1964
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
1965
|
+
readonly key: Schema.String;
|
|
1966
|
+
readonly value: Schema.String;
|
|
1967
|
+
}>>;
|
|
1968
|
+
}>>;
|
|
1969
|
+
}>>>;
|
|
1970
|
+
readonly cacheStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1971
|
+
readonly name: Schema.String;
|
|
1972
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1973
|
+
readonly url: Schema.String;
|
|
1974
|
+
readonly requestHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
1975
|
+
readonly responseHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
1976
|
+
readonly responseStatus: Schema.Number;
|
|
1977
|
+
readonly responseStatusText: Schema.String;
|
|
1978
|
+
readonly responseBody: Schema.String;
|
|
1979
|
+
}>>;
|
|
1980
|
+
}>>>;
|
|
1981
|
+
readonly opfs: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1982
|
+
readonly path: Schema.String;
|
|
1983
|
+
readonly body: Schema.String;
|
|
1984
|
+
}>>>;
|
|
1985
|
+
}>>;
|
|
1986
|
+
}>>;
|
|
1987
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
1988
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
1989
|
+
readonly upstream: Schema.optionalKey<Schema.Literals<readonly ["direct", "proxy", "tunnel"]>>;
|
|
1990
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1991
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
1992
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
1993
|
+
readonly auth: Schema.optionalKey<Schema.String>;
|
|
1994
|
+
}>>;
|
|
1995
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
1996
|
+
}>>;
|
|
1997
|
+
}>;
|
|
1998
|
+
type GetHealth200 = Health;
|
|
1999
|
+
declare const GetHealth200: Schema.Struct<{
|
|
2000
|
+
readonly status: Schema.Literal<"ok">;
|
|
2001
|
+
readonly color: Schema.Literals<readonly ["blue", "green"]>;
|
|
2002
|
+
readonly role: Schema.Literals<readonly ["active", "inactive"]>;
|
|
2003
|
+
readonly version: Schema.String;
|
|
2004
|
+
readonly activeColor: Schema.Literals<readonly ["blue", "green"]>;
|
|
2005
|
+
}>;
|
|
2006
|
+
type GetCurrentPrincipalParams = {
|
|
2007
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
2008
|
+
};
|
|
2009
|
+
declare const GetCurrentPrincipalParams: Schema.Struct<{
|
|
2010
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
2011
|
+
}>;
|
|
2012
|
+
type GetCurrentPrincipal200 = AuthMe;
|
|
2013
|
+
declare const GetCurrentPrincipal200: Schema.Struct<{
|
|
2014
|
+
readonly principal: Schema.Struct<{
|
|
2015
|
+
readonly type: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
2016
|
+
readonly id: Schema.String;
|
|
2017
|
+
readonly authMethod: Schema.Literals<readonly ["api_token", "oidc", "passkey", "password"]>;
|
|
2018
|
+
readonly tokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2019
|
+
readonly userId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2020
|
+
readonly name: Schema.String;
|
|
2021
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
2022
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2023
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2024
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
2025
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
2026
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2027
|
+
readonly resourceId: Schema.String;
|
|
2028
|
+
}>>;
|
|
2029
|
+
}>;
|
|
2030
|
+
readonly selectedTenant: Schema.Union<readonly [Schema.Struct<{
|
|
2031
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2032
|
+
readonly displayName: Schema.String;
|
|
2033
|
+
readonly createdAt: Schema.String;
|
|
2034
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2035
|
+
}>, Schema.Null]>;
|
|
2036
|
+
readonly availableTenants: Schema.$Array<Schema.Struct<{
|
|
2037
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2038
|
+
readonly displayName: Schema.String;
|
|
2039
|
+
readonly createdAt: Schema.String;
|
|
2040
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2041
|
+
}>>;
|
|
2042
|
+
}>;
|
|
2043
|
+
type GetCurrentPrincipaldefault = Error;
|
|
2044
|
+
declare const GetCurrentPrincipaldefault: Schema.Struct<{
|
|
2045
|
+
readonly error: Schema.Struct<{
|
|
2046
|
+
readonly code: Schema.String;
|
|
2047
|
+
readonly message: Schema.String;
|
|
2048
|
+
}>;
|
|
2049
|
+
}>;
|
|
2050
|
+
type ListBrowserChannels200 = BrowserChannels;
|
|
2051
|
+
declare const ListBrowserChannels200: Schema.Struct<{
|
|
2052
|
+
readonly channels: Schema.$Array<Schema.Struct<{
|
|
2053
|
+
readonly name: Schema.String;
|
|
2054
|
+
}>>;
|
|
2055
|
+
}>;
|
|
2056
|
+
type ListBrowserChannelsdefault = Error;
|
|
2057
|
+
declare const ListBrowserChannelsdefault: Schema.Struct<{
|
|
2058
|
+
readonly error: Schema.Struct<{
|
|
2059
|
+
readonly code: Schema.String;
|
|
2060
|
+
readonly message: Schema.String;
|
|
2061
|
+
}>;
|
|
2062
|
+
}>;
|
|
2063
|
+
type ListTenantsParams = {
|
|
2064
|
+
readonly "limit"?: number;
|
|
2065
|
+
readonly "cursor"?: string;
|
|
2066
|
+
readonly "deleted"?: "active" | "deleted" | "all";
|
|
2067
|
+
readonly "includeDeleted"?: boolean;
|
|
2068
|
+
};
|
|
2069
|
+
declare const ListTenantsParams: Schema.Struct<{
|
|
2070
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
2071
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
2072
|
+
readonly deleted: Schema.optionalKey<Schema.Literals<readonly ["active", "deleted", "all"]>>;
|
|
2073
|
+
readonly includeDeleted: Schema.optionalKey<Schema.Boolean>;
|
|
2074
|
+
}>;
|
|
2075
|
+
type ListTenants200 = TenantPage;
|
|
2076
|
+
declare const ListTenants200: Schema.Struct<{
|
|
2077
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
2078
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2079
|
+
readonly displayName: Schema.String;
|
|
2080
|
+
readonly createdAt: Schema.String;
|
|
2081
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2082
|
+
}>>;
|
|
2083
|
+
readonly meta: Schema.Struct<{
|
|
2084
|
+
readonly limit: Schema.Number;
|
|
2085
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
2086
|
+
readonly hasMore: Schema.Boolean;
|
|
2087
|
+
}>;
|
|
2088
|
+
}>;
|
|
2089
|
+
type ListTenantsdefault = Error;
|
|
2090
|
+
declare const ListTenantsdefault: Schema.Struct<{
|
|
2091
|
+
readonly error: Schema.Struct<{
|
|
2092
|
+
readonly code: Schema.String;
|
|
2093
|
+
readonly message: Schema.String;
|
|
2094
|
+
}>;
|
|
2095
|
+
}>;
|
|
2096
|
+
type CreateTenantRequestJson = TenantInput;
|
|
2097
|
+
declare const CreateTenantRequestJson: Schema.Struct<{
|
|
2098
|
+
readonly displayName: Schema.String;
|
|
2099
|
+
}>;
|
|
2100
|
+
type CreateTenant201 = Tenant;
|
|
2101
|
+
declare const CreateTenant201: Schema.Struct<{
|
|
2102
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2103
|
+
readonly displayName: Schema.String;
|
|
2104
|
+
readonly createdAt: Schema.String;
|
|
2105
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2106
|
+
}>;
|
|
2107
|
+
type CreateTenantdefault = Error;
|
|
2108
|
+
declare const CreateTenantdefault: Schema.Struct<{
|
|
2109
|
+
readonly error: Schema.Struct<{
|
|
2110
|
+
readonly code: Schema.String;
|
|
2111
|
+
readonly message: Schema.String;
|
|
2112
|
+
}>;
|
|
2113
|
+
}>;
|
|
2114
|
+
type DeleteTenant200 = Tenant;
|
|
2115
|
+
declare const DeleteTenant200: Schema.Struct<{
|
|
2116
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2117
|
+
readonly displayName: Schema.String;
|
|
2118
|
+
readonly createdAt: Schema.String;
|
|
2119
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2120
|
+
}>;
|
|
2121
|
+
type DeleteTenantdefault = Error;
|
|
2122
|
+
declare const DeleteTenantdefault: Schema.Struct<{
|
|
2123
|
+
readonly error: Schema.Struct<{
|
|
2124
|
+
readonly code: Schema.String;
|
|
2125
|
+
readonly message: Schema.String;
|
|
2126
|
+
}>;
|
|
2127
|
+
}>;
|
|
2128
|
+
type UpdateTenantRequestJson = TenantInput;
|
|
2129
|
+
declare const UpdateTenantRequestJson: Schema.Struct<{
|
|
2130
|
+
readonly displayName: Schema.String;
|
|
2131
|
+
}>;
|
|
2132
|
+
type UpdateTenant200 = Tenant;
|
|
2133
|
+
declare const UpdateTenant200: Schema.Struct<{
|
|
2134
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2135
|
+
readonly displayName: Schema.String;
|
|
2136
|
+
readonly createdAt: Schema.String;
|
|
2137
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2138
|
+
}>;
|
|
2139
|
+
type UpdateTenantdefault = Error;
|
|
2140
|
+
declare const UpdateTenantdefault: Schema.Struct<{
|
|
2141
|
+
readonly error: Schema.Struct<{
|
|
2142
|
+
readonly code: Schema.String;
|
|
2143
|
+
readonly message: Schema.String;
|
|
2144
|
+
}>;
|
|
2145
|
+
}>;
|
|
2146
|
+
type RestoreTenant200 = Tenant;
|
|
2147
|
+
declare const RestoreTenant200: Schema.Struct<{
|
|
2148
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2149
|
+
readonly displayName: Schema.String;
|
|
2150
|
+
readonly createdAt: Schema.String;
|
|
2151
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2152
|
+
}>;
|
|
2153
|
+
type RestoreTenantdefault = Error;
|
|
2154
|
+
declare const RestoreTenantdefault: Schema.Struct<{
|
|
2155
|
+
readonly error: Schema.Struct<{
|
|
2156
|
+
readonly code: Schema.String;
|
|
2157
|
+
readonly message: Schema.String;
|
|
2158
|
+
}>;
|
|
2159
|
+
}>;
|
|
2160
|
+
type ListUsersParams = {
|
|
2161
|
+
readonly "limit"?: number;
|
|
2162
|
+
readonly "cursor"?: string;
|
|
2163
|
+
readonly "query"?: string;
|
|
2164
|
+
readonly "disabled"?: "active" | "disabled" | "all";
|
|
2165
|
+
};
|
|
2166
|
+
declare const ListUsersParams: Schema.Struct<{
|
|
2167
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
2168
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
2169
|
+
readonly query: Schema.optionalKey<Schema.String>;
|
|
2170
|
+
readonly disabled: Schema.optionalKey<Schema.Literals<readonly ["active", "disabled", "all"]>>;
|
|
2171
|
+
}>;
|
|
2172
|
+
type ListUsers200 = UserPage;
|
|
2173
|
+
declare const ListUsers200: Schema.Struct<{
|
|
2174
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
2175
|
+
readonly id: Schema.String;
|
|
2176
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2177
|
+
readonly displayName: Schema.String;
|
|
2178
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2179
|
+
readonly createdAt: Schema.String;
|
|
2180
|
+
readonly updatedAt: Schema.String;
|
|
2181
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2182
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
2183
|
+
}>>;
|
|
2184
|
+
readonly meta: Schema.Struct<{
|
|
2185
|
+
readonly limit: Schema.Number;
|
|
2186
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
2187
|
+
readonly hasMore: Schema.Boolean;
|
|
2188
|
+
}>;
|
|
2189
|
+
}>;
|
|
2190
|
+
type ListUsersdefault = Error;
|
|
2191
|
+
declare const ListUsersdefault: Schema.Struct<{
|
|
2192
|
+
readonly error: Schema.Struct<{
|
|
2193
|
+
readonly code: Schema.String;
|
|
2194
|
+
readonly message: Schema.String;
|
|
2195
|
+
}>;
|
|
2196
|
+
}>;
|
|
2197
|
+
type CreateUserRequestJson = UserInput;
|
|
2198
|
+
declare const CreateUserRequestJson: Schema.Struct<{
|
|
2199
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2200
|
+
readonly displayName: Schema.String;
|
|
2201
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2202
|
+
}>;
|
|
2203
|
+
type CreateUser201 = User;
|
|
2204
|
+
declare const CreateUser201: Schema.Struct<{
|
|
2205
|
+
readonly id: Schema.String;
|
|
2206
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2207
|
+
readonly displayName: Schema.String;
|
|
2208
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2209
|
+
readonly createdAt: Schema.String;
|
|
2210
|
+
readonly updatedAt: Schema.String;
|
|
2211
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2212
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
2213
|
+
}>;
|
|
2214
|
+
type CreateUserdefault = Error;
|
|
2215
|
+
declare const CreateUserdefault: Schema.Struct<{
|
|
2216
|
+
readonly error: Schema.Struct<{
|
|
2217
|
+
readonly code: Schema.String;
|
|
2218
|
+
readonly message: Schema.String;
|
|
2219
|
+
}>;
|
|
2220
|
+
}>;
|
|
2221
|
+
type GetUser200 = User;
|
|
2222
|
+
declare const GetUser200: Schema.Struct<{
|
|
2223
|
+
readonly id: Schema.String;
|
|
2224
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2225
|
+
readonly displayName: Schema.String;
|
|
2226
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2227
|
+
readonly createdAt: Schema.String;
|
|
2228
|
+
readonly updatedAt: Schema.String;
|
|
2229
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2230
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
2231
|
+
}>;
|
|
2232
|
+
type GetUserdefault = Error;
|
|
2233
|
+
declare const GetUserdefault: Schema.Struct<{
|
|
2234
|
+
readonly error: Schema.Struct<{
|
|
2235
|
+
readonly code: Schema.String;
|
|
2236
|
+
readonly message: Schema.String;
|
|
2237
|
+
}>;
|
|
2238
|
+
}>;
|
|
2239
|
+
type DisableUser200 = User;
|
|
2240
|
+
declare const DisableUser200: Schema.Struct<{
|
|
2241
|
+
readonly id: Schema.String;
|
|
2242
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2243
|
+
readonly displayName: Schema.String;
|
|
2244
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2245
|
+
readonly createdAt: Schema.String;
|
|
2246
|
+
readonly updatedAt: Schema.String;
|
|
2247
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2248
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
2249
|
+
}>;
|
|
2250
|
+
type DisableUserdefault = Error;
|
|
2251
|
+
declare const DisableUserdefault: Schema.Struct<{
|
|
2252
|
+
readonly error: Schema.Struct<{
|
|
2253
|
+
readonly code: Schema.String;
|
|
2254
|
+
readonly message: Schema.String;
|
|
2255
|
+
}>;
|
|
2256
|
+
}>;
|
|
2257
|
+
type UpdateUserRequestJson = UserInput;
|
|
2258
|
+
declare const UpdateUserRequestJson: Schema.Struct<{
|
|
2259
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2260
|
+
readonly displayName: Schema.String;
|
|
2261
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2262
|
+
}>;
|
|
2263
|
+
type UpdateUser200 = User;
|
|
2264
|
+
declare const UpdateUser200: Schema.Struct<{
|
|
2265
|
+
readonly id: Schema.String;
|
|
2266
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2267
|
+
readonly displayName: Schema.String;
|
|
2268
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2269
|
+
readonly createdAt: Schema.String;
|
|
2270
|
+
readonly updatedAt: Schema.String;
|
|
2271
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2272
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
2273
|
+
}>;
|
|
2274
|
+
type UpdateUserdefault = Error;
|
|
2275
|
+
declare const UpdateUserdefault: Schema.Struct<{
|
|
2276
|
+
readonly error: Schema.Struct<{
|
|
2277
|
+
readonly code: Schema.String;
|
|
2278
|
+
readonly message: Schema.String;
|
|
2279
|
+
}>;
|
|
2280
|
+
}>;
|
|
2281
|
+
type RestoreUser200 = User;
|
|
2282
|
+
declare const RestoreUser200: Schema.Struct<{
|
|
2283
|
+
readonly id: Schema.String;
|
|
2284
|
+
readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2285
|
+
readonly displayName: Schema.String;
|
|
2286
|
+
readonly isSystemAdmin: Schema.Boolean;
|
|
2287
|
+
readonly createdAt: Schema.String;
|
|
2288
|
+
readonly updatedAt: Schema.String;
|
|
2289
|
+
readonly disabledAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2290
|
+
readonly passwordSetupStatus: Schema.optionalKey<Schema.Literals<readonly ["available", "configured", "email_required", "user_disabled", "login_disabled"]>>;
|
|
2291
|
+
}>;
|
|
2292
|
+
type RestoreUserdefault = Error;
|
|
2293
|
+
declare const RestoreUserdefault: Schema.Struct<{
|
|
2294
|
+
readonly error: Schema.Struct<{
|
|
2295
|
+
readonly code: Schema.String;
|
|
2296
|
+
readonly message: Schema.String;
|
|
2297
|
+
}>;
|
|
2298
|
+
}>;
|
|
2299
|
+
type CreateUserInvitation201 = UserInvitation;
|
|
2300
|
+
declare const CreateUserInvitation201: Schema.Struct<{
|
|
2301
|
+
readonly token: Schema.String;
|
|
2302
|
+
readonly expiresAt: Schema.String;
|
|
2303
|
+
}>;
|
|
2304
|
+
type CreateUserInvitationdefault = Error;
|
|
2305
|
+
declare const CreateUserInvitationdefault: Schema.Struct<{
|
|
2306
|
+
readonly error: Schema.Struct<{
|
|
2307
|
+
readonly code: Schema.String;
|
|
2308
|
+
readonly message: Schema.String;
|
|
2309
|
+
}>;
|
|
2310
|
+
}>;
|
|
2311
|
+
type ListUserMemberships200 = ReadonlyArray<TenantMembership>;
|
|
2312
|
+
declare const ListUserMemberships200: Schema.$Array<Schema.Struct<{
|
|
2313
|
+
readonly tenantId: Schema.String;
|
|
2314
|
+
readonly userId: Schema.String;
|
|
2315
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
2316
|
+
readonly createdAt: Schema.String;
|
|
2317
|
+
readonly updatedAt: Schema.String;
|
|
2318
|
+
}>>;
|
|
2319
|
+
type ListUserMembershipsdefault = Error;
|
|
2320
|
+
declare const ListUserMembershipsdefault: Schema.Struct<{
|
|
2321
|
+
readonly error: Schema.Struct<{
|
|
2322
|
+
readonly code: Schema.String;
|
|
2323
|
+
readonly message: Schema.String;
|
|
2324
|
+
}>;
|
|
2325
|
+
}>;
|
|
2326
|
+
type ListTenantMemberships200 = ReadonlyArray<TenantMembership>;
|
|
2327
|
+
declare const ListTenantMemberships200: Schema.$Array<Schema.Struct<{
|
|
2328
|
+
readonly tenantId: Schema.String;
|
|
2329
|
+
readonly userId: Schema.String;
|
|
2330
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
2331
|
+
readonly createdAt: Schema.String;
|
|
2332
|
+
readonly updatedAt: Schema.String;
|
|
2333
|
+
}>>;
|
|
2334
|
+
type ListTenantMembershipsdefault = Error;
|
|
2335
|
+
declare const ListTenantMembershipsdefault: Schema.Struct<{
|
|
2336
|
+
readonly error: Schema.Struct<{
|
|
2337
|
+
readonly code: Schema.String;
|
|
2338
|
+
readonly message: Schema.String;
|
|
2339
|
+
}>;
|
|
2340
|
+
}>;
|
|
2341
|
+
type UpsertTenantMembershipRequestJson = TenantMembershipInput;
|
|
2342
|
+
declare const UpsertTenantMembershipRequestJson: Schema.Struct<{
|
|
2343
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
2344
|
+
}>;
|
|
2345
|
+
type UpsertTenantMembership200 = TenantMembership;
|
|
2346
|
+
declare const UpsertTenantMembership200: Schema.Struct<{
|
|
2347
|
+
readonly tenantId: Schema.String;
|
|
2348
|
+
readonly userId: Schema.String;
|
|
2349
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
2350
|
+
readonly createdAt: Schema.String;
|
|
2351
|
+
readonly updatedAt: Schema.String;
|
|
2352
|
+
}>;
|
|
2353
|
+
type UpsertTenantMembershipdefault = Error;
|
|
2354
|
+
declare const UpsertTenantMembershipdefault: Schema.Struct<{
|
|
2355
|
+
readonly error: Schema.Struct<{
|
|
2356
|
+
readonly code: Schema.String;
|
|
2357
|
+
readonly message: Schema.String;
|
|
2358
|
+
}>;
|
|
2359
|
+
}>;
|
|
2360
|
+
type DeleteTenantMembershipdefault = Error;
|
|
2361
|
+
declare const DeleteTenantMembershipdefault: Schema.Struct<{
|
|
2362
|
+
readonly error: Schema.Struct<{
|
|
2363
|
+
readonly code: Schema.String;
|
|
2364
|
+
readonly message: Schema.String;
|
|
2365
|
+
}>;
|
|
2366
|
+
}>;
|
|
2367
|
+
type ListAuditEventsParams = {
|
|
2368
|
+
readonly "limit"?: number;
|
|
2369
|
+
readonly "cursor"?: string;
|
|
2370
|
+
readonly "tenantId"?: UUIDv7;
|
|
2371
|
+
readonly "actorType"?: PrincipalType;
|
|
2372
|
+
readonly "actorId"?: string;
|
|
2373
|
+
readonly "action"?: string;
|
|
2374
|
+
readonly "resourceType"?: string;
|
|
2375
|
+
readonly "resourceId"?: string;
|
|
2376
|
+
};
|
|
2377
|
+
declare const ListAuditEventsParams: Schema.Struct<{
|
|
2378
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
2379
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
2380
|
+
readonly tenantId: Schema.optionalKey<Schema.String>;
|
|
2381
|
+
readonly actorType: Schema.optionalKey<Schema.Literals<readonly ["api_token", "user", "system"]>>;
|
|
2382
|
+
readonly actorId: Schema.optionalKey<Schema.String>;
|
|
2383
|
+
readonly action: Schema.optionalKey<Schema.String>;
|
|
2384
|
+
readonly resourceType: Schema.optionalKey<Schema.String>;
|
|
2385
|
+
readonly resourceId: Schema.optionalKey<Schema.String>;
|
|
2386
|
+
}>;
|
|
2387
|
+
type ListAuditEvents200 = AuditEventPage;
|
|
2388
|
+
declare const ListAuditEvents200: Schema.Struct<{
|
|
2389
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
2390
|
+
readonly id: Schema.String;
|
|
2391
|
+
readonly actorType: Schema.Literals<readonly ["api_token", "user", "system"]>;
|
|
2392
|
+
readonly actorId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2393
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2394
|
+
readonly action: Schema.String;
|
|
2395
|
+
readonly resourceType: Schema.String;
|
|
2396
|
+
readonly resourceId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2397
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
2398
|
+
readonly createdAt: Schema.String;
|
|
2399
|
+
}>>;
|
|
2400
|
+
readonly meta: Schema.Struct<{
|
|
2401
|
+
readonly limit: Schema.Number;
|
|
2402
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
2403
|
+
readonly hasMore: Schema.Boolean;
|
|
2404
|
+
}>;
|
|
2405
|
+
}>;
|
|
2406
|
+
type ListAuditEventsdefault = Error;
|
|
2407
|
+
declare const ListAuditEventsdefault: Schema.Struct<{
|
|
2408
|
+
readonly error: Schema.Struct<{
|
|
2409
|
+
readonly code: Schema.String;
|
|
2410
|
+
readonly message: Schema.String;
|
|
2411
|
+
}>;
|
|
2412
|
+
}>;
|
|
2413
|
+
type ListAdminTokensParams = {
|
|
2414
|
+
readonly "limit"?: number;
|
|
2415
|
+
readonly "cursor"?: string;
|
|
2416
|
+
readonly "authorityType"?: AuthorityType;
|
|
2417
|
+
readonly "tenantId"?: UUIDv7;
|
|
2418
|
+
readonly "name"?: string;
|
|
2419
|
+
readonly "scope"?: Scope;
|
|
2420
|
+
readonly "revoked"?: "active" | "revoked" | "all";
|
|
2421
|
+
};
|
|
2422
|
+
declare const ListAdminTokensParams: Schema.Struct<{
|
|
2423
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
2424
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
2425
|
+
readonly authorityType: Schema.optionalKey<Schema.Literals<readonly ["system_admin", "tenant"]>>;
|
|
2426
|
+
readonly tenantId: Schema.optionalKey<Schema.String>;
|
|
2427
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2428
|
+
readonly scope: Schema.optionalKey<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2429
|
+
readonly revoked: Schema.optionalKey<Schema.Literals<readonly ["active", "revoked", "all"]>>;
|
|
2430
|
+
}>;
|
|
2431
|
+
type ListAdminTokens200 = TokenPage;
|
|
2432
|
+
declare const ListAdminTokens200: Schema.Struct<{
|
|
2433
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
2434
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2435
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
2436
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2437
|
+
readonly name: Schema.String;
|
|
2438
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2439
|
+
readonly createdAt: Schema.String;
|
|
2440
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
2441
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2442
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2443
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
2444
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
2445
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2446
|
+
readonly resourceId: Schema.String;
|
|
2447
|
+
}>>;
|
|
2448
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2449
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2450
|
+
}>>;
|
|
2451
|
+
readonly meta: Schema.Struct<{
|
|
2452
|
+
readonly limit: Schema.Number;
|
|
2453
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
2454
|
+
readonly hasMore: Schema.Boolean;
|
|
2455
|
+
}>;
|
|
2456
|
+
}>;
|
|
2457
|
+
type ListAdminTokensdefault = Error;
|
|
2458
|
+
declare const ListAdminTokensdefault: Schema.Struct<{
|
|
2459
|
+
readonly error: Schema.Struct<{
|
|
2460
|
+
readonly code: Schema.String;
|
|
2461
|
+
readonly message: Schema.String;
|
|
2462
|
+
}>;
|
|
2463
|
+
}>;
|
|
2464
|
+
type CreateAdminTokenRequestJson = CreateAdminTokenInput;
|
|
2465
|
+
declare const CreateAdminTokenRequestJson: Schema.Union<readonly [Schema.Struct<{
|
|
2466
|
+
readonly name: Schema.String;
|
|
2467
|
+
readonly authorityType: Schema.Literal<"system_admin">;
|
|
2468
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2469
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2470
|
+
readonly resourceMode: Schema.optionalKey<Schema.Literal<"all">>;
|
|
2471
|
+
readonly resourceGrants: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2472
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2473
|
+
readonly resourceId: Schema.String;
|
|
2474
|
+
}>>>;
|
|
2475
|
+
}>, Schema.Struct<{
|
|
2476
|
+
readonly name: Schema.String;
|
|
2477
|
+
readonly authorityType: Schema.Literal<"tenant">;
|
|
2478
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2479
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
2480
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2481
|
+
readonly resourceMode: Schema.optionalKey<Schema.Literals<readonly ["all", "allowlist"]>>;
|
|
2482
|
+
readonly resourceGrants: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2483
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2484
|
+
readonly resourceId: Schema.String;
|
|
2485
|
+
}>>>;
|
|
2486
|
+
}>]>;
|
|
2487
|
+
type CreateAdminToken201 = CreateTokenResponse;
|
|
2488
|
+
declare const CreateAdminToken201: Schema.Struct<{
|
|
2489
|
+
readonly token: Schema.Struct<{
|
|
2490
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2491
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
2492
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2493
|
+
readonly name: Schema.String;
|
|
2494
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2495
|
+
readonly createdAt: Schema.String;
|
|
2496
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
2497
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2498
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2499
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
2500
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
2501
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2502
|
+
readonly resourceId: Schema.String;
|
|
2503
|
+
}>>;
|
|
2504
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2505
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2506
|
+
}>;
|
|
2507
|
+
readonly rawToken: Schema.String;
|
|
2508
|
+
}>;
|
|
2509
|
+
type CreateAdminTokendefault = Error;
|
|
2510
|
+
declare const CreateAdminTokendefault: Schema.Struct<{
|
|
2511
|
+
readonly error: Schema.Struct<{
|
|
2512
|
+
readonly code: Schema.String;
|
|
2513
|
+
readonly message: Schema.String;
|
|
2514
|
+
}>;
|
|
2515
|
+
}>;
|
|
2516
|
+
type RevokeAdminTokendefault = Error;
|
|
2517
|
+
declare const RevokeAdminTokendefault: Schema.Struct<{
|
|
2518
|
+
readonly error: Schema.Struct<{
|
|
2519
|
+
readonly code: Schema.String;
|
|
2520
|
+
readonly message: Schema.String;
|
|
2521
|
+
}>;
|
|
2522
|
+
}>;
|
|
2523
|
+
type GetTenant200 = Tenant;
|
|
2524
|
+
declare const GetTenant200: Schema.Struct<{
|
|
2525
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2526
|
+
readonly displayName: Schema.String;
|
|
2527
|
+
readonly createdAt: Schema.String;
|
|
2528
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2529
|
+
}>;
|
|
2530
|
+
type GetTenantdefault = Error;
|
|
2531
|
+
declare const GetTenantdefault: Schema.Struct<{
|
|
2532
|
+
readonly error: Schema.Struct<{
|
|
2533
|
+
readonly code: Schema.String;
|
|
2534
|
+
readonly message: Schema.String;
|
|
2535
|
+
}>;
|
|
2536
|
+
}>;
|
|
2537
|
+
type UpdateSelectedTenantRequestJson = TenantInput;
|
|
2538
|
+
declare const UpdateSelectedTenantRequestJson: Schema.Struct<{
|
|
2539
|
+
readonly displayName: Schema.String;
|
|
2540
|
+
}>;
|
|
2541
|
+
type UpdateSelectedTenant200 = Tenant;
|
|
2542
|
+
declare const UpdateSelectedTenant200: Schema.Struct<{
|
|
2543
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2544
|
+
readonly displayName: Schema.String;
|
|
2545
|
+
readonly createdAt: Schema.String;
|
|
2546
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2547
|
+
}>;
|
|
2548
|
+
type UpdateSelectedTenantdefault = Error;
|
|
2549
|
+
declare const UpdateSelectedTenantdefault: Schema.Struct<{
|
|
2550
|
+
readonly error: Schema.Struct<{
|
|
2551
|
+
readonly code: Schema.String;
|
|
2552
|
+
readonly message: Schema.String;
|
|
2553
|
+
}>;
|
|
2554
|
+
}>;
|
|
2555
|
+
type ListTenantTokensParams = {
|
|
2556
|
+
readonly "limit"?: number;
|
|
2557
|
+
readonly "cursor"?: string;
|
|
2558
|
+
readonly "name"?: string;
|
|
2559
|
+
readonly "scope"?: Scope;
|
|
2560
|
+
readonly "revoked"?: "active" | "revoked" | "all";
|
|
2561
|
+
};
|
|
2562
|
+
declare const ListTenantTokensParams: Schema.Struct<{
|
|
2563
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
2564
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
2565
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2566
|
+
readonly scope: Schema.optionalKey<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2567
|
+
readonly revoked: Schema.optionalKey<Schema.Literals<readonly ["active", "revoked", "all"]>>;
|
|
2568
|
+
}>;
|
|
2569
|
+
type ListTenantTokens200 = TokenPage;
|
|
2570
|
+
declare const ListTenantTokens200: Schema.Struct<{
|
|
2571
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
2572
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2573
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
2574
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2575
|
+
readonly name: Schema.String;
|
|
2576
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2577
|
+
readonly createdAt: Schema.String;
|
|
2578
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
2579
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2580
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2581
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
2582
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
2583
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2584
|
+
readonly resourceId: Schema.String;
|
|
2585
|
+
}>>;
|
|
2586
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2587
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2588
|
+
}>>;
|
|
2589
|
+
readonly meta: Schema.Struct<{
|
|
2590
|
+
readonly limit: Schema.Number;
|
|
2591
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
2592
|
+
readonly hasMore: Schema.Boolean;
|
|
2593
|
+
}>;
|
|
2594
|
+
}>;
|
|
2595
|
+
type ListTenantTokensdefault = Error;
|
|
2596
|
+
declare const ListTenantTokensdefault: Schema.Struct<{
|
|
2597
|
+
readonly error: Schema.Struct<{
|
|
2598
|
+
readonly code: Schema.String;
|
|
2599
|
+
readonly message: Schema.String;
|
|
2600
|
+
}>;
|
|
2601
|
+
}>;
|
|
2602
|
+
type CreateTenantTokenRequestJson = CreateTenantTokenInput;
|
|
2603
|
+
declare const CreateTenantTokenRequestJson: Schema.Struct<{
|
|
2604
|
+
readonly name: Schema.String;
|
|
2605
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write"]>>;
|
|
2606
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2607
|
+
readonly resourceMode: Schema.optionalKey<Schema.Literals<readonly ["all", "allowlist"]>>;
|
|
2608
|
+
readonly resourceGrants: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2609
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2610
|
+
readonly resourceId: Schema.String;
|
|
2611
|
+
}>>>;
|
|
2612
|
+
}>;
|
|
2613
|
+
type CreateTenantToken201 = CreateTokenResponse;
|
|
2614
|
+
declare const CreateTenantToken201: Schema.Struct<{
|
|
2615
|
+
readonly token: Schema.Struct<{
|
|
2616
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2617
|
+
readonly authorityType: Schema.Literals<readonly ["system_admin", "tenant"]>;
|
|
2618
|
+
readonly tenantId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2619
|
+
readonly name: Schema.String;
|
|
2620
|
+
readonly scopes: Schema.$Array<Schema.Literals<readonly ["system:admin", "sessions:read", "sessions:write", "snapshots:read", "snapshots:write", "tenant:write", "tenants:write"]>>;
|
|
2621
|
+
readonly createdAt: Schema.String;
|
|
2622
|
+
readonly createdByType: Schema.suspend<Schema.Codec<PrincipalType, PrincipalType, never, never>>;
|
|
2623
|
+
readonly createdById: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2624
|
+
readonly parentTokenId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2625
|
+
readonly resourceMode: Schema.Literals<readonly ["all", "allowlist"]>;
|
|
2626
|
+
readonly resourceGrants: Schema.$Array<Schema.Struct<{
|
|
2627
|
+
readonly resourceType: Schema.Literals<readonly ["session", "snapshot"]>;
|
|
2628
|
+
readonly resourceId: Schema.String;
|
|
2629
|
+
}>>;
|
|
2630
|
+
readonly expiresAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2631
|
+
readonly revokedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2632
|
+
}>;
|
|
2633
|
+
readonly rawToken: Schema.String;
|
|
2634
|
+
}>;
|
|
2635
|
+
type CreateTenantTokendefault = Error;
|
|
2636
|
+
declare const CreateTenantTokendefault: Schema.Struct<{
|
|
2637
|
+
readonly error: Schema.Struct<{
|
|
2638
|
+
readonly code: Schema.String;
|
|
2639
|
+
readonly message: Schema.String;
|
|
2640
|
+
}>;
|
|
2641
|
+
}>;
|
|
2642
|
+
type RevokeTenantTokendefault = Error;
|
|
2643
|
+
declare const RevokeTenantTokendefault: Schema.Struct<{
|
|
2644
|
+
readonly error: Schema.Struct<{
|
|
2645
|
+
readonly code: Schema.String;
|
|
2646
|
+
readonly message: Schema.String;
|
|
2647
|
+
}>;
|
|
2648
|
+
}>;
|
|
2649
|
+
type ListSessionsParams = {
|
|
2650
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
2651
|
+
readonly "limit"?: number;
|
|
2652
|
+
readonly "cursor"?: string;
|
|
2653
|
+
readonly "includeDeleted"?: boolean;
|
|
2654
|
+
readonly "status"?: SessionStatus;
|
|
2655
|
+
readonly "tagKey"?: ReadonlyArray<string>;
|
|
2656
|
+
readonly "tagValue"?: ReadonlyArray<string>;
|
|
2657
|
+
readonly "tagOperator"?: ReadonlyArray<"eq" | "neq" | "in" | "not_in">;
|
|
2658
|
+
};
|
|
2659
|
+
declare const ListSessionsParams: Schema.Struct<{
|
|
2660
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
2661
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
2662
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
2663
|
+
readonly includeDeleted: Schema.optionalKey<Schema.Boolean>;
|
|
2664
|
+
readonly status: Schema.optionalKey<Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>>;
|
|
2665
|
+
readonly tagKey: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2666
|
+
readonly tagValue: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2667
|
+
readonly tagOperator: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["eq", "neq", "in", "not_in"]>>>;
|
|
2668
|
+
}>;
|
|
2669
|
+
type ListSessions200 = SessionPage;
|
|
2670
|
+
declare const ListSessions200: Schema.Struct<{
|
|
2671
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
2672
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2673
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2674
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
2675
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
2676
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
2677
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
2678
|
+
readonly media: Schema.Struct<{
|
|
2679
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
2680
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
2681
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2682
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
2683
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
2684
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
2685
|
+
}>>>;
|
|
2686
|
+
}>;
|
|
2687
|
+
readonly createdAt: Schema.String;
|
|
2688
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
2689
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
2690
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2691
|
+
readonly expiresAt: Schema.String;
|
|
2692
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
2693
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
2694
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
2695
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
2696
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
2697
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
2698
|
+
readonly editorToken: Schema.String;
|
|
2699
|
+
readonly viewerToken: Schema.String;
|
|
2700
|
+
}>>;
|
|
2701
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
2702
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
2703
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2704
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
2705
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2706
|
+
}>>;
|
|
2707
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
2708
|
+
}>>;
|
|
2709
|
+
}>>;
|
|
2710
|
+
readonly meta: Schema.Struct<{
|
|
2711
|
+
readonly limit: Schema.Number;
|
|
2712
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
2713
|
+
readonly hasMore: Schema.Boolean;
|
|
2714
|
+
}>;
|
|
2715
|
+
}>;
|
|
2716
|
+
type ListSessionsdefault = Error;
|
|
2717
|
+
declare const ListSessionsdefault: Schema.Struct<{
|
|
2718
|
+
readonly error: Schema.Struct<{
|
|
2719
|
+
readonly code: Schema.String;
|
|
2720
|
+
readonly message: Schema.String;
|
|
2721
|
+
}>;
|
|
2722
|
+
}>;
|
|
2723
|
+
type CreateSessionParams = {
|
|
2724
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
2725
|
+
readonly "waitForReady"?: boolean;
|
|
2726
|
+
};
|
|
2727
|
+
declare const CreateSessionParams: Schema.Struct<{
|
|
2728
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
2729
|
+
readonly waitForReady: Schema.optionalKey<Schema.Boolean>;
|
|
2730
|
+
}>;
|
|
2731
|
+
type CreateSessionRequestJson = CreateSessionInput;
|
|
2732
|
+
declare const CreateSessionRequestJson: Schema.Struct<{
|
|
2733
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2734
|
+
readonly label: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2735
|
+
readonly browser: Schema.Struct<{
|
|
2736
|
+
readonly channel: Schema.String;
|
|
2737
|
+
readonly args: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2738
|
+
}>;
|
|
2739
|
+
readonly initialTargets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2740
|
+
readonly url: Schema.String;
|
|
2741
|
+
readonly sessionStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2742
|
+
readonly origin: Schema.String;
|
|
2743
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
2744
|
+
readonly name: Schema.String;
|
|
2745
|
+
readonly value: Schema.String;
|
|
2746
|
+
}>>;
|
|
2747
|
+
}>>>;
|
|
2748
|
+
readonly scroll: Schema.optionalKey<Schema.Struct<{
|
|
2749
|
+
readonly x: Schema.Number;
|
|
2750
|
+
readonly y: Schema.Number;
|
|
2751
|
+
}>>;
|
|
2752
|
+
readonly documentState: Schema.optionalKey<Schema.Struct<{
|
|
2753
|
+
readonly version: Schema.Literal<1>;
|
|
2754
|
+
readonly windowName: Schema.optionalKey<Schema.String>;
|
|
2755
|
+
readonly historyState: Schema.optionalKey<Schema.String>;
|
|
2756
|
+
readonly controls: Schema.$Array<Schema.Struct<{
|
|
2757
|
+
readonly locator: Schema.Struct<{
|
|
2758
|
+
readonly tag: Schema.String;
|
|
2759
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
2760
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2761
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
2762
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
2763
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
2764
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
2765
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
2766
|
+
readonly tag: Schema.String;
|
|
2767
|
+
readonly index: Schema.Number;
|
|
2768
|
+
}>>;
|
|
2769
|
+
}>;
|
|
2770
|
+
readonly value: Schema.String;
|
|
2771
|
+
readonly checked: Schema.optionalKey<Schema.Boolean>;
|
|
2772
|
+
readonly selectedIndices: Schema.optionalKey<Schema.$Array<Schema.Number>>;
|
|
2773
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
2774
|
+
readonly start: Schema.Number;
|
|
2775
|
+
readonly end: Schema.Number;
|
|
2776
|
+
readonly direction: Schema.Literals<readonly ["forward", "backward", "none"]>;
|
|
2777
|
+
}>>;
|
|
2778
|
+
}>>;
|
|
2779
|
+
readonly contentEditables: Schema.$Array<Schema.Struct<{
|
|
2780
|
+
readonly locator: Schema.Struct<{
|
|
2781
|
+
readonly tag: Schema.String;
|
|
2782
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
2783
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2784
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
2785
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
2786
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
2787
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
2788
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
2789
|
+
readonly tag: Schema.String;
|
|
2790
|
+
readonly index: Schema.Number;
|
|
2791
|
+
}>>;
|
|
2792
|
+
}>;
|
|
2793
|
+
readonly html: Schema.String;
|
|
2794
|
+
}>>;
|
|
2795
|
+
readonly scrollPositions: Schema.$Array<Schema.Struct<{
|
|
2796
|
+
readonly locator: Schema.Struct<{
|
|
2797
|
+
readonly tag: Schema.String;
|
|
2798
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
2799
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2800
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
2801
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
2802
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
2803
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
2804
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
2805
|
+
readonly tag: Schema.String;
|
|
2806
|
+
readonly index: Schema.Number;
|
|
2807
|
+
}>>;
|
|
2808
|
+
}>;
|
|
2809
|
+
readonly x: Schema.Number;
|
|
2810
|
+
readonly y: Schema.Number;
|
|
2811
|
+
}>>;
|
|
2812
|
+
readonly focus: Schema.optionalKey<Schema.Struct<{
|
|
2813
|
+
readonly tag: Schema.String;
|
|
2814
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
2815
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2816
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
2817
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
2818
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
2819
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
2820
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
2821
|
+
readonly tag: Schema.String;
|
|
2822
|
+
readonly index: Schema.Number;
|
|
2823
|
+
}>>;
|
|
2824
|
+
}>>;
|
|
2825
|
+
readonly selection: Schema.optionalKey<Schema.Struct<{
|
|
2826
|
+
readonly anchor: Schema.Struct<{
|
|
2827
|
+
readonly locator: Schema.Struct<{
|
|
2828
|
+
readonly tag: Schema.String;
|
|
2829
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
2830
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2831
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
2832
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
2833
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
2834
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
2835
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
2836
|
+
readonly tag: Schema.String;
|
|
2837
|
+
readonly index: Schema.Number;
|
|
2838
|
+
}>>;
|
|
2839
|
+
}>;
|
|
2840
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
2841
|
+
readonly offset: Schema.Number;
|
|
2842
|
+
}>;
|
|
2843
|
+
readonly focus: Schema.Struct<{
|
|
2844
|
+
readonly locator: Schema.Struct<{
|
|
2845
|
+
readonly tag: Schema.String;
|
|
2846
|
+
readonly id: Schema.optionalKey<Schema.String>;
|
|
2847
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
2848
|
+
readonly inputType: Schema.optionalKey<Schema.String>;
|
|
2849
|
+
readonly autocomplete: Schema.optionalKey<Schema.String>;
|
|
2850
|
+
readonly ariaLabel: Schema.optionalKey<Schema.String>;
|
|
2851
|
+
readonly placeholder: Schema.optionalKey<Schema.String>;
|
|
2852
|
+
readonly path: Schema.$Array<Schema.Struct<{
|
|
2853
|
+
readonly tag: Schema.String;
|
|
2854
|
+
readonly index: Schema.Number;
|
|
2855
|
+
}>>;
|
|
2856
|
+
}>;
|
|
2857
|
+
readonly nodePath: Schema.$Array<Schema.Number>;
|
|
2858
|
+
readonly offset: Schema.Number;
|
|
2859
|
+
}>;
|
|
2860
|
+
}>>;
|
|
2861
|
+
}>>;
|
|
2862
|
+
readonly openerTargetIndex: Schema.optionalKey<Schema.Number>;
|
|
2863
|
+
readonly active: Schema.optionalKey<Schema.Boolean>;
|
|
2864
|
+
}>>>;
|
|
2865
|
+
readonly storageState: Schema.optionalKey<Schema.Struct<{
|
|
2866
|
+
readonly cookies: Schema.$Array<Schema.Struct<{
|
|
2867
|
+
readonly name: Schema.String;
|
|
2868
|
+
readonly value: Schema.String;
|
|
2869
|
+
readonly domain: Schema.String;
|
|
2870
|
+
readonly hostOnly: Schema.optionalKey<Schema.Boolean>;
|
|
2871
|
+
readonly path: Schema.String;
|
|
2872
|
+
readonly expires: Schema.optionalKey<Schema.Number>;
|
|
2873
|
+
readonly httpOnly: Schema.optionalKey<Schema.Boolean>;
|
|
2874
|
+
readonly secure: Schema.optionalKey<Schema.Boolean>;
|
|
2875
|
+
readonly sameSite: Schema.optionalKey<Schema.Literals<readonly ["Strict", "Lax", "None"]>>;
|
|
2876
|
+
readonly partitionKey: Schema.optionalKey<Schema.Struct<{
|
|
2877
|
+
readonly topLevelSite: Schema.String;
|
|
2878
|
+
readonly hasCrossSiteAncestor: Schema.optionalKey<Schema.Boolean>;
|
|
2879
|
+
}>>;
|
|
2880
|
+
}>>;
|
|
2881
|
+
readonly origins: Schema.$Array<Schema.Struct<{
|
|
2882
|
+
readonly origin: Schema.String;
|
|
2883
|
+
readonly ancestorOrigins: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2884
|
+
readonly localStorage: Schema.$Array<Schema.Struct<{
|
|
2885
|
+
readonly name: Schema.String;
|
|
2886
|
+
readonly value: Schema.String;
|
|
2887
|
+
}>>;
|
|
2888
|
+
readonly indexedDB: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2889
|
+
readonly name: Schema.String;
|
|
2890
|
+
readonly version: Schema.Number;
|
|
2891
|
+
readonly objectStores: Schema.$Array<Schema.Struct<{
|
|
2892
|
+
readonly name: Schema.String;
|
|
2893
|
+
readonly keyPath: Schema.Struct<{
|
|
2894
|
+
readonly kind: Schema.Literals<readonly ["none", "string", "array"]>;
|
|
2895
|
+
readonly value: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2896
|
+
}>;
|
|
2897
|
+
readonly autoIncrement: Schema.Boolean;
|
|
2898
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
2899
|
+
readonly name: Schema.String;
|
|
2900
|
+
readonly keyPath: Schema.Struct<{
|
|
2901
|
+
readonly kind: Schema.Literals<readonly ["string", "array"]>;
|
|
2902
|
+
readonly value: Schema.$Array<Schema.String>;
|
|
2903
|
+
}>;
|
|
2904
|
+
readonly unique: Schema.Boolean;
|
|
2905
|
+
readonly multiEntry: Schema.Boolean;
|
|
2906
|
+
}>>;
|
|
2907
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
2908
|
+
readonly key: Schema.String;
|
|
2909
|
+
readonly value: Schema.String;
|
|
2910
|
+
}>>;
|
|
2911
|
+
}>>;
|
|
2912
|
+
}>>>;
|
|
2913
|
+
readonly cacheStorage: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2914
|
+
readonly name: Schema.String;
|
|
2915
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
2916
|
+
readonly url: Schema.String;
|
|
2917
|
+
readonly requestHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
2918
|
+
readonly responseHeaders: Schema.$Record<Schema.String, Schema.String>;
|
|
2919
|
+
readonly responseStatus: Schema.Number;
|
|
2920
|
+
readonly responseStatusText: Schema.String;
|
|
2921
|
+
readonly responseBody: Schema.String;
|
|
2922
|
+
}>>;
|
|
2923
|
+
}>>>;
|
|
2924
|
+
readonly opfs: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2925
|
+
readonly path: Schema.String;
|
|
2926
|
+
readonly body: Schema.String;
|
|
2927
|
+
}>>>;
|
|
2928
|
+
}>>;
|
|
2929
|
+
}>>;
|
|
2930
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
2931
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
2932
|
+
readonly upstream: Schema.optionalKey<Schema.Literals<readonly ["direct", "proxy", "tunnel"]>>;
|
|
2933
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2934
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
2935
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2936
|
+
readonly auth: Schema.optionalKey<Schema.String>;
|
|
2937
|
+
}>>;
|
|
2938
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
2939
|
+
}>>;
|
|
2940
|
+
}>;
|
|
2941
|
+
type CreateSession201 = CreateSessionResult;
|
|
2942
|
+
declare const CreateSession201: Schema.Struct<{
|
|
2943
|
+
readonly session: Schema.Struct<{
|
|
2944
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2945
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
2946
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
2947
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
2948
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
2949
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
2950
|
+
readonly media: Schema.Struct<{
|
|
2951
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
2952
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
2953
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
2954
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
2955
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
2956
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
2957
|
+
}>>>;
|
|
2958
|
+
}>;
|
|
2959
|
+
readonly createdAt: Schema.String;
|
|
2960
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
2961
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
2962
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2963
|
+
readonly expiresAt: Schema.String;
|
|
2964
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
2965
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
2966
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
2967
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
2968
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
2969
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
2970
|
+
readonly editorToken: Schema.String;
|
|
2971
|
+
readonly viewerToken: Schema.String;
|
|
2972
|
+
}>>;
|
|
2973
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
2974
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
2975
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2976
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
2977
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
2978
|
+
}>>;
|
|
2979
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
2980
|
+
}>>;
|
|
2981
|
+
}>;
|
|
2982
|
+
readonly cdpUrl: Schema.String;
|
|
2983
|
+
readonly sessionToken: Schema.String;
|
|
2984
|
+
}>;
|
|
2985
|
+
type CreateSessiondefault = Error;
|
|
2986
|
+
declare const CreateSessiondefault: Schema.Struct<{
|
|
2987
|
+
readonly error: Schema.Struct<{
|
|
2988
|
+
readonly code: Schema.String;
|
|
2989
|
+
readonly message: Schema.String;
|
|
2990
|
+
}>;
|
|
2991
|
+
}>;
|
|
2992
|
+
type GetSessionsBulkParams = {
|
|
2993
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
2994
|
+
};
|
|
2995
|
+
declare const GetSessionsBulkParams: Schema.Struct<{
|
|
2996
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
2997
|
+
}>;
|
|
2998
|
+
type GetSessionsBulkRequestJson = SessionBulkInput;
|
|
2999
|
+
declare const GetSessionsBulkRequestJson: Schema.Struct<{
|
|
3000
|
+
readonly ids: Schema.$Array<Schema.String>;
|
|
3001
|
+
}>;
|
|
3002
|
+
type GetSessionsBulk200 = SessionBulkResponse;
|
|
3003
|
+
declare const GetSessionsBulk200: Schema.Struct<{
|
|
3004
|
+
readonly sessions: Schema.$Array<Schema.Struct<{
|
|
3005
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3006
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3007
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3008
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3009
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3010
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3011
|
+
readonly media: Schema.Struct<{
|
|
3012
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3013
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3014
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3015
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3016
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3017
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3018
|
+
}>>>;
|
|
3019
|
+
}>;
|
|
3020
|
+
readonly createdAt: Schema.String;
|
|
3021
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3022
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3023
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3024
|
+
readonly expiresAt: Schema.String;
|
|
3025
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3026
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3027
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3028
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3029
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3030
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3031
|
+
readonly editorToken: Schema.String;
|
|
3032
|
+
readonly viewerToken: Schema.String;
|
|
3033
|
+
}>>;
|
|
3034
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3035
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3036
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3037
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3038
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3039
|
+
}>>;
|
|
3040
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3041
|
+
}>>;
|
|
3042
|
+
}>>;
|
|
3043
|
+
}>;
|
|
3044
|
+
type GetSessionsBulkdefault = Error;
|
|
3045
|
+
declare const GetSessionsBulkdefault: Schema.Struct<{
|
|
3046
|
+
readonly error: Schema.Struct<{
|
|
3047
|
+
readonly code: Schema.String;
|
|
3048
|
+
readonly message: Schema.String;
|
|
3049
|
+
}>;
|
|
3050
|
+
}>;
|
|
3051
|
+
type GetSessionParams = {
|
|
3052
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3053
|
+
};
|
|
3054
|
+
declare const GetSessionParams: Schema.Struct<{
|
|
3055
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3056
|
+
}>;
|
|
3057
|
+
type GetSession200 = Session;
|
|
3058
|
+
declare const GetSession200: Schema.Struct<{
|
|
3059
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3060
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3061
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3062
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3063
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3064
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3065
|
+
readonly media: Schema.Struct<{
|
|
3066
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3067
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3068
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3069
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3070
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3071
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3072
|
+
}>>>;
|
|
3073
|
+
}>;
|
|
3074
|
+
readonly createdAt: Schema.String;
|
|
3075
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3076
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3077
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3078
|
+
readonly expiresAt: Schema.String;
|
|
3079
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3080
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3081
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3082
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3083
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3084
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3085
|
+
readonly editorToken: Schema.String;
|
|
3086
|
+
readonly viewerToken: Schema.String;
|
|
3087
|
+
}>>;
|
|
3088
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3089
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3090
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3091
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3092
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3093
|
+
}>>;
|
|
3094
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3095
|
+
}>>;
|
|
3096
|
+
}>;
|
|
3097
|
+
type GetSessiondefault = Error;
|
|
3098
|
+
declare const GetSessiondefault: Schema.Struct<{
|
|
3099
|
+
readonly error: Schema.Struct<{
|
|
3100
|
+
readonly code: Schema.String;
|
|
3101
|
+
readonly message: Schema.String;
|
|
3102
|
+
}>;
|
|
3103
|
+
}>;
|
|
3104
|
+
type DeleteSessionParams = {
|
|
3105
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3106
|
+
};
|
|
3107
|
+
declare const DeleteSessionParams: Schema.Struct<{
|
|
3108
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3109
|
+
}>;
|
|
3110
|
+
type DeleteSession200 = SessionMutation;
|
|
3111
|
+
declare const DeleteSession200: Schema.Struct<{
|
|
3112
|
+
readonly session: Schema.Struct<{
|
|
3113
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3114
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3115
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3116
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3117
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3118
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3119
|
+
readonly media: Schema.Struct<{
|
|
3120
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3121
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3122
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3123
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3124
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3125
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3126
|
+
}>>>;
|
|
3127
|
+
}>;
|
|
3128
|
+
readonly createdAt: Schema.String;
|
|
3129
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3130
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3131
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3132
|
+
readonly expiresAt: Schema.String;
|
|
3133
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3134
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3135
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3136
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3137
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3138
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3139
|
+
readonly editorToken: Schema.String;
|
|
3140
|
+
readonly viewerToken: Schema.String;
|
|
3141
|
+
}>>;
|
|
3142
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3143
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3144
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3145
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3146
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3147
|
+
}>>;
|
|
3148
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3149
|
+
}>>;
|
|
3150
|
+
}>;
|
|
3151
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3152
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3153
|
+
}>;
|
|
3154
|
+
type DeleteSessiondefault = Error;
|
|
3155
|
+
declare const DeleteSessiondefault: Schema.Struct<{
|
|
3156
|
+
readonly error: Schema.Struct<{
|
|
3157
|
+
readonly code: Schema.String;
|
|
3158
|
+
readonly message: Schema.String;
|
|
3159
|
+
}>;
|
|
3160
|
+
}>;
|
|
3161
|
+
type ReplaceSessionTagsParams = {
|
|
3162
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3163
|
+
};
|
|
3164
|
+
declare const ReplaceSessionTagsParams: Schema.Struct<{
|
|
3165
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3166
|
+
}>;
|
|
3167
|
+
type ReplaceSessionTagsRequestJson = ReplaceTagsInput;
|
|
3168
|
+
declare const ReplaceSessionTagsRequestJson: Schema.Struct<{
|
|
3169
|
+
readonly tags: Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>;
|
|
3170
|
+
}>;
|
|
3171
|
+
type ReplaceSessionTags200 = SessionMutation;
|
|
3172
|
+
declare const ReplaceSessionTags200: Schema.Struct<{
|
|
3173
|
+
readonly session: Schema.Struct<{
|
|
3174
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3175
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3176
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3177
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3178
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3179
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3180
|
+
readonly media: Schema.Struct<{
|
|
3181
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3182
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3183
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3184
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3185
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3186
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3187
|
+
}>>>;
|
|
3188
|
+
}>;
|
|
3189
|
+
readonly createdAt: Schema.String;
|
|
3190
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3191
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3192
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3193
|
+
readonly expiresAt: Schema.String;
|
|
3194
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3195
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3196
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3197
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3198
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3199
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3200
|
+
readonly editorToken: Schema.String;
|
|
3201
|
+
readonly viewerToken: Schema.String;
|
|
3202
|
+
}>>;
|
|
3203
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3204
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3205
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3206
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3207
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3208
|
+
}>>;
|
|
3209
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3210
|
+
}>>;
|
|
3211
|
+
}>;
|
|
3212
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3213
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3214
|
+
}>;
|
|
3215
|
+
type ReplaceSessionTagsdefault = Error;
|
|
3216
|
+
declare const ReplaceSessionTagsdefault: Schema.Struct<{
|
|
3217
|
+
readonly error: Schema.Struct<{
|
|
3218
|
+
readonly code: Schema.String;
|
|
3219
|
+
readonly message: Schema.String;
|
|
3220
|
+
}>;
|
|
3221
|
+
}>;
|
|
3222
|
+
type UpdateSessionProxyParams = {
|
|
3223
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3224
|
+
};
|
|
3225
|
+
declare const UpdateSessionProxyParams: Schema.Struct<{
|
|
3226
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3227
|
+
}>;
|
|
3228
|
+
type UpdateSessionProxyRequestJson = UpdateProxyAssignment;
|
|
3229
|
+
declare const UpdateSessionProxyRequestJson: Schema.Struct<{
|
|
3230
|
+
readonly upstream: Schema.optionalKey<Schema.Literals<readonly ["direct", "proxy", "tunnel"]>>;
|
|
3231
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3232
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3233
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3234
|
+
readonly auth: Schema.optionalKey<Schema.String>;
|
|
3235
|
+
}>>;
|
|
3236
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3237
|
+
readonly drain: Schema.optionalKey<Schema.Boolean>;
|
|
3238
|
+
}>;
|
|
3239
|
+
type UpdateSessionProxy200 = SessionMutation;
|
|
3240
|
+
declare const UpdateSessionProxy200: Schema.Struct<{
|
|
3241
|
+
readonly session: Schema.Struct<{
|
|
3242
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3243
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3244
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3245
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3246
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3247
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3248
|
+
readonly media: Schema.Struct<{
|
|
3249
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3250
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3251
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3252
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3253
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3254
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3255
|
+
}>>>;
|
|
3256
|
+
}>;
|
|
3257
|
+
readonly createdAt: Schema.String;
|
|
3258
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3259
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3260
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3261
|
+
readonly expiresAt: Schema.String;
|
|
3262
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3263
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3264
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3265
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3266
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3267
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3268
|
+
readonly editorToken: Schema.String;
|
|
3269
|
+
readonly viewerToken: Schema.String;
|
|
3270
|
+
}>>;
|
|
3271
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3272
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3273
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3274
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3275
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3276
|
+
}>>;
|
|
3277
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3278
|
+
}>>;
|
|
3279
|
+
}>;
|
|
3280
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3281
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3282
|
+
}>;
|
|
3283
|
+
type UpdateSessionProxydefault = Error;
|
|
3284
|
+
declare const UpdateSessionProxydefault: Schema.Struct<{
|
|
3285
|
+
readonly error: Schema.Struct<{
|
|
3286
|
+
readonly code: Schema.String;
|
|
3287
|
+
readonly message: Schema.String;
|
|
3288
|
+
}>;
|
|
3289
|
+
}>;
|
|
3290
|
+
type SuspendSessionParams = {
|
|
3291
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3292
|
+
};
|
|
3293
|
+
declare const SuspendSessionParams: Schema.Struct<{
|
|
3294
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3295
|
+
}>;
|
|
3296
|
+
type SuspendSession200 = SessionMutation;
|
|
3297
|
+
declare const SuspendSession200: Schema.Struct<{
|
|
3298
|
+
readonly session: Schema.Struct<{
|
|
3299
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3300
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3301
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3302
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3303
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3304
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3305
|
+
readonly media: Schema.Struct<{
|
|
3306
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3307
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3308
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3309
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3310
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3311
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3312
|
+
}>>>;
|
|
3313
|
+
}>;
|
|
3314
|
+
readonly createdAt: Schema.String;
|
|
3315
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3316
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3317
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3318
|
+
readonly expiresAt: Schema.String;
|
|
3319
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3320
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3321
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3322
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3323
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3324
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3325
|
+
readonly editorToken: Schema.String;
|
|
3326
|
+
readonly viewerToken: Schema.String;
|
|
3327
|
+
}>>;
|
|
3328
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3329
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3330
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3331
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3332
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3333
|
+
}>>;
|
|
3334
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3335
|
+
}>>;
|
|
3336
|
+
}>;
|
|
3337
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3338
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3339
|
+
}>;
|
|
3340
|
+
type SuspendSessiondefault = Error;
|
|
3341
|
+
declare const SuspendSessiondefault: Schema.Struct<{
|
|
3342
|
+
readonly error: Schema.Struct<{
|
|
3343
|
+
readonly code: Schema.String;
|
|
3344
|
+
readonly message: Schema.String;
|
|
3345
|
+
}>;
|
|
3346
|
+
}>;
|
|
3347
|
+
type ReopenSessionParams = {
|
|
3348
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3349
|
+
};
|
|
3350
|
+
declare const ReopenSessionParams: Schema.Struct<{
|
|
3351
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3352
|
+
}>;
|
|
3353
|
+
type ReopenSession200 = SessionMutation;
|
|
3354
|
+
declare const ReopenSession200: Schema.Struct<{
|
|
3355
|
+
readonly session: Schema.Struct<{
|
|
3356
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3357
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3358
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3359
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3360
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3361
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3362
|
+
readonly media: Schema.Struct<{
|
|
3363
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3364
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3365
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3366
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3367
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3368
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3369
|
+
}>>>;
|
|
3370
|
+
}>;
|
|
3371
|
+
readonly createdAt: Schema.String;
|
|
3372
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3373
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3374
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3375
|
+
readonly expiresAt: Schema.String;
|
|
3376
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3377
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3378
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3379
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3380
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3381
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3382
|
+
readonly editorToken: Schema.String;
|
|
3383
|
+
readonly viewerToken: Schema.String;
|
|
3384
|
+
}>>;
|
|
3385
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3386
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3387
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3388
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3389
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3390
|
+
}>>;
|
|
3391
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3392
|
+
}>>;
|
|
3393
|
+
}>;
|
|
3394
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3395
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3396
|
+
}>;
|
|
3397
|
+
type ReopenSessiondefault = Error;
|
|
3398
|
+
declare const ReopenSessiondefault: Schema.Struct<{
|
|
3399
|
+
readonly error: Schema.Struct<{
|
|
3400
|
+
readonly code: Schema.String;
|
|
3401
|
+
readonly message: Schema.String;
|
|
3402
|
+
}>;
|
|
3403
|
+
}>;
|
|
3404
|
+
type RotateSessionTokenParams = {
|
|
3405
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3406
|
+
};
|
|
3407
|
+
declare const RotateSessionTokenParams: Schema.Struct<{
|
|
3408
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3409
|
+
}>;
|
|
3410
|
+
type RotateSessionToken200 = SessionMutation;
|
|
3411
|
+
declare const RotateSessionToken200: Schema.Struct<{
|
|
3412
|
+
readonly session: Schema.Struct<{
|
|
3413
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3414
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3415
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3416
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3417
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3418
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3419
|
+
readonly media: Schema.Struct<{
|
|
3420
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3421
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3422
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3423
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3424
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3425
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3426
|
+
}>>>;
|
|
3427
|
+
}>;
|
|
3428
|
+
readonly createdAt: Schema.String;
|
|
3429
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3430
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3431
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3432
|
+
readonly expiresAt: Schema.String;
|
|
3433
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3434
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3435
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3436
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3437
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3438
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3439
|
+
readonly editorToken: Schema.String;
|
|
3440
|
+
readonly viewerToken: Schema.String;
|
|
3441
|
+
}>>;
|
|
3442
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3443
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3444
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3445
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3446
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3447
|
+
}>>;
|
|
3448
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3449
|
+
}>>;
|
|
3450
|
+
}>;
|
|
3451
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3452
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3453
|
+
}>;
|
|
3454
|
+
type RotateSessionTokendefault = Error;
|
|
3455
|
+
declare const RotateSessionTokendefault: Schema.Struct<{
|
|
3456
|
+
readonly error: Schema.Struct<{
|
|
3457
|
+
readonly code: Schema.String;
|
|
3458
|
+
readonly message: Schema.String;
|
|
3459
|
+
}>;
|
|
3460
|
+
}>;
|
|
3461
|
+
type RotateCollaborationCapabilityParams = {
|
|
3462
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3463
|
+
};
|
|
3464
|
+
declare const RotateCollaborationCapabilityParams: Schema.Struct<{
|
|
3465
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3466
|
+
}>;
|
|
3467
|
+
type RotateCollaborationCapability200 = SessionMutation;
|
|
3468
|
+
declare const RotateCollaborationCapability200: Schema.Struct<{
|
|
3469
|
+
readonly session: Schema.Struct<{
|
|
3470
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3471
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3472
|
+
readonly baseSnapshotName: Schema.optionalKey<Schema.String>;
|
|
3473
|
+
readonly label: Schema.optionalKey<Schema.String>;
|
|
3474
|
+
readonly status: Schema.Literals<readonly ["creating", "running", "suspended", "deleted", "expired", "failed"]>;
|
|
3475
|
+
readonly browserChannel: Schema.optionalKey<Schema.String>;
|
|
3476
|
+
readonly media: Schema.Struct<{
|
|
3477
|
+
readonly mode: Schema.Literals<readonly ["auto", "cdp"]>;
|
|
3478
|
+
readonly webrtcProducer: Schema.Boolean;
|
|
3479
|
+
readonly iceServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
3480
|
+
readonly urls: Schema.$Array<Schema.String>;
|
|
3481
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
3482
|
+
readonly credential: Schema.optionalKey<Schema.String>;
|
|
3483
|
+
}>>>;
|
|
3484
|
+
}>;
|
|
3485
|
+
readonly createdAt: Schema.String;
|
|
3486
|
+
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
3487
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3488
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3489
|
+
readonly expiresAt: Schema.String;
|
|
3490
|
+
readonly lastConnectedAt: Schema.optionalKey<Schema.String>;
|
|
3491
|
+
readonly suspendedAt: Schema.optionalKey<Schema.String>;
|
|
3492
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3493
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3494
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3495
|
+
readonly collaboration: Schema.optionalKey<Schema.Struct<{
|
|
3496
|
+
readonly editorToken: Schema.String;
|
|
3497
|
+
readonly viewerToken: Schema.String;
|
|
3498
|
+
}>>;
|
|
3499
|
+
readonly proxy: Schema.optionalKey<Schema.Struct<{
|
|
3500
|
+
readonly upstream: Schema.Literals<readonly ["direct", "proxy", "tunnel"]>;
|
|
3501
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3502
|
+
readonly tunnel: Schema.optionalKey<Schema.Struct<{
|
|
3503
|
+
readonly url: Schema.optionalKey<Schema.String>;
|
|
3504
|
+
}>>;
|
|
3505
|
+
readonly bypass: Schema.optionalKey<Schema.String>;
|
|
3506
|
+
}>>;
|
|
3507
|
+
}>;
|
|
3508
|
+
readonly cdpUrl: Schema.optionalKey<Schema.String>;
|
|
3509
|
+
readonly sessionToken: Schema.optionalKey<Schema.String>;
|
|
3510
|
+
}>;
|
|
3511
|
+
type RotateCollaborationCapabilitydefault = Error;
|
|
3512
|
+
declare const RotateCollaborationCapabilitydefault: Schema.Struct<{
|
|
3513
|
+
readonly error: Schema.Struct<{
|
|
3514
|
+
readonly code: Schema.String;
|
|
3515
|
+
readonly message: Schema.String;
|
|
3516
|
+
}>;
|
|
3517
|
+
}>;
|
|
3518
|
+
type GetSessionCursorParams = {
|
|
3519
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3520
|
+
};
|
|
3521
|
+
declare const GetSessionCursorParams: Schema.Struct<{
|
|
3522
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3523
|
+
}>;
|
|
3524
|
+
type GetSessionCursor200 = CursorVisibility;
|
|
3525
|
+
declare const GetSessionCursor200: Schema.Struct<{
|
|
3526
|
+
readonly visible: Schema.Boolean;
|
|
3527
|
+
}>;
|
|
3528
|
+
type GetSessionCursordefault = Error;
|
|
3529
|
+
declare const GetSessionCursordefault: Schema.Struct<{
|
|
3530
|
+
readonly error: Schema.Struct<{
|
|
3531
|
+
readonly code: Schema.String;
|
|
3532
|
+
readonly message: Schema.String;
|
|
3533
|
+
}>;
|
|
3534
|
+
}>;
|
|
3535
|
+
type SetSessionCursorParams = {
|
|
3536
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3537
|
+
};
|
|
3538
|
+
declare const SetSessionCursorParams: Schema.Struct<{
|
|
3539
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3540
|
+
}>;
|
|
3541
|
+
type SetSessionCursorRequestJson = CursorVisibility;
|
|
3542
|
+
declare const SetSessionCursorRequestJson: Schema.Struct<{
|
|
3543
|
+
readonly visible: Schema.Boolean;
|
|
3544
|
+
}>;
|
|
3545
|
+
type SetSessionCursor200 = CursorVisibility;
|
|
3546
|
+
declare const SetSessionCursor200: Schema.Struct<{
|
|
3547
|
+
readonly visible: Schema.Boolean;
|
|
3548
|
+
}>;
|
|
3549
|
+
type SetSessionCursordefault = Error;
|
|
3550
|
+
declare const SetSessionCursordefault: Schema.Struct<{
|
|
3551
|
+
readonly error: Schema.Struct<{
|
|
3552
|
+
readonly code: Schema.String;
|
|
3553
|
+
readonly message: Schema.String;
|
|
3554
|
+
}>;
|
|
3555
|
+
}>;
|
|
3556
|
+
type ListSessionRecordingsParams = {
|
|
3557
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3558
|
+
};
|
|
3559
|
+
declare const ListSessionRecordingsParams: Schema.Struct<{
|
|
3560
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3561
|
+
}>;
|
|
3562
|
+
type ListSessionRecordings200 = ReadonlyArray<Recording>;
|
|
3563
|
+
declare const ListSessionRecordings200: Schema.$Array<Schema.Struct<{
|
|
3564
|
+
readonly recordingId: Schema.String;
|
|
3565
|
+
readonly mode: Schema.Literals<readonly ["tab", "viewer"]>;
|
|
3566
|
+
readonly targetId: Schema.String;
|
|
3567
|
+
readonly captureGeneration: Schema.Number;
|
|
3568
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "failed"]>;
|
|
3569
|
+
readonly stopReason: Schema.optionalKey<Schema.String>;
|
|
3570
|
+
readonly relativePath: Schema.String;
|
|
3571
|
+
readonly startedAt: Schema.String;
|
|
3572
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3573
|
+
readonly sizeBytes: Schema.optionalKey<Schema.Number>;
|
|
3574
|
+
readonly fps: Schema.Number;
|
|
3575
|
+
readonly bitrateKbps: Schema.Number;
|
|
3576
|
+
readonly codec: Schema.Literals<readonly ["vp8", "h264-va"]>;
|
|
3577
|
+
}>>;
|
|
3578
|
+
type ListSessionRecordingsdefault = Error;
|
|
3579
|
+
declare const ListSessionRecordingsdefault: Schema.Struct<{
|
|
3580
|
+
readonly error: Schema.Struct<{
|
|
3581
|
+
readonly code: Schema.String;
|
|
3582
|
+
readonly message: Schema.String;
|
|
3583
|
+
}>;
|
|
3584
|
+
}>;
|
|
3585
|
+
type CreateSessionRecordingParams = {
|
|
3586
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3587
|
+
};
|
|
3588
|
+
declare const CreateSessionRecordingParams: Schema.Struct<{
|
|
3589
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3590
|
+
}>;
|
|
3591
|
+
type CreateSessionRecordingRequestJson = CreateSessionRecordingInput;
|
|
3592
|
+
declare const CreateSessionRecordingRequestJson: Schema.Struct<{
|
|
3593
|
+
readonly targetId: Schema.String;
|
|
3594
|
+
readonly fps: Schema.optionalKey<Schema.Number>;
|
|
3595
|
+
readonly bitrateKbps: Schema.optionalKey<Schema.Number>;
|
|
3596
|
+
readonly codec: Schema.optionalKey<Schema.Literals<readonly ["vp8", "h264-va"]>>;
|
|
3597
|
+
}>;
|
|
3598
|
+
type CreateSessionRecording201 = Recording;
|
|
3599
|
+
declare const CreateSessionRecording201: Schema.Struct<{
|
|
3600
|
+
readonly recordingId: Schema.String;
|
|
3601
|
+
readonly mode: Schema.Literals<readonly ["tab", "viewer"]>;
|
|
3602
|
+
readonly targetId: Schema.String;
|
|
3603
|
+
readonly captureGeneration: Schema.Number;
|
|
3604
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "failed"]>;
|
|
3605
|
+
readonly stopReason: Schema.optionalKey<Schema.String>;
|
|
3606
|
+
readonly relativePath: Schema.String;
|
|
3607
|
+
readonly startedAt: Schema.String;
|
|
3608
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3609
|
+
readonly sizeBytes: Schema.optionalKey<Schema.Number>;
|
|
3610
|
+
readonly fps: Schema.Number;
|
|
3611
|
+
readonly bitrateKbps: Schema.Number;
|
|
3612
|
+
readonly codec: Schema.Literals<readonly ["vp8", "h264-va"]>;
|
|
3613
|
+
}>;
|
|
3614
|
+
type CreateSessionRecordingdefault = Error;
|
|
3615
|
+
declare const CreateSessionRecordingdefault: Schema.Struct<{
|
|
3616
|
+
readonly error: Schema.Struct<{
|
|
3617
|
+
readonly code: Schema.String;
|
|
3618
|
+
readonly message: Schema.String;
|
|
3619
|
+
}>;
|
|
3620
|
+
}>;
|
|
3621
|
+
type GetSessionRecordingParams = {
|
|
3622
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3623
|
+
};
|
|
3624
|
+
declare const GetSessionRecordingParams: Schema.Struct<{
|
|
3625
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3626
|
+
}>;
|
|
3627
|
+
type GetSessionRecording200 = Recording;
|
|
3628
|
+
declare const GetSessionRecording200: Schema.Struct<{
|
|
3629
|
+
readonly recordingId: Schema.String;
|
|
3630
|
+
readonly mode: Schema.Literals<readonly ["tab", "viewer"]>;
|
|
3631
|
+
readonly targetId: Schema.String;
|
|
3632
|
+
readonly captureGeneration: Schema.Number;
|
|
3633
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "failed"]>;
|
|
3634
|
+
readonly stopReason: Schema.optionalKey<Schema.String>;
|
|
3635
|
+
readonly relativePath: Schema.String;
|
|
3636
|
+
readonly startedAt: Schema.String;
|
|
3637
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3638
|
+
readonly sizeBytes: Schema.optionalKey<Schema.Number>;
|
|
3639
|
+
readonly fps: Schema.Number;
|
|
3640
|
+
readonly bitrateKbps: Schema.Number;
|
|
3641
|
+
readonly codec: Schema.Literals<readonly ["vp8", "h264-va"]>;
|
|
3642
|
+
}>;
|
|
3643
|
+
type GetSessionRecordingdefault = Error;
|
|
3644
|
+
declare const GetSessionRecordingdefault: Schema.Struct<{
|
|
3645
|
+
readonly error: Schema.Struct<{
|
|
3646
|
+
readonly code: Schema.String;
|
|
3647
|
+
readonly message: Schema.String;
|
|
3648
|
+
}>;
|
|
3649
|
+
}>;
|
|
3650
|
+
type RetargetSessionRecordingParams = {
|
|
3651
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3652
|
+
};
|
|
3653
|
+
declare const RetargetSessionRecordingParams: Schema.Struct<{
|
|
3654
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3655
|
+
}>;
|
|
3656
|
+
type RetargetSessionRecordingRequestJson = RetargetSessionRecordingInput;
|
|
3657
|
+
declare const RetargetSessionRecordingRequestJson: Schema.Struct<{
|
|
3658
|
+
readonly targetId: Schema.String;
|
|
3659
|
+
}>;
|
|
3660
|
+
type RetargetSessionRecording200 = Recording;
|
|
3661
|
+
declare const RetargetSessionRecording200: Schema.Struct<{
|
|
3662
|
+
readonly recordingId: Schema.String;
|
|
3663
|
+
readonly mode: Schema.Literals<readonly ["tab", "viewer"]>;
|
|
3664
|
+
readonly targetId: Schema.String;
|
|
3665
|
+
readonly captureGeneration: Schema.Number;
|
|
3666
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "failed"]>;
|
|
3667
|
+
readonly stopReason: Schema.optionalKey<Schema.String>;
|
|
3668
|
+
readonly relativePath: Schema.String;
|
|
3669
|
+
readonly startedAt: Schema.String;
|
|
3670
|
+
readonly stoppedAt: Schema.optionalKey<Schema.String>;
|
|
3671
|
+
readonly sizeBytes: Schema.optionalKey<Schema.Number>;
|
|
3672
|
+
readonly fps: Schema.Number;
|
|
3673
|
+
readonly bitrateKbps: Schema.Number;
|
|
3674
|
+
readonly codec: Schema.Literals<readonly ["vp8", "h264-va"]>;
|
|
3675
|
+
}>;
|
|
3676
|
+
type RetargetSessionRecordingdefault = Error;
|
|
3677
|
+
declare const RetargetSessionRecordingdefault: Schema.Struct<{
|
|
3678
|
+
readonly error: Schema.Struct<{
|
|
3679
|
+
readonly code: Schema.String;
|
|
3680
|
+
readonly message: Schema.String;
|
|
3681
|
+
}>;
|
|
3682
|
+
}>;
|
|
3683
|
+
type StopSessionRecordingParams = {
|
|
3684
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3685
|
+
};
|
|
3686
|
+
declare const StopSessionRecordingParams: Schema.Struct<{
|
|
3687
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3688
|
+
}>;
|
|
3689
|
+
type StopSessionRecording200 = SessionFile;
|
|
3690
|
+
declare const StopSessionRecording200: Schema.Struct<{
|
|
3691
|
+
readonly name: Schema.String;
|
|
3692
|
+
readonly relativePath: Schema.String;
|
|
3693
|
+
readonly size: Schema.Number;
|
|
3694
|
+
readonly modifiedAt: Schema.String;
|
|
3695
|
+
readonly mimeType: Schema.String;
|
|
3696
|
+
}>;
|
|
3697
|
+
type StopSessionRecordingdefault = Error;
|
|
3698
|
+
declare const StopSessionRecordingdefault: Schema.Struct<{
|
|
3699
|
+
readonly error: Schema.Struct<{
|
|
3700
|
+
readonly code: Schema.String;
|
|
3701
|
+
readonly message: Schema.String;
|
|
3702
|
+
}>;
|
|
3703
|
+
}>;
|
|
3704
|
+
type CreateSessionFileDownloadURLParams = {
|
|
3705
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3706
|
+
};
|
|
3707
|
+
declare const CreateSessionFileDownloadURLParams: Schema.Struct<{
|
|
3708
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3709
|
+
}>;
|
|
3710
|
+
type CreateSessionFileDownloadURLRequestJson = SessionFileDownloadURLInput;
|
|
3711
|
+
declare const CreateSessionFileDownloadURLRequestJson: Schema.Struct<{
|
|
3712
|
+
readonly relativePath: Schema.String;
|
|
3713
|
+
readonly ttlSeconds: Schema.optionalKey<Schema.Number>;
|
|
3714
|
+
}>;
|
|
3715
|
+
type CreateSessionFileDownloadURL200 = SessionFileDownloadURL;
|
|
3716
|
+
declare const CreateSessionFileDownloadURL200: Schema.Struct<{
|
|
3717
|
+
readonly url: Schema.String;
|
|
3718
|
+
readonly expiresAt: Schema.String;
|
|
3719
|
+
}>;
|
|
3720
|
+
type CreateSessionFileDownloadURLdefault = Error;
|
|
3721
|
+
declare const CreateSessionFileDownloadURLdefault: Schema.Struct<{
|
|
3722
|
+
readonly error: Schema.Struct<{
|
|
3723
|
+
readonly code: Schema.String;
|
|
3724
|
+
readonly message: Schema.String;
|
|
3725
|
+
}>;
|
|
3726
|
+
}>;
|
|
3727
|
+
type PromoteSessionParams = {
|
|
3728
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3729
|
+
};
|
|
3730
|
+
declare const PromoteSessionParams: Schema.Struct<{
|
|
3731
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3732
|
+
}>;
|
|
3733
|
+
type PromoteSessionRequestJson = PromoteSessionInput;
|
|
3734
|
+
declare const PromoteSessionRequestJson: Schema.Struct<{
|
|
3735
|
+
readonly name: Schema.String;
|
|
3736
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3737
|
+
readonly force: Schema.optionalKey<Schema.Boolean>;
|
|
3738
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3739
|
+
}>;
|
|
3740
|
+
type PromoteSession200 = SnapshotMutation;
|
|
3741
|
+
declare const PromoteSession200: Schema.Struct<{
|
|
3742
|
+
readonly snapshot: Schema.Struct<{
|
|
3743
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3744
|
+
readonly name: Schema.String;
|
|
3745
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3746
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3747
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3748
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3749
|
+
readonly createdAt: Schema.String;
|
|
3750
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3751
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
3752
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3753
|
+
}>;
|
|
3754
|
+
}>;
|
|
3755
|
+
type PromoteSessiondefault = Error;
|
|
3756
|
+
declare const PromoteSessiondefault: Schema.Struct<{
|
|
3757
|
+
readonly error: Schema.Struct<{
|
|
3758
|
+
readonly code: Schema.String;
|
|
3759
|
+
readonly message: Schema.String;
|
|
3760
|
+
}>;
|
|
3761
|
+
}>;
|
|
3762
|
+
type ListSnapshotsParams = {
|
|
3763
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3764
|
+
readonly "limit"?: number;
|
|
3765
|
+
readonly "cursor"?: string;
|
|
3766
|
+
readonly "name"?: string;
|
|
3767
|
+
readonly "deleted"?: "active" | "deleted" | "all";
|
|
3768
|
+
readonly "includeDeleted"?: boolean;
|
|
3769
|
+
readonly "tagKey"?: ReadonlyArray<string>;
|
|
3770
|
+
readonly "tagValue"?: ReadonlyArray<string>;
|
|
3771
|
+
readonly "tagOperator"?: ReadonlyArray<"eq" | "neq" | "in" | "not_in">;
|
|
3772
|
+
};
|
|
3773
|
+
declare const ListSnapshotsParams: Schema.Struct<{
|
|
3774
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3775
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
3776
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
3777
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
3778
|
+
readonly deleted: Schema.optionalKey<Schema.Literals<readonly ["active", "deleted", "all"]>>;
|
|
3779
|
+
readonly includeDeleted: Schema.optionalKey<Schema.Boolean>;
|
|
3780
|
+
readonly tagKey: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3781
|
+
readonly tagValue: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3782
|
+
readonly tagOperator: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["eq", "neq", "in", "not_in"]>>>;
|
|
3783
|
+
}>;
|
|
3784
|
+
type ListSnapshots200 = SnapshotPage;
|
|
3785
|
+
declare const ListSnapshots200: Schema.Struct<{
|
|
3786
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
3787
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3788
|
+
readonly name: Schema.String;
|
|
3789
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3790
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3791
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3792
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3793
|
+
readonly createdAt: Schema.String;
|
|
3794
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3795
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
3796
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3797
|
+
}>>;
|
|
3798
|
+
readonly meta: Schema.Struct<{
|
|
3799
|
+
readonly limit: Schema.Number;
|
|
3800
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
3801
|
+
readonly hasMore: Schema.Boolean;
|
|
3802
|
+
}>;
|
|
3803
|
+
}>;
|
|
3804
|
+
type ListSnapshotsdefault = Error;
|
|
3805
|
+
declare const ListSnapshotsdefault: Schema.Struct<{
|
|
3806
|
+
readonly error: Schema.Struct<{
|
|
3807
|
+
readonly code: Schema.String;
|
|
3808
|
+
readonly message: Schema.String;
|
|
3809
|
+
}>;
|
|
3810
|
+
}>;
|
|
3811
|
+
type DeleteSnapshotParams = {
|
|
3812
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3813
|
+
};
|
|
3814
|
+
declare const DeleteSnapshotParams: Schema.Struct<{
|
|
3815
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3816
|
+
}>;
|
|
3817
|
+
type DeleteSnapshot200 = SnapshotMutation;
|
|
3818
|
+
declare const DeleteSnapshot200: Schema.Struct<{
|
|
3819
|
+
readonly snapshot: Schema.Struct<{
|
|
3820
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3821
|
+
readonly name: Schema.String;
|
|
3822
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3823
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3824
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3825
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3826
|
+
readonly createdAt: Schema.String;
|
|
3827
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3828
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
3829
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3830
|
+
}>;
|
|
3831
|
+
}>;
|
|
3832
|
+
type DeleteSnapshotdefault = Error;
|
|
3833
|
+
declare const DeleteSnapshotdefault: Schema.Struct<{
|
|
3834
|
+
readonly error: Schema.Struct<{
|
|
3835
|
+
readonly code: Schema.String;
|
|
3836
|
+
readonly message: Schema.String;
|
|
3837
|
+
}>;
|
|
3838
|
+
}>;
|
|
3839
|
+
type UpdateSnapshotParams = {
|
|
3840
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3841
|
+
};
|
|
3842
|
+
declare const UpdateSnapshotParams: Schema.Struct<{
|
|
3843
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3844
|
+
}>;
|
|
3845
|
+
type UpdateSnapshotRequestJson = UpdateSnapshotInput;
|
|
3846
|
+
declare const UpdateSnapshotRequestJson: Schema.Struct<{
|
|
3847
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3848
|
+
}>;
|
|
3849
|
+
type UpdateSnapshot200 = SnapshotMutation;
|
|
3850
|
+
declare const UpdateSnapshot200: Schema.Struct<{
|
|
3851
|
+
readonly snapshot: Schema.Struct<{
|
|
3852
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3853
|
+
readonly name: Schema.String;
|
|
3854
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3855
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3856
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3857
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3858
|
+
readonly createdAt: Schema.String;
|
|
3859
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3860
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
3861
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3862
|
+
}>;
|
|
3863
|
+
}>;
|
|
3864
|
+
type UpdateSnapshotdefault = Error;
|
|
3865
|
+
declare const UpdateSnapshotdefault: Schema.Struct<{
|
|
3866
|
+
readonly error: Schema.Struct<{
|
|
3867
|
+
readonly code: Schema.String;
|
|
3868
|
+
readonly message: Schema.String;
|
|
3869
|
+
}>;
|
|
3870
|
+
}>;
|
|
3871
|
+
type ReplaceSnapshotTagsParams = {
|
|
3872
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3873
|
+
};
|
|
3874
|
+
declare const ReplaceSnapshotTagsParams: Schema.Struct<{
|
|
3875
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3876
|
+
}>;
|
|
3877
|
+
type ReplaceSnapshotTagsRequestJson = ReplaceTagsInput;
|
|
3878
|
+
declare const ReplaceSnapshotTagsRequestJson: Schema.Struct<{
|
|
3879
|
+
readonly tags: Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>;
|
|
3880
|
+
}>;
|
|
3881
|
+
type ReplaceSnapshotTags200 = SnapshotMutation;
|
|
3882
|
+
declare const ReplaceSnapshotTags200: Schema.Struct<{
|
|
3883
|
+
readonly snapshot: Schema.Struct<{
|
|
3884
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3885
|
+
readonly name: Schema.String;
|
|
3886
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3887
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3888
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3889
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3890
|
+
readonly createdAt: Schema.String;
|
|
3891
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3892
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
3893
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3894
|
+
}>;
|
|
3895
|
+
}>;
|
|
3896
|
+
type ReplaceSnapshotTagsdefault = Error;
|
|
3897
|
+
declare const ReplaceSnapshotTagsdefault: Schema.Struct<{
|
|
3898
|
+
readonly error: Schema.Struct<{
|
|
3899
|
+
readonly code: Schema.String;
|
|
3900
|
+
readonly message: Schema.String;
|
|
3901
|
+
}>;
|
|
3902
|
+
}>;
|
|
3903
|
+
type RestoreSnapshotParams = {
|
|
3904
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3905
|
+
};
|
|
3906
|
+
declare const RestoreSnapshotParams: Schema.Struct<{
|
|
3907
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3908
|
+
}>;
|
|
3909
|
+
type RestoreSnapshot200 = SnapshotMutation;
|
|
3910
|
+
declare const RestoreSnapshot200: Schema.Struct<{
|
|
3911
|
+
readonly snapshot: Schema.Struct<{
|
|
3912
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3913
|
+
readonly name: Schema.String;
|
|
3914
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3915
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3916
|
+
readonly parentSnapshotId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3917
|
+
readonly promotedFromSessionId: Schema.optionalKey<Schema.suspend<Schema.Codec<string, string, never, never>>>;
|
|
3918
|
+
readonly createdAt: Schema.String;
|
|
3919
|
+
readonly deletedAt: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3920
|
+
readonly expiresAt: Schema.optionalKey<Schema.String>;
|
|
3921
|
+
readonly tags: Schema.optionalKey<Schema.suspend<Schema.Codec<StringMap, StringMap, never, never>>>;
|
|
3922
|
+
}>;
|
|
3923
|
+
}>;
|
|
3924
|
+
type RestoreSnapshotdefault = Error;
|
|
3925
|
+
declare const RestoreSnapshotdefault: Schema.Struct<{
|
|
3926
|
+
readonly error: Schema.Struct<{
|
|
3927
|
+
readonly code: Schema.String;
|
|
3928
|
+
readonly message: Schema.String;
|
|
3929
|
+
}>;
|
|
3930
|
+
}>;
|
|
3931
|
+
type ListEventsParams = {
|
|
3932
|
+
readonly "X-Aperture-Tenant-Id"?: UUIDv7;
|
|
3933
|
+
readonly "limit"?: number;
|
|
3934
|
+
readonly "cursor"?: string;
|
|
3935
|
+
readonly "resourceType"?: string;
|
|
3936
|
+
readonly "resourceId"?: string;
|
|
3937
|
+
};
|
|
3938
|
+
declare const ListEventsParams: Schema.Struct<{
|
|
3939
|
+
readonly "X-Aperture-Tenant-Id": Schema.optionalKey<Schema.String>;
|
|
3940
|
+
readonly limit: Schema.optionalKey<Schema.Number>;
|
|
3941
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
3942
|
+
readonly resourceType: Schema.optionalKey<Schema.String>;
|
|
3943
|
+
readonly resourceId: Schema.optionalKey<Schema.String>;
|
|
3944
|
+
}>;
|
|
3945
|
+
type ListEvents200 = EventPage;
|
|
3946
|
+
declare const ListEvents200: Schema.Struct<{
|
|
3947
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
3948
|
+
readonly id: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3949
|
+
readonly tenantId: Schema.suspend<Schema.Codec<string, string, never, never>>;
|
|
3950
|
+
readonly resourceType: Schema.String;
|
|
3951
|
+
readonly resourceId: Schema.String;
|
|
3952
|
+
readonly type: Schema.String;
|
|
3953
|
+
readonly message: Schema.String;
|
|
3954
|
+
readonly data: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
3955
|
+
readonly createdAt: Schema.String;
|
|
3956
|
+
}>>;
|
|
3957
|
+
readonly meta: Schema.Struct<{
|
|
3958
|
+
readonly limit: Schema.Number;
|
|
3959
|
+
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
3960
|
+
readonly hasMore: Schema.Boolean;
|
|
3961
|
+
}>;
|
|
3962
|
+
}>;
|
|
3963
|
+
type ListEventsdefault = Error;
|
|
3964
|
+
declare const ListEventsdefault: Schema.Struct<{
|
|
3965
|
+
readonly error: Schema.Struct<{
|
|
3966
|
+
readonly code: Schema.String;
|
|
3967
|
+
readonly message: Schema.String;
|
|
3968
|
+
}>;
|
|
3969
|
+
}>;
|
|
3970
|
+
interface OperationConfig {
|
|
3971
|
+
/**
|
|
3972
|
+
* Whether or not the response should be included in the value returned from
|
|
3973
|
+
* an operation.
|
|
3974
|
+
*
|
|
3975
|
+
* If set to `true`, a tuple of `[A, HttpClientResponse]` will be returned,
|
|
3976
|
+
* where `A` is the success type of the operation.
|
|
3977
|
+
*
|
|
3978
|
+
* If set to `false`, only the success type of the operation will be returned.
|
|
3979
|
+
*/
|
|
3980
|
+
readonly includeResponse?: boolean | undefined;
|
|
3981
|
+
}
|
|
3982
|
+
/**
|
|
3983
|
+
* A utility type which optionally includes the response in the return result
|
|
3984
|
+
* of an operation based upon the value of the `includeResponse` configuration
|
|
3985
|
+
* option.
|
|
3986
|
+
*/
|
|
3987
|
+
type WithOptionalResponse<A, Config extends OperationConfig> = Config extends {
|
|
3988
|
+
readonly includeResponse: true;
|
|
3989
|
+
} ? [A, HttpClientResponse.HttpClientResponse] : A;
|
|
3990
|
+
declare const make: (httpClient: HttpClient.HttpClient, options?: {
|
|
3991
|
+
readonly transformClient?: ((client: HttpClient.HttpClient) => Effect.Effect<HttpClient.HttpClient>) | undefined;
|
|
3992
|
+
}) => ApertureApi;
|
|
3993
|
+
interface ApertureApi {
|
|
3994
|
+
readonly httpClient: HttpClient.HttpClient;
|
|
3995
|
+
/**
|
|
3996
|
+
* Local process health and blue-green deployment state, including inactive colors.
|
|
3997
|
+
*/
|
|
3998
|
+
readonly "getHealth": <Config extends OperationConfig>(options: {
|
|
3999
|
+
readonly config?: Config | undefined;
|
|
4000
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetHealth200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4001
|
+
/**
|
|
4002
|
+
* Token metadata and effective tenant selection. A system administrator without an explicit selection receives the first active tenant.
|
|
4003
|
+
*/
|
|
4004
|
+
readonly "getCurrentPrincipal": <Config extends OperationConfig>(options: {
|
|
4005
|
+
readonly params?: typeof GetCurrentPrincipalParams.Encoded | undefined;
|
|
4006
|
+
readonly config?: Config | undefined;
|
|
4007
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetCurrentPrincipal200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4008
|
+
/**
|
|
4009
|
+
* Browser channels accepted by session creation.
|
|
4010
|
+
*/
|
|
4011
|
+
readonly "listBrowserChannels": <Config extends OperationConfig>(options: {
|
|
4012
|
+
readonly config?: Config | undefined;
|
|
4013
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListBrowserChannels200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4014
|
+
/**
|
|
4015
|
+
* Newest-first tenant list.
|
|
4016
|
+
*/
|
|
4017
|
+
readonly "listTenants": <Config extends OperationConfig>(options: {
|
|
4018
|
+
readonly params?: typeof ListTenantsParams.Encoded | undefined;
|
|
4019
|
+
readonly config?: Config | undefined;
|
|
4020
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListTenants200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4021
|
+
/**
|
|
4022
|
+
* Creates a tenant with a generated UUIDv7 identifier.
|
|
4023
|
+
*/
|
|
4024
|
+
readonly "createTenant": <Config extends OperationConfig>(options: {
|
|
4025
|
+
readonly payload: typeof CreateTenantRequestJson.Encoded;
|
|
4026
|
+
readonly config?: Config | undefined;
|
|
4027
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateTenant201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4028
|
+
/**
|
|
4029
|
+
* Deactivates a tenant and revokes its tenant tokens. Idempotent.
|
|
4030
|
+
*/
|
|
4031
|
+
readonly "deleteTenant": <Config extends OperationConfig>(tenantId: string, options: {
|
|
4032
|
+
readonly config?: Config | undefined;
|
|
4033
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof DeleteTenant200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4034
|
+
/**
|
|
4035
|
+
* Replaces the display name of an active tenant.
|
|
4036
|
+
*/
|
|
4037
|
+
readonly "updateTenant": <Config extends OperationConfig>(tenantId: string, options: {
|
|
4038
|
+
readonly payload: typeof UpdateTenantRequestJson.Encoded;
|
|
4039
|
+
readonly config?: Config | undefined;
|
|
4040
|
+
}) => Effect.Effect<WithOptionalResponse<typeof UpdateTenant200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4041
|
+
/**
|
|
4042
|
+
* Restores a tenant. Revoked tokens remain revoked.
|
|
4043
|
+
*/
|
|
4044
|
+
readonly "restoreTenant": <Config extends OperationConfig>(tenantId: string, options: {
|
|
4045
|
+
readonly config?: Config | undefined;
|
|
4046
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RestoreTenant200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4047
|
+
/**
|
|
4048
|
+
* List users
|
|
4049
|
+
*/
|
|
4050
|
+
readonly "listUsers": <Config extends OperationConfig>(options: {
|
|
4051
|
+
readonly params?: typeof ListUsersParams.Encoded | undefined;
|
|
4052
|
+
readonly config?: Config | undefined;
|
|
4053
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListUsers200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4054
|
+
/**
|
|
4055
|
+
* Create a user
|
|
4056
|
+
*/
|
|
4057
|
+
readonly "createUser": <Config extends OperationConfig>(options: {
|
|
4058
|
+
readonly payload: typeof CreateUserRequestJson.Encoded;
|
|
4059
|
+
readonly config?: Config | undefined;
|
|
4060
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateUser201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4061
|
+
/**
|
|
4062
|
+
* Get a user
|
|
4063
|
+
*/
|
|
4064
|
+
readonly "getUser": <Config extends OperationConfig>(userId: string, options: {
|
|
4065
|
+
readonly config?: Config | undefined;
|
|
4066
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetUser200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4067
|
+
/**
|
|
4068
|
+
* Disable a user
|
|
4069
|
+
*/
|
|
4070
|
+
readonly "disableUser": <Config extends OperationConfig>(userId: string, options: {
|
|
4071
|
+
readonly config?: Config | undefined;
|
|
4072
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof DisableUser200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4073
|
+
/**
|
|
4074
|
+
* Update a user
|
|
4075
|
+
*/
|
|
4076
|
+
readonly "updateUser": <Config extends OperationConfig>(userId: string, options: {
|
|
4077
|
+
readonly payload: typeof UpdateUserRequestJson.Encoded;
|
|
4078
|
+
readonly config?: Config | undefined;
|
|
4079
|
+
}) => Effect.Effect<WithOptionalResponse<typeof UpdateUser200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4080
|
+
/**
|
|
4081
|
+
* Restore a user
|
|
4082
|
+
*/
|
|
4083
|
+
readonly "restoreUser": <Config extends OperationConfig>(userId: string, options: {
|
|
4084
|
+
readonly config?: Config | undefined;
|
|
4085
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RestoreUser200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4086
|
+
/**
|
|
4087
|
+
* Creates a setup or reset link for an active user with an email address. Replaces any outstanding password link. The raw token is returned only once and expires after seven days.
|
|
4088
|
+
*/
|
|
4089
|
+
readonly "createUserInvitation": <Config extends OperationConfig>(userId: string, options: {
|
|
4090
|
+
readonly config?: Config | undefined;
|
|
4091
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof CreateUserInvitation201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4092
|
+
/**
|
|
4093
|
+
* List a user's tenant memberships
|
|
4094
|
+
*/
|
|
4095
|
+
readonly "listUserMemberships": <Config extends OperationConfig>(userId: string, options: {
|
|
4096
|
+
readonly config?: Config | undefined;
|
|
4097
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListUserMemberships200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4098
|
+
/**
|
|
4099
|
+
* List tenant memberships
|
|
4100
|
+
*/
|
|
4101
|
+
readonly "listTenantMemberships": <Config extends OperationConfig>(tenantId: string, options: {
|
|
4102
|
+
readonly config?: Config | undefined;
|
|
4103
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListTenantMemberships200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4104
|
+
/**
|
|
4105
|
+
* Create or update a tenant membership
|
|
4106
|
+
*/
|
|
4107
|
+
readonly "upsertTenantMembership": <Config extends OperationConfig>(tenantId: string, userId: string, options: {
|
|
4108
|
+
readonly payload: typeof UpsertTenantMembershipRequestJson.Encoded;
|
|
4109
|
+
readonly config?: Config | undefined;
|
|
4110
|
+
}) => Effect.Effect<WithOptionalResponse<typeof UpsertTenantMembership200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4111
|
+
/**
|
|
4112
|
+
* Delete a tenant membership
|
|
4113
|
+
*/
|
|
4114
|
+
readonly "deleteTenantMembership": <Config extends OperationConfig>(tenantId: string, userId: string, options: {
|
|
4115
|
+
readonly config?: Config | undefined;
|
|
4116
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof DeleteTenantMembershipdefault.Type | void, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4117
|
+
/**
|
|
4118
|
+
* List security audit events
|
|
4119
|
+
*/
|
|
4120
|
+
readonly "listAuditEvents": <Config extends OperationConfig>(options: {
|
|
4121
|
+
readonly params?: typeof ListAuditEventsParams.Encoded | undefined;
|
|
4122
|
+
readonly config?: Config | undefined;
|
|
4123
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListAuditEvents200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4124
|
+
/**
|
|
4125
|
+
* Newest-first token metadata. Raw tokens are never included.
|
|
4126
|
+
*/
|
|
4127
|
+
readonly "listAdminTokens": <Config extends OperationConfig>(options: {
|
|
4128
|
+
readonly params?: typeof ListAdminTokensParams.Encoded | undefined;
|
|
4129
|
+
readonly config?: Config | undefined;
|
|
4130
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListAdminTokens200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4131
|
+
/**
|
|
4132
|
+
* Creates an administrator or tenant token within the caller's authority. Only tenant tokens may use a resource allowlist. A child created by an expiring or resource-restricted API token cannot exceed its parent's expiry, scopes, or resource grants. The raw token is returned once.
|
|
4133
|
+
*/
|
|
4134
|
+
readonly "createAdminToken": <Config extends OperationConfig>(options: {
|
|
4135
|
+
readonly payload: typeof CreateAdminTokenRequestJson.Encoded;
|
|
4136
|
+
readonly config?: Config | undefined;
|
|
4137
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateAdminToken201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4138
|
+
/**
|
|
4139
|
+
* Revokes an API token. Idempotent.
|
|
4140
|
+
*/
|
|
4141
|
+
readonly "revokeAdminToken": <Config extends OperationConfig>(tokenId: string, options: {
|
|
4142
|
+
readonly config?: Config | undefined;
|
|
4143
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RevokeAdminTokendefault.Type | void, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4144
|
+
/**
|
|
4145
|
+
* Tenant bound to the authenticated tenant token.
|
|
4146
|
+
*/
|
|
4147
|
+
readonly "getTenant": <Config extends OperationConfig>(options: {
|
|
4148
|
+
readonly config?: Config | undefined;
|
|
4149
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetTenant200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4150
|
+
/**
|
|
4151
|
+
* Replaces the bound tenant's display name.
|
|
4152
|
+
*/
|
|
4153
|
+
readonly "updateSelectedTenant": <Config extends OperationConfig>(options: {
|
|
4154
|
+
readonly payload: typeof UpdateSelectedTenantRequestJson.Encoded;
|
|
4155
|
+
readonly config?: Config | undefined;
|
|
4156
|
+
}) => Effect.Effect<WithOptionalResponse<typeof UpdateSelectedTenant200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4157
|
+
/**
|
|
4158
|
+
* Token metadata for the caller's tenant. Raw tokens are never included.
|
|
4159
|
+
*/
|
|
4160
|
+
readonly "listTenantTokens": <Config extends OperationConfig>(options: {
|
|
4161
|
+
readonly params?: typeof ListTenantTokensParams.Encoded | undefined;
|
|
4162
|
+
readonly config?: Config | undefined;
|
|
4163
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListTenantTokens200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4164
|
+
/**
|
|
4165
|
+
* Creates a token bound to the caller's tenant. Child scopes and resource grants cannot exceed the caller's authority, and a child created by an expiring API token cannot outlive its parent. The raw token is returned once.
|
|
4166
|
+
*/
|
|
4167
|
+
readonly "createTenantToken": <Config extends OperationConfig>(options: {
|
|
4168
|
+
readonly payload: typeof CreateTenantTokenRequestJson.Encoded;
|
|
4169
|
+
readonly config?: Config | undefined;
|
|
4170
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateTenantToken201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4171
|
+
/**
|
|
4172
|
+
* Revokes a tenant-owned token. Missing and foreign IDs both return not found. Idempotent.
|
|
4173
|
+
*/
|
|
4174
|
+
readonly "revokeTenantToken": <Config extends OperationConfig>(tokenId: string, options: {
|
|
4175
|
+
readonly config?: Config | undefined;
|
|
4176
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RevokeTenantTokendefault.Type | void, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4177
|
+
/**
|
|
4178
|
+
* Newest-first sessions. A resource-restricted token receives only granted sessions; filtering occurs before pagination. Credentials are included only while available and must be treated as secrets.
|
|
4179
|
+
*/
|
|
4180
|
+
readonly "listSessions": <Config extends OperationConfig>(options: {
|
|
4181
|
+
readonly params?: typeof ListSessionsParams.Encoded | undefined;
|
|
4182
|
+
readonly config?: Config | undefined;
|
|
4183
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListSessions200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4184
|
+
/**
|
|
4185
|
+
* Starts a browser with a retained overlay, then optionally imports browser storage and replaces the startup page with initial browser targets. Imported storage overlays the base snapshot. Set `waitForReady=false` to receive the session and its credentials in the `creating` state while startup continues. A resource-restricted token may start a blank session or use a granted base snapshot. The new session is not added to its resource allowlist, but the returned session token remains usable. Failed startup may leave a reopenable `failed` session.
|
|
4186
|
+
*/
|
|
4187
|
+
readonly "createSession": <Config extends OperationConfig>(options: {
|
|
4188
|
+
readonly params?: typeof CreateSessionParams.Encoded | undefined;
|
|
4189
|
+
readonly payload: typeof CreateSessionRequestJson.Encoded;
|
|
4190
|
+
readonly config?: Config | undefined;
|
|
4191
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateSession201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4192
|
+
/**
|
|
4193
|
+
* Returns up to 100 sessions in request order. Missing, foreign, deleted, and ungranted sessions are omitted before results are returned.
|
|
4194
|
+
*/
|
|
4195
|
+
readonly "getSessionsBulk": <Config extends OperationConfig>(options: {
|
|
4196
|
+
readonly params?: typeof GetSessionsBulkParams.Encoded | undefined;
|
|
4197
|
+
readonly payload: typeof GetSessionsBulkRequestJson.Encoded;
|
|
4198
|
+
readonly config?: Config | undefined;
|
|
4199
|
+
}) => Effect.Effect<WithOptionalResponse<typeof GetSessionsBulk200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4200
|
+
/**
|
|
4201
|
+
* Session metadata and current credentials when available.
|
|
4202
|
+
*/
|
|
4203
|
+
readonly "getSession": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4204
|
+
readonly params?: typeof GetSessionParams.Encoded | undefined;
|
|
4205
|
+
readonly config?: Config | undefined;
|
|
4206
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetSession200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4207
|
+
/**
|
|
4208
|
+
* Stops and marks the session `deleted`. The retained overlay remains reopenable until `expiresAt`.
|
|
4209
|
+
*/
|
|
4210
|
+
readonly "deleteSession": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4211
|
+
readonly params?: typeof DeleteSessionParams.Encoded | undefined;
|
|
4212
|
+
readonly config?: Config | undefined;
|
|
4213
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof DeleteSession200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4214
|
+
/**
|
|
4215
|
+
* Replaces all session tags. Send an empty map to clear them.
|
|
4216
|
+
*/
|
|
4217
|
+
readonly "replaceSessionTags": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4218
|
+
readonly params?: typeof ReplaceSessionTagsParams.Encoded | undefined;
|
|
4219
|
+
readonly payload: typeof ReplaceSessionTagsRequestJson.Encoded;
|
|
4220
|
+
readonly config?: Config | undefined;
|
|
4221
|
+
}) => Effect.Effect<WithOptionalResponse<typeof ReplaceSessionTags200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4222
|
+
/**
|
|
4223
|
+
* Replaces the session egress proxy assignment. The change applies to new connections; existing connections finish on the previous assignment unless `drain` resets live tunnel streams. Secrets are write-only — tunnel auth is never returned and upstream proxy passwords come back masked.
|
|
4224
|
+
*/
|
|
4225
|
+
readonly "updateSessionProxy": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4226
|
+
readonly params?: typeof UpdateSessionProxyParams.Encoded | undefined;
|
|
4227
|
+
readonly payload: typeof UpdateSessionProxyRequestJson.Encoded;
|
|
4228
|
+
readonly config?: Config | undefined;
|
|
4229
|
+
}) => Effect.Effect<WithOptionalResponse<typeof UpdateSessionProxy200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4230
|
+
/**
|
|
4231
|
+
* Stops a `running` session, retains its overlay, and resets retention.
|
|
4232
|
+
*/
|
|
4233
|
+
readonly "suspendSession": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4234
|
+
readonly params?: typeof SuspendSessionParams.Encoded | undefined;
|
|
4235
|
+
readonly config?: Config | undefined;
|
|
4236
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof SuspendSession200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4237
|
+
/**
|
|
4238
|
+
* Restarts a retained `deleted` or `failed` session and returns fresh credentials.
|
|
4239
|
+
*/
|
|
4240
|
+
readonly "reopenSession": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4241
|
+
readonly params?: typeof ReopenSessionParams.Encoded | undefined;
|
|
4242
|
+
readonly config?: Config | undefined;
|
|
4243
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ReopenSession200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4244
|
+
/**
|
|
4245
|
+
* Replaces the access token of a `running` session and invalidates the old token.
|
|
4246
|
+
*/
|
|
4247
|
+
readonly "rotateSessionToken": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4248
|
+
readonly params?: typeof RotateSessionTokenParams.Encoded | undefined;
|
|
4249
|
+
readonly config?: Config | undefined;
|
|
4250
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RotateSessionToken200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4251
|
+
/**
|
|
4252
|
+
* Replaces one role-scoped sharing secret without invalidating the other role or owner credentials.
|
|
4253
|
+
*/
|
|
4254
|
+
readonly "rotateCollaborationCapability": <Config extends OperationConfig>(sessionId: string, role: string, options: {
|
|
4255
|
+
readonly params?: typeof RotateCollaborationCapabilityParams.Encoded | undefined;
|
|
4256
|
+
readonly config?: Config | undefined;
|
|
4257
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RotateCollaborationCapability200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4258
|
+
/**
|
|
4259
|
+
* Returns whether the remote browser cursor is composited into the live stream and recordings.
|
|
4260
|
+
*/
|
|
4261
|
+
readonly "getSessionCursor": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4262
|
+
readonly params?: typeof GetSessionCursorParams.Encoded | undefined;
|
|
4263
|
+
readonly config?: Config | undefined;
|
|
4264
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetSessionCursor200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4265
|
+
/**
|
|
4266
|
+
* Enables or disables compositing the remote browser cursor into the live stream and recordings.
|
|
4267
|
+
*/
|
|
4268
|
+
readonly "setSessionCursor": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4269
|
+
readonly params?: typeof SetSessionCursorParams.Encoded | undefined;
|
|
4270
|
+
readonly payload: typeof SetSessionCursorRequestJson.Encoded;
|
|
4271
|
+
readonly config?: Config | undefined;
|
|
4272
|
+
}) => Effect.Effect<WithOptionalResponse<typeof SetSessionCursor200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4273
|
+
/**
|
|
4274
|
+
* Lists logical recordings without exposing host filesystem paths.
|
|
4275
|
+
*/
|
|
4276
|
+
readonly "listSessionRecordings": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4277
|
+
readonly params?: typeof ListSessionRecordingsParams.Encoded | undefined;
|
|
4278
|
+
readonly config?: Config | undefined;
|
|
4279
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListSessionRecordings200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4280
|
+
/**
|
|
4281
|
+
* Starts a tab recording of one ready top-level target.
|
|
4282
|
+
*/
|
|
4283
|
+
readonly "createSessionRecording": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4284
|
+
readonly params?: typeof CreateSessionRecordingParams.Encoded | undefined;
|
|
4285
|
+
readonly payload: typeof CreateSessionRecordingRequestJson.Encoded;
|
|
4286
|
+
readonly config?: Config | undefined;
|
|
4287
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateSessionRecording201.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4288
|
+
/**
|
|
4289
|
+
* Returns one logical recording and its current top-level target without exposing host filesystem paths.
|
|
4290
|
+
*/
|
|
4291
|
+
readonly "getSessionRecording": <Config extends OperationConfig>(sessionId: string, recordingId: string, options: {
|
|
4292
|
+
readonly params?: typeof GetSessionRecordingParams.Encoded | undefined;
|
|
4293
|
+
readonly config?: Config | undefined;
|
|
4294
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof GetSessionRecording200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4295
|
+
/**
|
|
4296
|
+
* Moves a running tab recording to another ready top-level target while preserving its recording ID, timeline, and settings. Sending its current target is idempotent. Viewer, stopped, and failed recordings conflict.
|
|
4297
|
+
*/
|
|
4298
|
+
readonly "retargetSessionRecording": <Config extends OperationConfig>(sessionId: string, recordingId: string, options: {
|
|
4299
|
+
readonly params?: typeof RetargetSessionRecordingParams.Encoded | undefined;
|
|
4300
|
+
readonly payload: typeof RetargetSessionRecordingRequestJson.Encoded;
|
|
4301
|
+
readonly config?: Config | undefined;
|
|
4302
|
+
}) => Effect.Effect<WithOptionalResponse<typeof RetargetSessionRecording200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4303
|
+
/**
|
|
4304
|
+
* Stops the selected recording without transferring its media data and returns the resulting session file.
|
|
4305
|
+
*/
|
|
4306
|
+
readonly "stopSessionRecording": <Config extends OperationConfig>(sessionId: string, recordingId: string, options: {
|
|
4307
|
+
readonly params?: typeof StopSessionRecordingParams.Encoded | undefined;
|
|
4308
|
+
readonly config?: Config | undefined;
|
|
4309
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof StopSessionRecording200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4310
|
+
/**
|
|
4311
|
+
* Creates a signed URL for one retained session file. Anyone with the URL can download the file until it expires.
|
|
4312
|
+
*/
|
|
4313
|
+
readonly "createSessionFileDownloadURL": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4314
|
+
readonly params?: typeof CreateSessionFileDownloadURLParams.Encoded | undefined;
|
|
4315
|
+
readonly payload: typeof CreateSessionFileDownloadURLRequestJson.Encoded;
|
|
4316
|
+
readonly config?: Config | undefined;
|
|
4317
|
+
}) => Effect.Effect<WithOptionalResponse<typeof CreateSessionFileDownloadURL200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4318
|
+
/**
|
|
4319
|
+
* Promotes a retained `deleted`, `failed`, or `suspended` session. Deleted snapshot names are reused automatically. `force=true` replaces an active snapshot with the requested name. Reusing or replacing a name requires its grant for resource-restricted tokens; the resulting snapshot is not added to the token's allowlist.
|
|
4320
|
+
*/
|
|
4321
|
+
readonly "promoteSession": <Config extends OperationConfig>(sessionId: string, options: {
|
|
4322
|
+
readonly params?: typeof PromoteSessionParams.Encoded | undefined;
|
|
4323
|
+
readonly payload: typeof PromoteSessionRequestJson.Encoded;
|
|
4324
|
+
readonly config?: Config | undefined;
|
|
4325
|
+
}) => Effect.Effect<WithOptionalResponse<typeof PromoteSession200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4326
|
+
/**
|
|
4327
|
+
* Newest-first snapshots. A resource-restricted token receives only granted snapshots; filtering occurs before pagination. Tag predicates use logical AND.
|
|
4328
|
+
*/
|
|
4329
|
+
readonly "listSnapshots": <Config extends OperationConfig>(options: {
|
|
4330
|
+
readonly params?: typeof ListSnapshotsParams.Encoded | undefined;
|
|
4331
|
+
readonly config?: Config | undefined;
|
|
4332
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListSnapshots200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4333
|
+
/**
|
|
4334
|
+
* Soft-deletes a snapshot. Existing sessions are unaffected; new sessions cannot use it. Idempotent.
|
|
4335
|
+
*/
|
|
4336
|
+
readonly "deleteSnapshot": <Config extends OperationConfig>(name: string, options: {
|
|
4337
|
+
readonly params?: typeof DeleteSnapshotParams.Encoded | undefined;
|
|
4338
|
+
readonly config?: Config | undefined;
|
|
4339
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof DeleteSnapshot200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4340
|
+
/**
|
|
4341
|
+
* Replaces or clears a retained snapshot description.
|
|
4342
|
+
*/
|
|
4343
|
+
readonly "updateSnapshot": <Config extends OperationConfig>(name: string, options: {
|
|
4344
|
+
readonly params?: typeof UpdateSnapshotParams.Encoded | undefined;
|
|
4345
|
+
readonly payload: typeof UpdateSnapshotRequestJson.Encoded;
|
|
4346
|
+
readonly config?: Config | undefined;
|
|
4347
|
+
}) => Effect.Effect<WithOptionalResponse<typeof UpdateSnapshot200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4348
|
+
/**
|
|
4349
|
+
* Replaces all tags on a retained snapshot. Send an empty map to clear them.
|
|
4350
|
+
*/
|
|
4351
|
+
readonly "replaceSnapshotTags": <Config extends OperationConfig>(name: string, options: {
|
|
4352
|
+
readonly params?: typeof ReplaceSnapshotTagsParams.Encoded | undefined;
|
|
4353
|
+
readonly payload: typeof ReplaceSnapshotTagsRequestJson.Encoded;
|
|
4354
|
+
readonly config?: Config | undefined;
|
|
4355
|
+
}) => Effect.Effect<WithOptionalResponse<typeof ReplaceSnapshotTags200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4356
|
+
/**
|
|
4357
|
+
* Clears snapshot deletion and expiry markers.
|
|
4358
|
+
*/
|
|
4359
|
+
readonly "restoreSnapshot": <Config extends OperationConfig>(name: string, options: {
|
|
4360
|
+
readonly params?: typeof RestoreSnapshotParams.Encoded | undefined;
|
|
4361
|
+
readonly config?: Config | undefined;
|
|
4362
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof RestoreSnapshot200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4363
|
+
/**
|
|
4364
|
+
* Newest-first tenant events. A resource-restricted token receives only events for granted sessions and snapshots; filtering occurs before pagination. `resourceType` and `resourceId` are exact-match filters.
|
|
4365
|
+
*/
|
|
4366
|
+
readonly "listEvents": <Config extends OperationConfig>(options: {
|
|
4367
|
+
readonly params?: typeof ListEventsParams.Encoded | undefined;
|
|
4368
|
+
readonly config?: Config | undefined;
|
|
4369
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ListEvents200.Type, Config>, HttpClientError.HttpClientError | SchemaError>;
|
|
4370
|
+
}
|
|
4371
|
+
interface ApertureApiError<Tag extends string, E> {
|
|
4372
|
+
readonly _tag: Tag;
|
|
4373
|
+
readonly request: HttpClientRequest.HttpClientRequest;
|
|
4374
|
+
readonly response: HttpClientResponse.HttpClientResponse;
|
|
4375
|
+
readonly cause: E;
|
|
4376
|
+
}
|
|
4377
|
+
declare const ApertureApiError: <Tag extends string, E>(tag: Tag, cause: E, response: HttpClientResponse.HttpClientResponse) => ApertureApiError<Tag, E>;
|
|
4378
|
+
//#endregion
|
|
4379
|
+
export { ApertureApi, ApertureApiError, AuditEvent, AuditEventPage, AuthMe, AuthorityType, BrowserChannel, BrowserChannels, BrowserConfig, BrowserCookieSameSite, BrowserStorageEntry, CreateAdminToken201, CreateAdminTokenInput, CreateAdminTokenRequestJson, CreateAdminTokendefault, CreateSession201, CreateSessionFileDownloadURL200, CreateSessionFileDownloadURLParams, CreateSessionFileDownloadURLRequestJson, CreateSessionFileDownloadURLdefault, CreateSessionInput, CreateSessionParams, CreateSessionRecording201, CreateSessionRecordingInput, CreateSessionRecordingParams, CreateSessionRecordingRequestJson, CreateSessionRecordingdefault, CreateSessionRequestJson, CreateSessionResult, CreateSessiondefault, CreateTenant201, CreateTenantRequestJson, CreateTenantToken201, CreateTenantTokenInput, CreateTenantTokenRequestJson, CreateTenantTokendefault, CreateTenantdefault, CreateTokenResponse, CreateUser201, CreateUserInvitation201, CreateUserInvitationdefault, CreateUserRequestJson, CreateUserdefault, CursorVisibility, DeleteSession200, DeleteSessionParams, DeleteSessiondefault, DeleteSnapshot200, DeleteSnapshotParams, DeleteSnapshotdefault, DeleteTenant200, DeleteTenantMembershipdefault, DeleteTenantdefault, DisableUser200, DisableUserdefault, Error, ErrorDetail, Event, EventPage, GetCurrentPrincipal200, GetCurrentPrincipalParams, GetCurrentPrincipaldefault, GetHealth200, GetSession200, GetSessionCursor200, GetSessionCursorParams, GetSessionCursordefault, GetSessionParams, GetSessionRecording200, GetSessionRecordingParams, GetSessionRecordingdefault, GetSessiondefault, GetSessionsBulk200, GetSessionsBulkParams, GetSessionsBulkRequestJson, GetSessionsBulkdefault, GetTenant200, GetTenantdefault, GetUser200, GetUserdefault, Health, IceServer, InitialBrowserContentEditableState, InitialBrowserControlSelection, InitialBrowserControlState, InitialBrowserCookie, InitialBrowserCookiePartitionKey, InitialBrowserDocumentSelection, InitialBrowserDocumentState, InitialBrowserElementLocator, InitialBrowserElementPathStep, InitialBrowserElementScrollPosition, InitialBrowserScrollPosition, InitialBrowserSelectionEndpoint, InitialBrowserStorageState, InitialBrowserTarget, InitialCacheStorageCache, InitialCacheStorageEntry, InitialIndexedDBDatabase, InitialIndexedDBIndex, InitialIndexedDBIndexKeyPath, InitialIndexedDBKeyPath, InitialIndexedDBObjectStore, InitialIndexedDBRecord, InitialOPFSFile, InitialStorageOrigin, InitialTargetStorageOrigin, ListAdminTokens200, ListAdminTokensParams, ListAdminTokensdefault, ListAuditEvents200, ListAuditEventsParams, ListAuditEventsdefault, ListBrowserChannels200, ListBrowserChannelsdefault, ListEvents200, ListEventsParams, ListEventsdefault, ListSessionRecordings200, ListSessionRecordingsParams, ListSessionRecordingsdefault, ListSessions200, ListSessionsParams, ListSessionsdefault, ListSnapshots200, ListSnapshotsParams, ListSnapshotsdefault, ListTenantMemberships200, ListTenantMembershipsdefault, ListTenantTokens200, ListTenantTokensParams, ListTenantTokensdefault, ListTenants200, ListTenantsParams, ListTenantsdefault, ListUserMemberships200, ListUserMembershipsdefault, ListUsers200, ListUsersParams, ListUsersdefault, OperationConfig, PageMeta, Principal, PrincipalType, PromoteSession200, PromoteSessionInput, PromoteSessionParams, PromoteSessionRequestJson, PromoteSessiondefault, ProxyConfig, ProxyTunnelConfig, Recording, ReopenSession200, ReopenSessionParams, ReopenSessiondefault, ReplaceSessionTags200, ReplaceSessionTagsParams, ReplaceSessionTagsRequestJson, ReplaceSessionTagsdefault, ReplaceSnapshotTags200, ReplaceSnapshotTagsParams, ReplaceSnapshotTagsRequestJson, ReplaceSnapshotTagsdefault, ReplaceTagsInput, ResourceGrant, ResourceMode, ResourceType, RestoreSnapshot200, RestoreSnapshotParams, RestoreSnapshotdefault, RestoreTenant200, RestoreTenantdefault, RestoreUser200, RestoreUserdefault, RetargetSessionRecording200, RetargetSessionRecordingInput, RetargetSessionRecordingParams, RetargetSessionRecordingRequestJson, RetargetSessionRecordingdefault, RevokeAdminTokendefault, RevokeTenantTokendefault, RotateCollaborationCapability200, RotateCollaborationCapabilityParams, RotateCollaborationCapabilitydefault, RotateSessionToken200, RotateSessionTokenParams, RotateSessionTokendefault, Scope, Session, SessionBulkInput, SessionBulkResponse, SessionCollaborationCapabilities, SessionFile, SessionFileDownloadURL, SessionFileDownloadURLInput, SessionMedia, SessionMutation, SessionPage, SessionProxy, SessionStatus, SetSessionCursor200, SetSessionCursorParams, SetSessionCursorRequestJson, SetSessionCursordefault, Snapshot, SnapshotMutation, SnapshotPage, StopSessionRecording200, StopSessionRecordingParams, StopSessionRecordingdefault, StringMap, SuspendSession200, SuspendSessionParams, SuspendSessiondefault, Tenant, TenantInput, TenantMembership, TenantMembershipInput, TenantPage, TenantScope, Token, TokenPage, UUIDv7, UpdateProxyAssignment, UpdateSelectedTenant200, UpdateSelectedTenantRequestJson, UpdateSelectedTenantdefault, UpdateSessionProxy200, UpdateSessionProxyParams, UpdateSessionProxyRequestJson, UpdateSessionProxydefault, UpdateSnapshot200, UpdateSnapshotInput, UpdateSnapshotParams, UpdateSnapshotRequestJson, UpdateSnapshotdefault, UpdateTenant200, UpdateTenantRequestJson, UpdateTenantdefault, UpdateUser200, UpdateUserRequestJson, UpdateUserdefault, UpsertTenantMembership200, UpsertTenantMembershipRequestJson, UpsertTenantMembershipdefault, User, UserInput, UserInvitation, UserPage, WithOptionalResponse, make };
|
|
4380
|
+
//# sourceMappingURL=index.d.ts.map
|