@onkernel/sdk 0.86.0 → 0.87.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/CHANGELOG.md +14 -0
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/audit-logs/audit-logs.d.mts +169 -0
- package/resources/audit-logs/audit-logs.d.mts.map +1 -0
- package/resources/audit-logs/audit-logs.d.ts +169 -0
- package/resources/audit-logs/audit-logs.d.ts.map +1 -0
- package/resources/audit-logs/audit-logs.js +53 -0
- package/resources/audit-logs/audit-logs.js.map +1 -0
- package/resources/audit-logs/audit-logs.mjs +48 -0
- package/resources/audit-logs/audit-logs.mjs.map +1 -0
- package/resources/audit-logs/export-destinations.d.mts +163 -0
- package/resources/audit-logs/export-destinations.d.mts.map +1 -0
- package/resources/audit-logs/export-destinations.d.ts +163 -0
- package/resources/audit-logs/export-destinations.d.ts.map +1 -0
- package/resources/audit-logs/export-destinations.js +62 -0
- package/resources/audit-logs/export-destinations.js.map +1 -0
- package/resources/audit-logs/export-destinations.mjs +58 -0
- package/resources/audit-logs/export-destinations.mjs.map +1 -0
- package/resources/audit-logs/index.d.mts +3 -0
- package/resources/audit-logs/index.d.mts.map +1 -0
- package/resources/audit-logs/index.d.ts +3 -0
- package/resources/audit-logs/index.d.ts.map +1 -0
- package/resources/audit-logs/index.js +9 -0
- package/resources/audit-logs/index.js.map +1 -0
- package/resources/audit-logs/index.mjs +4 -0
- package/resources/audit-logs/index.mjs.map +1 -0
- package/resources/audit-logs.d.mts +1 -164
- package/resources/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs.d.ts +1 -164
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/audit-logs.js +2 -41
- package/resources/audit-logs.js.map +1 -1
- package/resources/audit-logs.mjs +1 -39
- package/resources/audit-logs.mjs.map +1 -1
- package/resources/auth/auth.d.mts +4 -0
- package/resources/auth/auth.d.mts.map +1 -1
- package/resources/auth/auth.d.ts +4 -0
- package/resources/auth/auth.d.ts.map +1 -1
- package/resources/auth/auth.js +4 -0
- package/resources/auth/auth.js.map +1 -1
- package/resources/auth/auth.mjs +4 -0
- package/resources/auth/auth.mjs.map +1 -1
- package/resources/auth/connections.d.mts +306 -0
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +306 -0
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/auth/context.d.mts +106 -0
- package/resources/auth/context.d.mts.map +1 -0
- package/resources/auth/context.d.ts +106 -0
- package/resources/auth/context.d.ts.map +1 -0
- package/resources/auth/context.js +25 -0
- package/resources/auth/context.js.map +1 -0
- package/resources/auth/context.mjs +21 -0
- package/resources/auth/context.mjs.map +1 -0
- package/resources/auth/index.d.mts +1 -0
- package/resources/auth/index.d.mts.map +1 -1
- package/resources/auth/index.d.ts +1 -0
- package/resources/auth/index.d.ts.map +1 -1
- package/resources/auth/index.js +3 -1
- package/resources/auth/index.js.map +1 -1
- package/resources/auth/index.mjs +1 -0
- package/resources/auth/index.mjs.map +1 -1
- package/resources/browser-pools.d.mts +158 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +158 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +125 -3
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +125 -3
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +29 -1
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +29 -1
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invocations.d.mts +5 -0
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +5 -0
- package/resources/invocations.d.ts.map +1 -1
- package/src/client.ts +7 -7
- package/src/resources/audit-logs/audit-logs.ts +281 -0
- package/src/resources/audit-logs/export-destinations.ts +262 -0
- package/src/resources/audit-logs/index.ts +25 -0
- package/src/resources/audit-logs.ts +1 -249
- package/src/resources/auth/auth.ts +6 -0
- package/src/resources/auth/connections.ts +342 -0
- package/src/resources/auth/context.ts +125 -0
- package/src/resources/auth/index.ts +1 -0
- package/src/resources/browser-pools.ts +177 -0
- package/src/resources/browsers/browsers.ts +143 -1
- package/src/resources/browsers/index.ts +2 -0
- package/src/resources/browsers/telemetry.ts +34 -0
- package/src/resources/index.ts +1 -1
- package/src/resources/invocations.ts +6 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,251 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { PagePromise, PageTokenPagination, type PageTokenPaginationParams } from '../core/pagination';
|
|
6
|
-
import { buildHeaders } from '../internal/headers';
|
|
7
|
-
import { RequestOptions } from '../internal/request-options';
|
|
8
|
-
import {
|
|
9
|
-
downloadAuditLogs,
|
|
10
|
-
type AuditLogDownloadDestination,
|
|
11
|
-
type AuditLogDownloadOptions,
|
|
12
|
-
type AuditLogDownloadParams,
|
|
13
|
-
type AuditLogDownloadProgress,
|
|
14
|
-
type AuditLogDownloadResult,
|
|
15
|
-
} from '../lib/audit-log-download';
|
|
16
|
-
|
|
17
|
-
export type {
|
|
18
|
-
AuditLogDownloadDestination,
|
|
19
|
-
AuditLogDownloadOptions,
|
|
20
|
-
AuditLogDownloadParams,
|
|
21
|
-
AuditLogDownloadProgress,
|
|
22
|
-
AuditLogDownloadResult,
|
|
23
|
-
} from '../lib/audit-log-download';
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Read audit log records for the authenticated organization.
|
|
27
|
-
*/
|
|
28
|
-
export class AuditLogs extends APIResource {
|
|
29
|
-
/**
|
|
30
|
-
* API for searching audit logs. Limited to at most 30 day search, returns up to
|
|
31
|
-
* 100 records per page. Not recommended for bulk export.
|
|
32
|
-
*/
|
|
33
|
-
list(
|
|
34
|
-
query: AuditLogListParams,
|
|
35
|
-
options?: RequestOptions,
|
|
36
|
-
): PagePromise<AuditLogEntriesPageTokenPagination, AuditLogEntry> {
|
|
37
|
-
return this._client.getAPIList('/audit-logs', PageTokenPagination<AuditLogEntry>, { query, ...options });
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Download an organization's audit log records for a time range as a file, for
|
|
42
|
-
* archival, compliance, or offline analysis. For interactive browsing, use GET
|
|
43
|
-
* /audit-logs.
|
|
44
|
-
*/
|
|
45
|
-
exportChunk(query: AuditLogExportChunkParams, options?: RequestOptions): APIPromise<Response> {
|
|
46
|
-
return this._client.get('/audit-logs/export/chunk', {
|
|
47
|
-
query,
|
|
48
|
-
...options,
|
|
49
|
-
headers: buildHeaders([{ Accept: 'application/octet-stream' }, options?.headers]),
|
|
50
|
-
__binaryResponse: true,
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Download a complete gzip-compressed JSON Lines audit log export to a writable
|
|
56
|
-
* destination. The SDK verifies every chunk and retries transient transfer
|
|
57
|
-
* failures. It does not close the destination. If the download fails, the
|
|
58
|
-
* destination may contain a partial export; use a temporary file and atomic
|
|
59
|
-
* rename when the completed export must be published atomically.
|
|
60
|
-
*/
|
|
61
|
-
download(
|
|
62
|
-
query: AuditLogDownloadParams,
|
|
63
|
-
destination: AuditLogDownloadDestination,
|
|
64
|
-
options?: AuditLogDownloadOptions,
|
|
65
|
-
): Promise<AuditLogDownloadResult> {
|
|
66
|
-
return downloadAuditLogs(
|
|
67
|
-
(chunkQuery, chunkOptions) => this.exportChunk(chunkQuery, chunkOptions),
|
|
68
|
-
query,
|
|
69
|
-
destination,
|
|
70
|
-
this._client.timeout,
|
|
71
|
-
options,
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export type AuditLogEntriesPageTokenPagination = PageTokenPagination<AuditLogEntry>;
|
|
77
|
-
|
|
78
|
-
export interface AuditLogEntry {
|
|
79
|
-
/**
|
|
80
|
-
* Authentication strategy used for the request.
|
|
81
|
-
*/
|
|
82
|
-
auth_strategy: string;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Client IP address.
|
|
86
|
-
*/
|
|
87
|
-
client_ip: string;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Request host.
|
|
91
|
-
*/
|
|
92
|
-
domain: string;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Request duration in milliseconds.
|
|
96
|
-
*/
|
|
97
|
-
duration_ms: number;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Email of the authenticated user at request time, if any.
|
|
101
|
-
*/
|
|
102
|
-
email: string;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* HTTP method.
|
|
106
|
-
*/
|
|
107
|
-
method: string;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Request path.
|
|
111
|
-
*/
|
|
112
|
-
path: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Matched API route pattern, if available.
|
|
116
|
-
*/
|
|
117
|
-
route: string;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* HTTP response status code.
|
|
121
|
-
*/
|
|
122
|
-
status: number;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* UTC time when the request was received.
|
|
126
|
-
*/
|
|
127
|
-
timestamp: string;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* User agent header.
|
|
131
|
-
*/
|
|
132
|
-
user_agent: string;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* ID of the authenticated user, if any.
|
|
136
|
-
*/
|
|
137
|
-
user_id: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface AuditLogListParams extends PageTokenPaginationParams {
|
|
141
|
-
/**
|
|
142
|
-
* Upper bound (exclusive) for the audit record timestamp.
|
|
143
|
-
*/
|
|
144
|
-
end: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Lower bound (inclusive) for the audit record timestamp.
|
|
148
|
-
*/
|
|
149
|
-
start: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Filter by authentication strategy.
|
|
153
|
-
*/
|
|
154
|
-
auth_strategy?: string;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Filter out results by HTTP method.
|
|
158
|
-
*/
|
|
159
|
-
exclude_method?: Array<string>;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Filter by HTTP method.
|
|
163
|
-
*/
|
|
164
|
-
method?: string;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Free-text search over path, user ID, email, client IP, and status.
|
|
168
|
-
*/
|
|
169
|
-
search?: string;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Additional user IDs to OR into free-text search.
|
|
173
|
-
*/
|
|
174
|
-
search_user_id?: Array<string>;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* Filter by service name.
|
|
178
|
-
*/
|
|
179
|
-
service?: string;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export interface AuditLogExportChunkParams {
|
|
183
|
-
/**
|
|
184
|
-
* Upper bound (exclusive) for the audit record timestamp.
|
|
185
|
-
*/
|
|
186
|
-
end: string;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Lower bound (inclusive) for the audit record timestamp.
|
|
190
|
-
*/
|
|
191
|
-
start: string;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Filter by authentication strategy.
|
|
195
|
-
*/
|
|
196
|
-
auth_strategy?: string;
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* Opaque cursor from X-Next-Cursor for the next chunk of older records.
|
|
200
|
-
*/
|
|
201
|
-
cursor?: string;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Filter out results by HTTP method.
|
|
205
|
-
*/
|
|
206
|
-
exclude_method?: Array<string>;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Encoding for the returned chunk.
|
|
210
|
-
*/
|
|
211
|
-
format?: 'jsonl' | 'jsonl.gz';
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* Maximum number of records to return in this chunk.
|
|
215
|
-
*/
|
|
216
|
-
limit?: number;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Filter by HTTP method.
|
|
220
|
-
*/
|
|
221
|
-
method?: string;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Free-text search over path, user ID, email, client IP, and status.
|
|
225
|
-
*/
|
|
226
|
-
search?: string;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Additional user IDs to OR into free-text search.
|
|
230
|
-
*/
|
|
231
|
-
search_user_id?: Array<string>;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Filter by service name.
|
|
235
|
-
*/
|
|
236
|
-
service?: string;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
export declare namespace AuditLogs {
|
|
240
|
-
export {
|
|
241
|
-
type AuditLogEntry as AuditLogEntry,
|
|
242
|
-
type AuditLogEntriesPageTokenPagination as AuditLogEntriesPageTokenPagination,
|
|
243
|
-
type AuditLogListParams as AuditLogListParams,
|
|
244
|
-
type AuditLogExportChunkParams as AuditLogExportChunkParams,
|
|
245
|
-
type AuditLogDownloadDestination as AuditLogDownloadDestination,
|
|
246
|
-
type AuditLogDownloadOptions as AuditLogDownloadOptions,
|
|
247
|
-
type AuditLogDownloadParams as AuditLogDownloadParams,
|
|
248
|
-
type AuditLogDownloadProgress as AuditLogDownloadProgress,
|
|
249
|
-
type AuditLogDownloadResult as AuditLogDownloadResult,
|
|
250
|
-
};
|
|
251
|
-
}
|
|
3
|
+
export * from './audit-logs/index';
|
|
@@ -21,14 +21,20 @@ import {
|
|
|
21
21
|
SubmitFieldsRequest,
|
|
22
22
|
SubmitFieldsResponse,
|
|
23
23
|
} from './connections';
|
|
24
|
+
import * as ContextAPI from './context';
|
|
25
|
+
import { AuthContext, Context } from './context';
|
|
24
26
|
|
|
25
27
|
export class Auth extends APIResource {
|
|
28
|
+
context: ContextAPI.Context = new ContextAPI.Context(this._client);
|
|
26
29
|
connections: ConnectionsAPI.Connections = new ConnectionsAPI.Connections(this._client);
|
|
27
30
|
}
|
|
28
31
|
|
|
32
|
+
Auth.Context = Context;
|
|
29
33
|
Auth.Connections = Connections;
|
|
30
34
|
|
|
31
35
|
export declare namespace Auth {
|
|
36
|
+
export { Context as Context, type AuthContext as AuthContext };
|
|
37
|
+
|
|
32
38
|
export {
|
|
33
39
|
Connections as Connections,
|
|
34
40
|
type LoginResponse as LoginResponse,
|
|
@@ -553,6 +553,63 @@ export namespace ManagedAuth {
|
|
|
553
553
|
* create. enabled=false cannot be combined with browser category settings.
|
|
554
554
|
*/
|
|
555
555
|
enabled?: boolean;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
559
|
+
* exporting.
|
|
560
|
+
*/
|
|
561
|
+
export?: BrowserTelemetry.Export;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export namespace BrowserTelemetry {
|
|
565
|
+
/**
|
|
566
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
567
|
+
* exporting.
|
|
568
|
+
*/
|
|
569
|
+
export interface Export {
|
|
570
|
+
/**
|
|
571
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
572
|
+
*/
|
|
573
|
+
otlp?: Export.Otlp;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export namespace Export {
|
|
577
|
+
/**
|
|
578
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
579
|
+
*/
|
|
580
|
+
export interface Otlp {
|
|
581
|
+
/**
|
|
582
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
583
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
584
|
+
*/
|
|
585
|
+
destination?: Otlp.Destination;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
589
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
590
|
+
* (enabled=false with a destination is rejected).
|
|
591
|
+
*/
|
|
592
|
+
enabled?: boolean;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export namespace Otlp {
|
|
596
|
+
/**
|
|
597
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
598
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
599
|
+
*/
|
|
600
|
+
export interface Destination {
|
|
601
|
+
/**
|
|
602
|
+
* OTLP destination ID
|
|
603
|
+
*/
|
|
604
|
+
id?: string;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* OTLP destination name
|
|
608
|
+
*/
|
|
609
|
+
name?: string;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
556
613
|
}
|
|
557
614
|
|
|
558
615
|
/**
|
|
@@ -916,6 +973,63 @@ export namespace ManagedAuthCreateRequest {
|
|
|
916
973
|
* create. enabled=false cannot be combined with browser category settings.
|
|
917
974
|
*/
|
|
918
975
|
enabled?: boolean;
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
979
|
+
* exporting.
|
|
980
|
+
*/
|
|
981
|
+
export?: BrowserTelemetry.Export;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
export namespace BrowserTelemetry {
|
|
985
|
+
/**
|
|
986
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
987
|
+
* exporting.
|
|
988
|
+
*/
|
|
989
|
+
export interface Export {
|
|
990
|
+
/**
|
|
991
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
992
|
+
*/
|
|
993
|
+
otlp?: Export.Otlp;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export namespace Export {
|
|
997
|
+
/**
|
|
998
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
999
|
+
*/
|
|
1000
|
+
export interface Otlp {
|
|
1001
|
+
/**
|
|
1002
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1003
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1004
|
+
*/
|
|
1005
|
+
destination?: Otlp.Destination;
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
1009
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
1010
|
+
* (enabled=false with a destination is rejected).
|
|
1011
|
+
*/
|
|
1012
|
+
enabled?: boolean;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export namespace Otlp {
|
|
1016
|
+
/**
|
|
1017
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1018
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1019
|
+
*/
|
|
1020
|
+
export interface Destination {
|
|
1021
|
+
/**
|
|
1022
|
+
* OTLP destination ID
|
|
1023
|
+
*/
|
|
1024
|
+
id?: string;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* OTLP destination name
|
|
1028
|
+
*/
|
|
1029
|
+
name?: string;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
919
1033
|
}
|
|
920
1034
|
|
|
921
1035
|
/**
|
|
@@ -1155,6 +1269,63 @@ export namespace ManagedAuthUpdateRequest {
|
|
|
1155
1269
|
* create. enabled=false cannot be combined with browser category settings.
|
|
1156
1270
|
*/
|
|
1157
1271
|
enabled?: boolean;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1275
|
+
* exporting.
|
|
1276
|
+
*/
|
|
1277
|
+
export?: BrowserTelemetry.Export;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
export namespace BrowserTelemetry {
|
|
1281
|
+
/**
|
|
1282
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1283
|
+
* exporting.
|
|
1284
|
+
*/
|
|
1285
|
+
export interface Export {
|
|
1286
|
+
/**
|
|
1287
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1288
|
+
*/
|
|
1289
|
+
otlp?: Export.Otlp;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
export namespace Export {
|
|
1293
|
+
/**
|
|
1294
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1295
|
+
*/
|
|
1296
|
+
export interface Otlp {
|
|
1297
|
+
/**
|
|
1298
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1299
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1300
|
+
*/
|
|
1301
|
+
destination?: Otlp.Destination;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
1305
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
1306
|
+
* (enabled=false with a destination is rejected).
|
|
1307
|
+
*/
|
|
1308
|
+
enabled?: boolean;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
export namespace Otlp {
|
|
1312
|
+
/**
|
|
1313
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1314
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1315
|
+
*/
|
|
1316
|
+
export interface Destination {
|
|
1317
|
+
/**
|
|
1318
|
+
* OTLP destination ID
|
|
1319
|
+
*/
|
|
1320
|
+
id?: string;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* OTLP destination name
|
|
1324
|
+
*/
|
|
1325
|
+
name?: string;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1158
1329
|
}
|
|
1159
1330
|
|
|
1160
1331
|
/**
|
|
@@ -1705,6 +1876,63 @@ export namespace ConnectionCreateParams {
|
|
|
1705
1876
|
* create. enabled=false cannot be combined with browser category settings.
|
|
1706
1877
|
*/
|
|
1707
1878
|
enabled?: boolean;
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1882
|
+
* exporting.
|
|
1883
|
+
*/
|
|
1884
|
+
export?: BrowserTelemetry.Export;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
export namespace BrowserTelemetry {
|
|
1888
|
+
/**
|
|
1889
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
1890
|
+
* exporting.
|
|
1891
|
+
*/
|
|
1892
|
+
export interface Export {
|
|
1893
|
+
/**
|
|
1894
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1895
|
+
*/
|
|
1896
|
+
otlp?: Export.Otlp;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
export namespace Export {
|
|
1900
|
+
/**
|
|
1901
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
1902
|
+
*/
|
|
1903
|
+
export interface Otlp {
|
|
1904
|
+
/**
|
|
1905
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1906
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1907
|
+
*/
|
|
1908
|
+
destination?: Otlp.Destination;
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
1912
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
1913
|
+
* (enabled=false with a destination is rejected).
|
|
1914
|
+
*/
|
|
1915
|
+
enabled?: boolean;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
export namespace Otlp {
|
|
1919
|
+
/**
|
|
1920
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
1921
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
1922
|
+
*/
|
|
1923
|
+
export interface Destination {
|
|
1924
|
+
/**
|
|
1925
|
+
* OTLP destination ID
|
|
1926
|
+
*/
|
|
1927
|
+
id?: string;
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* OTLP destination name
|
|
1931
|
+
*/
|
|
1932
|
+
name?: string;
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
}
|
|
1708
1936
|
}
|
|
1709
1937
|
|
|
1710
1938
|
/**
|
|
@@ -1856,6 +2084,63 @@ export namespace ConnectionUpdateParams {
|
|
|
1856
2084
|
* create. enabled=false cannot be combined with browser category settings.
|
|
1857
2085
|
*/
|
|
1858
2086
|
enabled?: boolean;
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
2089
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
2090
|
+
* exporting.
|
|
2091
|
+
*/
|
|
2092
|
+
export?: BrowserTelemetry.Export;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
export namespace BrowserTelemetry {
|
|
2096
|
+
/**
|
|
2097
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
2098
|
+
* exporting.
|
|
2099
|
+
*/
|
|
2100
|
+
export interface Export {
|
|
2101
|
+
/**
|
|
2102
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
2103
|
+
*/
|
|
2104
|
+
otlp?: Export.Otlp;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
export namespace Export {
|
|
2108
|
+
/**
|
|
2109
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
2110
|
+
*/
|
|
2111
|
+
export interface Otlp {
|
|
2112
|
+
/**
|
|
2113
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
2114
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
2115
|
+
*/
|
|
2116
|
+
destination?: Otlp.Destination;
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
2120
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
2121
|
+
* (enabled=false with a destination is rejected).
|
|
2122
|
+
*/
|
|
2123
|
+
enabled?: boolean;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
export namespace Otlp {
|
|
2127
|
+
/**
|
|
2128
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
2129
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
2130
|
+
*/
|
|
2131
|
+
export interface Destination {
|
|
2132
|
+
/**
|
|
2133
|
+
* OTLP destination ID
|
|
2134
|
+
*/
|
|
2135
|
+
id?: string;
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* OTLP destination name
|
|
2139
|
+
*/
|
|
2140
|
+
name?: string;
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
1859
2144
|
}
|
|
1860
2145
|
|
|
1861
2146
|
/**
|
|
@@ -1977,6 +2262,63 @@ export namespace ConnectionLoginParams {
|
|
|
1977
2262
|
* create. enabled=false cannot be combined with browser category settings.
|
|
1978
2263
|
*/
|
|
1979
2264
|
enabled?: boolean;
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
2268
|
+
* exporting.
|
|
2269
|
+
*/
|
|
2270
|
+
export?: BrowserTelemetry.Export;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
export namespace BrowserTelemetry {
|
|
2274
|
+
/**
|
|
2275
|
+
* Where to export this session's captured telemetry. Omit to capture without
|
|
2276
|
+
* exporting.
|
|
2277
|
+
*/
|
|
2278
|
+
export interface Export {
|
|
2279
|
+
/**
|
|
2280
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
2281
|
+
*/
|
|
2282
|
+
otlp?: Export.Otlp;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
export namespace Export {
|
|
2286
|
+
/**
|
|
2287
|
+
* Export captured telemetry over OTLP to one of the org's configured destinations.
|
|
2288
|
+
*/
|
|
2289
|
+
export interface Otlp {
|
|
2290
|
+
/**
|
|
2291
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
2292
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
2293
|
+
*/
|
|
2294
|
+
destination?: Otlp.Destination;
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* Whether to export captured telemetry over OTLP. Setting destination implies
|
|
2298
|
+
* enabled=true, so this only needs to be set explicitly to disable export
|
|
2299
|
+
* (enabled=false with a destination is rejected).
|
|
2300
|
+
*/
|
|
2301
|
+
enabled?: boolean;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
export namespace Otlp {
|
|
2305
|
+
/**
|
|
2306
|
+
* OTLP destination to export this session's captured telemetry to. Provide either
|
|
2307
|
+
* id or name. Requires telemetry capture to be enabled.
|
|
2308
|
+
*/
|
|
2309
|
+
export interface Destination {
|
|
2310
|
+
/**
|
|
2311
|
+
* OTLP destination ID
|
|
2312
|
+
*/
|
|
2313
|
+
id?: string;
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* OTLP destination name
|
|
2317
|
+
*/
|
|
2318
|
+
name?: string;
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
1980
2322
|
}
|
|
1981
2323
|
|
|
1982
2324
|
/**
|