@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
|
@@ -90,11 +90,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
90
90
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
resource: string;
|
|
93
|
-
matcher: "exact" | "
|
|
93
|
+
matcher: "exact" | "regex" | "prefix";
|
|
94
94
|
constraints?: Record<string, any> | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
resource: string;
|
|
97
|
-
matcher: "exact" | "
|
|
97
|
+
matcher: "exact" | "regex" | "prefix";
|
|
98
98
|
constraints?: Record<string, any> | undefined;
|
|
99
99
|
}>, "many">;
|
|
100
100
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -132,11 +132,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
132
132
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
134
|
resource: string;
|
|
135
|
-
matcher: "exact" | "
|
|
135
|
+
matcher: "exact" | "regex" | "prefix";
|
|
136
136
|
constraints?: Record<string, any> | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
resource: string;
|
|
139
|
-
matcher: "exact" | "
|
|
139
|
+
matcher: "exact" | "regex" | "prefix";
|
|
140
140
|
constraints?: Record<string, any> | undefined;
|
|
141
141
|
}>, "many">;
|
|
142
142
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -174,11 +174,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
174
174
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
176
|
resource: string;
|
|
177
|
-
matcher: "exact" | "
|
|
177
|
+
matcher: "exact" | "regex" | "prefix";
|
|
178
178
|
constraints?: Record<string, any> | undefined;
|
|
179
179
|
}, {
|
|
180
180
|
resource: string;
|
|
181
|
-
matcher: "exact" | "
|
|
181
|
+
matcher: "exact" | "regex" | "prefix";
|
|
182
182
|
constraints?: Record<string, any> | undefined;
|
|
183
183
|
}>, "many">;
|
|
184
184
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -222,11 +222,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
222
222
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
224
|
resource: string;
|
|
225
|
-
matcher: "exact" | "
|
|
225
|
+
matcher: "exact" | "regex" | "prefix";
|
|
226
226
|
constraints?: Record<string, any> | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
resource: string;
|
|
229
|
-
matcher: "exact" | "
|
|
229
|
+
matcher: "exact" | "regex" | "prefix";
|
|
230
230
|
constraints?: Record<string, any> | undefined;
|
|
231
231
|
}>, "many">;
|
|
232
232
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -264,11 +264,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
264
264
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
resource: string;
|
|
267
|
-
matcher: "exact" | "
|
|
267
|
+
matcher: "exact" | "regex" | "prefix";
|
|
268
268
|
constraints?: Record<string, any> | undefined;
|
|
269
269
|
}, {
|
|
270
270
|
resource: string;
|
|
271
|
-
matcher: "exact" | "
|
|
271
|
+
matcher: "exact" | "regex" | "prefix";
|
|
272
272
|
constraints?: Record<string, any> | undefined;
|
|
273
273
|
}>, "many">;
|
|
274
274
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -306,11 +306,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
306
306
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
|
308
308
|
resource: string;
|
|
309
|
-
matcher: "exact" | "
|
|
309
|
+
matcher: "exact" | "regex" | "prefix";
|
|
310
310
|
constraints?: Record<string, any> | undefined;
|
|
311
311
|
}, {
|
|
312
312
|
resource: string;
|
|
313
|
-
matcher: "exact" | "
|
|
313
|
+
matcher: "exact" | "regex" | "prefix";
|
|
314
314
|
constraints?: Record<string, any> | undefined;
|
|
315
315
|
}>, "many">;
|
|
316
316
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -354,11 +354,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
354
354
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
355
355
|
}, "strip", z.ZodTypeAny, {
|
|
356
356
|
resource: string;
|
|
357
|
-
matcher: "exact" | "
|
|
357
|
+
matcher: "exact" | "regex" | "prefix";
|
|
358
358
|
constraints?: Record<string, any> | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
resource: string;
|
|
361
|
-
matcher: "exact" | "
|
|
361
|
+
matcher: "exact" | "regex" | "prefix";
|
|
362
362
|
constraints?: Record<string, any> | undefined;
|
|
363
363
|
}>, "many">;
|
|
364
364
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -396,11 +396,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
396
396
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
resource: string;
|
|
399
|
-
matcher: "exact" | "
|
|
399
|
+
matcher: "exact" | "regex" | "prefix";
|
|
400
400
|
constraints?: Record<string, any> | undefined;
|
|
401
401
|
}, {
|
|
402
402
|
resource: string;
|
|
403
|
-
matcher: "exact" | "
|
|
403
|
+
matcher: "exact" | "regex" | "prefix";
|
|
404
404
|
constraints?: Record<string, any> | undefined;
|
|
405
405
|
}>, "many">;
|
|
406
406
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -438,11 +438,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
438
438
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
440
|
resource: string;
|
|
441
|
-
matcher: "exact" | "
|
|
441
|
+
matcher: "exact" | "regex" | "prefix";
|
|
442
442
|
constraints?: Record<string, any> | undefined;
|
|
443
443
|
}, {
|
|
444
444
|
resource: string;
|
|
445
|
-
matcher: "exact" | "
|
|
445
|
+
matcher: "exact" | "regex" | "prefix";
|
|
446
446
|
constraints?: Record<string, any> | undefined;
|
|
447
447
|
}>, "many">;
|
|
448
448
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -513,11 +513,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
513
513
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
515
|
resource: string;
|
|
516
|
-
matcher: "exact" | "
|
|
516
|
+
matcher: "exact" | "regex" | "prefix";
|
|
517
517
|
constraints?: Record<string, any> | undefined;
|
|
518
518
|
}, {
|
|
519
519
|
resource: string;
|
|
520
|
-
matcher: "exact" | "
|
|
520
|
+
matcher: "exact" | "regex" | "prefix";
|
|
521
521
|
constraints?: Record<string, any> | undefined;
|
|
522
522
|
}>, "many">;
|
|
523
523
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -555,11 +555,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
555
555
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
556
556
|
}, "strip", z.ZodTypeAny, {
|
|
557
557
|
resource: string;
|
|
558
|
-
matcher: "exact" | "
|
|
558
|
+
matcher: "exact" | "regex" | "prefix";
|
|
559
559
|
constraints?: Record<string, any> | undefined;
|
|
560
560
|
}, {
|
|
561
561
|
resource: string;
|
|
562
|
-
matcher: "exact" | "
|
|
562
|
+
matcher: "exact" | "regex" | "prefix";
|
|
563
563
|
constraints?: Record<string, any> | undefined;
|
|
564
564
|
}>, "many">;
|
|
565
565
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -597,11 +597,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
597
597
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
598
598
|
}, "strip", z.ZodTypeAny, {
|
|
599
599
|
resource: string;
|
|
600
|
-
matcher: "exact" | "
|
|
600
|
+
matcher: "exact" | "regex" | "prefix";
|
|
601
601
|
constraints?: Record<string, any> | undefined;
|
|
602
602
|
}, {
|
|
603
603
|
resource: string;
|
|
604
|
-
matcher: "exact" | "
|
|
604
|
+
matcher: "exact" | "regex" | "prefix";
|
|
605
605
|
constraints?: Record<string, any> | undefined;
|
|
606
606
|
}>, "many">;
|
|
607
607
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -645,11 +645,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
645
645
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
646
646
|
}, "strip", z.ZodTypeAny, {
|
|
647
647
|
resource: string;
|
|
648
|
-
matcher: "exact" | "
|
|
648
|
+
matcher: "exact" | "regex" | "prefix";
|
|
649
649
|
constraints?: Record<string, any> | undefined;
|
|
650
650
|
}, {
|
|
651
651
|
resource: string;
|
|
652
|
-
matcher: "exact" | "
|
|
652
|
+
matcher: "exact" | "regex" | "prefix";
|
|
653
653
|
constraints?: Record<string, any> | undefined;
|
|
654
654
|
}>, "many">;
|
|
655
655
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -687,11 +687,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
687
687
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
689
|
resource: string;
|
|
690
|
-
matcher: "exact" | "
|
|
690
|
+
matcher: "exact" | "regex" | "prefix";
|
|
691
691
|
constraints?: Record<string, any> | undefined;
|
|
692
692
|
}, {
|
|
693
693
|
resource: string;
|
|
694
|
-
matcher: "exact" | "
|
|
694
|
+
matcher: "exact" | "regex" | "prefix";
|
|
695
695
|
constraints?: Record<string, any> | undefined;
|
|
696
696
|
}>, "many">;
|
|
697
697
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -729,11 +729,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
729
729
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
730
730
|
}, "strip", z.ZodTypeAny, {
|
|
731
731
|
resource: string;
|
|
732
|
-
matcher: "exact" | "
|
|
732
|
+
matcher: "exact" | "regex" | "prefix";
|
|
733
733
|
constraints?: Record<string, any> | undefined;
|
|
734
734
|
}, {
|
|
735
735
|
resource: string;
|
|
736
|
-
matcher: "exact" | "
|
|
736
|
+
matcher: "exact" | "regex" | "prefix";
|
|
737
737
|
constraints?: Record<string, any> | undefined;
|
|
738
738
|
}>, "many">;
|
|
739
739
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -777,11 +777,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
777
777
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
778
778
|
}, "strip", z.ZodTypeAny, {
|
|
779
779
|
resource: string;
|
|
780
|
-
matcher: "exact" | "
|
|
780
|
+
matcher: "exact" | "regex" | "prefix";
|
|
781
781
|
constraints?: Record<string, any> | undefined;
|
|
782
782
|
}, {
|
|
783
783
|
resource: string;
|
|
784
|
-
matcher: "exact" | "
|
|
784
|
+
matcher: "exact" | "regex" | "prefix";
|
|
785
785
|
constraints?: Record<string, any> | undefined;
|
|
786
786
|
}>, "many">;
|
|
787
787
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -819,11 +819,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
819
819
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
820
820
|
}, "strip", z.ZodTypeAny, {
|
|
821
821
|
resource: string;
|
|
822
|
-
matcher: "exact" | "
|
|
822
|
+
matcher: "exact" | "regex" | "prefix";
|
|
823
823
|
constraints?: Record<string, any> | undefined;
|
|
824
824
|
}, {
|
|
825
825
|
resource: string;
|
|
826
|
-
matcher: "exact" | "
|
|
826
|
+
matcher: "exact" | "regex" | "prefix";
|
|
827
827
|
constraints?: Record<string, any> | undefined;
|
|
828
828
|
}>, "many">;
|
|
829
829
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -861,11 +861,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
861
861
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
862
862
|
}, "strip", z.ZodTypeAny, {
|
|
863
863
|
resource: string;
|
|
864
|
-
matcher: "exact" | "
|
|
864
|
+
matcher: "exact" | "regex" | "prefix";
|
|
865
865
|
constraints?: Record<string, any> | undefined;
|
|
866
866
|
}, {
|
|
867
867
|
resource: string;
|
|
868
|
-
matcher: "exact" | "
|
|
868
|
+
matcher: "exact" | "regex" | "prefix";
|
|
869
869
|
constraints?: Record<string, any> | undefined;
|
|
870
870
|
}>, "many">;
|
|
871
871
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -936,11 +936,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
936
936
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
937
937
|
}, "strip", z.ZodTypeAny, {
|
|
938
938
|
resource: string;
|
|
939
|
-
matcher: "exact" | "
|
|
939
|
+
matcher: "exact" | "regex" | "prefix";
|
|
940
940
|
constraints?: Record<string, any> | undefined;
|
|
941
941
|
}, {
|
|
942
942
|
resource: string;
|
|
943
|
-
matcher: "exact" | "
|
|
943
|
+
matcher: "exact" | "regex" | "prefix";
|
|
944
944
|
constraints?: Record<string, any> | undefined;
|
|
945
945
|
}>, "many">;
|
|
946
946
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -978,11 +978,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
978
978
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
979
979
|
}, "strip", z.ZodTypeAny, {
|
|
980
980
|
resource: string;
|
|
981
|
-
matcher: "exact" | "
|
|
981
|
+
matcher: "exact" | "regex" | "prefix";
|
|
982
982
|
constraints?: Record<string, any> | undefined;
|
|
983
983
|
}, {
|
|
984
984
|
resource: string;
|
|
985
|
-
matcher: "exact" | "
|
|
985
|
+
matcher: "exact" | "regex" | "prefix";
|
|
986
986
|
constraints?: Record<string, any> | undefined;
|
|
987
987
|
}>, "many">;
|
|
988
988
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1020,11 +1020,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1020
1020
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
1022
|
resource: string;
|
|
1023
|
-
matcher: "exact" | "
|
|
1023
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1024
1024
|
constraints?: Record<string, any> | undefined;
|
|
1025
1025
|
}, {
|
|
1026
1026
|
resource: string;
|
|
1027
|
-
matcher: "exact" | "
|
|
1027
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1028
1028
|
constraints?: Record<string, any> | undefined;
|
|
1029
1029
|
}>, "many">;
|
|
1030
1030
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1068,11 +1068,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1068
1068
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1069
1069
|
}, "strip", z.ZodTypeAny, {
|
|
1070
1070
|
resource: string;
|
|
1071
|
-
matcher: "exact" | "
|
|
1071
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1072
1072
|
constraints?: Record<string, any> | undefined;
|
|
1073
1073
|
}, {
|
|
1074
1074
|
resource: string;
|
|
1075
|
-
matcher: "exact" | "
|
|
1075
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1076
1076
|
constraints?: Record<string, any> | undefined;
|
|
1077
1077
|
}>, "many">;
|
|
1078
1078
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1110,11 +1110,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1110
1110
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1111
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1112
1112
|
resource: string;
|
|
1113
|
-
matcher: "exact" | "
|
|
1113
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1114
1114
|
constraints?: Record<string, any> | undefined;
|
|
1115
1115
|
}, {
|
|
1116
1116
|
resource: string;
|
|
1117
|
-
matcher: "exact" | "
|
|
1117
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1118
1118
|
constraints?: Record<string, any> | undefined;
|
|
1119
1119
|
}>, "many">;
|
|
1120
1120
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1152,11 +1152,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1152
1152
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
1154
|
resource: string;
|
|
1155
|
-
matcher: "exact" | "
|
|
1155
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1156
1156
|
constraints?: Record<string, any> | undefined;
|
|
1157
1157
|
}, {
|
|
1158
1158
|
resource: string;
|
|
1159
|
-
matcher: "exact" | "
|
|
1159
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1160
1160
|
constraints?: Record<string, any> | undefined;
|
|
1161
1161
|
}>, "many">;
|
|
1162
1162
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1200,11 +1200,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1200
1200
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1201
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1202
1202
|
resource: string;
|
|
1203
|
-
matcher: "exact" | "
|
|
1203
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1204
1204
|
constraints?: Record<string, any> | undefined;
|
|
1205
1205
|
}, {
|
|
1206
1206
|
resource: string;
|
|
1207
|
-
matcher: "exact" | "
|
|
1207
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1208
1208
|
constraints?: Record<string, any> | undefined;
|
|
1209
1209
|
}>, "many">;
|
|
1210
1210
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1242,11 +1242,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1242
1242
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1243
1243
|
}, "strip", z.ZodTypeAny, {
|
|
1244
1244
|
resource: string;
|
|
1245
|
-
matcher: "exact" | "
|
|
1245
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1246
1246
|
constraints?: Record<string, any> | undefined;
|
|
1247
1247
|
}, {
|
|
1248
1248
|
resource: string;
|
|
1249
|
-
matcher: "exact" | "
|
|
1249
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1250
1250
|
constraints?: Record<string, any> | undefined;
|
|
1251
1251
|
}>, "many">;
|
|
1252
1252
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1284,11 +1284,11 @@ export declare const DelegationRecordSchema: z.ZodObject<{
|
|
|
1284
1284
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1285
1285
|
}, "strip", z.ZodTypeAny, {
|
|
1286
1286
|
resource: string;
|
|
1287
|
-
matcher: "exact" | "
|
|
1287
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1288
1288
|
constraints?: Record<string, any> | undefined;
|
|
1289
1289
|
}, {
|
|
1290
1290
|
resource: string;
|
|
1291
|
-
matcher: "exact" | "
|
|
1291
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1292
1292
|
constraints?: Record<string, any> | undefined;
|
|
1293
1293
|
}>, "many">;
|
|
1294
1294
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1364,11 +1364,11 @@ export declare const DelegationChainEntrySchema: 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
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1406,11 +1406,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1406
1406
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1407
1407
|
}, "strip", z.ZodTypeAny, {
|
|
1408
1408
|
resource: string;
|
|
1409
|
-
matcher: "exact" | "
|
|
1409
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1410
1410
|
constraints?: Record<string, any> | undefined;
|
|
1411
1411
|
}, {
|
|
1412
1412
|
resource: string;
|
|
1413
|
-
matcher: "exact" | "
|
|
1413
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1414
1414
|
constraints?: Record<string, any> | undefined;
|
|
1415
1415
|
}>, "many">;
|
|
1416
1416
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1448,11 +1448,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1448
1448
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1449
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1450
1450
|
resource: string;
|
|
1451
|
-
matcher: "exact" | "
|
|
1451
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1452
1452
|
constraints?: Record<string, any> | undefined;
|
|
1453
1453
|
}, {
|
|
1454
1454
|
resource: string;
|
|
1455
|
-
matcher: "exact" | "
|
|
1455
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1456
1456
|
constraints?: Record<string, any> | undefined;
|
|
1457
1457
|
}>, "many">;
|
|
1458
1458
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1496,11 +1496,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1496
1496
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1497
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1498
1498
|
resource: string;
|
|
1499
|
-
matcher: "exact" | "
|
|
1499
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1500
1500
|
constraints?: Record<string, any> | undefined;
|
|
1501
1501
|
}, {
|
|
1502
1502
|
resource: string;
|
|
1503
|
-
matcher: "exact" | "
|
|
1503
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1504
1504
|
constraints?: Record<string, any> | undefined;
|
|
1505
1505
|
}>, "many">;
|
|
1506
1506
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1538,11 +1538,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1538
1538
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1539
1539
|
}, "strip", z.ZodTypeAny, {
|
|
1540
1540
|
resource: string;
|
|
1541
|
-
matcher: "exact" | "
|
|
1541
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1542
1542
|
constraints?: Record<string, any> | undefined;
|
|
1543
1543
|
}, {
|
|
1544
1544
|
resource: string;
|
|
1545
|
-
matcher: "exact" | "
|
|
1545
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1546
1546
|
constraints?: Record<string, any> | undefined;
|
|
1547
1547
|
}>, "many">;
|
|
1548
1548
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1580,11 +1580,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1580
1580
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1581
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1582
1582
|
resource: string;
|
|
1583
|
-
matcher: "exact" | "
|
|
1583
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1584
1584
|
constraints?: Record<string, any> | undefined;
|
|
1585
1585
|
}, {
|
|
1586
1586
|
resource: string;
|
|
1587
|
-
matcher: "exact" | "
|
|
1587
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1588
1588
|
constraints?: Record<string, any> | undefined;
|
|
1589
1589
|
}>, "many">;
|
|
1590
1590
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1628,11 +1628,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1628
1628
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1629
1629
|
}, "strip", z.ZodTypeAny, {
|
|
1630
1630
|
resource: string;
|
|
1631
|
-
matcher: "exact" | "
|
|
1631
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1632
1632
|
constraints?: Record<string, any> | undefined;
|
|
1633
1633
|
}, {
|
|
1634
1634
|
resource: string;
|
|
1635
|
-
matcher: "exact" | "
|
|
1635
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1636
1636
|
constraints?: Record<string, any> | undefined;
|
|
1637
1637
|
}>, "many">;
|
|
1638
1638
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1670,11 +1670,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1670
1670
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1671
1671
|
}, "strip", z.ZodTypeAny, {
|
|
1672
1672
|
resource: string;
|
|
1673
|
-
matcher: "exact" | "
|
|
1673
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1674
1674
|
constraints?: Record<string, any> | undefined;
|
|
1675
1675
|
}, {
|
|
1676
1676
|
resource: string;
|
|
1677
|
-
matcher: "exact" | "
|
|
1677
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1678
1678
|
constraints?: Record<string, any> | undefined;
|
|
1679
1679
|
}>, "many">;
|
|
1680
1680
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1712,11 +1712,11 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1712
1712
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1713
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1714
1714
|
resource: string;
|
|
1715
|
-
matcher: "exact" | "
|
|
1715
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1716
1716
|
constraints?: Record<string, any> | undefined;
|
|
1717
1717
|
}, {
|
|
1718
1718
|
resource: string;
|
|
1719
|
-
matcher: "exact" | "
|
|
1719
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1720
1720
|
constraints?: Record<string, any> | undefined;
|
|
1721
1721
|
}>, "many">;
|
|
1722
1722
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1724,12 +1724,12 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1724
1724
|
/** Status */
|
|
1725
1725
|
status: z.ZodEnum<["active", "revoked", "expired"]>;
|
|
1726
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
status: "
|
|
1727
|
+
status: "active" | "revoked" | "expired";
|
|
1728
|
+
issuerDid: string;
|
|
1729
|
+
delegationId: string;
|
|
1728
1730
|
constraints: {
|
|
1729
1731
|
scopes?: string[] | undefined;
|
|
1730
1732
|
audience?: string | string[] | undefined;
|
|
1731
|
-
notBefore?: number | undefined;
|
|
1732
|
-
notAfter?: number | undefined;
|
|
1733
1733
|
crisp?: z.objectOutputType<{
|
|
1734
1734
|
budget: z.ZodOptional<z.ZodObject<{
|
|
1735
1735
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -1765,29 +1765,29 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1765
1765
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1766
1766
|
}, "strip", z.ZodTypeAny, {
|
|
1767
1767
|
resource: string;
|
|
1768
|
-
matcher: "exact" | "
|
|
1768
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1769
1769
|
constraints?: Record<string, any> | undefined;
|
|
1770
1770
|
}, {
|
|
1771
1771
|
resource: string;
|
|
1772
|
-
matcher: "exact" | "
|
|
1772
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1773
1773
|
constraints?: Record<string, any> | undefined;
|
|
1774
1774
|
}>, "many">;
|
|
1775
1775
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1776
|
+
notBefore?: number | undefined;
|
|
1777
|
+
notAfter?: number | undefined;
|
|
1776
1778
|
} & {
|
|
1777
1779
|
[k: string]: unknown;
|
|
1778
1780
|
};
|
|
1779
|
-
issuerDid: string;
|
|
1780
1781
|
subjectDid: string;
|
|
1781
1782
|
vcId: string;
|
|
1782
|
-
delegationId: string;
|
|
1783
1783
|
depth: number;
|
|
1784
1784
|
}, {
|
|
1785
|
-
status: "
|
|
1785
|
+
status: "active" | "revoked" | "expired";
|
|
1786
|
+
issuerDid: string;
|
|
1787
|
+
delegationId: string;
|
|
1786
1788
|
constraints: {
|
|
1787
1789
|
scopes?: string[] | undefined;
|
|
1788
1790
|
audience?: string | string[] | undefined;
|
|
1789
|
-
notBefore?: number | undefined;
|
|
1790
|
-
notAfter?: number | undefined;
|
|
1791
1791
|
crisp?: z.objectInputType<{
|
|
1792
1792
|
budget: z.ZodOptional<z.ZodObject<{
|
|
1793
1793
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -1823,21 +1823,21 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1823
1823
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1824
1824
|
}, "strip", z.ZodTypeAny, {
|
|
1825
1825
|
resource: string;
|
|
1826
|
-
matcher: "exact" | "
|
|
1826
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1827
1827
|
constraints?: Record<string, any> | undefined;
|
|
1828
1828
|
}, {
|
|
1829
1829
|
resource: string;
|
|
1830
|
-
matcher: "exact" | "
|
|
1830
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1831
1831
|
constraints?: Record<string, any> | undefined;
|
|
1832
1832
|
}>, "many">;
|
|
1833
1833
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1834
|
+
notBefore?: number | undefined;
|
|
1835
|
+
notAfter?: number | undefined;
|
|
1834
1836
|
} & {
|
|
1835
1837
|
[k: string]: unknown;
|
|
1836
1838
|
};
|
|
1837
|
-
issuerDid: string;
|
|
1838
1839
|
subjectDid: string;
|
|
1839
1840
|
vcId: string;
|
|
1840
|
-
delegationId: string;
|
|
1841
1841
|
depth: number;
|
|
1842
1842
|
}>;
|
|
1843
1843
|
export type DelegationChainEntry = z.infer<typeof DelegationChainEntrySchema>;
|
|
@@ -1904,11 +1904,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
1904
1904
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1905
1905
|
}, "strip", z.ZodTypeAny, {
|
|
1906
1906
|
resource: string;
|
|
1907
|
-
matcher: "exact" | "
|
|
1907
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1908
1908
|
constraints?: Record<string, any> | undefined;
|
|
1909
1909
|
}, {
|
|
1910
1910
|
resource: string;
|
|
1911
|
-
matcher: "exact" | "
|
|
1911
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1912
1912
|
constraints?: Record<string, any> | undefined;
|
|
1913
1913
|
}>, "many">;
|
|
1914
1914
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -1946,11 +1946,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
1946
1946
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1947
1947
|
}, "strip", z.ZodTypeAny, {
|
|
1948
1948
|
resource: string;
|
|
1949
|
-
matcher: "exact" | "
|
|
1949
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1950
1950
|
constraints?: Record<string, any> | undefined;
|
|
1951
1951
|
}, {
|
|
1952
1952
|
resource: string;
|
|
1953
|
-
matcher: "exact" | "
|
|
1953
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1954
1954
|
constraints?: Record<string, any> | undefined;
|
|
1955
1955
|
}>, "many">;
|
|
1956
1956
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -1988,11 +1988,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
1988
1988
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1989
1989
|
}, "strip", z.ZodTypeAny, {
|
|
1990
1990
|
resource: string;
|
|
1991
|
-
matcher: "exact" | "
|
|
1991
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1992
1992
|
constraints?: Record<string, any> | undefined;
|
|
1993
1993
|
}, {
|
|
1994
1994
|
resource: string;
|
|
1995
|
-
matcher: "exact" | "
|
|
1995
|
+
matcher: "exact" | "regex" | "prefix";
|
|
1996
1996
|
constraints?: Record<string, any> | undefined;
|
|
1997
1997
|
}>, "many">;
|
|
1998
1998
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2036,11 +2036,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2036
2036
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2037
2037
|
}, "strip", z.ZodTypeAny, {
|
|
2038
2038
|
resource: string;
|
|
2039
|
-
matcher: "exact" | "
|
|
2039
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2040
2040
|
constraints?: Record<string, any> | undefined;
|
|
2041
2041
|
}, {
|
|
2042
2042
|
resource: string;
|
|
2043
|
-
matcher: "exact" | "
|
|
2043
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2044
2044
|
constraints?: Record<string, any> | undefined;
|
|
2045
2045
|
}>, "many">;
|
|
2046
2046
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2078,11 +2078,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2078
2078
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2079
2079
|
}, "strip", z.ZodTypeAny, {
|
|
2080
2080
|
resource: string;
|
|
2081
|
-
matcher: "exact" | "
|
|
2081
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2082
2082
|
constraints?: Record<string, any> | undefined;
|
|
2083
2083
|
}, {
|
|
2084
2084
|
resource: string;
|
|
2085
|
-
matcher: "exact" | "
|
|
2085
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2086
2086
|
constraints?: Record<string, any> | undefined;
|
|
2087
2087
|
}>, "many">;
|
|
2088
2088
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2120,11 +2120,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2120
2120
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2121
2121
|
}, "strip", z.ZodTypeAny, {
|
|
2122
2122
|
resource: string;
|
|
2123
|
-
matcher: "exact" | "
|
|
2123
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2124
2124
|
constraints?: Record<string, any> | undefined;
|
|
2125
2125
|
}, {
|
|
2126
2126
|
resource: string;
|
|
2127
|
-
matcher: "exact" | "
|
|
2127
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2128
2128
|
constraints?: Record<string, any> | undefined;
|
|
2129
2129
|
}>, "many">;
|
|
2130
2130
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2168,11 +2168,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2168
2168
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2169
2169
|
}, "strip", z.ZodTypeAny, {
|
|
2170
2170
|
resource: string;
|
|
2171
|
-
matcher: "exact" | "
|
|
2171
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2172
2172
|
constraints?: Record<string, any> | undefined;
|
|
2173
2173
|
}, {
|
|
2174
2174
|
resource: string;
|
|
2175
|
-
matcher: "exact" | "
|
|
2175
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2176
2176
|
constraints?: Record<string, any> | undefined;
|
|
2177
2177
|
}>, "many">;
|
|
2178
2178
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2210,11 +2210,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2210
2210
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2211
2211
|
}, "strip", z.ZodTypeAny, {
|
|
2212
2212
|
resource: string;
|
|
2213
|
-
matcher: "exact" | "
|
|
2213
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2214
2214
|
constraints?: Record<string, any> | undefined;
|
|
2215
2215
|
}, {
|
|
2216
2216
|
resource: string;
|
|
2217
|
-
matcher: "exact" | "
|
|
2217
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2218
2218
|
constraints?: Record<string, any> | undefined;
|
|
2219
2219
|
}>, "many">;
|
|
2220
2220
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2252,11 +2252,11 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2252
2252
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2253
2253
|
}, "strip", z.ZodTypeAny, {
|
|
2254
2254
|
resource: string;
|
|
2255
|
-
matcher: "exact" | "
|
|
2255
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2256
2256
|
constraints?: Record<string, any> | undefined;
|
|
2257
2257
|
}, {
|
|
2258
2258
|
resource: string;
|
|
2259
|
-
matcher: "exact" | "
|
|
2259
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2260
2260
|
constraints?: Record<string, any> | undefined;
|
|
2261
2261
|
}>, "many">;
|
|
2262
2262
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2264,12 +2264,12 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2264
2264
|
/** Status */
|
|
2265
2265
|
status: z.ZodEnum<["active", "revoked", "expired"]>;
|
|
2266
2266
|
}, "strip", z.ZodTypeAny, {
|
|
2267
|
-
status: "
|
|
2267
|
+
status: "active" | "revoked" | "expired";
|
|
2268
|
+
issuerDid: string;
|
|
2269
|
+
delegationId: string;
|
|
2268
2270
|
constraints: {
|
|
2269
2271
|
scopes?: string[] | undefined;
|
|
2270
2272
|
audience?: string | string[] | undefined;
|
|
2271
|
-
notBefore?: number | undefined;
|
|
2272
|
-
notAfter?: number | undefined;
|
|
2273
2273
|
crisp?: z.objectOutputType<{
|
|
2274
2274
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2275
2275
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -2305,29 +2305,29 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2305
2305
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2306
2306
|
}, "strip", z.ZodTypeAny, {
|
|
2307
2307
|
resource: string;
|
|
2308
|
-
matcher: "exact" | "
|
|
2308
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2309
2309
|
constraints?: Record<string, any> | undefined;
|
|
2310
2310
|
}, {
|
|
2311
2311
|
resource: string;
|
|
2312
|
-
matcher: "exact" | "
|
|
2312
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2313
2313
|
constraints?: Record<string, any> | undefined;
|
|
2314
2314
|
}>, "many">;
|
|
2315
2315
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2316
|
+
notBefore?: number | undefined;
|
|
2317
|
+
notAfter?: number | undefined;
|
|
2316
2318
|
} & {
|
|
2317
2319
|
[k: string]: unknown;
|
|
2318
2320
|
};
|
|
2319
|
-
issuerDid: string;
|
|
2320
2321
|
subjectDid: string;
|
|
2321
2322
|
vcId: string;
|
|
2322
|
-
delegationId: string;
|
|
2323
2323
|
depth: number;
|
|
2324
2324
|
}, {
|
|
2325
|
-
status: "
|
|
2325
|
+
status: "active" | "revoked" | "expired";
|
|
2326
|
+
issuerDid: string;
|
|
2327
|
+
delegationId: string;
|
|
2326
2328
|
constraints: {
|
|
2327
2329
|
scopes?: string[] | undefined;
|
|
2328
2330
|
audience?: string | string[] | undefined;
|
|
2329
|
-
notBefore?: number | undefined;
|
|
2330
|
-
notAfter?: number | undefined;
|
|
2331
2331
|
crisp?: z.objectInputType<{
|
|
2332
2332
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2333
2333
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -2363,21 +2363,21 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2363
2363
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2364
2364
|
}, "strip", z.ZodTypeAny, {
|
|
2365
2365
|
resource: string;
|
|
2366
|
-
matcher: "exact" | "
|
|
2366
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2367
2367
|
constraints?: Record<string, any> | undefined;
|
|
2368
2368
|
}, {
|
|
2369
2369
|
resource: string;
|
|
2370
|
-
matcher: "exact" | "
|
|
2370
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2371
2371
|
constraints?: Record<string, any> | undefined;
|
|
2372
2372
|
}>, "many">;
|
|
2373
2373
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2374
|
+
notBefore?: number | undefined;
|
|
2375
|
+
notAfter?: number | undefined;
|
|
2374
2376
|
} & {
|
|
2375
2377
|
[k: string]: unknown;
|
|
2376
2378
|
};
|
|
2377
|
-
issuerDid: string;
|
|
2378
2379
|
subjectDid: string;
|
|
2379
2380
|
vcId: string;
|
|
2380
|
-
delegationId: string;
|
|
2381
2381
|
depth: number;
|
|
2382
2382
|
}>, "many">;
|
|
2383
2383
|
/** Total chain depth */
|
|
@@ -2392,12 +2392,12 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2392
2392
|
rootIssuer: string;
|
|
2393
2393
|
leafSubject: string;
|
|
2394
2394
|
chain: {
|
|
2395
|
-
status: "
|
|
2395
|
+
status: "active" | "revoked" | "expired";
|
|
2396
|
+
issuerDid: string;
|
|
2397
|
+
delegationId: string;
|
|
2396
2398
|
constraints: {
|
|
2397
2399
|
scopes?: string[] | undefined;
|
|
2398
2400
|
audience?: string | string[] | undefined;
|
|
2399
|
-
notBefore?: number | undefined;
|
|
2400
|
-
notAfter?: number | undefined;
|
|
2401
2401
|
crisp?: z.objectOutputType<{
|
|
2402
2402
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2403
2403
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -2433,21 +2433,21 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2433
2433
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2434
2434
|
}, "strip", z.ZodTypeAny, {
|
|
2435
2435
|
resource: string;
|
|
2436
|
-
matcher: "exact" | "
|
|
2436
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2437
2437
|
constraints?: Record<string, any> | undefined;
|
|
2438
2438
|
}, {
|
|
2439
2439
|
resource: string;
|
|
2440
|
-
matcher: "exact" | "
|
|
2440
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2441
2441
|
constraints?: Record<string, any> | undefined;
|
|
2442
2442
|
}>, "many">;
|
|
2443
2443
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2444
|
+
notBefore?: number | undefined;
|
|
2445
|
+
notAfter?: number | undefined;
|
|
2444
2446
|
} & {
|
|
2445
2447
|
[k: string]: unknown;
|
|
2446
2448
|
};
|
|
2447
|
-
issuerDid: string;
|
|
2448
2449
|
subjectDid: string;
|
|
2449
2450
|
vcId: string;
|
|
2450
|
-
delegationId: string;
|
|
2451
2451
|
depth: number;
|
|
2452
2452
|
}[];
|
|
2453
2453
|
errors?: string[] | undefined;
|
|
@@ -2457,12 +2457,12 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2457
2457
|
rootIssuer: string;
|
|
2458
2458
|
leafSubject: string;
|
|
2459
2459
|
chain: {
|
|
2460
|
-
status: "
|
|
2460
|
+
status: "active" | "revoked" | "expired";
|
|
2461
|
+
issuerDid: string;
|
|
2462
|
+
delegationId: string;
|
|
2461
2463
|
constraints: {
|
|
2462
2464
|
scopes?: string[] | undefined;
|
|
2463
2465
|
audience?: string | string[] | undefined;
|
|
2464
|
-
notBefore?: number | undefined;
|
|
2465
|
-
notAfter?: number | undefined;
|
|
2466
2466
|
crisp?: z.objectInputType<{
|
|
2467
2467
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2468
2468
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -2498,21 +2498,21 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2498
2498
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2499
2499
|
}, "strip", z.ZodTypeAny, {
|
|
2500
2500
|
resource: string;
|
|
2501
|
-
matcher: "exact" | "
|
|
2501
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2502
2502
|
constraints?: Record<string, any> | undefined;
|
|
2503
2503
|
}, {
|
|
2504
2504
|
resource: string;
|
|
2505
|
-
matcher: "exact" | "
|
|
2505
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2506
2506
|
constraints?: Record<string, any> | undefined;
|
|
2507
2507
|
}>, "many">;
|
|
2508
2508
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2509
|
+
notBefore?: number | undefined;
|
|
2510
|
+
notAfter?: number | undefined;
|
|
2509
2511
|
} & {
|
|
2510
2512
|
[k: string]: unknown;
|
|
2511
2513
|
};
|
|
2512
|
-
issuerDid: string;
|
|
2513
2514
|
subjectDid: string;
|
|
2514
2515
|
vcId: string;
|
|
2515
|
-
delegationId: string;
|
|
2516
2516
|
depth: number;
|
|
2517
2517
|
}[];
|
|
2518
2518
|
errors?: string[] | undefined;
|
|
@@ -2571,11 +2571,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2571
2571
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2572
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2573
2573
|
resource: string;
|
|
2574
|
-
matcher: "exact" | "
|
|
2574
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2575
2575
|
constraints?: Record<string, any> | undefined;
|
|
2576
2576
|
}, {
|
|
2577
2577
|
resource: string;
|
|
2578
|
-
matcher: "exact" | "
|
|
2578
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2579
2579
|
constraints?: Record<string, any> | undefined;
|
|
2580
2580
|
}>, "many">;
|
|
2581
2581
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2613,11 +2613,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2613
2613
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2614
2614
|
}, "strip", z.ZodTypeAny, {
|
|
2615
2615
|
resource: string;
|
|
2616
|
-
matcher: "exact" | "
|
|
2616
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2617
2617
|
constraints?: Record<string, any> | undefined;
|
|
2618
2618
|
}, {
|
|
2619
2619
|
resource: string;
|
|
2620
|
-
matcher: "exact" | "
|
|
2620
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2621
2621
|
constraints?: Record<string, any> | undefined;
|
|
2622
2622
|
}>, "many">;
|
|
2623
2623
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2655,11 +2655,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2655
2655
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2656
2656
|
}, "strip", z.ZodTypeAny, {
|
|
2657
2657
|
resource: string;
|
|
2658
|
-
matcher: "exact" | "
|
|
2658
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2659
2659
|
constraints?: Record<string, any> | undefined;
|
|
2660
2660
|
}, {
|
|
2661
2661
|
resource: string;
|
|
2662
|
-
matcher: "exact" | "
|
|
2662
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2663
2663
|
constraints?: Record<string, any> | undefined;
|
|
2664
2664
|
}>, "many">;
|
|
2665
2665
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2703,11 +2703,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2703
2703
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2704
2704
|
}, "strip", z.ZodTypeAny, {
|
|
2705
2705
|
resource: string;
|
|
2706
|
-
matcher: "exact" | "
|
|
2706
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2707
2707
|
constraints?: Record<string, any> | undefined;
|
|
2708
2708
|
}, {
|
|
2709
2709
|
resource: string;
|
|
2710
|
-
matcher: "exact" | "
|
|
2710
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2711
2711
|
constraints?: Record<string, any> | undefined;
|
|
2712
2712
|
}>, "many">;
|
|
2713
2713
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2745,11 +2745,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2745
2745
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2746
2746
|
}, "strip", z.ZodTypeAny, {
|
|
2747
2747
|
resource: string;
|
|
2748
|
-
matcher: "exact" | "
|
|
2748
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2749
2749
|
constraints?: Record<string, any> | undefined;
|
|
2750
2750
|
}, {
|
|
2751
2751
|
resource: string;
|
|
2752
|
-
matcher: "exact" | "
|
|
2752
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2753
2753
|
constraints?: Record<string, any> | undefined;
|
|
2754
2754
|
}>, "many">;
|
|
2755
2755
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2787,11 +2787,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2787
2787
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2788
2788
|
}, "strip", z.ZodTypeAny, {
|
|
2789
2789
|
resource: string;
|
|
2790
|
-
matcher: "exact" | "
|
|
2790
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2791
2791
|
constraints?: Record<string, any> | undefined;
|
|
2792
2792
|
}, {
|
|
2793
2793
|
resource: string;
|
|
2794
|
-
matcher: "exact" | "
|
|
2794
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2795
2795
|
constraints?: Record<string, any> | undefined;
|
|
2796
2796
|
}>, "many">;
|
|
2797
2797
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2835,11 +2835,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2835
2835
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2836
2836
|
}, "strip", z.ZodTypeAny, {
|
|
2837
2837
|
resource: string;
|
|
2838
|
-
matcher: "exact" | "
|
|
2838
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2839
2839
|
constraints?: Record<string, any> | undefined;
|
|
2840
2840
|
}, {
|
|
2841
2841
|
resource: string;
|
|
2842
|
-
matcher: "exact" | "
|
|
2842
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2843
2843
|
constraints?: Record<string, any> | undefined;
|
|
2844
2844
|
}>, "many">;
|
|
2845
2845
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2877,11 +2877,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2877
2877
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2878
2878
|
}, "strip", z.ZodTypeAny, {
|
|
2879
2879
|
resource: string;
|
|
2880
|
-
matcher: "exact" | "
|
|
2880
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2881
2881
|
constraints?: Record<string, any> | undefined;
|
|
2882
2882
|
}, {
|
|
2883
2883
|
resource: string;
|
|
2884
|
-
matcher: "exact" | "
|
|
2884
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2885
2885
|
constraints?: Record<string, any> | undefined;
|
|
2886
2886
|
}>, "many">;
|
|
2887
2887
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2919,11 +2919,11 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2919
2919
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2920
2920
|
}, "strip", z.ZodTypeAny, {
|
|
2921
2921
|
resource: string;
|
|
2922
|
-
matcher: "exact" | "
|
|
2922
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2923
2923
|
constraints?: Record<string, any> | undefined;
|
|
2924
2924
|
}, {
|
|
2925
2925
|
resource: string;
|
|
2926
|
-
matcher: "exact" | "
|
|
2926
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2927
2927
|
constraints?: Record<string, any> | undefined;
|
|
2928
2928
|
}>, "many">;
|
|
2929
2929
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2933,11 +2933,10 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2933
2933
|
/** Optional VC ID (if not provided, will be created) */
|
|
2934
2934
|
vcId: z.ZodOptional<z.ZodString>;
|
|
2935
2935
|
}, "strip", z.ZodTypeAny, {
|
|
2936
|
+
issuerDid: string;
|
|
2936
2937
|
constraints: {
|
|
2937
2938
|
scopes?: string[] | undefined;
|
|
2938
2939
|
audience?: string | string[] | undefined;
|
|
2939
|
-
notBefore?: number | undefined;
|
|
2940
|
-
notAfter?: number | undefined;
|
|
2941
2940
|
crisp?: z.objectOutputType<{
|
|
2942
2941
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2943
2942
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -2973,28 +2972,28 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2973
2972
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2974
2973
|
}, "strip", z.ZodTypeAny, {
|
|
2975
2974
|
resource: string;
|
|
2976
|
-
matcher: "exact" | "
|
|
2975
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2977
2976
|
constraints?: Record<string, any> | undefined;
|
|
2978
2977
|
}, {
|
|
2979
2978
|
resource: string;
|
|
2980
|
-
matcher: "exact" | "
|
|
2979
|
+
matcher: "exact" | "regex" | "prefix";
|
|
2981
2980
|
constraints?: Record<string, any> | undefined;
|
|
2982
2981
|
}>, "many">;
|
|
2983
2982
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2983
|
+
notBefore?: number | undefined;
|
|
2984
|
+
notAfter?: number | undefined;
|
|
2984
2985
|
} & {
|
|
2985
2986
|
[k: string]: unknown;
|
|
2986
2987
|
};
|
|
2987
|
-
issuerDid: string;
|
|
2988
2988
|
subjectDid: string;
|
|
2989
2989
|
controller?: string | undefined;
|
|
2990
2990
|
vcId?: string | undefined;
|
|
2991
2991
|
parentId?: string | undefined;
|
|
2992
2992
|
}, {
|
|
2993
|
+
issuerDid: string;
|
|
2993
2994
|
constraints: {
|
|
2994
2995
|
scopes?: string[] | undefined;
|
|
2995
2996
|
audience?: string | string[] | undefined;
|
|
2996
|
-
notBefore?: number | undefined;
|
|
2997
|
-
notAfter?: number | undefined;
|
|
2998
2997
|
crisp?: z.objectInputType<{
|
|
2999
2998
|
budget: z.ZodOptional<z.ZodObject<{
|
|
3000
2999
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -3030,18 +3029,19 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
3030
3029
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3031
3030
|
}, "strip", z.ZodTypeAny, {
|
|
3032
3031
|
resource: string;
|
|
3033
|
-
matcher: "exact" | "
|
|
3032
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3034
3033
|
constraints?: Record<string, any> | undefined;
|
|
3035
3034
|
}, {
|
|
3036
3035
|
resource: string;
|
|
3037
|
-
matcher: "exact" | "
|
|
3036
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3038
3037
|
constraints?: Record<string, any> | undefined;
|
|
3039
3038
|
}>, "many">;
|
|
3040
3039
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3040
|
+
notBefore?: number | undefined;
|
|
3041
|
+
notAfter?: number | undefined;
|
|
3041
3042
|
} & {
|
|
3042
3043
|
[k: string]: unknown;
|
|
3043
3044
|
};
|
|
3044
|
-
issuerDid: string;
|
|
3045
3045
|
subjectDid: string;
|
|
3046
3046
|
controller?: string | undefined;
|
|
3047
3047
|
vcId?: string | undefined;
|
|
@@ -3092,27 +3092,27 @@ export declare const AuthorizationInfoSchema: z.ZodObject<{
|
|
|
3092
3092
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3093
3093
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3094
3094
|
}, "strip", z.ZodTypeAny, {
|
|
3095
|
-
type: "
|
|
3096
|
-
|
|
3097
|
-
verifiedAt?: number | undefined;
|
|
3095
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3096
|
+
domain?: string | undefined;
|
|
3098
3097
|
issuer?: string | undefined;
|
|
3098
|
+
provider?: string | undefined;
|
|
3099
3099
|
credentialType?: string | undefined;
|
|
3100
3100
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3101
3101
|
rpId?: string | undefined;
|
|
3102
3102
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3103
3103
|
chainId?: number | undefined;
|
|
3104
|
-
domain?: string | undefined;
|
|
3105
|
-
}, {
|
|
3106
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3107
|
-
provider?: string | undefined;
|
|
3108
3104
|
verifiedAt?: number | undefined;
|
|
3105
|
+
}, {
|
|
3106
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3107
|
+
domain?: string | undefined;
|
|
3109
3108
|
issuer?: string | undefined;
|
|
3109
|
+
provider?: string | undefined;
|
|
3110
3110
|
credentialType?: string | undefined;
|
|
3111
3111
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3112
3112
|
rpId?: string | undefined;
|
|
3113
3113
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3114
3114
|
chainId?: number | undefined;
|
|
3115
|
-
|
|
3115
|
+
verifiedAt?: number | undefined;
|
|
3116
3116
|
}>;
|
|
3117
3117
|
export type AuthorizationInfo = z.infer<typeof AuthorizationInfoSchema>;
|
|
3118
3118
|
/**
|
|
@@ -3157,27 +3157,27 @@ export declare const DelegationVerificationDetailsSchema: z.ZodObject<{
|
|
|
3157
3157
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3158
3158
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3159
3159
|
}, "strip", z.ZodTypeAny, {
|
|
3160
|
-
type: "
|
|
3161
|
-
|
|
3162
|
-
verifiedAt?: number | undefined;
|
|
3160
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3161
|
+
domain?: string | undefined;
|
|
3163
3162
|
issuer?: string | undefined;
|
|
3163
|
+
provider?: string | undefined;
|
|
3164
3164
|
credentialType?: string | undefined;
|
|
3165
3165
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3166
3166
|
rpId?: string | undefined;
|
|
3167
3167
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3168
3168
|
chainId?: number | undefined;
|
|
3169
|
-
domain?: string | undefined;
|
|
3170
|
-
}, {
|
|
3171
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3172
|
-
provider?: string | undefined;
|
|
3173
3169
|
verifiedAt?: number | undefined;
|
|
3170
|
+
}, {
|
|
3171
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3172
|
+
domain?: string | undefined;
|
|
3174
3173
|
issuer?: string | undefined;
|
|
3174
|
+
provider?: string | undefined;
|
|
3175
3175
|
credentialType?: string | undefined;
|
|
3176
3176
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3177
3177
|
rpId?: string | undefined;
|
|
3178
3178
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3179
3179
|
chainId?: number | undefined;
|
|
3180
|
-
|
|
3180
|
+
verifiedAt?: number | undefined;
|
|
3181
3181
|
}>>;
|
|
3182
3182
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3183
3183
|
/** Authorization info - how identity was verified during consent */
|
|
@@ -3216,27 +3216,27 @@ export declare const DelegationVerificationDetailsSchema: z.ZodObject<{
|
|
|
3216
3216
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3217
3217
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3218
3218
|
}, "strip", z.ZodTypeAny, {
|
|
3219
|
-
type: "
|
|
3220
|
-
|
|
3221
|
-
verifiedAt?: number | undefined;
|
|
3219
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3220
|
+
domain?: string | undefined;
|
|
3222
3221
|
issuer?: string | undefined;
|
|
3222
|
+
provider?: string | undefined;
|
|
3223
3223
|
credentialType?: string | undefined;
|
|
3224
3224
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3225
3225
|
rpId?: string | undefined;
|
|
3226
3226
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3227
3227
|
chainId?: number | undefined;
|
|
3228
|
-
domain?: string | undefined;
|
|
3229
|
-
}, {
|
|
3230
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3231
|
-
provider?: string | undefined;
|
|
3232
3228
|
verifiedAt?: number | undefined;
|
|
3229
|
+
}, {
|
|
3230
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3231
|
+
domain?: string | undefined;
|
|
3233
3232
|
issuer?: string | undefined;
|
|
3233
|
+
provider?: string | undefined;
|
|
3234
3234
|
credentialType?: string | undefined;
|
|
3235
3235
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3236
3236
|
rpId?: string | undefined;
|
|
3237
3237
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3238
3238
|
chainId?: number | undefined;
|
|
3239
|
-
|
|
3239
|
+
verifiedAt?: number | undefined;
|
|
3240
3240
|
}>>;
|
|
3241
3241
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3242
3242
|
/** Authorization info - how identity was verified during consent */
|
|
@@ -3275,27 +3275,27 @@ export declare const DelegationVerificationDetailsSchema: z.ZodObject<{
|
|
|
3275
3275
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3276
3276
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3277
3277
|
}, "strip", z.ZodTypeAny, {
|
|
3278
|
-
type: "
|
|
3279
|
-
|
|
3280
|
-
verifiedAt?: number | undefined;
|
|
3278
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3279
|
+
domain?: string | undefined;
|
|
3281
3280
|
issuer?: string | undefined;
|
|
3281
|
+
provider?: string | undefined;
|
|
3282
3282
|
credentialType?: string | undefined;
|
|
3283
3283
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3284
3284
|
rpId?: string | undefined;
|
|
3285
3285
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3286
3286
|
chainId?: number | undefined;
|
|
3287
|
-
domain?: string | undefined;
|
|
3288
|
-
}, {
|
|
3289
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3290
|
-
provider?: string | undefined;
|
|
3291
3287
|
verifiedAt?: number | undefined;
|
|
3288
|
+
}, {
|
|
3289
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3290
|
+
domain?: string | undefined;
|
|
3292
3291
|
issuer?: string | undefined;
|
|
3292
|
+
provider?: string | undefined;
|
|
3293
3293
|
credentialType?: string | undefined;
|
|
3294
3294
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3295
3295
|
rpId?: string | undefined;
|
|
3296
3296
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3297
3297
|
chainId?: number | undefined;
|
|
3298
|
-
|
|
3298
|
+
verifiedAt?: number | undefined;
|
|
3299
3299
|
}>>;
|
|
3300
3300
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3301
3301
|
export type DelegationVerificationDetails = z.infer<typeof DelegationVerificationDetailsSchema>;
|
|
@@ -3357,27 +3357,27 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3357
3357
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3358
3358
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3359
3359
|
}, "strip", z.ZodTypeAny, {
|
|
3360
|
-
type: "
|
|
3361
|
-
|
|
3362
|
-
verifiedAt?: number | undefined;
|
|
3360
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3361
|
+
domain?: string | undefined;
|
|
3363
3362
|
issuer?: string | undefined;
|
|
3363
|
+
provider?: string | undefined;
|
|
3364
3364
|
credentialType?: string | undefined;
|
|
3365
3365
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3366
3366
|
rpId?: string | undefined;
|
|
3367
3367
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3368
3368
|
chainId?: number | undefined;
|
|
3369
|
-
domain?: string | undefined;
|
|
3370
|
-
}, {
|
|
3371
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3372
|
-
provider?: string | undefined;
|
|
3373
3369
|
verifiedAt?: number | undefined;
|
|
3370
|
+
}, {
|
|
3371
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3372
|
+
domain?: string | undefined;
|
|
3374
3373
|
issuer?: string | undefined;
|
|
3374
|
+
provider?: string | undefined;
|
|
3375
3375
|
credentialType?: string | undefined;
|
|
3376
3376
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3377
3377
|
rpId?: string | undefined;
|
|
3378
3378
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3379
3379
|
chainId?: number | undefined;
|
|
3380
|
-
|
|
3380
|
+
verifiedAt?: number | undefined;
|
|
3381
3381
|
}>>;
|
|
3382
3382
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3383
3383
|
/** Authorization info - how identity was verified during consent */
|
|
@@ -3416,27 +3416,27 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3416
3416
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3417
3417
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3418
3418
|
}, "strip", z.ZodTypeAny, {
|
|
3419
|
-
type: "
|
|
3420
|
-
|
|
3421
|
-
verifiedAt?: number | undefined;
|
|
3419
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3420
|
+
domain?: string | undefined;
|
|
3422
3421
|
issuer?: string | undefined;
|
|
3422
|
+
provider?: string | undefined;
|
|
3423
3423
|
credentialType?: string | undefined;
|
|
3424
3424
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3425
3425
|
rpId?: string | undefined;
|
|
3426
3426
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3427
3427
|
chainId?: number | undefined;
|
|
3428
|
-
domain?: string | undefined;
|
|
3429
|
-
}, {
|
|
3430
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3431
|
-
provider?: string | undefined;
|
|
3432
3428
|
verifiedAt?: number | undefined;
|
|
3429
|
+
}, {
|
|
3430
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3431
|
+
domain?: string | undefined;
|
|
3433
3432
|
issuer?: string | undefined;
|
|
3433
|
+
provider?: string | undefined;
|
|
3434
3434
|
credentialType?: string | undefined;
|
|
3435
3435
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3436
3436
|
rpId?: string | undefined;
|
|
3437
3437
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3438
3438
|
chainId?: number | undefined;
|
|
3439
|
-
|
|
3439
|
+
verifiedAt?: number | undefined;
|
|
3440
3440
|
}>>;
|
|
3441
3441
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3442
3442
|
/** Authorization info - how identity was verified during consent */
|
|
@@ -3475,34 +3475,34 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3475
3475
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3476
3476
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3477
3477
|
}, "strip", z.ZodTypeAny, {
|
|
3478
|
-
type: "
|
|
3479
|
-
|
|
3480
|
-
verifiedAt?: number | undefined;
|
|
3478
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3479
|
+
domain?: string | undefined;
|
|
3481
3480
|
issuer?: string | undefined;
|
|
3481
|
+
provider?: string | undefined;
|
|
3482
3482
|
credentialType?: string | undefined;
|
|
3483
3483
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3484
3484
|
rpId?: string | undefined;
|
|
3485
3485
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3486
3486
|
chainId?: number | undefined;
|
|
3487
|
-
domain?: string | undefined;
|
|
3488
|
-
}, {
|
|
3489
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3490
|
-
provider?: string | undefined;
|
|
3491
3487
|
verifiedAt?: number | undefined;
|
|
3488
|
+
}, {
|
|
3489
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3490
|
+
domain?: string | undefined;
|
|
3492
3491
|
issuer?: string | undefined;
|
|
3492
|
+
provider?: string | undefined;
|
|
3493
3493
|
credentialType?: string | undefined;
|
|
3494
3494
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3495
3495
|
rpId?: string | undefined;
|
|
3496
3496
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3497
3497
|
chainId?: number | undefined;
|
|
3498
|
-
|
|
3498
|
+
verifiedAt?: number | undefined;
|
|
3499
3499
|
}>>;
|
|
3500
3500
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
3501
3501
|
}, "strip", z.ZodTypeAny, {
|
|
3502
3502
|
valid: boolean;
|
|
3503
|
-
status: "
|
|
3504
|
-
verifiedAt: number;
|
|
3503
|
+
status: "active" | "revoked" | "expired";
|
|
3505
3504
|
delegationId: string;
|
|
3505
|
+
verifiedAt: number;
|
|
3506
3506
|
details?: z.objectOutputType<{
|
|
3507
3507
|
/** Authorization info - how identity was verified during consent */
|
|
3508
3508
|
authorization: z.ZodOptional<z.ZodObject<{
|
|
@@ -3540,27 +3540,27 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3540
3540
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3541
3541
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3542
3542
|
}, "strip", z.ZodTypeAny, {
|
|
3543
|
-
type: "
|
|
3544
|
-
|
|
3545
|
-
verifiedAt?: number | undefined;
|
|
3543
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3544
|
+
domain?: string | undefined;
|
|
3546
3545
|
issuer?: string | undefined;
|
|
3546
|
+
provider?: string | undefined;
|
|
3547
3547
|
credentialType?: string | undefined;
|
|
3548
3548
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3549
3549
|
rpId?: string | undefined;
|
|
3550
3550
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3551
3551
|
chainId?: number | undefined;
|
|
3552
|
-
domain?: string | undefined;
|
|
3553
|
-
}, {
|
|
3554
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3555
|
-
provider?: string | undefined;
|
|
3556
3552
|
verifiedAt?: number | undefined;
|
|
3553
|
+
}, {
|
|
3554
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3555
|
+
domain?: string | undefined;
|
|
3557
3556
|
issuer?: string | undefined;
|
|
3557
|
+
provider?: string | undefined;
|
|
3558
3558
|
credentialType?: string | undefined;
|
|
3559
3559
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3560
3560
|
rpId?: string | undefined;
|
|
3561
3561
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3562
3562
|
chainId?: number | undefined;
|
|
3563
|
-
|
|
3563
|
+
verifiedAt?: number | undefined;
|
|
3564
3564
|
}>>;
|
|
3565
3565
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3566
3566
|
reason?: string | undefined;
|
|
@@ -3568,9 +3568,9 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3568
3568
|
chainValid?: boolean | undefined;
|
|
3569
3569
|
}, {
|
|
3570
3570
|
valid: boolean;
|
|
3571
|
-
status: "
|
|
3572
|
-
verifiedAt: number;
|
|
3571
|
+
status: "active" | "revoked" | "expired";
|
|
3573
3572
|
delegationId: string;
|
|
3573
|
+
verifiedAt: number;
|
|
3574
3574
|
details?: z.objectInputType<{
|
|
3575
3575
|
/** Authorization info - how identity was verified during consent */
|
|
3576
3576
|
authorization: z.ZodOptional<z.ZodObject<{
|
|
@@ -3608,27 +3608,27 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3608
3608
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3609
3609
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3610
3610
|
}, "strip", z.ZodTypeAny, {
|
|
3611
|
-
type: "
|
|
3612
|
-
|
|
3613
|
-
verifiedAt?: number | undefined;
|
|
3611
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3612
|
+
domain?: string | undefined;
|
|
3614
3613
|
issuer?: string | undefined;
|
|
3614
|
+
provider?: string | undefined;
|
|
3615
3615
|
credentialType?: string | undefined;
|
|
3616
3616
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3617
3617
|
rpId?: string | undefined;
|
|
3618
3618
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3619
3619
|
chainId?: number | undefined;
|
|
3620
|
-
domain?: string | undefined;
|
|
3621
|
-
}, {
|
|
3622
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3623
|
-
provider?: string | undefined;
|
|
3624
3620
|
verifiedAt?: number | undefined;
|
|
3621
|
+
}, {
|
|
3622
|
+
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3623
|
+
domain?: string | undefined;
|
|
3625
3624
|
issuer?: string | undefined;
|
|
3625
|
+
provider?: string | undefined;
|
|
3626
3626
|
credentialType?: string | undefined;
|
|
3627
3627
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3628
3628
|
rpId?: string | undefined;
|
|
3629
3629
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3630
3630
|
chainId?: number | undefined;
|
|
3631
|
-
|
|
3631
|
+
verifiedAt?: number | undefined;
|
|
3632
3632
|
}>>;
|
|
3633
3633
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3634
3634
|
reason?: string | undefined;
|
|
@@ -3699,11 +3699,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3699
3699
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3700
3700
|
}, "strip", z.ZodTypeAny, {
|
|
3701
3701
|
resource: string;
|
|
3702
|
-
matcher: "exact" | "
|
|
3702
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3703
3703
|
constraints?: Record<string, any> | undefined;
|
|
3704
3704
|
}, {
|
|
3705
3705
|
resource: string;
|
|
3706
|
-
matcher: "exact" | "
|
|
3706
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3707
3707
|
constraints?: Record<string, any> | undefined;
|
|
3708
3708
|
}>, "many">;
|
|
3709
3709
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3741,11 +3741,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3741
3741
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3742
3742
|
}, "strip", z.ZodTypeAny, {
|
|
3743
3743
|
resource: string;
|
|
3744
|
-
matcher: "exact" | "
|
|
3744
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3745
3745
|
constraints?: Record<string, any> | undefined;
|
|
3746
3746
|
}, {
|
|
3747
3747
|
resource: string;
|
|
3748
|
-
matcher: "exact" | "
|
|
3748
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3749
3749
|
constraints?: Record<string, any> | undefined;
|
|
3750
3750
|
}>, "many">;
|
|
3751
3751
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3783,11 +3783,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3783
3783
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3784
3784
|
}, "strip", z.ZodTypeAny, {
|
|
3785
3785
|
resource: string;
|
|
3786
|
-
matcher: "exact" | "
|
|
3786
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3787
3787
|
constraints?: Record<string, any> | undefined;
|
|
3788
3788
|
}, {
|
|
3789
3789
|
resource: string;
|
|
3790
|
-
matcher: "exact" | "
|
|
3790
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3791
3791
|
constraints?: Record<string, any> | undefined;
|
|
3792
3792
|
}>, "many">;
|
|
3793
3793
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3831,11 +3831,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3831
3831
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3832
3832
|
}, "strip", z.ZodTypeAny, {
|
|
3833
3833
|
resource: string;
|
|
3834
|
-
matcher: "exact" | "
|
|
3834
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3835
3835
|
constraints?: Record<string, any> | undefined;
|
|
3836
3836
|
}, {
|
|
3837
3837
|
resource: string;
|
|
3838
|
-
matcher: "exact" | "
|
|
3838
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3839
3839
|
constraints?: Record<string, any> | undefined;
|
|
3840
3840
|
}>, "many">;
|
|
3841
3841
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -3873,11 +3873,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3873
3873
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3874
3874
|
}, "strip", z.ZodTypeAny, {
|
|
3875
3875
|
resource: string;
|
|
3876
|
-
matcher: "exact" | "
|
|
3876
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3877
3877
|
constraints?: Record<string, any> | undefined;
|
|
3878
3878
|
}, {
|
|
3879
3879
|
resource: string;
|
|
3880
|
-
matcher: "exact" | "
|
|
3880
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3881
3881
|
constraints?: Record<string, any> | undefined;
|
|
3882
3882
|
}>, "many">;
|
|
3883
3883
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -3915,11 +3915,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3915
3915
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3916
3916
|
}, "strip", z.ZodTypeAny, {
|
|
3917
3917
|
resource: string;
|
|
3918
|
-
matcher: "exact" | "
|
|
3918
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3919
3919
|
constraints?: Record<string, any> | undefined;
|
|
3920
3920
|
}, {
|
|
3921
3921
|
resource: string;
|
|
3922
|
-
matcher: "exact" | "
|
|
3922
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3923
3923
|
constraints?: Record<string, any> | undefined;
|
|
3924
3924
|
}>, "many">;
|
|
3925
3925
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -3963,11 +3963,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
3963
3963
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3964
3964
|
}, "strip", z.ZodTypeAny, {
|
|
3965
3965
|
resource: string;
|
|
3966
|
-
matcher: "exact" | "
|
|
3966
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3967
3967
|
constraints?: Record<string, any> | undefined;
|
|
3968
3968
|
}, {
|
|
3969
3969
|
resource: string;
|
|
3970
|
-
matcher: "exact" | "
|
|
3970
|
+
matcher: "exact" | "regex" | "prefix";
|
|
3971
3971
|
constraints?: Record<string, any> | undefined;
|
|
3972
3972
|
}>, "many">;
|
|
3973
3973
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4005,11 +4005,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4005
4005
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4006
4006
|
}, "strip", z.ZodTypeAny, {
|
|
4007
4007
|
resource: string;
|
|
4008
|
-
matcher: "exact" | "
|
|
4008
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4009
4009
|
constraints?: Record<string, any> | undefined;
|
|
4010
4010
|
}, {
|
|
4011
4011
|
resource: string;
|
|
4012
|
-
matcher: "exact" | "
|
|
4012
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4013
4013
|
constraints?: Record<string, any> | undefined;
|
|
4014
4014
|
}>, "many">;
|
|
4015
4015
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4047,11 +4047,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4047
4047
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4048
4048
|
}, "strip", z.ZodTypeAny, {
|
|
4049
4049
|
resource: string;
|
|
4050
|
-
matcher: "exact" | "
|
|
4050
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4051
4051
|
constraints?: Record<string, any> | undefined;
|
|
4052
4052
|
}, {
|
|
4053
4053
|
resource: string;
|
|
4054
|
-
matcher: "exact" | "
|
|
4054
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4055
4055
|
constraints?: Record<string, any> | undefined;
|
|
4056
4056
|
}>, "many">;
|
|
4057
4057
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4122,11 +4122,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4122
4122
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4123
4123
|
}, "strip", z.ZodTypeAny, {
|
|
4124
4124
|
resource: string;
|
|
4125
|
-
matcher: "exact" | "
|
|
4125
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4126
4126
|
constraints?: Record<string, any> | undefined;
|
|
4127
4127
|
}, {
|
|
4128
4128
|
resource: string;
|
|
4129
|
-
matcher: "exact" | "
|
|
4129
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4130
4130
|
constraints?: Record<string, any> | undefined;
|
|
4131
4131
|
}>, "many">;
|
|
4132
4132
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4164,11 +4164,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4164
4164
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4165
4165
|
}, "strip", z.ZodTypeAny, {
|
|
4166
4166
|
resource: string;
|
|
4167
|
-
matcher: "exact" | "
|
|
4167
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4168
4168
|
constraints?: Record<string, any> | undefined;
|
|
4169
4169
|
}, {
|
|
4170
4170
|
resource: string;
|
|
4171
|
-
matcher: "exact" | "
|
|
4171
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4172
4172
|
constraints?: Record<string, any> | undefined;
|
|
4173
4173
|
}>, "many">;
|
|
4174
4174
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4206,11 +4206,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4206
4206
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4207
4207
|
}, "strip", z.ZodTypeAny, {
|
|
4208
4208
|
resource: string;
|
|
4209
|
-
matcher: "exact" | "
|
|
4209
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4210
4210
|
constraints?: Record<string, any> | undefined;
|
|
4211
4211
|
}, {
|
|
4212
4212
|
resource: string;
|
|
4213
|
-
matcher: "exact" | "
|
|
4213
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4214
4214
|
constraints?: Record<string, any> | undefined;
|
|
4215
4215
|
}>, "many">;
|
|
4216
4216
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4254,11 +4254,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4254
4254
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4255
4255
|
}, "strip", z.ZodTypeAny, {
|
|
4256
4256
|
resource: string;
|
|
4257
|
-
matcher: "exact" | "
|
|
4257
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4258
4258
|
constraints?: Record<string, any> | undefined;
|
|
4259
4259
|
}, {
|
|
4260
4260
|
resource: string;
|
|
4261
|
-
matcher: "exact" | "
|
|
4261
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4262
4262
|
constraints?: Record<string, any> | undefined;
|
|
4263
4263
|
}>, "many">;
|
|
4264
4264
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4296,11 +4296,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4296
4296
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4297
4297
|
}, "strip", z.ZodTypeAny, {
|
|
4298
4298
|
resource: string;
|
|
4299
|
-
matcher: "exact" | "
|
|
4299
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4300
4300
|
constraints?: Record<string, any> | undefined;
|
|
4301
4301
|
}, {
|
|
4302
4302
|
resource: string;
|
|
4303
|
-
matcher: "exact" | "
|
|
4303
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4304
4304
|
constraints?: Record<string, any> | undefined;
|
|
4305
4305
|
}>, "many">;
|
|
4306
4306
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4338,11 +4338,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4338
4338
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4339
4339
|
}, "strip", z.ZodTypeAny, {
|
|
4340
4340
|
resource: string;
|
|
4341
|
-
matcher: "exact" | "
|
|
4341
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4342
4342
|
constraints?: Record<string, any> | undefined;
|
|
4343
4343
|
}, {
|
|
4344
4344
|
resource: string;
|
|
4345
|
-
matcher: "exact" | "
|
|
4345
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4346
4346
|
constraints?: Record<string, any> | undefined;
|
|
4347
4347
|
}>, "many">;
|
|
4348
4348
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4386,11 +4386,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4386
4386
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4387
4387
|
}, "strip", z.ZodTypeAny, {
|
|
4388
4388
|
resource: string;
|
|
4389
|
-
matcher: "exact" | "
|
|
4389
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4390
4390
|
constraints?: Record<string, any> | undefined;
|
|
4391
4391
|
}, {
|
|
4392
4392
|
resource: string;
|
|
4393
|
-
matcher: "exact" | "
|
|
4393
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4394
4394
|
constraints?: Record<string, any> | undefined;
|
|
4395
4395
|
}>, "many">;
|
|
4396
4396
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4428,11 +4428,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4428
4428
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4429
4429
|
}, "strip", z.ZodTypeAny, {
|
|
4430
4430
|
resource: string;
|
|
4431
|
-
matcher: "exact" | "
|
|
4431
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4432
4432
|
constraints?: Record<string, any> | undefined;
|
|
4433
4433
|
}, {
|
|
4434
4434
|
resource: string;
|
|
4435
|
-
matcher: "exact" | "
|
|
4435
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4436
4436
|
constraints?: Record<string, any> | undefined;
|
|
4437
4437
|
}>, "many">;
|
|
4438
4438
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4470,11 +4470,11 @@ export declare function validateDelegationRecord(record: unknown): z.SafeParseRe
|
|
|
4470
4470
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4471
4471
|
}, "strip", z.ZodTypeAny, {
|
|
4472
4472
|
resource: string;
|
|
4473
|
-
matcher: "exact" | "
|
|
4473
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4474
4474
|
constraints?: Record<string, any> | undefined;
|
|
4475
4475
|
}, {
|
|
4476
4476
|
resource: string;
|
|
4477
|
-
matcher: "exact" | "
|
|
4477
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4478
4478
|
constraints?: Record<string, any> | undefined;
|
|
4479
4479
|
}>, "many">;
|
|
4480
4480
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4504,12 +4504,12 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4504
4504
|
rootIssuer: string;
|
|
4505
4505
|
leafSubject: string;
|
|
4506
4506
|
chain: {
|
|
4507
|
-
status: "
|
|
4507
|
+
status: "active" | "revoked" | "expired";
|
|
4508
|
+
issuerDid: string;
|
|
4509
|
+
delegationId: string;
|
|
4508
4510
|
constraints: {
|
|
4509
4511
|
scopes?: string[] | undefined;
|
|
4510
4512
|
audience?: string | string[] | undefined;
|
|
4511
|
-
notBefore?: number | undefined;
|
|
4512
|
-
notAfter?: number | undefined;
|
|
4513
4513
|
crisp?: z.objectInputType<{
|
|
4514
4514
|
budget: z.ZodOptional<z.ZodObject<{
|
|
4515
4515
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -4545,21 +4545,21 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4545
4545
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4546
4546
|
}, "strip", z.ZodTypeAny, {
|
|
4547
4547
|
resource: string;
|
|
4548
|
-
matcher: "exact" | "
|
|
4548
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4549
4549
|
constraints?: Record<string, any> | undefined;
|
|
4550
4550
|
}, {
|
|
4551
4551
|
resource: string;
|
|
4552
|
-
matcher: "exact" | "
|
|
4552
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4553
4553
|
constraints?: Record<string, any> | undefined;
|
|
4554
4554
|
}>, "many">;
|
|
4555
4555
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4556
|
+
notBefore?: number | undefined;
|
|
4557
|
+
notAfter?: number | undefined;
|
|
4556
4558
|
} & {
|
|
4557
4559
|
[k: string]: unknown;
|
|
4558
4560
|
};
|
|
4559
|
-
issuerDid: string;
|
|
4560
4561
|
subjectDid: string;
|
|
4561
4562
|
vcId: string;
|
|
4562
|
-
delegationId: string;
|
|
4563
4563
|
depth: number;
|
|
4564
4564
|
}[];
|
|
4565
4565
|
errors?: string[] | undefined;
|
|
@@ -4569,12 +4569,12 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4569
4569
|
rootIssuer: string;
|
|
4570
4570
|
leafSubject: string;
|
|
4571
4571
|
chain: {
|
|
4572
|
-
status: "
|
|
4572
|
+
status: "active" | "revoked" | "expired";
|
|
4573
|
+
issuerDid: string;
|
|
4574
|
+
delegationId: string;
|
|
4573
4575
|
constraints: {
|
|
4574
4576
|
scopes?: string[] | undefined;
|
|
4575
4577
|
audience?: string | string[] | undefined;
|
|
4576
|
-
notBefore?: number | undefined;
|
|
4577
|
-
notAfter?: number | undefined;
|
|
4578
4578
|
crisp?: z.objectOutputType<{
|
|
4579
4579
|
budget: z.ZodOptional<z.ZodObject<{
|
|
4580
4580
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -4610,21 +4610,21 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4610
4610
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4611
4611
|
}, "strip", z.ZodTypeAny, {
|
|
4612
4612
|
resource: string;
|
|
4613
|
-
matcher: "exact" | "
|
|
4613
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4614
4614
|
constraints?: Record<string, any> | undefined;
|
|
4615
4615
|
}, {
|
|
4616
4616
|
resource: string;
|
|
4617
|
-
matcher: "exact" | "
|
|
4617
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4618
4618
|
constraints?: Record<string, any> | undefined;
|
|
4619
4619
|
}>, "many">;
|
|
4620
4620
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4621
|
+
notBefore?: number | undefined;
|
|
4622
|
+
notAfter?: number | undefined;
|
|
4621
4623
|
} & {
|
|
4622
4624
|
[k: string]: unknown;
|
|
4623
4625
|
};
|
|
4624
|
-
issuerDid: string;
|
|
4625
4626
|
subjectDid: string;
|
|
4626
4627
|
vcId: string;
|
|
4627
|
-
delegationId: string;
|
|
4628
4628
|
depth: number;
|
|
4629
4629
|
}[];
|
|
4630
4630
|
errors?: string[] | undefined;
|
|
@@ -4772,11 +4772,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4772
4772
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4773
4773
|
}, "strip", z.ZodTypeAny, {
|
|
4774
4774
|
resource: string;
|
|
4775
|
-
matcher: "exact" | "
|
|
4775
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4776
4776
|
constraints?: Record<string, any> | undefined;
|
|
4777
4777
|
}, {
|
|
4778
4778
|
resource: string;
|
|
4779
|
-
matcher: "exact" | "
|
|
4779
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4780
4780
|
constraints?: Record<string, any> | undefined;
|
|
4781
4781
|
}>, "many">;
|
|
4782
4782
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4814,11 +4814,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4814
4814
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4815
4815
|
}, "strip", z.ZodTypeAny, {
|
|
4816
4816
|
resource: string;
|
|
4817
|
-
matcher: "exact" | "
|
|
4817
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4818
4818
|
constraints?: Record<string, any> | undefined;
|
|
4819
4819
|
}, {
|
|
4820
4820
|
resource: string;
|
|
4821
|
-
matcher: "exact" | "
|
|
4821
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4822
4822
|
constraints?: Record<string, any> | undefined;
|
|
4823
4823
|
}>, "many">;
|
|
4824
4824
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4856,11 +4856,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4856
4856
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4857
4857
|
}, "strip", z.ZodTypeAny, {
|
|
4858
4858
|
resource: string;
|
|
4859
|
-
matcher: "exact" | "
|
|
4859
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4860
4860
|
constraints?: Record<string, any> | undefined;
|
|
4861
4861
|
}, {
|
|
4862
4862
|
resource: string;
|
|
4863
|
-
matcher: "exact" | "
|
|
4863
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4864
4864
|
constraints?: Record<string, any> | undefined;
|
|
4865
4865
|
}>, "many">;
|
|
4866
4866
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -4904,11 +4904,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4904
4904
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4905
4905
|
}, "strip", z.ZodTypeAny, {
|
|
4906
4906
|
resource: string;
|
|
4907
|
-
matcher: "exact" | "
|
|
4907
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4908
4908
|
constraints?: Record<string, any> | undefined;
|
|
4909
4909
|
}, {
|
|
4910
4910
|
resource: string;
|
|
4911
|
-
matcher: "exact" | "
|
|
4911
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4912
4912
|
constraints?: Record<string, any> | undefined;
|
|
4913
4913
|
}>, "many">;
|
|
4914
4914
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -4946,11 +4946,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4946
4946
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4947
4947
|
}, "strip", z.ZodTypeAny, {
|
|
4948
4948
|
resource: string;
|
|
4949
|
-
matcher: "exact" | "
|
|
4949
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4950
4950
|
constraints?: Record<string, any> | undefined;
|
|
4951
4951
|
}, {
|
|
4952
4952
|
resource: string;
|
|
4953
|
-
matcher: "exact" | "
|
|
4953
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4954
4954
|
constraints?: Record<string, any> | undefined;
|
|
4955
4955
|
}>, "many">;
|
|
4956
4956
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -4988,11 +4988,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
4988
4988
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4989
4989
|
}, "strip", z.ZodTypeAny, {
|
|
4990
4990
|
resource: string;
|
|
4991
|
-
matcher: "exact" | "
|
|
4991
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4992
4992
|
constraints?: Record<string, any> | undefined;
|
|
4993
4993
|
}, {
|
|
4994
4994
|
resource: string;
|
|
4995
|
-
matcher: "exact" | "
|
|
4995
|
+
matcher: "exact" | "regex" | "prefix";
|
|
4996
4996
|
constraints?: Record<string, any> | undefined;
|
|
4997
4997
|
}>, "many">;
|
|
4998
4998
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5036,11 +5036,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5036
5036
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5037
5037
|
}, "strip", z.ZodTypeAny, {
|
|
5038
5038
|
resource: string;
|
|
5039
|
-
matcher: "exact" | "
|
|
5039
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5040
5040
|
constraints?: Record<string, any> | undefined;
|
|
5041
5041
|
}, {
|
|
5042
5042
|
resource: string;
|
|
5043
|
-
matcher: "exact" | "
|
|
5043
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5044
5044
|
constraints?: Record<string, any> | undefined;
|
|
5045
5045
|
}>, "many">;
|
|
5046
5046
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5078,11 +5078,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5078
5078
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5079
5079
|
}, "strip", z.ZodTypeAny, {
|
|
5080
5080
|
resource: string;
|
|
5081
|
-
matcher: "exact" | "
|
|
5081
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5082
5082
|
constraints?: Record<string, any> | undefined;
|
|
5083
5083
|
}, {
|
|
5084
5084
|
resource: string;
|
|
5085
|
-
matcher: "exact" | "
|
|
5085
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5086
5086
|
constraints?: Record<string, any> | undefined;
|
|
5087
5087
|
}>, "many">;
|
|
5088
5088
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5120,11 +5120,11 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5120
5120
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5121
5121
|
}, "strip", z.ZodTypeAny, {
|
|
5122
5122
|
resource: string;
|
|
5123
|
-
matcher: "exact" | "
|
|
5123
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5124
5124
|
constraints?: Record<string, any> | undefined;
|
|
5125
5125
|
}, {
|
|
5126
5126
|
resource: string;
|
|
5127
|
-
matcher: "exact" | "
|
|
5127
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5128
5128
|
constraints?: Record<string, any> | undefined;
|
|
5129
5129
|
}>, "many">;
|
|
5130
5130
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5136,13 +5136,12 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5136
5136
|
/** Optional metadata */
|
|
5137
5137
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5138
5138
|
}, "strip", z.ZodTypeAny, {
|
|
5139
|
-
status: "
|
|
5139
|
+
status: "active" | "revoked" | "expired";
|
|
5140
5140
|
id: string;
|
|
5141
|
+
issuerDid: string;
|
|
5141
5142
|
constraints: {
|
|
5142
5143
|
scopes?: string[] | undefined;
|
|
5143
5144
|
audience?: string | string[] | undefined;
|
|
5144
|
-
notBefore?: number | undefined;
|
|
5145
|
-
notAfter?: number | undefined;
|
|
5146
5145
|
crisp?: z.objectOutputType<{
|
|
5147
5146
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5148
5147
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5178,34 +5177,34 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5178
5177
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5179
5178
|
}, "strip", z.ZodTypeAny, {
|
|
5180
5179
|
resource: string;
|
|
5181
|
-
matcher: "exact" | "
|
|
5180
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5182
5181
|
constraints?: Record<string, any> | undefined;
|
|
5183
5182
|
}, {
|
|
5184
5183
|
resource: string;
|
|
5185
|
-
matcher: "exact" | "
|
|
5184
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5186
5185
|
constraints?: Record<string, any> | undefined;
|
|
5187
5186
|
}>, "many">;
|
|
5188
5187
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5188
|
+
notBefore?: number | undefined;
|
|
5189
|
+
notAfter?: number | undefined;
|
|
5189
5190
|
} & {
|
|
5190
5191
|
[k: string]: unknown;
|
|
5191
5192
|
};
|
|
5192
|
-
issuerDid: string;
|
|
5193
5193
|
subjectDid: string;
|
|
5194
|
-
|
|
5194
|
+
controller?: string | undefined;
|
|
5195
5195
|
metadata?: Record<string, any> | undefined;
|
|
5196
|
+
scopes?: string[] | undefined;
|
|
5196
5197
|
createdAt?: number | undefined;
|
|
5197
5198
|
sessionId?: string | undefined;
|
|
5199
|
+
userIdentifier?: string | undefined;
|
|
5198
5200
|
userDid?: string | undefined;
|
|
5199
|
-
controller?: string | undefined;
|
|
5200
5201
|
parentId?: string | undefined;
|
|
5201
|
-
userIdentifier?: string | undefined;
|
|
5202
5202
|
}, {
|
|
5203
5203
|
id: string;
|
|
5204
|
+
issuerDid: string;
|
|
5204
5205
|
constraints: {
|
|
5205
5206
|
scopes?: string[] | undefined;
|
|
5206
5207
|
audience?: string | string[] | undefined;
|
|
5207
|
-
notBefore?: number | undefined;
|
|
5208
|
-
notAfter?: number | undefined;
|
|
5209
5208
|
crisp?: z.objectInputType<{
|
|
5210
5209
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5211
5210
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5241,39 +5240,39 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5241
5240
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5242
5241
|
}, "strip", z.ZodTypeAny, {
|
|
5243
5242
|
resource: string;
|
|
5244
|
-
matcher: "exact" | "
|
|
5243
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5245
5244
|
constraints?: Record<string, any> | undefined;
|
|
5246
5245
|
}, {
|
|
5247
5246
|
resource: string;
|
|
5248
|
-
matcher: "exact" | "
|
|
5247
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5249
5248
|
constraints?: Record<string, any> | undefined;
|
|
5250
5249
|
}>, "many">;
|
|
5251
5250
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5251
|
+
notBefore?: number | undefined;
|
|
5252
|
+
notAfter?: number | undefined;
|
|
5252
5253
|
} & {
|
|
5253
5254
|
[k: string]: unknown;
|
|
5254
5255
|
};
|
|
5255
|
-
issuerDid: string;
|
|
5256
5256
|
subjectDid: string;
|
|
5257
|
-
status?: "
|
|
5258
|
-
|
|
5257
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
5258
|
+
controller?: string | undefined;
|
|
5259
5259
|
metadata?: Record<string, any> | undefined;
|
|
5260
|
+
scopes?: string[] | undefined;
|
|
5260
5261
|
createdAt?: number | undefined;
|
|
5261
5262
|
sessionId?: string | undefined;
|
|
5263
|
+
userIdentifier?: string | undefined;
|
|
5262
5264
|
userDid?: string | undefined;
|
|
5263
|
-
controller?: string | undefined;
|
|
5264
5265
|
parentId?: string | undefined;
|
|
5265
|
-
userIdentifier?: string | undefined;
|
|
5266
5266
|
}>;
|
|
5267
5267
|
}, "strip", z.ZodTypeAny, {
|
|
5268
5268
|
id: string;
|
|
5269
5269
|
delegation: {
|
|
5270
|
-
status: "
|
|
5270
|
+
status: "active" | "revoked" | "expired";
|
|
5271
5271
|
id: string;
|
|
5272
|
+
issuerDid: string;
|
|
5272
5273
|
constraints: {
|
|
5273
5274
|
scopes?: string[] | undefined;
|
|
5274
5275
|
audience?: string | string[] | undefined;
|
|
5275
|
-
notBefore?: number | undefined;
|
|
5276
|
-
notAfter?: number | undefined;
|
|
5277
5276
|
crisp?: z.objectOutputType<{
|
|
5278
5277
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5279
5278
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5309,37 +5308,37 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5309
5308
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5310
5309
|
}, "strip", z.ZodTypeAny, {
|
|
5311
5310
|
resource: string;
|
|
5312
|
-
matcher: "exact" | "
|
|
5311
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5313
5312
|
constraints?: Record<string, any> | undefined;
|
|
5314
5313
|
}, {
|
|
5315
5314
|
resource: string;
|
|
5316
|
-
matcher: "exact" | "
|
|
5315
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5317
5316
|
constraints?: Record<string, any> | undefined;
|
|
5318
5317
|
}>, "many">;
|
|
5319
5318
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5319
|
+
notBefore?: number | undefined;
|
|
5320
|
+
notAfter?: number | undefined;
|
|
5320
5321
|
} & {
|
|
5321
5322
|
[k: string]: unknown;
|
|
5322
5323
|
};
|
|
5323
|
-
issuerDid: string;
|
|
5324
5324
|
subjectDid: string;
|
|
5325
|
-
|
|
5325
|
+
controller?: string | undefined;
|
|
5326
5326
|
metadata?: Record<string, any> | undefined;
|
|
5327
|
+
scopes?: string[] | undefined;
|
|
5327
5328
|
createdAt?: number | undefined;
|
|
5328
5329
|
sessionId?: string | undefined;
|
|
5330
|
+
userIdentifier?: string | undefined;
|
|
5329
5331
|
userDid?: string | undefined;
|
|
5330
|
-
controller?: string | undefined;
|
|
5331
5332
|
parentId?: string | undefined;
|
|
5332
|
-
userIdentifier?: string | undefined;
|
|
5333
5333
|
};
|
|
5334
5334
|
}, {
|
|
5335
5335
|
id: string;
|
|
5336
5336
|
delegation: {
|
|
5337
5337
|
id: string;
|
|
5338
|
+
issuerDid: string;
|
|
5338
5339
|
constraints: {
|
|
5339
5340
|
scopes?: string[] | undefined;
|
|
5340
5341
|
audience?: string | string[] | undefined;
|
|
5341
|
-
notBefore?: number | undefined;
|
|
5342
|
-
notAfter?: number | undefined;
|
|
5343
5342
|
crisp?: z.objectInputType<{
|
|
5344
5343
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5345
5344
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5375,28 +5374,29 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5375
5374
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5376
5375
|
}, "strip", z.ZodTypeAny, {
|
|
5377
5376
|
resource: string;
|
|
5378
|
-
matcher: "exact" | "
|
|
5377
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5379
5378
|
constraints?: Record<string, any> | undefined;
|
|
5380
5379
|
}, {
|
|
5381
5380
|
resource: string;
|
|
5382
|
-
matcher: "exact" | "
|
|
5381
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5383
5382
|
constraints?: Record<string, any> | undefined;
|
|
5384
5383
|
}>, "many">;
|
|
5385
5384
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5385
|
+
notBefore?: number | undefined;
|
|
5386
|
+
notAfter?: number | undefined;
|
|
5386
5387
|
} & {
|
|
5387
5388
|
[k: string]: unknown;
|
|
5388
5389
|
};
|
|
5389
|
-
issuerDid: string;
|
|
5390
5390
|
subjectDid: string;
|
|
5391
|
-
status?: "
|
|
5392
|
-
|
|
5391
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
5392
|
+
controller?: string | undefined;
|
|
5393
5393
|
metadata?: Record<string, any> | undefined;
|
|
5394
|
+
scopes?: string[] | undefined;
|
|
5394
5395
|
createdAt?: number | undefined;
|
|
5395
5396
|
sessionId?: string | undefined;
|
|
5397
|
+
userIdentifier?: string | undefined;
|
|
5396
5398
|
userDid?: string | undefined;
|
|
5397
|
-
controller?: string | undefined;
|
|
5398
5399
|
parentId?: string | undefined;
|
|
5399
|
-
userIdentifier?: string | undefined;
|
|
5400
5400
|
};
|
|
5401
5401
|
}>;
|
|
5402
5402
|
export type DelegationCredentialSubject = z.infer<typeof DelegationCredentialSubjectSchema>;
|
|
@@ -5525,11 +5525,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5525
5525
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5526
5526
|
}, "strip", z.ZodTypeAny, {
|
|
5527
5527
|
resource: string;
|
|
5528
|
-
matcher: "exact" | "
|
|
5528
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5529
5529
|
constraints?: Record<string, any> | undefined;
|
|
5530
5530
|
}, {
|
|
5531
5531
|
resource: string;
|
|
5532
|
-
matcher: "exact" | "
|
|
5532
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5533
5533
|
constraints?: Record<string, any> | undefined;
|
|
5534
5534
|
}>, "many">;
|
|
5535
5535
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5567,11 +5567,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5567
5567
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5568
5568
|
}, "strip", z.ZodTypeAny, {
|
|
5569
5569
|
resource: string;
|
|
5570
|
-
matcher: "exact" | "
|
|
5570
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5571
5571
|
constraints?: Record<string, any> | undefined;
|
|
5572
5572
|
}, {
|
|
5573
5573
|
resource: string;
|
|
5574
|
-
matcher: "exact" | "
|
|
5574
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5575
5575
|
constraints?: Record<string, any> | undefined;
|
|
5576
5576
|
}>, "many">;
|
|
5577
5577
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5609,11 +5609,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5609
5609
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5610
5610
|
}, "strip", z.ZodTypeAny, {
|
|
5611
5611
|
resource: string;
|
|
5612
|
-
matcher: "exact" | "
|
|
5612
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5613
5613
|
constraints?: Record<string, any> | undefined;
|
|
5614
5614
|
}, {
|
|
5615
5615
|
resource: string;
|
|
5616
|
-
matcher: "exact" | "
|
|
5616
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5617
5617
|
constraints?: Record<string, any> | undefined;
|
|
5618
5618
|
}>, "many">;
|
|
5619
5619
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5657,11 +5657,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5657
5657
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5658
5658
|
}, "strip", z.ZodTypeAny, {
|
|
5659
5659
|
resource: string;
|
|
5660
|
-
matcher: "exact" | "
|
|
5660
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5661
5661
|
constraints?: Record<string, any> | undefined;
|
|
5662
5662
|
}, {
|
|
5663
5663
|
resource: string;
|
|
5664
|
-
matcher: "exact" | "
|
|
5664
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5665
5665
|
constraints?: Record<string, any> | undefined;
|
|
5666
5666
|
}>, "many">;
|
|
5667
5667
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5699,11 +5699,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5699
5699
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5700
5700
|
}, "strip", z.ZodTypeAny, {
|
|
5701
5701
|
resource: string;
|
|
5702
|
-
matcher: "exact" | "
|
|
5702
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5703
5703
|
constraints?: Record<string, any> | undefined;
|
|
5704
5704
|
}, {
|
|
5705
5705
|
resource: string;
|
|
5706
|
-
matcher: "exact" | "
|
|
5706
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5707
5707
|
constraints?: Record<string, any> | undefined;
|
|
5708
5708
|
}>, "many">;
|
|
5709
5709
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5741,11 +5741,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5741
5741
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5742
5742
|
}, "strip", z.ZodTypeAny, {
|
|
5743
5743
|
resource: string;
|
|
5744
|
-
matcher: "exact" | "
|
|
5744
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5745
5745
|
constraints?: Record<string, any> | undefined;
|
|
5746
5746
|
}, {
|
|
5747
5747
|
resource: string;
|
|
5748
|
-
matcher: "exact" | "
|
|
5748
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5749
5749
|
constraints?: Record<string, any> | undefined;
|
|
5750
5750
|
}>, "many">;
|
|
5751
5751
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5789,11 +5789,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5789
5789
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5790
5790
|
}, "strip", z.ZodTypeAny, {
|
|
5791
5791
|
resource: string;
|
|
5792
|
-
matcher: "exact" | "
|
|
5792
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5793
5793
|
constraints?: Record<string, any> | undefined;
|
|
5794
5794
|
}, {
|
|
5795
5795
|
resource: string;
|
|
5796
|
-
matcher: "exact" | "
|
|
5796
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5797
5797
|
constraints?: Record<string, any> | undefined;
|
|
5798
5798
|
}>, "many">;
|
|
5799
5799
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -5831,11 +5831,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5831
5831
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5832
5832
|
}, "strip", z.ZodTypeAny, {
|
|
5833
5833
|
resource: string;
|
|
5834
|
-
matcher: "exact" | "
|
|
5834
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5835
5835
|
constraints?: Record<string, any> | undefined;
|
|
5836
5836
|
}, {
|
|
5837
5837
|
resource: string;
|
|
5838
|
-
matcher: "exact" | "
|
|
5838
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5839
5839
|
constraints?: Record<string, any> | undefined;
|
|
5840
5840
|
}>, "many">;
|
|
5841
5841
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -5873,11 +5873,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5873
5873
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5874
5874
|
}, "strip", z.ZodTypeAny, {
|
|
5875
5875
|
resource: string;
|
|
5876
|
-
matcher: "exact" | "
|
|
5876
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5877
5877
|
constraints?: Record<string, any> | undefined;
|
|
5878
5878
|
}, {
|
|
5879
5879
|
resource: string;
|
|
5880
|
-
matcher: "exact" | "
|
|
5880
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5881
5881
|
constraints?: Record<string, any> | undefined;
|
|
5882
5882
|
}>, "many">;
|
|
5883
5883
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5889,13 +5889,12 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5889
5889
|
/** Optional metadata */
|
|
5890
5890
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5891
5891
|
}, "strip", z.ZodTypeAny, {
|
|
5892
|
-
status: "
|
|
5892
|
+
status: "active" | "revoked" | "expired";
|
|
5893
5893
|
id: string;
|
|
5894
|
+
issuerDid: string;
|
|
5894
5895
|
constraints: {
|
|
5895
5896
|
scopes?: string[] | undefined;
|
|
5896
5897
|
audience?: string | string[] | undefined;
|
|
5897
|
-
notBefore?: number | undefined;
|
|
5898
|
-
notAfter?: number | undefined;
|
|
5899
5898
|
crisp?: z.objectOutputType<{
|
|
5900
5899
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5901
5900
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5931,34 +5930,34 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5931
5930
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5932
5931
|
}, "strip", z.ZodTypeAny, {
|
|
5933
5932
|
resource: string;
|
|
5934
|
-
matcher: "exact" | "
|
|
5933
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5935
5934
|
constraints?: Record<string, any> | undefined;
|
|
5936
5935
|
}, {
|
|
5937
5936
|
resource: string;
|
|
5938
|
-
matcher: "exact" | "
|
|
5937
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5939
5938
|
constraints?: Record<string, any> | undefined;
|
|
5940
5939
|
}>, "many">;
|
|
5941
5940
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5941
|
+
notBefore?: number | undefined;
|
|
5942
|
+
notAfter?: number | undefined;
|
|
5942
5943
|
} & {
|
|
5943
5944
|
[k: string]: unknown;
|
|
5944
5945
|
};
|
|
5945
|
-
issuerDid: string;
|
|
5946
5946
|
subjectDid: string;
|
|
5947
|
-
|
|
5947
|
+
controller?: string | undefined;
|
|
5948
5948
|
metadata?: Record<string, any> | undefined;
|
|
5949
|
+
scopes?: string[] | undefined;
|
|
5949
5950
|
createdAt?: number | undefined;
|
|
5950
5951
|
sessionId?: string | undefined;
|
|
5952
|
+
userIdentifier?: string | undefined;
|
|
5951
5953
|
userDid?: string | undefined;
|
|
5952
|
-
controller?: string | undefined;
|
|
5953
5954
|
parentId?: string | undefined;
|
|
5954
|
-
userIdentifier?: string | undefined;
|
|
5955
5955
|
}, {
|
|
5956
5956
|
id: string;
|
|
5957
|
+
issuerDid: string;
|
|
5957
5958
|
constraints: {
|
|
5958
5959
|
scopes?: string[] | undefined;
|
|
5959
5960
|
audience?: string | string[] | undefined;
|
|
5960
|
-
notBefore?: number | undefined;
|
|
5961
|
-
notAfter?: number | undefined;
|
|
5962
5961
|
crisp?: z.objectInputType<{
|
|
5963
5962
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5964
5963
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5994,39 +5993,39 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5994
5993
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5995
5994
|
}, "strip", z.ZodTypeAny, {
|
|
5996
5995
|
resource: string;
|
|
5997
|
-
matcher: "exact" | "
|
|
5996
|
+
matcher: "exact" | "regex" | "prefix";
|
|
5998
5997
|
constraints?: Record<string, any> | undefined;
|
|
5999
5998
|
}, {
|
|
6000
5999
|
resource: string;
|
|
6001
|
-
matcher: "exact" | "
|
|
6000
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6002
6001
|
constraints?: Record<string, any> | undefined;
|
|
6003
6002
|
}>, "many">;
|
|
6004
6003
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6004
|
+
notBefore?: number | undefined;
|
|
6005
|
+
notAfter?: number | undefined;
|
|
6005
6006
|
} & {
|
|
6006
6007
|
[k: string]: unknown;
|
|
6007
6008
|
};
|
|
6008
|
-
issuerDid: string;
|
|
6009
6009
|
subjectDid: string;
|
|
6010
|
-
status?: "
|
|
6011
|
-
|
|
6010
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
6011
|
+
controller?: string | undefined;
|
|
6012
6012
|
metadata?: Record<string, any> | undefined;
|
|
6013
|
+
scopes?: string[] | undefined;
|
|
6013
6014
|
createdAt?: number | undefined;
|
|
6014
6015
|
sessionId?: string | undefined;
|
|
6016
|
+
userIdentifier?: string | undefined;
|
|
6015
6017
|
userDid?: string | undefined;
|
|
6016
|
-
controller?: string | undefined;
|
|
6017
6018
|
parentId?: string | undefined;
|
|
6018
|
-
userIdentifier?: string | undefined;
|
|
6019
6019
|
}>;
|
|
6020
6020
|
}, "strip", z.ZodTypeAny, {
|
|
6021
6021
|
id: string;
|
|
6022
6022
|
delegation: {
|
|
6023
|
-
status: "
|
|
6023
|
+
status: "active" | "revoked" | "expired";
|
|
6024
6024
|
id: string;
|
|
6025
|
+
issuerDid: string;
|
|
6025
6026
|
constraints: {
|
|
6026
6027
|
scopes?: string[] | undefined;
|
|
6027
6028
|
audience?: string | string[] | undefined;
|
|
6028
|
-
notBefore?: number | undefined;
|
|
6029
|
-
notAfter?: number | undefined;
|
|
6030
6029
|
crisp?: z.objectOutputType<{
|
|
6031
6030
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6032
6031
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6062,37 +6061,37 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6062
6061
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6063
6062
|
}, "strip", z.ZodTypeAny, {
|
|
6064
6063
|
resource: string;
|
|
6065
|
-
matcher: "exact" | "
|
|
6064
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6066
6065
|
constraints?: Record<string, any> | undefined;
|
|
6067
6066
|
}, {
|
|
6068
6067
|
resource: string;
|
|
6069
|
-
matcher: "exact" | "
|
|
6068
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6070
6069
|
constraints?: Record<string, any> | undefined;
|
|
6071
6070
|
}>, "many">;
|
|
6072
6071
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6072
|
+
notBefore?: number | undefined;
|
|
6073
|
+
notAfter?: number | undefined;
|
|
6073
6074
|
} & {
|
|
6074
6075
|
[k: string]: unknown;
|
|
6075
6076
|
};
|
|
6076
|
-
issuerDid: string;
|
|
6077
6077
|
subjectDid: string;
|
|
6078
|
-
|
|
6078
|
+
controller?: string | undefined;
|
|
6079
6079
|
metadata?: Record<string, any> | undefined;
|
|
6080
|
+
scopes?: string[] | undefined;
|
|
6080
6081
|
createdAt?: number | undefined;
|
|
6081
6082
|
sessionId?: string | undefined;
|
|
6083
|
+
userIdentifier?: string | undefined;
|
|
6082
6084
|
userDid?: string | undefined;
|
|
6083
|
-
controller?: string | undefined;
|
|
6084
6085
|
parentId?: string | undefined;
|
|
6085
|
-
userIdentifier?: string | undefined;
|
|
6086
6086
|
};
|
|
6087
6087
|
}, {
|
|
6088
6088
|
id: string;
|
|
6089
6089
|
delegation: {
|
|
6090
6090
|
id: string;
|
|
6091
|
+
issuerDid: string;
|
|
6091
6092
|
constraints: {
|
|
6092
6093
|
scopes?: string[] | undefined;
|
|
6093
6094
|
audience?: string | string[] | undefined;
|
|
6094
|
-
notBefore?: number | undefined;
|
|
6095
|
-
notAfter?: number | undefined;
|
|
6096
6095
|
crisp?: z.objectInputType<{
|
|
6097
6096
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6098
6097
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6128,28 +6127,29 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6128
6127
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6129
6128
|
}, "strip", z.ZodTypeAny, {
|
|
6130
6129
|
resource: string;
|
|
6131
|
-
matcher: "exact" | "
|
|
6130
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6132
6131
|
constraints?: Record<string, any> | undefined;
|
|
6133
6132
|
}, {
|
|
6134
6133
|
resource: string;
|
|
6135
|
-
matcher: "exact" | "
|
|
6134
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6136
6135
|
constraints?: Record<string, any> | undefined;
|
|
6137
6136
|
}>, "many">;
|
|
6138
6137
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6138
|
+
notBefore?: number | undefined;
|
|
6139
|
+
notAfter?: number | undefined;
|
|
6139
6140
|
} & {
|
|
6140
6141
|
[k: string]: unknown;
|
|
6141
6142
|
};
|
|
6142
|
-
issuerDid: string;
|
|
6143
6143
|
subjectDid: string;
|
|
6144
|
-
status?: "
|
|
6145
|
-
|
|
6144
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
6145
|
+
controller?: string | undefined;
|
|
6146
6146
|
metadata?: Record<string, any> | undefined;
|
|
6147
|
+
scopes?: string[] | undefined;
|
|
6147
6148
|
createdAt?: number | undefined;
|
|
6148
6149
|
sessionId?: string | undefined;
|
|
6150
|
+
userIdentifier?: string | undefined;
|
|
6149
6151
|
userDid?: string | undefined;
|
|
6150
|
-
controller?: string | undefined;
|
|
6151
6152
|
parentId?: string | undefined;
|
|
6152
|
-
userIdentifier?: string | undefined;
|
|
6153
6153
|
};
|
|
6154
6154
|
}>;
|
|
6155
6155
|
credentialStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -6289,11 +6289,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6289
6289
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6290
6290
|
}, "strip", z.ZodTypeAny, {
|
|
6291
6291
|
resource: string;
|
|
6292
|
-
matcher: "exact" | "
|
|
6292
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6293
6293
|
constraints?: Record<string, any> | undefined;
|
|
6294
6294
|
}, {
|
|
6295
6295
|
resource: string;
|
|
6296
|
-
matcher: "exact" | "
|
|
6296
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6297
6297
|
constraints?: Record<string, any> | undefined;
|
|
6298
6298
|
}>, "many">;
|
|
6299
6299
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -6331,11 +6331,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6331
6331
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6332
6332
|
}, "strip", z.ZodTypeAny, {
|
|
6333
6333
|
resource: string;
|
|
6334
|
-
matcher: "exact" | "
|
|
6334
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6335
6335
|
constraints?: Record<string, any> | undefined;
|
|
6336
6336
|
}, {
|
|
6337
6337
|
resource: string;
|
|
6338
|
-
matcher: "exact" | "
|
|
6338
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6339
6339
|
constraints?: Record<string, any> | undefined;
|
|
6340
6340
|
}>, "many">;
|
|
6341
6341
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -6373,11 +6373,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6373
6373
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6374
6374
|
}, "strip", z.ZodTypeAny, {
|
|
6375
6375
|
resource: string;
|
|
6376
|
-
matcher: "exact" | "
|
|
6376
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6377
6377
|
constraints?: Record<string, any> | undefined;
|
|
6378
6378
|
}, {
|
|
6379
6379
|
resource: string;
|
|
6380
|
-
matcher: "exact" | "
|
|
6380
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6381
6381
|
constraints?: Record<string, any> | undefined;
|
|
6382
6382
|
}>, "many">;
|
|
6383
6383
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -6421,11 +6421,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6421
6421
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6422
6422
|
}, "strip", z.ZodTypeAny, {
|
|
6423
6423
|
resource: string;
|
|
6424
|
-
matcher: "exact" | "
|
|
6424
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6425
6425
|
constraints?: Record<string, any> | undefined;
|
|
6426
6426
|
}, {
|
|
6427
6427
|
resource: string;
|
|
6428
|
-
matcher: "exact" | "
|
|
6428
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6429
6429
|
constraints?: Record<string, any> | undefined;
|
|
6430
6430
|
}>, "many">;
|
|
6431
6431
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -6463,11 +6463,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6463
6463
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6464
6464
|
}, "strip", z.ZodTypeAny, {
|
|
6465
6465
|
resource: string;
|
|
6466
|
-
matcher: "exact" | "
|
|
6466
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6467
6467
|
constraints?: Record<string, any> | undefined;
|
|
6468
6468
|
}, {
|
|
6469
6469
|
resource: string;
|
|
6470
|
-
matcher: "exact" | "
|
|
6470
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6471
6471
|
constraints?: Record<string, any> | undefined;
|
|
6472
6472
|
}>, "many">;
|
|
6473
6473
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -6505,11 +6505,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6505
6505
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6506
6506
|
}, "strip", z.ZodTypeAny, {
|
|
6507
6507
|
resource: string;
|
|
6508
|
-
matcher: "exact" | "
|
|
6508
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6509
6509
|
constraints?: Record<string, any> | undefined;
|
|
6510
6510
|
}, {
|
|
6511
6511
|
resource: string;
|
|
6512
|
-
matcher: "exact" | "
|
|
6512
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6513
6513
|
constraints?: Record<string, any> | undefined;
|
|
6514
6514
|
}>, "many">;
|
|
6515
6515
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -6553,11 +6553,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6553
6553
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6554
6554
|
}, "strip", z.ZodTypeAny, {
|
|
6555
6555
|
resource: string;
|
|
6556
|
-
matcher: "exact" | "
|
|
6556
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6557
6557
|
constraints?: Record<string, any> | undefined;
|
|
6558
6558
|
}, {
|
|
6559
6559
|
resource: string;
|
|
6560
|
-
matcher: "exact" | "
|
|
6560
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6561
6561
|
constraints?: Record<string, any> | undefined;
|
|
6562
6562
|
}>, "many">;
|
|
6563
6563
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -6595,11 +6595,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6595
6595
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6596
6596
|
}, "strip", z.ZodTypeAny, {
|
|
6597
6597
|
resource: string;
|
|
6598
|
-
matcher: "exact" | "
|
|
6598
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6599
6599
|
constraints?: Record<string, any> | undefined;
|
|
6600
6600
|
}, {
|
|
6601
6601
|
resource: string;
|
|
6602
|
-
matcher: "exact" | "
|
|
6602
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6603
6603
|
constraints?: Record<string, any> | undefined;
|
|
6604
6604
|
}>, "many">;
|
|
6605
6605
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -6637,11 +6637,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6637
6637
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6638
6638
|
}, "strip", z.ZodTypeAny, {
|
|
6639
6639
|
resource: string;
|
|
6640
|
-
matcher: "exact" | "
|
|
6640
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6641
6641
|
constraints?: Record<string, any> | undefined;
|
|
6642
6642
|
}, {
|
|
6643
6643
|
resource: string;
|
|
6644
|
-
matcher: "exact" | "
|
|
6644
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6645
6645
|
constraints?: Record<string, any> | undefined;
|
|
6646
6646
|
}>, "many">;
|
|
6647
6647
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -6653,13 +6653,12 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6653
6653
|
/** Optional metadata */
|
|
6654
6654
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6655
6655
|
}, "strip", z.ZodTypeAny, {
|
|
6656
|
-
status: "
|
|
6656
|
+
status: "active" | "revoked" | "expired";
|
|
6657
6657
|
id: string;
|
|
6658
|
+
issuerDid: string;
|
|
6658
6659
|
constraints: {
|
|
6659
6660
|
scopes?: string[] | undefined;
|
|
6660
6661
|
audience?: string | string[] | undefined;
|
|
6661
|
-
notBefore?: number | undefined;
|
|
6662
|
-
notAfter?: number | undefined;
|
|
6663
6662
|
crisp?: z.objectOutputType<{
|
|
6664
6663
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6665
6664
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6695,34 +6694,34 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6695
6694
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6696
6695
|
}, "strip", z.ZodTypeAny, {
|
|
6697
6696
|
resource: string;
|
|
6698
|
-
matcher: "exact" | "
|
|
6697
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6699
6698
|
constraints?: Record<string, any> | undefined;
|
|
6700
6699
|
}, {
|
|
6701
6700
|
resource: string;
|
|
6702
|
-
matcher: "exact" | "
|
|
6701
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6703
6702
|
constraints?: Record<string, any> | undefined;
|
|
6704
6703
|
}>, "many">;
|
|
6705
6704
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6705
|
+
notBefore?: number | undefined;
|
|
6706
|
+
notAfter?: number | undefined;
|
|
6706
6707
|
} & {
|
|
6707
6708
|
[k: string]: unknown;
|
|
6708
6709
|
};
|
|
6709
|
-
issuerDid: string;
|
|
6710
6710
|
subjectDid: string;
|
|
6711
|
-
|
|
6711
|
+
controller?: string | undefined;
|
|
6712
6712
|
metadata?: Record<string, any> | undefined;
|
|
6713
|
+
scopes?: string[] | undefined;
|
|
6713
6714
|
createdAt?: number | undefined;
|
|
6714
6715
|
sessionId?: string | undefined;
|
|
6716
|
+
userIdentifier?: string | undefined;
|
|
6715
6717
|
userDid?: string | undefined;
|
|
6716
|
-
controller?: string | undefined;
|
|
6717
6718
|
parentId?: string | undefined;
|
|
6718
|
-
userIdentifier?: string | undefined;
|
|
6719
6719
|
}, {
|
|
6720
6720
|
id: string;
|
|
6721
|
+
issuerDid: string;
|
|
6721
6722
|
constraints: {
|
|
6722
6723
|
scopes?: string[] | undefined;
|
|
6723
6724
|
audience?: string | string[] | undefined;
|
|
6724
|
-
notBefore?: number | undefined;
|
|
6725
|
-
notAfter?: number | undefined;
|
|
6726
6725
|
crisp?: z.objectInputType<{
|
|
6727
6726
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6728
6727
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6758,39 +6757,39 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6758
6757
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6759
6758
|
}, "strip", z.ZodTypeAny, {
|
|
6760
6759
|
resource: string;
|
|
6761
|
-
matcher: "exact" | "
|
|
6760
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6762
6761
|
constraints?: Record<string, any> | undefined;
|
|
6763
6762
|
}, {
|
|
6764
6763
|
resource: string;
|
|
6765
|
-
matcher: "exact" | "
|
|
6764
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6766
6765
|
constraints?: Record<string, any> | undefined;
|
|
6767
6766
|
}>, "many">;
|
|
6768
6767
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6768
|
+
notBefore?: number | undefined;
|
|
6769
|
+
notAfter?: number | undefined;
|
|
6769
6770
|
} & {
|
|
6770
6771
|
[k: string]: unknown;
|
|
6771
6772
|
};
|
|
6772
|
-
issuerDid: string;
|
|
6773
6773
|
subjectDid: string;
|
|
6774
|
-
status?: "
|
|
6775
|
-
|
|
6774
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
6775
|
+
controller?: string | undefined;
|
|
6776
6776
|
metadata?: Record<string, any> | undefined;
|
|
6777
|
+
scopes?: string[] | undefined;
|
|
6777
6778
|
createdAt?: number | undefined;
|
|
6778
6779
|
sessionId?: string | undefined;
|
|
6780
|
+
userIdentifier?: string | undefined;
|
|
6779
6781
|
userDid?: string | undefined;
|
|
6780
|
-
controller?: string | undefined;
|
|
6781
6782
|
parentId?: string | undefined;
|
|
6782
|
-
userIdentifier?: string | undefined;
|
|
6783
6783
|
}>;
|
|
6784
6784
|
}, "strip", z.ZodTypeAny, {
|
|
6785
6785
|
id: string;
|
|
6786
6786
|
delegation: {
|
|
6787
|
-
status: "
|
|
6787
|
+
status: "active" | "revoked" | "expired";
|
|
6788
6788
|
id: string;
|
|
6789
|
+
issuerDid: string;
|
|
6789
6790
|
constraints: {
|
|
6790
6791
|
scopes?: string[] | undefined;
|
|
6791
6792
|
audience?: string | string[] | undefined;
|
|
6792
|
-
notBefore?: number | undefined;
|
|
6793
|
-
notAfter?: number | undefined;
|
|
6794
6793
|
crisp?: z.objectOutputType<{
|
|
6795
6794
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6796
6795
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6826,37 +6825,37 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6826
6825
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6827
6826
|
}, "strip", z.ZodTypeAny, {
|
|
6828
6827
|
resource: string;
|
|
6829
|
-
matcher: "exact" | "
|
|
6828
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6830
6829
|
constraints?: Record<string, any> | undefined;
|
|
6831
6830
|
}, {
|
|
6832
6831
|
resource: string;
|
|
6833
|
-
matcher: "exact" | "
|
|
6832
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6834
6833
|
constraints?: Record<string, any> | undefined;
|
|
6835
6834
|
}>, "many">;
|
|
6836
6835
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6836
|
+
notBefore?: number | undefined;
|
|
6837
|
+
notAfter?: number | undefined;
|
|
6837
6838
|
} & {
|
|
6838
6839
|
[k: string]: unknown;
|
|
6839
6840
|
};
|
|
6840
|
-
issuerDid: string;
|
|
6841
6841
|
subjectDid: string;
|
|
6842
|
-
|
|
6842
|
+
controller?: string | undefined;
|
|
6843
6843
|
metadata?: Record<string, any> | undefined;
|
|
6844
|
+
scopes?: string[] | undefined;
|
|
6844
6845
|
createdAt?: number | undefined;
|
|
6845
6846
|
sessionId?: string | undefined;
|
|
6847
|
+
userIdentifier?: string | undefined;
|
|
6846
6848
|
userDid?: string | undefined;
|
|
6847
|
-
controller?: string | undefined;
|
|
6848
6849
|
parentId?: string | undefined;
|
|
6849
|
-
userIdentifier?: string | undefined;
|
|
6850
6850
|
};
|
|
6851
6851
|
}, {
|
|
6852
6852
|
id: string;
|
|
6853
6853
|
delegation: {
|
|
6854
6854
|
id: string;
|
|
6855
|
+
issuerDid: string;
|
|
6855
6856
|
constraints: {
|
|
6856
6857
|
scopes?: string[] | undefined;
|
|
6857
6858
|
audience?: string | string[] | undefined;
|
|
6858
|
-
notBefore?: number | undefined;
|
|
6859
|
-
notAfter?: number | undefined;
|
|
6860
6859
|
crisp?: z.objectInputType<{
|
|
6861
6860
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6862
6861
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6892,28 +6891,29 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6892
6891
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6893
6892
|
}, "strip", z.ZodTypeAny, {
|
|
6894
6893
|
resource: string;
|
|
6895
|
-
matcher: "exact" | "
|
|
6894
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6896
6895
|
constraints?: Record<string, any> | undefined;
|
|
6897
6896
|
}, {
|
|
6898
6897
|
resource: string;
|
|
6899
|
-
matcher: "exact" | "
|
|
6898
|
+
matcher: "exact" | "regex" | "prefix";
|
|
6900
6899
|
constraints?: Record<string, any> | undefined;
|
|
6901
6900
|
}>, "many">;
|
|
6902
6901
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6902
|
+
notBefore?: number | undefined;
|
|
6903
|
+
notAfter?: number | undefined;
|
|
6903
6904
|
} & {
|
|
6904
6905
|
[k: string]: unknown;
|
|
6905
6906
|
};
|
|
6906
|
-
issuerDid: string;
|
|
6907
6907
|
subjectDid: string;
|
|
6908
|
-
status?: "
|
|
6909
|
-
|
|
6908
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
6909
|
+
controller?: string | undefined;
|
|
6910
6910
|
metadata?: Record<string, any> | undefined;
|
|
6911
|
+
scopes?: string[] | undefined;
|
|
6911
6912
|
createdAt?: number | undefined;
|
|
6912
6913
|
sessionId?: string | undefined;
|
|
6914
|
+
userIdentifier?: string | undefined;
|
|
6913
6915
|
userDid?: string | undefined;
|
|
6914
|
-
controller?: string | undefined;
|
|
6915
6916
|
parentId?: string | undefined;
|
|
6916
|
-
userIdentifier?: string | undefined;
|
|
6917
6917
|
};
|
|
6918
6918
|
}>;
|
|
6919
6919
|
credentialStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -7053,11 +7053,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7053
7053
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7054
7054
|
}, "strip", z.ZodTypeAny, {
|
|
7055
7055
|
resource: string;
|
|
7056
|
-
matcher: "exact" | "
|
|
7056
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7057
7057
|
constraints?: Record<string, any> | undefined;
|
|
7058
7058
|
}, {
|
|
7059
7059
|
resource: string;
|
|
7060
|
-
matcher: "exact" | "
|
|
7060
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7061
7061
|
constraints?: Record<string, any> | undefined;
|
|
7062
7062
|
}>, "many">;
|
|
7063
7063
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -7095,11 +7095,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7095
7095
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7096
7096
|
}, "strip", z.ZodTypeAny, {
|
|
7097
7097
|
resource: string;
|
|
7098
|
-
matcher: "exact" | "
|
|
7098
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7099
7099
|
constraints?: Record<string, any> | undefined;
|
|
7100
7100
|
}, {
|
|
7101
7101
|
resource: string;
|
|
7102
|
-
matcher: "exact" | "
|
|
7102
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7103
7103
|
constraints?: Record<string, any> | undefined;
|
|
7104
7104
|
}>, "many">;
|
|
7105
7105
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -7137,11 +7137,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7137
7137
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7138
7138
|
}, "strip", z.ZodTypeAny, {
|
|
7139
7139
|
resource: string;
|
|
7140
|
-
matcher: "exact" | "
|
|
7140
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7141
7141
|
constraints?: Record<string, any> | undefined;
|
|
7142
7142
|
}, {
|
|
7143
7143
|
resource: string;
|
|
7144
|
-
matcher: "exact" | "
|
|
7144
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7145
7145
|
constraints?: Record<string, any> | undefined;
|
|
7146
7146
|
}>, "many">;
|
|
7147
7147
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -7185,11 +7185,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7185
7185
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7186
7186
|
}, "strip", z.ZodTypeAny, {
|
|
7187
7187
|
resource: string;
|
|
7188
|
-
matcher: "exact" | "
|
|
7188
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7189
7189
|
constraints?: Record<string, any> | undefined;
|
|
7190
7190
|
}, {
|
|
7191
7191
|
resource: string;
|
|
7192
|
-
matcher: "exact" | "
|
|
7192
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7193
7193
|
constraints?: Record<string, any> | undefined;
|
|
7194
7194
|
}>, "many">;
|
|
7195
7195
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -7227,11 +7227,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7227
7227
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7228
7228
|
}, "strip", z.ZodTypeAny, {
|
|
7229
7229
|
resource: string;
|
|
7230
|
-
matcher: "exact" | "
|
|
7230
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7231
7231
|
constraints?: Record<string, any> | undefined;
|
|
7232
7232
|
}, {
|
|
7233
7233
|
resource: string;
|
|
7234
|
-
matcher: "exact" | "
|
|
7234
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7235
7235
|
constraints?: Record<string, any> | undefined;
|
|
7236
7236
|
}>, "many">;
|
|
7237
7237
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -7269,11 +7269,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7269
7269
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7270
7270
|
}, "strip", z.ZodTypeAny, {
|
|
7271
7271
|
resource: string;
|
|
7272
|
-
matcher: "exact" | "
|
|
7272
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7273
7273
|
constraints?: Record<string, any> | undefined;
|
|
7274
7274
|
}, {
|
|
7275
7275
|
resource: string;
|
|
7276
|
-
matcher: "exact" | "
|
|
7276
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7277
7277
|
constraints?: Record<string, any> | undefined;
|
|
7278
7278
|
}>, "many">;
|
|
7279
7279
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -7317,11 +7317,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7317
7317
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7318
7318
|
}, "strip", z.ZodTypeAny, {
|
|
7319
7319
|
resource: string;
|
|
7320
|
-
matcher: "exact" | "
|
|
7320
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7321
7321
|
constraints?: Record<string, any> | undefined;
|
|
7322
7322
|
}, {
|
|
7323
7323
|
resource: string;
|
|
7324
|
-
matcher: "exact" | "
|
|
7324
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7325
7325
|
constraints?: Record<string, any> | undefined;
|
|
7326
7326
|
}>, "many">;
|
|
7327
7327
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -7359,11 +7359,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7359
7359
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7360
7360
|
}, "strip", z.ZodTypeAny, {
|
|
7361
7361
|
resource: string;
|
|
7362
|
-
matcher: "exact" | "
|
|
7362
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7363
7363
|
constraints?: Record<string, any> | undefined;
|
|
7364
7364
|
}, {
|
|
7365
7365
|
resource: string;
|
|
7366
|
-
matcher: "exact" | "
|
|
7366
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7367
7367
|
constraints?: Record<string, any> | undefined;
|
|
7368
7368
|
}>, "many">;
|
|
7369
7369
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -7401,11 +7401,11 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7401
7401
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7402
7402
|
}, "strip", z.ZodTypeAny, {
|
|
7403
7403
|
resource: string;
|
|
7404
|
-
matcher: "exact" | "
|
|
7404
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7405
7405
|
constraints?: Record<string, any> | undefined;
|
|
7406
7406
|
}, {
|
|
7407
7407
|
resource: string;
|
|
7408
|
-
matcher: "exact" | "
|
|
7408
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7409
7409
|
constraints?: Record<string, any> | undefined;
|
|
7410
7410
|
}>, "many">;
|
|
7411
7411
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -7417,13 +7417,12 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7417
7417
|
/** Optional metadata */
|
|
7418
7418
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7419
7419
|
}, "strip", z.ZodTypeAny, {
|
|
7420
|
-
status: "
|
|
7420
|
+
status: "active" | "revoked" | "expired";
|
|
7421
7421
|
id: string;
|
|
7422
|
+
issuerDid: string;
|
|
7422
7423
|
constraints: {
|
|
7423
7424
|
scopes?: string[] | undefined;
|
|
7424
7425
|
audience?: string | string[] | undefined;
|
|
7425
|
-
notBefore?: number | undefined;
|
|
7426
|
-
notAfter?: number | undefined;
|
|
7427
7426
|
crisp?: z.objectOutputType<{
|
|
7428
7427
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7429
7428
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7459,34 +7458,34 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7459
7458
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7460
7459
|
}, "strip", z.ZodTypeAny, {
|
|
7461
7460
|
resource: string;
|
|
7462
|
-
matcher: "exact" | "
|
|
7461
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7463
7462
|
constraints?: Record<string, any> | undefined;
|
|
7464
7463
|
}, {
|
|
7465
7464
|
resource: string;
|
|
7466
|
-
matcher: "exact" | "
|
|
7465
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7467
7466
|
constraints?: Record<string, any> | undefined;
|
|
7468
7467
|
}>, "many">;
|
|
7469
7468
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7469
|
+
notBefore?: number | undefined;
|
|
7470
|
+
notAfter?: number | undefined;
|
|
7470
7471
|
} & {
|
|
7471
7472
|
[k: string]: unknown;
|
|
7472
7473
|
};
|
|
7473
|
-
issuerDid: string;
|
|
7474
7474
|
subjectDid: string;
|
|
7475
|
-
|
|
7475
|
+
controller?: string | undefined;
|
|
7476
7476
|
metadata?: Record<string, any> | undefined;
|
|
7477
|
+
scopes?: string[] | undefined;
|
|
7477
7478
|
createdAt?: number | undefined;
|
|
7478
7479
|
sessionId?: string | undefined;
|
|
7480
|
+
userIdentifier?: string | undefined;
|
|
7479
7481
|
userDid?: string | undefined;
|
|
7480
|
-
controller?: string | undefined;
|
|
7481
7482
|
parentId?: string | undefined;
|
|
7482
|
-
userIdentifier?: string | undefined;
|
|
7483
7483
|
}, {
|
|
7484
7484
|
id: string;
|
|
7485
|
+
issuerDid: string;
|
|
7485
7486
|
constraints: {
|
|
7486
7487
|
scopes?: string[] | undefined;
|
|
7487
7488
|
audience?: string | string[] | undefined;
|
|
7488
|
-
notBefore?: number | undefined;
|
|
7489
|
-
notAfter?: number | undefined;
|
|
7490
7489
|
crisp?: z.objectInputType<{
|
|
7491
7490
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7492
7491
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7522,39 +7521,39 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7522
7521
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7523
7522
|
}, "strip", z.ZodTypeAny, {
|
|
7524
7523
|
resource: string;
|
|
7525
|
-
matcher: "exact" | "
|
|
7524
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7526
7525
|
constraints?: Record<string, any> | undefined;
|
|
7527
7526
|
}, {
|
|
7528
7527
|
resource: string;
|
|
7529
|
-
matcher: "exact" | "
|
|
7528
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7530
7529
|
constraints?: Record<string, any> | undefined;
|
|
7531
7530
|
}>, "many">;
|
|
7532
7531
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7532
|
+
notBefore?: number | undefined;
|
|
7533
|
+
notAfter?: number | undefined;
|
|
7533
7534
|
} & {
|
|
7534
7535
|
[k: string]: unknown;
|
|
7535
7536
|
};
|
|
7536
|
-
issuerDid: string;
|
|
7537
7537
|
subjectDid: string;
|
|
7538
|
-
status?: "
|
|
7539
|
-
|
|
7538
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
7539
|
+
controller?: string | undefined;
|
|
7540
7540
|
metadata?: Record<string, any> | undefined;
|
|
7541
|
+
scopes?: string[] | undefined;
|
|
7541
7542
|
createdAt?: number | undefined;
|
|
7542
7543
|
sessionId?: string | undefined;
|
|
7544
|
+
userIdentifier?: string | undefined;
|
|
7543
7545
|
userDid?: string | undefined;
|
|
7544
|
-
controller?: string | undefined;
|
|
7545
7546
|
parentId?: string | undefined;
|
|
7546
|
-
userIdentifier?: string | undefined;
|
|
7547
7547
|
}>;
|
|
7548
7548
|
}, "strip", z.ZodTypeAny, {
|
|
7549
7549
|
id: string;
|
|
7550
7550
|
delegation: {
|
|
7551
|
-
status: "
|
|
7551
|
+
status: "active" | "revoked" | "expired";
|
|
7552
7552
|
id: string;
|
|
7553
|
+
issuerDid: string;
|
|
7553
7554
|
constraints: {
|
|
7554
7555
|
scopes?: string[] | undefined;
|
|
7555
7556
|
audience?: string | string[] | undefined;
|
|
7556
|
-
notBefore?: number | undefined;
|
|
7557
|
-
notAfter?: number | undefined;
|
|
7558
7557
|
crisp?: z.objectOutputType<{
|
|
7559
7558
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7560
7559
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7590,37 +7589,37 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7590
7589
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7591
7590
|
}, "strip", z.ZodTypeAny, {
|
|
7592
7591
|
resource: string;
|
|
7593
|
-
matcher: "exact" | "
|
|
7592
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7594
7593
|
constraints?: Record<string, any> | undefined;
|
|
7595
7594
|
}, {
|
|
7596
7595
|
resource: string;
|
|
7597
|
-
matcher: "exact" | "
|
|
7596
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7598
7597
|
constraints?: Record<string, any> | undefined;
|
|
7599
7598
|
}>, "many">;
|
|
7600
7599
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7600
|
+
notBefore?: number | undefined;
|
|
7601
|
+
notAfter?: number | undefined;
|
|
7601
7602
|
} & {
|
|
7602
7603
|
[k: string]: unknown;
|
|
7603
7604
|
};
|
|
7604
|
-
issuerDid: string;
|
|
7605
7605
|
subjectDid: string;
|
|
7606
|
-
|
|
7606
|
+
controller?: string | undefined;
|
|
7607
7607
|
metadata?: Record<string, any> | undefined;
|
|
7608
|
+
scopes?: string[] | undefined;
|
|
7608
7609
|
createdAt?: number | undefined;
|
|
7609
7610
|
sessionId?: string | undefined;
|
|
7611
|
+
userIdentifier?: string | undefined;
|
|
7610
7612
|
userDid?: string | undefined;
|
|
7611
|
-
controller?: string | undefined;
|
|
7612
7613
|
parentId?: string | undefined;
|
|
7613
|
-
userIdentifier?: string | undefined;
|
|
7614
7614
|
};
|
|
7615
7615
|
}, {
|
|
7616
7616
|
id: string;
|
|
7617
7617
|
delegation: {
|
|
7618
7618
|
id: string;
|
|
7619
|
+
issuerDid: string;
|
|
7619
7620
|
constraints: {
|
|
7620
7621
|
scopes?: string[] | undefined;
|
|
7621
7622
|
audience?: string | string[] | undefined;
|
|
7622
|
-
notBefore?: number | undefined;
|
|
7623
|
-
notAfter?: number | undefined;
|
|
7624
7623
|
crisp?: z.objectInputType<{
|
|
7625
7624
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7626
7625
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7656,28 +7655,29 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7656
7655
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7657
7656
|
}, "strip", z.ZodTypeAny, {
|
|
7658
7657
|
resource: string;
|
|
7659
|
-
matcher: "exact" | "
|
|
7658
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7660
7659
|
constraints?: Record<string, any> | undefined;
|
|
7661
7660
|
}, {
|
|
7662
7661
|
resource: string;
|
|
7663
|
-
matcher: "exact" | "
|
|
7662
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7664
7663
|
constraints?: Record<string, any> | undefined;
|
|
7665
7664
|
}>, "many">;
|
|
7666
7665
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7666
|
+
notBefore?: number | undefined;
|
|
7667
|
+
notAfter?: number | undefined;
|
|
7667
7668
|
} & {
|
|
7668
7669
|
[k: string]: unknown;
|
|
7669
7670
|
};
|
|
7670
|
-
issuerDid: string;
|
|
7671
7671
|
subjectDid: string;
|
|
7672
|
-
status?: "
|
|
7673
|
-
|
|
7672
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
7673
|
+
controller?: string | undefined;
|
|
7674
7674
|
metadata?: Record<string, any> | undefined;
|
|
7675
|
+
scopes?: string[] | undefined;
|
|
7675
7676
|
createdAt?: number | undefined;
|
|
7676
7677
|
sessionId?: string | undefined;
|
|
7678
|
+
userIdentifier?: string | undefined;
|
|
7677
7679
|
userDid?: string | undefined;
|
|
7678
|
-
controller?: string | undefined;
|
|
7679
7680
|
parentId?: string | undefined;
|
|
7680
|
-
userIdentifier?: string | undefined;
|
|
7681
7681
|
};
|
|
7682
7682
|
}>;
|
|
7683
7683
|
credentialStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -7825,11 +7825,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7825
7825
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7826
7826
|
}, "strip", z.ZodTypeAny, {
|
|
7827
7827
|
resource: string;
|
|
7828
|
-
matcher: "exact" | "
|
|
7828
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7829
7829
|
constraints?: Record<string, any> | undefined;
|
|
7830
7830
|
}, {
|
|
7831
7831
|
resource: string;
|
|
7832
|
-
matcher: "exact" | "
|
|
7832
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7833
7833
|
constraints?: Record<string, any> | undefined;
|
|
7834
7834
|
}>, "many">;
|
|
7835
7835
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -7867,11 +7867,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7867
7867
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7868
7868
|
}, "strip", z.ZodTypeAny, {
|
|
7869
7869
|
resource: string;
|
|
7870
|
-
matcher: "exact" | "
|
|
7870
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7871
7871
|
constraints?: Record<string, any> | undefined;
|
|
7872
7872
|
}, {
|
|
7873
7873
|
resource: string;
|
|
7874
|
-
matcher: "exact" | "
|
|
7874
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7875
7875
|
constraints?: Record<string, any> | undefined;
|
|
7876
7876
|
}>, "many">;
|
|
7877
7877
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -7909,11 +7909,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7909
7909
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7910
7910
|
}, "strip", z.ZodTypeAny, {
|
|
7911
7911
|
resource: string;
|
|
7912
|
-
matcher: "exact" | "
|
|
7912
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7913
7913
|
constraints?: Record<string, any> | undefined;
|
|
7914
7914
|
}, {
|
|
7915
7915
|
resource: string;
|
|
7916
|
-
matcher: "exact" | "
|
|
7916
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7917
7917
|
constraints?: Record<string, any> | undefined;
|
|
7918
7918
|
}>, "many">;
|
|
7919
7919
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -7957,11 +7957,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7957
7957
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7958
7958
|
}, "strip", z.ZodTypeAny, {
|
|
7959
7959
|
resource: string;
|
|
7960
|
-
matcher: "exact" | "
|
|
7960
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7961
7961
|
constraints?: Record<string, any> | undefined;
|
|
7962
7962
|
}, {
|
|
7963
7963
|
resource: string;
|
|
7964
|
-
matcher: "exact" | "
|
|
7964
|
+
matcher: "exact" | "regex" | "prefix";
|
|
7965
7965
|
constraints?: Record<string, any> | undefined;
|
|
7966
7966
|
}>, "many">;
|
|
7967
7967
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -7999,11 +7999,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
7999
7999
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8000
8000
|
}, "strip", z.ZodTypeAny, {
|
|
8001
8001
|
resource: string;
|
|
8002
|
-
matcher: "exact" | "
|
|
8002
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8003
8003
|
constraints?: Record<string, any> | undefined;
|
|
8004
8004
|
}, {
|
|
8005
8005
|
resource: string;
|
|
8006
|
-
matcher: "exact" | "
|
|
8006
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8007
8007
|
constraints?: Record<string, any> | undefined;
|
|
8008
8008
|
}>, "many">;
|
|
8009
8009
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -8041,11 +8041,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8041
8041
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8042
8042
|
}, "strip", z.ZodTypeAny, {
|
|
8043
8043
|
resource: string;
|
|
8044
|
-
matcher: "exact" | "
|
|
8044
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8045
8045
|
constraints?: Record<string, any> | undefined;
|
|
8046
8046
|
}, {
|
|
8047
8047
|
resource: string;
|
|
8048
|
-
matcher: "exact" | "
|
|
8048
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8049
8049
|
constraints?: Record<string, any> | undefined;
|
|
8050
8050
|
}>, "many">;
|
|
8051
8051
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8089,11 +8089,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8089
8089
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8090
8090
|
}, "strip", z.ZodTypeAny, {
|
|
8091
8091
|
resource: string;
|
|
8092
|
-
matcher: "exact" | "
|
|
8092
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8093
8093
|
constraints?: Record<string, any> | undefined;
|
|
8094
8094
|
}, {
|
|
8095
8095
|
resource: string;
|
|
8096
|
-
matcher: "exact" | "
|
|
8096
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8097
8097
|
constraints?: Record<string, any> | undefined;
|
|
8098
8098
|
}>, "many">;
|
|
8099
8099
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -8131,11 +8131,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8131
8131
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8132
8132
|
}, "strip", z.ZodTypeAny, {
|
|
8133
8133
|
resource: string;
|
|
8134
|
-
matcher: "exact" | "
|
|
8134
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8135
8135
|
constraints?: Record<string, any> | undefined;
|
|
8136
8136
|
}, {
|
|
8137
8137
|
resource: string;
|
|
8138
|
-
matcher: "exact" | "
|
|
8138
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8139
8139
|
constraints?: Record<string, any> | undefined;
|
|
8140
8140
|
}>, "many">;
|
|
8141
8141
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -8173,11 +8173,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8173
8173
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8174
8174
|
}, "strip", z.ZodTypeAny, {
|
|
8175
8175
|
resource: string;
|
|
8176
|
-
matcher: "exact" | "
|
|
8176
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8177
8177
|
constraints?: Record<string, any> | undefined;
|
|
8178
8178
|
}, {
|
|
8179
8179
|
resource: string;
|
|
8180
|
-
matcher: "exact" | "
|
|
8180
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8181
8181
|
constraints?: Record<string, any> | undefined;
|
|
8182
8182
|
}>, "many">;
|
|
8183
8183
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8189,13 +8189,12 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8189
8189
|
/** Optional metadata */
|
|
8190
8190
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8191
8191
|
}, "strip", z.ZodTypeAny, {
|
|
8192
|
-
status: "
|
|
8192
|
+
status: "active" | "revoked" | "expired";
|
|
8193
8193
|
id: string;
|
|
8194
|
+
issuerDid: string;
|
|
8194
8195
|
constraints: {
|
|
8195
8196
|
scopes?: string[] | undefined;
|
|
8196
8197
|
audience?: string | string[] | undefined;
|
|
8197
|
-
notBefore?: number | undefined;
|
|
8198
|
-
notAfter?: number | undefined;
|
|
8199
8198
|
crisp?: z.objectOutputType<{
|
|
8200
8199
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8201
8200
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8231,34 +8230,34 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8231
8230
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8232
8231
|
}, "strip", z.ZodTypeAny, {
|
|
8233
8232
|
resource: string;
|
|
8234
|
-
matcher: "exact" | "
|
|
8233
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8235
8234
|
constraints?: Record<string, any> | undefined;
|
|
8236
8235
|
}, {
|
|
8237
8236
|
resource: string;
|
|
8238
|
-
matcher: "exact" | "
|
|
8237
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8239
8238
|
constraints?: Record<string, any> | undefined;
|
|
8240
8239
|
}>, "many">;
|
|
8241
8240
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8241
|
+
notBefore?: number | undefined;
|
|
8242
|
+
notAfter?: number | undefined;
|
|
8242
8243
|
} & {
|
|
8243
8244
|
[k: string]: unknown;
|
|
8244
8245
|
};
|
|
8245
|
-
issuerDid: string;
|
|
8246
8246
|
subjectDid: string;
|
|
8247
|
-
|
|
8247
|
+
controller?: string | undefined;
|
|
8248
8248
|
metadata?: Record<string, any> | undefined;
|
|
8249
|
+
scopes?: string[] | undefined;
|
|
8249
8250
|
createdAt?: number | undefined;
|
|
8250
8251
|
sessionId?: string | undefined;
|
|
8252
|
+
userIdentifier?: string | undefined;
|
|
8251
8253
|
userDid?: string | undefined;
|
|
8252
|
-
controller?: string | undefined;
|
|
8253
8254
|
parentId?: string | undefined;
|
|
8254
|
-
userIdentifier?: string | undefined;
|
|
8255
8255
|
}, {
|
|
8256
8256
|
id: string;
|
|
8257
|
+
issuerDid: string;
|
|
8257
8258
|
constraints: {
|
|
8258
8259
|
scopes?: string[] | undefined;
|
|
8259
8260
|
audience?: string | string[] | undefined;
|
|
8260
|
-
notBefore?: number | undefined;
|
|
8261
|
-
notAfter?: number | undefined;
|
|
8262
8261
|
crisp?: z.objectInputType<{
|
|
8263
8262
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8264
8263
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8294,39 +8293,39 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8294
8293
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8295
8294
|
}, "strip", z.ZodTypeAny, {
|
|
8296
8295
|
resource: string;
|
|
8297
|
-
matcher: "exact" | "
|
|
8296
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8298
8297
|
constraints?: Record<string, any> | undefined;
|
|
8299
8298
|
}, {
|
|
8300
8299
|
resource: string;
|
|
8301
|
-
matcher: "exact" | "
|
|
8300
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8302
8301
|
constraints?: Record<string, any> | undefined;
|
|
8303
8302
|
}>, "many">;
|
|
8304
8303
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8304
|
+
notBefore?: number | undefined;
|
|
8305
|
+
notAfter?: number | undefined;
|
|
8305
8306
|
} & {
|
|
8306
8307
|
[k: string]: unknown;
|
|
8307
8308
|
};
|
|
8308
|
-
issuerDid: string;
|
|
8309
8309
|
subjectDid: string;
|
|
8310
|
-
status?: "
|
|
8311
|
-
|
|
8310
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
8311
|
+
controller?: string | undefined;
|
|
8312
8312
|
metadata?: Record<string, any> | undefined;
|
|
8313
|
+
scopes?: string[] | undefined;
|
|
8313
8314
|
createdAt?: number | undefined;
|
|
8314
8315
|
sessionId?: string | undefined;
|
|
8316
|
+
userIdentifier?: string | undefined;
|
|
8315
8317
|
userDid?: string | undefined;
|
|
8316
|
-
controller?: string | undefined;
|
|
8317
8318
|
parentId?: string | undefined;
|
|
8318
|
-
userIdentifier?: string | undefined;
|
|
8319
8319
|
}>;
|
|
8320
8320
|
}, "strip", z.ZodTypeAny, {
|
|
8321
8321
|
id: string;
|
|
8322
8322
|
delegation: {
|
|
8323
|
-
status: "
|
|
8323
|
+
status: "active" | "revoked" | "expired";
|
|
8324
8324
|
id: string;
|
|
8325
|
+
issuerDid: string;
|
|
8325
8326
|
constraints: {
|
|
8326
8327
|
scopes?: string[] | undefined;
|
|
8327
8328
|
audience?: string | string[] | undefined;
|
|
8328
|
-
notBefore?: number | undefined;
|
|
8329
|
-
notAfter?: number | undefined;
|
|
8330
8329
|
crisp?: z.objectOutputType<{
|
|
8331
8330
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8332
8331
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8362,37 +8361,37 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8362
8361
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8363
8362
|
}, "strip", z.ZodTypeAny, {
|
|
8364
8363
|
resource: string;
|
|
8365
|
-
matcher: "exact" | "
|
|
8364
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8366
8365
|
constraints?: Record<string, any> | undefined;
|
|
8367
8366
|
}, {
|
|
8368
8367
|
resource: string;
|
|
8369
|
-
matcher: "exact" | "
|
|
8368
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8370
8369
|
constraints?: Record<string, any> | undefined;
|
|
8371
8370
|
}>, "many">;
|
|
8372
8371
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8372
|
+
notBefore?: number | undefined;
|
|
8373
|
+
notAfter?: number | undefined;
|
|
8373
8374
|
} & {
|
|
8374
8375
|
[k: string]: unknown;
|
|
8375
8376
|
};
|
|
8376
|
-
issuerDid: string;
|
|
8377
8377
|
subjectDid: string;
|
|
8378
|
-
|
|
8378
|
+
controller?: string | undefined;
|
|
8379
8379
|
metadata?: Record<string, any> | undefined;
|
|
8380
|
+
scopes?: string[] | undefined;
|
|
8380
8381
|
createdAt?: number | undefined;
|
|
8381
8382
|
sessionId?: string | undefined;
|
|
8383
|
+
userIdentifier?: string | undefined;
|
|
8382
8384
|
userDid?: string | undefined;
|
|
8383
|
-
controller?: string | undefined;
|
|
8384
8385
|
parentId?: string | undefined;
|
|
8385
|
-
userIdentifier?: string | undefined;
|
|
8386
8386
|
};
|
|
8387
8387
|
}, {
|
|
8388
8388
|
id: string;
|
|
8389
8389
|
delegation: {
|
|
8390
8390
|
id: string;
|
|
8391
|
+
issuerDid: string;
|
|
8391
8392
|
constraints: {
|
|
8392
8393
|
scopes?: string[] | undefined;
|
|
8393
8394
|
audience?: string | string[] | undefined;
|
|
8394
|
-
notBefore?: number | undefined;
|
|
8395
|
-
notAfter?: number | undefined;
|
|
8396
8395
|
crisp?: z.objectInputType<{
|
|
8397
8396
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8398
8397
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8428,28 +8427,29 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8428
8427
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8429
8428
|
}, "strip", z.ZodTypeAny, {
|
|
8430
8429
|
resource: string;
|
|
8431
|
-
matcher: "exact" | "
|
|
8430
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8432
8431
|
constraints?: Record<string, any> | undefined;
|
|
8433
8432
|
}, {
|
|
8434
8433
|
resource: string;
|
|
8435
|
-
matcher: "exact" | "
|
|
8434
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8436
8435
|
constraints?: Record<string, any> | undefined;
|
|
8437
8436
|
}>, "many">;
|
|
8438
8437
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8438
|
+
notBefore?: number | undefined;
|
|
8439
|
+
notAfter?: number | undefined;
|
|
8439
8440
|
} & {
|
|
8440
8441
|
[k: string]: unknown;
|
|
8441
8442
|
};
|
|
8442
|
-
issuerDid: string;
|
|
8443
8443
|
subjectDid: string;
|
|
8444
|
-
status?: "
|
|
8445
|
-
|
|
8444
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
8445
|
+
controller?: string | undefined;
|
|
8446
8446
|
metadata?: Record<string, any> | undefined;
|
|
8447
|
+
scopes?: string[] | undefined;
|
|
8447
8448
|
createdAt?: number | undefined;
|
|
8448
8449
|
sessionId?: string | undefined;
|
|
8450
|
+
userIdentifier?: string | undefined;
|
|
8449
8451
|
userDid?: string | undefined;
|
|
8450
|
-
controller?: string | undefined;
|
|
8451
8452
|
parentId?: string | undefined;
|
|
8452
|
-
userIdentifier?: string | undefined;
|
|
8453
8453
|
};
|
|
8454
8454
|
}>;
|
|
8455
8455
|
credentialStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -8589,11 +8589,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8589
8589
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8590
8590
|
}, "strip", z.ZodTypeAny, {
|
|
8591
8591
|
resource: string;
|
|
8592
|
-
matcher: "exact" | "
|
|
8592
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8593
8593
|
constraints?: Record<string, any> | undefined;
|
|
8594
8594
|
}, {
|
|
8595
8595
|
resource: string;
|
|
8596
|
-
matcher: "exact" | "
|
|
8596
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8597
8597
|
constraints?: Record<string, any> | undefined;
|
|
8598
8598
|
}>, "many">;
|
|
8599
8599
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -8631,11 +8631,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8631
8631
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8632
8632
|
}, "strip", z.ZodTypeAny, {
|
|
8633
8633
|
resource: string;
|
|
8634
|
-
matcher: "exact" | "
|
|
8634
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8635
8635
|
constraints?: Record<string, any> | undefined;
|
|
8636
8636
|
}, {
|
|
8637
8637
|
resource: string;
|
|
8638
|
-
matcher: "exact" | "
|
|
8638
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8639
8639
|
constraints?: Record<string, any> | undefined;
|
|
8640
8640
|
}>, "many">;
|
|
8641
8641
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -8673,11 +8673,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8673
8673
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8674
8674
|
}, "strip", z.ZodTypeAny, {
|
|
8675
8675
|
resource: string;
|
|
8676
|
-
matcher: "exact" | "
|
|
8676
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8677
8677
|
constraints?: Record<string, any> | undefined;
|
|
8678
8678
|
}, {
|
|
8679
8679
|
resource: string;
|
|
8680
|
-
matcher: "exact" | "
|
|
8680
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8681
8681
|
constraints?: Record<string, any> | undefined;
|
|
8682
8682
|
}>, "many">;
|
|
8683
8683
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8721,11 +8721,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8721
8721
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8722
8722
|
}, "strip", z.ZodTypeAny, {
|
|
8723
8723
|
resource: string;
|
|
8724
|
-
matcher: "exact" | "
|
|
8724
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8725
8725
|
constraints?: Record<string, any> | undefined;
|
|
8726
8726
|
}, {
|
|
8727
8727
|
resource: string;
|
|
8728
|
-
matcher: "exact" | "
|
|
8728
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8729
8729
|
constraints?: Record<string, any> | undefined;
|
|
8730
8730
|
}>, "many">;
|
|
8731
8731
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -8763,11 +8763,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8763
8763
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8764
8764
|
}, "strip", z.ZodTypeAny, {
|
|
8765
8765
|
resource: string;
|
|
8766
|
-
matcher: "exact" | "
|
|
8766
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8767
8767
|
constraints?: Record<string, any> | undefined;
|
|
8768
8768
|
}, {
|
|
8769
8769
|
resource: string;
|
|
8770
|
-
matcher: "exact" | "
|
|
8770
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8771
8771
|
constraints?: Record<string, any> | undefined;
|
|
8772
8772
|
}>, "many">;
|
|
8773
8773
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -8805,11 +8805,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8805
8805
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8806
8806
|
}, "strip", z.ZodTypeAny, {
|
|
8807
8807
|
resource: string;
|
|
8808
|
-
matcher: "exact" | "
|
|
8808
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8809
8809
|
constraints?: Record<string, any> | undefined;
|
|
8810
8810
|
}, {
|
|
8811
8811
|
resource: string;
|
|
8812
|
-
matcher: "exact" | "
|
|
8812
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8813
8813
|
constraints?: Record<string, any> | undefined;
|
|
8814
8814
|
}>, "many">;
|
|
8815
8815
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8853,11 +8853,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8853
8853
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8854
8854
|
}, "strip", z.ZodTypeAny, {
|
|
8855
8855
|
resource: string;
|
|
8856
|
-
matcher: "exact" | "
|
|
8856
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8857
8857
|
constraints?: Record<string, any> | undefined;
|
|
8858
8858
|
}, {
|
|
8859
8859
|
resource: string;
|
|
8860
|
-
matcher: "exact" | "
|
|
8860
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8861
8861
|
constraints?: Record<string, any> | undefined;
|
|
8862
8862
|
}>, "many">;
|
|
8863
8863
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -8895,11 +8895,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8895
8895
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8896
8896
|
}, "strip", z.ZodTypeAny, {
|
|
8897
8897
|
resource: string;
|
|
8898
|
-
matcher: "exact" | "
|
|
8898
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8899
8899
|
constraints?: Record<string, any> | undefined;
|
|
8900
8900
|
}, {
|
|
8901
8901
|
resource: string;
|
|
8902
|
-
matcher: "exact" | "
|
|
8902
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8903
8903
|
constraints?: Record<string, any> | undefined;
|
|
8904
8904
|
}>, "many">;
|
|
8905
8905
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -8937,11 +8937,11 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8937
8937
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8938
8938
|
}, "strip", z.ZodTypeAny, {
|
|
8939
8939
|
resource: string;
|
|
8940
|
-
matcher: "exact" | "
|
|
8940
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8941
8941
|
constraints?: Record<string, any> | undefined;
|
|
8942
8942
|
}, {
|
|
8943
8943
|
resource: string;
|
|
8944
|
-
matcher: "exact" | "
|
|
8944
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8945
8945
|
constraints?: Record<string, any> | undefined;
|
|
8946
8946
|
}>, "many">;
|
|
8947
8947
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8953,13 +8953,12 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8953
8953
|
/** Optional metadata */
|
|
8954
8954
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8955
8955
|
}, "strip", z.ZodTypeAny, {
|
|
8956
|
-
status: "
|
|
8956
|
+
status: "active" | "revoked" | "expired";
|
|
8957
8957
|
id: string;
|
|
8958
|
+
issuerDid: string;
|
|
8958
8959
|
constraints: {
|
|
8959
8960
|
scopes?: string[] | undefined;
|
|
8960
8961
|
audience?: string | string[] | undefined;
|
|
8961
|
-
notBefore?: number | undefined;
|
|
8962
|
-
notAfter?: number | undefined;
|
|
8963
8962
|
crisp?: z.objectOutputType<{
|
|
8964
8963
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8965
8964
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8995,34 +8994,34 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8995
8994
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8996
8995
|
}, "strip", z.ZodTypeAny, {
|
|
8997
8996
|
resource: string;
|
|
8998
|
-
matcher: "exact" | "
|
|
8997
|
+
matcher: "exact" | "regex" | "prefix";
|
|
8999
8998
|
constraints?: Record<string, any> | undefined;
|
|
9000
8999
|
}, {
|
|
9001
9000
|
resource: string;
|
|
9002
|
-
matcher: "exact" | "
|
|
9001
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9003
9002
|
constraints?: Record<string, any> | undefined;
|
|
9004
9003
|
}>, "many">;
|
|
9005
9004
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9005
|
+
notBefore?: number | undefined;
|
|
9006
|
+
notAfter?: number | undefined;
|
|
9006
9007
|
} & {
|
|
9007
9008
|
[k: string]: unknown;
|
|
9008
9009
|
};
|
|
9009
|
-
issuerDid: string;
|
|
9010
9010
|
subjectDid: string;
|
|
9011
|
-
|
|
9011
|
+
controller?: string | undefined;
|
|
9012
9012
|
metadata?: Record<string, any> | undefined;
|
|
9013
|
+
scopes?: string[] | undefined;
|
|
9013
9014
|
createdAt?: number | undefined;
|
|
9014
9015
|
sessionId?: string | undefined;
|
|
9016
|
+
userIdentifier?: string | undefined;
|
|
9015
9017
|
userDid?: string | undefined;
|
|
9016
|
-
controller?: string | undefined;
|
|
9017
9018
|
parentId?: string | undefined;
|
|
9018
|
-
userIdentifier?: string | undefined;
|
|
9019
9019
|
}, {
|
|
9020
9020
|
id: string;
|
|
9021
|
+
issuerDid: string;
|
|
9021
9022
|
constraints: {
|
|
9022
9023
|
scopes?: string[] | undefined;
|
|
9023
9024
|
audience?: string | string[] | undefined;
|
|
9024
|
-
notBefore?: number | undefined;
|
|
9025
|
-
notAfter?: number | undefined;
|
|
9026
9025
|
crisp?: z.objectInputType<{
|
|
9027
9026
|
budget: z.ZodOptional<z.ZodObject<{
|
|
9028
9027
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -9058,39 +9057,39 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9058
9057
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9059
9058
|
}, "strip", z.ZodTypeAny, {
|
|
9060
9059
|
resource: string;
|
|
9061
|
-
matcher: "exact" | "
|
|
9060
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9062
9061
|
constraints?: Record<string, any> | undefined;
|
|
9063
9062
|
}, {
|
|
9064
9063
|
resource: string;
|
|
9065
|
-
matcher: "exact" | "
|
|
9064
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9066
9065
|
constraints?: Record<string, any> | undefined;
|
|
9067
9066
|
}>, "many">;
|
|
9068
9067
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9068
|
+
notBefore?: number | undefined;
|
|
9069
|
+
notAfter?: number | undefined;
|
|
9069
9070
|
} & {
|
|
9070
9071
|
[k: string]: unknown;
|
|
9071
9072
|
};
|
|
9072
|
-
issuerDid: string;
|
|
9073
9073
|
subjectDid: string;
|
|
9074
|
-
status?: "
|
|
9075
|
-
|
|
9074
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
9075
|
+
controller?: string | undefined;
|
|
9076
9076
|
metadata?: Record<string, any> | undefined;
|
|
9077
|
+
scopes?: string[] | undefined;
|
|
9077
9078
|
createdAt?: number | undefined;
|
|
9078
9079
|
sessionId?: string | undefined;
|
|
9080
|
+
userIdentifier?: string | undefined;
|
|
9079
9081
|
userDid?: string | undefined;
|
|
9080
|
-
controller?: string | undefined;
|
|
9081
9082
|
parentId?: string | undefined;
|
|
9082
|
-
userIdentifier?: string | undefined;
|
|
9083
9083
|
}>;
|
|
9084
9084
|
}, "strip", z.ZodTypeAny, {
|
|
9085
9085
|
id: string;
|
|
9086
9086
|
delegation: {
|
|
9087
|
-
status: "
|
|
9087
|
+
status: "active" | "revoked" | "expired";
|
|
9088
9088
|
id: string;
|
|
9089
|
+
issuerDid: string;
|
|
9089
9090
|
constraints: {
|
|
9090
9091
|
scopes?: string[] | undefined;
|
|
9091
9092
|
audience?: string | string[] | undefined;
|
|
9092
|
-
notBefore?: number | undefined;
|
|
9093
|
-
notAfter?: number | undefined;
|
|
9094
9093
|
crisp?: z.objectOutputType<{
|
|
9095
9094
|
budget: z.ZodOptional<z.ZodObject<{
|
|
9096
9095
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -9126,37 +9125,37 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9126
9125
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9127
9126
|
}, "strip", z.ZodTypeAny, {
|
|
9128
9127
|
resource: string;
|
|
9129
|
-
matcher: "exact" | "
|
|
9128
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9130
9129
|
constraints?: Record<string, any> | undefined;
|
|
9131
9130
|
}, {
|
|
9132
9131
|
resource: string;
|
|
9133
|
-
matcher: "exact" | "
|
|
9132
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9134
9133
|
constraints?: Record<string, any> | undefined;
|
|
9135
9134
|
}>, "many">;
|
|
9136
9135
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9136
|
+
notBefore?: number | undefined;
|
|
9137
|
+
notAfter?: number | undefined;
|
|
9137
9138
|
} & {
|
|
9138
9139
|
[k: string]: unknown;
|
|
9139
9140
|
};
|
|
9140
|
-
issuerDid: string;
|
|
9141
9141
|
subjectDid: string;
|
|
9142
|
-
|
|
9142
|
+
controller?: string | undefined;
|
|
9143
9143
|
metadata?: Record<string, any> | undefined;
|
|
9144
|
+
scopes?: string[] | undefined;
|
|
9144
9145
|
createdAt?: number | undefined;
|
|
9145
9146
|
sessionId?: string | undefined;
|
|
9147
|
+
userIdentifier?: string | undefined;
|
|
9146
9148
|
userDid?: string | undefined;
|
|
9147
|
-
controller?: string | undefined;
|
|
9148
9149
|
parentId?: string | undefined;
|
|
9149
|
-
userIdentifier?: string | undefined;
|
|
9150
9150
|
};
|
|
9151
9151
|
}, {
|
|
9152
9152
|
id: string;
|
|
9153
9153
|
delegation: {
|
|
9154
9154
|
id: string;
|
|
9155
|
+
issuerDid: string;
|
|
9155
9156
|
constraints: {
|
|
9156
9157
|
scopes?: string[] | undefined;
|
|
9157
9158
|
audience?: string | string[] | undefined;
|
|
9158
|
-
notBefore?: number | undefined;
|
|
9159
|
-
notAfter?: number | undefined;
|
|
9160
9159
|
crisp?: z.objectInputType<{
|
|
9161
9160
|
budget: z.ZodOptional<z.ZodObject<{
|
|
9162
9161
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -9192,28 +9191,29 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9192
9191
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9193
9192
|
}, "strip", z.ZodTypeAny, {
|
|
9194
9193
|
resource: string;
|
|
9195
|
-
matcher: "exact" | "
|
|
9194
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9196
9195
|
constraints?: Record<string, any> | undefined;
|
|
9197
9196
|
}, {
|
|
9198
9197
|
resource: string;
|
|
9199
|
-
matcher: "exact" | "
|
|
9198
|
+
matcher: "exact" | "regex" | "prefix";
|
|
9200
9199
|
constraints?: Record<string, any> | undefined;
|
|
9201
9200
|
}>, "many">;
|
|
9202
9201
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9202
|
+
notBefore?: number | undefined;
|
|
9203
|
+
notAfter?: number | undefined;
|
|
9203
9204
|
} & {
|
|
9204
9205
|
[k: string]: unknown;
|
|
9205
9206
|
};
|
|
9206
|
-
issuerDid: string;
|
|
9207
9207
|
subjectDid: string;
|
|
9208
|
-
status?: "
|
|
9209
|
-
|
|
9208
|
+
status?: "active" | "revoked" | "expired" | undefined;
|
|
9209
|
+
controller?: string | undefined;
|
|
9210
9210
|
metadata?: Record<string, any> | undefined;
|
|
9211
|
+
scopes?: string[] | undefined;
|
|
9211
9212
|
createdAt?: number | undefined;
|
|
9212
9213
|
sessionId?: string | undefined;
|
|
9214
|
+
userIdentifier?: string | undefined;
|
|
9213
9215
|
userDid?: string | undefined;
|
|
9214
|
-
controller?: string | undefined;
|
|
9215
9216
|
parentId?: string | undefined;
|
|
9216
|
-
userIdentifier?: string | undefined;
|
|
9217
9217
|
};
|
|
9218
9218
|
}>;
|
|
9219
9219
|
credentialStatus: z.ZodOptional<z.ZodObject<{
|