@kya-os/contracts 1.6.2-canary.0 → 1.6.3-canary.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/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/endpoints.d.ts +3 -0
- package/dist/agentshield-api/endpoints.js +3 -0
- package/dist/agentshield-api/index.d.ts +2 -2
- package/dist/agentshield-api/index.js +7 -1
- package/dist/agentshield-api/schemas.d.ts +284 -93
- package/dist/agentshield-api/schemas.js +52 -5
- package/dist/agentshield-api/types.d.ts +69 -4
- package/dist/audit/index.d.ts +193 -0
- package/dist/audit/index.js +100 -0
- package/dist/config/identity.d.ts +214 -2
- package/dist/config/identity.js +29 -0
- package/dist/config/index.d.ts +2 -1
- package/dist/config/tool-context.d.ts +34 -0
- package/dist/config/tool-context.js +13 -0
- package/dist/consent/schemas.d.ts +166 -71
- package/dist/consent/schemas.js +39 -1
- package/dist/dashboard-config/index.d.ts +2 -2
- package/dist/dashboard-config/index.js +4 -1
- package/dist/dashboard-config/schemas.d.ts +6227 -1536
- package/dist/dashboard-config/schemas.js +23 -1
- package/dist/dashboard-config/types.d.ts +28 -1
- package/dist/handshake.d.ts +14 -14
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/tool-protection/index.d.ts +482 -6
- package/dist/tool-protection/index.js +89 -2
- package/dist/verifier/index.d.ts +1 -0
- package/dist/verifier/index.js +18 -0
- package/dist/well-known/index.d.ts +2 -2
- package/package.json +66 -119
|
@@ -115,26 +115,26 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
did: string;
|
|
117
117
|
kid: string;
|
|
118
|
-
nonce: string;
|
|
119
|
-
audience: string;
|
|
120
118
|
sessionId: string;
|
|
121
|
-
|
|
119
|
+
audience: string;
|
|
122
120
|
requestHash: string;
|
|
123
121
|
responseHash: string;
|
|
124
|
-
|
|
122
|
+
nonce: string;
|
|
123
|
+
ts: number;
|
|
125
124
|
scopeId?: string | undefined;
|
|
125
|
+
clientDid?: string | undefined;
|
|
126
126
|
delegationRef?: string | undefined;
|
|
127
127
|
}, {
|
|
128
128
|
did: string;
|
|
129
129
|
kid: string;
|
|
130
|
-
nonce: string;
|
|
131
|
-
audience: string;
|
|
132
130
|
sessionId: string;
|
|
133
|
-
|
|
131
|
+
audience: string;
|
|
134
132
|
requestHash: string;
|
|
135
133
|
responseHash: string;
|
|
136
|
-
|
|
134
|
+
nonce: string;
|
|
135
|
+
ts: number;
|
|
137
136
|
scopeId?: string | undefined;
|
|
137
|
+
clientDid?: string | undefined;
|
|
138
138
|
delegationRef?: string | undefined;
|
|
139
139
|
}>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -142,14 +142,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
142
142
|
meta: {
|
|
143
143
|
did: string;
|
|
144
144
|
kid: string;
|
|
145
|
-
nonce: string;
|
|
146
|
-
audience: string;
|
|
147
145
|
sessionId: string;
|
|
148
|
-
|
|
146
|
+
audience: string;
|
|
149
147
|
requestHash: string;
|
|
150
148
|
responseHash: string;
|
|
151
|
-
|
|
149
|
+
nonce: string;
|
|
150
|
+
ts: number;
|
|
152
151
|
scopeId?: string | undefined;
|
|
152
|
+
clientDid?: string | undefined;
|
|
153
153
|
delegationRef?: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
}, {
|
|
@@ -157,14 +157,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
157
157
|
meta: {
|
|
158
158
|
did: string;
|
|
159
159
|
kid: string;
|
|
160
|
-
nonce: string;
|
|
161
|
-
audience: string;
|
|
162
160
|
sessionId: string;
|
|
163
|
-
|
|
161
|
+
audience: string;
|
|
164
162
|
requestHash: string;
|
|
165
163
|
responseHash: string;
|
|
166
|
-
|
|
164
|
+
nonce: string;
|
|
165
|
+
ts: number;
|
|
167
166
|
scopeId?: string | undefined;
|
|
167
|
+
clientDid?: string | undefined;
|
|
168
168
|
delegationRef?: string | undefined;
|
|
169
169
|
};
|
|
170
170
|
}>, "many">;
|
|
@@ -211,33 +211,33 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
211
211
|
identifier: string;
|
|
212
212
|
}>>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
timestamp: number;
|
|
215
|
-
agentDid: string;
|
|
216
|
-
sessionId: string;
|
|
217
214
|
scopes: string[];
|
|
215
|
+
sessionId: string;
|
|
218
216
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
217
|
+
timestamp: number;
|
|
218
|
+
agentDid: string;
|
|
219
219
|
targetTools: string[];
|
|
220
220
|
projectId: string;
|
|
221
221
|
userDid?: string | undefined;
|
|
222
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
223
222
|
delegationId?: string | undefined;
|
|
224
223
|
termsAccepted?: boolean | undefined;
|
|
224
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
225
225
|
oauthIdentity?: {
|
|
226
226
|
provider: string;
|
|
227
227
|
identifier: string;
|
|
228
228
|
} | undefined;
|
|
229
229
|
}, {
|
|
230
|
-
timestamp: number;
|
|
231
|
-
agentDid: string;
|
|
232
|
-
sessionId: string;
|
|
233
230
|
scopes: string[];
|
|
231
|
+
sessionId: string;
|
|
234
232
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
233
|
+
timestamp: number;
|
|
234
|
+
agentDid: string;
|
|
235
235
|
targetTools: string[];
|
|
236
236
|
projectId: string;
|
|
237
237
|
userDid?: string | undefined;
|
|
238
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
239
238
|
delegationId?: string | undefined;
|
|
240
239
|
termsAccepted?: boolean | undefined;
|
|
240
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
241
241
|
oauthIdentity?: {
|
|
242
242
|
provider: string;
|
|
243
243
|
identifier: string;
|
|
@@ -252,24 +252,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
252
252
|
result?: unknown;
|
|
253
253
|
userIdentifier?: string | undefined;
|
|
254
254
|
}[] | undefined;
|
|
255
|
-
mcpServerUrl?: string | undefined;
|
|
256
255
|
consentEvents?: {
|
|
257
|
-
timestamp: number;
|
|
258
|
-
agentDid: string;
|
|
259
|
-
sessionId: string;
|
|
260
256
|
scopes: string[];
|
|
257
|
+
sessionId: string;
|
|
261
258
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
259
|
+
timestamp: number;
|
|
260
|
+
agentDid: string;
|
|
262
261
|
targetTools: string[];
|
|
263
262
|
projectId: string;
|
|
264
263
|
userDid?: string | undefined;
|
|
265
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
266
264
|
delegationId?: string | undefined;
|
|
267
265
|
termsAccepted?: boolean | undefined;
|
|
266
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
268
267
|
oauthIdentity?: {
|
|
269
268
|
provider: string;
|
|
270
269
|
identifier: string;
|
|
271
270
|
} | undefined;
|
|
272
271
|
}[] | undefined;
|
|
272
|
+
mcpServerUrl?: string | undefined;
|
|
273
273
|
}, {
|
|
274
274
|
toolCalls?: {
|
|
275
275
|
scopeId: string;
|
|
@@ -278,24 +278,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
278
278
|
result?: unknown;
|
|
279
279
|
userIdentifier?: string | undefined;
|
|
280
280
|
}[] | undefined;
|
|
281
|
-
mcpServerUrl?: string | undefined;
|
|
282
281
|
consentEvents?: {
|
|
283
|
-
timestamp: number;
|
|
284
|
-
agentDid: string;
|
|
285
|
-
sessionId: string;
|
|
286
282
|
scopes: string[];
|
|
283
|
+
sessionId: string;
|
|
287
284
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
285
|
+
timestamp: number;
|
|
286
|
+
agentDid: string;
|
|
288
287
|
targetTools: string[];
|
|
289
288
|
projectId: string;
|
|
290
289
|
userDid?: string | undefined;
|
|
291
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
292
290
|
delegationId?: string | undefined;
|
|
293
291
|
termsAccepted?: boolean | undefined;
|
|
292
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
294
293
|
oauthIdentity?: {
|
|
295
294
|
provider: string;
|
|
296
295
|
identifier: string;
|
|
297
296
|
} | undefined;
|
|
298
297
|
}[] | undefined;
|
|
298
|
+
mcpServerUrl?: string | undefined;
|
|
299
299
|
}>>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
301
|
session_id: string;
|
|
@@ -304,14 +304,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
304
304
|
meta: {
|
|
305
305
|
did: string;
|
|
306
306
|
kid: string;
|
|
307
|
-
nonce: string;
|
|
308
|
-
audience: string;
|
|
309
307
|
sessionId: string;
|
|
310
|
-
|
|
308
|
+
audience: string;
|
|
311
309
|
requestHash: string;
|
|
312
310
|
responseHash: string;
|
|
313
|
-
|
|
311
|
+
nonce: string;
|
|
312
|
+
ts: number;
|
|
314
313
|
scopeId?: string | undefined;
|
|
314
|
+
clientDid?: string | undefined;
|
|
315
315
|
delegationRef?: string | undefined;
|
|
316
316
|
};
|
|
317
317
|
}[];
|
|
@@ -324,24 +324,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
324
324
|
result?: unknown;
|
|
325
325
|
userIdentifier?: string | undefined;
|
|
326
326
|
}[] | undefined;
|
|
327
|
-
mcpServerUrl?: string | undefined;
|
|
328
327
|
consentEvents?: {
|
|
329
|
-
timestamp: number;
|
|
330
|
-
agentDid: string;
|
|
331
|
-
sessionId: string;
|
|
332
328
|
scopes: string[];
|
|
329
|
+
sessionId: string;
|
|
333
330
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
331
|
+
timestamp: number;
|
|
332
|
+
agentDid: string;
|
|
334
333
|
targetTools: string[];
|
|
335
334
|
projectId: string;
|
|
336
335
|
userDid?: string | undefined;
|
|
337
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
338
336
|
delegationId?: string | undefined;
|
|
339
337
|
termsAccepted?: boolean | undefined;
|
|
338
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
340
339
|
oauthIdentity?: {
|
|
341
340
|
provider: string;
|
|
342
341
|
identifier: string;
|
|
343
342
|
} | undefined;
|
|
344
343
|
}[] | undefined;
|
|
344
|
+
mcpServerUrl?: string | undefined;
|
|
345
345
|
} | undefined;
|
|
346
346
|
}, {
|
|
347
347
|
session_id: string;
|
|
@@ -350,14 +350,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
350
350
|
meta: {
|
|
351
351
|
did: string;
|
|
352
352
|
kid: string;
|
|
353
|
-
nonce: string;
|
|
354
|
-
audience: string;
|
|
355
353
|
sessionId: string;
|
|
356
|
-
|
|
354
|
+
audience: string;
|
|
357
355
|
requestHash: string;
|
|
358
356
|
responseHash: string;
|
|
359
|
-
|
|
357
|
+
nonce: string;
|
|
358
|
+
ts: number;
|
|
360
359
|
scopeId?: string | undefined;
|
|
360
|
+
clientDid?: string | undefined;
|
|
361
361
|
delegationRef?: string | undefined;
|
|
362
362
|
};
|
|
363
363
|
}[];
|
|
@@ -370,24 +370,24 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
370
370
|
result?: unknown;
|
|
371
371
|
userIdentifier?: string | undefined;
|
|
372
372
|
}[] | undefined;
|
|
373
|
-
mcpServerUrl?: string | undefined;
|
|
374
373
|
consentEvents?: {
|
|
375
|
-
timestamp: number;
|
|
376
|
-
agentDid: string;
|
|
377
|
-
sessionId: string;
|
|
378
374
|
scopes: string[];
|
|
375
|
+
sessionId: string;
|
|
379
376
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
377
|
+
timestamp: number;
|
|
378
|
+
agentDid: string;
|
|
380
379
|
targetTools: string[];
|
|
381
380
|
projectId: string;
|
|
382
381
|
userDid?: string | undefined;
|
|
383
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
384
382
|
delegationId?: string | undefined;
|
|
385
383
|
termsAccepted?: boolean | undefined;
|
|
384
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
386
385
|
oauthIdentity?: {
|
|
387
386
|
provider: string;
|
|
388
387
|
identifier: string;
|
|
389
388
|
} | undefined;
|
|
390
389
|
}[] | undefined;
|
|
390
|
+
mcpServerUrl?: string | undefined;
|
|
391
391
|
} | undefined;
|
|
392
392
|
}>;
|
|
393
393
|
/**
|
|
@@ -397,7 +397,7 @@ export declare const proofSubmissionResponseSchema: z.ZodObject<{
|
|
|
397
397
|
success: z.ZodBoolean;
|
|
398
398
|
accepted: z.ZodNumber;
|
|
399
399
|
rejected: z.ZodNumber;
|
|
400
|
-
outcomes: z.ZodRecord<z.ZodString, z.ZodNumber
|
|
400
|
+
outcomes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
401
401
|
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
402
402
|
proof_index: z.ZodNumber;
|
|
403
403
|
error: z.ZodObject<{
|
|
@@ -432,7 +432,7 @@ export declare const proofSubmissionResponseSchema: z.ZodObject<{
|
|
|
432
432
|
success: boolean;
|
|
433
433
|
accepted: number;
|
|
434
434
|
rejected: number;
|
|
435
|
-
outcomes
|
|
435
|
+
outcomes?: Record<string, number> | undefined;
|
|
436
436
|
errors?: {
|
|
437
437
|
error: {
|
|
438
438
|
code: string;
|
|
@@ -445,7 +445,7 @@ export declare const proofSubmissionResponseSchema: z.ZodObject<{
|
|
|
445
445
|
success: boolean;
|
|
446
446
|
accepted: number;
|
|
447
447
|
rejected: number;
|
|
448
|
-
outcomes
|
|
448
|
+
outcomes?: Record<string, number> | undefined;
|
|
449
449
|
errors?: {
|
|
450
450
|
error: {
|
|
451
451
|
code: string;
|
|
@@ -487,8 +487,8 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
487
487
|
* Delegation verification request schema
|
|
488
488
|
*/
|
|
489
489
|
export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
490
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
491
490
|
scopes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
491
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
492
492
|
agent_did: z.ZodString;
|
|
493
493
|
credential_jwt: z.ZodOptional<z.ZodString>;
|
|
494
494
|
delegation_token: z.ZodOptional<z.ZodString>;
|
|
@@ -507,8 +507,8 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
507
507
|
}>>;
|
|
508
508
|
}, "strip", z.ZodTypeAny, {
|
|
509
509
|
agent_did: string;
|
|
510
|
-
timestamp?: number | undefined;
|
|
511
510
|
scopes?: string[] | undefined;
|
|
511
|
+
timestamp?: number | undefined;
|
|
512
512
|
credential_jwt?: string | undefined;
|
|
513
513
|
delegation_token?: string | undefined;
|
|
514
514
|
client_info?: {
|
|
@@ -518,8 +518,8 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
518
518
|
} | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
agent_did: string;
|
|
521
|
-
timestamp?: number | undefined;
|
|
522
521
|
scopes?: string[] | undefined;
|
|
522
|
+
timestamp?: number | undefined;
|
|
523
523
|
credential_jwt?: string | undefined;
|
|
524
524
|
delegation_token?: string | undefined;
|
|
525
525
|
client_info?: {
|
|
@@ -1812,7 +1812,6 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1812
1812
|
details?: Record<string, unknown> | undefined;
|
|
1813
1813
|
} | undefined;
|
|
1814
1814
|
delegation_id?: string | undefined;
|
|
1815
|
-
reason?: string | undefined;
|
|
1816
1815
|
delegation?: z.objectOutputType<{
|
|
1817
1816
|
id: z.ZodString;
|
|
1818
1817
|
issuerDid: z.ZodString;
|
|
@@ -2233,6 +2232,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2233
2232
|
user_id?: string | undefined;
|
|
2234
2233
|
user_identifier?: string | undefined;
|
|
2235
2234
|
} | undefined;
|
|
2235
|
+
reason?: string | undefined;
|
|
2236
2236
|
}, {
|
|
2237
2237
|
valid: boolean;
|
|
2238
2238
|
error?: {
|
|
@@ -2241,7 +2241,6 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2241
2241
|
details?: Record<string, unknown> | undefined;
|
|
2242
2242
|
} | undefined;
|
|
2243
2243
|
delegation_id?: string | undefined;
|
|
2244
|
-
reason?: string | undefined;
|
|
2245
2244
|
delegation?: z.objectInputType<{
|
|
2246
2245
|
id: z.ZodString;
|
|
2247
2246
|
issuerDid: z.ZodString;
|
|
@@ -2662,6 +2661,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2662
2661
|
user_id?: string | undefined;
|
|
2663
2662
|
user_identifier?: string | undefined;
|
|
2664
2663
|
} | undefined;
|
|
2664
|
+
reason?: string | undefined;
|
|
2665
2665
|
}>;
|
|
2666
2666
|
/**
|
|
2667
2667
|
* Wrapped verification response schema
|
|
@@ -3949,7 +3949,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3949
3949
|
details?: Record<string, unknown> | undefined;
|
|
3950
3950
|
} | undefined;
|
|
3951
3951
|
delegation_id?: string | undefined;
|
|
3952
|
-
reason?: string | undefined;
|
|
3953
3952
|
delegation?: z.objectOutputType<{
|
|
3954
3953
|
id: z.ZodString;
|
|
3955
3954
|
issuerDid: z.ZodString;
|
|
@@ -4370,6 +4369,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4370
4369
|
user_id?: string | undefined;
|
|
4371
4370
|
user_identifier?: string | undefined;
|
|
4372
4371
|
} | undefined;
|
|
4372
|
+
reason?: string | undefined;
|
|
4373
4373
|
}, {
|
|
4374
4374
|
valid: boolean;
|
|
4375
4375
|
error?: {
|
|
@@ -4378,7 +4378,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4378
4378
|
details?: Record<string, unknown> | undefined;
|
|
4379
4379
|
} | undefined;
|
|
4380
4380
|
delegation_id?: string | undefined;
|
|
4381
|
-
reason?: string | undefined;
|
|
4382
4381
|
delegation?: z.objectInputType<{
|
|
4383
4382
|
id: z.ZodString;
|
|
4384
4383
|
issuerDid: z.ZodString;
|
|
@@ -4799,6 +4798,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4799
4798
|
user_id?: string | undefined;
|
|
4800
4799
|
user_identifier?: string | undefined;
|
|
4801
4800
|
} | undefined;
|
|
4801
|
+
reason?: string | undefined;
|
|
4802
4802
|
}>;
|
|
4803
4803
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
4804
4804
|
requestId: z.ZodString;
|
|
@@ -4820,7 +4820,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4820
4820
|
details?: Record<string, unknown> | undefined;
|
|
4821
4821
|
} | undefined;
|
|
4822
4822
|
delegation_id?: string | undefined;
|
|
4823
|
-
reason?: string | undefined;
|
|
4824
4823
|
delegation?: z.objectOutputType<{
|
|
4825
4824
|
id: z.ZodString;
|
|
4826
4825
|
issuerDid: z.ZodString;
|
|
@@ -5241,6 +5240,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5241
5240
|
user_id?: string | undefined;
|
|
5242
5241
|
user_identifier?: string | undefined;
|
|
5243
5242
|
} | undefined;
|
|
5243
|
+
reason?: string | undefined;
|
|
5244
5244
|
};
|
|
5245
5245
|
metadata?: {
|
|
5246
5246
|
timestamp: string;
|
|
@@ -5256,7 +5256,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5256
5256
|
details?: Record<string, unknown> | undefined;
|
|
5257
5257
|
} | undefined;
|
|
5258
5258
|
delegation_id?: string | undefined;
|
|
5259
|
-
reason?: string | undefined;
|
|
5260
5259
|
delegation?: z.objectInputType<{
|
|
5261
5260
|
id: z.ZodString;
|
|
5262
5261
|
issuerDid: z.ZodString;
|
|
@@ -5677,6 +5676,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5677
5676
|
user_id?: string | undefined;
|
|
5678
5677
|
user_identifier?: string | undefined;
|
|
5679
5678
|
} | undefined;
|
|
5679
|
+
reason?: string | undefined;
|
|
5680
5680
|
};
|
|
5681
5681
|
metadata?: {
|
|
5682
5682
|
timestamp: string;
|
|
@@ -5910,7 +5910,7 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
5910
5910
|
* Create delegation request schema
|
|
5911
5911
|
*
|
|
5912
5912
|
* Note: AgentShield API accepts a simplified format, not the full DelegationRecord.
|
|
5913
|
-
* The API accepts: agent_did, scopes, expires_in_days, expires_at, session_id, project_id, custom_fields
|
|
5913
|
+
* The API accepts: agent_did, scopes, expires_in_days, expires_at, session_id, project_id, user_identifier, custom_fields
|
|
5914
5914
|
*
|
|
5915
5915
|
* IMPORTANT: expires_in_days and expires_at are mutually exclusive - use one or the other, not both.
|
|
5916
5916
|
*/
|
|
@@ -5921,6 +5921,7 @@ export declare const createDelegationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5921
5921
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
5922
5922
|
session_id: z.ZodOptional<z.ZodString>;
|
|
5923
5923
|
project_id: z.ZodOptional<z.ZodString>;
|
|
5924
|
+
user_identifier: z.ZodOptional<z.ZodString>;
|
|
5924
5925
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5925
5926
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5926
5927
|
agent_did: z.ZodString;
|
|
@@ -5929,6 +5930,7 @@ export declare const createDelegationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5929
5930
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
5930
5931
|
session_id: z.ZodOptional<z.ZodString>;
|
|
5931
5932
|
project_id: z.ZodOptional<z.ZodString>;
|
|
5933
|
+
user_identifier: z.ZodOptional<z.ZodString>;
|
|
5932
5934
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5933
5935
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5934
5936
|
agent_did: z.ZodString;
|
|
@@ -5937,6 +5939,7 @@ export declare const createDelegationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5937
5939
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
5938
5940
|
session_id: z.ZodOptional<z.ZodString>;
|
|
5939
5941
|
project_id: z.ZodOptional<z.ZodString>;
|
|
5942
|
+
user_identifier: z.ZodOptional<z.ZodString>;
|
|
5940
5943
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5941
5944
|
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
5942
5945
|
agent_did: z.ZodString;
|
|
@@ -5945,6 +5948,7 @@ export declare const createDelegationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5945
5948
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
5946
5949
|
session_id: z.ZodOptional<z.ZodString>;
|
|
5947
5950
|
project_id: z.ZodOptional<z.ZodString>;
|
|
5951
|
+
user_identifier: z.ZodOptional<z.ZodString>;
|
|
5948
5952
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5949
5953
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5950
5954
|
agent_did: z.ZodString;
|
|
@@ -5953,6 +5957,7 @@ export declare const createDelegationRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5953
5957
|
expires_at: z.ZodOptional<z.ZodString>;
|
|
5954
5958
|
session_id: z.ZodOptional<z.ZodString>;
|
|
5955
5959
|
project_id: z.ZodOptional<z.ZodString>;
|
|
5960
|
+
user_identifier: z.ZodOptional<z.ZodString>;
|
|
5956
5961
|
custom_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5957
5962
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5958
5963
|
/**
|
|
@@ -5970,30 +5975,30 @@ export declare const createDelegationResponseSchema: z.ZodObject<{
|
|
|
5970
5975
|
user_id: z.ZodOptional<z.ZodString>;
|
|
5971
5976
|
user_identifier: z.ZodOptional<z.ZodString>;
|
|
5972
5977
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
5973
|
-
status: z.
|
|
5978
|
+
status: z.ZodEnum<["active", "expired", "revoked"]>;
|
|
5974
5979
|
issued_at: z.ZodString;
|
|
5975
|
-
expires_at: z.ZodOptional<z.ZodString
|
|
5980
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5976
5981
|
created_at: z.ZodString;
|
|
5977
5982
|
}, "strip", z.ZodTypeAny, {
|
|
5978
|
-
status: "active";
|
|
5979
|
-
delegation_id: string;
|
|
5983
|
+
status: "active" | "revoked" | "expired";
|
|
5980
5984
|
scopes: string[];
|
|
5985
|
+
delegation_id: string;
|
|
5981
5986
|
agent_did: string;
|
|
5982
5987
|
issued_at: string;
|
|
5983
5988
|
created_at: string;
|
|
5984
5989
|
user_id?: string | undefined;
|
|
5985
5990
|
user_identifier?: string | undefined;
|
|
5986
|
-
expires_at?: string | undefined;
|
|
5991
|
+
expires_at?: string | null | undefined;
|
|
5987
5992
|
}, {
|
|
5988
|
-
status: "active";
|
|
5989
|
-
delegation_id: string;
|
|
5993
|
+
status: "active" | "revoked" | "expired";
|
|
5990
5994
|
scopes: string[];
|
|
5995
|
+
delegation_id: string;
|
|
5991
5996
|
agent_did: string;
|
|
5992
5997
|
issued_at: string;
|
|
5993
5998
|
created_at: string;
|
|
5994
5999
|
user_id?: string | undefined;
|
|
5995
6000
|
user_identifier?: string | undefined;
|
|
5996
|
-
expires_at?: string | undefined;
|
|
6001
|
+
expires_at?: string | null | undefined;
|
|
5997
6002
|
}>;
|
|
5998
6003
|
/**
|
|
5999
6004
|
* Wrapped creation response schema
|
|
@@ -6006,30 +6011,30 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6006
6011
|
user_id: z.ZodOptional<z.ZodString>;
|
|
6007
6012
|
user_identifier: z.ZodOptional<z.ZodString>;
|
|
6008
6013
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
6009
|
-
status: z.
|
|
6014
|
+
status: z.ZodEnum<["active", "expired", "revoked"]>;
|
|
6010
6015
|
issued_at: z.ZodString;
|
|
6011
|
-
expires_at: z.ZodOptional<z.ZodString
|
|
6016
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6012
6017
|
created_at: z.ZodString;
|
|
6013
6018
|
}, "strip", z.ZodTypeAny, {
|
|
6014
|
-
status: "active";
|
|
6015
|
-
delegation_id: string;
|
|
6019
|
+
status: "active" | "revoked" | "expired";
|
|
6016
6020
|
scopes: string[];
|
|
6021
|
+
delegation_id: string;
|
|
6017
6022
|
agent_did: string;
|
|
6018
6023
|
issued_at: string;
|
|
6019
6024
|
created_at: string;
|
|
6020
6025
|
user_id?: string | undefined;
|
|
6021
6026
|
user_identifier?: string | undefined;
|
|
6022
|
-
expires_at?: string | undefined;
|
|
6027
|
+
expires_at?: string | null | undefined;
|
|
6023
6028
|
}, {
|
|
6024
|
-
status: "active";
|
|
6025
|
-
delegation_id: string;
|
|
6029
|
+
status: "active" | "revoked" | "expired";
|
|
6026
6030
|
scopes: string[];
|
|
6031
|
+
delegation_id: string;
|
|
6027
6032
|
agent_did: string;
|
|
6028
6033
|
issued_at: string;
|
|
6029
6034
|
created_at: string;
|
|
6030
6035
|
user_id?: string | undefined;
|
|
6031
6036
|
user_identifier?: string | undefined;
|
|
6032
|
-
expires_at?: string | undefined;
|
|
6037
|
+
expires_at?: string | null | undefined;
|
|
6033
6038
|
}>;
|
|
6034
6039
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
6035
6040
|
requestId: z.ZodString;
|
|
@@ -6044,15 +6049,15 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6044
6049
|
}, "strip", z.ZodTypeAny, {
|
|
6045
6050
|
success: boolean;
|
|
6046
6051
|
data: {
|
|
6047
|
-
status: "active";
|
|
6048
|
-
delegation_id: string;
|
|
6052
|
+
status: "active" | "revoked" | "expired";
|
|
6049
6053
|
scopes: string[];
|
|
6054
|
+
delegation_id: string;
|
|
6050
6055
|
agent_did: string;
|
|
6051
6056
|
issued_at: string;
|
|
6052
6057
|
created_at: string;
|
|
6053
6058
|
user_id?: string | undefined;
|
|
6054
6059
|
user_identifier?: string | undefined;
|
|
6055
|
-
expires_at?: string | undefined;
|
|
6060
|
+
expires_at?: string | null | undefined;
|
|
6056
6061
|
};
|
|
6057
6062
|
metadata?: {
|
|
6058
6063
|
timestamp: string;
|
|
@@ -6061,15 +6066,15 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6061
6066
|
}, {
|
|
6062
6067
|
success: boolean;
|
|
6063
6068
|
data: {
|
|
6064
|
-
status: "active";
|
|
6065
|
-
delegation_id: string;
|
|
6069
|
+
status: "active" | "revoked" | "expired";
|
|
6066
6070
|
scopes: string[];
|
|
6071
|
+
delegation_id: string;
|
|
6067
6072
|
agent_did: string;
|
|
6068
6073
|
issued_at: string;
|
|
6069
6074
|
created_at: string;
|
|
6070
6075
|
user_id?: string | undefined;
|
|
6071
6076
|
user_identifier?: string | undefined;
|
|
6072
|
-
expires_at?: string | undefined;
|
|
6077
|
+
expires_at?: string | null | undefined;
|
|
6073
6078
|
};
|
|
6074
6079
|
metadata?: {
|
|
6075
6080
|
timestamp: string;
|
|
@@ -6094,12 +6099,12 @@ export declare const revokeDelegationResponseSchema: z.ZodObject<{
|
|
|
6094
6099
|
revoked: z.ZodBoolean;
|
|
6095
6100
|
revoked_at: z.ZodNumber;
|
|
6096
6101
|
}, "strip", z.ZodTypeAny, {
|
|
6097
|
-
delegation_id: string;
|
|
6098
6102
|
revoked: boolean;
|
|
6103
|
+
delegation_id: string;
|
|
6099
6104
|
revoked_at: number;
|
|
6100
6105
|
}, {
|
|
6101
|
-
delegation_id: string;
|
|
6102
6106
|
revoked: boolean;
|
|
6107
|
+
delegation_id: string;
|
|
6103
6108
|
revoked_at: number;
|
|
6104
6109
|
}>;
|
|
6105
6110
|
/**
|
|
@@ -6112,12 +6117,12 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6112
6117
|
revoked: z.ZodBoolean;
|
|
6113
6118
|
revoked_at: z.ZodNumber;
|
|
6114
6119
|
}, "strip", z.ZodTypeAny, {
|
|
6115
|
-
delegation_id: string;
|
|
6116
6120
|
revoked: boolean;
|
|
6121
|
+
delegation_id: string;
|
|
6117
6122
|
revoked_at: number;
|
|
6118
6123
|
}, {
|
|
6119
|
-
delegation_id: string;
|
|
6120
6124
|
revoked: boolean;
|
|
6125
|
+
delegation_id: string;
|
|
6121
6126
|
revoked_at: number;
|
|
6122
6127
|
}>;
|
|
6123
6128
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -6133,8 +6138,8 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6133
6138
|
}, "strip", z.ZodTypeAny, {
|
|
6134
6139
|
success: boolean;
|
|
6135
6140
|
data: {
|
|
6136
|
-
delegation_id: string;
|
|
6137
6141
|
revoked: boolean;
|
|
6142
|
+
delegation_id: string;
|
|
6138
6143
|
revoked_at: number;
|
|
6139
6144
|
};
|
|
6140
6145
|
metadata?: {
|
|
@@ -6144,8 +6149,8 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6144
6149
|
}, {
|
|
6145
6150
|
success: boolean;
|
|
6146
6151
|
data: {
|
|
6147
|
-
delegation_id: string;
|
|
6148
6152
|
revoked: boolean;
|
|
6153
|
+
delegation_id: string;
|
|
6149
6154
|
revoked_at: number;
|
|
6150
6155
|
};
|
|
6151
6156
|
metadata?: {
|
|
@@ -6153,3 +6158,189 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6153
6158
|
requestId: string;
|
|
6154
6159
|
} | undefined;
|
|
6155
6160
|
}>;
|
|
6161
|
+
/**
|
|
6162
|
+
* Session client info schema
|
|
6163
|
+
*/
|
|
6164
|
+
export declare const sessionClientInfoSchema: z.ZodObject<{
|
|
6165
|
+
name: z.ZodString;
|
|
6166
|
+
version: z.ZodOptional<z.ZodString>;
|
|
6167
|
+
protocol_version: z.ZodOptional<z.ZodString>;
|
|
6168
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
6169
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
6170
|
+
}, "strip", z.ZodTypeAny, {
|
|
6171
|
+
name: string;
|
|
6172
|
+
version?: string | undefined;
|
|
6173
|
+
platform?: string | undefined;
|
|
6174
|
+
vendor?: string | undefined;
|
|
6175
|
+
protocol_version?: string | undefined;
|
|
6176
|
+
}, {
|
|
6177
|
+
name: string;
|
|
6178
|
+
version?: string | undefined;
|
|
6179
|
+
platform?: string | undefined;
|
|
6180
|
+
vendor?: string | undefined;
|
|
6181
|
+
protocol_version?: string | undefined;
|
|
6182
|
+
}>;
|
|
6183
|
+
/**
|
|
6184
|
+
* Session client identity schema
|
|
6185
|
+
*/
|
|
6186
|
+
export declare const sessionClientIdentitySchema: z.ZodObject<{
|
|
6187
|
+
did: z.ZodString;
|
|
6188
|
+
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6189
|
+
registered: z.ZodBoolean;
|
|
6190
|
+
}, "strip", z.ZodTypeAny, {
|
|
6191
|
+
did: string;
|
|
6192
|
+
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6193
|
+
registered: boolean;
|
|
6194
|
+
}, {
|
|
6195
|
+
did: string;
|
|
6196
|
+
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6197
|
+
registered: boolean;
|
|
6198
|
+
}>;
|
|
6199
|
+
/**
|
|
6200
|
+
* Register session request schema
|
|
6201
|
+
*/
|
|
6202
|
+
export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
6203
|
+
session_id: z.ZodString;
|
|
6204
|
+
agent_did: z.ZodString;
|
|
6205
|
+
project_id: z.ZodString;
|
|
6206
|
+
created_at: z.ZodNumber;
|
|
6207
|
+
client_info: z.ZodObject<{
|
|
6208
|
+
name: z.ZodString;
|
|
6209
|
+
version: z.ZodOptional<z.ZodString>;
|
|
6210
|
+
protocol_version: z.ZodOptional<z.ZodString>;
|
|
6211
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
6212
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
6213
|
+
}, "strip", z.ZodTypeAny, {
|
|
6214
|
+
name: string;
|
|
6215
|
+
version?: string | undefined;
|
|
6216
|
+
platform?: string | undefined;
|
|
6217
|
+
vendor?: string | undefined;
|
|
6218
|
+
protocol_version?: string | undefined;
|
|
6219
|
+
}, {
|
|
6220
|
+
name: string;
|
|
6221
|
+
version?: string | undefined;
|
|
6222
|
+
platform?: string | undefined;
|
|
6223
|
+
vendor?: string | undefined;
|
|
6224
|
+
protocol_version?: string | undefined;
|
|
6225
|
+
}>;
|
|
6226
|
+
client_identity: z.ZodOptional<z.ZodObject<{
|
|
6227
|
+
did: z.ZodString;
|
|
6228
|
+
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6229
|
+
registered: z.ZodBoolean;
|
|
6230
|
+
}, "strip", z.ZodTypeAny, {
|
|
6231
|
+
did: string;
|
|
6232
|
+
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6233
|
+
registered: boolean;
|
|
6234
|
+
}, {
|
|
6235
|
+
did: string;
|
|
6236
|
+
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6237
|
+
registered: boolean;
|
|
6238
|
+
}>>;
|
|
6239
|
+
server_did: z.ZodOptional<z.ZodString>;
|
|
6240
|
+
ttl_minutes: z.ZodOptional<z.ZodNumber>;
|
|
6241
|
+
}, "strip", z.ZodTypeAny, {
|
|
6242
|
+
session_id: string;
|
|
6243
|
+
agent_did: string;
|
|
6244
|
+
created_at: number;
|
|
6245
|
+
client_info: {
|
|
6246
|
+
name: string;
|
|
6247
|
+
version?: string | undefined;
|
|
6248
|
+
platform?: string | undefined;
|
|
6249
|
+
vendor?: string | undefined;
|
|
6250
|
+
protocol_version?: string | undefined;
|
|
6251
|
+
};
|
|
6252
|
+
project_id: string;
|
|
6253
|
+
client_identity?: {
|
|
6254
|
+
did: string;
|
|
6255
|
+
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6256
|
+
registered: boolean;
|
|
6257
|
+
} | undefined;
|
|
6258
|
+
server_did?: string | undefined;
|
|
6259
|
+
ttl_minutes?: number | undefined;
|
|
6260
|
+
}, {
|
|
6261
|
+
session_id: string;
|
|
6262
|
+
agent_did: string;
|
|
6263
|
+
created_at: number;
|
|
6264
|
+
client_info: {
|
|
6265
|
+
name: string;
|
|
6266
|
+
version?: string | undefined;
|
|
6267
|
+
platform?: string | undefined;
|
|
6268
|
+
vendor?: string | undefined;
|
|
6269
|
+
protocol_version?: string | undefined;
|
|
6270
|
+
};
|
|
6271
|
+
project_id: string;
|
|
6272
|
+
client_identity?: {
|
|
6273
|
+
did: string;
|
|
6274
|
+
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6275
|
+
registered: boolean;
|
|
6276
|
+
} | undefined;
|
|
6277
|
+
server_did?: string | undefined;
|
|
6278
|
+
ttl_minutes?: number | undefined;
|
|
6279
|
+
}>;
|
|
6280
|
+
/**
|
|
6281
|
+
* Register session response schema
|
|
6282
|
+
*/
|
|
6283
|
+
export declare const registerSessionResponseSchema: z.ZodObject<{
|
|
6284
|
+
session_id: z.ZodString;
|
|
6285
|
+
registered: z.ZodBoolean;
|
|
6286
|
+
created_at: z.ZodString;
|
|
6287
|
+
}, "strip", z.ZodTypeAny, {
|
|
6288
|
+
session_id: string;
|
|
6289
|
+
created_at: string;
|
|
6290
|
+
registered: boolean;
|
|
6291
|
+
}, {
|
|
6292
|
+
session_id: string;
|
|
6293
|
+
created_at: string;
|
|
6294
|
+
registered: boolean;
|
|
6295
|
+
}>;
|
|
6296
|
+
/**
|
|
6297
|
+
* Wrapped session registration response schema
|
|
6298
|
+
*/
|
|
6299
|
+
export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
6300
|
+
success: z.ZodBoolean;
|
|
6301
|
+
data: z.ZodObject<{
|
|
6302
|
+
session_id: z.ZodString;
|
|
6303
|
+
registered: z.ZodBoolean;
|
|
6304
|
+
created_at: z.ZodString;
|
|
6305
|
+
}, "strip", z.ZodTypeAny, {
|
|
6306
|
+
session_id: string;
|
|
6307
|
+
created_at: string;
|
|
6308
|
+
registered: boolean;
|
|
6309
|
+
}, {
|
|
6310
|
+
session_id: string;
|
|
6311
|
+
created_at: string;
|
|
6312
|
+
registered: boolean;
|
|
6313
|
+
}>;
|
|
6314
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
6315
|
+
requestId: z.ZodString;
|
|
6316
|
+
timestamp: z.ZodString;
|
|
6317
|
+
}, "strip", z.ZodTypeAny, {
|
|
6318
|
+
timestamp: string;
|
|
6319
|
+
requestId: string;
|
|
6320
|
+
}, {
|
|
6321
|
+
timestamp: string;
|
|
6322
|
+
requestId: string;
|
|
6323
|
+
}>>;
|
|
6324
|
+
}, "strip", z.ZodTypeAny, {
|
|
6325
|
+
success: boolean;
|
|
6326
|
+
data: {
|
|
6327
|
+
session_id: string;
|
|
6328
|
+
created_at: string;
|
|
6329
|
+
registered: boolean;
|
|
6330
|
+
};
|
|
6331
|
+
metadata?: {
|
|
6332
|
+
timestamp: string;
|
|
6333
|
+
requestId: string;
|
|
6334
|
+
} | undefined;
|
|
6335
|
+
}, {
|
|
6336
|
+
success: boolean;
|
|
6337
|
+
data: {
|
|
6338
|
+
session_id: string;
|
|
6339
|
+
created_at: string;
|
|
6340
|
+
registered: boolean;
|
|
6341
|
+
};
|
|
6342
|
+
metadata?: {
|
|
6343
|
+
timestamp: string;
|
|
6344
|
+
requestId: string;
|
|
6345
|
+
} | undefined;
|
|
6346
|
+
}>;
|