@kya-os/contracts 1.7.21 → 1.7.22
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/schemas.d.ts +198 -198
- package/dist/audit/index.d.ts +21 -21
- package/dist/config/base.d.ts +8 -0
- package/dist/consent/schemas.d.ts +112 -112
- package/dist/dashboard-config/schemas.d.ts +1771 -1771
- package/dist/delegation/schemas.d.ts +234 -234
- package/dist/deploy/schemas.d.ts +19 -19
- package/dist/handshake.d.ts +30 -30
- package/dist/molti/admin-ws.d.ts +1260 -0
- package/dist/molti/admin-ws.js +100 -0
- package/dist/molti/index.d.ts +2 -0
- package/dist/molti/index.js +19 -1
- package/dist/molti/schemas.d.ts +102 -102
- package/dist/policy/schemas.d.ts +676 -676
- package/dist/registry.d.ts +43 -43
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/tool-protection/index.d.ts +6 -6
- package/dist/verifier.d.ts +6 -6
- package/dist/well-known/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -89,57 +89,57 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
did: string;
|
|
91
91
|
kid: string;
|
|
92
|
-
nonce: string;
|
|
93
92
|
audience: string;
|
|
94
|
-
sessionId: string;
|
|
95
93
|
ts: number;
|
|
94
|
+
sessionId: string;
|
|
95
|
+
nonce: string;
|
|
96
96
|
requestHash: string;
|
|
97
97
|
responseHash: string;
|
|
98
|
-
clientDid?: string | undefined;
|
|
99
|
-
scopeId?: string | undefined;
|
|
100
98
|
delegationRef?: string | undefined;
|
|
99
|
+
scopeId?: string | undefined;
|
|
100
|
+
clientDid?: string | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
did: string;
|
|
103
103
|
kid: string;
|
|
104
|
-
nonce: string;
|
|
105
104
|
audience: string;
|
|
106
|
-
sessionId: string;
|
|
107
105
|
ts: number;
|
|
106
|
+
sessionId: string;
|
|
107
|
+
nonce: string;
|
|
108
108
|
requestHash: string;
|
|
109
109
|
responseHash: string;
|
|
110
|
-
clientDid?: string | undefined;
|
|
111
|
-
scopeId?: string | undefined;
|
|
112
110
|
delegationRef?: string | undefined;
|
|
111
|
+
scopeId?: string | undefined;
|
|
112
|
+
clientDid?: string | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
jws: string;
|
|
116
116
|
meta: {
|
|
117
117
|
did: string;
|
|
118
118
|
kid: string;
|
|
119
|
-
nonce: string;
|
|
120
119
|
audience: string;
|
|
121
|
-
sessionId: string;
|
|
122
120
|
ts: number;
|
|
121
|
+
sessionId: string;
|
|
122
|
+
nonce: string;
|
|
123
123
|
requestHash: string;
|
|
124
124
|
responseHash: string;
|
|
125
|
-
clientDid?: string | undefined;
|
|
126
|
-
scopeId?: string | undefined;
|
|
127
125
|
delegationRef?: string | undefined;
|
|
126
|
+
scopeId?: string | undefined;
|
|
127
|
+
clientDid?: string | undefined;
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
jws: string;
|
|
131
131
|
meta: {
|
|
132
132
|
did: string;
|
|
133
133
|
kid: string;
|
|
134
|
-
nonce: string;
|
|
135
134
|
audience: string;
|
|
136
|
-
sessionId: string;
|
|
137
135
|
ts: number;
|
|
136
|
+
sessionId: string;
|
|
137
|
+
nonce: string;
|
|
138
138
|
requestHash: string;
|
|
139
139
|
responseHash: string;
|
|
140
|
-
clientDid?: string | undefined;
|
|
141
|
-
scopeId?: string | undefined;
|
|
142
140
|
delegationRef?: string | undefined;
|
|
141
|
+
scopeId?: string | undefined;
|
|
142
|
+
clientDid?: string | undefined;
|
|
143
143
|
};
|
|
144
144
|
}>, "many">;
|
|
145
145
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -153,14 +153,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
153
153
|
scopeId: string;
|
|
154
154
|
tool: string;
|
|
155
155
|
args: Record<string, unknown>;
|
|
156
|
-
result?: unknown;
|
|
157
156
|
userIdentifier?: string | undefined;
|
|
157
|
+
result?: unknown;
|
|
158
158
|
}, {
|
|
159
159
|
scopeId: string;
|
|
160
160
|
tool: string;
|
|
161
161
|
args: Record<string, unknown>;
|
|
162
|
-
result?: unknown;
|
|
163
162
|
userIdentifier?: string | undefined;
|
|
163
|
+
result?: unknown;
|
|
164
164
|
}>, "many">>;
|
|
165
165
|
consentEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
166
|
eventType: z.ZodEnum<["consent:page_viewed", "consent:approved", "consent:delegation_created", "consent:credential_required", "auth:credential_success", "auth:credential_failed", "auth:oauth_success", "auth:oauth_failed"]>;
|
|
@@ -186,36 +186,36 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
186
186
|
}>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
scopes: string[];
|
|
189
|
-
timestamp: number;
|
|
190
|
-
agentDid: string;
|
|
191
189
|
sessionId: string;
|
|
190
|
+
agentDid: string;
|
|
192
191
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
193
|
-
|
|
192
|
+
timestamp: number;
|
|
194
193
|
targetTools: string[];
|
|
194
|
+
projectId: string;
|
|
195
|
+
delegationId?: string | undefined;
|
|
195
196
|
userDid?: string | undefined;
|
|
197
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
198
|
+
termsAccepted?: boolean | undefined;
|
|
196
199
|
oauthIdentity?: {
|
|
197
200
|
provider: string;
|
|
198
201
|
identifier: string;
|
|
199
202
|
} | undefined;
|
|
200
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
201
|
-
delegationId?: string | undefined;
|
|
202
|
-
termsAccepted?: boolean | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
scopes: string[];
|
|
205
|
-
timestamp: number;
|
|
206
|
-
agentDid: string;
|
|
207
205
|
sessionId: string;
|
|
206
|
+
agentDid: string;
|
|
208
207
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
209
|
-
|
|
208
|
+
timestamp: number;
|
|
210
209
|
targetTools: string[];
|
|
210
|
+
projectId: string;
|
|
211
|
+
delegationId?: string | undefined;
|
|
211
212
|
userDid?: string | undefined;
|
|
213
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
214
|
+
termsAccepted?: boolean | undefined;
|
|
212
215
|
oauthIdentity?: {
|
|
213
216
|
provider: string;
|
|
214
217
|
identifier: string;
|
|
215
218
|
} | undefined;
|
|
216
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
217
|
-
delegationId?: string | undefined;
|
|
218
|
-
termsAccepted?: boolean | undefined;
|
|
219
219
|
}>, "many">>;
|
|
220
220
|
mcpServerUrl: z.ZodOptional<z.ZodString>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -223,53 +223,53 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
223
223
|
scopeId: string;
|
|
224
224
|
tool: string;
|
|
225
225
|
args: Record<string, unknown>;
|
|
226
|
-
result?: unknown;
|
|
227
226
|
userIdentifier?: string | undefined;
|
|
227
|
+
result?: unknown;
|
|
228
228
|
}[] | undefined;
|
|
229
|
-
mcpServerUrl?: string | undefined;
|
|
230
229
|
consentEvents?: {
|
|
231
230
|
scopes: string[];
|
|
232
|
-
timestamp: number;
|
|
233
|
-
agentDid: string;
|
|
234
231
|
sessionId: string;
|
|
232
|
+
agentDid: string;
|
|
235
233
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
236
|
-
|
|
234
|
+
timestamp: number;
|
|
237
235
|
targetTools: string[];
|
|
236
|
+
projectId: string;
|
|
237
|
+
delegationId?: string | undefined;
|
|
238
238
|
userDid?: string | undefined;
|
|
239
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
240
|
+
termsAccepted?: boolean | undefined;
|
|
239
241
|
oauthIdentity?: {
|
|
240
242
|
provider: string;
|
|
241
243
|
identifier: string;
|
|
242
244
|
} | undefined;
|
|
243
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
244
|
-
delegationId?: string | undefined;
|
|
245
|
-
termsAccepted?: boolean | undefined;
|
|
246
245
|
}[] | undefined;
|
|
246
|
+
mcpServerUrl?: string | undefined;
|
|
247
247
|
}, {
|
|
248
248
|
toolCalls?: {
|
|
249
249
|
scopeId: string;
|
|
250
250
|
tool: string;
|
|
251
251
|
args: Record<string, unknown>;
|
|
252
|
-
result?: unknown;
|
|
253
252
|
userIdentifier?: string | undefined;
|
|
253
|
+
result?: unknown;
|
|
254
254
|
}[] | undefined;
|
|
255
|
-
mcpServerUrl?: string | undefined;
|
|
256
255
|
consentEvents?: {
|
|
257
256
|
scopes: string[];
|
|
258
|
-
timestamp: number;
|
|
259
|
-
agentDid: string;
|
|
260
257
|
sessionId: string;
|
|
258
|
+
agentDid: string;
|
|
261
259
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
262
|
-
|
|
260
|
+
timestamp: number;
|
|
263
261
|
targetTools: string[];
|
|
262
|
+
projectId: string;
|
|
263
|
+
delegationId?: string | undefined;
|
|
264
264
|
userDid?: string | undefined;
|
|
265
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
266
|
+
termsAccepted?: boolean | undefined;
|
|
265
267
|
oauthIdentity?: {
|
|
266
268
|
provider: string;
|
|
267
269
|
identifier: string;
|
|
268
270
|
} | undefined;
|
|
269
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
270
|
-
delegationId?: string | undefined;
|
|
271
|
-
termsAccepted?: boolean | undefined;
|
|
272
271
|
}[] | undefined;
|
|
272
|
+
mcpServerUrl?: string | undefined;
|
|
273
273
|
}>>;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
275
|
session_id: string;
|
|
@@ -278,45 +278,45 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
278
278
|
meta: {
|
|
279
279
|
did: string;
|
|
280
280
|
kid: string;
|
|
281
|
-
nonce: string;
|
|
282
281
|
audience: string;
|
|
283
|
-
sessionId: string;
|
|
284
282
|
ts: number;
|
|
283
|
+
sessionId: string;
|
|
284
|
+
nonce: string;
|
|
285
285
|
requestHash: string;
|
|
286
286
|
responseHash: string;
|
|
287
|
-
clientDid?: string | undefined;
|
|
288
|
-
scopeId?: string | undefined;
|
|
289
287
|
delegationRef?: string | undefined;
|
|
288
|
+
scopeId?: string | undefined;
|
|
289
|
+
clientDid?: string | undefined;
|
|
290
290
|
};
|
|
291
291
|
}[];
|
|
292
|
-
delegation_id?: string | null | undefined;
|
|
293
292
|
context?: {
|
|
294
293
|
toolCalls?: {
|
|
295
294
|
scopeId: string;
|
|
296
295
|
tool: string;
|
|
297
296
|
args: Record<string, unknown>;
|
|
298
|
-
result?: unknown;
|
|
299
297
|
userIdentifier?: string | undefined;
|
|
298
|
+
result?: unknown;
|
|
300
299
|
}[] | undefined;
|
|
301
|
-
mcpServerUrl?: string | undefined;
|
|
302
300
|
consentEvents?: {
|
|
303
301
|
scopes: string[];
|
|
304
|
-
timestamp: number;
|
|
305
|
-
agentDid: string;
|
|
306
302
|
sessionId: string;
|
|
303
|
+
agentDid: string;
|
|
307
304
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
308
|
-
|
|
305
|
+
timestamp: number;
|
|
309
306
|
targetTools: string[];
|
|
307
|
+
projectId: string;
|
|
308
|
+
delegationId?: string | undefined;
|
|
310
309
|
userDid?: string | undefined;
|
|
310
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
311
|
+
termsAccepted?: boolean | undefined;
|
|
311
312
|
oauthIdentity?: {
|
|
312
313
|
provider: string;
|
|
313
314
|
identifier: string;
|
|
314
315
|
} | undefined;
|
|
315
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
316
|
-
delegationId?: string | undefined;
|
|
317
|
-
termsAccepted?: boolean | undefined;
|
|
318
316
|
}[] | undefined;
|
|
317
|
+
mcpServerUrl?: string | undefined;
|
|
319
318
|
} | undefined;
|
|
319
|
+
delegation_id?: string | null | undefined;
|
|
320
320
|
}, {
|
|
321
321
|
session_id: string;
|
|
322
322
|
proofs: {
|
|
@@ -324,45 +324,45 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
324
324
|
meta: {
|
|
325
325
|
did: string;
|
|
326
326
|
kid: string;
|
|
327
|
-
nonce: string;
|
|
328
327
|
audience: string;
|
|
329
|
-
sessionId: string;
|
|
330
328
|
ts: number;
|
|
329
|
+
sessionId: string;
|
|
330
|
+
nonce: string;
|
|
331
331
|
requestHash: string;
|
|
332
332
|
responseHash: string;
|
|
333
|
-
clientDid?: string | undefined;
|
|
334
|
-
scopeId?: string | undefined;
|
|
335
333
|
delegationRef?: string | undefined;
|
|
334
|
+
scopeId?: string | undefined;
|
|
335
|
+
clientDid?: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}[];
|
|
338
|
-
delegation_id?: string | null | undefined;
|
|
339
338
|
context?: {
|
|
340
339
|
toolCalls?: {
|
|
341
340
|
scopeId: string;
|
|
342
341
|
tool: string;
|
|
343
342
|
args: Record<string, unknown>;
|
|
344
|
-
result?: unknown;
|
|
345
343
|
userIdentifier?: string | undefined;
|
|
344
|
+
result?: unknown;
|
|
346
345
|
}[] | undefined;
|
|
347
|
-
mcpServerUrl?: string | undefined;
|
|
348
346
|
consentEvents?: {
|
|
349
347
|
scopes: string[];
|
|
350
|
-
timestamp: number;
|
|
351
|
-
agentDid: string;
|
|
352
348
|
sessionId: string;
|
|
349
|
+
agentDid: string;
|
|
353
350
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
354
|
-
|
|
351
|
+
timestamp: number;
|
|
355
352
|
targetTools: string[];
|
|
353
|
+
projectId: string;
|
|
354
|
+
delegationId?: string | undefined;
|
|
356
355
|
userDid?: string | undefined;
|
|
356
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
357
|
+
termsAccepted?: boolean | undefined;
|
|
357
358
|
oauthIdentity?: {
|
|
358
359
|
provider: string;
|
|
359
360
|
identifier: string;
|
|
360
361
|
} | undefined;
|
|
361
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
362
|
-
delegationId?: string | undefined;
|
|
363
|
-
termsAccepted?: boolean | undefined;
|
|
364
362
|
}[] | undefined;
|
|
363
|
+
mcpServerUrl?: string | undefined;
|
|
365
364
|
} | undefined;
|
|
365
|
+
delegation_id?: string | null | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
/**
|
|
368
368
|
* Proof submission response schema
|
|
@@ -451,7 +451,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
451
451
|
chainId: z.ZodOptional<z.ZodNumber>;
|
|
452
452
|
domain: z.ZodOptional<z.ZodString>;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
-
type: "
|
|
454
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
455
455
|
provider?: string | undefined;
|
|
456
456
|
credentialType?: string | undefined;
|
|
457
457
|
rpId?: string | undefined;
|
|
@@ -459,7 +459,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
459
459
|
chainId?: number | undefined;
|
|
460
460
|
domain?: string | undefined;
|
|
461
461
|
}, {
|
|
462
|
-
type: "
|
|
462
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
463
463
|
provider?: string | undefined;
|
|
464
464
|
credentialType?: string | undefined;
|
|
465
465
|
rpId?: string | undefined;
|
|
@@ -470,7 +470,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
471
|
scopes: string[];
|
|
472
472
|
authorization: {
|
|
473
|
-
type: "
|
|
473
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
474
474
|
provider?: string | undefined;
|
|
475
475
|
credentialType?: string | undefined;
|
|
476
476
|
rpId?: string | undefined;
|
|
@@ -489,7 +489,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
489
489
|
}, {
|
|
490
490
|
scopes: string[];
|
|
491
491
|
authorization: {
|
|
492
|
-
type: "
|
|
492
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
493
493
|
provider?: string | undefined;
|
|
494
494
|
credentialType?: string | undefined;
|
|
495
495
|
rpId?: string | undefined;
|
|
@@ -521,12 +521,12 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
521
521
|
origin: z.ZodOptional<z.ZodString>;
|
|
522
522
|
user_agent: z.ZodOptional<z.ZodString>;
|
|
523
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
origin?: string | undefined;
|
|
525
524
|
ip_address?: string | undefined;
|
|
525
|
+
origin?: string | undefined;
|
|
526
526
|
user_agent?: string | undefined;
|
|
527
527
|
}, {
|
|
528
|
-
origin?: string | undefined;
|
|
529
528
|
ip_address?: string | undefined;
|
|
529
|
+
origin?: string | undefined;
|
|
530
530
|
user_agent?: string | undefined;
|
|
531
531
|
}>>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -537,8 +537,8 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
537
537
|
credential_jwt?: string | undefined;
|
|
538
538
|
delegation_token?: string | undefined;
|
|
539
539
|
client_info?: {
|
|
540
|
-
origin?: string | undefined;
|
|
541
540
|
ip_address?: string | undefined;
|
|
541
|
+
origin?: string | undefined;
|
|
542
542
|
user_agent?: string | undefined;
|
|
543
543
|
} | undefined;
|
|
544
544
|
}, {
|
|
@@ -549,8 +549,8 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
549
549
|
credential_jwt?: string | undefined;
|
|
550
550
|
delegation_token?: string | undefined;
|
|
551
551
|
client_info?: {
|
|
552
|
-
origin?: string | undefined;
|
|
553
552
|
ip_address?: string | undefined;
|
|
553
|
+
origin?: string | undefined;
|
|
554
554
|
user_agent?: string | undefined;
|
|
555
555
|
} | undefined;
|
|
556
556
|
}>;
|
|
@@ -1810,7 +1810,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1810
1810
|
chainId: z.ZodOptional<z.ZodNumber>;
|
|
1811
1811
|
domain: z.ZodOptional<z.ZodString>;
|
|
1812
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1813
|
-
type: "
|
|
1813
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1814
1814
|
provider?: string | undefined;
|
|
1815
1815
|
credentialType?: string | undefined;
|
|
1816
1816
|
rpId?: string | undefined;
|
|
@@ -1818,7 +1818,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1818
1818
|
chainId?: number | undefined;
|
|
1819
1819
|
domain?: string | undefined;
|
|
1820
1820
|
}, {
|
|
1821
|
-
type: "
|
|
1821
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1822
1822
|
provider?: string | undefined;
|
|
1823
1823
|
credentialType?: string | undefined;
|
|
1824
1824
|
rpId?: string | undefined;
|
|
@@ -1829,7 +1829,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1829
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1830
1830
|
scopes: string[];
|
|
1831
1831
|
authorization: {
|
|
1832
|
-
type: "
|
|
1832
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1833
1833
|
provider?: string | undefined;
|
|
1834
1834
|
credentialType?: string | undefined;
|
|
1835
1835
|
rpId?: string | undefined;
|
|
@@ -1848,7 +1848,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1848
1848
|
}, {
|
|
1849
1849
|
scopes: string[];
|
|
1850
1850
|
authorization: {
|
|
1851
|
-
type: "
|
|
1851
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1852
1852
|
provider?: string | undefined;
|
|
1853
1853
|
credentialType?: string | undefined;
|
|
1854
1854
|
rpId?: string | undefined;
|
|
@@ -1881,33 +1881,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1881
1881
|
reason: z.ZodOptional<z.ZodString>;
|
|
1882
1882
|
}, "strip", z.ZodTypeAny, {
|
|
1883
1883
|
valid: boolean;
|
|
1884
|
-
credential?: {
|
|
1885
|
-
scopes: string[];
|
|
1886
|
-
authorization: {
|
|
1887
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1888
|
-
provider?: string | undefined;
|
|
1889
|
-
credentialType?: string | undefined;
|
|
1890
|
-
rpId?: string | undefined;
|
|
1891
|
-
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
1892
|
-
chainId?: number | undefined;
|
|
1893
|
-
domain?: string | undefined;
|
|
1894
|
-
};
|
|
1895
|
-
agent_did: string;
|
|
1896
|
-
user_did: string;
|
|
1897
|
-
issued_at: number;
|
|
1898
|
-
created_at: number;
|
|
1899
|
-
constraints?: Record<string, unknown> | undefined;
|
|
1900
|
-
user_id?: string | undefined;
|
|
1901
|
-
user_identifier?: string | undefined;
|
|
1902
|
-
credential_jwt?: string | undefined;
|
|
1903
|
-
} | undefined;
|
|
1904
1884
|
error?: {
|
|
1905
1885
|
code: string;
|
|
1906
1886
|
message: string;
|
|
1907
1887
|
details?: Record<string, unknown> | undefined;
|
|
1908
1888
|
} | undefined;
|
|
1909
|
-
delegation_id?: string | undefined;
|
|
1910
|
-
reason?: string | undefined;
|
|
1911
1889
|
delegation?: z.objectOutputType<{
|
|
1912
1890
|
id: z.ZodString;
|
|
1913
1891
|
issuerDid: z.ZodString;
|
|
@@ -2319,12 +2297,10 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2319
2297
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2320
2298
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2321
2299
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2322
|
-
}, {
|
|
2323
|
-
valid: boolean;
|
|
2324
2300
|
credential?: {
|
|
2325
2301
|
scopes: string[];
|
|
2326
2302
|
authorization: {
|
|
2327
|
-
type: "
|
|
2303
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
2328
2304
|
provider?: string | undefined;
|
|
2329
2305
|
credentialType?: string | undefined;
|
|
2330
2306
|
rpId?: string | undefined;
|
|
@@ -2341,13 +2317,15 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2341
2317
|
user_identifier?: string | undefined;
|
|
2342
2318
|
credential_jwt?: string | undefined;
|
|
2343
2319
|
} | undefined;
|
|
2320
|
+
reason?: string | undefined;
|
|
2321
|
+
delegation_id?: string | undefined;
|
|
2322
|
+
}, {
|
|
2323
|
+
valid: boolean;
|
|
2344
2324
|
error?: {
|
|
2345
2325
|
code: string;
|
|
2346
2326
|
message: string;
|
|
2347
2327
|
details?: Record<string, unknown> | undefined;
|
|
2348
2328
|
} | undefined;
|
|
2349
|
-
delegation_id?: string | undefined;
|
|
2350
|
-
reason?: string | undefined;
|
|
2351
2329
|
delegation?: z.objectInputType<{
|
|
2352
2330
|
id: z.ZodString;
|
|
2353
2331
|
issuerDid: z.ZodString;
|
|
@@ -2759,6 +2737,28 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2759
2737
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2760
2738
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2761
2739
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2740
|
+
credential?: {
|
|
2741
|
+
scopes: string[];
|
|
2742
|
+
authorization: {
|
|
2743
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
2744
|
+
provider?: string | undefined;
|
|
2745
|
+
credentialType?: string | undefined;
|
|
2746
|
+
rpId?: string | undefined;
|
|
2747
|
+
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
2748
|
+
chainId?: number | undefined;
|
|
2749
|
+
domain?: string | undefined;
|
|
2750
|
+
};
|
|
2751
|
+
agent_did: string;
|
|
2752
|
+
user_did: string;
|
|
2753
|
+
issued_at: number;
|
|
2754
|
+
created_at: number;
|
|
2755
|
+
constraints?: Record<string, unknown> | undefined;
|
|
2756
|
+
user_id?: string | undefined;
|
|
2757
|
+
user_identifier?: string | undefined;
|
|
2758
|
+
credential_jwt?: string | undefined;
|
|
2759
|
+
} | undefined;
|
|
2760
|
+
reason?: string | undefined;
|
|
2761
|
+
delegation_id?: string | undefined;
|
|
2762
2762
|
}>;
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Wrapped verification response schema
|
|
@@ -4018,7 +4018,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4018
4018
|
chainId: z.ZodOptional<z.ZodNumber>;
|
|
4019
4019
|
domain: z.ZodOptional<z.ZodString>;
|
|
4020
4020
|
}, "strip", z.ZodTypeAny, {
|
|
4021
|
-
type: "
|
|
4021
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4022
4022
|
provider?: string | undefined;
|
|
4023
4023
|
credentialType?: string | undefined;
|
|
4024
4024
|
rpId?: string | undefined;
|
|
@@ -4026,7 +4026,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4026
4026
|
chainId?: number | undefined;
|
|
4027
4027
|
domain?: string | undefined;
|
|
4028
4028
|
}, {
|
|
4029
|
-
type: "
|
|
4029
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4030
4030
|
provider?: string | undefined;
|
|
4031
4031
|
credentialType?: string | undefined;
|
|
4032
4032
|
rpId?: string | undefined;
|
|
@@ -4037,7 +4037,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4037
4037
|
}, "strip", z.ZodTypeAny, {
|
|
4038
4038
|
scopes: string[];
|
|
4039
4039
|
authorization: {
|
|
4040
|
-
type: "
|
|
4040
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4041
4041
|
provider?: string | undefined;
|
|
4042
4042
|
credentialType?: string | undefined;
|
|
4043
4043
|
rpId?: string | undefined;
|
|
@@ -4056,7 +4056,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4056
4056
|
}, {
|
|
4057
4057
|
scopes: string[];
|
|
4058
4058
|
authorization: {
|
|
4059
|
-
type: "
|
|
4059
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4060
4060
|
provider?: string | undefined;
|
|
4061
4061
|
credentialType?: string | undefined;
|
|
4062
4062
|
rpId?: string | undefined;
|
|
@@ -4089,33 +4089,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4089
4089
|
reason: z.ZodOptional<z.ZodString>;
|
|
4090
4090
|
}, "strip", z.ZodTypeAny, {
|
|
4091
4091
|
valid: boolean;
|
|
4092
|
-
credential?: {
|
|
4093
|
-
scopes: string[];
|
|
4094
|
-
authorization: {
|
|
4095
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4096
|
-
provider?: string | undefined;
|
|
4097
|
-
credentialType?: string | undefined;
|
|
4098
|
-
rpId?: string | undefined;
|
|
4099
|
-
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4100
|
-
chainId?: number | undefined;
|
|
4101
|
-
domain?: string | undefined;
|
|
4102
|
-
};
|
|
4103
|
-
agent_did: string;
|
|
4104
|
-
user_did: string;
|
|
4105
|
-
issued_at: number;
|
|
4106
|
-
created_at: number;
|
|
4107
|
-
constraints?: Record<string, unknown> | undefined;
|
|
4108
|
-
user_id?: string | undefined;
|
|
4109
|
-
user_identifier?: string | undefined;
|
|
4110
|
-
credential_jwt?: string | undefined;
|
|
4111
|
-
} | undefined;
|
|
4112
4092
|
error?: {
|
|
4113
4093
|
code: string;
|
|
4114
4094
|
message: string;
|
|
4115
4095
|
details?: Record<string, unknown> | undefined;
|
|
4116
4096
|
} | undefined;
|
|
4117
|
-
delegation_id?: string | undefined;
|
|
4118
|
-
reason?: string | undefined;
|
|
4119
4097
|
delegation?: z.objectOutputType<{
|
|
4120
4098
|
id: z.ZodString;
|
|
4121
4099
|
issuerDid: z.ZodString;
|
|
@@ -4527,12 +4505,10 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4527
4505
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4528
4506
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4529
4507
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4530
|
-
}, {
|
|
4531
|
-
valid: boolean;
|
|
4532
4508
|
credential?: {
|
|
4533
4509
|
scopes: string[];
|
|
4534
4510
|
authorization: {
|
|
4535
|
-
type: "
|
|
4511
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4536
4512
|
provider?: string | undefined;
|
|
4537
4513
|
credentialType?: string | undefined;
|
|
4538
4514
|
rpId?: string | undefined;
|
|
@@ -4549,13 +4525,15 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4549
4525
|
user_identifier?: string | undefined;
|
|
4550
4526
|
credential_jwt?: string | undefined;
|
|
4551
4527
|
} | undefined;
|
|
4528
|
+
reason?: string | undefined;
|
|
4529
|
+
delegation_id?: string | undefined;
|
|
4530
|
+
}, {
|
|
4531
|
+
valid: boolean;
|
|
4552
4532
|
error?: {
|
|
4553
4533
|
code: string;
|
|
4554
4534
|
message: string;
|
|
4555
4535
|
details?: Record<string, unknown> | undefined;
|
|
4556
4536
|
} | undefined;
|
|
4557
|
-
delegation_id?: string | undefined;
|
|
4558
|
-
reason?: string | undefined;
|
|
4559
4537
|
delegation?: z.objectInputType<{
|
|
4560
4538
|
id: z.ZodString;
|
|
4561
4539
|
issuerDid: z.ZodString;
|
|
@@ -4967,25 +4945,10 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4967
4945
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4968
4946
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4969
4947
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4970
|
-
}>;
|
|
4971
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
4972
|
-
requestId: z.ZodString;
|
|
4973
|
-
timestamp: z.ZodString;
|
|
4974
|
-
}, "strip", z.ZodTypeAny, {
|
|
4975
|
-
timestamp: string;
|
|
4976
|
-
requestId: string;
|
|
4977
|
-
}, {
|
|
4978
|
-
timestamp: string;
|
|
4979
|
-
requestId: string;
|
|
4980
|
-
}>>;
|
|
4981
|
-
}, "strip", z.ZodTypeAny, {
|
|
4982
|
-
success: boolean;
|
|
4983
|
-
data: {
|
|
4984
|
-
valid: boolean;
|
|
4985
4948
|
credential?: {
|
|
4986
4949
|
scopes: string[];
|
|
4987
4950
|
authorization: {
|
|
4988
|
-
type: "
|
|
4951
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4989
4952
|
provider?: string | undefined;
|
|
4990
4953
|
credentialType?: string | undefined;
|
|
4991
4954
|
rpId?: string | undefined;
|
|
@@ -5002,13 +4965,28 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5002
4965
|
user_identifier?: string | undefined;
|
|
5003
4966
|
credential_jwt?: string | undefined;
|
|
5004
4967
|
} | undefined;
|
|
4968
|
+
reason?: string | undefined;
|
|
4969
|
+
delegation_id?: string | undefined;
|
|
4970
|
+
}>;
|
|
4971
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
4972
|
+
requestId: z.ZodString;
|
|
4973
|
+
timestamp: z.ZodString;
|
|
4974
|
+
}, "strip", z.ZodTypeAny, {
|
|
4975
|
+
timestamp: string;
|
|
4976
|
+
requestId: string;
|
|
4977
|
+
}, {
|
|
4978
|
+
timestamp: string;
|
|
4979
|
+
requestId: string;
|
|
4980
|
+
}>>;
|
|
4981
|
+
}, "strip", z.ZodTypeAny, {
|
|
4982
|
+
success: boolean;
|
|
4983
|
+
data: {
|
|
4984
|
+
valid: boolean;
|
|
5005
4985
|
error?: {
|
|
5006
4986
|
code: string;
|
|
5007
4987
|
message: string;
|
|
5008
4988
|
details?: Record<string, unknown> | undefined;
|
|
5009
4989
|
} | undefined;
|
|
5010
|
-
delegation_id?: string | undefined;
|
|
5011
|
-
reason?: string | undefined;
|
|
5012
4990
|
delegation?: z.objectOutputType<{
|
|
5013
4991
|
id: z.ZodString;
|
|
5014
4992
|
issuerDid: z.ZodString;
|
|
@@ -5420,19 +5398,10 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5420
5398
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5421
5399
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5422
5400
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5423
|
-
};
|
|
5424
|
-
metadata?: {
|
|
5425
|
-
timestamp: string;
|
|
5426
|
-
requestId: string;
|
|
5427
|
-
} | undefined;
|
|
5428
|
-
}, {
|
|
5429
|
-
success: boolean;
|
|
5430
|
-
data: {
|
|
5431
|
-
valid: boolean;
|
|
5432
5401
|
credential?: {
|
|
5433
5402
|
scopes: string[];
|
|
5434
5403
|
authorization: {
|
|
5435
|
-
type: "
|
|
5404
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
5436
5405
|
provider?: string | undefined;
|
|
5437
5406
|
credentialType?: string | undefined;
|
|
5438
5407
|
rpId?: string | undefined;
|
|
@@ -5449,13 +5418,22 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5449
5418
|
user_identifier?: string | undefined;
|
|
5450
5419
|
credential_jwt?: string | undefined;
|
|
5451
5420
|
} | undefined;
|
|
5421
|
+
reason?: string | undefined;
|
|
5422
|
+
delegation_id?: string | undefined;
|
|
5423
|
+
};
|
|
5424
|
+
metadata?: {
|
|
5425
|
+
timestamp: string;
|
|
5426
|
+
requestId: string;
|
|
5427
|
+
} | undefined;
|
|
5428
|
+
}, {
|
|
5429
|
+
success: boolean;
|
|
5430
|
+
data: {
|
|
5431
|
+
valid: boolean;
|
|
5452
5432
|
error?: {
|
|
5453
5433
|
code: string;
|
|
5454
5434
|
message: string;
|
|
5455
5435
|
details?: Record<string, unknown> | undefined;
|
|
5456
5436
|
} | undefined;
|
|
5457
|
-
delegation_id?: string | undefined;
|
|
5458
|
-
reason?: string | undefined;
|
|
5459
5437
|
delegation?: z.objectInputType<{
|
|
5460
5438
|
id: z.ZodString;
|
|
5461
5439
|
issuerDid: z.ZodString;
|
|
@@ -5867,6 +5845,28 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5867
5845
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5868
5846
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5869
5847
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5848
|
+
credential?: {
|
|
5849
|
+
scopes: string[];
|
|
5850
|
+
authorization: {
|
|
5851
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
5852
|
+
provider?: string | undefined;
|
|
5853
|
+
credentialType?: string | undefined;
|
|
5854
|
+
rpId?: string | undefined;
|
|
5855
|
+
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
5856
|
+
chainId?: number | undefined;
|
|
5857
|
+
domain?: string | undefined;
|
|
5858
|
+
};
|
|
5859
|
+
agent_did: string;
|
|
5860
|
+
user_did: string;
|
|
5861
|
+
issued_at: number;
|
|
5862
|
+
created_at: number;
|
|
5863
|
+
constraints?: Record<string, unknown> | undefined;
|
|
5864
|
+
user_id?: string | undefined;
|
|
5865
|
+
user_identifier?: string | undefined;
|
|
5866
|
+
credential_jwt?: string | undefined;
|
|
5867
|
+
} | undefined;
|
|
5868
|
+
reason?: string | undefined;
|
|
5869
|
+
delegation_id?: string | undefined;
|
|
5870
5870
|
};
|
|
5871
5871
|
metadata?: {
|
|
5872
5872
|
timestamp: string;
|
|
@@ -6312,12 +6312,12 @@ export declare const revokeDelegationResponseSchema: z.ZodObject<{
|
|
|
6312
6312
|
revoked: z.ZodBoolean;
|
|
6313
6313
|
revoked_at: z.ZodNumber;
|
|
6314
6314
|
}, "strip", z.ZodTypeAny, {
|
|
6315
|
-
delegation_id: string;
|
|
6316
6315
|
revoked: boolean;
|
|
6316
|
+
delegation_id: string;
|
|
6317
6317
|
revoked_at: number;
|
|
6318
6318
|
}, {
|
|
6319
|
-
delegation_id: string;
|
|
6320
6319
|
revoked: boolean;
|
|
6320
|
+
delegation_id: string;
|
|
6321
6321
|
revoked_at: number;
|
|
6322
6322
|
}>;
|
|
6323
6323
|
/**
|
|
@@ -6330,12 +6330,12 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6330
6330
|
revoked: z.ZodBoolean;
|
|
6331
6331
|
revoked_at: z.ZodNumber;
|
|
6332
6332
|
}, "strip", z.ZodTypeAny, {
|
|
6333
|
-
delegation_id: string;
|
|
6334
6333
|
revoked: boolean;
|
|
6334
|
+
delegation_id: string;
|
|
6335
6335
|
revoked_at: number;
|
|
6336
6336
|
}, {
|
|
6337
|
-
delegation_id: string;
|
|
6338
6337
|
revoked: boolean;
|
|
6338
|
+
delegation_id: string;
|
|
6339
6339
|
revoked_at: number;
|
|
6340
6340
|
}>;
|
|
6341
6341
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -6351,8 +6351,8 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6351
6351
|
}, "strip", z.ZodTypeAny, {
|
|
6352
6352
|
success: boolean;
|
|
6353
6353
|
data: {
|
|
6354
|
-
delegation_id: string;
|
|
6355
6354
|
revoked: boolean;
|
|
6355
|
+
delegation_id: string;
|
|
6356
6356
|
revoked_at: number;
|
|
6357
6357
|
};
|
|
6358
6358
|
metadata?: {
|
|
@@ -6362,8 +6362,8 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6362
6362
|
}, {
|
|
6363
6363
|
success: boolean;
|
|
6364
6364
|
data: {
|
|
6365
|
-
delegation_id: string;
|
|
6366
6365
|
revoked: boolean;
|
|
6366
|
+
delegation_id: string;
|
|
6367
6367
|
revoked_at: number;
|
|
6368
6368
|
};
|
|
6369
6369
|
metadata?: {
|
|
@@ -6383,15 +6383,15 @@ export declare const sessionClientInfoSchema: z.ZodObject<{
|
|
|
6383
6383
|
}, "strip", z.ZodTypeAny, {
|
|
6384
6384
|
name: string;
|
|
6385
6385
|
version?: string | undefined;
|
|
6386
|
+
protocol_version?: string | undefined;
|
|
6386
6387
|
platform?: string | undefined;
|
|
6387
6388
|
vendor?: string | undefined;
|
|
6388
|
-
protocol_version?: string | undefined;
|
|
6389
6389
|
}, {
|
|
6390
6390
|
name: string;
|
|
6391
6391
|
version?: string | undefined;
|
|
6392
|
+
protocol_version?: string | undefined;
|
|
6392
6393
|
platform?: string | undefined;
|
|
6393
6394
|
vendor?: string | undefined;
|
|
6394
|
-
protocol_version?: string | undefined;
|
|
6395
6395
|
}>;
|
|
6396
6396
|
/**
|
|
6397
6397
|
* Session client identity schema
|
|
@@ -6401,13 +6401,13 @@ export declare const sessionClientIdentitySchema: z.ZodObject<{
|
|
|
6401
6401
|
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6402
6402
|
registered: z.ZodBoolean;
|
|
6403
6403
|
}, "strip", z.ZodTypeAny, {
|
|
6404
|
-
registered: boolean;
|
|
6405
6404
|
did: string;
|
|
6406
6405
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6407
|
-
}, {
|
|
6408
6406
|
registered: boolean;
|
|
6407
|
+
}, {
|
|
6409
6408
|
did: string;
|
|
6410
6409
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6410
|
+
registered: boolean;
|
|
6411
6411
|
}>;
|
|
6412
6412
|
/**
|
|
6413
6413
|
* Register session request schema
|
|
@@ -6427,68 +6427,68 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6427
6427
|
}, "strip", z.ZodTypeAny, {
|
|
6428
6428
|
name: string;
|
|
6429
6429
|
version?: string | undefined;
|
|
6430
|
+
protocol_version?: string | undefined;
|
|
6430
6431
|
platform?: string | undefined;
|
|
6431
6432
|
vendor?: string | undefined;
|
|
6432
|
-
protocol_version?: string | undefined;
|
|
6433
6433
|
}, {
|
|
6434
6434
|
name: string;
|
|
6435
6435
|
version?: string | undefined;
|
|
6436
|
+
protocol_version?: string | undefined;
|
|
6436
6437
|
platform?: string | undefined;
|
|
6437
6438
|
vendor?: string | undefined;
|
|
6438
|
-
protocol_version?: string | undefined;
|
|
6439
6439
|
}>;
|
|
6440
6440
|
client_identity: z.ZodOptional<z.ZodObject<{
|
|
6441
6441
|
did: z.ZodString;
|
|
6442
6442
|
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6443
6443
|
registered: z.ZodBoolean;
|
|
6444
6444
|
}, "strip", z.ZodTypeAny, {
|
|
6445
|
-
registered: boolean;
|
|
6446
6445
|
did: string;
|
|
6447
6446
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6448
|
-
}, {
|
|
6449
6447
|
registered: boolean;
|
|
6448
|
+
}, {
|
|
6450
6449
|
did: string;
|
|
6451
6450
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6451
|
+
registered: boolean;
|
|
6452
6452
|
}>>;
|
|
6453
6453
|
server_did: z.ZodOptional<z.ZodString>;
|
|
6454
6454
|
ttl_minutes: z.ZodOptional<z.ZodNumber>;
|
|
6455
6455
|
}, "strip", z.ZodTypeAny, {
|
|
6456
6456
|
session_id: string;
|
|
6457
6457
|
agent_did: string;
|
|
6458
|
-
project_id: string;
|
|
6459
6458
|
created_at: number;
|
|
6460
6459
|
client_info: {
|
|
6461
6460
|
name: string;
|
|
6462
6461
|
version?: string | undefined;
|
|
6462
|
+
protocol_version?: string | undefined;
|
|
6463
6463
|
platform?: string | undefined;
|
|
6464
6464
|
vendor?: string | undefined;
|
|
6465
|
-
protocol_version?: string | undefined;
|
|
6466
6465
|
};
|
|
6466
|
+
project_id: string;
|
|
6467
6467
|
agent_name?: string | undefined;
|
|
6468
6468
|
client_identity?: {
|
|
6469
|
-
registered: boolean;
|
|
6470
6469
|
did: string;
|
|
6471
6470
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6471
|
+
registered: boolean;
|
|
6472
6472
|
} | undefined;
|
|
6473
6473
|
server_did?: string | undefined;
|
|
6474
6474
|
ttl_minutes?: number | undefined;
|
|
6475
6475
|
}, {
|
|
6476
6476
|
session_id: string;
|
|
6477
6477
|
agent_did: string;
|
|
6478
|
-
project_id: string;
|
|
6479
6478
|
created_at: number;
|
|
6480
6479
|
client_info: {
|
|
6481
6480
|
name: string;
|
|
6482
6481
|
version?: string | undefined;
|
|
6482
|
+
protocol_version?: string | undefined;
|
|
6483
6483
|
platform?: string | undefined;
|
|
6484
6484
|
vendor?: string | undefined;
|
|
6485
|
-
protocol_version?: string | undefined;
|
|
6486
6485
|
};
|
|
6486
|
+
project_id: string;
|
|
6487
6487
|
agent_name?: string | undefined;
|
|
6488
6488
|
client_identity?: {
|
|
6489
|
-
registered: boolean;
|
|
6490
6489
|
did: string;
|
|
6491
6490
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6491
|
+
registered: boolean;
|
|
6492
6492
|
} | undefined;
|
|
6493
6493
|
server_did?: string | undefined;
|
|
6494
6494
|
ttl_minutes?: number | undefined;
|
|
@@ -6501,13 +6501,13 @@ export declare const registerSessionResponseSchema: z.ZodObject<{
|
|
|
6501
6501
|
registered: z.ZodBoolean;
|
|
6502
6502
|
created_at: z.ZodString;
|
|
6503
6503
|
}, "strip", z.ZodTypeAny, {
|
|
6504
|
-
registered: boolean;
|
|
6505
6504
|
session_id: string;
|
|
6506
6505
|
created_at: string;
|
|
6507
|
-
}, {
|
|
6508
6506
|
registered: boolean;
|
|
6507
|
+
}, {
|
|
6509
6508
|
session_id: string;
|
|
6510
6509
|
created_at: string;
|
|
6510
|
+
registered: boolean;
|
|
6511
6511
|
}>;
|
|
6512
6512
|
/**
|
|
6513
6513
|
* Wrapped session registration response schema
|
|
@@ -6519,13 +6519,13 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6519
6519
|
registered: z.ZodBoolean;
|
|
6520
6520
|
created_at: z.ZodString;
|
|
6521
6521
|
}, "strip", z.ZodTypeAny, {
|
|
6522
|
-
registered: boolean;
|
|
6523
6522
|
session_id: string;
|
|
6524
6523
|
created_at: string;
|
|
6525
|
-
}, {
|
|
6526
6524
|
registered: boolean;
|
|
6525
|
+
}, {
|
|
6527
6526
|
session_id: string;
|
|
6528
6527
|
created_at: string;
|
|
6528
|
+
registered: boolean;
|
|
6529
6529
|
}>;
|
|
6530
6530
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
6531
6531
|
requestId: z.ZodString;
|
|
@@ -6540,9 +6540,9 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6540
6540
|
}, "strip", z.ZodTypeAny, {
|
|
6541
6541
|
success: boolean;
|
|
6542
6542
|
data: {
|
|
6543
|
-
registered: boolean;
|
|
6544
6543
|
session_id: string;
|
|
6545
6544
|
created_at: string;
|
|
6545
|
+
registered: boolean;
|
|
6546
6546
|
};
|
|
6547
6547
|
metadata?: {
|
|
6548
6548
|
timestamp: string;
|
|
@@ -6551,9 +6551,9 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6551
6551
|
}, {
|
|
6552
6552
|
success: boolean;
|
|
6553
6553
|
data: {
|
|
6554
|
-
registered: boolean;
|
|
6555
6554
|
session_id: string;
|
|
6556
6555
|
created_at: string;
|
|
6556
|
+
registered: boolean;
|
|
6557
6557
|
};
|
|
6558
6558
|
metadata?: {
|
|
6559
6559
|
timestamp: string;
|