@kya-os/contracts 1.7.17 → 1.7.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agentshield-api/schemas.d.ts +144 -144
- package/dist/audit/index.d.ts +21 -21
- package/dist/consent/schemas.d.ts +30 -8
- package/dist/consent/schemas.js +20 -0
- package/dist/delegation/schemas.d.ts +336 -336
- package/dist/handshake.d.ts +30 -30
- package/dist/tool-protection/index.js +10 -7
- package/dist/verifier.d.ts +6 -6
- package/package.json +2 -2
|
@@ -87,59 +87,59 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
87
87
|
delegationRef: z.ZodOptional<z.ZodString>;
|
|
88
88
|
clientDid: z.ZodOptional<z.ZodString>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
audience: string;
|
|
91
|
-
sessionId: string;
|
|
92
90
|
did: string;
|
|
93
91
|
kid: string;
|
|
94
|
-
ts: number;
|
|
95
92
|
nonce: string;
|
|
93
|
+
audience: string;
|
|
94
|
+
sessionId: string;
|
|
95
|
+
ts: number;
|
|
96
96
|
requestHash: string;
|
|
97
97
|
responseHash: string;
|
|
98
|
+
clientDid?: string | undefined;
|
|
98
99
|
scopeId?: string | undefined;
|
|
99
100
|
delegationRef?: string | undefined;
|
|
100
|
-
clientDid?: string | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
audience: string;
|
|
103
|
-
sessionId: string;
|
|
104
102
|
did: string;
|
|
105
103
|
kid: string;
|
|
106
|
-
ts: number;
|
|
107
104
|
nonce: string;
|
|
105
|
+
audience: string;
|
|
106
|
+
sessionId: string;
|
|
107
|
+
ts: number;
|
|
108
108
|
requestHash: string;
|
|
109
109
|
responseHash: string;
|
|
110
|
+
clientDid?: string | undefined;
|
|
110
111
|
scopeId?: string | undefined;
|
|
111
112
|
delegationRef?: string | undefined;
|
|
112
|
-
clientDid?: string | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
jws: string;
|
|
116
116
|
meta: {
|
|
117
|
-
audience: string;
|
|
118
|
-
sessionId: string;
|
|
119
117
|
did: string;
|
|
120
118
|
kid: string;
|
|
121
|
-
ts: number;
|
|
122
119
|
nonce: string;
|
|
120
|
+
audience: string;
|
|
121
|
+
sessionId: string;
|
|
122
|
+
ts: number;
|
|
123
123
|
requestHash: string;
|
|
124
124
|
responseHash: string;
|
|
125
|
+
clientDid?: string | undefined;
|
|
125
126
|
scopeId?: string | undefined;
|
|
126
127
|
delegationRef?: string | undefined;
|
|
127
|
-
clientDid?: string | undefined;
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
jws: string;
|
|
131
131
|
meta: {
|
|
132
|
-
audience: string;
|
|
133
|
-
sessionId: string;
|
|
134
132
|
did: string;
|
|
135
133
|
kid: string;
|
|
136
|
-
ts: number;
|
|
137
134
|
nonce: string;
|
|
135
|
+
audience: string;
|
|
136
|
+
sessionId: string;
|
|
137
|
+
ts: number;
|
|
138
138
|
requestHash: string;
|
|
139
139
|
responseHash: string;
|
|
140
|
+
clientDid?: string | undefined;
|
|
140
141
|
scopeId?: string | undefined;
|
|
141
142
|
delegationRef?: string | undefined;
|
|
142
|
-
clientDid?: string | undefined;
|
|
143
143
|
};
|
|
144
144
|
}>, "many">;
|
|
145
145
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -153,14 +153,14 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
153
153
|
scopeId: string;
|
|
154
154
|
tool: string;
|
|
155
155
|
args: Record<string, unknown>;
|
|
156
|
-
userIdentifier?: string | undefined;
|
|
157
156
|
result?: unknown;
|
|
157
|
+
userIdentifier?: string | undefined;
|
|
158
158
|
}, {
|
|
159
159
|
scopeId: string;
|
|
160
160
|
tool: string;
|
|
161
161
|
args: Record<string, unknown>;
|
|
162
|
-
userIdentifier?: string | undefined;
|
|
163
162
|
result?: unknown;
|
|
163
|
+
userIdentifier?: string | undefined;
|
|
164
164
|
}>, "many">>;
|
|
165
165
|
consentEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
166
|
eventType: z.ZodEnum<["consent:page_viewed", "consent:approved", "consent:delegation_created", "consent:credential_required", "auth:credential_success", "auth:credential_failed", "auth:oauth_success", "auth:oauth_failed"]>;
|
|
@@ -186,36 +186,36 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
186
186
|
}>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
scopes: string[];
|
|
189
|
-
sessionId: string;
|
|
190
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
191
189
|
timestamp: number;
|
|
192
190
|
agentDid: string;
|
|
191
|
+
sessionId: string;
|
|
192
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
193
193
|
targetTools: string[];
|
|
194
194
|
projectId: string;
|
|
195
|
-
delegationId?: string | undefined;
|
|
196
195
|
userDid?: string | undefined;
|
|
197
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
198
|
-
termsAccepted?: boolean | undefined;
|
|
199
196
|
oauthIdentity?: {
|
|
200
197
|
provider: string;
|
|
201
198
|
identifier: string;
|
|
202
199
|
} | undefined;
|
|
200
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
201
|
+
delegationId?: string | undefined;
|
|
202
|
+
termsAccepted?: boolean | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
scopes: string[];
|
|
205
|
-
sessionId: string;
|
|
206
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
207
205
|
timestamp: number;
|
|
208
206
|
agentDid: string;
|
|
207
|
+
sessionId: string;
|
|
208
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
209
209
|
targetTools: string[];
|
|
210
210
|
projectId: string;
|
|
211
|
-
delegationId?: string | undefined;
|
|
212
211
|
userDid?: string | undefined;
|
|
213
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
214
|
-
termsAccepted?: boolean | undefined;
|
|
215
212
|
oauthIdentity?: {
|
|
216
213
|
provider: string;
|
|
217
214
|
identifier: string;
|
|
218
215
|
} | undefined;
|
|
216
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
217
|
+
delegationId?: string | undefined;
|
|
218
|
+
termsAccepted?: boolean | undefined;
|
|
219
219
|
}>, "many">>;
|
|
220
220
|
mcpServerUrl: z.ZodOptional<z.ZodString>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -223,70 +223,70 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
223
223
|
scopeId: string;
|
|
224
224
|
tool: string;
|
|
225
225
|
args: Record<string, unknown>;
|
|
226
|
-
userIdentifier?: string | undefined;
|
|
227
226
|
result?: unknown;
|
|
227
|
+
userIdentifier?: string | undefined;
|
|
228
228
|
}[] | undefined;
|
|
229
|
+
mcpServerUrl?: string | undefined;
|
|
229
230
|
consentEvents?: {
|
|
230
231
|
scopes: string[];
|
|
231
|
-
sessionId: string;
|
|
232
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
233
232
|
timestamp: number;
|
|
234
233
|
agentDid: string;
|
|
234
|
+
sessionId: string;
|
|
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";
|
|
235
236
|
targetTools: string[];
|
|
236
237
|
projectId: string;
|
|
237
|
-
delegationId?: string | undefined;
|
|
238
238
|
userDid?: string | undefined;
|
|
239
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
240
|
-
termsAccepted?: boolean | undefined;
|
|
241
239
|
oauthIdentity?: {
|
|
242
240
|
provider: string;
|
|
243
241
|
identifier: string;
|
|
244
242
|
} | undefined;
|
|
243
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
244
|
+
delegationId?: string | undefined;
|
|
245
|
+
termsAccepted?: boolean | undefined;
|
|
245
246
|
}[] | undefined;
|
|
246
|
-
mcpServerUrl?: string | undefined;
|
|
247
247
|
}, {
|
|
248
248
|
toolCalls?: {
|
|
249
249
|
scopeId: string;
|
|
250
250
|
tool: string;
|
|
251
251
|
args: Record<string, unknown>;
|
|
252
|
-
userIdentifier?: string | undefined;
|
|
253
252
|
result?: unknown;
|
|
253
|
+
userIdentifier?: string | undefined;
|
|
254
254
|
}[] | undefined;
|
|
255
|
+
mcpServerUrl?: string | undefined;
|
|
255
256
|
consentEvents?: {
|
|
256
257
|
scopes: string[];
|
|
257
|
-
sessionId: string;
|
|
258
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
259
258
|
timestamp: number;
|
|
260
259
|
agentDid: string;
|
|
260
|
+
sessionId: string;
|
|
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";
|
|
261
262
|
targetTools: string[];
|
|
262
263
|
projectId: string;
|
|
263
|
-
delegationId?: string | undefined;
|
|
264
264
|
userDid?: string | undefined;
|
|
265
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
266
|
-
termsAccepted?: boolean | undefined;
|
|
267
265
|
oauthIdentity?: {
|
|
268
266
|
provider: string;
|
|
269
267
|
identifier: string;
|
|
270
268
|
} | undefined;
|
|
269
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
270
|
+
delegationId?: string | undefined;
|
|
271
|
+
termsAccepted?: boolean | undefined;
|
|
271
272
|
}[] | undefined;
|
|
272
|
-
mcpServerUrl?: string | undefined;
|
|
273
273
|
}>>;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
275
|
session_id: string;
|
|
276
276
|
proofs: {
|
|
277
277
|
jws: string;
|
|
278
278
|
meta: {
|
|
279
|
-
audience: string;
|
|
280
|
-
sessionId: string;
|
|
281
279
|
did: string;
|
|
282
280
|
kid: string;
|
|
283
|
-
ts: number;
|
|
284
281
|
nonce: string;
|
|
282
|
+
audience: string;
|
|
283
|
+
sessionId: string;
|
|
284
|
+
ts: number;
|
|
285
285
|
requestHash: string;
|
|
286
286
|
responseHash: string;
|
|
287
|
+
clientDid?: string | undefined;
|
|
287
288
|
scopeId?: string | undefined;
|
|
288
289
|
delegationRef?: string | undefined;
|
|
289
|
-
clientDid?: string | undefined;
|
|
290
290
|
};
|
|
291
291
|
}[];
|
|
292
292
|
delegation_id?: string | null | undefined;
|
|
@@ -295,44 +295,44 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
295
295
|
scopeId: string;
|
|
296
296
|
tool: string;
|
|
297
297
|
args: Record<string, unknown>;
|
|
298
|
-
userIdentifier?: string | undefined;
|
|
299
298
|
result?: unknown;
|
|
299
|
+
userIdentifier?: string | undefined;
|
|
300
300
|
}[] | undefined;
|
|
301
|
+
mcpServerUrl?: string | undefined;
|
|
301
302
|
consentEvents?: {
|
|
302
303
|
scopes: string[];
|
|
303
|
-
sessionId: string;
|
|
304
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
305
304
|
timestamp: number;
|
|
306
305
|
agentDid: string;
|
|
306
|
+
sessionId: string;
|
|
307
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
307
308
|
targetTools: string[];
|
|
308
309
|
projectId: string;
|
|
309
|
-
delegationId?: string | undefined;
|
|
310
310
|
userDid?: string | undefined;
|
|
311
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
312
|
-
termsAccepted?: boolean | undefined;
|
|
313
311
|
oauthIdentity?: {
|
|
314
312
|
provider: string;
|
|
315
313
|
identifier: string;
|
|
316
314
|
} | undefined;
|
|
315
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
316
|
+
delegationId?: string | undefined;
|
|
317
|
+
termsAccepted?: boolean | undefined;
|
|
317
318
|
}[] | undefined;
|
|
318
|
-
mcpServerUrl?: string | undefined;
|
|
319
319
|
} | undefined;
|
|
320
320
|
}, {
|
|
321
321
|
session_id: string;
|
|
322
322
|
proofs: {
|
|
323
323
|
jws: string;
|
|
324
324
|
meta: {
|
|
325
|
-
audience: string;
|
|
326
|
-
sessionId: string;
|
|
327
325
|
did: string;
|
|
328
326
|
kid: string;
|
|
329
|
-
ts: number;
|
|
330
327
|
nonce: string;
|
|
328
|
+
audience: string;
|
|
329
|
+
sessionId: string;
|
|
330
|
+
ts: number;
|
|
331
331
|
requestHash: string;
|
|
332
332
|
responseHash: string;
|
|
333
|
+
clientDid?: string | undefined;
|
|
333
334
|
scopeId?: string | undefined;
|
|
334
335
|
delegationRef?: string | undefined;
|
|
335
|
-
clientDid?: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}[];
|
|
338
338
|
delegation_id?: string | null | undefined;
|
|
@@ -341,27 +341,27 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
341
341
|
scopeId: string;
|
|
342
342
|
tool: string;
|
|
343
343
|
args: Record<string, unknown>;
|
|
344
|
-
userIdentifier?: string | undefined;
|
|
345
344
|
result?: unknown;
|
|
345
|
+
userIdentifier?: string | undefined;
|
|
346
346
|
}[] | undefined;
|
|
347
|
+
mcpServerUrl?: string | undefined;
|
|
347
348
|
consentEvents?: {
|
|
348
349
|
scopes: string[];
|
|
349
|
-
sessionId: string;
|
|
350
|
-
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
351
350
|
timestamp: number;
|
|
352
351
|
agentDid: string;
|
|
352
|
+
sessionId: string;
|
|
353
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required" | "auth:credential_success" | "auth:credential_failed" | "auth:oauth_success" | "auth:oauth_failed";
|
|
353
354
|
targetTools: string[];
|
|
354
355
|
projectId: string;
|
|
355
|
-
delegationId?: string | undefined;
|
|
356
356
|
userDid?: string | undefined;
|
|
357
|
-
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
358
|
-
termsAccepted?: boolean | undefined;
|
|
359
357
|
oauthIdentity?: {
|
|
360
358
|
provider: string;
|
|
361
359
|
identifier: string;
|
|
362
360
|
} | undefined;
|
|
361
|
+
credentialStatus?: "required" | "present" | "obtained" | undefined;
|
|
362
|
+
delegationId?: string | undefined;
|
|
363
|
+
termsAccepted?: boolean | undefined;
|
|
363
364
|
}[] | undefined;
|
|
364
|
-
mcpServerUrl?: string | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
/**
|
|
@@ -451,7 +451,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
451
451
|
chainId: z.ZodOptional<z.ZodNumber>;
|
|
452
452
|
domain: z.ZodOptional<z.ZodString>;
|
|
453
453
|
}, "strip", z.ZodTypeAny, {
|
|
454
|
-
type: "
|
|
454
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
455
455
|
provider?: string | undefined;
|
|
456
456
|
credentialType?: string | undefined;
|
|
457
457
|
rpId?: string | undefined;
|
|
@@ -459,7 +459,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
459
459
|
chainId?: number | undefined;
|
|
460
460
|
domain?: string | undefined;
|
|
461
461
|
}, {
|
|
462
|
-
type: "
|
|
462
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
463
463
|
provider?: string | undefined;
|
|
464
464
|
credentialType?: string | undefined;
|
|
465
465
|
rpId?: string | undefined;
|
|
@@ -470,7 +470,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
471
|
scopes: string[];
|
|
472
472
|
authorization: {
|
|
473
|
-
type: "
|
|
473
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
474
474
|
provider?: string | undefined;
|
|
475
475
|
credentialType?: string | undefined;
|
|
476
476
|
rpId?: string | undefined;
|
|
@@ -489,7 +489,7 @@ export declare const delegationCredentialSchema: z.ZodObject<{
|
|
|
489
489
|
}, {
|
|
490
490
|
scopes: string[];
|
|
491
491
|
authorization: {
|
|
492
|
-
type: "
|
|
492
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
493
493
|
provider?: string | undefined;
|
|
494
494
|
credentialType?: string | undefined;
|
|
495
495
|
rpId?: string | undefined;
|
|
@@ -1810,7 +1810,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1810
1810
|
chainId: z.ZodOptional<z.ZodNumber>;
|
|
1811
1811
|
domain: z.ZodOptional<z.ZodString>;
|
|
1812
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1813
|
-
type: "
|
|
1813
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1814
1814
|
provider?: string | undefined;
|
|
1815
1815
|
credentialType?: string | undefined;
|
|
1816
1816
|
rpId?: string | undefined;
|
|
@@ -1818,7 +1818,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1818
1818
|
chainId?: number | undefined;
|
|
1819
1819
|
domain?: string | undefined;
|
|
1820
1820
|
}, {
|
|
1821
|
-
type: "
|
|
1821
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1822
1822
|
provider?: string | undefined;
|
|
1823
1823
|
credentialType?: string | undefined;
|
|
1824
1824
|
rpId?: string | undefined;
|
|
@@ -1829,7 +1829,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1829
1829
|
}, "strip", z.ZodTypeAny, {
|
|
1830
1830
|
scopes: string[];
|
|
1831
1831
|
authorization: {
|
|
1832
|
-
type: "
|
|
1832
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1833
1833
|
provider?: string | undefined;
|
|
1834
1834
|
credentialType?: string | undefined;
|
|
1835
1835
|
rpId?: string | undefined;
|
|
@@ -1848,7 +1848,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1848
1848
|
}, {
|
|
1849
1849
|
scopes: string[];
|
|
1850
1850
|
authorization: {
|
|
1851
|
-
type: "
|
|
1851
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1852
1852
|
provider?: string | undefined;
|
|
1853
1853
|
credentialType?: string | undefined;
|
|
1854
1854
|
rpId?: string | undefined;
|
|
@@ -1884,7 +1884,7 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1884
1884
|
credential?: {
|
|
1885
1885
|
scopes: string[];
|
|
1886
1886
|
authorization: {
|
|
1887
|
-
type: "
|
|
1887
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
1888
1888
|
provider?: string | undefined;
|
|
1889
1889
|
credentialType?: string | undefined;
|
|
1890
1890
|
rpId?: string | undefined;
|
|
@@ -1901,6 +1901,12 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
1901
1901
|
user_identifier?: string | undefined;
|
|
1902
1902
|
credential_jwt?: string | undefined;
|
|
1903
1903
|
} | undefined;
|
|
1904
|
+
error?: {
|
|
1905
|
+
code: string;
|
|
1906
|
+
message: string;
|
|
1907
|
+
details?: Record<string, unknown> | undefined;
|
|
1908
|
+
} | undefined;
|
|
1909
|
+
delegation_id?: string | undefined;
|
|
1904
1910
|
reason?: string | undefined;
|
|
1905
1911
|
delegation?: z.objectOutputType<{
|
|
1906
1912
|
id: z.ZodString;
|
|
@@ -2313,18 +2319,12 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2313
2319
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2314
2320
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2315
2321
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2316
|
-
error?: {
|
|
2317
|
-
code: string;
|
|
2318
|
-
message: string;
|
|
2319
|
-
details?: Record<string, unknown> | undefined;
|
|
2320
|
-
} | undefined;
|
|
2321
|
-
delegation_id?: string | undefined;
|
|
2322
2322
|
}, {
|
|
2323
2323
|
valid: boolean;
|
|
2324
2324
|
credential?: {
|
|
2325
2325
|
scopes: string[];
|
|
2326
2326
|
authorization: {
|
|
2327
|
-
type: "
|
|
2327
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
2328
2328
|
provider?: string | undefined;
|
|
2329
2329
|
credentialType?: string | undefined;
|
|
2330
2330
|
rpId?: string | undefined;
|
|
@@ -2341,6 +2341,12 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2341
2341
|
user_identifier?: string | undefined;
|
|
2342
2342
|
credential_jwt?: string | undefined;
|
|
2343
2343
|
} | undefined;
|
|
2344
|
+
error?: {
|
|
2345
|
+
code: string;
|
|
2346
|
+
message: string;
|
|
2347
|
+
details?: Record<string, unknown> | undefined;
|
|
2348
|
+
} | undefined;
|
|
2349
|
+
delegation_id?: string | undefined;
|
|
2344
2350
|
reason?: string | undefined;
|
|
2345
2351
|
delegation?: z.objectInputType<{
|
|
2346
2352
|
id: z.ZodString;
|
|
@@ -2753,12 +2759,6 @@ export declare const verifyDelegationResponseSchema: z.ZodObject<{
|
|
|
2753
2759
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
2754
2760
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2755
2761
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2756
|
-
error?: {
|
|
2757
|
-
code: string;
|
|
2758
|
-
message: string;
|
|
2759
|
-
details?: Record<string, unknown> | undefined;
|
|
2760
|
-
} | undefined;
|
|
2761
|
-
delegation_id?: string | undefined;
|
|
2762
2762
|
}>;
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Wrapped verification response schema
|
|
@@ -4018,7 +4018,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4018
4018
|
chainId: z.ZodOptional<z.ZodNumber>;
|
|
4019
4019
|
domain: z.ZodOptional<z.ZodString>;
|
|
4020
4020
|
}, "strip", z.ZodTypeAny, {
|
|
4021
|
-
type: "
|
|
4021
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4022
4022
|
provider?: string | undefined;
|
|
4023
4023
|
credentialType?: string | undefined;
|
|
4024
4024
|
rpId?: string | undefined;
|
|
@@ -4026,7 +4026,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4026
4026
|
chainId?: number | undefined;
|
|
4027
4027
|
domain?: string | undefined;
|
|
4028
4028
|
}, {
|
|
4029
|
-
type: "
|
|
4029
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4030
4030
|
provider?: string | undefined;
|
|
4031
4031
|
credentialType?: string | undefined;
|
|
4032
4032
|
rpId?: string | undefined;
|
|
@@ -4037,7 +4037,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4037
4037
|
}, "strip", z.ZodTypeAny, {
|
|
4038
4038
|
scopes: string[];
|
|
4039
4039
|
authorization: {
|
|
4040
|
-
type: "
|
|
4040
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4041
4041
|
provider?: string | undefined;
|
|
4042
4042
|
credentialType?: string | undefined;
|
|
4043
4043
|
rpId?: string | undefined;
|
|
@@ -4056,7 +4056,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4056
4056
|
}, {
|
|
4057
4057
|
scopes: string[];
|
|
4058
4058
|
authorization: {
|
|
4059
|
-
type: "
|
|
4059
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4060
4060
|
provider?: string | undefined;
|
|
4061
4061
|
credentialType?: string | undefined;
|
|
4062
4062
|
rpId?: string | undefined;
|
|
@@ -4092,7 +4092,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4092
4092
|
credential?: {
|
|
4093
4093
|
scopes: string[];
|
|
4094
4094
|
authorization: {
|
|
4095
|
-
type: "
|
|
4095
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4096
4096
|
provider?: string | undefined;
|
|
4097
4097
|
credentialType?: string | undefined;
|
|
4098
4098
|
rpId?: string | undefined;
|
|
@@ -4109,6 +4109,12 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4109
4109
|
user_identifier?: string | undefined;
|
|
4110
4110
|
credential_jwt?: string | undefined;
|
|
4111
4111
|
} | undefined;
|
|
4112
|
+
error?: {
|
|
4113
|
+
code: string;
|
|
4114
|
+
message: string;
|
|
4115
|
+
details?: Record<string, unknown> | undefined;
|
|
4116
|
+
} | undefined;
|
|
4117
|
+
delegation_id?: string | undefined;
|
|
4112
4118
|
reason?: string | undefined;
|
|
4113
4119
|
delegation?: z.objectOutputType<{
|
|
4114
4120
|
id: z.ZodString;
|
|
@@ -4521,18 +4527,12 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4521
4527
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4522
4528
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4523
4529
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4524
|
-
error?: {
|
|
4525
|
-
code: string;
|
|
4526
|
-
message: string;
|
|
4527
|
-
details?: Record<string, unknown> | undefined;
|
|
4528
|
-
} | undefined;
|
|
4529
|
-
delegation_id?: string | undefined;
|
|
4530
4530
|
}, {
|
|
4531
4531
|
valid: boolean;
|
|
4532
4532
|
credential?: {
|
|
4533
4533
|
scopes: string[];
|
|
4534
4534
|
authorization: {
|
|
4535
|
-
type: "
|
|
4535
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4536
4536
|
provider?: string | undefined;
|
|
4537
4537
|
credentialType?: string | undefined;
|
|
4538
4538
|
rpId?: string | undefined;
|
|
@@ -4549,6 +4549,12 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4549
4549
|
user_identifier?: string | undefined;
|
|
4550
4550
|
credential_jwt?: string | undefined;
|
|
4551
4551
|
} | undefined;
|
|
4552
|
+
error?: {
|
|
4553
|
+
code: string;
|
|
4554
|
+
message: string;
|
|
4555
|
+
details?: Record<string, unknown> | undefined;
|
|
4556
|
+
} | undefined;
|
|
4557
|
+
delegation_id?: string | undefined;
|
|
4552
4558
|
reason?: string | undefined;
|
|
4553
4559
|
delegation?: z.objectInputType<{
|
|
4554
4560
|
id: z.ZodString;
|
|
@@ -4961,12 +4967,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4961
4967
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
4962
4968
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4963
4969
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4964
|
-
error?: {
|
|
4965
|
-
code: string;
|
|
4966
|
-
message: string;
|
|
4967
|
-
details?: Record<string, unknown> | undefined;
|
|
4968
|
-
} | undefined;
|
|
4969
|
-
delegation_id?: string | undefined;
|
|
4970
4970
|
}>;
|
|
4971
4971
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
4972
4972
|
requestId: z.ZodString;
|
|
@@ -4985,7 +4985,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4985
4985
|
credential?: {
|
|
4986
4986
|
scopes: string[];
|
|
4987
4987
|
authorization: {
|
|
4988
|
-
type: "
|
|
4988
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
4989
4989
|
provider?: string | undefined;
|
|
4990
4990
|
credentialType?: string | undefined;
|
|
4991
4991
|
rpId?: string | undefined;
|
|
@@ -5002,6 +5002,12 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5002
5002
|
user_identifier?: string | undefined;
|
|
5003
5003
|
credential_jwt?: string | undefined;
|
|
5004
5004
|
} | undefined;
|
|
5005
|
+
error?: {
|
|
5006
|
+
code: string;
|
|
5007
|
+
message: string;
|
|
5008
|
+
details?: Record<string, unknown> | undefined;
|
|
5009
|
+
} | undefined;
|
|
5010
|
+
delegation_id?: string | undefined;
|
|
5005
5011
|
reason?: string | undefined;
|
|
5006
5012
|
delegation?: z.objectOutputType<{
|
|
5007
5013
|
id: z.ZodString;
|
|
@@ -5414,12 +5420,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5414
5420
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5415
5421
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5416
5422
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5417
|
-
error?: {
|
|
5418
|
-
code: string;
|
|
5419
|
-
message: string;
|
|
5420
|
-
details?: Record<string, unknown> | undefined;
|
|
5421
|
-
} | undefined;
|
|
5422
|
-
delegation_id?: string | undefined;
|
|
5423
5423
|
};
|
|
5424
5424
|
metadata?: {
|
|
5425
5425
|
timestamp: string;
|
|
@@ -5432,7 +5432,7 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5432
5432
|
credential?: {
|
|
5433
5433
|
scopes: string[];
|
|
5434
5434
|
authorization: {
|
|
5435
|
-
type: "
|
|
5435
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "webauthn" | "siwe" | "none";
|
|
5436
5436
|
provider?: string | undefined;
|
|
5437
5437
|
credentialType?: string | undefined;
|
|
5438
5438
|
rpId?: string | undefined;
|
|
@@ -5449,6 +5449,12 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5449
5449
|
user_identifier?: string | undefined;
|
|
5450
5450
|
credential_jwt?: string | undefined;
|
|
5451
5451
|
} | undefined;
|
|
5452
|
+
error?: {
|
|
5453
|
+
code: string;
|
|
5454
|
+
message: string;
|
|
5455
|
+
details?: Record<string, unknown> | undefined;
|
|
5456
|
+
} | undefined;
|
|
5457
|
+
delegation_id?: string | undefined;
|
|
5452
5458
|
reason?: string | undefined;
|
|
5453
5459
|
delegation?: z.objectInputType<{
|
|
5454
5460
|
id: z.ZodString;
|
|
@@ -5861,12 +5867,6 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5861
5867
|
revokedReason: z.ZodOptional<z.ZodString>;
|
|
5862
5868
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5863
5869
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5864
|
-
error?: {
|
|
5865
|
-
code: string;
|
|
5866
|
-
message: string;
|
|
5867
|
-
details?: Record<string, unknown> | undefined;
|
|
5868
|
-
} | undefined;
|
|
5869
|
-
delegation_id?: string | undefined;
|
|
5870
5870
|
};
|
|
5871
5871
|
metadata?: {
|
|
5872
5872
|
timestamp: string;
|
|
@@ -6312,12 +6312,12 @@ export declare const revokeDelegationResponseSchema: z.ZodObject<{
|
|
|
6312
6312
|
revoked: z.ZodBoolean;
|
|
6313
6313
|
revoked_at: z.ZodNumber;
|
|
6314
6314
|
}, "strip", z.ZodTypeAny, {
|
|
6315
|
-
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?: {
|
|
@@ -6383,15 +6383,15 @@ export declare const sessionClientInfoSchema: z.ZodObject<{
|
|
|
6383
6383
|
}, "strip", z.ZodTypeAny, {
|
|
6384
6384
|
name: string;
|
|
6385
6385
|
version?: string | undefined;
|
|
6386
|
-
protocol_version?: string | undefined;
|
|
6387
6386
|
platform?: string | undefined;
|
|
6388
6387
|
vendor?: string | undefined;
|
|
6388
|
+
protocol_version?: string | undefined;
|
|
6389
6389
|
}, {
|
|
6390
6390
|
name: string;
|
|
6391
6391
|
version?: string | undefined;
|
|
6392
|
-
protocol_version?: string | undefined;
|
|
6393
6392
|
platform?: string | undefined;
|
|
6394
6393
|
vendor?: string | undefined;
|
|
6394
|
+
protocol_version?: string | undefined;
|
|
6395
6395
|
}>;
|
|
6396
6396
|
/**
|
|
6397
6397
|
* Session client identity schema
|
|
@@ -6401,13 +6401,13 @@ export declare const sessionClientIdentitySchema: z.ZodObject<{
|
|
|
6401
6401
|
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6402
6402
|
registered: z.ZodBoolean;
|
|
6403
6403
|
}, "strip", z.ZodTypeAny, {
|
|
6404
|
+
registered: boolean;
|
|
6404
6405
|
did: string;
|
|
6405
6406
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6406
|
-
registered: boolean;
|
|
6407
6407
|
}, {
|
|
6408
|
+
registered: boolean;
|
|
6408
6409
|
did: string;
|
|
6409
6410
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6410
|
-
registered: boolean;
|
|
6411
6411
|
}>;
|
|
6412
6412
|
/**
|
|
6413
6413
|
* Register session request schema
|
|
@@ -6427,68 +6427,68 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6427
6427
|
}, "strip", z.ZodTypeAny, {
|
|
6428
6428
|
name: string;
|
|
6429
6429
|
version?: string | undefined;
|
|
6430
|
-
protocol_version?: string | undefined;
|
|
6431
6430
|
platform?: string | undefined;
|
|
6432
6431
|
vendor?: string | undefined;
|
|
6432
|
+
protocol_version?: string | undefined;
|
|
6433
6433
|
}, {
|
|
6434
6434
|
name: string;
|
|
6435
6435
|
version?: string | undefined;
|
|
6436
|
-
protocol_version?: string | undefined;
|
|
6437
6436
|
platform?: string | undefined;
|
|
6438
6437
|
vendor?: string | undefined;
|
|
6438
|
+
protocol_version?: string | undefined;
|
|
6439
6439
|
}>;
|
|
6440
6440
|
client_identity: z.ZodOptional<z.ZodObject<{
|
|
6441
6441
|
did: z.ZodString;
|
|
6442
6442
|
source: z.ZodEnum<["knowthat.ai", "kta-lookup", "generated"]>;
|
|
6443
6443
|
registered: z.ZodBoolean;
|
|
6444
6444
|
}, "strip", z.ZodTypeAny, {
|
|
6445
|
+
registered: boolean;
|
|
6445
6446
|
did: string;
|
|
6446
6447
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6447
|
-
registered: boolean;
|
|
6448
6448
|
}, {
|
|
6449
|
+
registered: boolean;
|
|
6449
6450
|
did: string;
|
|
6450
6451
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6451
|
-
registered: boolean;
|
|
6452
6452
|
}>>;
|
|
6453
6453
|
server_did: z.ZodOptional<z.ZodString>;
|
|
6454
6454
|
ttl_minutes: z.ZodOptional<z.ZodNumber>;
|
|
6455
6455
|
}, "strip", z.ZodTypeAny, {
|
|
6456
6456
|
session_id: string;
|
|
6457
6457
|
agent_did: string;
|
|
6458
|
+
project_id: string;
|
|
6458
6459
|
created_at: number;
|
|
6459
6460
|
client_info: {
|
|
6460
6461
|
name: string;
|
|
6461
6462
|
version?: string | undefined;
|
|
6462
|
-
protocol_version?: string | undefined;
|
|
6463
6463
|
platform?: string | undefined;
|
|
6464
6464
|
vendor?: string | undefined;
|
|
6465
|
+
protocol_version?: string | undefined;
|
|
6465
6466
|
};
|
|
6466
|
-
project_id: string;
|
|
6467
6467
|
agent_name?: string | undefined;
|
|
6468
6468
|
client_identity?: {
|
|
6469
|
+
registered: boolean;
|
|
6469
6470
|
did: string;
|
|
6470
6471
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6471
|
-
registered: boolean;
|
|
6472
6472
|
} | undefined;
|
|
6473
6473
|
server_did?: string | undefined;
|
|
6474
6474
|
ttl_minutes?: number | undefined;
|
|
6475
6475
|
}, {
|
|
6476
6476
|
session_id: string;
|
|
6477
6477
|
agent_did: string;
|
|
6478
|
+
project_id: string;
|
|
6478
6479
|
created_at: number;
|
|
6479
6480
|
client_info: {
|
|
6480
6481
|
name: string;
|
|
6481
6482
|
version?: string | undefined;
|
|
6482
|
-
protocol_version?: string | undefined;
|
|
6483
6483
|
platform?: string | undefined;
|
|
6484
6484
|
vendor?: string | undefined;
|
|
6485
|
+
protocol_version?: string | undefined;
|
|
6485
6486
|
};
|
|
6486
|
-
project_id: string;
|
|
6487
6487
|
agent_name?: string | undefined;
|
|
6488
6488
|
client_identity?: {
|
|
6489
|
+
registered: boolean;
|
|
6489
6490
|
did: string;
|
|
6490
6491
|
source: "knowthat.ai" | "kta-lookup" | "generated";
|
|
6491
|
-
registered: boolean;
|
|
6492
6492
|
} | undefined;
|
|
6493
6493
|
server_did?: string | undefined;
|
|
6494
6494
|
ttl_minutes?: number | undefined;
|
|
@@ -6501,13 +6501,13 @@ export declare const registerSessionResponseSchema: z.ZodObject<{
|
|
|
6501
6501
|
registered: z.ZodBoolean;
|
|
6502
6502
|
created_at: z.ZodString;
|
|
6503
6503
|
}, "strip", z.ZodTypeAny, {
|
|
6504
|
+
registered: boolean;
|
|
6504
6505
|
session_id: string;
|
|
6505
6506
|
created_at: string;
|
|
6506
|
-
registered: boolean;
|
|
6507
6507
|
}, {
|
|
6508
|
+
registered: boolean;
|
|
6508
6509
|
session_id: string;
|
|
6509
6510
|
created_at: string;
|
|
6510
|
-
registered: boolean;
|
|
6511
6511
|
}>;
|
|
6512
6512
|
/**
|
|
6513
6513
|
* Wrapped session registration response schema
|
|
@@ -6519,13 +6519,13 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6519
6519
|
registered: z.ZodBoolean;
|
|
6520
6520
|
created_at: z.ZodString;
|
|
6521
6521
|
}, "strip", z.ZodTypeAny, {
|
|
6522
|
+
registered: boolean;
|
|
6522
6523
|
session_id: string;
|
|
6523
6524
|
created_at: string;
|
|
6524
|
-
registered: boolean;
|
|
6525
6525
|
}, {
|
|
6526
|
+
registered: boolean;
|
|
6526
6527
|
session_id: string;
|
|
6527
6528
|
created_at: string;
|
|
6528
|
-
registered: boolean;
|
|
6529
6529
|
}>;
|
|
6530
6530
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
6531
6531
|
requestId: z.ZodString;
|
|
@@ -6540,9 +6540,9 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6540
6540
|
}, "strip", z.ZodTypeAny, {
|
|
6541
6541
|
success: boolean;
|
|
6542
6542
|
data: {
|
|
6543
|
+
registered: boolean;
|
|
6543
6544
|
session_id: string;
|
|
6544
6545
|
created_at: string;
|
|
6545
|
-
registered: boolean;
|
|
6546
6546
|
};
|
|
6547
6547
|
metadata?: {
|
|
6548
6548
|
timestamp: string;
|
|
@@ -6551,9 +6551,9 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6551
6551
|
}, {
|
|
6552
6552
|
success: boolean;
|
|
6553
6553
|
data: {
|
|
6554
|
+
registered: boolean;
|
|
6554
6555
|
session_id: string;
|
|
6555
6556
|
created_at: string;
|
|
6556
|
-
registered: boolean;
|
|
6557
6557
|
};
|
|
6558
6558
|
metadata?: {
|
|
6559
6559
|
timestamp: string;
|