@kya-os/contracts 1.7.21 → 1.7.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agentshield-api/schemas.d.ts +198 -198
- package/dist/audit/index.d.ts +21 -21
- package/dist/config/base.d.ts +8 -0
- package/dist/consent/schemas.d.ts +112 -112
- package/dist/dashboard-config/schemas.d.ts +1771 -1771
- package/dist/delegation/schemas.d.ts +234 -234
- package/dist/deploy/schemas.d.ts +19 -19
- package/dist/handshake.d.ts +30 -30
- package/dist/molti/admin-ws.d.ts +1480 -0
- package/dist/molti/admin-ws.js +138 -0
- package/dist/molti/index.d.ts +2 -0
- package/dist/molti/index.js +19 -1
- package/dist/molti/schemas.d.ts +102 -102
- package/dist/policy/schemas.d.ts +676 -676
- package/dist/registry.d.ts +43 -43
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/tool-protection/index.d.ts +6 -6
- package/dist/verifier.d.ts +6 -6
- package/dist/well-known/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1725,6 +1725,9 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1725
1725
|
status: z.ZodEnum<["active", "revoked", "expired"]>;
|
|
1726
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1727
1727
|
status: "active" | "revoked" | "expired";
|
|
1728
|
+
issuerDid: string;
|
|
1729
|
+
subjectDid: string;
|
|
1730
|
+
vcId: string;
|
|
1728
1731
|
constraints: {
|
|
1729
1732
|
scopes?: string[] | undefined;
|
|
1730
1733
|
audience?: string | string[] | undefined;
|
|
@@ -1776,13 +1779,13 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1776
1779
|
} & {
|
|
1777
1780
|
[k: string]: unknown;
|
|
1778
1781
|
};
|
|
1779
|
-
issuerDid: string;
|
|
1780
|
-
subjectDid: string;
|
|
1781
|
-
vcId: string;
|
|
1782
1782
|
delegationId: string;
|
|
1783
1783
|
depth: number;
|
|
1784
1784
|
}, {
|
|
1785
1785
|
status: "active" | "revoked" | "expired";
|
|
1786
|
+
issuerDid: string;
|
|
1787
|
+
subjectDid: string;
|
|
1788
|
+
vcId: string;
|
|
1786
1789
|
constraints: {
|
|
1787
1790
|
scopes?: string[] | undefined;
|
|
1788
1791
|
audience?: string | string[] | undefined;
|
|
@@ -1834,9 +1837,6 @@ export declare const DelegationChainEntrySchema: z.ZodObject<{
|
|
|
1834
1837
|
} & {
|
|
1835
1838
|
[k: string]: unknown;
|
|
1836
1839
|
};
|
|
1837
|
-
issuerDid: string;
|
|
1838
|
-
subjectDid: string;
|
|
1839
|
-
vcId: string;
|
|
1840
1840
|
delegationId: string;
|
|
1841
1841
|
depth: number;
|
|
1842
1842
|
}>;
|
|
@@ -2265,6 +2265,9 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2265
2265
|
status: z.ZodEnum<["active", "revoked", "expired"]>;
|
|
2266
2266
|
}, "strip", z.ZodTypeAny, {
|
|
2267
2267
|
status: "active" | "revoked" | "expired";
|
|
2268
|
+
issuerDid: string;
|
|
2269
|
+
subjectDid: string;
|
|
2270
|
+
vcId: string;
|
|
2268
2271
|
constraints: {
|
|
2269
2272
|
scopes?: string[] | undefined;
|
|
2270
2273
|
audience?: string | string[] | undefined;
|
|
@@ -2316,13 +2319,13 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2316
2319
|
} & {
|
|
2317
2320
|
[k: string]: unknown;
|
|
2318
2321
|
};
|
|
2319
|
-
issuerDid: string;
|
|
2320
|
-
subjectDid: string;
|
|
2321
|
-
vcId: string;
|
|
2322
2322
|
delegationId: string;
|
|
2323
2323
|
depth: number;
|
|
2324
2324
|
}, {
|
|
2325
2325
|
status: "active" | "revoked" | "expired";
|
|
2326
|
+
issuerDid: string;
|
|
2327
|
+
subjectDid: string;
|
|
2328
|
+
vcId: string;
|
|
2326
2329
|
constraints: {
|
|
2327
2330
|
scopes?: string[] | undefined;
|
|
2328
2331
|
audience?: string | string[] | undefined;
|
|
@@ -2374,9 +2377,6 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2374
2377
|
} & {
|
|
2375
2378
|
[k: string]: unknown;
|
|
2376
2379
|
};
|
|
2377
|
-
issuerDid: string;
|
|
2378
|
-
subjectDid: string;
|
|
2379
|
-
vcId: string;
|
|
2380
2380
|
delegationId: string;
|
|
2381
2381
|
depth: number;
|
|
2382
2382
|
}>, "many">;
|
|
@@ -2393,6 +2393,9 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2393
2393
|
leafSubject: string;
|
|
2394
2394
|
chain: {
|
|
2395
2395
|
status: "active" | "revoked" | "expired";
|
|
2396
|
+
issuerDid: string;
|
|
2397
|
+
subjectDid: string;
|
|
2398
|
+
vcId: string;
|
|
2396
2399
|
constraints: {
|
|
2397
2400
|
scopes?: string[] | undefined;
|
|
2398
2401
|
audience?: string | string[] | undefined;
|
|
@@ -2444,9 +2447,6 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2444
2447
|
} & {
|
|
2445
2448
|
[k: string]: unknown;
|
|
2446
2449
|
};
|
|
2447
|
-
issuerDid: string;
|
|
2448
|
-
subjectDid: string;
|
|
2449
|
-
vcId: string;
|
|
2450
2450
|
delegationId: string;
|
|
2451
2451
|
depth: number;
|
|
2452
2452
|
}[];
|
|
@@ -2458,6 +2458,9 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2458
2458
|
leafSubject: string;
|
|
2459
2459
|
chain: {
|
|
2460
2460
|
status: "active" | "revoked" | "expired";
|
|
2461
|
+
issuerDid: string;
|
|
2462
|
+
subjectDid: string;
|
|
2463
|
+
vcId: string;
|
|
2461
2464
|
constraints: {
|
|
2462
2465
|
scopes?: string[] | undefined;
|
|
2463
2466
|
audience?: string | string[] | undefined;
|
|
@@ -2509,9 +2512,6 @@ export declare const DelegationChainSchema: z.ZodObject<{
|
|
|
2509
2512
|
} & {
|
|
2510
2513
|
[k: string]: unknown;
|
|
2511
2514
|
};
|
|
2512
|
-
issuerDid: string;
|
|
2513
|
-
subjectDid: string;
|
|
2514
|
-
vcId: string;
|
|
2515
2515
|
delegationId: string;
|
|
2516
2516
|
depth: number;
|
|
2517
2517
|
}[];
|
|
@@ -2933,6 +2933,8 @@ 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;
|
|
2937
|
+
subjectDid: string;
|
|
2936
2938
|
constraints: {
|
|
2937
2939
|
scopes?: string[] | undefined;
|
|
2938
2940
|
audience?: string | string[] | undefined;
|
|
@@ -2984,12 +2986,12 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2984
2986
|
} & {
|
|
2985
2987
|
[k: string]: unknown;
|
|
2986
2988
|
};
|
|
2987
|
-
issuerDid: string;
|
|
2988
|
-
subjectDid: string;
|
|
2989
2989
|
controller?: string | undefined;
|
|
2990
2990
|
vcId?: string | undefined;
|
|
2991
2991
|
parentId?: string | undefined;
|
|
2992
2992
|
}, {
|
|
2993
|
+
issuerDid: string;
|
|
2994
|
+
subjectDid: string;
|
|
2993
2995
|
constraints: {
|
|
2994
2996
|
scopes?: string[] | undefined;
|
|
2995
2997
|
audience?: string | string[] | undefined;
|
|
@@ -3041,8 +3043,6 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
3041
3043
|
} & {
|
|
3042
3044
|
[k: string]: unknown;
|
|
3043
3045
|
};
|
|
3044
|
-
issuerDid: string;
|
|
3045
|
-
subjectDid: string;
|
|
3046
3046
|
controller?: string | undefined;
|
|
3047
3047
|
vcId?: string | undefined;
|
|
3048
3048
|
parentId?: 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
|
-
provider?: string | undefined;
|
|
3097
|
-
verifiedAt?: number | undefined;
|
|
3095
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3098
3096
|
issuer?: string | undefined;
|
|
3097
|
+
provider?: string | undefined;
|
|
3099
3098
|
credentialType?: string | undefined;
|
|
3100
3099
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3101
3100
|
rpId?: string | undefined;
|
|
3102
3101
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3103
3102
|
chainId?: number | undefined;
|
|
3104
3103
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3109
3107
|
issuer?: string | undefined;
|
|
3108
|
+
provider?: string | undefined;
|
|
3110
3109
|
credentialType?: string | undefined;
|
|
3111
3110
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3112
3111
|
rpId?: string | undefined;
|
|
3113
3112
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3114
3113
|
chainId?: number | undefined;
|
|
3115
3114
|
domain?: string | undefined;
|
|
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
|
-
provider?: string | undefined;
|
|
3162
|
-
verifiedAt?: number | undefined;
|
|
3160
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3163
3161
|
issuer?: string | undefined;
|
|
3162
|
+
provider?: string | undefined;
|
|
3164
3163
|
credentialType?: string | undefined;
|
|
3165
3164
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3166
3165
|
rpId?: string | undefined;
|
|
3167
3166
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3168
3167
|
chainId?: number | undefined;
|
|
3169
3168
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3174
3172
|
issuer?: string | undefined;
|
|
3173
|
+
provider?: string | undefined;
|
|
3175
3174
|
credentialType?: string | undefined;
|
|
3176
3175
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3177
3176
|
rpId?: string | undefined;
|
|
3178
3177
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3179
3178
|
chainId?: number | undefined;
|
|
3180
3179
|
domain?: string | undefined;
|
|
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
|
-
provider?: string | undefined;
|
|
3221
|
-
verifiedAt?: number | undefined;
|
|
3219
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3222
3220
|
issuer?: string | undefined;
|
|
3221
|
+
provider?: string | undefined;
|
|
3223
3222
|
credentialType?: string | undefined;
|
|
3224
3223
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3225
3224
|
rpId?: string | undefined;
|
|
3226
3225
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3227
3226
|
chainId?: number | undefined;
|
|
3228
3227
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3233
3231
|
issuer?: string | undefined;
|
|
3232
|
+
provider?: string | undefined;
|
|
3234
3233
|
credentialType?: string | undefined;
|
|
3235
3234
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3236
3235
|
rpId?: string | undefined;
|
|
3237
3236
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3238
3237
|
chainId?: number | undefined;
|
|
3239
3238
|
domain?: string | undefined;
|
|
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
|
-
provider?: string | undefined;
|
|
3280
|
-
verifiedAt?: number | undefined;
|
|
3278
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3281
3279
|
issuer?: string | undefined;
|
|
3280
|
+
provider?: string | undefined;
|
|
3282
3281
|
credentialType?: string | undefined;
|
|
3283
3282
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3284
3283
|
rpId?: string | undefined;
|
|
3285
3284
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3286
3285
|
chainId?: number | undefined;
|
|
3287
3286
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3292
3290
|
issuer?: string | undefined;
|
|
3291
|
+
provider?: string | undefined;
|
|
3293
3292
|
credentialType?: string | undefined;
|
|
3294
3293
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3295
3294
|
rpId?: string | undefined;
|
|
3296
3295
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3297
3296
|
chainId?: number | undefined;
|
|
3298
3297
|
domain?: string | undefined;
|
|
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
|
-
provider?: string | undefined;
|
|
3362
|
-
verifiedAt?: number | undefined;
|
|
3360
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3363
3361
|
issuer?: string | undefined;
|
|
3362
|
+
provider?: string | undefined;
|
|
3364
3363
|
credentialType?: string | undefined;
|
|
3365
3364
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3366
3365
|
rpId?: string | undefined;
|
|
3367
3366
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3368
3367
|
chainId?: number | undefined;
|
|
3369
3368
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3374
3372
|
issuer?: string | undefined;
|
|
3373
|
+
provider?: string | undefined;
|
|
3375
3374
|
credentialType?: string | undefined;
|
|
3376
3375
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3377
3376
|
rpId?: string | undefined;
|
|
3378
3377
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3379
3378
|
chainId?: number | undefined;
|
|
3380
3379
|
domain?: string | undefined;
|
|
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
|
-
provider?: string | undefined;
|
|
3421
|
-
verifiedAt?: number | undefined;
|
|
3419
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3422
3420
|
issuer?: string | undefined;
|
|
3421
|
+
provider?: string | undefined;
|
|
3423
3422
|
credentialType?: string | undefined;
|
|
3424
3423
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3425
3424
|
rpId?: string | undefined;
|
|
3426
3425
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3427
3426
|
chainId?: number | undefined;
|
|
3428
3427
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3433
3431
|
issuer?: string | undefined;
|
|
3432
|
+
provider?: string | undefined;
|
|
3434
3433
|
credentialType?: string | undefined;
|
|
3435
3434
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3436
3435
|
rpId?: string | undefined;
|
|
3437
3436
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3438
3437
|
chainId?: number | undefined;
|
|
3439
3438
|
domain?: string | undefined;
|
|
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,37 @@ 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
|
-
provider?: string | undefined;
|
|
3480
|
-
verifiedAt?: number | undefined;
|
|
3478
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3481
3479
|
issuer?: string | undefined;
|
|
3480
|
+
provider?: string | undefined;
|
|
3482
3481
|
credentialType?: string | undefined;
|
|
3483
3482
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3484
3483
|
rpId?: string | undefined;
|
|
3485
3484
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3486
3485
|
chainId?: number | undefined;
|
|
3487
3486
|
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" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3492
3490
|
issuer?: string | undefined;
|
|
3491
|
+
provider?: string | undefined;
|
|
3493
3492
|
credentialType?: string | undefined;
|
|
3494
3493
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3495
3494
|
rpId?: string | undefined;
|
|
3496
3495
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3497
3496
|
chainId?: number | undefined;
|
|
3498
3497
|
domain?: string | undefined;
|
|
3498
|
+
verifiedAt?: number | undefined;
|
|
3499
3499
|
}>>;
|
|
3500
3500
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
3501
3501
|
}, "strip", z.ZodTypeAny, {
|
|
3502
3502
|
valid: boolean;
|
|
3503
3503
|
status: "active" | "revoked" | "expired";
|
|
3504
|
-
verifiedAt: number;
|
|
3505
3504
|
delegationId: string;
|
|
3505
|
+
verifiedAt: number;
|
|
3506
|
+
reason?: string | undefined;
|
|
3507
|
+
credentialValid?: boolean | undefined;
|
|
3508
|
+
chainValid?: boolean | undefined;
|
|
3506
3509
|
details?: z.objectOutputType<{
|
|
3507
3510
|
/** Authorization info - how identity was verified during consent */
|
|
3508
3511
|
authorization: z.ZodOptional<z.ZodObject<{
|
|
@@ -3540,37 +3543,37 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3540
3543
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3541
3544
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3542
3545
|
}, "strip", z.ZodTypeAny, {
|
|
3543
|
-
type: "
|
|
3544
|
-
provider?: string | undefined;
|
|
3545
|
-
verifiedAt?: number | undefined;
|
|
3546
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3546
3547
|
issuer?: string | undefined;
|
|
3548
|
+
provider?: string | undefined;
|
|
3547
3549
|
credentialType?: string | undefined;
|
|
3548
3550
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3549
3551
|
rpId?: string | undefined;
|
|
3550
3552
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3551
3553
|
chainId?: number | undefined;
|
|
3552
3554
|
domain?: string | undefined;
|
|
3553
|
-
}, {
|
|
3554
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3555
|
-
provider?: string | undefined;
|
|
3556
3555
|
verifiedAt?: number | undefined;
|
|
3556
|
+
}, {
|
|
3557
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3557
3558
|
issuer?: string | undefined;
|
|
3559
|
+
provider?: string | undefined;
|
|
3558
3560
|
credentialType?: string | undefined;
|
|
3559
3561
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3560
3562
|
rpId?: string | undefined;
|
|
3561
3563
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3562
3564
|
chainId?: number | undefined;
|
|
3563
3565
|
domain?: string | undefined;
|
|
3566
|
+
verifiedAt?: number | undefined;
|
|
3564
3567
|
}>>;
|
|
3565
3568
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3566
|
-
reason?: string | undefined;
|
|
3567
|
-
credentialValid?: boolean | undefined;
|
|
3568
|
-
chainValid?: boolean | undefined;
|
|
3569
3569
|
}, {
|
|
3570
3570
|
valid: boolean;
|
|
3571
3571
|
status: "active" | "revoked" | "expired";
|
|
3572
|
-
verifiedAt: number;
|
|
3573
3572
|
delegationId: string;
|
|
3573
|
+
verifiedAt: number;
|
|
3574
|
+
reason?: string | undefined;
|
|
3575
|
+
credentialValid?: boolean | undefined;
|
|
3576
|
+
chainValid?: boolean | undefined;
|
|
3574
3577
|
details?: z.objectInputType<{
|
|
3575
3578
|
/** Authorization info - how identity was verified during consent */
|
|
3576
3579
|
authorization: z.ZodOptional<z.ZodObject<{
|
|
@@ -3608,32 +3611,29 @@ export declare const DelegationVerificationResultSchema: z.ZodObject<{
|
|
|
3608
3611
|
/** Timestamp when authorization was verified (milliseconds since epoch) */
|
|
3609
3612
|
verifiedAt: z.ZodOptional<z.ZodNumber>;
|
|
3610
3613
|
}, "strip", z.ZodTypeAny, {
|
|
3611
|
-
type: "
|
|
3612
|
-
provider?: string | undefined;
|
|
3613
|
-
verifiedAt?: number | undefined;
|
|
3614
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3614
3615
|
issuer?: string | undefined;
|
|
3616
|
+
provider?: string | undefined;
|
|
3615
3617
|
credentialType?: string | undefined;
|
|
3616
3618
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3617
3619
|
rpId?: string | undefined;
|
|
3618
3620
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3619
3621
|
chainId?: number | undefined;
|
|
3620
3622
|
domain?: string | undefined;
|
|
3621
|
-
}, {
|
|
3622
|
-
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3623
|
-
provider?: string | undefined;
|
|
3624
3623
|
verifiedAt?: number | undefined;
|
|
3624
|
+
}, {
|
|
3625
|
+
type: "oauth" | "oauth2" | "password" | "credential" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3625
3626
|
issuer?: string | undefined;
|
|
3627
|
+
provider?: string | undefined;
|
|
3626
3628
|
credentialType?: string | undefined;
|
|
3627
3629
|
verificationLevel?: "basic" | "enhanced" | "loa3" | undefined;
|
|
3628
3630
|
rpId?: string | undefined;
|
|
3629
3631
|
userVerification?: "required" | "preferred" | "discouraged" | undefined;
|
|
3630
3632
|
chainId?: number | undefined;
|
|
3631
3633
|
domain?: string | undefined;
|
|
3634
|
+
verifiedAt?: number | undefined;
|
|
3632
3635
|
}>>;
|
|
3633
3636
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3634
|
-
reason?: string | undefined;
|
|
3635
|
-
credentialValid?: boolean | undefined;
|
|
3636
|
-
chainValid?: boolean | undefined;
|
|
3637
3637
|
}>;
|
|
3638
3638
|
export type DelegationVerificationResult = z.infer<typeof DelegationVerificationResultSchema>;
|
|
3639
3639
|
/**
|
|
@@ -4505,6 +4505,9 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4505
4505
|
leafSubject: string;
|
|
4506
4506
|
chain: {
|
|
4507
4507
|
status: "active" | "revoked" | "expired";
|
|
4508
|
+
issuerDid: string;
|
|
4509
|
+
subjectDid: string;
|
|
4510
|
+
vcId: string;
|
|
4508
4511
|
constraints: {
|
|
4509
4512
|
scopes?: string[] | undefined;
|
|
4510
4513
|
audience?: string | string[] | undefined;
|
|
@@ -4556,9 +4559,6 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4556
4559
|
} & {
|
|
4557
4560
|
[k: string]: unknown;
|
|
4558
4561
|
};
|
|
4559
|
-
issuerDid: string;
|
|
4560
|
-
subjectDid: string;
|
|
4561
|
-
vcId: string;
|
|
4562
4562
|
delegationId: string;
|
|
4563
4563
|
depth: number;
|
|
4564
4564
|
}[];
|
|
@@ -4570,6 +4570,9 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4570
4570
|
leafSubject: string;
|
|
4571
4571
|
chain: {
|
|
4572
4572
|
status: "active" | "revoked" | "expired";
|
|
4573
|
+
issuerDid: string;
|
|
4574
|
+
subjectDid: string;
|
|
4575
|
+
vcId: string;
|
|
4573
4576
|
constraints: {
|
|
4574
4577
|
scopes?: string[] | undefined;
|
|
4575
4578
|
audience?: string | string[] | undefined;
|
|
@@ -4621,9 +4624,6 @@ export declare function validateDelegationChain(chain: unknown): z.SafeParseRetu
|
|
|
4621
4624
|
} & {
|
|
4622
4625
|
[k: string]: unknown;
|
|
4623
4626
|
};
|
|
4624
|
-
issuerDid: string;
|
|
4625
|
-
subjectDid: string;
|
|
4626
|
-
vcId: string;
|
|
4627
4627
|
delegationId: string;
|
|
4628
4628
|
depth: number;
|
|
4629
4629
|
}[];
|
|
@@ -5138,6 +5138,8 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5138
5138
|
}, "strip", z.ZodTypeAny, {
|
|
5139
5139
|
status: "active" | "revoked" | "expired";
|
|
5140
5140
|
id: string;
|
|
5141
|
+
issuerDid: string;
|
|
5142
|
+
subjectDid: string;
|
|
5141
5143
|
constraints: {
|
|
5142
5144
|
scopes?: string[] | undefined;
|
|
5143
5145
|
audience?: string | string[] | undefined;
|
|
@@ -5189,18 +5191,18 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5189
5191
|
} & {
|
|
5190
5192
|
[k: string]: unknown;
|
|
5191
5193
|
};
|
|
5192
|
-
issuerDid: string;
|
|
5193
|
-
subjectDid: string;
|
|
5194
|
-
scopes?: string[] | undefined;
|
|
5195
5194
|
metadata?: Record<string, any> | undefined;
|
|
5196
|
-
|
|
5197
|
-
sessionId?: string | undefined;
|
|
5198
|
-
userDid?: string | undefined;
|
|
5195
|
+
scopes?: string[] | undefined;
|
|
5199
5196
|
controller?: string | undefined;
|
|
5200
5197
|
parentId?: string | undefined;
|
|
5198
|
+
createdAt?: number | undefined;
|
|
5199
|
+
userDid?: string | undefined;
|
|
5201
5200
|
userIdentifier?: string | undefined;
|
|
5201
|
+
sessionId?: string | undefined;
|
|
5202
5202
|
}, {
|
|
5203
5203
|
id: string;
|
|
5204
|
+
issuerDid: string;
|
|
5205
|
+
subjectDid: string;
|
|
5204
5206
|
constraints: {
|
|
5205
5207
|
scopes?: string[] | undefined;
|
|
5206
5208
|
audience?: string | string[] | undefined;
|
|
@@ -5252,22 +5254,22 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5252
5254
|
} & {
|
|
5253
5255
|
[k: string]: unknown;
|
|
5254
5256
|
};
|
|
5255
|
-
issuerDid: string;
|
|
5256
|
-
subjectDid: string;
|
|
5257
5257
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
5258
|
-
scopes?: string[] | undefined;
|
|
5259
5258
|
metadata?: Record<string, any> | undefined;
|
|
5260
|
-
|
|
5261
|
-
sessionId?: string | undefined;
|
|
5262
|
-
userDid?: string | undefined;
|
|
5259
|
+
scopes?: string[] | undefined;
|
|
5263
5260
|
controller?: string | undefined;
|
|
5264
5261
|
parentId?: string | undefined;
|
|
5262
|
+
createdAt?: number | undefined;
|
|
5263
|
+
userDid?: string | undefined;
|
|
5265
5264
|
userIdentifier?: string | undefined;
|
|
5265
|
+
sessionId?: string | undefined;
|
|
5266
5266
|
}>;
|
|
5267
5267
|
}, "strip", z.ZodTypeAny, {
|
|
5268
5268
|
delegation: {
|
|
5269
5269
|
status: "active" | "revoked" | "expired";
|
|
5270
5270
|
id: string;
|
|
5271
|
+
issuerDid: string;
|
|
5272
|
+
subjectDid: string;
|
|
5271
5273
|
constraints: {
|
|
5272
5274
|
scopes?: string[] | undefined;
|
|
5273
5275
|
audience?: string | string[] | undefined;
|
|
@@ -5319,21 +5321,21 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5319
5321
|
} & {
|
|
5320
5322
|
[k: string]: unknown;
|
|
5321
5323
|
};
|
|
5322
|
-
issuerDid: string;
|
|
5323
|
-
subjectDid: string;
|
|
5324
|
-
scopes?: string[] | undefined;
|
|
5325
5324
|
metadata?: Record<string, any> | undefined;
|
|
5326
|
-
|
|
5327
|
-
sessionId?: string | undefined;
|
|
5328
|
-
userDid?: string | undefined;
|
|
5325
|
+
scopes?: string[] | undefined;
|
|
5329
5326
|
controller?: string | undefined;
|
|
5330
5327
|
parentId?: string | undefined;
|
|
5328
|
+
createdAt?: number | undefined;
|
|
5329
|
+
userDid?: string | undefined;
|
|
5331
5330
|
userIdentifier?: string | undefined;
|
|
5331
|
+
sessionId?: string | undefined;
|
|
5332
5332
|
};
|
|
5333
5333
|
id: string;
|
|
5334
5334
|
}, {
|
|
5335
5335
|
delegation: {
|
|
5336
5336
|
id: string;
|
|
5337
|
+
issuerDid: string;
|
|
5338
|
+
subjectDid: string;
|
|
5337
5339
|
constraints: {
|
|
5338
5340
|
scopes?: string[] | undefined;
|
|
5339
5341
|
audience?: string | string[] | undefined;
|
|
@@ -5385,17 +5387,15 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5385
5387
|
} & {
|
|
5386
5388
|
[k: string]: unknown;
|
|
5387
5389
|
};
|
|
5388
|
-
issuerDid: string;
|
|
5389
|
-
subjectDid: string;
|
|
5390
5390
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
5391
|
-
scopes?: string[] | undefined;
|
|
5392
5391
|
metadata?: Record<string, any> | undefined;
|
|
5393
|
-
|
|
5394
|
-
sessionId?: string | undefined;
|
|
5395
|
-
userDid?: string | undefined;
|
|
5392
|
+
scopes?: string[] | undefined;
|
|
5396
5393
|
controller?: string | undefined;
|
|
5397
5394
|
parentId?: string | undefined;
|
|
5395
|
+
createdAt?: number | undefined;
|
|
5396
|
+
userDid?: string | undefined;
|
|
5398
5397
|
userIdentifier?: string | undefined;
|
|
5398
|
+
sessionId?: string | undefined;
|
|
5399
5399
|
};
|
|
5400
5400
|
id: string;
|
|
5401
5401
|
}>;
|
|
@@ -5891,6 +5891,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5891
5891
|
}, "strip", z.ZodTypeAny, {
|
|
5892
5892
|
status: "active" | "revoked" | "expired";
|
|
5893
5893
|
id: string;
|
|
5894
|
+
issuerDid: string;
|
|
5895
|
+
subjectDid: string;
|
|
5894
5896
|
constraints: {
|
|
5895
5897
|
scopes?: string[] | undefined;
|
|
5896
5898
|
audience?: string | string[] | undefined;
|
|
@@ -5942,18 +5944,18 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5942
5944
|
} & {
|
|
5943
5945
|
[k: string]: unknown;
|
|
5944
5946
|
};
|
|
5945
|
-
issuerDid: string;
|
|
5946
|
-
subjectDid: string;
|
|
5947
|
-
scopes?: string[] | undefined;
|
|
5948
5947
|
metadata?: Record<string, any> | undefined;
|
|
5949
|
-
|
|
5950
|
-
sessionId?: string | undefined;
|
|
5951
|
-
userDid?: string | undefined;
|
|
5948
|
+
scopes?: string[] | undefined;
|
|
5952
5949
|
controller?: string | undefined;
|
|
5953
5950
|
parentId?: string | undefined;
|
|
5951
|
+
createdAt?: number | undefined;
|
|
5952
|
+
userDid?: string | undefined;
|
|
5954
5953
|
userIdentifier?: string | undefined;
|
|
5954
|
+
sessionId?: string | undefined;
|
|
5955
5955
|
}, {
|
|
5956
5956
|
id: string;
|
|
5957
|
+
issuerDid: string;
|
|
5958
|
+
subjectDid: string;
|
|
5957
5959
|
constraints: {
|
|
5958
5960
|
scopes?: string[] | undefined;
|
|
5959
5961
|
audience?: string | string[] | undefined;
|
|
@@ -6005,22 +6007,22 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6005
6007
|
} & {
|
|
6006
6008
|
[k: string]: unknown;
|
|
6007
6009
|
};
|
|
6008
|
-
issuerDid: string;
|
|
6009
|
-
subjectDid: string;
|
|
6010
6010
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
6011
|
-
scopes?: string[] | undefined;
|
|
6012
6011
|
metadata?: Record<string, any> | undefined;
|
|
6013
|
-
|
|
6014
|
-
sessionId?: string | undefined;
|
|
6015
|
-
userDid?: string | undefined;
|
|
6012
|
+
scopes?: string[] | undefined;
|
|
6016
6013
|
controller?: string | undefined;
|
|
6017
6014
|
parentId?: string | undefined;
|
|
6015
|
+
createdAt?: number | undefined;
|
|
6016
|
+
userDid?: string | undefined;
|
|
6018
6017
|
userIdentifier?: string | undefined;
|
|
6018
|
+
sessionId?: string | undefined;
|
|
6019
6019
|
}>;
|
|
6020
6020
|
}, "strip", z.ZodTypeAny, {
|
|
6021
6021
|
delegation: {
|
|
6022
6022
|
status: "active" | "revoked" | "expired";
|
|
6023
6023
|
id: string;
|
|
6024
|
+
issuerDid: string;
|
|
6025
|
+
subjectDid: string;
|
|
6024
6026
|
constraints: {
|
|
6025
6027
|
scopes?: string[] | undefined;
|
|
6026
6028
|
audience?: string | string[] | undefined;
|
|
@@ -6072,21 +6074,21 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6072
6074
|
} & {
|
|
6073
6075
|
[k: string]: unknown;
|
|
6074
6076
|
};
|
|
6075
|
-
issuerDid: string;
|
|
6076
|
-
subjectDid: string;
|
|
6077
|
-
scopes?: string[] | undefined;
|
|
6078
6077
|
metadata?: Record<string, any> | undefined;
|
|
6079
|
-
|
|
6080
|
-
sessionId?: string | undefined;
|
|
6081
|
-
userDid?: string | undefined;
|
|
6078
|
+
scopes?: string[] | undefined;
|
|
6082
6079
|
controller?: string | undefined;
|
|
6083
6080
|
parentId?: string | undefined;
|
|
6081
|
+
createdAt?: number | undefined;
|
|
6082
|
+
userDid?: string | undefined;
|
|
6084
6083
|
userIdentifier?: string | undefined;
|
|
6084
|
+
sessionId?: string | undefined;
|
|
6085
6085
|
};
|
|
6086
6086
|
id: string;
|
|
6087
6087
|
}, {
|
|
6088
6088
|
delegation: {
|
|
6089
6089
|
id: string;
|
|
6090
|
+
issuerDid: string;
|
|
6091
|
+
subjectDid: string;
|
|
6090
6092
|
constraints: {
|
|
6091
6093
|
scopes?: string[] | undefined;
|
|
6092
6094
|
audience?: string | string[] | undefined;
|
|
@@ -6138,17 +6140,15 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6138
6140
|
} & {
|
|
6139
6141
|
[k: string]: unknown;
|
|
6140
6142
|
};
|
|
6141
|
-
issuerDid: string;
|
|
6142
|
-
subjectDid: string;
|
|
6143
6143
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
6144
|
-
scopes?: string[] | undefined;
|
|
6145
6144
|
metadata?: Record<string, any> | undefined;
|
|
6146
|
-
|
|
6147
|
-
sessionId?: string | undefined;
|
|
6148
|
-
userDid?: string | undefined;
|
|
6145
|
+
scopes?: string[] | undefined;
|
|
6149
6146
|
controller?: string | undefined;
|
|
6150
6147
|
parentId?: string | undefined;
|
|
6148
|
+
createdAt?: number | undefined;
|
|
6149
|
+
userDid?: string | undefined;
|
|
6151
6150
|
userIdentifier?: string | undefined;
|
|
6151
|
+
sessionId?: string | undefined;
|
|
6152
6152
|
};
|
|
6153
6153
|
id: string;
|
|
6154
6154
|
}>;
|
|
@@ -6655,6 +6655,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6655
6655
|
}, "strip", z.ZodTypeAny, {
|
|
6656
6656
|
status: "active" | "revoked" | "expired";
|
|
6657
6657
|
id: string;
|
|
6658
|
+
issuerDid: string;
|
|
6659
|
+
subjectDid: string;
|
|
6658
6660
|
constraints: {
|
|
6659
6661
|
scopes?: string[] | undefined;
|
|
6660
6662
|
audience?: string | string[] | undefined;
|
|
@@ -6706,18 +6708,18 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6706
6708
|
} & {
|
|
6707
6709
|
[k: string]: unknown;
|
|
6708
6710
|
};
|
|
6709
|
-
issuerDid: string;
|
|
6710
|
-
subjectDid: string;
|
|
6711
|
-
scopes?: string[] | undefined;
|
|
6712
6711
|
metadata?: Record<string, any> | undefined;
|
|
6713
|
-
|
|
6714
|
-
sessionId?: string | undefined;
|
|
6715
|
-
userDid?: string | undefined;
|
|
6712
|
+
scopes?: string[] | undefined;
|
|
6716
6713
|
controller?: string | undefined;
|
|
6717
6714
|
parentId?: string | undefined;
|
|
6715
|
+
createdAt?: number | undefined;
|
|
6716
|
+
userDid?: string | undefined;
|
|
6718
6717
|
userIdentifier?: string | undefined;
|
|
6718
|
+
sessionId?: string | undefined;
|
|
6719
6719
|
}, {
|
|
6720
6720
|
id: string;
|
|
6721
|
+
issuerDid: string;
|
|
6722
|
+
subjectDid: string;
|
|
6721
6723
|
constraints: {
|
|
6722
6724
|
scopes?: string[] | undefined;
|
|
6723
6725
|
audience?: string | string[] | undefined;
|
|
@@ -6769,22 +6771,22 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6769
6771
|
} & {
|
|
6770
6772
|
[k: string]: unknown;
|
|
6771
6773
|
};
|
|
6772
|
-
issuerDid: string;
|
|
6773
|
-
subjectDid: string;
|
|
6774
6774
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
6775
|
-
scopes?: string[] | undefined;
|
|
6776
6775
|
metadata?: Record<string, any> | undefined;
|
|
6777
|
-
|
|
6778
|
-
sessionId?: string | undefined;
|
|
6779
|
-
userDid?: string | undefined;
|
|
6776
|
+
scopes?: string[] | undefined;
|
|
6780
6777
|
controller?: string | undefined;
|
|
6781
6778
|
parentId?: string | undefined;
|
|
6779
|
+
createdAt?: number | undefined;
|
|
6780
|
+
userDid?: string | undefined;
|
|
6782
6781
|
userIdentifier?: string | undefined;
|
|
6782
|
+
sessionId?: string | undefined;
|
|
6783
6783
|
}>;
|
|
6784
6784
|
}, "strip", z.ZodTypeAny, {
|
|
6785
6785
|
delegation: {
|
|
6786
6786
|
status: "active" | "revoked" | "expired";
|
|
6787
6787
|
id: string;
|
|
6788
|
+
issuerDid: string;
|
|
6789
|
+
subjectDid: string;
|
|
6788
6790
|
constraints: {
|
|
6789
6791
|
scopes?: string[] | undefined;
|
|
6790
6792
|
audience?: string | string[] | undefined;
|
|
@@ -6836,21 +6838,21 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6836
6838
|
} & {
|
|
6837
6839
|
[k: string]: unknown;
|
|
6838
6840
|
};
|
|
6839
|
-
issuerDid: string;
|
|
6840
|
-
subjectDid: string;
|
|
6841
|
-
scopes?: string[] | undefined;
|
|
6842
6841
|
metadata?: Record<string, any> | undefined;
|
|
6843
|
-
|
|
6844
|
-
sessionId?: string | undefined;
|
|
6845
|
-
userDid?: string | undefined;
|
|
6842
|
+
scopes?: string[] | undefined;
|
|
6846
6843
|
controller?: string | undefined;
|
|
6847
6844
|
parentId?: string | undefined;
|
|
6845
|
+
createdAt?: number | undefined;
|
|
6846
|
+
userDid?: string | undefined;
|
|
6848
6847
|
userIdentifier?: string | undefined;
|
|
6848
|
+
sessionId?: string | undefined;
|
|
6849
6849
|
};
|
|
6850
6850
|
id: string;
|
|
6851
6851
|
}, {
|
|
6852
6852
|
delegation: {
|
|
6853
6853
|
id: string;
|
|
6854
|
+
issuerDid: string;
|
|
6855
|
+
subjectDid: string;
|
|
6854
6856
|
constraints: {
|
|
6855
6857
|
scopes?: string[] | undefined;
|
|
6856
6858
|
audience?: string | string[] | undefined;
|
|
@@ -6902,17 +6904,15 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6902
6904
|
} & {
|
|
6903
6905
|
[k: string]: unknown;
|
|
6904
6906
|
};
|
|
6905
|
-
issuerDid: string;
|
|
6906
|
-
subjectDid: string;
|
|
6907
6907
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
6908
|
-
scopes?: string[] | undefined;
|
|
6909
6908
|
metadata?: Record<string, any> | undefined;
|
|
6910
|
-
|
|
6911
|
-
sessionId?: string | undefined;
|
|
6912
|
-
userDid?: string | undefined;
|
|
6909
|
+
scopes?: string[] | undefined;
|
|
6913
6910
|
controller?: string | undefined;
|
|
6914
6911
|
parentId?: string | undefined;
|
|
6912
|
+
createdAt?: number | undefined;
|
|
6913
|
+
userDid?: string | undefined;
|
|
6915
6914
|
userIdentifier?: string | undefined;
|
|
6915
|
+
sessionId?: string | undefined;
|
|
6916
6916
|
};
|
|
6917
6917
|
id: string;
|
|
6918
6918
|
}>;
|
|
@@ -7419,6 +7419,8 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7419
7419
|
}, "strip", z.ZodTypeAny, {
|
|
7420
7420
|
status: "active" | "revoked" | "expired";
|
|
7421
7421
|
id: string;
|
|
7422
|
+
issuerDid: string;
|
|
7423
|
+
subjectDid: string;
|
|
7422
7424
|
constraints: {
|
|
7423
7425
|
scopes?: string[] | undefined;
|
|
7424
7426
|
audience?: string | string[] | undefined;
|
|
@@ -7470,18 +7472,18 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7470
7472
|
} & {
|
|
7471
7473
|
[k: string]: unknown;
|
|
7472
7474
|
};
|
|
7473
|
-
issuerDid: string;
|
|
7474
|
-
subjectDid: string;
|
|
7475
|
-
scopes?: string[] | undefined;
|
|
7476
7475
|
metadata?: Record<string, any> | undefined;
|
|
7477
|
-
|
|
7478
|
-
sessionId?: string | undefined;
|
|
7479
|
-
userDid?: string | undefined;
|
|
7476
|
+
scopes?: string[] | undefined;
|
|
7480
7477
|
controller?: string | undefined;
|
|
7481
7478
|
parentId?: string | undefined;
|
|
7479
|
+
createdAt?: number | undefined;
|
|
7480
|
+
userDid?: string | undefined;
|
|
7482
7481
|
userIdentifier?: string | undefined;
|
|
7482
|
+
sessionId?: string | undefined;
|
|
7483
7483
|
}, {
|
|
7484
7484
|
id: string;
|
|
7485
|
+
issuerDid: string;
|
|
7486
|
+
subjectDid: string;
|
|
7485
7487
|
constraints: {
|
|
7486
7488
|
scopes?: string[] | undefined;
|
|
7487
7489
|
audience?: string | string[] | undefined;
|
|
@@ -7533,22 +7535,22 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7533
7535
|
} & {
|
|
7534
7536
|
[k: string]: unknown;
|
|
7535
7537
|
};
|
|
7536
|
-
issuerDid: string;
|
|
7537
|
-
subjectDid: string;
|
|
7538
7538
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
7539
|
-
scopes?: string[] | undefined;
|
|
7540
7539
|
metadata?: Record<string, any> | undefined;
|
|
7541
|
-
|
|
7542
|
-
sessionId?: string | undefined;
|
|
7543
|
-
userDid?: string | undefined;
|
|
7540
|
+
scopes?: string[] | undefined;
|
|
7544
7541
|
controller?: string | undefined;
|
|
7545
7542
|
parentId?: string | undefined;
|
|
7543
|
+
createdAt?: number | undefined;
|
|
7544
|
+
userDid?: string | undefined;
|
|
7546
7545
|
userIdentifier?: string | undefined;
|
|
7546
|
+
sessionId?: string | undefined;
|
|
7547
7547
|
}>;
|
|
7548
7548
|
}, "strip", z.ZodTypeAny, {
|
|
7549
7549
|
delegation: {
|
|
7550
7550
|
status: "active" | "revoked" | "expired";
|
|
7551
7551
|
id: string;
|
|
7552
|
+
issuerDid: string;
|
|
7553
|
+
subjectDid: string;
|
|
7552
7554
|
constraints: {
|
|
7553
7555
|
scopes?: string[] | undefined;
|
|
7554
7556
|
audience?: string | string[] | undefined;
|
|
@@ -7600,21 +7602,21 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7600
7602
|
} & {
|
|
7601
7603
|
[k: string]: unknown;
|
|
7602
7604
|
};
|
|
7603
|
-
issuerDid: string;
|
|
7604
|
-
subjectDid: string;
|
|
7605
|
-
scopes?: string[] | undefined;
|
|
7606
7605
|
metadata?: Record<string, any> | undefined;
|
|
7607
|
-
|
|
7608
|
-
sessionId?: string | undefined;
|
|
7609
|
-
userDid?: string | undefined;
|
|
7606
|
+
scopes?: string[] | undefined;
|
|
7610
7607
|
controller?: string | undefined;
|
|
7611
7608
|
parentId?: string | undefined;
|
|
7609
|
+
createdAt?: number | undefined;
|
|
7610
|
+
userDid?: string | undefined;
|
|
7612
7611
|
userIdentifier?: string | undefined;
|
|
7612
|
+
sessionId?: string | undefined;
|
|
7613
7613
|
};
|
|
7614
7614
|
id: string;
|
|
7615
7615
|
}, {
|
|
7616
7616
|
delegation: {
|
|
7617
7617
|
id: string;
|
|
7618
|
+
issuerDid: string;
|
|
7619
|
+
subjectDid: string;
|
|
7618
7620
|
constraints: {
|
|
7619
7621
|
scopes?: string[] | undefined;
|
|
7620
7622
|
audience?: string | string[] | undefined;
|
|
@@ -7666,17 +7668,15 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7666
7668
|
} & {
|
|
7667
7669
|
[k: string]: unknown;
|
|
7668
7670
|
};
|
|
7669
|
-
issuerDid: string;
|
|
7670
|
-
subjectDid: string;
|
|
7671
7671
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
7672
|
-
scopes?: string[] | undefined;
|
|
7673
7672
|
metadata?: Record<string, any> | undefined;
|
|
7674
|
-
|
|
7675
|
-
sessionId?: string | undefined;
|
|
7676
|
-
userDid?: string | undefined;
|
|
7673
|
+
scopes?: string[] | undefined;
|
|
7677
7674
|
controller?: string | undefined;
|
|
7678
7675
|
parentId?: string | undefined;
|
|
7676
|
+
createdAt?: number | undefined;
|
|
7677
|
+
userDid?: string | undefined;
|
|
7679
7678
|
userIdentifier?: string | undefined;
|
|
7679
|
+
sessionId?: string | undefined;
|
|
7680
7680
|
};
|
|
7681
7681
|
id: string;
|
|
7682
7682
|
}>;
|
|
@@ -8191,6 +8191,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8191
8191
|
}, "strip", z.ZodTypeAny, {
|
|
8192
8192
|
status: "active" | "revoked" | "expired";
|
|
8193
8193
|
id: string;
|
|
8194
|
+
issuerDid: string;
|
|
8195
|
+
subjectDid: string;
|
|
8194
8196
|
constraints: {
|
|
8195
8197
|
scopes?: string[] | undefined;
|
|
8196
8198
|
audience?: string | string[] | undefined;
|
|
@@ -8242,18 +8244,18 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8242
8244
|
} & {
|
|
8243
8245
|
[k: string]: unknown;
|
|
8244
8246
|
};
|
|
8245
|
-
issuerDid: string;
|
|
8246
|
-
subjectDid: string;
|
|
8247
|
-
scopes?: string[] | undefined;
|
|
8248
8247
|
metadata?: Record<string, any> | undefined;
|
|
8249
|
-
|
|
8250
|
-
sessionId?: string | undefined;
|
|
8251
|
-
userDid?: string | undefined;
|
|
8248
|
+
scopes?: string[] | undefined;
|
|
8252
8249
|
controller?: string | undefined;
|
|
8253
8250
|
parentId?: string | undefined;
|
|
8251
|
+
createdAt?: number | undefined;
|
|
8252
|
+
userDid?: string | undefined;
|
|
8254
8253
|
userIdentifier?: string | undefined;
|
|
8254
|
+
sessionId?: string | undefined;
|
|
8255
8255
|
}, {
|
|
8256
8256
|
id: string;
|
|
8257
|
+
issuerDid: string;
|
|
8258
|
+
subjectDid: string;
|
|
8257
8259
|
constraints: {
|
|
8258
8260
|
scopes?: string[] | undefined;
|
|
8259
8261
|
audience?: string | string[] | undefined;
|
|
@@ -8305,22 +8307,22 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8305
8307
|
} & {
|
|
8306
8308
|
[k: string]: unknown;
|
|
8307
8309
|
};
|
|
8308
|
-
issuerDid: string;
|
|
8309
|
-
subjectDid: string;
|
|
8310
8310
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
8311
|
-
scopes?: string[] | undefined;
|
|
8312
8311
|
metadata?: Record<string, any> | undefined;
|
|
8313
|
-
|
|
8314
|
-
sessionId?: string | undefined;
|
|
8315
|
-
userDid?: string | undefined;
|
|
8312
|
+
scopes?: string[] | undefined;
|
|
8316
8313
|
controller?: string | undefined;
|
|
8317
8314
|
parentId?: string | undefined;
|
|
8315
|
+
createdAt?: number | undefined;
|
|
8316
|
+
userDid?: string | undefined;
|
|
8318
8317
|
userIdentifier?: string | undefined;
|
|
8318
|
+
sessionId?: string | undefined;
|
|
8319
8319
|
}>;
|
|
8320
8320
|
}, "strip", z.ZodTypeAny, {
|
|
8321
8321
|
delegation: {
|
|
8322
8322
|
status: "active" | "revoked" | "expired";
|
|
8323
8323
|
id: string;
|
|
8324
|
+
issuerDid: string;
|
|
8325
|
+
subjectDid: string;
|
|
8324
8326
|
constraints: {
|
|
8325
8327
|
scopes?: string[] | undefined;
|
|
8326
8328
|
audience?: string | string[] | undefined;
|
|
@@ -8372,21 +8374,21 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8372
8374
|
} & {
|
|
8373
8375
|
[k: string]: unknown;
|
|
8374
8376
|
};
|
|
8375
|
-
issuerDid: string;
|
|
8376
|
-
subjectDid: string;
|
|
8377
|
-
scopes?: string[] | undefined;
|
|
8378
8377
|
metadata?: Record<string, any> | undefined;
|
|
8379
|
-
|
|
8380
|
-
sessionId?: string | undefined;
|
|
8381
|
-
userDid?: string | undefined;
|
|
8378
|
+
scopes?: string[] | undefined;
|
|
8382
8379
|
controller?: string | undefined;
|
|
8383
8380
|
parentId?: string | undefined;
|
|
8381
|
+
createdAt?: number | undefined;
|
|
8382
|
+
userDid?: string | undefined;
|
|
8384
8383
|
userIdentifier?: string | undefined;
|
|
8384
|
+
sessionId?: string | undefined;
|
|
8385
8385
|
};
|
|
8386
8386
|
id: string;
|
|
8387
8387
|
}, {
|
|
8388
8388
|
delegation: {
|
|
8389
8389
|
id: string;
|
|
8390
|
+
issuerDid: string;
|
|
8391
|
+
subjectDid: string;
|
|
8390
8392
|
constraints: {
|
|
8391
8393
|
scopes?: string[] | undefined;
|
|
8392
8394
|
audience?: string | string[] | undefined;
|
|
@@ -8438,17 +8440,15 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8438
8440
|
} & {
|
|
8439
8441
|
[k: string]: unknown;
|
|
8440
8442
|
};
|
|
8441
|
-
issuerDid: string;
|
|
8442
|
-
subjectDid: string;
|
|
8443
8443
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
8444
|
-
scopes?: string[] | undefined;
|
|
8445
8444
|
metadata?: Record<string, any> | undefined;
|
|
8446
|
-
|
|
8447
|
-
sessionId?: string | undefined;
|
|
8448
|
-
userDid?: string | undefined;
|
|
8445
|
+
scopes?: string[] | undefined;
|
|
8449
8446
|
controller?: string | undefined;
|
|
8450
8447
|
parentId?: string | undefined;
|
|
8448
|
+
createdAt?: number | undefined;
|
|
8449
|
+
userDid?: string | undefined;
|
|
8451
8450
|
userIdentifier?: string | undefined;
|
|
8451
|
+
sessionId?: string | undefined;
|
|
8452
8452
|
};
|
|
8453
8453
|
id: string;
|
|
8454
8454
|
}>;
|
|
@@ -8955,6 +8955,8 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8955
8955
|
}, "strip", z.ZodTypeAny, {
|
|
8956
8956
|
status: "active" | "revoked" | "expired";
|
|
8957
8957
|
id: string;
|
|
8958
|
+
issuerDid: string;
|
|
8959
|
+
subjectDid: string;
|
|
8958
8960
|
constraints: {
|
|
8959
8961
|
scopes?: string[] | undefined;
|
|
8960
8962
|
audience?: string | string[] | undefined;
|
|
@@ -9006,18 +9008,18 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9006
9008
|
} & {
|
|
9007
9009
|
[k: string]: unknown;
|
|
9008
9010
|
};
|
|
9009
|
-
issuerDid: string;
|
|
9010
|
-
subjectDid: string;
|
|
9011
|
-
scopes?: string[] | undefined;
|
|
9012
9011
|
metadata?: Record<string, any> | undefined;
|
|
9013
|
-
|
|
9014
|
-
sessionId?: string | undefined;
|
|
9015
|
-
userDid?: string | undefined;
|
|
9012
|
+
scopes?: string[] | undefined;
|
|
9016
9013
|
controller?: string | undefined;
|
|
9017
9014
|
parentId?: string | undefined;
|
|
9015
|
+
createdAt?: number | undefined;
|
|
9016
|
+
userDid?: string | undefined;
|
|
9018
9017
|
userIdentifier?: string | undefined;
|
|
9018
|
+
sessionId?: string | undefined;
|
|
9019
9019
|
}, {
|
|
9020
9020
|
id: string;
|
|
9021
|
+
issuerDid: string;
|
|
9022
|
+
subjectDid: string;
|
|
9021
9023
|
constraints: {
|
|
9022
9024
|
scopes?: string[] | undefined;
|
|
9023
9025
|
audience?: string | string[] | undefined;
|
|
@@ -9069,22 +9071,22 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9069
9071
|
} & {
|
|
9070
9072
|
[k: string]: unknown;
|
|
9071
9073
|
};
|
|
9072
|
-
issuerDid: string;
|
|
9073
|
-
subjectDid: string;
|
|
9074
9074
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
9075
|
-
scopes?: string[] | undefined;
|
|
9076
9075
|
metadata?: Record<string, any> | undefined;
|
|
9077
|
-
|
|
9078
|
-
sessionId?: string | undefined;
|
|
9079
|
-
userDid?: string | undefined;
|
|
9076
|
+
scopes?: string[] | undefined;
|
|
9080
9077
|
controller?: string | undefined;
|
|
9081
9078
|
parentId?: string | undefined;
|
|
9079
|
+
createdAt?: number | undefined;
|
|
9080
|
+
userDid?: string | undefined;
|
|
9082
9081
|
userIdentifier?: string | undefined;
|
|
9082
|
+
sessionId?: string | undefined;
|
|
9083
9083
|
}>;
|
|
9084
9084
|
}, "strip", z.ZodTypeAny, {
|
|
9085
9085
|
delegation: {
|
|
9086
9086
|
status: "active" | "revoked" | "expired";
|
|
9087
9087
|
id: string;
|
|
9088
|
+
issuerDid: string;
|
|
9089
|
+
subjectDid: string;
|
|
9088
9090
|
constraints: {
|
|
9089
9091
|
scopes?: string[] | undefined;
|
|
9090
9092
|
audience?: string | string[] | undefined;
|
|
@@ -9136,21 +9138,21 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9136
9138
|
} & {
|
|
9137
9139
|
[k: string]: unknown;
|
|
9138
9140
|
};
|
|
9139
|
-
issuerDid: string;
|
|
9140
|
-
subjectDid: string;
|
|
9141
|
-
scopes?: string[] | undefined;
|
|
9142
9141
|
metadata?: Record<string, any> | undefined;
|
|
9143
|
-
|
|
9144
|
-
sessionId?: string | undefined;
|
|
9145
|
-
userDid?: string | undefined;
|
|
9142
|
+
scopes?: string[] | undefined;
|
|
9146
9143
|
controller?: string | undefined;
|
|
9147
9144
|
parentId?: string | undefined;
|
|
9145
|
+
createdAt?: number | undefined;
|
|
9146
|
+
userDid?: string | undefined;
|
|
9148
9147
|
userIdentifier?: string | undefined;
|
|
9148
|
+
sessionId?: string | undefined;
|
|
9149
9149
|
};
|
|
9150
9150
|
id: string;
|
|
9151
9151
|
}, {
|
|
9152
9152
|
delegation: {
|
|
9153
9153
|
id: string;
|
|
9154
|
+
issuerDid: string;
|
|
9155
|
+
subjectDid: string;
|
|
9154
9156
|
constraints: {
|
|
9155
9157
|
scopes?: string[] | undefined;
|
|
9156
9158
|
audience?: string | string[] | undefined;
|
|
@@ -9202,17 +9204,15 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9202
9204
|
} & {
|
|
9203
9205
|
[k: string]: unknown;
|
|
9204
9206
|
};
|
|
9205
|
-
issuerDid: string;
|
|
9206
|
-
subjectDid: string;
|
|
9207
9207
|
status?: "active" | "revoked" | "expired" | undefined;
|
|
9208
|
-
scopes?: string[] | undefined;
|
|
9209
9208
|
metadata?: Record<string, any> | undefined;
|
|
9210
|
-
|
|
9211
|
-
sessionId?: string | undefined;
|
|
9212
|
-
userDid?: string | undefined;
|
|
9209
|
+
scopes?: string[] | undefined;
|
|
9213
9210
|
controller?: string | undefined;
|
|
9214
9211
|
parentId?: string | undefined;
|
|
9212
|
+
createdAt?: number | undefined;
|
|
9213
|
+
userDid?: string | undefined;
|
|
9215
9214
|
userIdentifier?: string | undefined;
|
|
9215
|
+
sessionId?: string | undefined;
|
|
9216
9216
|
};
|
|
9217
9217
|
id: string;
|
|
9218
9218
|
}>;
|