@kya-os/contracts 1.7.26 → 1.7.32
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 +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -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/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- 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
|
@@ -37,14 +37,14 @@ export declare const consentTermsSchema: z.ZodObject<{
|
|
|
37
37
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
required: boolean;
|
|
40
|
-
text?: string | undefined;
|
|
41
40
|
version?: string | undefined;
|
|
42
41
|
url?: string | undefined;
|
|
43
|
-
}, {
|
|
44
42
|
text?: string | undefined;
|
|
45
|
-
|
|
43
|
+
}, {
|
|
46
44
|
version?: string | undefined;
|
|
45
|
+
required?: boolean | undefined;
|
|
47
46
|
url?: string | undefined;
|
|
47
|
+
text?: string | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
export type ConsentTerms = z.infer<typeof consentTermsSchema>;
|
|
50
50
|
/**
|
|
@@ -81,7 +81,7 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
81
81
|
}>, "many">>;
|
|
82
82
|
pattern: z.ZodOptional<z.ZodString>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
type: "
|
|
84
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
85
85
|
name: string;
|
|
86
86
|
required: boolean;
|
|
87
87
|
label: string;
|
|
@@ -92,7 +92,7 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
92
92
|
placeholder?: string | undefined;
|
|
93
93
|
pattern?: string | undefined;
|
|
94
94
|
}, {
|
|
95
|
-
type: "
|
|
95
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
96
96
|
name: string;
|
|
97
97
|
required: boolean;
|
|
98
98
|
label: string;
|
|
@@ -103,7 +103,7 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
103
103
|
placeholder?: string | undefined;
|
|
104
104
|
pattern?: string | undefined;
|
|
105
105
|
}>, {
|
|
106
|
-
type: "
|
|
106
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
107
107
|
name: string;
|
|
108
108
|
required: boolean;
|
|
109
109
|
label: string;
|
|
@@ -114,7 +114,7 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
114
114
|
placeholder?: string | undefined;
|
|
115
115
|
pattern?: string | undefined;
|
|
116
116
|
}, {
|
|
117
|
-
type: "
|
|
117
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
118
118
|
name: string;
|
|
119
119
|
required: boolean;
|
|
120
120
|
label: string;
|
|
@@ -196,14 +196,14 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
196
196
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
198
|
required: boolean;
|
|
199
|
-
text?: string | undefined;
|
|
200
199
|
version?: string | undefined;
|
|
201
200
|
url?: string | undefined;
|
|
202
|
-
}, {
|
|
203
201
|
text?: string | undefined;
|
|
204
|
-
|
|
202
|
+
}, {
|
|
205
203
|
version?: string | undefined;
|
|
204
|
+
required?: boolean | undefined;
|
|
206
205
|
url?: string | undefined;
|
|
206
|
+
text?: string | undefined;
|
|
207
207
|
}>>;
|
|
208
208
|
customFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
209
209
|
name: z.ZodString;
|
|
@@ -223,7 +223,7 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
223
223
|
}>, "many">>;
|
|
224
224
|
pattern: z.ZodOptional<z.ZodString>;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
-
type: "
|
|
226
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
227
227
|
name: string;
|
|
228
228
|
required: boolean;
|
|
229
229
|
label: string;
|
|
@@ -234,7 +234,7 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
234
234
|
placeholder?: string | undefined;
|
|
235
235
|
pattern?: string | undefined;
|
|
236
236
|
}, {
|
|
237
|
-
type: "
|
|
237
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
238
238
|
name: string;
|
|
239
239
|
required: boolean;
|
|
240
240
|
label: string;
|
|
@@ -245,7 +245,7 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
245
245
|
placeholder?: string | undefined;
|
|
246
246
|
pattern?: string | undefined;
|
|
247
247
|
}>, {
|
|
248
|
-
type: "
|
|
248
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
249
249
|
name: string;
|
|
250
250
|
required: boolean;
|
|
251
251
|
label: string;
|
|
@@ -256,7 +256,7 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
256
256
|
placeholder?: string | undefined;
|
|
257
257
|
pattern?: string | undefined;
|
|
258
258
|
}, {
|
|
259
|
-
type: "
|
|
259
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
260
260
|
name: string;
|
|
261
261
|
required: boolean;
|
|
262
262
|
label: string;
|
|
@@ -281,27 +281,27 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
281
281
|
oauthUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
agentDid: string;
|
|
284
|
-
|
|
284
|
+
serverUrl: string;
|
|
285
285
|
scopes: string[];
|
|
286
286
|
sessionId: string;
|
|
287
|
+
projectId: string;
|
|
287
288
|
tool: string;
|
|
288
289
|
toolDescription: string;
|
|
289
|
-
|
|
290
|
+
provider?: string | undefined;
|
|
290
291
|
branding?: {
|
|
291
292
|
primaryColor?: string | undefined;
|
|
292
293
|
logoUrl?: string | undefined;
|
|
293
294
|
companyName?: string | undefined;
|
|
294
295
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
295
296
|
} | undefined;
|
|
296
|
-
provider?: string | undefined;
|
|
297
297
|
terms?: {
|
|
298
298
|
required: boolean;
|
|
299
|
-
text?: string | undefined;
|
|
300
299
|
version?: string | undefined;
|
|
301
300
|
url?: string | undefined;
|
|
301
|
+
text?: string | undefined;
|
|
302
302
|
} | undefined;
|
|
303
303
|
customFields?: {
|
|
304
|
-
type: "
|
|
304
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
305
305
|
name: string;
|
|
306
306
|
required: boolean;
|
|
307
307
|
label: string;
|
|
@@ -317,27 +317,27 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
317
317
|
oauthUrl?: string | undefined;
|
|
318
318
|
}, {
|
|
319
319
|
agentDid: string;
|
|
320
|
-
|
|
320
|
+
serverUrl: string;
|
|
321
321
|
scopes: string[];
|
|
322
322
|
sessionId: string;
|
|
323
|
+
projectId: string;
|
|
323
324
|
tool: string;
|
|
324
325
|
toolDescription: string;
|
|
325
|
-
|
|
326
|
+
provider?: string | undefined;
|
|
326
327
|
branding?: {
|
|
327
328
|
primaryColor?: string | undefined;
|
|
328
329
|
logoUrl?: string | undefined;
|
|
329
330
|
companyName?: string | undefined;
|
|
330
331
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
331
332
|
} | undefined;
|
|
332
|
-
provider?: string | undefined;
|
|
333
333
|
terms?: {
|
|
334
|
-
text?: string | undefined;
|
|
335
|
-
required?: boolean | undefined;
|
|
336
334
|
version?: string | undefined;
|
|
335
|
+
required?: boolean | undefined;
|
|
337
336
|
url?: string | undefined;
|
|
337
|
+
text?: string | undefined;
|
|
338
338
|
} | undefined;
|
|
339
339
|
customFields?: {
|
|
340
|
-
type: "
|
|
340
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
341
341
|
name: string;
|
|
342
342
|
required: boolean;
|
|
343
343
|
label: string;
|
|
@@ -353,27 +353,27 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
353
353
|
oauthUrl?: string | undefined;
|
|
354
354
|
}>, {
|
|
355
355
|
agentDid: string;
|
|
356
|
-
|
|
356
|
+
serverUrl: string;
|
|
357
357
|
scopes: string[];
|
|
358
358
|
sessionId: string;
|
|
359
|
+
projectId: string;
|
|
359
360
|
tool: string;
|
|
360
361
|
toolDescription: string;
|
|
361
|
-
|
|
362
|
+
provider?: string | undefined;
|
|
362
363
|
branding?: {
|
|
363
364
|
primaryColor?: string | undefined;
|
|
364
365
|
logoUrl?: string | undefined;
|
|
365
366
|
companyName?: string | undefined;
|
|
366
367
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
367
368
|
} | undefined;
|
|
368
|
-
provider?: string | undefined;
|
|
369
369
|
terms?: {
|
|
370
370
|
required: boolean;
|
|
371
|
-
text?: string | undefined;
|
|
372
371
|
version?: string | undefined;
|
|
373
372
|
url?: string | undefined;
|
|
373
|
+
text?: string | undefined;
|
|
374
374
|
} | undefined;
|
|
375
375
|
customFields?: {
|
|
376
|
-
type: "
|
|
376
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
377
377
|
name: string;
|
|
378
378
|
required: boolean;
|
|
379
379
|
label: string;
|
|
@@ -389,27 +389,27 @@ export declare const consentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
389
389
|
oauthUrl?: string | undefined;
|
|
390
390
|
}, {
|
|
391
391
|
agentDid: string;
|
|
392
|
-
|
|
392
|
+
serverUrl: string;
|
|
393
393
|
scopes: string[];
|
|
394
394
|
sessionId: string;
|
|
395
|
+
projectId: string;
|
|
395
396
|
tool: string;
|
|
396
397
|
toolDescription: string;
|
|
397
|
-
|
|
398
|
+
provider?: string | undefined;
|
|
398
399
|
branding?: {
|
|
399
400
|
primaryColor?: string | undefined;
|
|
400
401
|
logoUrl?: string | undefined;
|
|
401
402
|
companyName?: string | undefined;
|
|
402
403
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
403
404
|
} | undefined;
|
|
404
|
-
provider?: string | undefined;
|
|
405
405
|
terms?: {
|
|
406
|
-
text?: string | undefined;
|
|
407
|
-
required?: boolean | undefined;
|
|
408
406
|
version?: string | undefined;
|
|
407
|
+
required?: boolean | undefined;
|
|
409
408
|
url?: string | undefined;
|
|
409
|
+
text?: string | undefined;
|
|
410
410
|
} | undefined;
|
|
411
411
|
customFields?: {
|
|
412
|
-
type: "
|
|
412
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
413
413
|
name: string;
|
|
414
414
|
required: boolean;
|
|
415
415
|
label: string;
|
|
@@ -501,10 +501,10 @@ export declare const consentApprovalRequestSchema: z.ZodObject<{
|
|
|
501
501
|
credential_provider_user_id: z.ZodOptional<z.ZodString>;
|
|
502
502
|
}, "strip", z.ZodTypeAny, {
|
|
503
503
|
scopes: string[];
|
|
504
|
+
project_id: string;
|
|
504
505
|
tool: string;
|
|
505
|
-
session_id: string;
|
|
506
506
|
agent_did: string;
|
|
507
|
-
|
|
507
|
+
session_id: string;
|
|
508
508
|
termsAccepted: boolean;
|
|
509
509
|
user_did?: string | undefined;
|
|
510
510
|
customFields?: Record<string, string | boolean> | undefined;
|
|
@@ -519,10 +519,10 @@ export declare const consentApprovalRequestSchema: z.ZodObject<{
|
|
|
519
519
|
credential_provider_user_id?: string | undefined;
|
|
520
520
|
}, {
|
|
521
521
|
scopes: string[];
|
|
522
|
+
project_id: string;
|
|
522
523
|
tool: string;
|
|
523
|
-
session_id: string;
|
|
524
524
|
agent_did: string;
|
|
525
|
-
|
|
525
|
+
session_id: string;
|
|
526
526
|
termsAccepted: boolean;
|
|
527
527
|
user_did?: string | undefined;
|
|
528
528
|
customFields?: Record<string, string | boolean> | undefined;
|
|
@@ -599,14 +599,14 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
599
599
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
601
|
required: boolean;
|
|
602
|
-
text?: string | undefined;
|
|
603
602
|
version?: string | undefined;
|
|
604
603
|
url?: string | undefined;
|
|
605
|
-
}, {
|
|
606
604
|
text?: string | undefined;
|
|
607
|
-
|
|
605
|
+
}, {
|
|
608
606
|
version?: string | undefined;
|
|
607
|
+
required?: boolean | undefined;
|
|
609
608
|
url?: string | undefined;
|
|
609
|
+
text?: string | undefined;
|
|
610
610
|
}>>;
|
|
611
611
|
customFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
612
612
|
name: z.ZodString;
|
|
@@ -626,7 +626,7 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
626
626
|
}>, "many">>;
|
|
627
627
|
pattern: z.ZodOptional<z.ZodString>;
|
|
628
628
|
}, "strip", z.ZodTypeAny, {
|
|
629
|
-
type: "
|
|
629
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
630
630
|
name: string;
|
|
631
631
|
required: boolean;
|
|
632
632
|
label: string;
|
|
@@ -637,7 +637,7 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
637
637
|
placeholder?: string | undefined;
|
|
638
638
|
pattern?: string | undefined;
|
|
639
639
|
}, {
|
|
640
|
-
type: "
|
|
640
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
641
641
|
name: string;
|
|
642
642
|
required: boolean;
|
|
643
643
|
label: string;
|
|
@@ -648,7 +648,7 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
648
648
|
placeholder?: string | undefined;
|
|
649
649
|
pattern?: string | undefined;
|
|
650
650
|
}>, {
|
|
651
|
-
type: "
|
|
651
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
652
652
|
name: string;
|
|
653
653
|
required: boolean;
|
|
654
654
|
label: string;
|
|
@@ -659,7 +659,7 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
659
659
|
placeholder?: string | undefined;
|
|
660
660
|
pattern?: string | undefined;
|
|
661
661
|
}, {
|
|
662
|
-
type: "
|
|
662
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
663
663
|
name: string;
|
|
664
664
|
required: boolean;
|
|
665
665
|
label: string;
|
|
@@ -695,12 +695,12 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
695
695
|
} | undefined;
|
|
696
696
|
terms?: {
|
|
697
697
|
required: boolean;
|
|
698
|
-
text?: string | undefined;
|
|
699
698
|
version?: string | undefined;
|
|
700
699
|
url?: string | undefined;
|
|
700
|
+
text?: string | undefined;
|
|
701
701
|
} | undefined;
|
|
702
702
|
customFields?: {
|
|
703
|
-
type: "
|
|
703
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
704
704
|
name: string;
|
|
705
705
|
required: boolean;
|
|
706
706
|
label: string;
|
|
@@ -725,13 +725,13 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
725
725
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
726
726
|
} | undefined;
|
|
727
727
|
terms?: {
|
|
728
|
-
text?: string | undefined;
|
|
729
|
-
required?: boolean | undefined;
|
|
730
728
|
version?: string | undefined;
|
|
729
|
+
required?: boolean | undefined;
|
|
731
730
|
url?: string | undefined;
|
|
731
|
+
text?: string | undefined;
|
|
732
732
|
} | undefined;
|
|
733
733
|
customFields?: {
|
|
734
|
-
type: "
|
|
734
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
735
735
|
name: string;
|
|
736
736
|
required: boolean;
|
|
737
737
|
label: string;
|
|
@@ -761,27 +761,27 @@ export type ConsentConfig = z.infer<typeof consentConfigSchema>;
|
|
|
761
761
|
*/
|
|
762
762
|
export declare function validateConsentPageConfig(config: unknown): z.SafeParseReturnType<{
|
|
763
763
|
agentDid: string;
|
|
764
|
-
|
|
764
|
+
serverUrl: string;
|
|
765
765
|
scopes: string[];
|
|
766
766
|
sessionId: string;
|
|
767
|
+
projectId: string;
|
|
767
768
|
tool: string;
|
|
768
769
|
toolDescription: string;
|
|
769
|
-
|
|
770
|
+
provider?: string | undefined;
|
|
770
771
|
branding?: {
|
|
771
772
|
primaryColor?: string | undefined;
|
|
772
773
|
logoUrl?: string | undefined;
|
|
773
774
|
companyName?: string | undefined;
|
|
774
775
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
775
776
|
} | undefined;
|
|
776
|
-
provider?: string | undefined;
|
|
777
777
|
terms?: {
|
|
778
|
-
text?: string | undefined;
|
|
779
|
-
required?: boolean | undefined;
|
|
780
778
|
version?: string | undefined;
|
|
779
|
+
required?: boolean | undefined;
|
|
781
780
|
url?: string | undefined;
|
|
781
|
+
text?: string | undefined;
|
|
782
782
|
} | undefined;
|
|
783
783
|
customFields?: {
|
|
784
|
-
type: "
|
|
784
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
785
785
|
name: string;
|
|
786
786
|
required: boolean;
|
|
787
787
|
label: string;
|
|
@@ -797,27 +797,27 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
|
|
|
797
797
|
oauthUrl?: string | undefined;
|
|
798
798
|
}, {
|
|
799
799
|
agentDid: string;
|
|
800
|
-
|
|
800
|
+
serverUrl: string;
|
|
801
801
|
scopes: string[];
|
|
802
802
|
sessionId: string;
|
|
803
|
+
projectId: string;
|
|
803
804
|
tool: string;
|
|
804
805
|
toolDescription: string;
|
|
805
|
-
|
|
806
|
+
provider?: string | undefined;
|
|
806
807
|
branding?: {
|
|
807
808
|
primaryColor?: string | undefined;
|
|
808
809
|
logoUrl?: string | undefined;
|
|
809
810
|
companyName?: string | undefined;
|
|
810
811
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
811
812
|
} | undefined;
|
|
812
|
-
provider?: string | undefined;
|
|
813
813
|
terms?: {
|
|
814
814
|
required: boolean;
|
|
815
|
-
text?: string | undefined;
|
|
816
815
|
version?: string | undefined;
|
|
817
816
|
url?: string | undefined;
|
|
817
|
+
text?: string | undefined;
|
|
818
818
|
} | undefined;
|
|
819
819
|
customFields?: {
|
|
820
|
-
type: "
|
|
820
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
821
821
|
name: string;
|
|
822
822
|
required: boolean;
|
|
823
823
|
label: string;
|
|
@@ -840,10 +840,10 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
|
|
|
840
840
|
*/
|
|
841
841
|
export declare function validateConsentApprovalRequest(request: unknown): z.SafeParseReturnType<{
|
|
842
842
|
scopes: string[];
|
|
843
|
+
project_id: string;
|
|
843
844
|
tool: string;
|
|
844
|
-
session_id: string;
|
|
845
845
|
agent_did: string;
|
|
846
|
-
|
|
846
|
+
session_id: string;
|
|
847
847
|
termsAccepted: boolean;
|
|
848
848
|
user_did?: string | undefined;
|
|
849
849
|
customFields?: Record<string, string | boolean> | undefined;
|
|
@@ -858,10 +858,10 @@ export declare function validateConsentApprovalRequest(request: unknown): z.Safe
|
|
|
858
858
|
credential_provider_user_id?: string | undefined;
|
|
859
859
|
}, {
|
|
860
860
|
scopes: string[];
|
|
861
|
+
project_id: string;
|
|
861
862
|
tool: string;
|
|
862
|
-
session_id: string;
|
|
863
863
|
agent_did: string;
|
|
864
|
-
|
|
864
|
+
session_id: string;
|
|
865
865
|
termsAccepted: boolean;
|
|
866
866
|
user_did?: string | undefined;
|
|
867
867
|
customFields?: Record<string, string | boolean> | undefined;
|
|
@@ -908,13 +908,13 @@ export declare function validateConsentConfig(config: unknown): z.SafeParseRetur
|
|
|
908
908
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
909
909
|
} | undefined;
|
|
910
910
|
terms?: {
|
|
911
|
-
text?: string | undefined;
|
|
912
|
-
required?: boolean | undefined;
|
|
913
911
|
version?: string | undefined;
|
|
912
|
+
required?: boolean | undefined;
|
|
914
913
|
url?: string | undefined;
|
|
914
|
+
text?: string | undefined;
|
|
915
915
|
} | undefined;
|
|
916
916
|
customFields?: {
|
|
917
|
-
type: "
|
|
917
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
918
918
|
name: string;
|
|
919
919
|
required: boolean;
|
|
920
920
|
label: string;
|
|
@@ -940,12 +940,12 @@ export declare function validateConsentConfig(config: unknown): z.SafeParseRetur
|
|
|
940
940
|
} | undefined;
|
|
941
941
|
terms?: {
|
|
942
942
|
required: boolean;
|
|
943
|
-
text?: string | undefined;
|
|
944
943
|
version?: string | undefined;
|
|
945
944
|
url?: string | undefined;
|
|
945
|
+
text?: string | undefined;
|
|
946
946
|
} | undefined;
|
|
947
947
|
customFields?: {
|
|
948
|
-
type: "
|
|
948
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
949
949
|
name: string;
|
|
950
950
|
required: boolean;
|
|
951
951
|
label: string;
|