@kya-os/contracts 1.7.32 → 1.7.33
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/__fixtures__/index.d.ts +8 -0
- package/dist/__fixtures__/index.d.ts.map +1 -0
- package/dist/__fixtures__/index.js +29 -0
- package/dist/__fixtures__/index.js.map +1 -0
- package/dist/__fixtures__/proof/ed25519-fixtures.d.ts +253 -0
- package/dist/__fixtures__/proof/ed25519-fixtures.d.ts.map +1 -0
- package/dist/__fixtures__/proof/ed25519-fixtures.js +247 -0
- package/dist/__fixtures__/proof/ed25519-fixtures.js.map +1 -0
- package/dist/__fixtures__/proof/keys-and-payloads.json +103 -0
- package/dist/agent-deployment-utils.d.ts +1 -0
- package/dist/agent-deployment-utils.d.ts.map +1 -0
- package/dist/agent-deployment-utils.js +1 -0
- package/dist/agent-deployment-utils.js.map +1 -0
- package/dist/agent-deployment.d.ts +19 -18
- package/dist/agent-deployment.d.ts.map +1 -0
- package/dist/agent-deployment.js +1 -0
- package/dist/agent-deployment.js.map +1 -0
- package/dist/agentshield-api/admin-schemas.d.ts +3 -2
- package/dist/agentshield-api/admin-schemas.d.ts.map +1 -0
- package/dist/agentshield-api/admin-schemas.js +1 -0
- package/dist/agentshield-api/admin-schemas.js.map +1 -0
- package/dist/agentshield-api/admin-types.d.ts +1 -0
- package/dist/agentshield-api/admin-types.d.ts.map +1 -0
- package/dist/agentshield-api/admin-types.js +1 -0
- package/dist/agentshield-api/admin-types.js.map +1 -0
- package/dist/agentshield-api/endpoints.d.ts +1 -0
- package/dist/agentshield-api/endpoints.d.ts.map +1 -0
- package/dist/agentshield-api/endpoints.js +1 -0
- package/dist/agentshield-api/endpoints.js.map +1 -0
- package/dist/agentshield-api/index.d.ts +1 -0
- package/dist/agentshield-api/index.d.ts.map +1 -0
- package/dist/agentshield-api/index.js +1 -0
- package/dist/agentshield-api/index.js.map +1 -0
- package/dist/agentshield-api/schemas.d.ts +463 -462
- package/dist/agentshield-api/schemas.d.ts.map +1 -0
- package/dist/agentshield-api/schemas.js +1 -0
- package/dist/agentshield-api/schemas.js.map +1 -0
- package/dist/agentshield-api/types.d.ts +1 -0
- package/dist/agentshield-api/types.d.ts.map +1 -0
- package/dist/agentshield-api/types.js +1 -0
- package/dist/agentshield-api/types.js.map +1 -0
- package/dist/audit/index.d.ts +4 -4
- package/dist/audit/index.d.ts.map +1 -0
- package/dist/audit/index.js.map +1 -0
- package/dist/cli.d.ts +45 -44
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1 -0
- package/dist/cli.js.map +1 -0
- package/dist/compute-binding.d.ts +7 -6
- package/dist/compute-binding.d.ts.map +1 -0
- package/dist/compute-binding.js +1 -0
- package/dist/compute-binding.js.map +1 -0
- package/dist/compute.d.ts +9 -8
- package/dist/compute.d.ts.map +1 -0
- package/dist/compute.js +1 -0
- package/dist/compute.js.map +1 -0
- package/dist/config/base.d.ts +1 -0
- package/dist/config/base.d.ts.map +1 -0
- package/dist/config/base.js +1 -0
- package/dist/config/base.js.map +1 -0
- package/dist/config/builder.d.ts +1 -0
- package/dist/config/builder.d.ts.map +1 -0
- package/dist/config/builder.js +1 -0
- package/dist/config/builder.js.map +1 -0
- package/dist/config/client-messages.d.ts +1 -0
- package/dist/config/client-messages.d.ts.map +1 -0
- package/dist/config/client-messages.js +1 -0
- package/dist/config/client-messages.js.map +1 -0
- package/dist/config/delegation.d.ts +1 -0
- package/dist/config/delegation.d.ts.map +1 -0
- package/dist/config/delegation.js +1 -0
- package/dist/config/delegation.js.map +1 -0
- package/dist/config/identity.d.ts +99 -98
- package/dist/config/identity.d.ts.map +1 -0
- package/dist/config/identity.js +1 -0
- package/dist/config/identity.js.map +1 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/proofing.d.ts +1 -0
- package/dist/config/proofing.d.ts.map +1 -0
- package/dist/config/proofing.js +1 -0
- package/dist/config/proofing.js.map +1 -0
- package/dist/config/tool-context.d.ts +1 -0
- package/dist/config/tool-context.d.ts.map +1 -0
- package/dist/config/tool-context.js +1 -0
- package/dist/config/tool-context.js.map +1 -0
- package/dist/config/tool-protection.d.ts +1 -0
- package/dist/config/tool-protection.d.ts.map +1 -0
- package/dist/config/tool-protection.js.map +1 -0
- package/dist/consent/index.d.ts +1 -0
- package/dist/consent/index.d.ts.map +1 -0
- package/dist/consent/index.js +1 -0
- package/dist/consent/index.js.map +1 -0
- package/dist/consent/schemas.d.ts +73 -72
- package/dist/consent/schemas.d.ts.map +1 -0
- package/dist/consent/schemas.js +1 -0
- package/dist/consent/schemas.js.map +1 -0
- package/dist/consent/types.d.ts +1 -0
- package/dist/consent/types.d.ts.map +1 -0
- package/dist/consent/types.js +1 -0
- package/dist/consent/types.js.map +1 -0
- package/dist/dashboard-config/default-config.d.ts +1 -0
- package/dist/dashboard-config/default-config.d.ts.map +1 -0
- package/dist/dashboard-config/default-config.js.map +1 -0
- package/dist/dashboard-config/index.d.ts +1 -0
- package/dist/dashboard-config/index.d.ts.map +1 -0
- package/dist/dashboard-config/index.js.map +1 -0
- package/dist/dashboard-config/schemas.d.ts +2905 -2381
- package/dist/dashboard-config/schemas.d.ts.map +1 -0
- package/dist/dashboard-config/schemas.js.map +1 -0
- package/dist/dashboard-config/types.d.ts +1 -0
- package/dist/dashboard-config/types.d.ts.map +1 -0
- package/dist/dashboard-config/types.js.map +1 -0
- package/dist/delegation/constraints.d.ts +33 -32
- package/dist/delegation/constraints.d.ts.map +1 -0
- package/dist/delegation/constraints.js +1 -0
- package/dist/delegation/constraints.js.map +1 -0
- package/dist/delegation/index.d.ts +1 -0
- package/dist/delegation/index.d.ts.map +1 -0
- package/dist/delegation/index.js +1 -0
- package/dist/delegation/index.js.map +1 -0
- package/dist/delegation/schemas.d.ts +611 -610
- package/dist/delegation/schemas.d.ts.map +1 -0
- package/dist/delegation/schemas.js +1 -0
- package/dist/delegation/schemas.js.map +1 -0
- package/dist/deploy/index.d.ts +1 -0
- package/dist/deploy/index.d.ts.map +1 -0
- package/dist/deploy/index.js +1 -0
- package/dist/deploy/index.js.map +1 -0
- package/dist/deploy/schemas.d.ts +85 -84
- package/dist/deploy/schemas.d.ts.map +1 -0
- package/dist/deploy/schemas.js +1 -0
- package/dist/deploy/schemas.js.map +1 -0
- package/dist/deploy/types.d.ts +1 -0
- package/dist/deploy/types.d.ts.map +1 -0
- package/dist/deploy/types.js +1 -0
- package/dist/deploy/types.js.map +1 -0
- package/dist/did/index.d.ts +1 -0
- package/dist/did/index.d.ts.map +1 -0
- package/dist/did/index.js +1 -0
- package/dist/did/index.js.map +1 -0
- package/dist/did/resolve-contract.d.ts +1 -0
- package/dist/did/resolve-contract.d.ts.map +1 -0
- package/dist/did/resolve-contract.js +1 -0
- package/dist/did/resolve-contract.js.map +1 -0
- package/dist/did/schemas.d.ts +1 -0
- package/dist/did/schemas.d.ts.map +1 -0
- package/dist/did/schemas.js +1 -0
- package/dist/did/schemas.js.map +1 -0
- package/dist/did/types.d.ts +1 -0
- package/dist/did/types.d.ts.map +1 -0
- package/dist/did/types.js +1 -0
- package/dist/did/types.js.map +1 -0
- package/dist/env/constants.d.ts +1 -0
- package/dist/env/constants.d.ts.map +1 -0
- package/dist/env/constants.js +1 -0
- package/dist/env/constants.js.map +1 -0
- package/dist/env/index.d.ts +1 -0
- package/dist/env/index.d.ts.map +1 -0
- package/dist/env/index.js +1 -0
- package/dist/env/index.js.map +1 -0
- package/dist/gateway/agents.d.ts +22 -0
- package/dist/gateway/agents.d.ts.map +1 -0
- package/dist/gateway/agents.js +13 -0
- package/dist/gateway/agents.js.map +1 -0
- package/dist/gateway/cron.d.ts +34 -0
- package/dist/gateway/cron.d.ts.map +1 -0
- package/dist/gateway/cron.js +17 -0
- package/dist/gateway/cron.js.map +1 -0
- package/dist/gateway/index.d.ts +16 -574
- package/dist/gateway/index.d.ts.map +1 -0
- package/dist/gateway/index.js +30 -95
- package/dist/gateway/index.js.map +1 -0
- package/dist/gateway/sessions.d.ts +31 -0
- package/dist/gateway/sessions.d.ts.map +1 -0
- package/dist/gateway/sessions.js +16 -0
- package/dist/gateway/sessions.js.map +1 -0
- package/dist/gateway/skills.d.ts +446 -0
- package/dist/gateway/skills.d.ts.map +1 -0
- package/dist/gateway/skills.js +48 -0
- package/dist/gateway/skills.js.map +1 -0
- package/dist/gateway/usage.d.ts +44 -0
- package/dist/gateway/usage.d.ts.map +1 -0
- package/dist/gateway/usage.js +19 -0
- package/dist/gateway/usage.js.map +1 -0
- package/dist/handshake.d.ts +79 -56
- package/dist/handshake.d.ts.map +1 -0
- package/dist/handshake.js +17 -0
- package/dist/handshake.js.map +1 -0
- package/dist/identity/index.d.ts +1 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/index.js +1 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/schemas.d.ts +1 -0
- package/dist/identity/schemas.d.ts.map +1 -0
- package/dist/identity/schemas.js +1 -0
- package/dist/identity/schemas.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/molti/admin-ws.d.ts +117 -116
- package/dist/molti/admin-ws.d.ts.map +1 -0
- package/dist/molti/admin-ws.js +1 -0
- package/dist/molti/admin-ws.js.map +1 -0
- package/dist/molti/index.d.ts +1 -0
- package/dist/molti/index.d.ts.map +1 -0
- package/dist/molti/index.js +1 -0
- package/dist/molti/index.js.map +1 -0
- package/dist/molti/schemas.d.ts +99 -98
- package/dist/molti/schemas.d.ts.map +1 -0
- package/dist/molti/schemas.js +1 -0
- package/dist/molti/schemas.js.map +1 -0
- package/dist/molti/types.d.ts +1 -0
- package/dist/molti/types.d.ts.map +1 -0
- package/dist/molti/types.js +1 -0
- package/dist/molti/types.js.map +1 -0
- package/dist/org-secret-definitions.d.ts +18 -0
- package/dist/org-secret-definitions.js +72 -0
- package/dist/pairing/index.d.ts +1 -0
- package/dist/pairing/index.d.ts.map +1 -0
- package/dist/pairing/index.js +1 -0
- package/dist/pairing/index.js.map +1 -0
- package/dist/policy/index.d.ts +1 -0
- package/dist/policy/index.d.ts.map +1 -0
- package/dist/policy/index.js +1 -0
- package/dist/policy/index.js.map +1 -0
- package/dist/policy/schemas.d.ts +554 -553
- package/dist/policy/schemas.d.ts.map +1 -0
- package/dist/policy/schemas.js +1 -0
- package/dist/policy/schemas.js.map +1 -0
- package/dist/proof/index.d.ts +1 -0
- package/dist/proof/index.d.ts.map +1 -0
- package/dist/proof/index.js +1 -0
- package/dist/proof/index.js.map +1 -0
- package/dist/proof/proof-record.d.ts +49 -48
- package/dist/proof/proof-record.d.ts.map +1 -0
- package/dist/proof/proof-record.js +1 -0
- package/dist/proof/proof-record.js.map +1 -0
- package/dist/proof/signing-spec.d.ts +9 -8
- package/dist/proof/signing-spec.d.ts.map +1 -0
- package/dist/proof/signing-spec.js +1 -0
- package/dist/proof/signing-spec.js.map +1 -0
- package/dist/proof.d.ts +69 -68
- package/dist/proof.d.ts.map +1 -0
- package/dist/proof.js +1 -0
- package/dist/proof.js.map +1 -0
- package/dist/registry.d.ts +25 -24
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +1 -0
- package/dist/registry.js.map +1 -0
- package/dist/reputation/api.d.ts +157 -156
- package/dist/reputation/api.d.ts.map +1 -0
- package/dist/reputation/api.js +1 -0
- package/dist/reputation/api.js.map +1 -0
- package/dist/reputation/constants.d.ts +1 -0
- package/dist/reputation/constants.d.ts.map +1 -0
- package/dist/reputation/constants.js +1 -0
- package/dist/reputation/constants.js.map +1 -0
- package/dist/reputation/credentials.d.ts +49 -48
- package/dist/reputation/credentials.d.ts.map +1 -0
- package/dist/reputation/credentials.js +1 -0
- package/dist/reputation/credentials.js.map +1 -0
- package/dist/reputation/index.d.ts +1 -0
- package/dist/reputation/index.d.ts.map +1 -0
- package/dist/reputation/index.js +1 -0
- package/dist/reputation/index.js.map +1 -0
- package/dist/reputation/schemas.d.ts +49 -48
- package/dist/reputation/schemas.d.ts.map +1 -0
- package/dist/reputation/schemas.js +1 -0
- package/dist/reputation/schemas.js.map +1 -0
- package/dist/runtime/errors.d.ts +1 -0
- package/dist/runtime/errors.d.ts.map +1 -0
- package/dist/runtime/errors.js +1 -0
- package/dist/runtime/errors.js.map +1 -0
- package/dist/runtime/headers.d.ts +1 -0
- package/dist/runtime/headers.d.ts.map +1 -0
- package/dist/runtime/headers.js +1 -0
- package/dist/runtime/headers.js.map +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/test.d.ts +23 -22
- package/dist/test.d.ts.map +1 -0
- package/dist/test.js +1 -0
- package/dist/test.js.map +1 -0
- package/dist/tlkrc/index.d.ts +1 -0
- package/dist/tlkrc/index.d.ts.map +1 -0
- package/dist/tlkrc/index.js +1 -0
- package/dist/tlkrc/index.js.map +1 -0
- package/dist/tlkrc/rotation.d.ts +13 -12
- package/dist/tlkrc/rotation.d.ts.map +1 -0
- package/dist/tlkrc/rotation.js +1 -0
- package/dist/tlkrc/rotation.js.map +1 -0
- package/dist/tool-protection/index.d.ts +203 -48
- package/dist/tool-protection/index.d.ts.map +1 -0
- package/dist/tool-protection/index.js +58 -1
- package/dist/tool-protection/index.js.map +1 -0
- package/dist/utils/validation.d.ts +1 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +1 -0
- package/dist/utils/validation.js.map +1 -0
- package/dist/vault/audit-events.d.ts +21 -0
- package/dist/vault/audit-events.js +23 -0
- package/dist/vault/index.d.ts +10 -0
- package/dist/vault/index.js +18 -0
- package/dist/vault/schemas.d.ts +71 -0
- package/dist/vault/schemas.js +52 -0
- package/dist/vault/types.d.ts +15 -0
- package/dist/vault/types.js +9 -0
- package/dist/vc/index.d.ts +1 -0
- package/dist/vc/index.d.ts.map +1 -0
- package/dist/vc/index.js +1 -0
- package/dist/vc/index.js.map +1 -0
- package/dist/vc/schemas.d.ts +1 -0
- package/dist/vc/schemas.d.ts.map +1 -0
- package/dist/vc/schemas.js +1 -0
- package/dist/vc/schemas.js.map +1 -0
- package/dist/vc/statuslist.d.ts +1 -0
- package/dist/vc/statuslist.d.ts.map +1 -0
- package/dist/vc/statuslist.js +1 -0
- package/dist/vc/statuslist.js.map +1 -0
- package/dist/verifier/index.d.ts +1 -0
- package/dist/verifier/index.d.ts.map +1 -0
- package/dist/verifier/index.js +1 -0
- package/dist/verifier/index.js.map +1 -0
- package/dist/verifier.d.ts +18 -17
- package/dist/verifier.d.ts.map +1 -0
- package/dist/verifier.js +1 -0
- package/dist/verifier.js.map +1 -0
- package/dist/well-known/index.d.ts +73 -72
- package/dist/well-known/index.d.ts.map +1 -0
- package/dist/well-known/index.js +1 -0
- package/dist/well-known/index.js.map +1 -0
- package/package.json +8 -4
|
@@ -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" | "prefix" | "regex";
|
|
94
94
|
constraints?: Record<string, any> | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
resource: string;
|
|
97
|
-
matcher: "exact" | "
|
|
97
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
136
136
|
constraints?: Record<string, any> | undefined;
|
|
137
137
|
}, {
|
|
138
138
|
resource: string;
|
|
139
|
-
matcher: "exact" | "
|
|
139
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
178
178
|
constraints?: Record<string, any> | undefined;
|
|
179
179
|
}, {
|
|
180
180
|
resource: string;
|
|
181
|
-
matcher: "exact" | "
|
|
181
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
226
226
|
constraints?: Record<string, any> | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
resource: string;
|
|
229
|
-
matcher: "exact" | "
|
|
229
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
268
268
|
constraints?: Record<string, any> | undefined;
|
|
269
269
|
}, {
|
|
270
270
|
resource: string;
|
|
271
|
-
matcher: "exact" | "
|
|
271
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
310
310
|
constraints?: Record<string, any> | undefined;
|
|
311
311
|
}, {
|
|
312
312
|
resource: string;
|
|
313
|
-
matcher: "exact" | "
|
|
313
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
358
358
|
constraints?: Record<string, any> | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
resource: string;
|
|
361
|
-
matcher: "exact" | "
|
|
361
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
400
400
|
constraints?: Record<string, any> | undefined;
|
|
401
401
|
}, {
|
|
402
402
|
resource: string;
|
|
403
|
-
matcher: "exact" | "
|
|
403
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
442
442
|
constraints?: Record<string, any> | undefined;
|
|
443
443
|
}, {
|
|
444
444
|
resource: string;
|
|
445
|
-
matcher: "exact" | "
|
|
445
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
517
517
|
constraints?: Record<string, any> | undefined;
|
|
518
518
|
}, {
|
|
519
519
|
resource: string;
|
|
520
|
-
matcher: "exact" | "
|
|
520
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
559
559
|
constraints?: Record<string, any> | undefined;
|
|
560
560
|
}, {
|
|
561
561
|
resource: string;
|
|
562
|
-
matcher: "exact" | "
|
|
562
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
601
601
|
constraints?: Record<string, any> | undefined;
|
|
602
602
|
}, {
|
|
603
603
|
resource: string;
|
|
604
|
-
matcher: "exact" | "
|
|
604
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
649
649
|
constraints?: Record<string, any> | undefined;
|
|
650
650
|
}, {
|
|
651
651
|
resource: string;
|
|
652
|
-
matcher: "exact" | "
|
|
652
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
691
691
|
constraints?: Record<string, any> | undefined;
|
|
692
692
|
}, {
|
|
693
693
|
resource: string;
|
|
694
|
-
matcher: "exact" | "
|
|
694
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
733
733
|
constraints?: Record<string, any> | undefined;
|
|
734
734
|
}, {
|
|
735
735
|
resource: string;
|
|
736
|
-
matcher: "exact" | "
|
|
736
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
781
781
|
constraints?: Record<string, any> | undefined;
|
|
782
782
|
}, {
|
|
783
783
|
resource: string;
|
|
784
|
-
matcher: "exact" | "
|
|
784
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
823
823
|
constraints?: Record<string, any> | undefined;
|
|
824
824
|
}, {
|
|
825
825
|
resource: string;
|
|
826
|
-
matcher: "exact" | "
|
|
826
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
865
865
|
constraints?: Record<string, any> | undefined;
|
|
866
866
|
}, {
|
|
867
867
|
resource: string;
|
|
868
|
-
matcher: "exact" | "
|
|
868
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
940
940
|
constraints?: Record<string, any> | undefined;
|
|
941
941
|
}, {
|
|
942
942
|
resource: string;
|
|
943
|
-
matcher: "exact" | "
|
|
943
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
982
982
|
constraints?: Record<string, any> | undefined;
|
|
983
983
|
}, {
|
|
984
984
|
resource: string;
|
|
985
|
-
matcher: "exact" | "
|
|
985
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1024
1024
|
constraints?: Record<string, any> | undefined;
|
|
1025
1025
|
}, {
|
|
1026
1026
|
resource: string;
|
|
1027
|
-
matcher: "exact" | "
|
|
1027
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1072
1072
|
constraints?: Record<string, any> | undefined;
|
|
1073
1073
|
}, {
|
|
1074
1074
|
resource: string;
|
|
1075
|
-
matcher: "exact" | "
|
|
1075
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1114
1114
|
constraints?: Record<string, any> | undefined;
|
|
1115
1115
|
}, {
|
|
1116
1116
|
resource: string;
|
|
1117
|
-
matcher: "exact" | "
|
|
1117
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1156
1156
|
constraints?: Record<string, any> | undefined;
|
|
1157
1157
|
}, {
|
|
1158
1158
|
resource: string;
|
|
1159
|
-
matcher: "exact" | "
|
|
1159
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1204
1204
|
constraints?: Record<string, any> | undefined;
|
|
1205
1205
|
}, {
|
|
1206
1206
|
resource: string;
|
|
1207
|
-
matcher: "exact" | "
|
|
1207
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1246
1246
|
constraints?: Record<string, any> | undefined;
|
|
1247
1247
|
}, {
|
|
1248
1248
|
resource: string;
|
|
1249
|
-
matcher: "exact" | "
|
|
1249
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1288
1288
|
constraints?: Record<string, any> | undefined;
|
|
1289
1289
|
}, {
|
|
1290
1290
|
resource: string;
|
|
1291
|
-
matcher: "exact" | "
|
|
1291
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1368
1368
|
constraints?: Record<string, any> | undefined;
|
|
1369
1369
|
}, {
|
|
1370
1370
|
resource: string;
|
|
1371
|
-
matcher: "exact" | "
|
|
1371
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1410
1410
|
constraints?: Record<string, any> | undefined;
|
|
1411
1411
|
}, {
|
|
1412
1412
|
resource: string;
|
|
1413
|
-
matcher: "exact" | "
|
|
1413
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1452
1452
|
constraints?: Record<string, any> | undefined;
|
|
1453
1453
|
}, {
|
|
1454
1454
|
resource: string;
|
|
1455
|
-
matcher: "exact" | "
|
|
1455
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1500
1500
|
constraints?: Record<string, any> | undefined;
|
|
1501
1501
|
}, {
|
|
1502
1502
|
resource: string;
|
|
1503
|
-
matcher: "exact" | "
|
|
1503
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1542
1542
|
constraints?: Record<string, any> | undefined;
|
|
1543
1543
|
}, {
|
|
1544
1544
|
resource: string;
|
|
1545
|
-
matcher: "exact" | "
|
|
1545
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1584
1584
|
constraints?: Record<string, any> | undefined;
|
|
1585
1585
|
}, {
|
|
1586
1586
|
resource: string;
|
|
1587
|
-
matcher: "exact" | "
|
|
1587
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1632
1632
|
constraints?: Record<string, any> | undefined;
|
|
1633
1633
|
}, {
|
|
1634
1634
|
resource: string;
|
|
1635
|
-
matcher: "exact" | "
|
|
1635
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1674
1674
|
constraints?: Record<string, any> | undefined;
|
|
1675
1675
|
}, {
|
|
1676
1676
|
resource: string;
|
|
1677
|
-
matcher: "exact" | "
|
|
1677
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1716
1716
|
constraints?: Record<string, any> | undefined;
|
|
1717
1717
|
}, {
|
|
1718
1718
|
resource: string;
|
|
1719
|
-
matcher: "exact" | "
|
|
1719
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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: "
|
|
1728
|
-
issuerDid: string;
|
|
1729
|
-
delegationId: string;
|
|
1727
|
+
status: "revoked" | "active" | "expired";
|
|
1730
1728
|
constraints: {
|
|
1731
1729
|
scopes?: string[] | undefined;
|
|
1732
1730
|
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" | "prefix" | "regex";
|
|
1769
1769
|
constraints?: Record<string, any> | undefined;
|
|
1770
1770
|
}, {
|
|
1771
1771
|
resource: string;
|
|
1772
|
-
matcher: "exact" | "
|
|
1772
|
+
matcher: "exact" | "prefix" | "regex";
|
|
1773
1773
|
constraints?: Record<string, any> | undefined;
|
|
1774
1774
|
}>, "many">;
|
|
1775
1775
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1776
|
-
notBefore?: number | undefined;
|
|
1777
|
-
notAfter?: number | undefined;
|
|
1778
1776
|
} & {
|
|
1779
1777
|
[k: string]: unknown;
|
|
1780
1778
|
};
|
|
1779
|
+
issuerDid: string;
|
|
1781
1780
|
subjectDid: string;
|
|
1782
1781
|
vcId: string;
|
|
1782
|
+
delegationId: string;
|
|
1783
1783
|
depth: number;
|
|
1784
1784
|
}, {
|
|
1785
|
-
status: "
|
|
1786
|
-
issuerDid: string;
|
|
1787
|
-
delegationId: string;
|
|
1785
|
+
status: "revoked" | "active" | "expired";
|
|
1788
1786
|
constraints: {
|
|
1789
1787
|
scopes?: string[] | undefined;
|
|
1790
1788
|
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" | "prefix" | "regex";
|
|
1827
1827
|
constraints?: Record<string, any> | undefined;
|
|
1828
1828
|
}, {
|
|
1829
1829
|
resource: string;
|
|
1830
|
-
matcher: "exact" | "
|
|
1830
|
+
matcher: "exact" | "prefix" | "regex";
|
|
1831
1831
|
constraints?: Record<string, any> | undefined;
|
|
1832
1832
|
}>, "many">;
|
|
1833
1833
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1834
|
-
notBefore?: number | undefined;
|
|
1835
|
-
notAfter?: number | undefined;
|
|
1836
1834
|
} & {
|
|
1837
1835
|
[k: string]: unknown;
|
|
1838
1836
|
};
|
|
1837
|
+
issuerDid: string;
|
|
1839
1838
|
subjectDid: string;
|
|
1840
1839
|
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" | "prefix" | "regex";
|
|
1908
1908
|
constraints?: Record<string, any> | undefined;
|
|
1909
1909
|
}, {
|
|
1910
1910
|
resource: string;
|
|
1911
|
-
matcher: "exact" | "
|
|
1911
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1950
1950
|
constraints?: Record<string, any> | undefined;
|
|
1951
1951
|
}, {
|
|
1952
1952
|
resource: string;
|
|
1953
|
-
matcher: "exact" | "
|
|
1953
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
1992
1992
|
constraints?: Record<string, any> | undefined;
|
|
1993
1993
|
}, {
|
|
1994
1994
|
resource: string;
|
|
1995
|
-
matcher: "exact" | "
|
|
1995
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2040
2040
|
constraints?: Record<string, any> | undefined;
|
|
2041
2041
|
}, {
|
|
2042
2042
|
resource: string;
|
|
2043
|
-
matcher: "exact" | "
|
|
2043
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2082
2082
|
constraints?: Record<string, any> | undefined;
|
|
2083
2083
|
}, {
|
|
2084
2084
|
resource: string;
|
|
2085
|
-
matcher: "exact" | "
|
|
2085
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2124
2124
|
constraints?: Record<string, any> | undefined;
|
|
2125
2125
|
}, {
|
|
2126
2126
|
resource: string;
|
|
2127
|
-
matcher: "exact" | "
|
|
2127
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2172
2172
|
constraints?: Record<string, any> | undefined;
|
|
2173
2173
|
}, {
|
|
2174
2174
|
resource: string;
|
|
2175
|
-
matcher: "exact" | "
|
|
2175
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2214
2214
|
constraints?: Record<string, any> | undefined;
|
|
2215
2215
|
}, {
|
|
2216
2216
|
resource: string;
|
|
2217
|
-
matcher: "exact" | "
|
|
2217
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2256
2256
|
constraints?: Record<string, any> | undefined;
|
|
2257
2257
|
}, {
|
|
2258
2258
|
resource: string;
|
|
2259
|
-
matcher: "exact" | "
|
|
2259
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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: "
|
|
2268
|
-
issuerDid: string;
|
|
2269
|
-
delegationId: string;
|
|
2267
|
+
status: "revoked" | "active" | "expired";
|
|
2270
2268
|
constraints: {
|
|
2271
2269
|
scopes?: string[] | undefined;
|
|
2272
2270
|
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" | "prefix" | "regex";
|
|
2309
2309
|
constraints?: Record<string, any> | undefined;
|
|
2310
2310
|
}, {
|
|
2311
2311
|
resource: string;
|
|
2312
|
-
matcher: "exact" | "
|
|
2312
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2313
2313
|
constraints?: Record<string, any> | undefined;
|
|
2314
2314
|
}>, "many">;
|
|
2315
2315
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2316
|
-
notBefore?: number | undefined;
|
|
2317
|
-
notAfter?: number | undefined;
|
|
2318
2316
|
} & {
|
|
2319
2317
|
[k: string]: unknown;
|
|
2320
2318
|
};
|
|
2319
|
+
issuerDid: string;
|
|
2321
2320
|
subjectDid: string;
|
|
2322
2321
|
vcId: string;
|
|
2322
|
+
delegationId: string;
|
|
2323
2323
|
depth: number;
|
|
2324
2324
|
}, {
|
|
2325
|
-
status: "
|
|
2326
|
-
issuerDid: string;
|
|
2327
|
-
delegationId: string;
|
|
2325
|
+
status: "revoked" | "active" | "expired";
|
|
2328
2326
|
constraints: {
|
|
2329
2327
|
scopes?: string[] | undefined;
|
|
2330
2328
|
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" | "prefix" | "regex";
|
|
2367
2367
|
constraints?: Record<string, any> | undefined;
|
|
2368
2368
|
}, {
|
|
2369
2369
|
resource: string;
|
|
2370
|
-
matcher: "exact" | "
|
|
2370
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2371
2371
|
constraints?: Record<string, any> | undefined;
|
|
2372
2372
|
}>, "many">;
|
|
2373
2373
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2374
|
-
notBefore?: number | undefined;
|
|
2375
|
-
notAfter?: number | undefined;
|
|
2376
2374
|
} & {
|
|
2377
2375
|
[k: string]: unknown;
|
|
2378
2376
|
};
|
|
2377
|
+
issuerDid: string;
|
|
2379
2378
|
subjectDid: string;
|
|
2380
2379
|
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: "
|
|
2396
|
-
issuerDid: string;
|
|
2397
|
-
delegationId: string;
|
|
2395
|
+
status: "revoked" | "active" | "expired";
|
|
2398
2396
|
constraints: {
|
|
2399
2397
|
scopes?: string[] | undefined;
|
|
2400
2398
|
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" | "prefix" | "regex";
|
|
2437
2437
|
constraints?: Record<string, any> | undefined;
|
|
2438
2438
|
}, {
|
|
2439
2439
|
resource: string;
|
|
2440
|
-
matcher: "exact" | "
|
|
2440
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2441
2441
|
constraints?: Record<string, any> | undefined;
|
|
2442
2442
|
}>, "many">;
|
|
2443
2443
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2444
|
-
notBefore?: number | undefined;
|
|
2445
|
-
notAfter?: number | undefined;
|
|
2446
2444
|
} & {
|
|
2447
2445
|
[k: string]: unknown;
|
|
2448
2446
|
};
|
|
2447
|
+
issuerDid: string;
|
|
2449
2448
|
subjectDid: string;
|
|
2450
2449
|
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: "
|
|
2461
|
-
issuerDid: string;
|
|
2462
|
-
delegationId: string;
|
|
2460
|
+
status: "revoked" | "active" | "expired";
|
|
2463
2461
|
constraints: {
|
|
2464
2462
|
scopes?: string[] | undefined;
|
|
2465
2463
|
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" | "prefix" | "regex";
|
|
2502
2502
|
constraints?: Record<string, any> | undefined;
|
|
2503
2503
|
}, {
|
|
2504
2504
|
resource: string;
|
|
2505
|
-
matcher: "exact" | "
|
|
2505
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2506
2506
|
constraints?: Record<string, any> | undefined;
|
|
2507
2507
|
}>, "many">;
|
|
2508
2508
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2509
|
-
notBefore?: number | undefined;
|
|
2510
|
-
notAfter?: number | undefined;
|
|
2511
2509
|
} & {
|
|
2512
2510
|
[k: string]: unknown;
|
|
2513
2511
|
};
|
|
2512
|
+
issuerDid: string;
|
|
2514
2513
|
subjectDid: string;
|
|
2515
2514
|
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" | "prefix" | "regex";
|
|
2575
2575
|
constraints?: Record<string, any> | undefined;
|
|
2576
2576
|
}, {
|
|
2577
2577
|
resource: string;
|
|
2578
|
-
matcher: "exact" | "
|
|
2578
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2617
2617
|
constraints?: Record<string, any> | undefined;
|
|
2618
2618
|
}, {
|
|
2619
2619
|
resource: string;
|
|
2620
|
-
matcher: "exact" | "
|
|
2620
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2659
2659
|
constraints?: Record<string, any> | undefined;
|
|
2660
2660
|
}, {
|
|
2661
2661
|
resource: string;
|
|
2662
|
-
matcher: "exact" | "
|
|
2662
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2707
2707
|
constraints?: Record<string, any> | undefined;
|
|
2708
2708
|
}, {
|
|
2709
2709
|
resource: string;
|
|
2710
|
-
matcher: "exact" | "
|
|
2710
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2749
2749
|
constraints?: Record<string, any> | undefined;
|
|
2750
2750
|
}, {
|
|
2751
2751
|
resource: string;
|
|
2752
|
-
matcher: "exact" | "
|
|
2752
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2791
2791
|
constraints?: Record<string, any> | undefined;
|
|
2792
2792
|
}, {
|
|
2793
2793
|
resource: string;
|
|
2794
|
-
matcher: "exact" | "
|
|
2794
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2839
2839
|
constraints?: Record<string, any> | undefined;
|
|
2840
2840
|
}, {
|
|
2841
2841
|
resource: string;
|
|
2842
|
-
matcher: "exact" | "
|
|
2842
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2881
2881
|
constraints?: Record<string, any> | undefined;
|
|
2882
2882
|
}, {
|
|
2883
2883
|
resource: string;
|
|
2884
|
-
matcher: "exact" | "
|
|
2884
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
2923
2923
|
constraints?: Record<string, any> | undefined;
|
|
2924
2924
|
}, {
|
|
2925
2925
|
resource: string;
|
|
2926
|
-
matcher: "exact" | "
|
|
2926
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2927
2927
|
constraints?: Record<string, any> | undefined;
|
|
2928
2928
|
}>, "many">;
|
|
2929
2929
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2933,10 +2933,11 @@ 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
2936
|
constraints: {
|
|
2938
2937
|
scopes?: string[] | undefined;
|
|
2939
2938
|
audience?: string | string[] | undefined;
|
|
2939
|
+
notBefore?: number | undefined;
|
|
2940
|
+
notAfter?: number | undefined;
|
|
2940
2941
|
crisp?: z.objectOutputType<{
|
|
2941
2942
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2942
2943
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -2972,28 +2973,28 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
2972
2973
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2973
2974
|
}, "strip", z.ZodTypeAny, {
|
|
2974
2975
|
resource: string;
|
|
2975
|
-
matcher: "exact" | "
|
|
2976
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2976
2977
|
constraints?: Record<string, any> | undefined;
|
|
2977
2978
|
}, {
|
|
2978
2979
|
resource: string;
|
|
2979
|
-
matcher: "exact" | "
|
|
2980
|
+
matcher: "exact" | "prefix" | "regex";
|
|
2980
2981
|
constraints?: Record<string, any> | undefined;
|
|
2981
2982
|
}>, "many">;
|
|
2982
2983
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2983
|
-
notBefore?: number | undefined;
|
|
2984
|
-
notAfter?: number | undefined;
|
|
2985
2984
|
} & {
|
|
2986
2985
|
[k: string]: unknown;
|
|
2987
2986
|
};
|
|
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;
|
|
2994
2993
|
constraints: {
|
|
2995
2994
|
scopes?: string[] | undefined;
|
|
2996
2995
|
audience?: string | string[] | undefined;
|
|
2996
|
+
notBefore?: number | undefined;
|
|
2997
|
+
notAfter?: number | undefined;
|
|
2997
2998
|
crisp?: z.objectInputType<{
|
|
2998
2999
|
budget: z.ZodOptional<z.ZodObject<{
|
|
2999
3000
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -3029,19 +3030,18 @@ export declare const DelegationCreationRequestSchema: z.ZodObject<{
|
|
|
3029
3030
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3030
3031
|
}, "strip", z.ZodTypeAny, {
|
|
3031
3032
|
resource: string;
|
|
3032
|
-
matcher: "exact" | "
|
|
3033
|
+
matcher: "exact" | "prefix" | "regex";
|
|
3033
3034
|
constraints?: Record<string, any> | undefined;
|
|
3034
3035
|
}, {
|
|
3035
3036
|
resource: string;
|
|
3036
|
-
matcher: "exact" | "
|
|
3037
|
+
matcher: "exact" | "prefix" | "regex";
|
|
3037
3038
|
constraints?: Record<string, any> | undefined;
|
|
3038
3039
|
}>, "many">;
|
|
3039
3040
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3040
|
-
notBefore?: number | undefined;
|
|
3041
|
-
notAfter?: number | undefined;
|
|
3042
3041
|
} & {
|
|
3043
3042
|
[k: string]: unknown;
|
|
3044
3043
|
};
|
|
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
|
-
domain?: string | undefined;
|
|
3097
|
-
issuer?: string | undefined;
|
|
3095
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3098
3096
|
provider?: string | undefined;
|
|
3097
|
+
verifiedAt?: number | undefined;
|
|
3098
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3105
|
-
}, {
|
|
3106
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3107
3104
|
domain?: string | undefined;
|
|
3108
|
-
|
|
3105
|
+
}, {
|
|
3106
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3109
3107
|
provider?: string | undefined;
|
|
3108
|
+
verifiedAt?: number | undefined;
|
|
3109
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
domain?: string | undefined;
|
|
3162
|
-
issuer?: string | undefined;
|
|
3160
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3163
3161
|
provider?: string | undefined;
|
|
3162
|
+
verifiedAt?: number | undefined;
|
|
3163
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3170
|
-
}, {
|
|
3171
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3172
3169
|
domain?: string | undefined;
|
|
3173
|
-
|
|
3170
|
+
}, {
|
|
3171
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3174
3172
|
provider?: string | undefined;
|
|
3173
|
+
verifiedAt?: number | undefined;
|
|
3174
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
domain?: string | undefined;
|
|
3221
|
-
issuer?: string | undefined;
|
|
3219
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3222
3220
|
provider?: string | undefined;
|
|
3221
|
+
verifiedAt?: number | undefined;
|
|
3222
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3229
|
-
}, {
|
|
3230
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3231
3228
|
domain?: string | undefined;
|
|
3232
|
-
|
|
3229
|
+
}, {
|
|
3230
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3233
3231
|
provider?: string | undefined;
|
|
3232
|
+
verifiedAt?: number | undefined;
|
|
3233
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
domain?: string | undefined;
|
|
3280
|
-
issuer?: string | undefined;
|
|
3278
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3281
3279
|
provider?: string | undefined;
|
|
3280
|
+
verifiedAt?: number | undefined;
|
|
3281
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3288
|
-
}, {
|
|
3289
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3290
3287
|
domain?: string | undefined;
|
|
3291
|
-
|
|
3288
|
+
}, {
|
|
3289
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3292
3290
|
provider?: string | undefined;
|
|
3291
|
+
verifiedAt?: number | undefined;
|
|
3292
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
domain?: string | undefined;
|
|
3362
|
-
issuer?: string | undefined;
|
|
3360
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3363
3361
|
provider?: string | undefined;
|
|
3362
|
+
verifiedAt?: number | undefined;
|
|
3363
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3370
|
-
}, {
|
|
3371
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3372
3369
|
domain?: string | undefined;
|
|
3373
|
-
|
|
3370
|
+
}, {
|
|
3371
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3374
3372
|
provider?: string | undefined;
|
|
3373
|
+
verifiedAt?: number | undefined;
|
|
3374
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
domain?: string | undefined;
|
|
3421
|
-
issuer?: string | undefined;
|
|
3419
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3422
3420
|
provider?: string | undefined;
|
|
3421
|
+
verifiedAt?: number | undefined;
|
|
3422
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3429
|
-
}, {
|
|
3430
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3431
3428
|
domain?: string | undefined;
|
|
3432
|
-
|
|
3429
|
+
}, {
|
|
3430
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3433
3431
|
provider?: string | undefined;
|
|
3432
|
+
verifiedAt?: number | undefined;
|
|
3433
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
domain?: string | undefined;
|
|
3480
|
-
issuer?: string | undefined;
|
|
3478
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3481
3479
|
provider?: string | undefined;
|
|
3480
|
+
verifiedAt?: number | undefined;
|
|
3481
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3488
|
-
}, {
|
|
3489
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3490
3487
|
domain?: string | undefined;
|
|
3491
|
-
|
|
3488
|
+
}, {
|
|
3489
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3492
3490
|
provider?: string | undefined;
|
|
3491
|
+
verifiedAt?: number | undefined;
|
|
3492
|
+
issuer?: 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
|
+
domain?: string | undefined;
|
|
3499
3499
|
}>>;
|
|
3500
3500
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
3501
3501
|
}, "strip", z.ZodTypeAny, {
|
|
3502
3502
|
valid: boolean;
|
|
3503
|
-
status: "
|
|
3504
|
-
delegationId: string;
|
|
3503
|
+
status: "revoked" | "active" | "expired";
|
|
3505
3504
|
verifiedAt: number;
|
|
3505
|
+
delegationId: string;
|
|
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
|
-
domain?: string | undefined;
|
|
3545
|
-
issuer?: string | undefined;
|
|
3543
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3546
3544
|
provider?: string | undefined;
|
|
3545
|
+
verifiedAt?: number | undefined;
|
|
3546
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3553
|
-
}, {
|
|
3554
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3555
3552
|
domain?: string | undefined;
|
|
3556
|
-
|
|
3553
|
+
}, {
|
|
3554
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3557
3555
|
provider?: string | undefined;
|
|
3556
|
+
verifiedAt?: number | undefined;
|
|
3557
|
+
issuer?: 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
|
+
domain?: string | 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
|
-
delegationId: string;
|
|
3571
|
+
status: "revoked" | "active" | "expired";
|
|
3573
3572
|
verifiedAt: number;
|
|
3573
|
+
delegationId: string;
|
|
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
|
-
domain?: string | undefined;
|
|
3613
|
-
issuer?: string | undefined;
|
|
3611
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3614
3612
|
provider?: string | undefined;
|
|
3613
|
+
verifiedAt?: number | undefined;
|
|
3614
|
+
issuer?: 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
|
-
verifiedAt?: number | undefined;
|
|
3621
|
-
}, {
|
|
3622
|
-
type: "oauth" | "oauth2" | "password" | "mdl" | "idv" | "verifiable_credential" | "credential" | "webauthn" | "siwe" | "none";
|
|
3623
3620
|
domain?: string | undefined;
|
|
3624
|
-
|
|
3621
|
+
}, {
|
|
3622
|
+
type: "oauth2" | "credential" | "oauth" | "password" | "verifiable_credential" | "mdl" | "idv" | "webauthn" | "siwe" | "none";
|
|
3625
3623
|
provider?: string | undefined;
|
|
3624
|
+
verifiedAt?: number | undefined;
|
|
3625
|
+
issuer?: 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
|
+
domain?: string | 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" | "prefix" | "regex";
|
|
3703
3703
|
constraints?: Record<string, any> | undefined;
|
|
3704
3704
|
}, {
|
|
3705
3705
|
resource: string;
|
|
3706
|
-
matcher: "exact" | "
|
|
3706
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
3745
3745
|
constraints?: Record<string, any> | undefined;
|
|
3746
3746
|
}, {
|
|
3747
3747
|
resource: string;
|
|
3748
|
-
matcher: "exact" | "
|
|
3748
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
3787
3787
|
constraints?: Record<string, any> | undefined;
|
|
3788
3788
|
}, {
|
|
3789
3789
|
resource: string;
|
|
3790
|
-
matcher: "exact" | "
|
|
3790
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
3835
3835
|
constraints?: Record<string, any> | undefined;
|
|
3836
3836
|
}, {
|
|
3837
3837
|
resource: string;
|
|
3838
|
-
matcher: "exact" | "
|
|
3838
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
3877
3877
|
constraints?: Record<string, any> | undefined;
|
|
3878
3878
|
}, {
|
|
3879
3879
|
resource: string;
|
|
3880
|
-
matcher: "exact" | "
|
|
3880
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
3919
3919
|
constraints?: Record<string, any> | undefined;
|
|
3920
3920
|
}, {
|
|
3921
3921
|
resource: string;
|
|
3922
|
-
matcher: "exact" | "
|
|
3922
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
3967
3967
|
constraints?: Record<string, any> | undefined;
|
|
3968
3968
|
}, {
|
|
3969
3969
|
resource: string;
|
|
3970
|
-
matcher: "exact" | "
|
|
3970
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4009
4009
|
constraints?: Record<string, any> | undefined;
|
|
4010
4010
|
}, {
|
|
4011
4011
|
resource: string;
|
|
4012
|
-
matcher: "exact" | "
|
|
4012
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4051
4051
|
constraints?: Record<string, any> | undefined;
|
|
4052
4052
|
}, {
|
|
4053
4053
|
resource: string;
|
|
4054
|
-
matcher: "exact" | "
|
|
4054
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4126
4126
|
constraints?: Record<string, any> | undefined;
|
|
4127
4127
|
}, {
|
|
4128
4128
|
resource: string;
|
|
4129
|
-
matcher: "exact" | "
|
|
4129
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4168
4168
|
constraints?: Record<string, any> | undefined;
|
|
4169
4169
|
}, {
|
|
4170
4170
|
resource: string;
|
|
4171
|
-
matcher: "exact" | "
|
|
4171
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4210
4210
|
constraints?: Record<string, any> | undefined;
|
|
4211
4211
|
}, {
|
|
4212
4212
|
resource: string;
|
|
4213
|
-
matcher: "exact" | "
|
|
4213
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4258
4258
|
constraints?: Record<string, any> | undefined;
|
|
4259
4259
|
}, {
|
|
4260
4260
|
resource: string;
|
|
4261
|
-
matcher: "exact" | "
|
|
4261
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4300
4300
|
constraints?: Record<string, any> | undefined;
|
|
4301
4301
|
}, {
|
|
4302
4302
|
resource: string;
|
|
4303
|
-
matcher: "exact" | "
|
|
4303
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4342
4342
|
constraints?: Record<string, any> | undefined;
|
|
4343
4343
|
}, {
|
|
4344
4344
|
resource: string;
|
|
4345
|
-
matcher: "exact" | "
|
|
4345
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4390
4390
|
constraints?: Record<string, any> | undefined;
|
|
4391
4391
|
}, {
|
|
4392
4392
|
resource: string;
|
|
4393
|
-
matcher: "exact" | "
|
|
4393
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4432
4432
|
constraints?: Record<string, any> | undefined;
|
|
4433
4433
|
}, {
|
|
4434
4434
|
resource: string;
|
|
4435
|
-
matcher: "exact" | "
|
|
4435
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4474
4474
|
constraints?: Record<string, any> | undefined;
|
|
4475
4475
|
}, {
|
|
4476
4476
|
resource: string;
|
|
4477
|
-
matcher: "exact" | "
|
|
4477
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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: "
|
|
4508
|
-
issuerDid: string;
|
|
4509
|
-
delegationId: string;
|
|
4507
|
+
status: "revoked" | "active" | "expired";
|
|
4510
4508
|
constraints: {
|
|
4511
4509
|
scopes?: string[] | undefined;
|
|
4512
4510
|
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" | "prefix" | "regex";
|
|
4549
4549
|
constraints?: Record<string, any> | undefined;
|
|
4550
4550
|
}, {
|
|
4551
4551
|
resource: string;
|
|
4552
|
-
matcher: "exact" | "
|
|
4552
|
+
matcher: "exact" | "prefix" | "regex";
|
|
4553
4553
|
constraints?: Record<string, any> | undefined;
|
|
4554
4554
|
}>, "many">;
|
|
4555
4555
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4556
|
-
notBefore?: number | undefined;
|
|
4557
|
-
notAfter?: number | undefined;
|
|
4558
4556
|
} & {
|
|
4559
4557
|
[k: string]: unknown;
|
|
4560
4558
|
};
|
|
4559
|
+
issuerDid: string;
|
|
4561
4560
|
subjectDid: string;
|
|
4562
4561
|
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: "
|
|
4573
|
-
issuerDid: string;
|
|
4574
|
-
delegationId: string;
|
|
4572
|
+
status: "revoked" | "active" | "expired";
|
|
4575
4573
|
constraints: {
|
|
4576
4574
|
scopes?: string[] | undefined;
|
|
4577
4575
|
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" | "prefix" | "regex";
|
|
4614
4614
|
constraints?: Record<string, any> | undefined;
|
|
4615
4615
|
}, {
|
|
4616
4616
|
resource: string;
|
|
4617
|
-
matcher: "exact" | "
|
|
4617
|
+
matcher: "exact" | "prefix" | "regex";
|
|
4618
4618
|
constraints?: Record<string, any> | undefined;
|
|
4619
4619
|
}>, "many">;
|
|
4620
4620
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4621
|
-
notBefore?: number | undefined;
|
|
4622
|
-
notAfter?: number | undefined;
|
|
4623
4621
|
} & {
|
|
4624
4622
|
[k: string]: unknown;
|
|
4625
4623
|
};
|
|
4624
|
+
issuerDid: string;
|
|
4626
4625
|
subjectDid: string;
|
|
4627
4626
|
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" | "prefix" | "regex";
|
|
4776
4776
|
constraints?: Record<string, any> | undefined;
|
|
4777
4777
|
}, {
|
|
4778
4778
|
resource: string;
|
|
4779
|
-
matcher: "exact" | "
|
|
4779
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4818
4818
|
constraints?: Record<string, any> | undefined;
|
|
4819
4819
|
}, {
|
|
4820
4820
|
resource: string;
|
|
4821
|
-
matcher: "exact" | "
|
|
4821
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4860
4860
|
constraints?: Record<string, any> | undefined;
|
|
4861
4861
|
}, {
|
|
4862
4862
|
resource: string;
|
|
4863
|
-
matcher: "exact" | "
|
|
4863
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4908
4908
|
constraints?: Record<string, any> | undefined;
|
|
4909
4909
|
}, {
|
|
4910
4910
|
resource: string;
|
|
4911
|
-
matcher: "exact" | "
|
|
4911
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4950
4950
|
constraints?: Record<string, any> | undefined;
|
|
4951
4951
|
}, {
|
|
4952
4952
|
resource: string;
|
|
4953
|
-
matcher: "exact" | "
|
|
4953
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
4992
4992
|
constraints?: Record<string, any> | undefined;
|
|
4993
4993
|
}, {
|
|
4994
4994
|
resource: string;
|
|
4995
|
-
matcher: "exact" | "
|
|
4995
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5040
5040
|
constraints?: Record<string, any> | undefined;
|
|
5041
5041
|
}, {
|
|
5042
5042
|
resource: string;
|
|
5043
|
-
matcher: "exact" | "
|
|
5043
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5082
5082
|
constraints?: Record<string, any> | undefined;
|
|
5083
5083
|
}, {
|
|
5084
5084
|
resource: string;
|
|
5085
|
-
matcher: "exact" | "
|
|
5085
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5124
5124
|
constraints?: Record<string, any> | undefined;
|
|
5125
5125
|
}, {
|
|
5126
5126
|
resource: string;
|
|
5127
|
-
matcher: "exact" | "
|
|
5127
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5128
5128
|
constraints?: Record<string, any> | undefined;
|
|
5129
5129
|
}>, "many">;
|
|
5130
5130
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5136,12 +5136,13 @@ 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: "revoked" | "active" | "expired";
|
|
5140
5140
|
id: string;
|
|
5141
|
-
issuerDid: string;
|
|
5142
5141
|
constraints: {
|
|
5143
5142
|
scopes?: string[] | undefined;
|
|
5144
5143
|
audience?: string | string[] | undefined;
|
|
5144
|
+
notBefore?: number | undefined;
|
|
5145
|
+
notAfter?: number | undefined;
|
|
5145
5146
|
crisp?: z.objectOutputType<{
|
|
5146
5147
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5147
5148
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5177,34 +5178,34 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5177
5178
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5178
5179
|
}, "strip", z.ZodTypeAny, {
|
|
5179
5180
|
resource: string;
|
|
5180
|
-
matcher: "exact" | "
|
|
5181
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5181
5182
|
constraints?: Record<string, any> | undefined;
|
|
5182
5183
|
}, {
|
|
5183
5184
|
resource: string;
|
|
5184
|
-
matcher: "exact" | "
|
|
5185
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5185
5186
|
constraints?: Record<string, any> | undefined;
|
|
5186
5187
|
}>, "many">;
|
|
5187
5188
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5188
|
-
notBefore?: number | undefined;
|
|
5189
|
-
notAfter?: number | undefined;
|
|
5190
5189
|
} & {
|
|
5191
5190
|
[k: string]: unknown;
|
|
5192
5191
|
};
|
|
5192
|
+
issuerDid: string;
|
|
5193
5193
|
subjectDid: string;
|
|
5194
|
-
controller?: string | undefined;
|
|
5195
|
-
metadata?: Record<string, any> | undefined;
|
|
5196
5194
|
scopes?: string[] | undefined;
|
|
5195
|
+
metadata?: Record<string, any> | undefined;
|
|
5197
5196
|
createdAt?: number | undefined;
|
|
5198
5197
|
sessionId?: string | undefined;
|
|
5199
|
-
userIdentifier?: string | undefined;
|
|
5200
5198
|
userDid?: string | undefined;
|
|
5199
|
+
controller?: string | undefined;
|
|
5201
5200
|
parentId?: string | undefined;
|
|
5201
|
+
userIdentifier?: string | undefined;
|
|
5202
5202
|
}, {
|
|
5203
5203
|
id: string;
|
|
5204
|
-
issuerDid: string;
|
|
5205
5204
|
constraints: {
|
|
5206
5205
|
scopes?: string[] | undefined;
|
|
5207
5206
|
audience?: string | string[] | undefined;
|
|
5207
|
+
notBefore?: number | undefined;
|
|
5208
|
+
notAfter?: number | undefined;
|
|
5208
5209
|
crisp?: z.objectInputType<{
|
|
5209
5210
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5210
5211
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5240,39 +5241,39 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5240
5241
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5241
5242
|
}, "strip", z.ZodTypeAny, {
|
|
5242
5243
|
resource: string;
|
|
5243
|
-
matcher: "exact" | "
|
|
5244
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5244
5245
|
constraints?: Record<string, any> | undefined;
|
|
5245
5246
|
}, {
|
|
5246
5247
|
resource: string;
|
|
5247
|
-
matcher: "exact" | "
|
|
5248
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5248
5249
|
constraints?: Record<string, any> | undefined;
|
|
5249
5250
|
}>, "many">;
|
|
5250
5251
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5251
|
-
notBefore?: number | undefined;
|
|
5252
|
-
notAfter?: number | undefined;
|
|
5253
5252
|
} & {
|
|
5254
5253
|
[k: string]: unknown;
|
|
5255
5254
|
};
|
|
5255
|
+
issuerDid: string;
|
|
5256
5256
|
subjectDid: string;
|
|
5257
|
-
status?: "
|
|
5258
|
-
controller?: string | undefined;
|
|
5259
|
-
metadata?: Record<string, any> | undefined;
|
|
5257
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
5260
5258
|
scopes?: string[] | undefined;
|
|
5259
|
+
metadata?: Record<string, any> | undefined;
|
|
5261
5260
|
createdAt?: number | undefined;
|
|
5262
5261
|
sessionId?: string | undefined;
|
|
5263
|
-
userIdentifier?: string | undefined;
|
|
5264
5262
|
userDid?: string | undefined;
|
|
5263
|
+
controller?: string | undefined;
|
|
5265
5264
|
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: "revoked" | "active" | "expired";
|
|
5271
5271
|
id: string;
|
|
5272
|
-
issuerDid: string;
|
|
5273
5272
|
constraints: {
|
|
5274
5273
|
scopes?: string[] | undefined;
|
|
5275
5274
|
audience?: string | string[] | undefined;
|
|
5275
|
+
notBefore?: number | undefined;
|
|
5276
|
+
notAfter?: number | undefined;
|
|
5276
5277
|
crisp?: z.objectOutputType<{
|
|
5277
5278
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5278
5279
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5308,37 +5309,37 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5308
5309
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5309
5310
|
}, "strip", z.ZodTypeAny, {
|
|
5310
5311
|
resource: string;
|
|
5311
|
-
matcher: "exact" | "
|
|
5312
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5312
5313
|
constraints?: Record<string, any> | undefined;
|
|
5313
5314
|
}, {
|
|
5314
5315
|
resource: string;
|
|
5315
|
-
matcher: "exact" | "
|
|
5316
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5316
5317
|
constraints?: Record<string, any> | undefined;
|
|
5317
5318
|
}>, "many">;
|
|
5318
5319
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5319
|
-
notBefore?: number | undefined;
|
|
5320
|
-
notAfter?: number | undefined;
|
|
5321
5320
|
} & {
|
|
5322
5321
|
[k: string]: unknown;
|
|
5323
5322
|
};
|
|
5323
|
+
issuerDid: string;
|
|
5324
5324
|
subjectDid: string;
|
|
5325
|
-
controller?: string | undefined;
|
|
5326
|
-
metadata?: Record<string, any> | undefined;
|
|
5327
5325
|
scopes?: string[] | undefined;
|
|
5326
|
+
metadata?: Record<string, any> | undefined;
|
|
5328
5327
|
createdAt?: number | undefined;
|
|
5329
5328
|
sessionId?: string | undefined;
|
|
5330
|
-
userIdentifier?: string | undefined;
|
|
5331
5329
|
userDid?: string | undefined;
|
|
5330
|
+
controller?: string | undefined;
|
|
5332
5331
|
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;
|
|
5339
5338
|
constraints: {
|
|
5340
5339
|
scopes?: string[] | undefined;
|
|
5341
5340
|
audience?: string | string[] | undefined;
|
|
5341
|
+
notBefore?: number | undefined;
|
|
5342
|
+
notAfter?: number | undefined;
|
|
5342
5343
|
crisp?: z.objectInputType<{
|
|
5343
5344
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5344
5345
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5374,29 +5375,28 @@ export declare const DelegationCredentialSubjectSchema: z.ZodObject<{
|
|
|
5374
5375
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5375
5376
|
}, "strip", z.ZodTypeAny, {
|
|
5376
5377
|
resource: string;
|
|
5377
|
-
matcher: "exact" | "
|
|
5378
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5378
5379
|
constraints?: Record<string, any> | undefined;
|
|
5379
5380
|
}, {
|
|
5380
5381
|
resource: string;
|
|
5381
|
-
matcher: "exact" | "
|
|
5382
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5382
5383
|
constraints?: Record<string, any> | undefined;
|
|
5383
5384
|
}>, "many">;
|
|
5384
5385
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5385
|
-
notBefore?: number | undefined;
|
|
5386
|
-
notAfter?: number | undefined;
|
|
5387
5386
|
} & {
|
|
5388
5387
|
[k: string]: unknown;
|
|
5389
5388
|
};
|
|
5389
|
+
issuerDid: string;
|
|
5390
5390
|
subjectDid: string;
|
|
5391
|
-
status?: "
|
|
5392
|
-
controller?: string | undefined;
|
|
5393
|
-
metadata?: Record<string, any> | undefined;
|
|
5391
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
5394
5392
|
scopes?: string[] | undefined;
|
|
5393
|
+
metadata?: Record<string, any> | undefined;
|
|
5395
5394
|
createdAt?: number | undefined;
|
|
5396
5395
|
sessionId?: string | undefined;
|
|
5397
|
-
userIdentifier?: string | undefined;
|
|
5398
5396
|
userDid?: string | undefined;
|
|
5397
|
+
controller?: string | undefined;
|
|
5399
5398
|
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" | "prefix" | "regex";
|
|
5529
5529
|
constraints?: Record<string, any> | undefined;
|
|
5530
5530
|
}, {
|
|
5531
5531
|
resource: string;
|
|
5532
|
-
matcher: "exact" | "
|
|
5532
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5571
5571
|
constraints?: Record<string, any> | undefined;
|
|
5572
5572
|
}, {
|
|
5573
5573
|
resource: string;
|
|
5574
|
-
matcher: "exact" | "
|
|
5574
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5613
5613
|
constraints?: Record<string, any> | undefined;
|
|
5614
5614
|
}, {
|
|
5615
5615
|
resource: string;
|
|
5616
|
-
matcher: "exact" | "
|
|
5616
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5661
5661
|
constraints?: Record<string, any> | undefined;
|
|
5662
5662
|
}, {
|
|
5663
5663
|
resource: string;
|
|
5664
|
-
matcher: "exact" | "
|
|
5664
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5703
5703
|
constraints?: Record<string, any> | undefined;
|
|
5704
5704
|
}, {
|
|
5705
5705
|
resource: string;
|
|
5706
|
-
matcher: "exact" | "
|
|
5706
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5745
5745
|
constraints?: Record<string, any> | undefined;
|
|
5746
5746
|
}, {
|
|
5747
5747
|
resource: string;
|
|
5748
|
-
matcher: "exact" | "
|
|
5748
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5793
5793
|
constraints?: Record<string, any> | undefined;
|
|
5794
5794
|
}, {
|
|
5795
5795
|
resource: string;
|
|
5796
|
-
matcher: "exact" | "
|
|
5796
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5835
5835
|
constraints?: Record<string, any> | undefined;
|
|
5836
5836
|
}, {
|
|
5837
5837
|
resource: string;
|
|
5838
|
-
matcher: "exact" | "
|
|
5838
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
5877
5877
|
constraints?: Record<string, any> | undefined;
|
|
5878
5878
|
}, {
|
|
5879
5879
|
resource: string;
|
|
5880
|
-
matcher: "exact" | "
|
|
5880
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5881
5881
|
constraints?: Record<string, any> | undefined;
|
|
5882
5882
|
}>, "many">;
|
|
5883
5883
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -5889,12 +5889,13 @@ 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: "revoked" | "active" | "expired";
|
|
5893
5893
|
id: string;
|
|
5894
|
-
issuerDid: string;
|
|
5895
5894
|
constraints: {
|
|
5896
5895
|
scopes?: string[] | undefined;
|
|
5897
5896
|
audience?: string | string[] | undefined;
|
|
5897
|
+
notBefore?: number | undefined;
|
|
5898
|
+
notAfter?: number | undefined;
|
|
5898
5899
|
crisp?: z.objectOutputType<{
|
|
5899
5900
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5900
5901
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5930,34 +5931,34 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5930
5931
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5931
5932
|
}, "strip", z.ZodTypeAny, {
|
|
5932
5933
|
resource: string;
|
|
5933
|
-
matcher: "exact" | "
|
|
5934
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5934
5935
|
constraints?: Record<string, any> | undefined;
|
|
5935
5936
|
}, {
|
|
5936
5937
|
resource: string;
|
|
5937
|
-
matcher: "exact" | "
|
|
5938
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5938
5939
|
constraints?: Record<string, any> | undefined;
|
|
5939
5940
|
}>, "many">;
|
|
5940
5941
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5941
|
-
notBefore?: number | undefined;
|
|
5942
|
-
notAfter?: number | undefined;
|
|
5943
5942
|
} & {
|
|
5944
5943
|
[k: string]: unknown;
|
|
5945
5944
|
};
|
|
5945
|
+
issuerDid: string;
|
|
5946
5946
|
subjectDid: string;
|
|
5947
|
-
controller?: string | undefined;
|
|
5948
|
-
metadata?: Record<string, any> | undefined;
|
|
5949
5947
|
scopes?: string[] | undefined;
|
|
5948
|
+
metadata?: Record<string, any> | undefined;
|
|
5950
5949
|
createdAt?: number | undefined;
|
|
5951
5950
|
sessionId?: string | undefined;
|
|
5952
|
-
userIdentifier?: string | undefined;
|
|
5953
5951
|
userDid?: string | undefined;
|
|
5952
|
+
controller?: string | undefined;
|
|
5954
5953
|
parentId?: string | undefined;
|
|
5954
|
+
userIdentifier?: string | undefined;
|
|
5955
5955
|
}, {
|
|
5956
5956
|
id: string;
|
|
5957
|
-
issuerDid: string;
|
|
5958
5957
|
constraints: {
|
|
5959
5958
|
scopes?: string[] | undefined;
|
|
5960
5959
|
audience?: string | string[] | undefined;
|
|
5960
|
+
notBefore?: number | undefined;
|
|
5961
|
+
notAfter?: number | undefined;
|
|
5961
5962
|
crisp?: z.objectInputType<{
|
|
5962
5963
|
budget: z.ZodOptional<z.ZodObject<{
|
|
5963
5964
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -5993,39 +5994,39 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
5993
5994
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
5994
5995
|
}, "strip", z.ZodTypeAny, {
|
|
5995
5996
|
resource: string;
|
|
5996
|
-
matcher: "exact" | "
|
|
5997
|
+
matcher: "exact" | "prefix" | "regex";
|
|
5997
5998
|
constraints?: Record<string, any> | undefined;
|
|
5998
5999
|
}, {
|
|
5999
6000
|
resource: string;
|
|
6000
|
-
matcher: "exact" | "
|
|
6001
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6001
6002
|
constraints?: Record<string, any> | undefined;
|
|
6002
6003
|
}>, "many">;
|
|
6003
6004
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6004
|
-
notBefore?: number | undefined;
|
|
6005
|
-
notAfter?: number | undefined;
|
|
6006
6005
|
} & {
|
|
6007
6006
|
[k: string]: unknown;
|
|
6008
6007
|
};
|
|
6008
|
+
issuerDid: string;
|
|
6009
6009
|
subjectDid: string;
|
|
6010
|
-
status?: "
|
|
6011
|
-
controller?: string | undefined;
|
|
6012
|
-
metadata?: Record<string, any> | undefined;
|
|
6010
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
6013
6011
|
scopes?: string[] | undefined;
|
|
6012
|
+
metadata?: Record<string, any> | undefined;
|
|
6014
6013
|
createdAt?: number | undefined;
|
|
6015
6014
|
sessionId?: string | undefined;
|
|
6016
|
-
userIdentifier?: string | undefined;
|
|
6017
6015
|
userDid?: string | undefined;
|
|
6016
|
+
controller?: string | undefined;
|
|
6018
6017
|
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: "revoked" | "active" | "expired";
|
|
6024
6024
|
id: string;
|
|
6025
|
-
issuerDid: string;
|
|
6026
6025
|
constraints: {
|
|
6027
6026
|
scopes?: string[] | undefined;
|
|
6028
6027
|
audience?: string | string[] | undefined;
|
|
6028
|
+
notBefore?: number | undefined;
|
|
6029
|
+
notAfter?: number | undefined;
|
|
6029
6030
|
crisp?: z.objectOutputType<{
|
|
6030
6031
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6031
6032
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6061,37 +6062,37 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6061
6062
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6062
6063
|
}, "strip", z.ZodTypeAny, {
|
|
6063
6064
|
resource: string;
|
|
6064
|
-
matcher: "exact" | "
|
|
6065
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6065
6066
|
constraints?: Record<string, any> | undefined;
|
|
6066
6067
|
}, {
|
|
6067
6068
|
resource: string;
|
|
6068
|
-
matcher: "exact" | "
|
|
6069
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6069
6070
|
constraints?: Record<string, any> | undefined;
|
|
6070
6071
|
}>, "many">;
|
|
6071
6072
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6072
|
-
notBefore?: number | undefined;
|
|
6073
|
-
notAfter?: number | undefined;
|
|
6074
6073
|
} & {
|
|
6075
6074
|
[k: string]: unknown;
|
|
6076
6075
|
};
|
|
6076
|
+
issuerDid: string;
|
|
6077
6077
|
subjectDid: string;
|
|
6078
|
-
controller?: string | undefined;
|
|
6079
|
-
metadata?: Record<string, any> | undefined;
|
|
6080
6078
|
scopes?: string[] | undefined;
|
|
6079
|
+
metadata?: Record<string, any> | undefined;
|
|
6081
6080
|
createdAt?: number | undefined;
|
|
6082
6081
|
sessionId?: string | undefined;
|
|
6083
|
-
userIdentifier?: string | undefined;
|
|
6084
6082
|
userDid?: string | undefined;
|
|
6083
|
+
controller?: string | undefined;
|
|
6085
6084
|
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;
|
|
6092
6091
|
constraints: {
|
|
6093
6092
|
scopes?: string[] | undefined;
|
|
6094
6093
|
audience?: string | string[] | undefined;
|
|
6094
|
+
notBefore?: number | undefined;
|
|
6095
|
+
notAfter?: number | undefined;
|
|
6095
6096
|
crisp?: z.objectInputType<{
|
|
6096
6097
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6097
6098
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6127,29 +6128,28 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6127
6128
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6128
6129
|
}, "strip", z.ZodTypeAny, {
|
|
6129
6130
|
resource: string;
|
|
6130
|
-
matcher: "exact" | "
|
|
6131
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6131
6132
|
constraints?: Record<string, any> | undefined;
|
|
6132
6133
|
}, {
|
|
6133
6134
|
resource: string;
|
|
6134
|
-
matcher: "exact" | "
|
|
6135
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6135
6136
|
constraints?: Record<string, any> | undefined;
|
|
6136
6137
|
}>, "many">;
|
|
6137
6138
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6138
|
-
notBefore?: number | undefined;
|
|
6139
|
-
notAfter?: number | undefined;
|
|
6140
6139
|
} & {
|
|
6141
6140
|
[k: string]: unknown;
|
|
6142
6141
|
};
|
|
6142
|
+
issuerDid: string;
|
|
6143
6143
|
subjectDid: string;
|
|
6144
|
-
status?: "
|
|
6145
|
-
controller?: string | undefined;
|
|
6146
|
-
metadata?: Record<string, any> | undefined;
|
|
6144
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
6147
6145
|
scopes?: string[] | undefined;
|
|
6146
|
+
metadata?: Record<string, any> | undefined;
|
|
6148
6147
|
createdAt?: number | undefined;
|
|
6149
6148
|
sessionId?: string | undefined;
|
|
6150
|
-
userIdentifier?: string | undefined;
|
|
6151
6149
|
userDid?: string | undefined;
|
|
6150
|
+
controller?: string | undefined;
|
|
6152
6151
|
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" | "prefix" | "regex";
|
|
6293
6293
|
constraints?: Record<string, any> | undefined;
|
|
6294
6294
|
}, {
|
|
6295
6295
|
resource: string;
|
|
6296
|
-
matcher: "exact" | "
|
|
6296
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6335
6335
|
constraints?: Record<string, any> | undefined;
|
|
6336
6336
|
}, {
|
|
6337
6337
|
resource: string;
|
|
6338
|
-
matcher: "exact" | "
|
|
6338
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6377
6377
|
constraints?: Record<string, any> | undefined;
|
|
6378
6378
|
}, {
|
|
6379
6379
|
resource: string;
|
|
6380
|
-
matcher: "exact" | "
|
|
6380
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6425
6425
|
constraints?: Record<string, any> | undefined;
|
|
6426
6426
|
}, {
|
|
6427
6427
|
resource: string;
|
|
6428
|
-
matcher: "exact" | "
|
|
6428
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6467
6467
|
constraints?: Record<string, any> | undefined;
|
|
6468
6468
|
}, {
|
|
6469
6469
|
resource: string;
|
|
6470
|
-
matcher: "exact" | "
|
|
6470
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6509
6509
|
constraints?: Record<string, any> | undefined;
|
|
6510
6510
|
}, {
|
|
6511
6511
|
resource: string;
|
|
6512
|
-
matcher: "exact" | "
|
|
6512
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6557
6557
|
constraints?: Record<string, any> | undefined;
|
|
6558
6558
|
}, {
|
|
6559
6559
|
resource: string;
|
|
6560
|
-
matcher: "exact" | "
|
|
6560
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6599
6599
|
constraints?: Record<string, any> | undefined;
|
|
6600
6600
|
}, {
|
|
6601
6601
|
resource: string;
|
|
6602
|
-
matcher: "exact" | "
|
|
6602
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
6641
6641
|
constraints?: Record<string, any> | undefined;
|
|
6642
6642
|
}, {
|
|
6643
6643
|
resource: string;
|
|
6644
|
-
matcher: "exact" | "
|
|
6644
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6645
6645
|
constraints?: Record<string, any> | undefined;
|
|
6646
6646
|
}>, "many">;
|
|
6647
6647
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -6653,12 +6653,13 @@ 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: "revoked" | "active" | "expired";
|
|
6657
6657
|
id: string;
|
|
6658
|
-
issuerDid: string;
|
|
6659
6658
|
constraints: {
|
|
6660
6659
|
scopes?: string[] | undefined;
|
|
6661
6660
|
audience?: string | string[] | undefined;
|
|
6661
|
+
notBefore?: number | undefined;
|
|
6662
|
+
notAfter?: number | undefined;
|
|
6662
6663
|
crisp?: z.objectOutputType<{
|
|
6663
6664
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6664
6665
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6694,34 +6695,34 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6694
6695
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6695
6696
|
}, "strip", z.ZodTypeAny, {
|
|
6696
6697
|
resource: string;
|
|
6697
|
-
matcher: "exact" | "
|
|
6698
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6698
6699
|
constraints?: Record<string, any> | undefined;
|
|
6699
6700
|
}, {
|
|
6700
6701
|
resource: string;
|
|
6701
|
-
matcher: "exact" | "
|
|
6702
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6702
6703
|
constraints?: Record<string, any> | undefined;
|
|
6703
6704
|
}>, "many">;
|
|
6704
6705
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6705
|
-
notBefore?: number | undefined;
|
|
6706
|
-
notAfter?: number | undefined;
|
|
6707
6706
|
} & {
|
|
6708
6707
|
[k: string]: unknown;
|
|
6709
6708
|
};
|
|
6709
|
+
issuerDid: string;
|
|
6710
6710
|
subjectDid: string;
|
|
6711
|
-
controller?: string | undefined;
|
|
6712
|
-
metadata?: Record<string, any> | undefined;
|
|
6713
6711
|
scopes?: string[] | undefined;
|
|
6712
|
+
metadata?: Record<string, any> | undefined;
|
|
6714
6713
|
createdAt?: number | undefined;
|
|
6715
6714
|
sessionId?: string | undefined;
|
|
6716
|
-
userIdentifier?: string | undefined;
|
|
6717
6715
|
userDid?: string | undefined;
|
|
6716
|
+
controller?: string | undefined;
|
|
6718
6717
|
parentId?: string | undefined;
|
|
6718
|
+
userIdentifier?: string | undefined;
|
|
6719
6719
|
}, {
|
|
6720
6720
|
id: string;
|
|
6721
|
-
issuerDid: string;
|
|
6722
6721
|
constraints: {
|
|
6723
6722
|
scopes?: string[] | undefined;
|
|
6724
6723
|
audience?: string | string[] | undefined;
|
|
6724
|
+
notBefore?: number | undefined;
|
|
6725
|
+
notAfter?: number | undefined;
|
|
6725
6726
|
crisp?: z.objectInputType<{
|
|
6726
6727
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6727
6728
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6757,39 +6758,39 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6757
6758
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6758
6759
|
}, "strip", z.ZodTypeAny, {
|
|
6759
6760
|
resource: string;
|
|
6760
|
-
matcher: "exact" | "
|
|
6761
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6761
6762
|
constraints?: Record<string, any> | undefined;
|
|
6762
6763
|
}, {
|
|
6763
6764
|
resource: string;
|
|
6764
|
-
matcher: "exact" | "
|
|
6765
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6765
6766
|
constraints?: Record<string, any> | undefined;
|
|
6766
6767
|
}>, "many">;
|
|
6767
6768
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6768
|
-
notBefore?: number | undefined;
|
|
6769
|
-
notAfter?: number | undefined;
|
|
6770
6769
|
} & {
|
|
6771
6770
|
[k: string]: unknown;
|
|
6772
6771
|
};
|
|
6772
|
+
issuerDid: string;
|
|
6773
6773
|
subjectDid: string;
|
|
6774
|
-
status?: "
|
|
6775
|
-
controller?: string | undefined;
|
|
6776
|
-
metadata?: Record<string, any> | undefined;
|
|
6774
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
6777
6775
|
scopes?: string[] | undefined;
|
|
6776
|
+
metadata?: Record<string, any> | undefined;
|
|
6778
6777
|
createdAt?: number | undefined;
|
|
6779
6778
|
sessionId?: string | undefined;
|
|
6780
|
-
userIdentifier?: string | undefined;
|
|
6781
6779
|
userDid?: string | undefined;
|
|
6780
|
+
controller?: string | undefined;
|
|
6782
6781
|
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: "revoked" | "active" | "expired";
|
|
6788
6788
|
id: string;
|
|
6789
|
-
issuerDid: string;
|
|
6790
6789
|
constraints: {
|
|
6791
6790
|
scopes?: string[] | undefined;
|
|
6792
6791
|
audience?: string | string[] | undefined;
|
|
6792
|
+
notBefore?: number | undefined;
|
|
6793
|
+
notAfter?: number | undefined;
|
|
6793
6794
|
crisp?: z.objectOutputType<{
|
|
6794
6795
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6795
6796
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6825,37 +6826,37 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6825
6826
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6826
6827
|
}, "strip", z.ZodTypeAny, {
|
|
6827
6828
|
resource: string;
|
|
6828
|
-
matcher: "exact" | "
|
|
6829
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6829
6830
|
constraints?: Record<string, any> | undefined;
|
|
6830
6831
|
}, {
|
|
6831
6832
|
resource: string;
|
|
6832
|
-
matcher: "exact" | "
|
|
6833
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6833
6834
|
constraints?: Record<string, any> | undefined;
|
|
6834
6835
|
}>, "many">;
|
|
6835
6836
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6836
|
-
notBefore?: number | undefined;
|
|
6837
|
-
notAfter?: number | undefined;
|
|
6838
6837
|
} & {
|
|
6839
6838
|
[k: string]: unknown;
|
|
6840
6839
|
};
|
|
6840
|
+
issuerDid: string;
|
|
6841
6841
|
subjectDid: string;
|
|
6842
|
-
controller?: string | undefined;
|
|
6843
|
-
metadata?: Record<string, any> | undefined;
|
|
6844
6842
|
scopes?: string[] | undefined;
|
|
6843
|
+
metadata?: Record<string, any> | undefined;
|
|
6845
6844
|
createdAt?: number | undefined;
|
|
6846
6845
|
sessionId?: string | undefined;
|
|
6847
|
-
userIdentifier?: string | undefined;
|
|
6848
6846
|
userDid?: string | undefined;
|
|
6847
|
+
controller?: string | undefined;
|
|
6849
6848
|
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;
|
|
6856
6855
|
constraints: {
|
|
6857
6856
|
scopes?: string[] | undefined;
|
|
6858
6857
|
audience?: string | string[] | undefined;
|
|
6858
|
+
notBefore?: number | undefined;
|
|
6859
|
+
notAfter?: number | undefined;
|
|
6859
6860
|
crisp?: z.objectInputType<{
|
|
6860
6861
|
budget: z.ZodOptional<z.ZodObject<{
|
|
6861
6862
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -6891,29 +6892,28 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
6891
6892
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
6892
6893
|
}, "strip", z.ZodTypeAny, {
|
|
6893
6894
|
resource: string;
|
|
6894
|
-
matcher: "exact" | "
|
|
6895
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6895
6896
|
constraints?: Record<string, any> | undefined;
|
|
6896
6897
|
}, {
|
|
6897
6898
|
resource: string;
|
|
6898
|
-
matcher: "exact" | "
|
|
6899
|
+
matcher: "exact" | "prefix" | "regex";
|
|
6899
6900
|
constraints?: Record<string, any> | undefined;
|
|
6900
6901
|
}>, "many">;
|
|
6901
6902
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6902
|
-
notBefore?: number | undefined;
|
|
6903
|
-
notAfter?: number | undefined;
|
|
6904
6903
|
} & {
|
|
6905
6904
|
[k: string]: unknown;
|
|
6906
6905
|
};
|
|
6906
|
+
issuerDid: string;
|
|
6907
6907
|
subjectDid: string;
|
|
6908
|
-
status?: "
|
|
6909
|
-
controller?: string | undefined;
|
|
6910
|
-
metadata?: Record<string, any> | undefined;
|
|
6908
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
6911
6909
|
scopes?: string[] | undefined;
|
|
6910
|
+
metadata?: Record<string, any> | undefined;
|
|
6912
6911
|
createdAt?: number | undefined;
|
|
6913
6912
|
sessionId?: string | undefined;
|
|
6914
|
-
userIdentifier?: string | undefined;
|
|
6915
6913
|
userDid?: string | undefined;
|
|
6914
|
+
controller?: string | undefined;
|
|
6916
6915
|
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" | "prefix" | "regex";
|
|
7057
7057
|
constraints?: Record<string, any> | undefined;
|
|
7058
7058
|
}, {
|
|
7059
7059
|
resource: string;
|
|
7060
|
-
matcher: "exact" | "
|
|
7060
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7099
7099
|
constraints?: Record<string, any> | undefined;
|
|
7100
7100
|
}, {
|
|
7101
7101
|
resource: string;
|
|
7102
|
-
matcher: "exact" | "
|
|
7102
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7141
7141
|
constraints?: Record<string, any> | undefined;
|
|
7142
7142
|
}, {
|
|
7143
7143
|
resource: string;
|
|
7144
|
-
matcher: "exact" | "
|
|
7144
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7189
7189
|
constraints?: Record<string, any> | undefined;
|
|
7190
7190
|
}, {
|
|
7191
7191
|
resource: string;
|
|
7192
|
-
matcher: "exact" | "
|
|
7192
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7231
7231
|
constraints?: Record<string, any> | undefined;
|
|
7232
7232
|
}, {
|
|
7233
7233
|
resource: string;
|
|
7234
|
-
matcher: "exact" | "
|
|
7234
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7273
7273
|
constraints?: Record<string, any> | undefined;
|
|
7274
7274
|
}, {
|
|
7275
7275
|
resource: string;
|
|
7276
|
-
matcher: "exact" | "
|
|
7276
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7321
7321
|
constraints?: Record<string, any> | undefined;
|
|
7322
7322
|
}, {
|
|
7323
7323
|
resource: string;
|
|
7324
|
-
matcher: "exact" | "
|
|
7324
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7363
7363
|
constraints?: Record<string, any> | undefined;
|
|
7364
7364
|
}, {
|
|
7365
7365
|
resource: string;
|
|
7366
|
-
matcher: "exact" | "
|
|
7366
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7405
7405
|
constraints?: Record<string, any> | undefined;
|
|
7406
7406
|
}, {
|
|
7407
7407
|
resource: string;
|
|
7408
|
-
matcher: "exact" | "
|
|
7408
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7409
7409
|
constraints?: Record<string, any> | undefined;
|
|
7410
7410
|
}>, "many">;
|
|
7411
7411
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -7417,12 +7417,13 @@ 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: "revoked" | "active" | "expired";
|
|
7421
7421
|
id: string;
|
|
7422
|
-
issuerDid: string;
|
|
7423
7422
|
constraints: {
|
|
7424
7423
|
scopes?: string[] | undefined;
|
|
7425
7424
|
audience?: string | string[] | undefined;
|
|
7425
|
+
notBefore?: number | undefined;
|
|
7426
|
+
notAfter?: number | undefined;
|
|
7426
7427
|
crisp?: z.objectOutputType<{
|
|
7427
7428
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7428
7429
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7458,34 +7459,34 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7458
7459
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7459
7460
|
}, "strip", z.ZodTypeAny, {
|
|
7460
7461
|
resource: string;
|
|
7461
|
-
matcher: "exact" | "
|
|
7462
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7462
7463
|
constraints?: Record<string, any> | undefined;
|
|
7463
7464
|
}, {
|
|
7464
7465
|
resource: string;
|
|
7465
|
-
matcher: "exact" | "
|
|
7466
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7466
7467
|
constraints?: Record<string, any> | undefined;
|
|
7467
7468
|
}>, "many">;
|
|
7468
7469
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7469
|
-
notBefore?: number | undefined;
|
|
7470
|
-
notAfter?: number | undefined;
|
|
7471
7470
|
} & {
|
|
7472
7471
|
[k: string]: unknown;
|
|
7473
7472
|
};
|
|
7473
|
+
issuerDid: string;
|
|
7474
7474
|
subjectDid: string;
|
|
7475
|
-
controller?: string | undefined;
|
|
7476
|
-
metadata?: Record<string, any> | undefined;
|
|
7477
7475
|
scopes?: string[] | undefined;
|
|
7476
|
+
metadata?: Record<string, any> | undefined;
|
|
7478
7477
|
createdAt?: number | undefined;
|
|
7479
7478
|
sessionId?: string | undefined;
|
|
7480
|
-
userIdentifier?: string | undefined;
|
|
7481
7479
|
userDid?: string | undefined;
|
|
7480
|
+
controller?: string | undefined;
|
|
7482
7481
|
parentId?: string | undefined;
|
|
7482
|
+
userIdentifier?: string | undefined;
|
|
7483
7483
|
}, {
|
|
7484
7484
|
id: string;
|
|
7485
|
-
issuerDid: string;
|
|
7486
7485
|
constraints: {
|
|
7487
7486
|
scopes?: string[] | undefined;
|
|
7488
7487
|
audience?: string | string[] | undefined;
|
|
7488
|
+
notBefore?: number | undefined;
|
|
7489
|
+
notAfter?: number | undefined;
|
|
7489
7490
|
crisp?: z.objectInputType<{
|
|
7490
7491
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7491
7492
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7521,39 +7522,39 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7521
7522
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7522
7523
|
}, "strip", z.ZodTypeAny, {
|
|
7523
7524
|
resource: string;
|
|
7524
|
-
matcher: "exact" | "
|
|
7525
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7525
7526
|
constraints?: Record<string, any> | undefined;
|
|
7526
7527
|
}, {
|
|
7527
7528
|
resource: string;
|
|
7528
|
-
matcher: "exact" | "
|
|
7529
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7529
7530
|
constraints?: Record<string, any> | undefined;
|
|
7530
7531
|
}>, "many">;
|
|
7531
7532
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7532
|
-
notBefore?: number | undefined;
|
|
7533
|
-
notAfter?: number | undefined;
|
|
7534
7533
|
} & {
|
|
7535
7534
|
[k: string]: unknown;
|
|
7536
7535
|
};
|
|
7536
|
+
issuerDid: string;
|
|
7537
7537
|
subjectDid: string;
|
|
7538
|
-
status?: "
|
|
7539
|
-
controller?: string | undefined;
|
|
7540
|
-
metadata?: Record<string, any> | undefined;
|
|
7538
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
7541
7539
|
scopes?: string[] | undefined;
|
|
7540
|
+
metadata?: Record<string, any> | undefined;
|
|
7542
7541
|
createdAt?: number | undefined;
|
|
7543
7542
|
sessionId?: string | undefined;
|
|
7544
|
-
userIdentifier?: string | undefined;
|
|
7545
7543
|
userDid?: string | undefined;
|
|
7544
|
+
controller?: string | undefined;
|
|
7546
7545
|
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: "revoked" | "active" | "expired";
|
|
7552
7552
|
id: string;
|
|
7553
|
-
issuerDid: string;
|
|
7554
7553
|
constraints: {
|
|
7555
7554
|
scopes?: string[] | undefined;
|
|
7556
7555
|
audience?: string | string[] | undefined;
|
|
7556
|
+
notBefore?: number | undefined;
|
|
7557
|
+
notAfter?: number | undefined;
|
|
7557
7558
|
crisp?: z.objectOutputType<{
|
|
7558
7559
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7559
7560
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7589,37 +7590,37 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7589
7590
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7590
7591
|
}, "strip", z.ZodTypeAny, {
|
|
7591
7592
|
resource: string;
|
|
7592
|
-
matcher: "exact" | "
|
|
7593
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7593
7594
|
constraints?: Record<string, any> | undefined;
|
|
7594
7595
|
}, {
|
|
7595
7596
|
resource: string;
|
|
7596
|
-
matcher: "exact" | "
|
|
7597
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7597
7598
|
constraints?: Record<string, any> | undefined;
|
|
7598
7599
|
}>, "many">;
|
|
7599
7600
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7600
|
-
notBefore?: number | undefined;
|
|
7601
|
-
notAfter?: number | undefined;
|
|
7602
7601
|
} & {
|
|
7603
7602
|
[k: string]: unknown;
|
|
7604
7603
|
};
|
|
7604
|
+
issuerDid: string;
|
|
7605
7605
|
subjectDid: string;
|
|
7606
|
-
controller?: string | undefined;
|
|
7607
|
-
metadata?: Record<string, any> | undefined;
|
|
7608
7606
|
scopes?: string[] | undefined;
|
|
7607
|
+
metadata?: Record<string, any> | undefined;
|
|
7609
7608
|
createdAt?: number | undefined;
|
|
7610
7609
|
sessionId?: string | undefined;
|
|
7611
|
-
userIdentifier?: string | undefined;
|
|
7612
7610
|
userDid?: string | undefined;
|
|
7611
|
+
controller?: string | undefined;
|
|
7613
7612
|
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;
|
|
7620
7619
|
constraints: {
|
|
7621
7620
|
scopes?: string[] | undefined;
|
|
7622
7621
|
audience?: string | string[] | undefined;
|
|
7622
|
+
notBefore?: number | undefined;
|
|
7623
|
+
notAfter?: number | undefined;
|
|
7623
7624
|
crisp?: z.objectInputType<{
|
|
7624
7625
|
budget: z.ZodOptional<z.ZodObject<{
|
|
7625
7626
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -7655,29 +7656,28 @@ export declare const DelegationCredentialSchema: z.ZodObject<{
|
|
|
7655
7656
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7656
7657
|
}, "strip", z.ZodTypeAny, {
|
|
7657
7658
|
resource: string;
|
|
7658
|
-
matcher: "exact" | "
|
|
7659
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7659
7660
|
constraints?: Record<string, any> | undefined;
|
|
7660
7661
|
}, {
|
|
7661
7662
|
resource: string;
|
|
7662
|
-
matcher: "exact" | "
|
|
7663
|
+
matcher: "exact" | "prefix" | "regex";
|
|
7663
7664
|
constraints?: Record<string, any> | undefined;
|
|
7664
7665
|
}>, "many">;
|
|
7665
7666
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7666
|
-
notBefore?: number | undefined;
|
|
7667
|
-
notAfter?: number | undefined;
|
|
7668
7667
|
} & {
|
|
7669
7668
|
[k: string]: unknown;
|
|
7670
7669
|
};
|
|
7670
|
+
issuerDid: string;
|
|
7671
7671
|
subjectDid: string;
|
|
7672
|
-
status?: "
|
|
7673
|
-
controller?: string | undefined;
|
|
7674
|
-
metadata?: Record<string, any> | undefined;
|
|
7672
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
7675
7673
|
scopes?: string[] | undefined;
|
|
7674
|
+
metadata?: Record<string, any> | undefined;
|
|
7676
7675
|
createdAt?: number | undefined;
|
|
7677
7676
|
sessionId?: string | undefined;
|
|
7678
|
-
userIdentifier?: string | undefined;
|
|
7679
7677
|
userDid?: string | undefined;
|
|
7678
|
+
controller?: string | undefined;
|
|
7680
7679
|
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" | "prefix" | "regex";
|
|
7829
7829
|
constraints?: Record<string, any> | undefined;
|
|
7830
7830
|
}, {
|
|
7831
7831
|
resource: string;
|
|
7832
|
-
matcher: "exact" | "
|
|
7832
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7871
7871
|
constraints?: Record<string, any> | undefined;
|
|
7872
7872
|
}, {
|
|
7873
7873
|
resource: string;
|
|
7874
|
-
matcher: "exact" | "
|
|
7874
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7913
7913
|
constraints?: Record<string, any> | undefined;
|
|
7914
7914
|
}, {
|
|
7915
7915
|
resource: string;
|
|
7916
|
-
matcher: "exact" | "
|
|
7916
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
7961
7961
|
constraints?: Record<string, any> | undefined;
|
|
7962
7962
|
}, {
|
|
7963
7963
|
resource: string;
|
|
7964
|
-
matcher: "exact" | "
|
|
7964
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8003
8003
|
constraints?: Record<string, any> | undefined;
|
|
8004
8004
|
}, {
|
|
8005
8005
|
resource: string;
|
|
8006
|
-
matcher: "exact" | "
|
|
8006
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8045
8045
|
constraints?: Record<string, any> | undefined;
|
|
8046
8046
|
}, {
|
|
8047
8047
|
resource: string;
|
|
8048
|
-
matcher: "exact" | "
|
|
8048
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8093
8093
|
constraints?: Record<string, any> | undefined;
|
|
8094
8094
|
}, {
|
|
8095
8095
|
resource: string;
|
|
8096
|
-
matcher: "exact" | "
|
|
8096
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8135
8135
|
constraints?: Record<string, any> | undefined;
|
|
8136
8136
|
}, {
|
|
8137
8137
|
resource: string;
|
|
8138
|
-
matcher: "exact" | "
|
|
8138
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8177
8177
|
constraints?: Record<string, any> | undefined;
|
|
8178
8178
|
}, {
|
|
8179
8179
|
resource: string;
|
|
8180
|
-
matcher: "exact" | "
|
|
8180
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8181
8181
|
constraints?: Record<string, any> | undefined;
|
|
8182
8182
|
}>, "many">;
|
|
8183
8183
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8189,12 +8189,13 @@ 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: "revoked" | "active" | "expired";
|
|
8193
8193
|
id: string;
|
|
8194
|
-
issuerDid: string;
|
|
8195
8194
|
constraints: {
|
|
8196
8195
|
scopes?: string[] | undefined;
|
|
8197
8196
|
audience?: string | string[] | undefined;
|
|
8197
|
+
notBefore?: number | undefined;
|
|
8198
|
+
notAfter?: number | undefined;
|
|
8198
8199
|
crisp?: z.objectOutputType<{
|
|
8199
8200
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8200
8201
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8230,34 +8231,34 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8230
8231
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8231
8232
|
}, "strip", z.ZodTypeAny, {
|
|
8232
8233
|
resource: string;
|
|
8233
|
-
matcher: "exact" | "
|
|
8234
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8234
8235
|
constraints?: Record<string, any> | undefined;
|
|
8235
8236
|
}, {
|
|
8236
8237
|
resource: string;
|
|
8237
|
-
matcher: "exact" | "
|
|
8238
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8238
8239
|
constraints?: Record<string, any> | undefined;
|
|
8239
8240
|
}>, "many">;
|
|
8240
8241
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8241
|
-
notBefore?: number | undefined;
|
|
8242
|
-
notAfter?: number | undefined;
|
|
8243
8242
|
} & {
|
|
8244
8243
|
[k: string]: unknown;
|
|
8245
8244
|
};
|
|
8245
|
+
issuerDid: string;
|
|
8246
8246
|
subjectDid: string;
|
|
8247
|
-
controller?: string | undefined;
|
|
8248
|
-
metadata?: Record<string, any> | undefined;
|
|
8249
8247
|
scopes?: string[] | undefined;
|
|
8248
|
+
metadata?: Record<string, any> | undefined;
|
|
8250
8249
|
createdAt?: number | undefined;
|
|
8251
8250
|
sessionId?: string | undefined;
|
|
8252
|
-
userIdentifier?: string | undefined;
|
|
8253
8251
|
userDid?: string | undefined;
|
|
8252
|
+
controller?: string | undefined;
|
|
8254
8253
|
parentId?: string | undefined;
|
|
8254
|
+
userIdentifier?: string | undefined;
|
|
8255
8255
|
}, {
|
|
8256
8256
|
id: string;
|
|
8257
|
-
issuerDid: string;
|
|
8258
8257
|
constraints: {
|
|
8259
8258
|
scopes?: string[] | undefined;
|
|
8260
8259
|
audience?: string | string[] | undefined;
|
|
8260
|
+
notBefore?: number | undefined;
|
|
8261
|
+
notAfter?: number | undefined;
|
|
8261
8262
|
crisp?: z.objectInputType<{
|
|
8262
8263
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8263
8264
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8293,39 +8294,39 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8293
8294
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8294
8295
|
}, "strip", z.ZodTypeAny, {
|
|
8295
8296
|
resource: string;
|
|
8296
|
-
matcher: "exact" | "
|
|
8297
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8297
8298
|
constraints?: Record<string, any> | undefined;
|
|
8298
8299
|
}, {
|
|
8299
8300
|
resource: string;
|
|
8300
|
-
matcher: "exact" | "
|
|
8301
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8301
8302
|
constraints?: Record<string, any> | undefined;
|
|
8302
8303
|
}>, "many">;
|
|
8303
8304
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8304
|
-
notBefore?: number | undefined;
|
|
8305
|
-
notAfter?: number | undefined;
|
|
8306
8305
|
} & {
|
|
8307
8306
|
[k: string]: unknown;
|
|
8308
8307
|
};
|
|
8308
|
+
issuerDid: string;
|
|
8309
8309
|
subjectDid: string;
|
|
8310
|
-
status?: "
|
|
8311
|
-
controller?: string | undefined;
|
|
8312
|
-
metadata?: Record<string, any> | undefined;
|
|
8310
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
8313
8311
|
scopes?: string[] | undefined;
|
|
8312
|
+
metadata?: Record<string, any> | undefined;
|
|
8314
8313
|
createdAt?: number | undefined;
|
|
8315
8314
|
sessionId?: string | undefined;
|
|
8316
|
-
userIdentifier?: string | undefined;
|
|
8317
8315
|
userDid?: string | undefined;
|
|
8316
|
+
controller?: string | undefined;
|
|
8318
8317
|
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: "revoked" | "active" | "expired";
|
|
8324
8324
|
id: string;
|
|
8325
|
-
issuerDid: string;
|
|
8326
8325
|
constraints: {
|
|
8327
8326
|
scopes?: string[] | undefined;
|
|
8328
8327
|
audience?: string | string[] | undefined;
|
|
8328
|
+
notBefore?: number | undefined;
|
|
8329
|
+
notAfter?: number | undefined;
|
|
8329
8330
|
crisp?: z.objectOutputType<{
|
|
8330
8331
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8331
8332
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8361,37 +8362,37 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8361
8362
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8362
8363
|
}, "strip", z.ZodTypeAny, {
|
|
8363
8364
|
resource: string;
|
|
8364
|
-
matcher: "exact" | "
|
|
8365
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8365
8366
|
constraints?: Record<string, any> | undefined;
|
|
8366
8367
|
}, {
|
|
8367
8368
|
resource: string;
|
|
8368
|
-
matcher: "exact" | "
|
|
8369
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8369
8370
|
constraints?: Record<string, any> | undefined;
|
|
8370
8371
|
}>, "many">;
|
|
8371
8372
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8372
|
-
notBefore?: number | undefined;
|
|
8373
|
-
notAfter?: number | undefined;
|
|
8374
8373
|
} & {
|
|
8375
8374
|
[k: string]: unknown;
|
|
8376
8375
|
};
|
|
8376
|
+
issuerDid: string;
|
|
8377
8377
|
subjectDid: string;
|
|
8378
|
-
controller?: string | undefined;
|
|
8379
|
-
metadata?: Record<string, any> | undefined;
|
|
8380
8378
|
scopes?: string[] | undefined;
|
|
8379
|
+
metadata?: Record<string, any> | undefined;
|
|
8381
8380
|
createdAt?: number | undefined;
|
|
8382
8381
|
sessionId?: string | undefined;
|
|
8383
|
-
userIdentifier?: string | undefined;
|
|
8384
8382
|
userDid?: string | undefined;
|
|
8383
|
+
controller?: string | undefined;
|
|
8385
8384
|
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;
|
|
8392
8391
|
constraints: {
|
|
8393
8392
|
scopes?: string[] | undefined;
|
|
8394
8393
|
audience?: string | string[] | undefined;
|
|
8394
|
+
notBefore?: number | undefined;
|
|
8395
|
+
notAfter?: number | undefined;
|
|
8395
8396
|
crisp?: z.objectInputType<{
|
|
8396
8397
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8397
8398
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8427,29 +8428,28 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8427
8428
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8428
8429
|
}, "strip", z.ZodTypeAny, {
|
|
8429
8430
|
resource: string;
|
|
8430
|
-
matcher: "exact" | "
|
|
8431
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8431
8432
|
constraints?: Record<string, any> | undefined;
|
|
8432
8433
|
}, {
|
|
8433
8434
|
resource: string;
|
|
8434
|
-
matcher: "exact" | "
|
|
8435
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8435
8436
|
constraints?: Record<string, any> | undefined;
|
|
8436
8437
|
}>, "many">;
|
|
8437
8438
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8438
|
-
notBefore?: number | undefined;
|
|
8439
|
-
notAfter?: number | undefined;
|
|
8440
8439
|
} & {
|
|
8441
8440
|
[k: string]: unknown;
|
|
8442
8441
|
};
|
|
8442
|
+
issuerDid: string;
|
|
8443
8443
|
subjectDid: string;
|
|
8444
|
-
status?: "
|
|
8445
|
-
controller?: string | undefined;
|
|
8446
|
-
metadata?: Record<string, any> | undefined;
|
|
8444
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
8447
8445
|
scopes?: string[] | undefined;
|
|
8446
|
+
metadata?: Record<string, any> | undefined;
|
|
8448
8447
|
createdAt?: number | undefined;
|
|
8449
8448
|
sessionId?: string | undefined;
|
|
8450
|
-
userIdentifier?: string | undefined;
|
|
8451
8449
|
userDid?: string | undefined;
|
|
8450
|
+
controller?: string | undefined;
|
|
8452
8451
|
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" | "prefix" | "regex";
|
|
8593
8593
|
constraints?: Record<string, any> | undefined;
|
|
8594
8594
|
}, {
|
|
8595
8595
|
resource: string;
|
|
8596
|
-
matcher: "exact" | "
|
|
8596
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8635
8635
|
constraints?: Record<string, any> | undefined;
|
|
8636
8636
|
}, {
|
|
8637
8637
|
resource: string;
|
|
8638
|
-
matcher: "exact" | "
|
|
8638
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8677
8677
|
constraints?: Record<string, any> | undefined;
|
|
8678
8678
|
}, {
|
|
8679
8679
|
resource: string;
|
|
8680
|
-
matcher: "exact" | "
|
|
8680
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8725
8725
|
constraints?: Record<string, any> | undefined;
|
|
8726
8726
|
}, {
|
|
8727
8727
|
resource: string;
|
|
8728
|
-
matcher: "exact" | "
|
|
8728
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8767
8767
|
constraints?: Record<string, any> | undefined;
|
|
8768
8768
|
}, {
|
|
8769
8769
|
resource: string;
|
|
8770
|
-
matcher: "exact" | "
|
|
8770
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8809
8809
|
constraints?: Record<string, any> | undefined;
|
|
8810
8810
|
}, {
|
|
8811
8811
|
resource: string;
|
|
8812
|
-
matcher: "exact" | "
|
|
8812
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8857
8857
|
constraints?: Record<string, any> | undefined;
|
|
8858
8858
|
}, {
|
|
8859
8859
|
resource: string;
|
|
8860
|
-
matcher: "exact" | "
|
|
8860
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8899
8899
|
constraints?: Record<string, any> | undefined;
|
|
8900
8900
|
}, {
|
|
8901
8901
|
resource: string;
|
|
8902
|
-
matcher: "exact" | "
|
|
8902
|
+
matcher: "exact" | "prefix" | "regex";
|
|
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" | "prefix" | "regex";
|
|
8941
8941
|
constraints?: Record<string, any> | undefined;
|
|
8942
8942
|
}, {
|
|
8943
8943
|
resource: string;
|
|
8944
|
-
matcher: "exact" | "
|
|
8944
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8945
8945
|
constraints?: Record<string, any> | undefined;
|
|
8946
8946
|
}>, "many">;
|
|
8947
8947
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -8953,12 +8953,13 @@ 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: "revoked" | "active" | "expired";
|
|
8957
8957
|
id: string;
|
|
8958
|
-
issuerDid: string;
|
|
8959
8958
|
constraints: {
|
|
8960
8959
|
scopes?: string[] | undefined;
|
|
8961
8960
|
audience?: string | string[] | undefined;
|
|
8961
|
+
notBefore?: number | undefined;
|
|
8962
|
+
notAfter?: number | undefined;
|
|
8962
8963
|
crisp?: z.objectOutputType<{
|
|
8963
8964
|
budget: z.ZodOptional<z.ZodObject<{
|
|
8964
8965
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -8994,34 +8995,34 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
8994
8995
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8995
8996
|
}, "strip", z.ZodTypeAny, {
|
|
8996
8997
|
resource: string;
|
|
8997
|
-
matcher: "exact" | "
|
|
8998
|
+
matcher: "exact" | "prefix" | "regex";
|
|
8998
8999
|
constraints?: Record<string, any> | undefined;
|
|
8999
9000
|
}, {
|
|
9000
9001
|
resource: string;
|
|
9001
|
-
matcher: "exact" | "
|
|
9002
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9002
9003
|
constraints?: Record<string, any> | undefined;
|
|
9003
9004
|
}>, "many">;
|
|
9004
9005
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9005
|
-
notBefore?: number | undefined;
|
|
9006
|
-
notAfter?: number | undefined;
|
|
9007
9006
|
} & {
|
|
9008
9007
|
[k: string]: unknown;
|
|
9009
9008
|
};
|
|
9009
|
+
issuerDid: string;
|
|
9010
9010
|
subjectDid: string;
|
|
9011
|
-
controller?: string | undefined;
|
|
9012
|
-
metadata?: Record<string, any> | undefined;
|
|
9013
9011
|
scopes?: string[] | undefined;
|
|
9012
|
+
metadata?: Record<string, any> | undefined;
|
|
9014
9013
|
createdAt?: number | undefined;
|
|
9015
9014
|
sessionId?: string | undefined;
|
|
9016
|
-
userIdentifier?: string | undefined;
|
|
9017
9015
|
userDid?: string | undefined;
|
|
9016
|
+
controller?: string | undefined;
|
|
9018
9017
|
parentId?: string | undefined;
|
|
9018
|
+
userIdentifier?: string | undefined;
|
|
9019
9019
|
}, {
|
|
9020
9020
|
id: string;
|
|
9021
|
-
issuerDid: string;
|
|
9022
9021
|
constraints: {
|
|
9023
9022
|
scopes?: string[] | undefined;
|
|
9024
9023
|
audience?: string | string[] | undefined;
|
|
9024
|
+
notBefore?: number | undefined;
|
|
9025
|
+
notAfter?: number | undefined;
|
|
9025
9026
|
crisp?: z.objectInputType<{
|
|
9026
9027
|
budget: z.ZodOptional<z.ZodObject<{
|
|
9027
9028
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -9057,39 +9058,39 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9057
9058
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9058
9059
|
}, "strip", z.ZodTypeAny, {
|
|
9059
9060
|
resource: string;
|
|
9060
|
-
matcher: "exact" | "
|
|
9061
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9061
9062
|
constraints?: Record<string, any> | undefined;
|
|
9062
9063
|
}, {
|
|
9063
9064
|
resource: string;
|
|
9064
|
-
matcher: "exact" | "
|
|
9065
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9065
9066
|
constraints?: Record<string, any> | undefined;
|
|
9066
9067
|
}>, "many">;
|
|
9067
9068
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9068
|
-
notBefore?: number | undefined;
|
|
9069
|
-
notAfter?: number | undefined;
|
|
9070
9069
|
} & {
|
|
9071
9070
|
[k: string]: unknown;
|
|
9072
9071
|
};
|
|
9072
|
+
issuerDid: string;
|
|
9073
9073
|
subjectDid: string;
|
|
9074
|
-
status?: "
|
|
9075
|
-
controller?: string | undefined;
|
|
9076
|
-
metadata?: Record<string, any> | undefined;
|
|
9074
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
9077
9075
|
scopes?: string[] | undefined;
|
|
9076
|
+
metadata?: Record<string, any> | undefined;
|
|
9078
9077
|
createdAt?: number | undefined;
|
|
9079
9078
|
sessionId?: string | undefined;
|
|
9080
|
-
userIdentifier?: string | undefined;
|
|
9081
9079
|
userDid?: string | undefined;
|
|
9080
|
+
controller?: string | undefined;
|
|
9082
9081
|
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: "revoked" | "active" | "expired";
|
|
9088
9088
|
id: string;
|
|
9089
|
-
issuerDid: string;
|
|
9090
9089
|
constraints: {
|
|
9091
9090
|
scopes?: string[] | undefined;
|
|
9092
9091
|
audience?: string | string[] | undefined;
|
|
9092
|
+
notBefore?: number | undefined;
|
|
9093
|
+
notAfter?: number | undefined;
|
|
9093
9094
|
crisp?: z.objectOutputType<{
|
|
9094
9095
|
budget: z.ZodOptional<z.ZodObject<{
|
|
9095
9096
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -9125,37 +9126,37 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9125
9126
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9126
9127
|
}, "strip", z.ZodTypeAny, {
|
|
9127
9128
|
resource: string;
|
|
9128
|
-
matcher: "exact" | "
|
|
9129
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9129
9130
|
constraints?: Record<string, any> | undefined;
|
|
9130
9131
|
}, {
|
|
9131
9132
|
resource: string;
|
|
9132
|
-
matcher: "exact" | "
|
|
9133
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9133
9134
|
constraints?: Record<string, any> | undefined;
|
|
9134
9135
|
}>, "many">;
|
|
9135
9136
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9136
|
-
notBefore?: number | undefined;
|
|
9137
|
-
notAfter?: number | undefined;
|
|
9138
9137
|
} & {
|
|
9139
9138
|
[k: string]: unknown;
|
|
9140
9139
|
};
|
|
9140
|
+
issuerDid: string;
|
|
9141
9141
|
subjectDid: string;
|
|
9142
|
-
controller?: string | undefined;
|
|
9143
|
-
metadata?: Record<string, any> | undefined;
|
|
9144
9142
|
scopes?: string[] | undefined;
|
|
9143
|
+
metadata?: Record<string, any> | undefined;
|
|
9145
9144
|
createdAt?: number | undefined;
|
|
9146
9145
|
sessionId?: string | undefined;
|
|
9147
|
-
userIdentifier?: string | undefined;
|
|
9148
9146
|
userDid?: string | undefined;
|
|
9147
|
+
controller?: string | undefined;
|
|
9149
9148
|
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;
|
|
9156
9155
|
constraints: {
|
|
9157
9156
|
scopes?: string[] | undefined;
|
|
9158
9157
|
audience?: string | string[] | undefined;
|
|
9158
|
+
notBefore?: number | undefined;
|
|
9159
|
+
notAfter?: number | undefined;
|
|
9159
9160
|
crisp?: z.objectInputType<{
|
|
9160
9161
|
budget: z.ZodOptional<z.ZodObject<{
|
|
9161
9162
|
unit: z.ZodEnum<["USD", "ops", "points"]>;
|
|
@@ -9191,29 +9192,28 @@ export declare function validateDelegationCredential(credential: unknown): z.Saf
|
|
|
9191
9192
|
constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9192
9193
|
}, "strip", z.ZodTypeAny, {
|
|
9193
9194
|
resource: string;
|
|
9194
|
-
matcher: "exact" | "
|
|
9195
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9195
9196
|
constraints?: Record<string, any> | undefined;
|
|
9196
9197
|
}, {
|
|
9197
9198
|
resource: string;
|
|
9198
|
-
matcher: "exact" | "
|
|
9199
|
+
matcher: "exact" | "prefix" | "regex";
|
|
9199
9200
|
constraints?: Record<string, any> | undefined;
|
|
9200
9201
|
}>, "many">;
|
|
9201
9202
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9202
|
-
notBefore?: number | undefined;
|
|
9203
|
-
notAfter?: number | undefined;
|
|
9204
9203
|
} & {
|
|
9205
9204
|
[k: string]: unknown;
|
|
9206
9205
|
};
|
|
9206
|
+
issuerDid: string;
|
|
9207
9207
|
subjectDid: string;
|
|
9208
|
-
status?: "
|
|
9209
|
-
controller?: string | undefined;
|
|
9210
|
-
metadata?: Record<string, any> | undefined;
|
|
9208
|
+
status?: "revoked" | "active" | "expired" | undefined;
|
|
9211
9209
|
scopes?: string[] | undefined;
|
|
9210
|
+
metadata?: Record<string, any> | undefined;
|
|
9212
9211
|
createdAt?: number | undefined;
|
|
9213
9212
|
sessionId?: string | undefined;
|
|
9214
|
-
userIdentifier?: string | undefined;
|
|
9215
9213
|
userDid?: string | undefined;
|
|
9214
|
+
controller?: string | undefined;
|
|
9216
9215
|
parentId?: string | undefined;
|
|
9216
|
+
userIdentifier?: string | undefined;
|
|
9217
9217
|
};
|
|
9218
9218
|
}>;
|
|
9219
9219
|
credentialStatus: z.ZodOptional<z.ZodObject<{
|
|
@@ -9300,3 +9300,4 @@ export declare function isDelegationCredentialExpired(vc: DelegationCredential):
|
|
|
9300
9300
|
* @returns true if not yet valid
|
|
9301
9301
|
*/
|
|
9302
9302
|
export declare function isDelegationCredentialNotYetValid(vc: DelegationCredential): boolean;
|
|
9303
|
+
//# sourceMappingURL=schemas.d.ts.map
|