@kya-os/contracts 1.6.3-canary.0 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +74 -100
- package/dist/audit/index.d.ts +4 -4
- package/dist/config/identity.d.ts +6 -6
- package/dist/consent/schemas.d.ts +78 -78
- package/dist/dashboard-config/index.d.ts +2 -2
- package/dist/dashboard-config/index.js +1 -4
- package/dist/dashboard-config/schemas.d.ts +3307 -6742
- package/dist/dashboard-config/schemas.js +1 -23
- package/dist/dashboard-config/types.d.ts +1 -28
- package/dist/handshake.d.ts +50 -0
- package/dist/handshake.js +23 -1
- package/dist/identity/index.d.ts +7 -0
- package/dist/identity/index.js +23 -0
- package/dist/identity/schemas.d.ts +250 -0
- package/dist/identity/schemas.js +115 -0
- package/dist/index.js +1 -0
- package/dist/tool-protection/index.d.ts +6 -6
- package/dist/well-known/index.d.ts +2 -2
- package/package.json +6 -6
|
@@ -29,8 +29,8 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
|
|
|
29
29
|
had_old_value: z.ZodBoolean;
|
|
30
30
|
cleared: z.ZodBoolean;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
agent_did: string;
|
|
33
32
|
message: string;
|
|
33
|
+
agent_did: string;
|
|
34
34
|
project_id: string | null;
|
|
35
35
|
cache_key: string;
|
|
36
36
|
old_cache_key: string | null;
|
|
@@ -38,8 +38,8 @@ export declare const clearCacheResponseSchema: z.ZodObject<{
|
|
|
38
38
|
had_old_value: boolean;
|
|
39
39
|
cleared: boolean;
|
|
40
40
|
}, {
|
|
41
|
-
agent_did: string;
|
|
42
41
|
message: string;
|
|
42
|
+
agent_did: string;
|
|
43
43
|
project_id: string | null;
|
|
44
44
|
cache_key: string;
|
|
45
45
|
old_cache_key: string | null;
|
|
@@ -33,11 +33,11 @@ export declare const agentShieldAPIResponseSchema: <T extends z.ZodTypeAny>(data
|
|
|
33
33
|
requestId: z.ZodString;
|
|
34
34
|
timestamp: z.ZodString;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
timestamp: string;
|
|
37
36
|
requestId: string;
|
|
38
|
-
}, {
|
|
39
37
|
timestamp: string;
|
|
38
|
+
}, {
|
|
40
39
|
requestId: string;
|
|
40
|
+
timestamp: string;
|
|
41
41
|
}>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
43
43
|
success: z.ZodBoolean;
|
|
@@ -46,52 +46,26 @@ export declare const agentShieldAPIResponseSchema: <T extends z.ZodTypeAny>(data
|
|
|
46
46
|
requestId: z.ZodString;
|
|
47
47
|
timestamp: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
timestamp: string;
|
|
50
49
|
requestId: string;
|
|
51
|
-
}, {
|
|
52
|
-
timestamp: string;
|
|
53
|
-
requestId: string;
|
|
54
|
-
}>>;
|
|
55
|
-
}>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
56
|
-
success: z.ZodBoolean;
|
|
57
|
-
data: T;
|
|
58
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
59
|
-
requestId: z.ZodString;
|
|
60
|
-
timestamp: z.ZodString;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
50
|
timestamp: string;
|
|
63
|
-
requestId: string;
|
|
64
51
|
}, {
|
|
65
|
-
timestamp: string;
|
|
66
52
|
requestId: string;
|
|
67
|
-
}>>;
|
|
68
|
-
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
69
|
-
success: z.ZodBoolean;
|
|
70
|
-
data: T;
|
|
71
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
requestId: z.ZodString;
|
|
73
|
-
timestamp: z.ZodString;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
timestamp: string;
|
|
76
|
-
requestId: string;
|
|
77
|
-
}, {
|
|
78
53
|
timestamp: string;
|
|
79
|
-
requestId: string;
|
|
80
54
|
}>>;
|
|
81
|
-
}> extends infer
|
|
55
|
+
}>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<{
|
|
82
56
|
success: z.ZodBoolean;
|
|
83
57
|
data: T;
|
|
84
58
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
85
59
|
requestId: z.ZodString;
|
|
86
60
|
timestamp: z.ZodString;
|
|
87
61
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
timestamp: string;
|
|
89
62
|
requestId: string;
|
|
90
|
-
}, {
|
|
91
63
|
timestamp: string;
|
|
64
|
+
}, {
|
|
92
65
|
requestId: string;
|
|
66
|
+
timestamp: string;
|
|
93
67
|
}>>;
|
|
94
|
-
}>[k_1]; } : never>;
|
|
68
|
+
}> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
|
|
95
69
|
/**
|
|
96
70
|
* Proof submission request schema
|
|
97
71
|
*/
|
|
@@ -115,57 +89,57 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
115
89
|
}, "strip", z.ZodTypeAny, {
|
|
116
90
|
did: string;
|
|
117
91
|
kid: string;
|
|
118
|
-
|
|
92
|
+
ts: number;
|
|
93
|
+
nonce: string;
|
|
119
94
|
audience: string;
|
|
95
|
+
sessionId: string;
|
|
120
96
|
requestHash: string;
|
|
121
97
|
responseHash: string;
|
|
122
|
-
nonce: string;
|
|
123
|
-
ts: number;
|
|
124
98
|
scopeId?: string | undefined;
|
|
125
|
-
clientDid?: string | undefined;
|
|
126
99
|
delegationRef?: string | undefined;
|
|
100
|
+
clientDid?: string | undefined;
|
|
127
101
|
}, {
|
|
128
102
|
did: string;
|
|
129
103
|
kid: string;
|
|
130
|
-
|
|
104
|
+
ts: number;
|
|
105
|
+
nonce: string;
|
|
131
106
|
audience: string;
|
|
107
|
+
sessionId: string;
|
|
132
108
|
requestHash: string;
|
|
133
109
|
responseHash: string;
|
|
134
|
-
nonce: string;
|
|
135
|
-
ts: number;
|
|
136
110
|
scopeId?: string | undefined;
|
|
137
|
-
clientDid?: string | undefined;
|
|
138
111
|
delegationRef?: string | undefined;
|
|
112
|
+
clientDid?: string | undefined;
|
|
139
113
|
}>;
|
|
140
114
|
}, "strip", z.ZodTypeAny, {
|
|
141
115
|
jws: string;
|
|
142
116
|
meta: {
|
|
143
117
|
did: string;
|
|
144
118
|
kid: string;
|
|
145
|
-
|
|
119
|
+
ts: number;
|
|
120
|
+
nonce: string;
|
|
146
121
|
audience: string;
|
|
122
|
+
sessionId: string;
|
|
147
123
|
requestHash: string;
|
|
148
124
|
responseHash: string;
|
|
149
|
-
nonce: string;
|
|
150
|
-
ts: number;
|
|
151
125
|
scopeId?: string | undefined;
|
|
152
|
-
clientDid?: string | undefined;
|
|
153
126
|
delegationRef?: string | undefined;
|
|
127
|
+
clientDid?: string | undefined;
|
|
154
128
|
};
|
|
155
129
|
}, {
|
|
156
130
|
jws: string;
|
|
157
131
|
meta: {
|
|
158
132
|
did: string;
|
|
159
133
|
kid: string;
|
|
160
|
-
|
|
134
|
+
ts: number;
|
|
135
|
+
nonce: string;
|
|
161
136
|
audience: string;
|
|
137
|
+
sessionId: string;
|
|
162
138
|
requestHash: string;
|
|
163
139
|
responseHash: string;
|
|
164
|
-
nonce: string;
|
|
165
|
-
ts: number;
|
|
166
140
|
scopeId?: string | undefined;
|
|
167
|
-
clientDid?: string | undefined;
|
|
168
141
|
delegationRef?: string | undefined;
|
|
142
|
+
clientDid?: string | undefined;
|
|
169
143
|
};
|
|
170
144
|
}>, "many">;
|
|
171
145
|
context: z.ZodOptional<z.ZodObject<{
|
|
@@ -211,33 +185,33 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
211
185
|
identifier: string;
|
|
212
186
|
}>>;
|
|
213
187
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
scopes: string[];
|
|
215
188
|
sessionId: string;
|
|
216
|
-
|
|
189
|
+
scopes: string[];
|
|
217
190
|
timestamp: number;
|
|
191
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
218
192
|
agentDid: string;
|
|
219
193
|
targetTools: string[];
|
|
220
194
|
projectId: string;
|
|
221
195
|
userDid?: string | undefined;
|
|
222
196
|
delegationId?: string | undefined;
|
|
223
197
|
termsAccepted?: boolean | undefined;
|
|
224
|
-
credentialStatus?: "
|
|
198
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
225
199
|
oauthIdentity?: {
|
|
226
200
|
provider: string;
|
|
227
201
|
identifier: string;
|
|
228
202
|
} | undefined;
|
|
229
203
|
}, {
|
|
230
|
-
scopes: string[];
|
|
231
204
|
sessionId: string;
|
|
232
|
-
|
|
205
|
+
scopes: string[];
|
|
233
206
|
timestamp: number;
|
|
207
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
234
208
|
agentDid: string;
|
|
235
209
|
targetTools: string[];
|
|
236
210
|
projectId: string;
|
|
237
211
|
userDid?: string | undefined;
|
|
238
212
|
delegationId?: string | undefined;
|
|
239
213
|
termsAccepted?: boolean | undefined;
|
|
240
|
-
credentialStatus?: "
|
|
214
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
241
215
|
oauthIdentity?: {
|
|
242
216
|
provider: string;
|
|
243
217
|
identifier: string;
|
|
@@ -253,17 +227,17 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
253
227
|
userIdentifier?: string | undefined;
|
|
254
228
|
}[] | undefined;
|
|
255
229
|
consentEvents?: {
|
|
256
|
-
scopes: string[];
|
|
257
230
|
sessionId: string;
|
|
258
|
-
|
|
231
|
+
scopes: string[];
|
|
259
232
|
timestamp: number;
|
|
233
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
260
234
|
agentDid: string;
|
|
261
235
|
targetTools: string[];
|
|
262
236
|
projectId: string;
|
|
263
237
|
userDid?: string | undefined;
|
|
264
238
|
delegationId?: string | undefined;
|
|
265
239
|
termsAccepted?: boolean | undefined;
|
|
266
|
-
credentialStatus?: "
|
|
240
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
267
241
|
oauthIdentity?: {
|
|
268
242
|
provider: string;
|
|
269
243
|
identifier: string;
|
|
@@ -279,17 +253,17 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
279
253
|
userIdentifier?: string | undefined;
|
|
280
254
|
}[] | undefined;
|
|
281
255
|
consentEvents?: {
|
|
282
|
-
scopes: string[];
|
|
283
256
|
sessionId: string;
|
|
284
|
-
|
|
257
|
+
scopes: string[];
|
|
285
258
|
timestamp: number;
|
|
259
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
286
260
|
agentDid: string;
|
|
287
261
|
targetTools: string[];
|
|
288
262
|
projectId: string;
|
|
289
263
|
userDid?: string | undefined;
|
|
290
264
|
delegationId?: string | undefined;
|
|
291
265
|
termsAccepted?: boolean | undefined;
|
|
292
|
-
credentialStatus?: "
|
|
266
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
293
267
|
oauthIdentity?: {
|
|
294
268
|
provider: string;
|
|
295
269
|
identifier: string;
|
|
@@ -304,15 +278,15 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
304
278
|
meta: {
|
|
305
279
|
did: string;
|
|
306
280
|
kid: string;
|
|
307
|
-
|
|
281
|
+
ts: number;
|
|
282
|
+
nonce: string;
|
|
308
283
|
audience: string;
|
|
284
|
+
sessionId: string;
|
|
309
285
|
requestHash: string;
|
|
310
286
|
responseHash: string;
|
|
311
|
-
nonce: string;
|
|
312
|
-
ts: number;
|
|
313
287
|
scopeId?: string | undefined;
|
|
314
|
-
clientDid?: string | undefined;
|
|
315
288
|
delegationRef?: string | undefined;
|
|
289
|
+
clientDid?: string | undefined;
|
|
316
290
|
};
|
|
317
291
|
}[];
|
|
318
292
|
delegation_id?: string | null | undefined;
|
|
@@ -325,17 +299,17 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
325
299
|
userIdentifier?: string | undefined;
|
|
326
300
|
}[] | undefined;
|
|
327
301
|
consentEvents?: {
|
|
328
|
-
scopes: string[];
|
|
329
302
|
sessionId: string;
|
|
330
|
-
|
|
303
|
+
scopes: string[];
|
|
331
304
|
timestamp: number;
|
|
305
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
332
306
|
agentDid: string;
|
|
333
307
|
targetTools: string[];
|
|
334
308
|
projectId: string;
|
|
335
309
|
userDid?: string | undefined;
|
|
336
310
|
delegationId?: string | undefined;
|
|
337
311
|
termsAccepted?: boolean | undefined;
|
|
338
|
-
credentialStatus?: "
|
|
312
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
339
313
|
oauthIdentity?: {
|
|
340
314
|
provider: string;
|
|
341
315
|
identifier: string;
|
|
@@ -350,15 +324,15 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
350
324
|
meta: {
|
|
351
325
|
did: string;
|
|
352
326
|
kid: string;
|
|
353
|
-
|
|
327
|
+
ts: number;
|
|
328
|
+
nonce: string;
|
|
354
329
|
audience: string;
|
|
330
|
+
sessionId: string;
|
|
355
331
|
requestHash: string;
|
|
356
332
|
responseHash: string;
|
|
357
|
-
nonce: string;
|
|
358
|
-
ts: number;
|
|
359
333
|
scopeId?: string | undefined;
|
|
360
|
-
clientDid?: string | undefined;
|
|
361
334
|
delegationRef?: string | undefined;
|
|
335
|
+
clientDid?: string | undefined;
|
|
362
336
|
};
|
|
363
337
|
}[];
|
|
364
338
|
delegation_id?: string | null | undefined;
|
|
@@ -371,17 +345,17 @@ export declare const proofSubmissionRequestSchema: z.ZodObject<{
|
|
|
371
345
|
userIdentifier?: string | undefined;
|
|
372
346
|
}[] | undefined;
|
|
373
347
|
consentEvents?: {
|
|
374
|
-
scopes: string[];
|
|
375
348
|
sessionId: string;
|
|
376
|
-
|
|
349
|
+
scopes: string[];
|
|
377
350
|
timestamp: number;
|
|
351
|
+
eventType: "consent:page_viewed" | "consent:approved" | "consent:delegation_created" | "consent:credential_required";
|
|
378
352
|
agentDid: string;
|
|
379
353
|
targetTools: string[];
|
|
380
354
|
projectId: string;
|
|
381
355
|
userDid?: string | undefined;
|
|
382
356
|
delegationId?: string | undefined;
|
|
383
357
|
termsAccepted?: boolean | undefined;
|
|
384
|
-
credentialStatus?: "
|
|
358
|
+
credentialStatus?: "present" | "required" | "obtained" | undefined;
|
|
385
359
|
oauthIdentity?: {
|
|
386
360
|
provider: string;
|
|
387
361
|
identifier: string;
|
|
@@ -4804,11 +4778,11 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
4804
4778
|
requestId: z.ZodString;
|
|
4805
4779
|
timestamp: z.ZodString;
|
|
4806
4780
|
}, "strip", z.ZodTypeAny, {
|
|
4807
|
-
timestamp: string;
|
|
4808
4781
|
requestId: string;
|
|
4809
|
-
}, {
|
|
4810
4782
|
timestamp: string;
|
|
4783
|
+
}, {
|
|
4811
4784
|
requestId: string;
|
|
4785
|
+
timestamp: string;
|
|
4812
4786
|
}>>;
|
|
4813
4787
|
}, "strip", z.ZodTypeAny, {
|
|
4814
4788
|
success: boolean;
|
|
@@ -5243,8 +5217,8 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5243
5217
|
reason?: string | undefined;
|
|
5244
5218
|
};
|
|
5245
5219
|
metadata?: {
|
|
5246
|
-
timestamp: string;
|
|
5247
5220
|
requestId: string;
|
|
5221
|
+
timestamp: string;
|
|
5248
5222
|
} | undefined;
|
|
5249
5223
|
}, {
|
|
5250
5224
|
success: boolean;
|
|
@@ -5679,8 +5653,8 @@ export declare const verifyDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
5679
5653
|
reason?: string | undefined;
|
|
5680
5654
|
};
|
|
5681
5655
|
metadata?: {
|
|
5682
|
-
timestamp: string;
|
|
5683
5656
|
requestId: string;
|
|
5657
|
+
timestamp: string;
|
|
5684
5658
|
} | undefined;
|
|
5685
5659
|
}>;
|
|
5686
5660
|
/**
|
|
@@ -5853,11 +5827,11 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
5853
5827
|
requestId: z.ZodString;
|
|
5854
5828
|
timestamp: z.ZodString;
|
|
5855
5829
|
}, "strip", z.ZodTypeAny, {
|
|
5856
|
-
timestamp: string;
|
|
5857
5830
|
requestId: string;
|
|
5858
|
-
}, {
|
|
5859
5831
|
timestamp: string;
|
|
5832
|
+
}, {
|
|
5860
5833
|
requestId: string;
|
|
5834
|
+
timestamp: string;
|
|
5861
5835
|
}>>;
|
|
5862
5836
|
}, "strip", z.ZodTypeAny, {
|
|
5863
5837
|
success: boolean;
|
|
@@ -5879,8 +5853,8 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
5879
5853
|
} | undefined;
|
|
5880
5854
|
};
|
|
5881
5855
|
metadata?: {
|
|
5882
|
-
timestamp: string;
|
|
5883
5856
|
requestId: string;
|
|
5857
|
+
timestamp: string;
|
|
5884
5858
|
} | undefined;
|
|
5885
5859
|
}, {
|
|
5886
5860
|
success: boolean;
|
|
@@ -5902,8 +5876,8 @@ export declare const toolProtectionConfigAPIResponseSchema: z.ZodObject<{
|
|
|
5902
5876
|
} | undefined;
|
|
5903
5877
|
};
|
|
5904
5878
|
metadata?: {
|
|
5905
|
-
timestamp: string;
|
|
5906
5879
|
requestId: string;
|
|
5880
|
+
timestamp: string;
|
|
5907
5881
|
} | undefined;
|
|
5908
5882
|
}>;
|
|
5909
5883
|
/**
|
|
@@ -6040,11 +6014,11 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6040
6014
|
requestId: z.ZodString;
|
|
6041
6015
|
timestamp: z.ZodString;
|
|
6042
6016
|
}, "strip", z.ZodTypeAny, {
|
|
6043
|
-
timestamp: string;
|
|
6044
6017
|
requestId: string;
|
|
6045
|
-
}, {
|
|
6046
6018
|
timestamp: string;
|
|
6019
|
+
}, {
|
|
6047
6020
|
requestId: string;
|
|
6021
|
+
timestamp: string;
|
|
6048
6022
|
}>>;
|
|
6049
6023
|
}, "strip", z.ZodTypeAny, {
|
|
6050
6024
|
success: boolean;
|
|
@@ -6060,8 +6034,8 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6060
6034
|
expires_at?: string | null | undefined;
|
|
6061
6035
|
};
|
|
6062
6036
|
metadata?: {
|
|
6063
|
-
timestamp: string;
|
|
6064
6037
|
requestId: string;
|
|
6038
|
+
timestamp: string;
|
|
6065
6039
|
} | undefined;
|
|
6066
6040
|
}, {
|
|
6067
6041
|
success: boolean;
|
|
@@ -6077,8 +6051,8 @@ export declare const createDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6077
6051
|
expires_at?: string | null | undefined;
|
|
6078
6052
|
};
|
|
6079
6053
|
metadata?: {
|
|
6080
|
-
timestamp: string;
|
|
6081
6054
|
requestId: string;
|
|
6055
|
+
timestamp: string;
|
|
6082
6056
|
} | undefined;
|
|
6083
6057
|
}>;
|
|
6084
6058
|
/**
|
|
@@ -6129,11 +6103,11 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6129
6103
|
requestId: z.ZodString;
|
|
6130
6104
|
timestamp: z.ZodString;
|
|
6131
6105
|
}, "strip", z.ZodTypeAny, {
|
|
6132
|
-
timestamp: string;
|
|
6133
6106
|
requestId: string;
|
|
6134
|
-
}, {
|
|
6135
6107
|
timestamp: string;
|
|
6108
|
+
}, {
|
|
6136
6109
|
requestId: string;
|
|
6110
|
+
timestamp: string;
|
|
6137
6111
|
}>>;
|
|
6138
6112
|
}, "strip", z.ZodTypeAny, {
|
|
6139
6113
|
success: boolean;
|
|
@@ -6143,8 +6117,8 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6143
6117
|
revoked_at: number;
|
|
6144
6118
|
};
|
|
6145
6119
|
metadata?: {
|
|
6146
|
-
timestamp: string;
|
|
6147
6120
|
requestId: string;
|
|
6121
|
+
timestamp: string;
|
|
6148
6122
|
} | undefined;
|
|
6149
6123
|
}, {
|
|
6150
6124
|
success: boolean;
|
|
@@ -6154,8 +6128,8 @@ export declare const revokeDelegationAPIResponseSchema: z.ZodObject<{
|
|
|
6154
6128
|
revoked_at: number;
|
|
6155
6129
|
};
|
|
6156
6130
|
metadata?: {
|
|
6157
|
-
timestamp: string;
|
|
6158
6131
|
requestId: string;
|
|
6132
|
+
timestamp: string;
|
|
6159
6133
|
} | undefined;
|
|
6160
6134
|
}>;
|
|
6161
6135
|
/**
|
|
@@ -6170,15 +6144,15 @@ export declare const sessionClientInfoSchema: z.ZodObject<{
|
|
|
6170
6144
|
}, "strip", z.ZodTypeAny, {
|
|
6171
6145
|
name: string;
|
|
6172
6146
|
version?: string | undefined;
|
|
6147
|
+
protocol_version?: string | undefined;
|
|
6173
6148
|
platform?: string | undefined;
|
|
6174
6149
|
vendor?: string | undefined;
|
|
6175
|
-
protocol_version?: string | undefined;
|
|
6176
6150
|
}, {
|
|
6177
6151
|
name: string;
|
|
6178
6152
|
version?: string | undefined;
|
|
6153
|
+
protocol_version?: string | undefined;
|
|
6179
6154
|
platform?: string | undefined;
|
|
6180
6155
|
vendor?: string | undefined;
|
|
6181
|
-
protocol_version?: string | undefined;
|
|
6182
6156
|
}>;
|
|
6183
6157
|
/**
|
|
6184
6158
|
* Session client identity schema
|
|
@@ -6213,15 +6187,15 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6213
6187
|
}, "strip", z.ZodTypeAny, {
|
|
6214
6188
|
name: string;
|
|
6215
6189
|
version?: string | undefined;
|
|
6190
|
+
protocol_version?: string | undefined;
|
|
6216
6191
|
platform?: string | undefined;
|
|
6217
6192
|
vendor?: string | undefined;
|
|
6218
|
-
protocol_version?: string | undefined;
|
|
6219
6193
|
}, {
|
|
6220
6194
|
name: string;
|
|
6221
6195
|
version?: string | undefined;
|
|
6196
|
+
protocol_version?: string | undefined;
|
|
6222
6197
|
platform?: string | undefined;
|
|
6223
6198
|
vendor?: string | undefined;
|
|
6224
|
-
protocol_version?: string | undefined;
|
|
6225
6199
|
}>;
|
|
6226
6200
|
client_identity: z.ZodOptional<z.ZodObject<{
|
|
6227
6201
|
did: z.ZodString;
|
|
@@ -6245,9 +6219,9 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6245
6219
|
client_info: {
|
|
6246
6220
|
name: string;
|
|
6247
6221
|
version?: string | undefined;
|
|
6222
|
+
protocol_version?: string | undefined;
|
|
6248
6223
|
platform?: string | undefined;
|
|
6249
6224
|
vendor?: string | undefined;
|
|
6250
|
-
protocol_version?: string | undefined;
|
|
6251
6225
|
};
|
|
6252
6226
|
project_id: string;
|
|
6253
6227
|
client_identity?: {
|
|
@@ -6264,9 +6238,9 @@ export declare const registerSessionRequestSchema: z.ZodObject<{
|
|
|
6264
6238
|
client_info: {
|
|
6265
6239
|
name: string;
|
|
6266
6240
|
version?: string | undefined;
|
|
6241
|
+
protocol_version?: string | undefined;
|
|
6267
6242
|
platform?: string | undefined;
|
|
6268
6243
|
vendor?: string | undefined;
|
|
6269
|
-
protocol_version?: string | undefined;
|
|
6270
6244
|
};
|
|
6271
6245
|
project_id: string;
|
|
6272
6246
|
client_identity?: {
|
|
@@ -6315,11 +6289,11 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6315
6289
|
requestId: z.ZodString;
|
|
6316
6290
|
timestamp: z.ZodString;
|
|
6317
6291
|
}, "strip", z.ZodTypeAny, {
|
|
6318
|
-
timestamp: string;
|
|
6319
6292
|
requestId: string;
|
|
6320
|
-
}, {
|
|
6321
6293
|
timestamp: string;
|
|
6294
|
+
}, {
|
|
6322
6295
|
requestId: string;
|
|
6296
|
+
timestamp: string;
|
|
6323
6297
|
}>>;
|
|
6324
6298
|
}, "strip", z.ZodTypeAny, {
|
|
6325
6299
|
success: boolean;
|
|
@@ -6329,8 +6303,8 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6329
6303
|
registered: boolean;
|
|
6330
6304
|
};
|
|
6331
6305
|
metadata?: {
|
|
6332
|
-
timestamp: string;
|
|
6333
6306
|
requestId: string;
|
|
6307
|
+
timestamp: string;
|
|
6334
6308
|
} | undefined;
|
|
6335
6309
|
}, {
|
|
6336
6310
|
success: boolean;
|
|
@@ -6340,7 +6314,7 @@ export declare const registerSessionAPIResponseSchema: z.ZodObject<{
|
|
|
6340
6314
|
registered: boolean;
|
|
6341
6315
|
};
|
|
6342
6316
|
metadata?: {
|
|
6343
|
-
timestamp: string;
|
|
6344
6317
|
requestId: string;
|
|
6318
|
+
timestamp: string;
|
|
6345
6319
|
} | undefined;
|
|
6346
6320
|
}>;
|
package/dist/audit/index.d.ts
CHANGED
|
@@ -72,8 +72,8 @@ export declare const AuditContextSchema: z.ZodObject<{
|
|
|
72
72
|
[k: string]: unknown;
|
|
73
73
|
};
|
|
74
74
|
session: {
|
|
75
|
-
sessionId: string;
|
|
76
75
|
audience: string;
|
|
76
|
+
sessionId: string;
|
|
77
77
|
} & {
|
|
78
78
|
[k: string]: unknown;
|
|
79
79
|
};
|
|
@@ -89,8 +89,8 @@ export declare const AuditContextSchema: z.ZodObject<{
|
|
|
89
89
|
[k: string]: unknown;
|
|
90
90
|
};
|
|
91
91
|
session: {
|
|
92
|
-
sessionId: string;
|
|
93
92
|
audience: string;
|
|
93
|
+
sessionId: string;
|
|
94
94
|
} & {
|
|
95
95
|
[k: string]: unknown;
|
|
96
96
|
};
|
|
@@ -160,8 +160,8 @@ export declare const AuditEventContextSchema: z.ZodObject<{
|
|
|
160
160
|
[k: string]: unknown;
|
|
161
161
|
};
|
|
162
162
|
session: {
|
|
163
|
-
sessionId: string;
|
|
164
163
|
audience: string;
|
|
164
|
+
sessionId: string;
|
|
165
165
|
} & {
|
|
166
166
|
[k: string]: unknown;
|
|
167
167
|
};
|
|
@@ -175,8 +175,8 @@ export declare const AuditEventContextSchema: z.ZodObject<{
|
|
|
175
175
|
[k: string]: unknown;
|
|
176
176
|
};
|
|
177
177
|
session: {
|
|
178
|
-
sessionId: string;
|
|
179
178
|
audience: string;
|
|
179
|
+
sessionId: string;
|
|
180
180
|
} & {
|
|
181
181
|
[k: string]: unknown;
|
|
182
182
|
};
|
|
@@ -155,9 +155,9 @@ export declare const OAuthProviderSchema: z.ZodObject<{
|
|
|
155
155
|
requiresClientSecret: boolean;
|
|
156
156
|
responseType: string;
|
|
157
157
|
grantType: string;
|
|
158
|
+
scopes?: string[] | undefined;
|
|
158
159
|
clientSecret?: string | null | undefined;
|
|
159
160
|
userInfoUrl?: string | undefined;
|
|
160
|
-
scopes?: string[] | undefined;
|
|
161
161
|
defaultScopes?: string[] | undefined;
|
|
162
162
|
proxyMode?: boolean | undefined;
|
|
163
163
|
customParams?: Record<string, string> | undefined;
|
|
@@ -168,9 +168,9 @@ export declare const OAuthProviderSchema: z.ZodObject<{
|
|
|
168
168
|
tokenUrl: string;
|
|
169
169
|
supportsPKCE: boolean;
|
|
170
170
|
requiresClientSecret: boolean;
|
|
171
|
+
scopes?: string[] | undefined;
|
|
171
172
|
clientSecret?: string | null | undefined;
|
|
172
173
|
userInfoUrl?: string | undefined;
|
|
173
|
-
scopes?: string[] | undefined;
|
|
174
174
|
defaultScopes?: string[] | undefined;
|
|
175
175
|
proxyMode?: boolean | undefined;
|
|
176
176
|
customParams?: Record<string, string> | undefined;
|
|
@@ -205,9 +205,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
205
205
|
requiresClientSecret: boolean;
|
|
206
206
|
responseType: string;
|
|
207
207
|
grantType: string;
|
|
208
|
+
scopes?: string[] | undefined;
|
|
208
209
|
clientSecret?: string | null | undefined;
|
|
209
210
|
userInfoUrl?: string | undefined;
|
|
210
|
-
scopes?: string[] | undefined;
|
|
211
211
|
defaultScopes?: string[] | undefined;
|
|
212
212
|
proxyMode?: boolean | undefined;
|
|
213
213
|
customParams?: Record<string, string> | undefined;
|
|
@@ -218,9 +218,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
218
218
|
tokenUrl: string;
|
|
219
219
|
supportsPKCE: boolean;
|
|
220
220
|
requiresClientSecret: boolean;
|
|
221
|
+
scopes?: string[] | undefined;
|
|
221
222
|
clientSecret?: string | null | undefined;
|
|
222
223
|
userInfoUrl?: string | undefined;
|
|
223
|
-
scopes?: string[] | undefined;
|
|
224
224
|
defaultScopes?: string[] | undefined;
|
|
225
225
|
proxyMode?: boolean | undefined;
|
|
226
226
|
customParams?: Record<string, string> | undefined;
|
|
@@ -238,9 +238,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
238
238
|
requiresClientSecret: boolean;
|
|
239
239
|
responseType: string;
|
|
240
240
|
grantType: string;
|
|
241
|
+
scopes?: string[] | undefined;
|
|
241
242
|
clientSecret?: string | null | undefined;
|
|
242
243
|
userInfoUrl?: string | undefined;
|
|
243
|
-
scopes?: string[] | undefined;
|
|
244
244
|
defaultScopes?: string[] | undefined;
|
|
245
245
|
proxyMode?: boolean | undefined;
|
|
246
246
|
customParams?: Record<string, string> | undefined;
|
|
@@ -254,9 +254,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
|
|
|
254
254
|
tokenUrl: string;
|
|
255
255
|
supportsPKCE: boolean;
|
|
256
256
|
requiresClientSecret: boolean;
|
|
257
|
+
scopes?: string[] | undefined;
|
|
257
258
|
clientSecret?: string | null | undefined;
|
|
258
259
|
userInfoUrl?: string | undefined;
|
|
259
|
-
scopes?: string[] | undefined;
|
|
260
260
|
defaultScopes?: string[] | undefined;
|
|
261
261
|
proxyMode?: boolean | undefined;
|
|
262
262
|
customParams?: Record<string, string> | undefined;
|