@onkernel/sdk 0.24.0 → 0.26.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 +38 -0
- package/LICENSE +1 -1
- package/README.md +9 -4
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/agents/agents.d.mts +2 -2
- package/resources/agents/agents.d.mts.map +1 -1
- package/resources/agents/agents.d.ts +2 -2
- package/resources/agents/agents.d.ts.map +1 -1
- package/resources/agents/agents.js.map +1 -1
- package/resources/agents/agents.mjs.map +1 -1
- package/resources/agents/auth/auth.d.mts +135 -126
- package/resources/agents/auth/auth.d.mts.map +1 -1
- package/resources/agents/auth/auth.d.ts +135 -126
- package/resources/agents/auth/auth.d.ts.map +1 -1
- package/resources/agents/auth/auth.js +2 -18
- package/resources/agents/auth/auth.js.map +1 -1
- package/resources/agents/auth/auth.mjs +2 -18
- package/resources/agents/auth/auth.mjs.map +1 -1
- package/resources/agents/auth/index.d.mts +2 -2
- package/resources/agents/auth/index.d.mts.map +1 -1
- package/resources/agents/auth/index.d.ts +2 -2
- package/resources/agents/auth/index.d.ts.map +1 -1
- package/resources/agents/auth/index.js.map +1 -1
- package/resources/agents/auth/index.mjs.map +1 -1
- package/resources/agents/auth/invocations.d.mts +28 -33
- package/resources/agents/auth/invocations.d.mts.map +1 -1
- package/resources/agents/auth/invocations.d.ts +28 -33
- package/resources/agents/auth/invocations.d.ts.map +1 -1
- package/resources/agents/auth/invocations.js +5 -20
- package/resources/agents/auth/invocations.js.map +1 -1
- package/resources/agents/auth/invocations.mjs +5 -20
- package/resources/agents/auth/invocations.mjs.map +1 -1
- package/resources/agents/index.d.mts +1 -1
- package/resources/agents/index.d.mts.map +1 -1
- package/resources/agents/index.d.ts +1 -1
- package/resources/agents/index.d.ts.map +1 -1
- package/resources/agents/index.js.map +1 -1
- package/resources/agents/index.mjs.map +1 -1
- package/resources/browsers/browsers.d.mts +84 -3
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +84 -3
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js +13 -0
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs +13 -0
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +2 -2
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +2 -2
- 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/process.d.mts +52 -1
- package/resources/browsers/process.d.mts.map +1 -1
- package/resources/browsers/process.d.ts +52 -1
- package/resources/browsers/process.d.ts.map +1 -1
- package/resources/browsers/process.js +19 -0
- package/resources/browsers/process.js.map +1 -1
- package/resources/browsers/process.mjs +19 -0
- package/resources/browsers/process.mjs.map +1 -1
- package/resources/credentials.d.mts +107 -16
- package/resources/credentials.d.mts.map +1 -1
- package/resources/credentials.d.ts +107 -16
- package/resources/credentials.d.ts.map +1 -1
- package/resources/credentials.js +33 -14
- package/resources/credentials.js.map +1 -1
- package/resources/credentials.mjs +33 -14
- package/resources/credentials.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/proxies.d.mts +153 -1
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +153 -1
- package/resources/proxies.d.ts.map +1 -1
- package/resources/proxies.js +6 -0
- package/resources/proxies.js.map +1 -1
- package/resources/proxies.mjs +6 -0
- package/resources/proxies.mjs.map +1 -1
- package/src/client.ts +8 -0
- package/src/resources/agents/agents.ts +0 -4
- package/src/resources/agents/auth/auth.ts +146 -136
- package/src/resources/agents/auth/index.ts +0 -3
- package/src/resources/agents/auth/invocations.ts +31 -39
- package/src/resources/agents/index.ts +0 -2
- package/src/resources/browsers/browsers.ts +104 -0
- package/src/resources/browsers/index.ts +4 -0
- package/src/resources/browsers/process.ts +68 -0
- package/src/resources/credentials.ts +127 -18
- package/src/resources/index.ts +4 -0
- package/src/resources/proxies.ts +248 -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,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as InvocationsAPI from "./invocations.mjs";
|
|
3
|
-
import { InvocationCreateParams,
|
|
3
|
+
import { InvocationCreateParams, InvocationExchangeParams, InvocationExchangeResponse, InvocationSubmitParams, Invocations } from "./invocations.mjs";
|
|
4
4
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
5
|
import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../../../core/pagination.mjs";
|
|
6
6
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
@@ -15,8 +15,8 @@ export declare class Auth extends APIResource {
|
|
|
15
15
|
* @example
|
|
16
16
|
* ```ts
|
|
17
17
|
* const authAgent = await client.agents.auth.create({
|
|
18
|
+
* domain: 'netflix.com',
|
|
18
19
|
* profile_name: 'user-123',
|
|
19
|
-
* target_domain: 'netflix.com',
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
@@ -32,7 +32,7 @@ export declare class Auth extends APIResource {
|
|
|
32
32
|
*/
|
|
33
33
|
retrieve(id: string, options?: RequestOptions): APIPromise<AuthAgent>;
|
|
34
34
|
/**
|
|
35
|
-
* List auth agents with optional filters for profile_name and
|
|
35
|
+
* List auth agents with optional filters for profile_name and domain.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* ```ts
|
|
@@ -56,105 +56,119 @@ export declare class Auth extends APIResource {
|
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
58
|
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* Triggers automatic re-authentication for an auth agent using stored credentials.
|
|
61
|
-
* Requires the auth agent to have a linked credential, stored selectors, and
|
|
62
|
-
* login_url. Returns immediately with status indicating whether re-auth was
|
|
63
|
-
* started.
|
|
64
|
-
*
|
|
65
|
-
* @example
|
|
66
|
-
* ```ts
|
|
67
|
-
* const reauthResponse = await client.agents.auth.reauth(
|
|
68
|
-
* 'id',
|
|
69
|
-
* );
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
reauth(id: string, options?: RequestOptions): APIPromise<ReauthResponse>;
|
|
73
59
|
}
|
|
74
60
|
export type AuthAgentsOffsetPagination = OffsetPagination<AuthAgent>;
|
|
75
61
|
/**
|
|
76
|
-
* Response from
|
|
62
|
+
* Response from get invocation endpoint
|
|
77
63
|
*/
|
|
78
|
-
export interface
|
|
79
|
-
/**
|
|
80
|
-
* Whether discovery succeeded
|
|
81
|
-
*/
|
|
82
|
-
success: boolean;
|
|
64
|
+
export interface AgentAuthInvocationResponse {
|
|
83
65
|
/**
|
|
84
|
-
*
|
|
66
|
+
* App name (org name at time of invocation creation)
|
|
85
67
|
*/
|
|
86
|
-
|
|
68
|
+
app_name: string;
|
|
87
69
|
/**
|
|
88
|
-
*
|
|
70
|
+
* Domain for authentication
|
|
89
71
|
*/
|
|
90
|
-
|
|
72
|
+
domain: string;
|
|
91
73
|
/**
|
|
92
|
-
*
|
|
74
|
+
* When the handoff code expires
|
|
93
75
|
*/
|
|
94
|
-
|
|
76
|
+
expires_at: string;
|
|
95
77
|
/**
|
|
96
|
-
*
|
|
78
|
+
* Invocation status
|
|
97
79
|
*/
|
|
98
|
-
|
|
80
|
+
status: 'IN_PROGRESS' | 'SUCCESS' | 'EXPIRED' | 'CANCELED' | 'FAILED';
|
|
99
81
|
/**
|
|
100
|
-
*
|
|
82
|
+
* Current step in the invocation workflow
|
|
101
83
|
*/
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Response from get invocation endpoint
|
|
106
|
-
*/
|
|
107
|
-
export interface AgentAuthInvocationResponse {
|
|
84
|
+
step: 'initialized' | 'discovering' | 'awaiting_input' | 'awaiting_external_action' | 'submitting' | 'completed' | 'expired';
|
|
108
85
|
/**
|
|
109
|
-
*
|
|
86
|
+
* The invocation type:
|
|
87
|
+
*
|
|
88
|
+
* - login: First-time authentication
|
|
89
|
+
* - reauth: Re-authentication for previously authenticated agents
|
|
90
|
+
* - auto_login: Legacy type (no longer created, kept for backward compatibility)
|
|
110
91
|
*/
|
|
111
|
-
|
|
92
|
+
type: 'login' | 'auto_login' | 'reauth';
|
|
112
93
|
/**
|
|
113
|
-
*
|
|
94
|
+
* Error message explaining why the invocation failed (present when status=FAILED)
|
|
114
95
|
*/
|
|
115
|
-
|
|
96
|
+
error_message?: string | null;
|
|
116
97
|
/**
|
|
117
|
-
*
|
|
98
|
+
* Instructions for user when external action is required (present when
|
|
99
|
+
* step=awaiting_external_action)
|
|
118
100
|
*/
|
|
119
|
-
|
|
101
|
+
external_action_message?: string | null;
|
|
120
102
|
/**
|
|
121
|
-
*
|
|
103
|
+
* Browser live view URL for debugging the invocation
|
|
122
104
|
*/
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Response from submit endpoint matching SubmitResult schema
|
|
127
|
-
*/
|
|
128
|
-
export interface AgentAuthSubmitResponse {
|
|
105
|
+
live_view_url?: string | null;
|
|
129
106
|
/**
|
|
130
|
-
*
|
|
107
|
+
* MFA method options to choose from (present when step=awaiting_input and MFA
|
|
108
|
+
* selection is required)
|
|
131
109
|
*/
|
|
132
|
-
|
|
110
|
+
mfa_options?: Array<AgentAuthInvocationResponse.MfaOption> | null;
|
|
133
111
|
/**
|
|
134
|
-
*
|
|
135
|
-
* true
|
|
112
|
+
* Fields currently awaiting input (present when step=awaiting_input)
|
|
136
113
|
*/
|
|
137
|
-
|
|
114
|
+
pending_fields?: Array<DiscoveredField> | null;
|
|
138
115
|
/**
|
|
139
|
-
*
|
|
116
|
+
* SSO buttons available on the page (present when step=awaiting_input)
|
|
140
117
|
*/
|
|
141
|
-
|
|
118
|
+
pending_sso_buttons?: Array<AgentAuthInvocationResponse.PendingSSOButton> | null;
|
|
142
119
|
/**
|
|
143
|
-
*
|
|
120
|
+
* Names of fields that have been submitted (present when step=submitting or later)
|
|
144
121
|
*/
|
|
145
|
-
|
|
122
|
+
submitted_fields?: Array<string> | null;
|
|
123
|
+
}
|
|
124
|
+
export declare namespace AgentAuthInvocationResponse {
|
|
146
125
|
/**
|
|
147
|
-
*
|
|
126
|
+
* An MFA method option for verification
|
|
148
127
|
*/
|
|
149
|
-
|
|
128
|
+
interface MfaOption {
|
|
129
|
+
/**
|
|
130
|
+
* The visible option text
|
|
131
|
+
*/
|
|
132
|
+
label: string;
|
|
133
|
+
/**
|
|
134
|
+
* The MFA delivery method type
|
|
135
|
+
*/
|
|
136
|
+
type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'security_key';
|
|
137
|
+
/**
|
|
138
|
+
* Additional instructions from the site
|
|
139
|
+
*/
|
|
140
|
+
description?: string | null;
|
|
141
|
+
/**
|
|
142
|
+
* The masked destination (phone/email) if shown
|
|
143
|
+
*/
|
|
144
|
+
target?: string | null;
|
|
145
|
+
}
|
|
150
146
|
/**
|
|
151
|
-
*
|
|
147
|
+
* An SSO button for signing in with an external identity provider
|
|
152
148
|
*/
|
|
153
|
-
|
|
149
|
+
interface PendingSSOButton {
|
|
150
|
+
/**
|
|
151
|
+
* Visible button text
|
|
152
|
+
*/
|
|
153
|
+
label: string;
|
|
154
|
+
/**
|
|
155
|
+
* Identity provider name
|
|
156
|
+
*/
|
|
157
|
+
provider: string;
|
|
158
|
+
/**
|
|
159
|
+
* XPath selector for the button
|
|
160
|
+
*/
|
|
161
|
+
selector: string;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Response from submit endpoint - returns immediately after submission is accepted
|
|
166
|
+
*/
|
|
167
|
+
export interface AgentAuthSubmitResponse {
|
|
154
168
|
/**
|
|
155
|
-
*
|
|
169
|
+
* Whether the submission was accepted for processing
|
|
156
170
|
*/
|
|
157
|
-
|
|
171
|
+
accepted: boolean;
|
|
158
172
|
}
|
|
159
173
|
/**
|
|
160
174
|
* An auth agent that manages authentication for a specific domain and profile
|
|
@@ -177,6 +191,12 @@ export interface AuthAgent {
|
|
|
177
191
|
* Current authentication status of the managed profile
|
|
178
192
|
*/
|
|
179
193
|
status: 'AUTHENTICATED' | 'NEEDS_AUTH';
|
|
194
|
+
/**
|
|
195
|
+
* Additional domains that are valid for this auth agent's authentication flow
|
|
196
|
+
* (besides the primary domain). Useful when login pages redirect to different
|
|
197
|
+
* domains.
|
|
198
|
+
*/
|
|
199
|
+
allowed_domains?: Array<string>;
|
|
180
200
|
/**
|
|
181
201
|
* Whether automatic re-authentication is possible (has credential_id, selectors,
|
|
182
202
|
* and login_url)
|
|
@@ -198,19 +218,30 @@ export interface AuthAgent {
|
|
|
198
218
|
* When the last authentication check was performed
|
|
199
219
|
*/
|
|
200
220
|
last_auth_check_at?: string;
|
|
221
|
+
/**
|
|
222
|
+
* URL where the browser landed after successful login. Query parameters and
|
|
223
|
+
* fragments are stripped for privacy.
|
|
224
|
+
*/
|
|
225
|
+
post_login_url?: string;
|
|
201
226
|
}
|
|
202
227
|
/**
|
|
203
228
|
* Request to create or find an auth agent
|
|
204
229
|
*/
|
|
205
230
|
export interface AuthAgentCreateRequest {
|
|
231
|
+
/**
|
|
232
|
+
* Domain for authentication
|
|
233
|
+
*/
|
|
234
|
+
domain: string;
|
|
206
235
|
/**
|
|
207
236
|
* Name of the profile to use for this auth agent
|
|
208
237
|
*/
|
|
209
238
|
profile_name: string;
|
|
210
239
|
/**
|
|
211
|
-
*
|
|
240
|
+
* Additional domains that are valid for this auth agent's authentication flow
|
|
241
|
+
* (besides the primary domain). Useful when login pages redirect to different
|
|
242
|
+
* domains.
|
|
212
243
|
*/
|
|
213
|
-
|
|
244
|
+
allowed_domains?: Array<string>;
|
|
214
245
|
/**
|
|
215
246
|
* Optional name of an existing credential to use for this auth agent. If provided,
|
|
216
247
|
* the credential will be linked to the agent and its values will be used to
|
|
@@ -254,44 +285,33 @@ export interface AuthAgentInvocationCreateRequest {
|
|
|
254
285
|
save_credential_as?: string;
|
|
255
286
|
}
|
|
256
287
|
/**
|
|
257
|
-
* Response
|
|
288
|
+
* Response from creating an invocation. Always returns an invocation_id.
|
|
258
289
|
*/
|
|
259
|
-
export
|
|
260
|
-
export declare namespace AuthAgentInvocationCreateResponse {
|
|
290
|
+
export interface AuthAgentInvocationCreateResponse {
|
|
261
291
|
/**
|
|
262
|
-
*
|
|
292
|
+
* When the handoff code expires.
|
|
263
293
|
*/
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Indicates the agent is already authenticated and no invocation was created.
|
|
267
|
-
*/
|
|
268
|
-
status: 'already_authenticated';
|
|
269
|
-
}
|
|
294
|
+
expires_at: string;
|
|
270
295
|
/**
|
|
271
|
-
*
|
|
296
|
+
* One-time code for handoff.
|
|
272
297
|
*/
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Indicates an invocation was created.
|
|
292
|
-
*/
|
|
293
|
-
status: 'invocation_created';
|
|
294
|
-
}
|
|
298
|
+
handoff_code: string;
|
|
299
|
+
/**
|
|
300
|
+
* URL to redirect user to.
|
|
301
|
+
*/
|
|
302
|
+
hosted_url: string;
|
|
303
|
+
/**
|
|
304
|
+
* Unique identifier for the invocation.
|
|
305
|
+
*/
|
|
306
|
+
invocation_id: string;
|
|
307
|
+
/**
|
|
308
|
+
* The invocation type:
|
|
309
|
+
*
|
|
310
|
+
* - login: First-time authentication
|
|
311
|
+
* - reauth: Re-authentication for previously authenticated agents
|
|
312
|
+
* - auto_login: Legacy type (no longer created, kept for backward compatibility)
|
|
313
|
+
*/
|
|
314
|
+
type: 'login' | 'auto_login' | 'reauth';
|
|
295
315
|
}
|
|
296
316
|
/**
|
|
297
317
|
* A discovered form field
|
|
@@ -312,7 +332,7 @@ export interface DiscoveredField {
|
|
|
312
332
|
/**
|
|
313
333
|
* Field type
|
|
314
334
|
*/
|
|
315
|
-
type: 'text' | 'email' | 'password' | 'tel' | 'number' | 'url' | 'code';
|
|
335
|
+
type: 'text' | 'email' | 'password' | 'tel' | 'number' | 'url' | 'code' | 'totp';
|
|
316
336
|
/**
|
|
317
337
|
* Field placeholder
|
|
318
338
|
*/
|
|
@@ -322,32 +342,21 @@ export interface DiscoveredField {
|
|
|
322
342
|
*/
|
|
323
343
|
required?: boolean;
|
|
324
344
|
}
|
|
325
|
-
|
|
326
|
-
* Response from triggering re-authentication
|
|
327
|
-
*/
|
|
328
|
-
export interface ReauthResponse {
|
|
329
|
-
/**
|
|
330
|
-
* Result of the re-authentication attempt
|
|
331
|
-
*/
|
|
332
|
-
status: 'reauth_started' | 'already_authenticated' | 'cannot_reauth';
|
|
333
|
-
/**
|
|
334
|
-
* ID of the re-auth invocation if one was created
|
|
335
|
-
*/
|
|
336
|
-
invocation_id?: string;
|
|
345
|
+
export interface AuthCreateParams {
|
|
337
346
|
/**
|
|
338
|
-
*
|
|
347
|
+
* Domain for authentication
|
|
339
348
|
*/
|
|
340
|
-
|
|
341
|
-
}
|
|
342
|
-
export interface AuthCreateParams {
|
|
349
|
+
domain: string;
|
|
343
350
|
/**
|
|
344
351
|
* Name of the profile to use for this auth agent
|
|
345
352
|
*/
|
|
346
353
|
profile_name: string;
|
|
347
354
|
/**
|
|
348
|
-
*
|
|
355
|
+
* Additional domains that are valid for this auth agent's authentication flow
|
|
356
|
+
* (besides the primary domain). Useful when login pages redirect to different
|
|
357
|
+
* domains.
|
|
349
358
|
*/
|
|
350
|
-
|
|
359
|
+
allowed_domains?: Array<string>;
|
|
351
360
|
/**
|
|
352
361
|
* Optional name of an existing credential to use for this auth agent. If provided,
|
|
353
362
|
* the credential will be linked to the agent and its values will be used to
|
|
@@ -377,16 +386,16 @@ export declare namespace AuthCreateParams {
|
|
|
377
386
|
}
|
|
378
387
|
export interface AuthListParams extends OffsetPaginationParams {
|
|
379
388
|
/**
|
|
380
|
-
* Filter by
|
|
389
|
+
* Filter by domain
|
|
381
390
|
*/
|
|
382
|
-
|
|
391
|
+
domain?: string;
|
|
383
392
|
/**
|
|
384
|
-
* Filter by
|
|
393
|
+
* Filter by profile name
|
|
385
394
|
*/
|
|
386
|
-
|
|
395
|
+
profile_name?: string;
|
|
387
396
|
}
|
|
388
397
|
export declare namespace Auth {
|
|
389
|
-
export { type
|
|
390
|
-
export { Invocations as Invocations, type InvocationExchangeResponse as InvocationExchangeResponse, type InvocationCreateParams as InvocationCreateParams, type
|
|
398
|
+
export { type AgentAuthInvocationResponse as AgentAuthInvocationResponse, type AgentAuthSubmitResponse as AgentAuthSubmitResponse, type AuthAgent as AuthAgent, type AuthAgentCreateRequest as AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest as AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse as AuthAgentInvocationCreateResponse, type DiscoveredField as DiscoveredField, type AuthAgentsOffsetPagination as AuthAgentsOffsetPagination, type AuthCreateParams as AuthCreateParams, type AuthListParams as AuthListParams, };
|
|
399
|
+
export { Invocations as Invocations, type InvocationExchangeResponse as InvocationExchangeResponse, type InvocationCreateParams as InvocationCreateParams, type InvocationExchangeParams as InvocationExchangeParams, type InvocationSubmitParams as InvocationSubmitParams, };
|
|
391
400
|
}
|
|
392
401
|
//# sourceMappingURL=auth.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,wBAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"auth.d.mts","sourceRoot":"","sources":["../../../src/resources/agents/auth/auth.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EACL,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACZ;OACM,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAE9D,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAI/E;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAIrE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,0BAA0B,EAAE,SAAS,CAAC;IAIrD;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAM/D;AAED,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,QAAQ,EAAE,MAAM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