@kya-os/contracts 1.7.26 → 1.7.31
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/agent-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +129 -129
- package/dist/gateway/agents.d.ts +21 -0
- package/dist/gateway/agents.js +12 -0
- package/dist/gateway/cron.d.ts +33 -0
- package/dist/gateway/cron.js +16 -0
- package/dist/gateway/index.d.ts +20 -0
- package/dist/gateway/index.js +37 -0
- package/dist/gateway/sessions.d.ts +30 -0
- package/dist/gateway/sessions.js +15 -0
- package/dist/gateway/skills.d.ts +445 -0
- package/dist/gateway/skills.js +47 -0
- package/dist/gateway/usage.d.ts +43 -0
- package/dist/gateway/usage.js +18 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
|
@@ -88,58 +88,58 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
88
88
|
clientDid: z.ZodOptional<z.ZodString>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
did: string;
|
|
91
|
-
kid: string;
|
|
92
91
|
nonce: string;
|
|
93
|
-
audience: string;
|
|
94
92
|
sessionId: string;
|
|
93
|
+
audience: string;
|
|
94
|
+
kid: string;
|
|
95
95
|
ts: number;
|
|
96
96
|
requestHash: string;
|
|
97
97
|
responseHash: string;
|
|
98
|
-
clientDid?: string | undefined;
|
|
99
98
|
scopeId?: string | undefined;
|
|
100
99
|
delegationRef?: string | undefined;
|
|
100
|
+
clientDid?: string | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
did: string;
|
|
103
|
-
kid: string;
|
|
104
103
|
nonce: string;
|
|
105
|
-
audience: string;
|
|
106
104
|
sessionId: string;
|
|
105
|
+
audience: string;
|
|
106
|
+
kid: string;
|
|
107
107
|
ts: number;
|
|
108
108
|
requestHash: string;
|
|
109
109
|
responseHash: string;
|
|
110
|
-
clientDid?: string | undefined;
|
|
111
110
|
scopeId?: string | undefined;
|
|
112
111
|
delegationRef?: 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
|
-
kid: string;
|
|
119
118
|
nonce: string;
|
|
120
|
-
audience: string;
|
|
121
119
|
sessionId: string;
|
|
120
|
+
audience: string;
|
|
121
|
+
kid: string;
|
|
122
122
|
ts: number;
|
|
123
123
|
requestHash: string;
|
|
124
124
|
responseHash: string;
|
|
125
|
-
clientDid?: string | undefined;
|
|
126
125
|
scopeId?: string | undefined;
|
|
127
126
|
delegationRef?: string | undefined;
|
|
127
|
+
clientDid?: string | undefined;
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
jws: string;
|
|
131
131
|
meta: {
|
|
132
132
|
did: string;
|
|
133
|
-
kid: string;
|
|
134
133
|
nonce: string;
|
|
135
|
-
audience: string;
|
|
136
134
|
sessionId: string;
|
|
135
|
+
audience: string;
|
|
136
|
+
kid: string;
|
|
137
137
|
ts: number;
|
|
138
138
|
requestHash: string;
|
|
139
139
|
responseHash: string;
|
|
140
|
-
clientDid?: string | undefined;
|
|
141
140
|
scopeId?: string | undefined;
|
|
142
141
|
delegationRef?: string | undefined;
|
|
142
|
+
clientDid?: string | undefined;
|
|
143
143
|
};
|
|
144
144
|
}>, "many">;
|
|
145
145
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -150,14 +150,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
150
150
|
scopeId: z.ZodString;
|
|
151
151
|
userIdentifier: z.ZodOptional<z.ZodString>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
scopeId: string;
|
|
154
153
|
tool: string;
|
|
154
|
+
scopeId: string;
|
|
155
155
|
args: Record<string, unknown>;
|
|
156
156
|
result?: unknown;
|
|
157
157
|
userIdentifier?: string | undefined;
|
|
158
158
|
}, {
|
|
159
|
-
scopeId: string;
|
|
160
159
|
tool: string;
|
|
160
|
+
scopeId: string;
|
|
161
161
|
args: Record<string, unknown>;
|
|
162
162
|
result?: unknown;
|
|
163
163
|
userIdentifier?: string | undefined;
|
|
@@ -185,91 +185,91 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
185
185
|
identifier: string;
|
|
186
186
|
}>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
agentDid: string;
|
|
189
|
-
projectId: string;
|
|
190
188
|
timestamp: number;
|
|
189
|
+
agentDid: string;
|
|
191
190
|
scopes: string[];
|
|
192
191
|
sessionId: string;
|
|
192
|
+
projectId: string;
|
|
193
193
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
194
194
|
targetTools: string[];
|
|
195
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
196
|
+
delegationId?: string | undefined;
|
|
197
|
+
termsAccepted?: boolean | undefined;
|
|
195
198
|
userDid?: string | 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
|
-
agentDid: string;
|
|
205
|
-
projectId: string;
|
|
206
204
|
timestamp: number;
|
|
205
|
+
agentDid: string;
|
|
207
206
|
scopes: string[];
|
|
208
207
|
sessionId: string;
|
|
208
|
+
projectId: string;
|
|
209
209
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
210
210
|
targetTools: string[];
|
|
211
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
212
|
+
delegationId?: string | undefined;
|
|
213
|
+
termsAccepted?: boolean | undefined;
|
|
211
214
|
userDid?: string | 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, {
|
|
222
222
|
toolCalls?: {
|
|
223
|
-
scopeId: string;
|
|
224
223
|
tool: string;
|
|
224
|
+
scopeId: string;
|
|
225
225
|
args: Record<string, unknown>;
|
|
226
226
|
result?: unknown;
|
|
227
227
|
userIdentifier?: string | undefined;
|
|
228
228
|
}[] | undefined;
|
|
229
|
-
mcpServerUrl?: string | undefined;
|
|
230
229
|
consentEvents?: {
|
|
231
|
-
agentDid: string;
|
|
232
|
-
projectId: string;
|
|
233
230
|
timestamp: number;
|
|
231
|
+
agentDid: string;
|
|
234
232
|
scopes: string[];
|
|
235
233
|
sessionId: string;
|
|
234
|
+
projectId: string;
|
|
236
235
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
237
236
|
targetTools: string[];
|
|
237
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
238
|
+
delegationId?: string | undefined;
|
|
239
|
+
termsAccepted?: boolean | undefined;
|
|
238
240
|
userDid?: string | 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
|
-
scopeId: string;
|
|
250
249
|
tool: string;
|
|
250
|
+
scopeId: string;
|
|
251
251
|
args: Record<string, unknown>;
|
|
252
252
|
result?: unknown;
|
|
253
253
|
userIdentifier?: string | undefined;
|
|
254
254
|
}[] | undefined;
|
|
255
|
-
mcpServerUrl?: string | undefined;
|
|
256
255
|
consentEvents?: {
|
|
257
|
-
agentDid: string;
|
|
258
|
-
projectId: string;
|
|
259
256
|
timestamp: number;
|
|
257
|
+
agentDid: string;
|
|
260
258
|
scopes: string[];
|
|
261
259
|
sessionId: string;
|
|
260
|
+
projectId: string;
|
|
262
261
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
263
262
|
targetTools: string[];
|
|
263
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
264
|
+
delegationId?: string | undefined;
|
|
265
|
+
termsAccepted?: boolean | undefined;
|
|
264
266
|
userDid?: string | 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;
|
|
@@ -277,92 +277,92 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
277
277
|
jws: string;
|
|
278
278
|
meta: {
|
|
279
279
|
did: string;
|
|
280
|
-
kid: string;
|
|
281
280
|
nonce: string;
|
|
282
|
-
audience: string;
|
|
283
281
|
sessionId: string;
|
|
282
|
+
audience: string;
|
|
283
|
+
kid: string;
|
|
284
284
|
ts: number;
|
|
285
285
|
requestHash: string;
|
|
286
286
|
responseHash: string;
|
|
287
|
-
clientDid?: string | undefined;
|
|
288
287
|
scopeId?: string | undefined;
|
|
289
288
|
delegationRef?: string | undefined;
|
|
289
|
+
clientDid?: string | undefined;
|
|
290
290
|
};
|
|
291
291
|
}[];
|
|
292
|
-
delegation_id?: string | null | undefined;
|
|
293
292
|
context?: {
|
|
294
293
|
toolCalls?: {
|
|
295
|
-
scopeId: string;
|
|
296
294
|
tool: string;
|
|
295
|
+
scopeId: string;
|
|
297
296
|
args: Record<string, unknown>;
|
|
298
297
|
result?: unknown;
|
|
299
298
|
userIdentifier?: string | undefined;
|
|
300
299
|
}[] | undefined;
|
|
301
|
-
mcpServerUrl?: string | undefined;
|
|
302
300
|
consentEvents?: {
|
|
303
|
-
agentDid: string;
|
|
304
|
-
projectId: string;
|
|
305
301
|
timestamp: number;
|
|
302
|
+
agentDid: string;
|
|
306
303
|
scopes: string[];
|
|
307
304
|
sessionId: string;
|
|
305
|
+
projectId: string;
|
|
308
306
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
309
307
|
targetTools: string[];
|
|
308
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
309
|
+
delegationId?: string | undefined;
|
|
310
|
+
termsAccepted?: boolean | undefined;
|
|
310
311
|
userDid?: string | 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: {
|
|
323
323
|
jws: string;
|
|
324
324
|
meta: {
|
|
325
325
|
did: string;
|
|
326
|
-
kid: string;
|
|
327
326
|
nonce: string;
|
|
328
|
-
audience: string;
|
|
329
327
|
sessionId: string;
|
|
328
|
+
audience: string;
|
|
329
|
+
kid: string;
|
|
330
330
|
ts: number;
|
|
331
331
|
requestHash: string;
|
|
332
332
|
responseHash: string;
|
|
333
|
-
clientDid?: string | undefined;
|
|
334
333
|
scopeId?: string | undefined;
|
|
335
334
|
delegationRef?: string | undefined;
|
|
335
|
+
clientDid?: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}[];
|
|
338
|
-
delegation_id?: string | null | undefined;
|
|
339
338
|
context?: {
|
|
340
339
|
toolCalls?: {
|
|
341
|
-
scopeId: string;
|
|
342
340
|
tool: string;
|
|
341
|
+
scopeId: string;
|
|
343
342
|
args: Record<string, unknown>;
|
|
344
343
|
result?: unknown;
|
|
345
344
|
userIdentifier?: string | undefined;
|
|
346
345
|
}[] | undefined;
|
|
347
|
-
mcpServerUrl?: string | undefined;
|
|
348
346
|
consentEvents?: {
|
|
349
|
-
agentDid: string;
|
|
350
|
-
projectId: string;
|
|
351
347
|
timestamp: number;
|
|
348
|
+
agentDid: string;
|
|
352
349
|
scopes: string[];
|
|
353
350
|
sessionId: string;
|
|
351
|
+
projectId: string;
|
|
354
352
|
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
355
353
|
targetTools: string[];
|
|
354
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
355
|
+
delegationId?: string | undefined;
|
|
356
|
+
termsAccepted?: boolean | undefined;
|
|
356
357
|
userDid?: string | 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,59 +451,59 @@ 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
|
+
domain?: string | undefined;
|
|
455
456
|
provider?: string | undefined;
|
|
456
457
|
credentialType?: string | undefined;
|
|
457
458
|
rpId?: string | undefined;
|
|
458
459
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
459
460
|
chainId?: number | undefined;
|
|
460
|
-
domain?: string | undefined;
|
|
461
461
|
}, {
|
|
462
|
-
type: "
|
|
462
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
463
|
+
domain?: string | undefined;
|
|
463
464
|
provider?: string | undefined;
|
|
464
465
|
credentialType?: string | undefined;
|
|
465
466
|
rpId?: string | undefined;
|
|
466
467
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
467
468
|
chainId?: number | undefined;
|
|
468
|
-
domain?: string | undefined;
|
|
469
469
|
}>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
471
|
scopes: string[];
|
|
472
|
+
user_did: string;
|
|
472
473
|
authorization: {
|
|
473
|
-
type: "
|
|
474
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
475
|
+
domain?: string | undefined;
|
|
474
476
|
provider?: string | undefined;
|
|
475
477
|
credentialType?: string | undefined;
|
|
476
478
|
rpId?: string | undefined;
|
|
477
479
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
478
480
|
chainId?: number | undefined;
|
|
479
|
-
domain?: string | undefined;
|
|
480
481
|
};
|
|
481
482
|
agent_did: string;
|
|
482
|
-
user_did: string;
|
|
483
483
|
issued_at: number;
|
|
484
484
|
created_at: number;
|
|
485
|
-
constraints?: Record<string, unknown> | undefined;
|
|
486
485
|
user_id?: string | undefined;
|
|
487
486
|
user_identifier?: string | undefined;
|
|
487
|
+
constraints?: Record<string, unknown> | undefined;
|
|
488
488
|
credential_jwt?: string | undefined;
|
|
489
489
|
}, {
|
|
490
490
|
scopes: string[];
|
|
491
|
+
user_did: string;
|
|
491
492
|
authorization: {
|
|
492
|
-
type: "
|
|
493
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
494
|
+
domain?: string | undefined;
|
|
493
495
|
provider?: string | undefined;
|
|
494
496
|
credentialType?: string | undefined;
|
|
495
497
|
rpId?: string | undefined;
|
|
496
498
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
497
499
|
chainId?: number | undefined;
|
|
498
|
-
domain?: string | undefined;
|
|
499
500
|
};
|
|
500
501
|
agent_did: string;
|
|
501
|
-
user_did: string;
|
|
502
502
|
issued_at: number;
|
|
503
503
|
created_at: number;
|
|
504
|
-
constraints?: Record<string, unknown> | undefined;
|
|
505
504
|
user_id?: string | undefined;
|
|
506
505
|
user_identifier?: string | undefined;
|
|
506
|
+
constraints?: Record<string, unknown> | undefined;
|
|
507
507
|
credential_jwt?: string | undefined;
|
|
508
508
|
}>;
|
|
509
509
|
/**
|
|
@@ -512,21 +512,21 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
512
512
|
export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
513
513
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
514
514
|
scopes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
515
|
-
agent_did: z.ZodString;
|
|
516
515
|
user_did: z.ZodOptional<z.ZodString>;
|
|
517
|
-
|
|
516
|
+
agent_did: z.ZodString;
|
|
518
517
|
delegation_token: z.ZodOptional<z.ZodString>;
|
|
518
|
+
credential_jwt: z.ZodOptional<z.ZodString>;
|
|
519
519
|
client_info: z.ZodOptional<z.ZodObject<{
|
|
520
520
|
ip_address: z.ZodOptional<z.ZodString>;
|
|
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, {
|
|
@@ -534,11 +534,11 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
534
534
|
timestamp?: number | undefined;
|
|
535
535
|
scopes?: string[] | undefined;
|
|
536
536
|
user_did?: string | undefined;
|
|
537
|
-
credential_jwt?: string | undefined;
|
|
538
537
|
delegation_token?: string | undefined;
|
|
538
|
+
credential_jwt?: 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
|
}, {
|
|
@@ -546,11 +546,11 @@ export declare const verifyDelegationRequestSchema: z.ZodObject<{
|
|
|
546
546
|
timestamp?: number | undefined;
|
|
547
547
|
scopes?: string[] | undefined;
|
|
548
548
|
user_did?: string | undefined;
|
|
549
|
-
credential_jwt?: string | undefined;
|
|
550
549
|
delegation_token?: string | undefined;
|
|
550
|
+
credential_jwt?: 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
|
}>;
|
|
@@ -606,11 +606,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
606
606
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
607
607
|
}, "strip", z.ZodTypeAny, {
|
|
608
608
|
resource: string;
|
|
609
|
-
matcher: "exact" | "
|
|
609
|
+
matcher: "exact" | "regex" | "prefix";
|
|
610
610
|
constraints?: Record<string, any> | undefined;
|
|
611
611
|
}, {
|
|
612
612
|
resource: string;
|
|
613
|
-
matcher: "exact" | "
|
|
613
|
+
matcher: "exact" | "regex" | "prefix";
|
|
614
614
|
constraints?: Record<string, any> | undefined;
|
|
615
615
|
}>, "many">;
|
|
616
616
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -648,11 +648,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
648
648
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
649
649
|
}, "strip", z.ZodTypeAny, {
|
|
650
650
|
resource: string;
|
|
651
|
-
matcher: "exact" | "
|
|
651
|
+
matcher: "exact" | "regex" | "prefix";
|
|
652
652
|
constraints?: Record<string, any> | undefined;
|
|
653
653
|
}, {
|
|
654
654
|
resource: string;
|
|
655
|
-
matcher: "exact" | "
|
|
655
|
+
matcher: "exact" | "regex" | "prefix";
|
|
656
656
|
constraints?: Record<string, any> | undefined;
|
|
657
657
|
}>, "many">;
|
|
658
658
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -690,11 +690,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
690
690
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
691
691
|
}, "strip", z.ZodTypeAny, {
|
|
692
692
|
resource: string;
|
|
693
|
-
matcher: "exact" | "
|
|
693
|
+
matcher: "exact" | "regex" | "prefix";
|
|
694
694
|
constraints?: Record<string, any> | undefined;
|
|
695
695
|
}, {
|
|
696
696
|
resource: string;
|
|
697
|
-
matcher: "exact" | "
|
|
697
|
+
matcher: "exact" | "regex" | "prefix";
|
|
698
698
|
constraints?: Record<string, any> | undefined;
|
|
699
699
|
}>, "many">;
|
|
700
700
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -738,11 +738,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
738
738
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
739
739
|
}, "strip", z.ZodTypeAny, {
|
|
740
740
|
resource: string;
|
|
741
|
-
matcher: "exact" | "
|
|
741
|
+
matcher: "exact" | "regex" | "prefix";
|
|
742
742
|
constraints?: Record<string, any> | undefined;
|
|
743
743
|
}, {
|
|
744
744
|
resource: string;
|
|
745
|
-
matcher: "exact" | "
|
|
745
|
+
matcher: "exact" | "regex" | "prefix";
|
|
746
746
|
constraints?: Record<string, any> | undefined;
|
|
747
747
|
}>, "many">;
|
|
748
748
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -780,11 +780,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
780
780
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
781
781
|
}, "strip", z.ZodTypeAny, {
|
|
782
782
|
resource: string;
|
|
783
|
-
matcher: "exact" | "
|
|
783
|
+
matcher: "exact" | "regex" | "prefix";
|
|
784
784
|
constraints?: Record<string, any> | undefined;
|
|
785
785
|
}, {
|
|
786
786
|
resource: string;
|
|
787
|
-
matcher: "exact" | "
|
|
787
|
+
matcher: "exact" | "regex" | "prefix";
|
|
788
788
|
constraints?: Record<string, any> | undefined;
|
|
789
789
|
}>, "many">;
|
|
790
790
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -822,11 +822,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
822
822
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
823
823
|
}, "strip", z.ZodTypeAny, {
|
|
824
824
|
resource: string;
|
|
825
|
-
matcher: "exact" | "
|
|
825
|
+
matcher: "exact" | "regex" | "prefix";
|
|
826
826
|
constraints?: Record<string, any> | undefined;
|
|
827
827
|
}, {
|
|
828
828
|
resource: string;
|
|
829
|
-
matcher: "exact" | "
|
|
829
|
+
matcher: "exact" | "regex" | "prefix";
|
|
830
830
|
constraints?: Record<string, any> | undefined;
|
|
831
831
|
}>, "many">;
|
|
832
832
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -870,11 +870,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
870
870
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
871
871
|
}, "strip", z.ZodTypeAny, {
|
|
872
872
|
resource: string;
|
|
873
|
-
matcher: "exact" | "
|
|
873
|
+
matcher: "exact" | "regex" | "prefix";
|
|
874
874
|
constraints?: Record<string, any> | undefined;
|
|
875
875
|
}, {
|
|
876
876
|
resource: string;
|
|
877
|
-
matcher: "exact" | "
|
|
877
|
+
matcher: "exact" | "regex" | "prefix";
|
|
878
878
|
constraints?: Record<string, any> | undefined;
|
|
879
879
|
}>, "many">;
|
|
880
880
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -912,11 +912,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
912
912
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
913
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
914
|
resource: string;
|
|
915
|
-
matcher: "exact" | "
|
|
915
|
+
matcher: "exact" | "regex" | "prefix";
|
|
916
916
|
constraints?: Record<string, any> | undefined;
|
|
917
917
|
}, {
|
|
918
918
|
resource: string;
|
|
919
|
-
matcher: "exact" | "
|
|
919
|
+
matcher: "exact" | "regex" | "prefix";
|
|
920
920
|
constraints?: Record<string, any> | undefined;
|
|
921
921
|
}>, "many">;
|
|
922
922
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -954,11 +954,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
954
954
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
955
955
|
}, "strip", z.ZodTypeAny, {
|
|
956
956
|
resource: string;
|
|
957
|
-
matcher: "exact" | "
|
|
957
|
+
matcher: "exact" | "regex" | "prefix";
|
|
958
958
|
constraints?: Record<string, any> | undefined;
|
|
959
959
|
}, {
|
|
960
960
|
resource: string;
|
|
961
|
-
matcher: "exact" | "
|
|
961
|
+
matcher: "exact" | "regex" | "prefix";
|
|
962
962
|
constraints?: Record<string, any> | undefined;
|
|
963
963
|
}>, "many">;
|
|
964
964
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1016,11 +1016,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1016
1016
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1017
1017
|
}, "strip", z.ZodTypeAny, {
|
|
1018
1018
|
resource: string;
|
|
1019
|
-
matcher: "exact" | "
|
|
1019
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1020
1020
|
constraints?: Record<string, any> | undefined;
|
|
1021
1021
|
}, {
|
|
1022
1022
|
resource: string;
|
|
1023
|
-
matcher: "exact" | "
|
|
1023
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1024
1024
|
constraints?: Record<string, any> | undefined;
|
|
1025
1025
|
}>, "many">;
|
|
1026
1026
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1058,11 +1058,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1058
1058
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1059
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1060
1060
|
resource: string;
|
|
1061
|
-
matcher: "exact" | "
|
|
1061
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1062
1062
|
constraints?: Record<string, any> | undefined;
|
|
1063
1063
|
}, {
|
|
1064
1064
|
resource: string;
|
|
1065
|
-
matcher: "exact" | "
|
|
1065
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1066
1066
|
constraints?: Record<string, any> | undefined;
|
|
1067
1067
|
}>, "many">;
|
|
1068
1068
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1100,11 +1100,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1100
1100
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1101
1101
|
}, "strip", z.ZodTypeAny, {
|
|
1102
1102
|
resource: string;
|
|
1103
|
-
matcher: "exact" | "
|
|
1103
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1104
1104
|
constraints?: Record<string, any> | undefined;
|
|
1105
1105
|
}, {
|
|
1106
1106
|
resource: string;
|
|
1107
|
-
matcher: "exact" | "
|
|
1107
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1108
1108
|
constraints?: Record<string, any> | undefined;
|
|
1109
1109
|
}>, "many">;
|
|
1110
1110
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1148,11 +1148,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1148
1148
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1149
1149
|
}, "strip", z.ZodTypeAny, {
|
|
1150
1150
|
resource: string;
|
|
1151
|
-
matcher: "exact" | "
|
|
1151
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1152
1152
|
constraints?: Record<string, any> | undefined;
|
|
1153
1153
|
}, {
|
|
1154
1154
|
resource: string;
|
|
1155
|
-
matcher: "exact" | "
|
|
1155
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1156
1156
|
constraints?: Record<string, any> | undefined;
|
|
1157
1157
|
}>, "many">;
|
|
1158
1158
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1190,11 +1190,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1190
1190
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1192
|
resource: string;
|
|
1193
|
-
matcher: "exact" | "
|
|
1193
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1194
1194
|
constraints?: Record<string, any> | undefined;
|
|
1195
1195
|
}, {
|
|
1196
1196
|
resource: string;
|
|
1197
|
-
matcher: "exact" | "
|
|
1197
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1198
1198
|
constraints?: Record<string, any> | undefined;
|
|
1199
1199
|
}>, "many">;
|
|
1200
1200
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1232,11 +1232,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1232
1232
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1233
1233
|
}, "strip", z.ZodTypeAny, {
|
|
1234
1234
|
resource: string;
|
|
1235
|
-
matcher: "exact" | "
|
|
1235
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1236
1236
|
constraints?: Record<string, any> | undefined;
|
|
1237
1237
|
}, {
|
|
1238
1238
|
resource: string;
|
|
1239
|
-
matcher: "exact" | "
|
|
1239
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1240
1240
|
constraints?: Record<string, any> | undefined;
|
|
1241
1241
|
}>, "many">;
|
|
1242
1242
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1280,11 +1280,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1280
1280
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1281
1281
|
}, "strip", z.ZodTypeAny, {
|
|
1282
1282
|
resource: string;
|
|
1283
|
-
matcher: "exact" | "
|
|
1283
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1284
1284
|
constraints?: Record<string, any> | undefined;
|
|
1285
1285
|
}, {
|
|
1286
1286
|
resource: string;
|
|
1287
|
-
matcher: "exact" | "
|
|
1287
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1288
1288
|
constraints?: Record<string, any> | undefined;
|
|
1289
1289
|
}>, "many">;
|
|
1290
1290
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1322,11 +1322,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1322
1322
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1323
1323
|
}, "strip", z.ZodTypeAny, {
|
|
1324
1324
|
resource: string;
|
|
1325
|
-
matcher: "exact" | "
|
|
1325
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1326
1326
|
constraints?: Record<string, any> | undefined;
|
|
1327
1327
|
}, {
|
|
1328
1328
|
resource: string;
|
|
1329
|
-
matcher: "exact" | "
|
|
1329
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1330
1330
|
constraints?: Record<string, any> | undefined;
|
|
1331
1331
|
}>, "many">;
|
|
1332
1332
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1364,11 +1364,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1364
1364
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1365
1365
|
}, "strip", z.ZodTypeAny, {
|
|
1366
1366
|
resource: string;
|
|
1367
|
-
matcher: "exact" | "
|
|
1367
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1368
1368
|
constraints?: Record<string, any> | undefined;
|
|
1369
1369
|
}, {
|
|
1370
1370
|
resource: string;
|
|
1371
|
-
matcher: "exact" | "
|
|
1371
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1372
1372
|
constraints?: Record<string, any> | undefined;
|
|
1373
1373
|
}>, "many">;
|
|
1374
1374
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1426,11 +1426,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1426
1426
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1427
1427
|
}, "strip", z.ZodTypeAny, {
|
|
1428
1428
|
resource: string;
|
|
1429
|
-
matcher: "exact" | "
|
|
1429
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1430
1430
|
constraints?: Record<string, any> | undefined;
|
|
1431
1431
|
}, {
|
|
1432
1432
|
resource: string;
|
|
1433
|
-
matcher: "exact" | "
|
|
1433
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1434
1434
|
constraints?: Record<string, any> | undefined;
|
|
1435
1435
|
}>, "many">;
|
|
1436
1436
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1468,11 +1468,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1468
1468
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1469
1469
|
}, "strip", z.ZodTypeAny, {
|
|
1470
1470
|
resource: string;
|
|
1471
|
-
matcher: "exact" | "
|
|
1471
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1472
1472
|
constraints?: Record<string, any> | undefined;
|
|
1473
1473
|
}, {
|
|
1474
1474
|
resource: string;
|
|
1475
|
-
matcher: "exact" | "
|
|
1475
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1476
1476
|
constraints?: Record<string, any> | undefined;
|
|
1477
1477
|
}>, "many">;
|
|
1478
1478
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1510,11 +1510,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1510
1510
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1511
1511
|
}, "strip", z.ZodTypeAny, {
|
|
1512
1512
|
resource: string;
|
|
1513
|
-
matcher: "exact" | "
|
|
1513
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1514
1514
|
constraints?: Record<string, any> | undefined;
|
|
1515
1515
|
}, {
|
|
1516
1516
|
resource: string;
|
|
1517
|
-
matcher: "exact" | "
|
|
1517
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1518
1518
|
constraints?: Record<string, any> | undefined;
|
|
1519
1519
|
}>, "many">;
|
|
1520
1520
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1558,11 +1558,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1558
1558
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1559
1559
|
}, "strip", z.ZodTypeAny, {
|
|
1560
1560
|
resource: string;
|
|
1561
|
-
matcher: "exact" | "
|
|
1561
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1562
1562
|
constraints?: Record<string, any> | undefined;
|
|
1563
1563
|
}, {
|
|
1564
1564
|
resource: string;
|
|
1565
|
-
matcher: "exact" | "
|
|
1565
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1566
1566
|
constraints?: Record<string, any> | undefined;
|
|
1567
1567
|
}>, "many">;
|
|
1568
1568
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1600,11 +1600,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1600
1600
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1601
1601
|
}, "strip", z.ZodTypeAny, {
|
|
1602
1602
|
resource: string;
|
|
1603
|
-
matcher: "exact" | "
|
|
1603
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1604
1604
|
constraints?: Record<string, any> | undefined;
|
|
1605
1605
|
}, {
|
|
1606
1606
|
resource: string;
|
|
1607
|
-
matcher: "exact" | "
|
|
1607
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1608
1608
|
constraints?: Record<string, any> | undefined;
|
|
1609
1609
|
}>, "many">;
|
|
1610
1610
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1642,11 +1642,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1642
1642
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1643
1643
|
}, "strip", z.ZodTypeAny, {
|
|
1644
1644
|
resource: string;
|
|
1645
|
-
matcher: "exact" | "
|
|
1645
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1646
1646
|
constraints?: Record<string, any> | undefined;
|
|
1647
1647
|
}, {
|
|
1648
1648
|
resource: string;
|
|
1649
|
-
matcher: "exact" | "
|
|
1649
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1650
1650
|
constraints?: Record<string, any> | undefined;
|
|
1651
1651
|
}>, "many">;
|
|
1652
1652
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1690,11 +1690,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1690
1690
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1691
1691
|
}, "strip", z.ZodTypeAny, {
|
|
1692
1692
|
resource: string;
|
|
1693
|
-
matcher: "exact" | "
|
|
1693
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1694
1694
|
constraints?: Record<string, any> | undefined;
|
|
1695
1695
|
}, {
|
|
1696
1696
|
resource: string;
|
|
1697
|
-
matcher: "exact" | "
|
|
1697
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1698
1698
|
constraints?: Record<string, any> | undefined;
|
|
1699
1699
|
}>, "many">;
|
|
1700
1700
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1732,11 +1732,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1732
1732
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1733
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1734
1734
|
resource: string;
|
|
1735
|
-
matcher: "exact" | "
|
|
1735
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1736
1736
|
constraints?: Record<string, any> | undefined;
|
|
1737
1737
|
}, {
|
|
1738
1738
|
resource: string;
|
|
1739
|
-
matcher: "exact" | "
|
|
1739
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1740
1740
|
constraints?: Record<string, any> | undefined;
|
|
1741
1741
|
}>, "many">;
|
|
1742
1742
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1774,11 +1774,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1774
1774
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1775
1775
|
}, "strip", z.ZodTypeAny, {
|
|
1776
1776
|
resource: string;
|
|
1777
|
-
matcher: "exact" | "
|
|
1777
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1778
1778
|
constraints?: Record<string, any> | undefined;
|
|
1779
1779
|
}, {
|
|
1780
1780
|
resource: string;
|
|
1781
|
-
matcher: "exact" | "
|
|
1781
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1782
1782
|
constraints?: Record<string, any> | undefined;
|
|
1783
1783
|
}>, "many">;
|
|
1784
1784
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1810,59 +1810,59 @@ 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
|
+
domain?: string | undefined;
|
|
1814
1815
|
provider?: string | undefined;
|
|
1815
1816
|
credentialType?: string | undefined;
|
|
1816
1817
|
rpId?: string | undefined;
|
|
1817
1818
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
1818
1819
|
chainId?: number | undefined;
|
|
1819
|
-
domain?: string | undefined;
|
|
1820
1820
|
}, {
|
|
1821
|
-
type: "
|
|
1821
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1822
|
+
domain?: string | undefined;
|
|
1822
1823
|
provider?: string | undefined;
|
|
1823
1824
|
credentialType?: string | undefined;
|
|
1824
1825
|
rpId?: string | undefined;
|
|
1825
1826
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
1826
1827
|
chainId?: number | undefined;
|
|
1827
|
-
domain?: string | undefined;
|
|
1828
1828
|
}>;
|
|
1829
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1830
1830
|
scopes: string[];
|
|
1831
|
+
user_did: string;
|
|
1831
1832
|
authorization: {
|
|
1832
|
-
type: "
|
|
1833
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1834
|
+
domain?: string | undefined;
|
|
1833
1835
|
provider?: string | undefined;
|
|
1834
1836
|
credentialType?: string | undefined;
|
|
1835
1837
|
rpId?: string | undefined;
|
|
1836
1838
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
1837
1839
|
chainId?: number | undefined;
|
|
1838
|
-
domain?: string | undefined;
|
|
1839
1840
|
};
|
|
1840
1841
|
agent_did: string;
|
|
1841
|
-
user_did: string;
|
|
1842
1842
|
issued_at: number;
|
|
1843
1843
|
created_at: number;
|
|
1844
|
-
constraints?: Record<string, unknown> | undefined;
|
|
1845
1844
|
user_id?: string | undefined;
|
|
1846
1845
|
user_identifier?: string | undefined;
|
|
1846
|
+
constraints?: Record<string, unknown> | undefined;
|
|
1847
1847
|
credential_jwt?: string | undefined;
|
|
1848
1848
|
}, {
|
|
1849
1849
|
scopes: string[];
|
|
1850
|
+
user_did: string;
|
|
1850
1851
|
authorization: {
|
|
1851
|
-
type: "
|
|
1852
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
1853
|
+
domain?: string | undefined;
|
|
1852
1854
|
provider?: string | undefined;
|
|
1853
1855
|
credentialType?: string | undefined;
|
|
1854
1856
|
rpId?: string | undefined;
|
|
1855
1857
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
1856
1858
|
chainId?: number | undefined;
|
|
1857
|
-
domain?: string | undefined;
|
|
1858
1859
|
};
|
|
1859
1860
|
agent_did: string;
|
|
1860
|
-
user_did: string;
|
|
1861
1861
|
issued_at: number;
|
|
1862
1862
|
created_at: number;
|
|
1863
|
-
constraints?: Record<string, unknown> | undefined;
|
|
1864
1863
|
user_id?: string | undefined;
|
|
1865
1864
|
user_identifier?: string | undefined;
|
|
1865
|
+
constraints?: Record<string, unknown> | undefined;
|
|
1866
1866
|
credential_jwt?: string | undefined;
|
|
1867
1867
|
}>>;
|
|
1868
1868
|
error: z.ZodOptional<z.ZodObject<{
|
|
@@ -1881,33 +1881,6 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1881
1881
|
reason: z.ZodOptional<z.ZodString>;
|
|
1882
1882
|
}, "strip", z.ZodTypeAny, {
|
|
1883
1883
|
valid: boolean;
|
|
1884
|
-
error?: {
|
|
1885
|
-
code: string;
|
|
1886
|
-
message: string;
|
|
1887
|
-
details?: Record<string, unknown> | undefined;
|
|
1888
|
-
} | undefined;
|
|
1889
|
-
credential?: {
|
|
1890
|
-
scopes: string[];
|
|
1891
|
-
authorization: {
|
|
1892
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1893
|
-
provider?: string | undefined;
|
|
1894
|
-
credentialType?: string | undefined;
|
|
1895
|
-
rpId?: string | undefined;
|
|
1896
|
-
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
1897
|
-
chainId?: number | undefined;
|
|
1898
|
-
domain?: string | undefined;
|
|
1899
|
-
};
|
|
1900
|
-
agent_did: string;
|
|
1901
|
-
user_did: string;
|
|
1902
|
-
issued_at: number;
|
|
1903
|
-
created_at: number;
|
|
1904
|
-
constraints?: Record<string, unknown> | undefined;
|
|
1905
|
-
user_id?: string | undefined;
|
|
1906
|
-
user_identifier?: string | undefined;
|
|
1907
|
-
credential_jwt?: string | undefined;
|
|
1908
|
-
} | undefined;
|
|
1909
|
-
delegation_id?: string | undefined;
|
|
1910
|
-
reason?: string | undefined;
|
|
1911
1884
|
delegation?: z.objectOutputType<{
|
|
1912
1885
|
id: z.ZodString;
|
|
1913
1886
|
issuerDid: z.ZodString;
|
|
@@ -1955,11 +1928,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1955
1928
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1956
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1957
1930
|
resource: string;
|
|
1958
|
-
matcher: "exact" | "
|
|
1931
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1959
1932
|
constraints?: Record<string, any> | undefined;
|
|
1960
1933
|
}, {
|
|
1961
1934
|
resource: string;
|
|
1962
|
-
matcher: "exact" | "
|
|
1935
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1963
1936
|
constraints?: Record<string, any> | undefined;
|
|
1964
1937
|
}>, "many">;
|
|
1965
1938
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1997,11 +1970,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1997
1970
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1998
1971
|
}, "strip", z.ZodTypeAny, {
|
|
1999
1972
|
resource: string;
|
|
2000
|
-
matcher: "exact" | "
|
|
1973
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2001
1974
|
constraints?: Record<string, any> | undefined;
|
|
2002
1975
|
}, {
|
|
2003
1976
|
resource: string;
|
|
2004
|
-
matcher: "exact" | "
|
|
1977
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2005
1978
|
constraints?: Record<string, any> | undefined;
|
|
2006
1979
|
}>, "many">;
|
|
2007
1980
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2039,11 +2012,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2039
2012
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2040
2013
|
}, "strip", z.ZodTypeAny, {
|
|
2041
2014
|
resource: string;
|
|
2042
|
-
matcher: "exact" | "
|
|
2015
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2043
2016
|
constraints?: Record<string, any> | undefined;
|
|
2044
2017
|
}, {
|
|
2045
2018
|
resource: string;
|
|
2046
|
-
matcher: "exact" | "
|
|
2019
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2047
2020
|
constraints?: Record<string, any> | undefined;
|
|
2048
2021
|
}>, "many">;
|
|
2049
2022
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2087,11 +2060,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2087
2060
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2088
2061
|
}, "strip", z.ZodTypeAny, {
|
|
2089
2062
|
resource: string;
|
|
2090
|
-
matcher: "exact" | "
|
|
2063
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2091
2064
|
constraints?: Record<string, any> | undefined;
|
|
2092
2065
|
}, {
|
|
2093
2066
|
resource: string;
|
|
2094
|
-
matcher: "exact" | "
|
|
2067
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2095
2068
|
constraints?: Record<string, any> | undefined;
|
|
2096
2069
|
}>, "many">;
|
|
2097
2070
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2129,11 +2102,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2129
2102
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2130
2103
|
}, "strip", z.ZodTypeAny, {
|
|
2131
2104
|
resource: string;
|
|
2132
|
-
matcher: "exact" | "
|
|
2105
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2133
2106
|
constraints?: Record<string, any> | undefined;
|
|
2134
2107
|
}, {
|
|
2135
2108
|
resource: string;
|
|
2136
|
-
matcher: "exact" | "
|
|
2109
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2137
2110
|
constraints?: Record<string, any> | undefined;
|
|
2138
2111
|
}>, "many">;
|
|
2139
2112
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2171,11 +2144,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2171
2144
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2172
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2173
2146
|
resource: string;
|
|
2174
|
-
matcher: "exact" | "
|
|
2147
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2175
2148
|
constraints?: Record<string, any> | undefined;
|
|
2176
2149
|
}, {
|
|
2177
2150
|
resource: string;
|
|
2178
|
-
matcher: "exact" | "
|
|
2151
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2179
2152
|
constraints?: Record<string, any> | undefined;
|
|
2180
2153
|
}>, "many">;
|
|
2181
2154
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2219,11 +2192,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2219
2192
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2220
2193
|
}, "strip", z.ZodTypeAny, {
|
|
2221
2194
|
resource: string;
|
|
2222
|
-
matcher: "exact" | "
|
|
2195
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2223
2196
|
constraints?: Record<string, any> | undefined;
|
|
2224
2197
|
}, {
|
|
2225
2198
|
resource: string;
|
|
2226
|
-
matcher: "exact" | "
|
|
2199
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2227
2200
|
constraints?: Record<string, any> | undefined;
|
|
2228
2201
|
}>, "many">;
|
|
2229
2202
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2261,11 +2234,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2261
2234
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2262
2235
|
}, "strip", z.ZodTypeAny, {
|
|
2263
2236
|
resource: string;
|
|
2264
|
-
matcher: "exact" | "
|
|
2237
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2265
2238
|
constraints?: Record<string, any> | undefined;
|
|
2266
2239
|
}, {
|
|
2267
2240
|
resource: string;
|
|
2268
|
-
matcher: "exact" | "
|
|
2241
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2269
2242
|
constraints?: Record<string, any> | undefined;
|
|
2270
2243
|
}>, "many">;
|
|
2271
2244
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2303,11 +2276,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2303
2276
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2304
2277
|
}, "strip", z.ZodTypeAny, {
|
|
2305
2278
|
resource: string;
|
|
2306
|
-
matcher: "exact" | "
|
|
2279
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2307
2280
|
constraints?: Record<string, any> | undefined;
|
|
2308
2281
|
}, {
|
|
2309
2282
|
resource: string;
|
|
2310
|
-
matcher: "exact" | "
|
|
2283
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2311
2284
|
constraints?: Record<string, any> | undefined;
|
|
2312
2285
|
}>, "many">;
|
|
2313
2286
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2319,35 +2292,35 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2319
2292
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2320
2293
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2321
2294
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2322
|
-
}, {
|
|
2323
|
-
valid: boolean;
|
|
2324
2295
|
error?: {
|
|
2325
2296
|
code: string;
|
|
2326
2297
|
message: string;
|
|
2327
2298
|
details?: Record<string, unknown> | undefined;
|
|
2328
2299
|
} | undefined;
|
|
2300
|
+
reason?: string | undefined;
|
|
2329
2301
|
credential?: {
|
|
2330
2302
|
scopes: string[];
|
|
2303
|
+
user_did: string;
|
|
2331
2304
|
authorization: {
|
|
2332
|
-
type: "
|
|
2305
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
2306
|
+
domain?: string | undefined;
|
|
2333
2307
|
provider?: string | undefined;
|
|
2334
2308
|
credentialType?: string | undefined;
|
|
2335
2309
|
rpId?: string | undefined;
|
|
2336
2310
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
2337
2311
|
chainId?: number | undefined;
|
|
2338
|
-
domain?: string | undefined;
|
|
2339
2312
|
};
|
|
2340
2313
|
agent_did: string;
|
|
2341
|
-
user_did: string;
|
|
2342
2314
|
issued_at: number;
|
|
2343
2315
|
created_at: number;
|
|
2344
|
-
constraints?: Record<string, unknown> | undefined;
|
|
2345
2316
|
user_id?: string | undefined;
|
|
2346
2317
|
user_identifier?: string | undefined;
|
|
2318
|
+
constraints?: Record<string, unknown> | undefined;
|
|
2347
2319
|
credential_jwt?: string | undefined;
|
|
2348
2320
|
} | undefined;
|
|
2349
2321
|
delegation_id?: string | undefined;
|
|
2350
|
-
|
|
2322
|
+
}, {
|
|
2323
|
+
valid: boolean;
|
|
2351
2324
|
delegation?: z.objectInputType<{
|
|
2352
2325
|
id: z.ZodString;
|
|
2353
2326
|
issuerDid: z.ZodString;
|
|
@@ -2395,11 +2368,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2395
2368
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2396
2369
|
}, "strip", z.ZodTypeAny, {
|
|
2397
2370
|
resource: string;
|
|
2398
|
-
matcher: "exact" | "
|
|
2371
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2399
2372
|
constraints?: Record<string, any> | undefined;
|
|
2400
2373
|
}, {
|
|
2401
2374
|
resource: string;
|
|
2402
|
-
matcher: "exact" | "
|
|
2375
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2403
2376
|
constraints?: Record<string, any> | undefined;
|
|
2404
2377
|
}>, "many">;
|
|
2405
2378
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2437,11 +2410,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2437
2410
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2438
2411
|
}, "strip", z.ZodTypeAny, {
|
|
2439
2412
|
resource: string;
|
|
2440
|
-
matcher: "exact" | "
|
|
2413
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2441
2414
|
constraints?: Record<string, any> | undefined;
|
|
2442
2415
|
}, {
|
|
2443
2416
|
resource: string;
|
|
2444
|
-
matcher: "exact" | "
|
|
2417
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2445
2418
|
constraints?: Record<string, any> | undefined;
|
|
2446
2419
|
}>, "many">;
|
|
2447
2420
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2479,11 +2452,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2479
2452
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2480
2453
|
}, "strip", z.ZodTypeAny, {
|
|
2481
2454
|
resource: string;
|
|
2482
|
-
matcher: "exact" | "
|
|
2455
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2483
2456
|
constraints?: Record<string, any> | undefined;
|
|
2484
2457
|
}, {
|
|
2485
2458
|
resource: string;
|
|
2486
|
-
matcher: "exact" | "
|
|
2459
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2487
2460
|
constraints?: Record<string, any> | undefined;
|
|
2488
2461
|
}>, "many">;
|
|
2489
2462
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2527,11 +2500,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2527
2500
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2528
2501
|
}, "strip", z.ZodTypeAny, {
|
|
2529
2502
|
resource: string;
|
|
2530
|
-
matcher: "exact" | "
|
|
2503
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2531
2504
|
constraints?: Record<string, any> | undefined;
|
|
2532
2505
|
}, {
|
|
2533
2506
|
resource: string;
|
|
2534
|
-
matcher: "exact" | "
|
|
2507
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2535
2508
|
constraints?: Record<string, any> | undefined;
|
|
2536
2509
|
}>, "many">;
|
|
2537
2510
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2569,11 +2542,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2569
2542
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2570
2543
|
}, "strip", z.ZodTypeAny, {
|
|
2571
2544
|
resource: string;
|
|
2572
|
-
matcher: "exact" | "
|
|
2545
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2573
2546
|
constraints?: Record<string, any> | undefined;
|
|
2574
2547
|
}, {
|
|
2575
2548
|
resource: string;
|
|
2576
|
-
matcher: "exact" | "
|
|
2549
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2577
2550
|
constraints?: Record<string, any> | undefined;
|
|
2578
2551
|
}>, "many">;
|
|
2579
2552
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2611,11 +2584,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2611
2584
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2612
2585
|
}, "strip", z.ZodTypeAny, {
|
|
2613
2586
|
resource: string;
|
|
2614
|
-
matcher: "exact" | "
|
|
2587
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2615
2588
|
constraints?: Record<string, any> | undefined;
|
|
2616
2589
|
}, {
|
|
2617
2590
|
resource: string;
|
|
2618
|
-
matcher: "exact" | "
|
|
2591
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2619
2592
|
constraints?: Record<string, any> | undefined;
|
|
2620
2593
|
}>, "many">;
|
|
2621
2594
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2659,11 +2632,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2659
2632
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2660
2633
|
}, "strip", z.ZodTypeAny, {
|
|
2661
2634
|
resource: string;
|
|
2662
|
-
matcher: "exact" | "
|
|
2635
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2663
2636
|
constraints?: Record<string, any> | undefined;
|
|
2664
2637
|
}, {
|
|
2665
2638
|
resource: string;
|
|
2666
|
-
matcher: "exact" | "
|
|
2639
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2667
2640
|
constraints?: Record<string, any> | undefined;
|
|
2668
2641
|
}>, "many">;
|
|
2669
2642
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2701,11 +2674,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2701
2674
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2702
2675
|
}, "strip", z.ZodTypeAny, {
|
|
2703
2676
|
resource: string;
|
|
2704
|
-
matcher: "exact" | "
|
|
2677
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2705
2678
|
constraints?: Record<string, any> | undefined;
|
|
2706
2679
|
}, {
|
|
2707
2680
|
resource: string;
|
|
2708
|
-
matcher: "exact" | "
|
|
2681
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2709
2682
|
constraints?: Record<string, any> | undefined;
|
|
2710
2683
|
}>, "many">;
|
|
2711
2684
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2743,11 +2716,11 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2743
2716
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2744
2717
|
}, "strip", z.ZodTypeAny, {
|
|
2745
2718
|
resource: string;
|
|
2746
|
-
matcher: "exact" | "
|
|
2719
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2747
2720
|
constraints?: Record<string, any> | undefined;
|
|
2748
2721
|
}, {
|
|
2749
2722
|
resource: string;
|
|
2750
|
-
matcher: "exact" | "
|
|
2723
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2751
2724
|
constraints?: Record<string, any> | undefined;
|
|
2752
2725
|
}>, "many">;
|
|
2753
2726
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2759,6 +2732,33 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2759
2732
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2760
2733
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2761
2734
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2735
|
+
error?: {
|
|
2736
|
+
code: string;
|
|
2737
|
+
message: string;
|
|
2738
|
+
details?: Record<string, unknown> | undefined;
|
|
2739
|
+
} | undefined;
|
|
2740
|
+
reason?: string | undefined;
|
|
2741
|
+
credential?: {
|
|
2742
|
+
scopes: string[];
|
|
2743
|
+
user_did: string;
|
|
2744
|
+
authorization: {
|
|
2745
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
2746
|
+
domain?: string | undefined;
|
|
2747
|
+
provider?: string | undefined;
|
|
2748
|
+
credentialType?: string | undefined;
|
|
2749
|
+
rpId?: string | undefined;
|
|
2750
|
+
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
2751
|
+
chainId?: number | undefined;
|
|
2752
|
+
};
|
|
2753
|
+
agent_did: string;
|
|
2754
|
+
issued_at: number;
|
|
2755
|
+
created_at: number;
|
|
2756
|
+
user_id?: string | undefined;
|
|
2757
|
+
user_identifier?: string | undefined;
|
|
2758
|
+
constraints?: Record<string, unknown> | undefined;
|
|
2759
|
+
credential_jwt?: string | undefined;
|
|
2760
|
+
} | undefined;
|
|
2761
|
+
delegation_id?: string | undefined;
|
|
2762
2762
|
}>;
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Wrapped verification response schema
|
|
@@ -2814,11 +2814,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
2814
2814
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2815
2815
|
}, "strip", z.ZodTypeAny, {
|
|
2816
2816
|
resource: string;
|
|
2817
|
-
matcher: "exact" | "
|
|
2817
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2818
2818
|
constraints?: Record<string, any> | undefined;
|
|
2819
2819
|
}, {
|
|
2820
2820
|
resource: string;
|
|
2821
|
-
matcher: "exact" | "
|
|
2821
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2822
2822
|
constraints?: Record<string, any> | undefined;
|
|
2823
2823
|
}>, "many">;
|
|
2824
2824
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2856,11 +2856,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
2856
2856
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2857
2857
|
}, "strip", z.ZodTypeAny, {
|
|
2858
2858
|
resource: string;
|
|
2859
|
-
matcher: "exact" | "
|
|
2859
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2860
2860
|
constraints?: Record<string, any> | undefined;
|
|
2861
2861
|
}, {
|
|
2862
2862
|
resource: string;
|
|
2863
|
-
matcher: "exact" | "
|
|
2863
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2864
2864
|
constraints?: Record<string, any> | undefined;
|
|
2865
2865
|
}>, "many">;
|
|
2866
2866
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2898,11 +2898,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
2898
2898
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2899
2899
|
}, "strip", z.ZodTypeAny, {
|
|
2900
2900
|
resource: string;
|
|
2901
|
-
matcher: "exact" | "
|
|
2901
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2902
2902
|
constraints?: Record<string, any> | undefined;
|
|
2903
2903
|
}, {
|
|
2904
2904
|
resource: string;
|
|
2905
|
-
matcher: "exact" | "
|
|
2905
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2906
2906
|
constraints?: Record<string, any> | undefined;
|
|
2907
2907
|
}>, "many">;
|
|
2908
2908
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2946,11 +2946,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
2946
2946
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2947
2947
|
}, "strip", z.ZodTypeAny, {
|
|
2948
2948
|
resource: string;
|
|
2949
|
-
matcher: "exact" | "
|
|
2949
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2950
2950
|
constraints?: Record<string, any> | undefined;
|
|
2951
2951
|
}, {
|
|
2952
2952
|
resource: string;
|
|
2953
|
-
matcher: "exact" | "
|
|
2953
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2954
2954
|
constraints?: Record<string, any> | undefined;
|
|
2955
2955
|
}>, "many">;
|
|
2956
2956
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2988,11 +2988,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
2988
2988
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2989
2989
|
}, "strip", z.ZodTypeAny, {
|
|
2990
2990
|
resource: string;
|
|
2991
|
-
matcher: "exact" | "
|
|
2991
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2992
2992
|
constraints?: Record<string, any> | undefined;
|
|
2993
2993
|
}, {
|
|
2994
2994
|
resource: string;
|
|
2995
|
-
matcher: "exact" | "
|
|
2995
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2996
2996
|
constraints?: Record<string, any> | undefined;
|
|
2997
2997
|
}>, "many">;
|
|
2998
2998
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3030,11 +3030,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3030
3030
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3031
3031
|
}, "strip", z.ZodTypeAny, {
|
|
3032
3032
|
resource: string;
|
|
3033
|
-
matcher: "exact" | "
|
|
3033
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3034
3034
|
constraints?: Record<string, any> | undefined;
|
|
3035
3035
|
}, {
|
|
3036
3036
|
resource: string;
|
|
3037
|
-
matcher: "exact" | "
|
|
3037
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3038
3038
|
constraints?: Record<string, any> | undefined;
|
|
3039
3039
|
}>, "many">;
|
|
3040
3040
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3078,11 +3078,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3078
3078
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3079
3079
|
}, "strip", z.ZodTypeAny, {
|
|
3080
3080
|
resource: string;
|
|
3081
|
-
matcher: "exact" | "
|
|
3081
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3082
3082
|
constraints?: Record<string, any> | undefined;
|
|
3083
3083
|
}, {
|
|
3084
3084
|
resource: string;
|
|
3085
|
-
matcher: "exact" | "
|
|
3085
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3086
3086
|
constraints?: Record<string, any> | undefined;
|
|
3087
3087
|
}>, "many">;
|
|
3088
3088
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3120,11 +3120,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3120
3120
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3121
3121
|
}, "strip", z.ZodTypeAny, {
|
|
3122
3122
|
resource: string;
|
|
3123
|
-
matcher: "exact" | "
|
|
3123
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3124
3124
|
constraints?: Record<string, any> | undefined;
|
|
3125
3125
|
}, {
|
|
3126
3126
|
resource: string;
|
|
3127
|
-
matcher: "exact" | "
|
|
3127
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3128
3128
|
constraints?: Record<string, any> | undefined;
|
|
3129
3129
|
}>, "many">;
|
|
3130
3130
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3162,11 +3162,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3162
3162
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3163
3163
|
}, "strip", z.ZodTypeAny, {
|
|
3164
3164
|
resource: string;
|
|
3165
|
-
matcher: "exact" | "
|
|
3165
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3166
3166
|
constraints?: Record<string, any> | undefined;
|
|
3167
3167
|
}, {
|
|
3168
3168
|
resource: string;
|
|
3169
|
-
matcher: "exact" | "
|
|
3169
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3170
3170
|
constraints?: Record<string, any> | undefined;
|
|
3171
3171
|
}>, "many">;
|
|
3172
3172
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3224,11 +3224,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3224
3224
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3225
3225
|
}, "strip", z.ZodTypeAny, {
|
|
3226
3226
|
resource: string;
|
|
3227
|
-
matcher: "exact" | "
|
|
3227
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3228
3228
|
constraints?: Record<string, any> | undefined;
|
|
3229
3229
|
}, {
|
|
3230
3230
|
resource: string;
|
|
3231
|
-
matcher: "exact" | "
|
|
3231
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3232
3232
|
constraints?: Record<string, any> | undefined;
|
|
3233
3233
|
}>, "many">;
|
|
3234
3234
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3266,11 +3266,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3266
3266
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3267
3267
|
}, "strip", z.ZodTypeAny, {
|
|
3268
3268
|
resource: string;
|
|
3269
|
-
matcher: "exact" | "
|
|
3269
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3270
3270
|
constraints?: Record<string, any> | undefined;
|
|
3271
3271
|
}, {
|
|
3272
3272
|
resource: string;
|
|
3273
|
-
matcher: "exact" | "
|
|
3273
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3274
3274
|
constraints?: Record<string, any> | undefined;
|
|
3275
3275
|
}>, "many">;
|
|
3276
3276
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3308,11 +3308,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3308
3308
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3309
3309
|
}, "strip", z.ZodTypeAny, {
|
|
3310
3310
|
resource: string;
|
|
3311
|
-
matcher: "exact" | "
|
|
3311
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3312
3312
|
constraints?: Record<string, any> | undefined;
|
|
3313
3313
|
}, {
|
|
3314
3314
|
resource: string;
|
|
3315
|
-
matcher: "exact" | "
|
|
3315
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3316
3316
|
constraints?: Record<string, any> | undefined;
|
|
3317
3317
|
}>, "many">;
|
|
3318
3318
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3356,11 +3356,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3356
3356
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3357
3357
|
}, "strip", z.ZodTypeAny, {
|
|
3358
3358
|
resource: string;
|
|
3359
|
-
matcher: "exact" | "
|
|
3359
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3360
3360
|
constraints?: Record<string, any> | undefined;
|
|
3361
3361
|
}, {
|
|
3362
3362
|
resource: string;
|
|
3363
|
-
matcher: "exact" | "
|
|
3363
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3364
3364
|
constraints?: Record<string, any> | undefined;
|
|
3365
3365
|
}>, "many">;
|
|
3366
3366
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3398,11 +3398,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3398
3398
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3399
3399
|
}, "strip", z.ZodTypeAny, {
|
|
3400
3400
|
resource: string;
|
|
3401
|
-
matcher: "exact" | "
|
|
3401
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3402
3402
|
constraints?: Record<string, any> | undefined;
|
|
3403
3403
|
}, {
|
|
3404
3404
|
resource: string;
|
|
3405
|
-
matcher: "exact" | "
|
|
3405
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3406
3406
|
constraints?: Record<string, any> | undefined;
|
|
3407
3407
|
}>, "many">;
|
|
3408
3408
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3440,11 +3440,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3440
3440
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3441
3441
|
}, "strip", z.ZodTypeAny, {
|
|
3442
3442
|
resource: string;
|
|
3443
|
-
matcher: "exact" | "
|
|
3443
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3444
3444
|
constraints?: Record<string, any> | undefined;
|
|
3445
3445
|
}, {
|
|
3446
3446
|
resource: string;
|
|
3447
|
-
matcher: "exact" | "
|
|
3447
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3448
3448
|
constraints?: Record<string, any> | undefined;
|
|
3449
3449
|
}>, "many">;
|
|
3450
3450
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3488,11 +3488,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3488
3488
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3489
3489
|
}, "strip", z.ZodTypeAny, {
|
|
3490
3490
|
resource: string;
|
|
3491
|
-
matcher: "exact" | "
|
|
3491
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3492
3492
|
constraints?: Record<string, any> | undefined;
|
|
3493
3493
|
}, {
|
|
3494
3494
|
resource: string;
|
|
3495
|
-
matcher: "exact" | "
|
|
3495
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3496
3496
|
constraints?: Record<string, any> | undefined;
|
|
3497
3497
|
}>, "many">;
|
|
3498
3498
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3530,11 +3530,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3530
3530
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3531
3531
|
}, "strip", z.ZodTypeAny, {
|
|
3532
3532
|
resource: string;
|
|
3533
|
-
matcher: "exact" | "
|
|
3533
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3534
3534
|
constraints?: Record<string, any> | undefined;
|
|
3535
3535
|
}, {
|
|
3536
3536
|
resource: string;
|
|
3537
|
-
matcher: "exact" | "
|
|
3537
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3538
3538
|
constraints?: Record<string, any> | undefined;
|
|
3539
3539
|
}>, "many">;
|
|
3540
3540
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3572,11 +3572,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3572
3572
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3573
3573
|
}, "strip", z.ZodTypeAny, {
|
|
3574
3574
|
resource: string;
|
|
3575
|
-
matcher: "exact" | "
|
|
3575
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3576
3576
|
constraints?: Record<string, any> | undefined;
|
|
3577
3577
|
}, {
|
|
3578
3578
|
resource: string;
|
|
3579
|
-
matcher: "exact" | "
|
|
3579
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3580
3580
|
constraints?: Record<string, any> | undefined;
|
|
3581
3581
|
}>, "many">;
|
|
3582
3582
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3634,11 +3634,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3634
3634
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3635
3635
|
}, "strip", z.ZodTypeAny, {
|
|
3636
3636
|
resource: string;
|
|
3637
|
-
matcher: "exact" | "
|
|
3637
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3638
3638
|
constraints?: Record<string, any> | undefined;
|
|
3639
3639
|
}, {
|
|
3640
3640
|
resource: string;
|
|
3641
|
-
matcher: "exact" | "
|
|
3641
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3642
3642
|
constraints?: Record<string, any> | undefined;
|
|
3643
3643
|
}>, "many">;
|
|
3644
3644
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3676,11 +3676,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3676
3676
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3677
3677
|
}, "strip", z.ZodTypeAny, {
|
|
3678
3678
|
resource: string;
|
|
3679
|
-
matcher: "exact" | "
|
|
3679
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3680
3680
|
constraints?: Record<string, any> | undefined;
|
|
3681
3681
|
}, {
|
|
3682
3682
|
resource: string;
|
|
3683
|
-
matcher: "exact" | "
|
|
3683
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3684
3684
|
constraints?: Record<string, any> | undefined;
|
|
3685
3685
|
}>, "many">;
|
|
3686
3686
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3718,11 +3718,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3718
3718
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3719
3719
|
}, "strip", z.ZodTypeAny, {
|
|
3720
3720
|
resource: string;
|
|
3721
|
-
matcher: "exact" | "
|
|
3721
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3722
3722
|
constraints?: Record<string, any> | undefined;
|
|
3723
3723
|
}, {
|
|
3724
3724
|
resource: string;
|
|
3725
|
-
matcher: "exact" | "
|
|
3725
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3726
3726
|
constraints?: Record<string, any> | undefined;
|
|
3727
3727
|
}>, "many">;
|
|
3728
3728
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3766,11 +3766,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3766
3766
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3767
3767
|
}, "strip", z.ZodTypeAny, {
|
|
3768
3768
|
resource: string;
|
|
3769
|
-
matcher: "exact" | "
|
|
3769
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3770
3770
|
constraints?: Record<string, any> | undefined;
|
|
3771
3771
|
}, {
|
|
3772
3772
|
resource: string;
|
|
3773
|
-
matcher: "exact" | "
|
|
3773
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3774
3774
|
constraints?: Record<string, any> | undefined;
|
|
3775
3775
|
}>, "many">;
|
|
3776
3776
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3808,11 +3808,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3808
3808
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3809
3809
|
}, "strip", z.ZodTypeAny, {
|
|
3810
3810
|
resource: string;
|
|
3811
|
-
matcher: "exact" | "
|
|
3811
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3812
3812
|
constraints?: Record<string, any> | undefined;
|
|
3813
3813
|
}, {
|
|
3814
3814
|
resource: string;
|
|
3815
|
-
matcher: "exact" | "
|
|
3815
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3816
3816
|
constraints?: Record<string, any> | undefined;
|
|
3817
3817
|
}>, "many">;
|
|
3818
3818
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3850,11 +3850,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3850
3850
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3851
3851
|
}, "strip", z.ZodTypeAny, {
|
|
3852
3852
|
resource: string;
|
|
3853
|
-
matcher: "exact" | "
|
|
3853
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3854
3854
|
constraints?: Record<string, any> | undefined;
|
|
3855
3855
|
}, {
|
|
3856
3856
|
resource: string;
|
|
3857
|
-
matcher: "exact" | "
|
|
3857
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3858
3858
|
constraints?: Record<string, any> | undefined;
|
|
3859
3859
|
}>, "many">;
|
|
3860
3860
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3898,11 +3898,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3898
3898
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3899
3899
|
}, "strip", z.ZodTypeAny, {
|
|
3900
3900
|
resource: string;
|
|
3901
|
-
matcher: "exact" | "
|
|
3901
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3902
3902
|
constraints?: Record<string, any> | undefined;
|
|
3903
3903
|
}, {
|
|
3904
3904
|
resource: string;
|
|
3905
|
-
matcher: "exact" | "
|
|
3905
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3906
3906
|
constraints?: Record<string, any> | undefined;
|
|
3907
3907
|
}>, "many">;
|
|
3908
3908
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3940,11 +3940,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3940
3940
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3941
3941
|
}, "strip", z.ZodTypeAny, {
|
|
3942
3942
|
resource: string;
|
|
3943
|
-
matcher: "exact" | "
|
|
3943
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3944
3944
|
constraints?: Record<string, any> | undefined;
|
|
3945
3945
|
}, {
|
|
3946
3946
|
resource: string;
|
|
3947
|
-
matcher: "exact" | "
|
|
3947
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3948
3948
|
constraints?: Record<string, any> | undefined;
|
|
3949
3949
|
}>, "many">;
|
|
3950
3950
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3982,11 +3982,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
3982
3982
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3983
3983
|
}, "strip", z.ZodTypeAny, {
|
|
3984
3984
|
resource: string;
|
|
3985
|
-
matcher: "exact" | "
|
|
3985
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3986
3986
|
constraints?: Record<string, any> | undefined;
|
|
3987
3987
|
}, {
|
|
3988
3988
|
resource: string;
|
|
3989
|
-
matcher: "exact" | "
|
|
3989
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3990
3990
|
constraints?: Record<string, any> | undefined;
|
|
3991
3991
|
}>, "many">;
|
|
3992
3992
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4018,59 +4018,59 @@ 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
|
+
domain?: string | undefined;
|
|
4022
4023
|
provider?: string | undefined;
|
|
4023
4024
|
credentialType?: string | undefined;
|
|
4024
4025
|
rpId?: string | undefined;
|
|
4025
4026
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4026
4027
|
chainId?: number | undefined;
|
|
4027
|
-
domain?: string | undefined;
|
|
4028
4028
|
}, {
|
|
4029
|
-
type: "
|
|
4029
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4030
|
+
domain?: string | undefined;
|
|
4030
4031
|
provider?: string | undefined;
|
|
4031
4032
|
credentialType?: string | undefined;
|
|
4032
4033
|
rpId?: string | undefined;
|
|
4033
4034
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4034
4035
|
chainId?: number | undefined;
|
|
4035
|
-
domain?: string | undefined;
|
|
4036
4036
|
}>;
|
|
4037
4037
|
}, "strip", z.ZodTypeAny, {
|
|
4038
4038
|
scopes: string[];
|
|
4039
|
+
user_did: string;
|
|
4039
4040
|
authorization: {
|
|
4040
|
-
type: "
|
|
4041
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4042
|
+
domain?: string | undefined;
|
|
4041
4043
|
provider?: string | undefined;
|
|
4042
4044
|
credentialType?: string | undefined;
|
|
4043
4045
|
rpId?: string | undefined;
|
|
4044
4046
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4045
4047
|
chainId?: number | undefined;
|
|
4046
|
-
domain?: string | undefined;
|
|
4047
4048
|
};
|
|
4048
4049
|
agent_did: string;
|
|
4049
|
-
user_did: string;
|
|
4050
4050
|
issued_at: number;
|
|
4051
4051
|
created_at: number;
|
|
4052
|
-
constraints?: Record<string, unknown> | undefined;
|
|
4053
4052
|
user_id?: string | undefined;
|
|
4054
4053
|
user_identifier?: string | undefined;
|
|
4054
|
+
constraints?: Record<string, unknown> | undefined;
|
|
4055
4055
|
credential_jwt?: string | undefined;
|
|
4056
4056
|
}, {
|
|
4057
4057
|
scopes: string[];
|
|
4058
|
+
user_did: string;
|
|
4058
4059
|
authorization: {
|
|
4059
|
-
type: "
|
|
4060
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4061
|
+
domain?: string | undefined;
|
|
4060
4062
|
provider?: string | undefined;
|
|
4061
4063
|
credentialType?: string | undefined;
|
|
4062
4064
|
rpId?: string | undefined;
|
|
4063
4065
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4064
4066
|
chainId?: number | undefined;
|
|
4065
|
-
domain?: string | undefined;
|
|
4066
4067
|
};
|
|
4067
4068
|
agent_did: string;
|
|
4068
|
-
user_did: string;
|
|
4069
4069
|
issued_at: number;
|
|
4070
4070
|
created_at: number;
|
|
4071
|
-
constraints?: Record<string, unknown> | undefined;
|
|
4072
4071
|
user_id?: string | undefined;
|
|
4073
4072
|
user_identifier?: string | undefined;
|
|
4073
|
+
constraints?: Record<string, unknown> | undefined;
|
|
4074
4074
|
credential_jwt?: string | undefined;
|
|
4075
4075
|
}>>;
|
|
4076
4076
|
error: z.ZodOptional<z.ZodObject<{
|
|
@@ -4089,33 +4089,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4089
4089
|
reason: z.ZodOptional<z.ZodString>;
|
|
4090
4090
|
}, "strip", z.ZodTypeAny, {
|
|
4091
4091
|
valid: boolean;
|
|
4092
|
-
error?: {
|
|
4093
|
-
code: string;
|
|
4094
|
-
message: string;
|
|
4095
|
-
details?: Record<string, unknown> | undefined;
|
|
4096
|
-
} | undefined;
|
|
4097
|
-
credential?: {
|
|
4098
|
-
scopes: string[];
|
|
4099
|
-
authorization: {
|
|
4100
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4101
|
-
provider?: string | undefined;
|
|
4102
|
-
credentialType?: string | undefined;
|
|
4103
|
-
rpId?: string | undefined;
|
|
4104
|
-
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4105
|
-
chainId?: number | undefined;
|
|
4106
|
-
domain?: string | undefined;
|
|
4107
|
-
};
|
|
4108
|
-
agent_did: string;
|
|
4109
|
-
user_did: string;
|
|
4110
|
-
issued_at: number;
|
|
4111
|
-
created_at: number;
|
|
4112
|
-
constraints?: Record<string, unknown> | undefined;
|
|
4113
|
-
user_id?: string | undefined;
|
|
4114
|
-
user_identifier?: string | undefined;
|
|
4115
|
-
credential_jwt?: string | undefined;
|
|
4116
|
-
} | undefined;
|
|
4117
|
-
delegation_id?: string | undefined;
|
|
4118
|
-
reason?: string | undefined;
|
|
4119
4092
|
delegation?: z.objectOutputType<{
|
|
4120
4093
|
id: z.ZodString;
|
|
4121
4094
|
issuerDid: z.ZodString;
|
|
@@ -4163,11 +4136,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4163
4136
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4164
4137
|
}, "strip", z.ZodTypeAny, {
|
|
4165
4138
|
resource: string;
|
|
4166
|
-
matcher: "exact" | "
|
|
4139
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4167
4140
|
constraints?: Record<string, any> | undefined;
|
|
4168
4141
|
}, {
|
|
4169
4142
|
resource: string;
|
|
4170
|
-
matcher: "exact" | "
|
|
4143
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4171
4144
|
constraints?: Record<string, any> | undefined;
|
|
4172
4145
|
}>, "many">;
|
|
4173
4146
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4205,11 +4178,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4205
4178
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4206
4179
|
}, "strip", z.ZodTypeAny, {
|
|
4207
4180
|
resource: string;
|
|
4208
|
-
matcher: "exact" | "
|
|
4181
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4209
4182
|
constraints?: Record<string, any> | undefined;
|
|
4210
4183
|
}, {
|
|
4211
4184
|
resource: string;
|
|
4212
|
-
matcher: "exact" | "
|
|
4185
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4213
4186
|
constraints?: Record<string, any> | undefined;
|
|
4214
4187
|
}>, "many">;
|
|
4215
4188
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4247,11 +4220,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4247
4220
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4248
4221
|
}, "strip", z.ZodTypeAny, {
|
|
4249
4222
|
resource: string;
|
|
4250
|
-
matcher: "exact" | "
|
|
4223
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4251
4224
|
constraints?: Record<string, any> | undefined;
|
|
4252
4225
|
}, {
|
|
4253
4226
|
resource: string;
|
|
4254
|
-
matcher: "exact" | "
|
|
4227
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4255
4228
|
constraints?: Record<string, any> | undefined;
|
|
4256
4229
|
}>, "many">;
|
|
4257
4230
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4295,11 +4268,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4295
4268
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4296
4269
|
}, "strip", z.ZodTypeAny, {
|
|
4297
4270
|
resource: string;
|
|
4298
|
-
matcher: "exact" | "
|
|
4271
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4299
4272
|
constraints?: Record<string, any> | undefined;
|
|
4300
4273
|
}, {
|
|
4301
4274
|
resource: string;
|
|
4302
|
-
matcher: "exact" | "
|
|
4275
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4303
4276
|
constraints?: Record<string, any> | undefined;
|
|
4304
4277
|
}>, "many">;
|
|
4305
4278
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4337,11 +4310,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4337
4310
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4338
4311
|
}, "strip", z.ZodTypeAny, {
|
|
4339
4312
|
resource: string;
|
|
4340
|
-
matcher: "exact" | "
|
|
4313
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4341
4314
|
constraints?: Record<string, any> | undefined;
|
|
4342
4315
|
}, {
|
|
4343
4316
|
resource: string;
|
|
4344
|
-
matcher: "exact" | "
|
|
4317
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4345
4318
|
constraints?: Record<string, any> | undefined;
|
|
4346
4319
|
}>, "many">;
|
|
4347
4320
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4379,11 +4352,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4379
4352
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4380
4353
|
}, "strip", z.ZodTypeAny, {
|
|
4381
4354
|
resource: string;
|
|
4382
|
-
matcher: "exact" | "
|
|
4355
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4383
4356
|
constraints?: Record<string, any> | undefined;
|
|
4384
4357
|
}, {
|
|
4385
4358
|
resource: string;
|
|
4386
|
-
matcher: "exact" | "
|
|
4359
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4387
4360
|
constraints?: Record<string, any> | undefined;
|
|
4388
4361
|
}>, "many">;
|
|
4389
4362
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4427,11 +4400,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4427
4400
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4428
4401
|
}, "strip", z.ZodTypeAny, {
|
|
4429
4402
|
resource: string;
|
|
4430
|
-
matcher: "exact" | "
|
|
4403
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4431
4404
|
constraints?: Record<string, any> | undefined;
|
|
4432
4405
|
}, {
|
|
4433
4406
|
resource: string;
|
|
4434
|
-
matcher: "exact" | "
|
|
4407
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4435
4408
|
constraints?: Record<string, any> | undefined;
|
|
4436
4409
|
}>, "many">;
|
|
4437
4410
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4469,11 +4442,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4469
4442
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4470
4443
|
}, "strip", z.ZodTypeAny, {
|
|
4471
4444
|
resource: string;
|
|
4472
|
-
matcher: "exact" | "
|
|
4445
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4473
4446
|
constraints?: Record<string, any> | undefined;
|
|
4474
4447
|
}, {
|
|
4475
4448
|
resource: string;
|
|
4476
|
-
matcher: "exact" | "
|
|
4449
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4477
4450
|
constraints?: Record<string, any> | undefined;
|
|
4478
4451
|
}>, "many">;
|
|
4479
4452
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4511,11 +4484,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4511
4484
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4512
4485
|
}, "strip", z.ZodTypeAny, {
|
|
4513
4486
|
resource: string;
|
|
4514
|
-
matcher: "exact" | "
|
|
4487
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4515
4488
|
constraints?: Record<string, any> | undefined;
|
|
4516
4489
|
}, {
|
|
4517
4490
|
resource: string;
|
|
4518
|
-
matcher: "exact" | "
|
|
4491
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4519
4492
|
constraints?: Record<string, any> | undefined;
|
|
4520
4493
|
}>, "many">;
|
|
4521
4494
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4527,35 +4500,35 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4527
4500
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4528
4501
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4529
4502
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4530
|
-
}, {
|
|
4531
|
-
valid: boolean;
|
|
4532
4503
|
error?: {
|
|
4533
4504
|
code: string;
|
|
4534
4505
|
message: string;
|
|
4535
4506
|
details?: Record<string, unknown> | undefined;
|
|
4536
4507
|
} | undefined;
|
|
4508
|
+
reason?: string | undefined;
|
|
4537
4509
|
credential?: {
|
|
4538
4510
|
scopes: string[];
|
|
4511
|
+
user_did: string;
|
|
4539
4512
|
authorization: {
|
|
4540
|
-
type: "
|
|
4513
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4514
|
+
domain?: string | undefined;
|
|
4541
4515
|
provider?: string | undefined;
|
|
4542
4516
|
credentialType?: string | undefined;
|
|
4543
4517
|
rpId?: string | undefined;
|
|
4544
4518
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4545
4519
|
chainId?: number | undefined;
|
|
4546
|
-
domain?: string | undefined;
|
|
4547
4520
|
};
|
|
4548
4521
|
agent_did: string;
|
|
4549
|
-
user_did: string;
|
|
4550
4522
|
issued_at: number;
|
|
4551
4523
|
created_at: number;
|
|
4552
|
-
constraints?: Record<string, unknown> | undefined;
|
|
4553
4524
|
user_id?: string | undefined;
|
|
4554
4525
|
user_identifier?: string | undefined;
|
|
4526
|
+
constraints?: Record<string, unknown> | undefined;
|
|
4555
4527
|
credential_jwt?: string | undefined;
|
|
4556
4528
|
} | undefined;
|
|
4557
4529
|
delegation_id?: string | undefined;
|
|
4558
|
-
|
|
4530
|
+
}, {
|
|
4531
|
+
valid: boolean;
|
|
4559
4532
|
delegation?: z.objectInputType<{
|
|
4560
4533
|
id: z.ZodString;
|
|
4561
4534
|
issuerDid: z.ZodString;
|
|
@@ -4603,11 +4576,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4603
4576
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4604
4577
|
}, "strip", z.ZodTypeAny, {
|
|
4605
4578
|
resource: string;
|
|
4606
|
-
matcher: "exact" | "
|
|
4579
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4607
4580
|
constraints?: Record<string, any> | undefined;
|
|
4608
4581
|
}, {
|
|
4609
4582
|
resource: string;
|
|
4610
|
-
matcher: "exact" | "
|
|
4583
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4611
4584
|
constraints?: Record<string, any> | undefined;
|
|
4612
4585
|
}>, "many">;
|
|
4613
4586
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4645,11 +4618,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4645
4618
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4646
4619
|
}, "strip", z.ZodTypeAny, {
|
|
4647
4620
|
resource: string;
|
|
4648
|
-
matcher: "exact" | "
|
|
4621
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4649
4622
|
constraints?: Record<string, any> | undefined;
|
|
4650
4623
|
}, {
|
|
4651
4624
|
resource: string;
|
|
4652
|
-
matcher: "exact" | "
|
|
4625
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4653
4626
|
constraints?: Record<string, any> | undefined;
|
|
4654
4627
|
}>, "many">;
|
|
4655
4628
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4687,11 +4660,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4687
4660
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4688
4661
|
}, "strip", z.ZodTypeAny, {
|
|
4689
4662
|
resource: string;
|
|
4690
|
-
matcher: "exact" | "
|
|
4663
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4691
4664
|
constraints?: Record<string, any> | undefined;
|
|
4692
4665
|
}, {
|
|
4693
4666
|
resource: string;
|
|
4694
|
-
matcher: "exact" | "
|
|
4667
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4695
4668
|
constraints?: Record<string, any> | undefined;
|
|
4696
4669
|
}>, "many">;
|
|
4697
4670
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4735,11 +4708,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4735
4708
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4736
4709
|
}, "strip", z.ZodTypeAny, {
|
|
4737
4710
|
resource: string;
|
|
4738
|
-
matcher: "exact" | "
|
|
4711
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4739
4712
|
constraints?: Record<string, any> | undefined;
|
|
4740
4713
|
}, {
|
|
4741
4714
|
resource: string;
|
|
4742
|
-
matcher: "exact" | "
|
|
4715
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4743
4716
|
constraints?: Record<string, any> | undefined;
|
|
4744
4717
|
}>, "many">;
|
|
4745
4718
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4777,11 +4750,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4777
4750
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4778
4751
|
}, "strip", z.ZodTypeAny, {
|
|
4779
4752
|
resource: string;
|
|
4780
|
-
matcher: "exact" | "
|
|
4753
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4781
4754
|
constraints?: Record<string, any> | undefined;
|
|
4782
4755
|
}, {
|
|
4783
4756
|
resource: string;
|
|
4784
|
-
matcher: "exact" | "
|
|
4757
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4785
4758
|
constraints?: Record<string, any> | undefined;
|
|
4786
4759
|
}>, "many">;
|
|
4787
4760
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4819,11 +4792,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4819
4792
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4820
4793
|
}, "strip", z.ZodTypeAny, {
|
|
4821
4794
|
resource: string;
|
|
4822
|
-
matcher: "exact" | "
|
|
4795
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4823
4796
|
constraints?: Record<string, any> | undefined;
|
|
4824
4797
|
}, {
|
|
4825
4798
|
resource: string;
|
|
4826
|
-
matcher: "exact" | "
|
|
4799
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4827
4800
|
constraints?: Record<string, any> | undefined;
|
|
4828
4801
|
}>, "many">;
|
|
4829
4802
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4867,11 +4840,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4867
4840
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4868
4841
|
}, "strip", z.ZodTypeAny, {
|
|
4869
4842
|
resource: string;
|
|
4870
|
-
matcher: "exact" | "
|
|
4843
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4871
4844
|
constraints?: Record<string, any> | undefined;
|
|
4872
4845
|
}, {
|
|
4873
4846
|
resource: string;
|
|
4874
|
-
matcher: "exact" | "
|
|
4847
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4875
4848
|
constraints?: Record<string, any> | undefined;
|
|
4876
4849
|
}>, "many">;
|
|
4877
4850
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4909,11 +4882,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4909
4882
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4910
4883
|
}, "strip", z.ZodTypeAny, {
|
|
4911
4884
|
resource: string;
|
|
4912
|
-
matcher: "exact" | "
|
|
4885
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4913
4886
|
constraints?: Record<string, any> | undefined;
|
|
4914
4887
|
}, {
|
|
4915
4888
|
resource: string;
|
|
4916
|
-
matcher: "exact" | "
|
|
4889
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4917
4890
|
constraints?: Record<string, any> | undefined;
|
|
4918
4891
|
}>, "many">;
|
|
4919
4892
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4951,11 +4924,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4951
4924
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4952
4925
|
}, "strip", z.ZodTypeAny, {
|
|
4953
4926
|
resource: string;
|
|
4954
|
-
matcher: "exact" | "
|
|
4927
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4955
4928
|
constraints?: Record<string, any> | undefined;
|
|
4956
4929
|
}, {
|
|
4957
4930
|
resource: string;
|
|
4958
|
-
matcher: "exact" | "
|
|
4931
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4959
4932
|
constraints?: Record<string, any> | undefined;
|
|
4960
4933
|
}>, "many">;
|
|
4961
4934
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4967,48 +4940,48 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4967
4940
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4968
4941
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4969
4942
|
}, 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
4943
|
error?: {
|
|
4986
4944
|
code: string;
|
|
4987
4945
|
message: string;
|
|
4988
4946
|
details?: Record<string, unknown> | undefined;
|
|
4989
4947
|
} | undefined;
|
|
4948
|
+
reason?: string | undefined;
|
|
4990
4949
|
credential?: {
|
|
4991
4950
|
scopes: string[];
|
|
4951
|
+
user_did: string;
|
|
4992
4952
|
authorization: {
|
|
4993
|
-
type: "
|
|
4953
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
4954
|
+
domain?: string | undefined;
|
|
4994
4955
|
provider?: string | undefined;
|
|
4995
4956
|
credentialType?: string | undefined;
|
|
4996
4957
|
rpId?: string | undefined;
|
|
4997
4958
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
4998
4959
|
chainId?: number | undefined;
|
|
4999
|
-
domain?: string | undefined;
|
|
5000
4960
|
};
|
|
5001
4961
|
agent_did: string;
|
|
5002
|
-
user_did: string;
|
|
5003
4962
|
issued_at: number;
|
|
5004
4963
|
created_at: number;
|
|
5005
|
-
constraints?: Record<string, unknown> | undefined;
|
|
5006
4964
|
user_id?: string | undefined;
|
|
5007
4965
|
user_identifier?: string | undefined;
|
|
4966
|
+
constraints?: Record<string, unknown> | undefined;
|
|
5008
4967
|
credential_jwt?: string | undefined;
|
|
5009
4968
|
} | undefined;
|
|
5010
4969
|
delegation_id?: string | undefined;
|
|
5011
|
-
|
|
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;
|
|
5012
4985
|
delegation?: z.objectOutputType<{
|
|
5013
4986
|
id: z.ZodString;
|
|
5014
4987
|
issuerDid: z.ZodString;
|
|
@@ -5056,11 +5029,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5056
5029
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5057
5030
|
}, "strip", z.ZodTypeAny, {
|
|
5058
5031
|
resource: string;
|
|
5059
|
-
matcher: "exact" | "
|
|
5032
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5060
5033
|
constraints?: Record<string, any> | undefined;
|
|
5061
5034
|
}, {
|
|
5062
5035
|
resource: string;
|
|
5063
|
-
matcher: "exact" | "
|
|
5036
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5064
5037
|
constraints?: Record<string, any> | undefined;
|
|
5065
5038
|
}>, "many">;
|
|
5066
5039
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5098,11 +5071,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5098
5071
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5099
5072
|
}, "strip", z.ZodTypeAny, {
|
|
5100
5073
|
resource: string;
|
|
5101
|
-
matcher: "exact" | "
|
|
5074
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5102
5075
|
constraints?: Record<string, any> | undefined;
|
|
5103
5076
|
}, {
|
|
5104
5077
|
resource: string;
|
|
5105
|
-
matcher: "exact" | "
|
|
5078
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5106
5079
|
constraints?: Record<string, any> | undefined;
|
|
5107
5080
|
}>, "many">;
|
|
5108
5081
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5140,11 +5113,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5140
5113
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5141
5114
|
}, "strip", z.ZodTypeAny, {
|
|
5142
5115
|
resource: string;
|
|
5143
|
-
matcher: "exact" | "
|
|
5116
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5144
5117
|
constraints?: Record<string, any> | undefined;
|
|
5145
5118
|
}, {
|
|
5146
5119
|
resource: string;
|
|
5147
|
-
matcher: "exact" | "
|
|
5120
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5148
5121
|
constraints?: Record<string, any> | undefined;
|
|
5149
5122
|
}>, "many">;
|
|
5150
5123
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5188,11 +5161,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5188
5161
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5189
5162
|
}, "strip", z.ZodTypeAny, {
|
|
5190
5163
|
resource: string;
|
|
5191
|
-
matcher: "exact" | "
|
|
5164
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5192
5165
|
constraints?: Record<string, any> | undefined;
|
|
5193
5166
|
}, {
|
|
5194
5167
|
resource: string;
|
|
5195
|
-
matcher: "exact" | "
|
|
5168
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5196
5169
|
constraints?: Record<string, any> | undefined;
|
|
5197
5170
|
}>, "many">;
|
|
5198
5171
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5230,11 +5203,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5230
5203
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5231
5204
|
}, "strip", z.ZodTypeAny, {
|
|
5232
5205
|
resource: string;
|
|
5233
|
-
matcher: "exact" | "
|
|
5206
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5234
5207
|
constraints?: Record<string, any> | undefined;
|
|
5235
5208
|
}, {
|
|
5236
5209
|
resource: string;
|
|
5237
|
-
matcher: "exact" | "
|
|
5210
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5238
5211
|
constraints?: Record<string, any> | undefined;
|
|
5239
5212
|
}>, "many">;
|
|
5240
5213
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5272,11 +5245,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5272
5245
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5273
5246
|
}, "strip", z.ZodTypeAny, {
|
|
5274
5247
|
resource: string;
|
|
5275
|
-
matcher: "exact" | "
|
|
5248
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5276
5249
|
constraints?: Record<string, any> | undefined;
|
|
5277
5250
|
}, {
|
|
5278
5251
|
resource: string;
|
|
5279
|
-
matcher: "exact" | "
|
|
5252
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5280
5253
|
constraints?: Record<string, any> | undefined;
|
|
5281
5254
|
}>, "many">;
|
|
5282
5255
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5320,11 +5293,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5320
5293
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5321
5294
|
}, "strip", z.ZodTypeAny, {
|
|
5322
5295
|
resource: string;
|
|
5323
|
-
matcher: "exact" | "
|
|
5296
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5324
5297
|
constraints?: Record<string, any> | undefined;
|
|
5325
5298
|
}, {
|
|
5326
5299
|
resource: string;
|
|
5327
|
-
matcher: "exact" | "
|
|
5300
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5328
5301
|
constraints?: Record<string, any> | undefined;
|
|
5329
5302
|
}>, "many">;
|
|
5330
5303
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5362,11 +5335,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5362
5335
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5363
5336
|
}, "strip", z.ZodTypeAny, {
|
|
5364
5337
|
resource: string;
|
|
5365
|
-
matcher: "exact" | "
|
|
5338
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5366
5339
|
constraints?: Record<string, any> | undefined;
|
|
5367
5340
|
}, {
|
|
5368
5341
|
resource: string;
|
|
5369
|
-
matcher: "exact" | "
|
|
5342
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5370
5343
|
constraints?: Record<string, any> | undefined;
|
|
5371
5344
|
}>, "many">;
|
|
5372
5345
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5404,11 +5377,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5404
5377
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5405
5378
|
}, "strip", z.ZodTypeAny, {
|
|
5406
5379
|
resource: string;
|
|
5407
|
-
matcher: "exact" | "
|
|
5380
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5408
5381
|
constraints?: Record<string, any> | undefined;
|
|
5409
5382
|
}, {
|
|
5410
5383
|
resource: string;
|
|
5411
|
-
matcher: "exact" | "
|
|
5384
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5412
5385
|
constraints?: Record<string, any> | undefined;
|
|
5413
5386
|
}>, "many">;
|
|
5414
5387
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5420,42 +5393,42 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5420
5393
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5421
5394
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5422
5395
|
}, 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
5396
|
error?: {
|
|
5433
5397
|
code: string;
|
|
5434
5398
|
message: string;
|
|
5435
5399
|
details?: Record<string, unknown> | undefined;
|
|
5436
5400
|
} | undefined;
|
|
5401
|
+
reason?: string | undefined;
|
|
5437
5402
|
credential?: {
|
|
5438
5403
|
scopes: string[];
|
|
5404
|
+
user_did: string;
|
|
5439
5405
|
authorization: {
|
|
5440
|
-
type: "
|
|
5406
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
5407
|
+
domain?: string | undefined;
|
|
5441
5408
|
provider?: string | undefined;
|
|
5442
5409
|
credentialType?: string | undefined;
|
|
5443
5410
|
rpId?: string | undefined;
|
|
5444
5411
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
5445
5412
|
chainId?: number | undefined;
|
|
5446
|
-
domain?: string | undefined;
|
|
5447
5413
|
};
|
|
5448
5414
|
agent_did: string;
|
|
5449
|
-
user_did: string;
|
|
5450
5415
|
issued_at: number;
|
|
5451
5416
|
created_at: number;
|
|
5452
|
-
constraints?: Record<string, unknown> | undefined;
|
|
5453
5417
|
user_id?: string | undefined;
|
|
5454
5418
|
user_identifier?: string | undefined;
|
|
5419
|
+
constraints?: Record<string, unknown> | undefined;
|
|
5455
5420
|
credential_jwt?: string | undefined;
|
|
5456
5421
|
} | undefined;
|
|
5457
5422
|
delegation_id?: string | undefined;
|
|
5458
|
-
|
|
5423
|
+
};
|
|
5424
|
+
metadata?: {
|
|
5425
|
+
timestamp: string;
|
|
5426
|
+
requestId: string;
|
|
5427
|
+
} | undefined;
|
|
5428
|
+
}, {
|
|
5429
|
+
success: boolean;
|
|
5430
|
+
data: {
|
|
5431
|
+
valid: boolean;
|
|
5459
5432
|
delegation?: z.objectInputType<{
|
|
5460
5433
|
id: z.ZodString;
|
|
5461
5434
|
issuerDid: z.ZodString;
|
|
@@ -5503,11 +5476,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5503
5476
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5504
5477
|
}, "strip", z.ZodTypeAny, {
|
|
5505
5478
|
resource: string;
|
|
5506
|
-
matcher: "exact" | "
|
|
5479
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5507
5480
|
constraints?: Record<string, any> | undefined;
|
|
5508
5481
|
}, {
|
|
5509
5482
|
resource: string;
|
|
5510
|
-
matcher: "exact" | "
|
|
5483
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5511
5484
|
constraints?: Record<string, any> | undefined;
|
|
5512
5485
|
}>, "many">;
|
|
5513
5486
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5545,11 +5518,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5545
5518
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5546
5519
|
}, "strip", z.ZodTypeAny, {
|
|
5547
5520
|
resource: string;
|
|
5548
|
-
matcher: "exact" | "
|
|
5521
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5549
5522
|
constraints?: Record<string, any> | undefined;
|
|
5550
5523
|
}, {
|
|
5551
5524
|
resource: string;
|
|
5552
|
-
matcher: "exact" | "
|
|
5525
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5553
5526
|
constraints?: Record<string, any> | undefined;
|
|
5554
5527
|
}>, "many">;
|
|
5555
5528
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5587,11 +5560,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5587
5560
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5588
5561
|
}, "strip", z.ZodTypeAny, {
|
|
5589
5562
|
resource: string;
|
|
5590
|
-
matcher: "exact" | "
|
|
5563
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5591
5564
|
constraints?: Record<string, any> | undefined;
|
|
5592
5565
|
}, {
|
|
5593
5566
|
resource: string;
|
|
5594
|
-
matcher: "exact" | "
|
|
5567
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5595
5568
|
constraints?: Record<string, any> | undefined;
|
|
5596
5569
|
}>, "many">;
|
|
5597
5570
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5635,11 +5608,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5635
5608
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5636
5609
|
}, "strip", z.ZodTypeAny, {
|
|
5637
5610
|
resource: string;
|
|
5638
|
-
matcher: "exact" | "
|
|
5611
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5639
5612
|
constraints?: Record<string, any> | undefined;
|
|
5640
5613
|
}, {
|
|
5641
5614
|
resource: string;
|
|
5642
|
-
matcher: "exact" | "
|
|
5615
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5643
5616
|
constraints?: Record<string, any> | undefined;
|
|
5644
5617
|
}>, "many">;
|
|
5645
5618
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5677,11 +5650,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5677
5650
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5678
5651
|
}, "strip", z.ZodTypeAny, {
|
|
5679
5652
|
resource: string;
|
|
5680
|
-
matcher: "exact" | "
|
|
5653
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5681
5654
|
constraints?: Record<string, any> | undefined;
|
|
5682
5655
|
}, {
|
|
5683
5656
|
resource: string;
|
|
5684
|
-
matcher: "exact" | "
|
|
5657
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5685
5658
|
constraints?: Record<string, any> | undefined;
|
|
5686
5659
|
}>, "many">;
|
|
5687
5660
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5719,11 +5692,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5719
5692
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5720
5693
|
}, "strip", z.ZodTypeAny, {
|
|
5721
5694
|
resource: string;
|
|
5722
|
-
matcher: "exact" | "
|
|
5695
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5723
5696
|
constraints?: Record<string, any> | undefined;
|
|
5724
5697
|
}, {
|
|
5725
5698
|
resource: string;
|
|
5726
|
-
matcher: "exact" | "
|
|
5699
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5727
5700
|
constraints?: Record<string, any> | undefined;
|
|
5728
5701
|
}>, "many">;
|
|
5729
5702
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5767,11 +5740,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5767
5740
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5768
5741
|
}, "strip", z.ZodTypeAny, {
|
|
5769
5742
|
resource: string;
|
|
5770
|
-
matcher: "exact" | "
|
|
5743
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5771
5744
|
constraints?: Record<string, any> | undefined;
|
|
5772
5745
|
}, {
|
|
5773
5746
|
resource: string;
|
|
5774
|
-
matcher: "exact" | "
|
|
5747
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5775
5748
|
constraints?: Record<string, any> | undefined;
|
|
5776
5749
|
}>, "many">;
|
|
5777
5750
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5809,11 +5782,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5809
5782
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5810
5783
|
}, "strip", z.ZodTypeAny, {
|
|
5811
5784
|
resource: string;
|
|
5812
|
-
matcher: "exact" | "
|
|
5785
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5813
5786
|
constraints?: Record<string, any> | undefined;
|
|
5814
5787
|
}, {
|
|
5815
5788
|
resource: string;
|
|
5816
|
-
matcher: "exact" | "
|
|
5789
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5817
5790
|
constraints?: Record<string, any> | undefined;
|
|
5818
5791
|
}>, "many">;
|
|
5819
5792
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5851,11 +5824,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5851
5824
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5852
5825
|
}, "strip", z.ZodTypeAny, {
|
|
5853
5826
|
resource: string;
|
|
5854
|
-
matcher: "exact" | "
|
|
5827
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5855
5828
|
constraints?: Record<string, any> | undefined;
|
|
5856
5829
|
}, {
|
|
5857
5830
|
resource: string;
|
|
5858
|
-
matcher: "exact" | "
|
|
5831
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5859
5832
|
constraints?: Record<string, any> | undefined;
|
|
5860
5833
|
}>, "many">;
|
|
5861
5834
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5867,6 +5840,33 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5867
5840
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5868
5841
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5869
5842
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5843
|
+
error?: {
|
|
5844
|
+
code: string;
|
|
5845
|
+
message: string;
|
|
5846
|
+
details?: Record<string, unknown> | undefined;
|
|
5847
|
+
} | undefined;
|
|
5848
|
+
reason?: string | undefined;
|
|
5849
|
+
credential?: {
|
|
5850
|
+
scopes: string[];
|
|
5851
|
+
user_did: string;
|
|
5852
|
+
authorization: {
|
|
5853
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "webauthn" | "siwe" | "none";
|
|
5854
|
+
domain?: string | undefined;
|
|
5855
|
+
provider?: string | undefined;
|
|
5856
|
+
credentialType?: string | undefined;
|
|
5857
|
+
rpId?: string | undefined;
|
|
5858
|
+
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
5859
|
+
chainId?: number | undefined;
|
|
5860
|
+
};
|
|
5861
|
+
agent_did: string;
|
|
5862
|
+
issued_at: number;
|
|
5863
|
+
created_at: number;
|
|
5864
|
+
user_id?: string | undefined;
|
|
5865
|
+
user_identifier?: string | undefined;
|
|
5866
|
+
constraints?: Record<string, unknown> | undefined;
|
|
5867
|
+
credential_jwt?: string | undefined;
|
|
5868
|
+
} | undefined;
|
|
5869
|
+
delegation_id?: string | undefined;
|
|
5870
5870
|
};
|
|
5871
5871
|
metadata?: {
|
|
5872
5872
|
timestamp: string;
|
|
@@ -6172,28 +6172,28 @@ export declare const createDelegationResponseSchema: z.ZodObject<{
|
|
|
6172
6172
|
token_type: z.ZodOptional<z.ZodString>;
|
|
6173
6173
|
expires_in: z.ZodOptional<z.ZodNumber>;
|
|
6174
6174
|
}, "strip", z.ZodTypeAny, {
|
|
6175
|
-
status: "
|
|
6175
|
+
status: "active" | "revoked" | "expired";
|
|
6176
6176
|
scopes: string[];
|
|
6177
|
-
delegation_id: string;
|
|
6178
6177
|
agent_did: string;
|
|
6178
|
+
delegation_id: string;
|
|
6179
6179
|
issued_at: string;
|
|
6180
6180
|
created_at: string;
|
|
6181
|
+
delegation_token?: string | undefined;
|
|
6181
6182
|
user_id?: string | undefined;
|
|
6182
6183
|
user_identifier?: string | undefined;
|
|
6183
|
-
delegation_token?: string | undefined;
|
|
6184
6184
|
expires_at?: string | null | undefined;
|
|
6185
6185
|
token_type?: string | undefined;
|
|
6186
6186
|
expires_in?: number | undefined;
|
|
6187
6187
|
}, {
|
|
6188
|
-
status: "
|
|
6188
|
+
status: "active" | "revoked" | "expired";
|
|
6189
6189
|
scopes: string[];
|
|
6190
|
-
delegation_id: string;
|
|
6191
6190
|
agent_did: string;
|
|
6191
|
+
delegation_id: string;
|
|
6192
6192
|
issued_at: string;
|
|
6193
6193
|
created_at: string;
|
|
6194
|
+
delegation_token?: string | undefined;
|
|
6194
6195
|
user_id?: string | undefined;
|
|
6195
6196
|
user_identifier?: string | undefined;
|
|
6196
|
-
delegation_token?: string | undefined;
|
|
6197
6197
|
expires_at?: string | null | undefined;
|
|
6198
6198
|
token_type?: string | undefined;
|
|
6199
6199
|
expires_in?: number | undefined;
|
|
@@ -6217,28 +6217,28 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6217
6217
|
token_type: z.ZodOptional<z.ZodString>;
|
|
6218
6218
|
expires_in: z.ZodOptional<z.ZodNumber>;
|
|
6219
6219
|
}, "strip", z.ZodTypeAny, {
|
|
6220
|
-
status: "
|
|
6220
|
+
status: "active" | "revoked" | "expired";
|
|
6221
6221
|
scopes: string[];
|
|
6222
|
-
delegation_id: string;
|
|
6223
6222
|
agent_did: string;
|
|
6223
|
+
delegation_id: string;
|
|
6224
6224
|
issued_at: string;
|
|
6225
6225
|
created_at: string;
|
|
6226
|
+
delegation_token?: string | undefined;
|
|
6226
6227
|
user_id?: string | undefined;
|
|
6227
6228
|
user_identifier?: string | undefined;
|
|
6228
|
-
delegation_token?: string | undefined;
|
|
6229
6229
|
expires_at?: string | null | undefined;
|
|
6230
6230
|
token_type?: string | undefined;
|
|
6231
6231
|
expires_in?: number | undefined;
|
|
6232
6232
|
}, {
|
|
6233
|
-
status: "
|
|
6233
|
+
status: "active" | "revoked" | "expired";
|
|
6234
6234
|
scopes: string[];
|
|
6235
|
-
delegation_id: string;
|
|
6236
6235
|
agent_did: string;
|
|
6236
|
+
delegation_id: string;
|
|
6237
6237
|
issued_at: string;
|
|
6238
6238
|
created_at: string;
|
|
6239
|
+
delegation_token?: string | undefined;
|
|
6239
6240
|
user_id?: string | undefined;
|
|
6240
6241
|
user_identifier?: string | undefined;
|
|
6241
|
-
delegation_token?: string | undefined;
|
|
6242
6242
|
expires_at?: string | null | undefined;
|
|
6243
6243
|
token_type?: string | undefined;
|
|
6244
6244
|
expires_in?: number | undefined;
|
|
@@ -6256,15 +6256,15 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6256
6256
|
}, "strip", z.ZodTypeAny, {
|
|
6257
6257
|
success: boolean;
|
|
6258
6258
|
data: {
|
|
6259
|
-
status: "
|
|
6259
|
+
status: "active" | "revoked" | "expired";
|
|
6260
6260
|
scopes: string[];
|
|
6261
|
-
delegation_id: string;
|
|
6262
6261
|
agent_did: string;
|
|
6262
|
+
delegation_id: string;
|
|
6263
6263
|
issued_at: string;
|
|
6264
6264
|
created_at: string;
|
|
6265
|
+
delegation_token?: string | undefined;
|
|
6265
6266
|
user_id?: string | undefined;
|
|
6266
6267
|
user_identifier?: string | undefined;
|
|
6267
|
-
delegation_token?: string | undefined;
|
|
6268
6268
|
expires_at?: string | null | undefined;
|
|
6269
6269
|
token_type?: string | undefined;
|
|
6270
6270
|
expires_in?: number | undefined;
|
|
@@ -6276,15 +6276,15 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6276
6276
|
}, {
|
|
6277
6277
|
success: boolean;
|
|
6278
6278
|
data: {
|
|
6279
|
-
status: "
|
|
6279
|
+
status: "active" | "revoked" | "expired";
|
|
6280
6280
|
scopes: string[];
|
|
6281
|
-
delegation_id: string;
|
|
6282
6281
|
agent_did: string;
|
|
6282
|
+
delegation_id: string;
|
|
6283
6283
|
issued_at: string;
|
|
6284
6284
|
created_at: string;
|
|
6285
|
+
delegation_token?: string | undefined;
|
|
6285
6286
|
user_id?: string | undefined;
|
|
6286
6287
|
user_identifier?: string | undefined;
|
|
6287
|
-
delegation_token?: string | undefined;
|
|
6288
6288
|
expires_at?: string | null | undefined;
|
|
6289
6289
|
token_type?: string | undefined;
|
|
6290
6290
|
expires_in?: number | undefined;
|
|
@@ -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
|
-
revoked: boolean;
|
|
6316
6315
|
delegation_id: string;
|
|
6316
|
+
revoked: boolean;
|
|
6317
6317
|
revoked_at: number;
|
|
6318
6318
|
}, {
|
|
6319
|
-
revoked: boolean;
|
|
6320
6319
|
delegation_id: string;
|
|
6320
|
+
revoked: boolean;
|
|
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
|
-
revoked: boolean;
|
|
6334
6333
|
delegation_id: string;
|
|
6334
|
+
revoked: boolean;
|
|
6335
6335
|
revoked_at: number;
|
|
6336
6336
|
}, {
|
|
6337
|
-
revoked: boolean;
|
|
6338
6337
|
delegation_id: string;
|
|
6338
|
+
revoked: boolean;
|
|
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
|
-
revoked: boolean;
|
|
6355
6354
|
delegation_id: string;
|
|
6355
|
+
revoked: boolean;
|
|
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
|
-
revoked: boolean;
|
|
6366
6365
|
delegation_id: string;
|
|
6366
|
+
revoked: boolean;
|
|
6367
6367
|
revoked_at: number;
|
|
6368
6368
|
};
|
|
6369
6369
|
metadata?: {
|
|
@@ -6384,14 +6384,14 @@ export declare const sessionClientInfoSchema: z.ZodObject<{
|
|
|
6384
6384
|
name: string;
|
|
6385
6385
|
version?: string | undefined;
|
|
6386
6386
|
platform?: string | undefined;
|
|
6387
|
-
vendor?: string | undefined;
|
|
6388
6387
|
protocol_version?: string | undefined;
|
|
6388
|
+
vendor?: string | undefined;
|
|
6389
6389
|
}, {
|
|
6390
6390
|
name: string;
|
|
6391
6391
|
version?: string | undefined;
|
|
6392
6392
|
platform?: string | undefined;
|
|
6393
|
-
vendor?: string | undefined;
|
|
6394
6393
|
protocol_version?: string | undefined;
|
|
6394
|
+
vendor?: string | undefined;
|
|
6395
6395
|
}>;
|
|
6396
6396
|
/**
|
|
6397
6397
|
* Session client identity schema
|
|
@@ -6401,12 +6401,12 @@ 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;
|
|
6405
|
+
registered: boolean;
|
|
6406
6406
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6407
6407
|
}, {
|
|
6408
|
-
registered: boolean;
|
|
6409
6408
|
did: string;
|
|
6409
|
+
registered: boolean;
|
|
6410
6410
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6411
6411
|
}>;
|
|
6412
6412
|
/**
|
|
@@ -6428,66 +6428,66 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6428
6428
|
name: string;
|
|
6429
6429
|
version?: string | undefined;
|
|
6430
6430
|
platform?: string | undefined;
|
|
6431
|
-
vendor?: string | undefined;
|
|
6432
6431
|
protocol_version?: string | undefined;
|
|
6432
|
+
vendor?: string | undefined;
|
|
6433
6433
|
}, {
|
|
6434
6434
|
name: string;
|
|
6435
6435
|
version?: string | undefined;
|
|
6436
6436
|
platform?: string | undefined;
|
|
6437
|
-
vendor?: string | undefined;
|
|
6438
6437
|
protocol_version?: string | undefined;
|
|
6438
|
+
vendor?: 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;
|
|
6446
|
+
registered: boolean;
|
|
6447
6447
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6448
6448
|
}, {
|
|
6449
|
-
registered: boolean;
|
|
6450
6449
|
did: string;
|
|
6450
|
+
registered: boolean;
|
|
6451
6451
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6452
6452
|
}>>;
|
|
6453
6453
|
server_did: z.ZodOptional<z.ZodString>;
|
|
6454
6454
|
ttl_minutes: z.ZodOptional<z.ZodNumber>;
|
|
6455
6455
|
}, "strip", z.ZodTypeAny, {
|
|
6456
|
-
session_id: string;
|
|
6457
|
-
agent_did: string;
|
|
6458
6456
|
project_id: string;
|
|
6457
|
+
agent_did: string;
|
|
6458
|
+
session_id: string;
|
|
6459
6459
|
created_at: number;
|
|
6460
6460
|
client_info: {
|
|
6461
6461
|
name: string;
|
|
6462
6462
|
version?: string | undefined;
|
|
6463
6463
|
platform?: string | undefined;
|
|
6464
|
-
vendor?: string | undefined;
|
|
6465
6464
|
protocol_version?: string | undefined;
|
|
6465
|
+
vendor?: string | undefined;
|
|
6466
6466
|
};
|
|
6467
6467
|
agent_name?: string | undefined;
|
|
6468
6468
|
client_identity?: {
|
|
6469
|
-
registered: boolean;
|
|
6470
6469
|
did: string;
|
|
6470
|
+
registered: boolean;
|
|
6471
6471
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6472
6472
|
} | undefined;
|
|
6473
6473
|
server_did?: string | undefined;
|
|
6474
6474
|
ttl_minutes?: number | undefined;
|
|
6475
6475
|
}, {
|
|
6476
|
-
session_id: string;
|
|
6477
|
-
agent_did: string;
|
|
6478
6476
|
project_id: string;
|
|
6477
|
+
agent_did: string;
|
|
6478
|
+
session_id: string;
|
|
6479
6479
|
created_at: number;
|
|
6480
6480
|
client_info: {
|
|
6481
6481
|
name: string;
|
|
6482
6482
|
version?: string | undefined;
|
|
6483
6483
|
platform?: string | undefined;
|
|
6484
|
-
vendor?: string | undefined;
|
|
6485
6484
|
protocol_version?: string | undefined;
|
|
6485
|
+
vendor?: string | undefined;
|
|
6486
6486
|
};
|
|
6487
6487
|
agent_name?: string | undefined;
|
|
6488
6488
|
client_identity?: {
|
|
6489
|
-
registered: boolean;
|
|
6490
6489
|
did: string;
|
|
6490
|
+
registered: boolean;
|
|
6491
6491
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6492
6492
|
} | undefined;
|
|
6493
6493
|
server_did?: string | undefined;
|