@kya-os/contracts 1.3.3 → 1.3.4

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.
Files changed (82) hide show
  1. package/package.json +3 -2
  2. package/README.md +0 -130
  3. package/dist/agentshield-api/endpoints.d.ts +0 -21
  4. package/dist/agentshield-api/endpoints.js +0 -20
  5. package/dist/agentshield-api/index.d.ts +0 -5
  6. package/dist/agentshield-api/index.js +0 -27
  7. package/dist/agentshield-api/schemas.d.ts +0 -9846
  8. package/dist/agentshield-api/schemas.js +0 -92
  9. package/dist/agentshield-api/types.d.ts +0 -92
  10. package/dist/agentshield-api/types.js +0 -12
  11. package/dist/cli.d.ts +0 -375
  12. package/dist/cli.js +0 -109
  13. package/dist/config/base.d.ts +0 -19
  14. package/dist/config/base.js +0 -2
  15. package/dist/config/delegation.d.ts +0 -46
  16. package/dist/config/delegation.js +0 -2
  17. package/dist/config/identity.d.ts +0 -22
  18. package/dist/config/identity.js +0 -2
  19. package/dist/config/index.d.ts +0 -17
  20. package/dist/config/index.js +0 -2
  21. package/dist/config/proofing.d.ts +0 -26
  22. package/dist/config/proofing.js +0 -2
  23. package/dist/config/tool-protection.d.ts +0 -36
  24. package/dist/config/tool-protection.js +0 -2
  25. package/dist/delegation/constraints.d.ts +0 -726
  26. package/dist/delegation/constraints.js +0 -103
  27. package/dist/delegation/index.d.ts +0 -2
  28. package/dist/delegation/index.js +0 -18
  29. package/dist/delegation/schemas.d.ts +0 -8042
  30. package/dist/delegation/schemas.js +0 -232
  31. package/dist/did/index.d.ts +0 -3
  32. package/dist/did/index.js +0 -19
  33. package/dist/did/resolve-contract.d.ts +0 -53
  34. package/dist/did/resolve-contract.js +0 -12
  35. package/dist/did/schemas.d.ts +0 -33
  36. package/dist/did/schemas.js +0 -80
  37. package/dist/did/types.d.ts +0 -38
  38. package/dist/did/types.js +0 -37
  39. package/dist/env/constants.d.ts +0 -13
  40. package/dist/env/constants.js +0 -15
  41. package/dist/env/index.d.ts +0 -1
  42. package/dist/env/index.js +0 -17
  43. package/dist/handshake.d.ts +0 -138
  44. package/dist/handshake.js +0 -50
  45. package/dist/index.d.ts +0 -11
  46. package/dist/index.js +0 -28
  47. package/dist/proof/index.d.ts +0 -2
  48. package/dist/proof/index.js +0 -18
  49. package/dist/proof/proof-record.d.ts +0 -728
  50. package/dist/proof/proof-record.js +0 -60
  51. package/dist/proof/signing-spec.d.ts +0 -73
  52. package/dist/proof/signing-spec.js +0 -52
  53. package/dist/proof.d.ts +0 -378
  54. package/dist/proof.js +0 -59
  55. package/dist/registry.d.ts +0 -326
  56. package/dist/registry.js +0 -98
  57. package/dist/runtime/errors.d.ts +0 -179
  58. package/dist/runtime/errors.js +0 -51
  59. package/dist/runtime/headers.d.ts +0 -34
  60. package/dist/runtime/headers.js +0 -52
  61. package/dist/runtime/index.d.ts +0 -2
  62. package/dist/runtime/index.js +0 -18
  63. package/dist/test.d.ts +0 -215
  64. package/dist/test.js +0 -83
  65. package/dist/tlkrc/index.d.ts +0 -1
  66. package/dist/tlkrc/index.js +0 -17
  67. package/dist/tlkrc/rotation.d.ts +0 -168
  68. package/dist/tlkrc/rotation.js +0 -55
  69. package/dist/tool-protection/index.d.ts +0 -129
  70. package/dist/tool-protection/index.js +0 -80
  71. package/dist/utils/validation.d.ts +0 -14
  72. package/dist/utils/validation.js +0 -56
  73. package/dist/vc/index.d.ts +0 -2
  74. package/dist/vc/index.js +0 -18
  75. package/dist/vc/schemas.d.ts +0 -1888
  76. package/dist/vc/schemas.js +0 -116
  77. package/dist/vc/statuslist.d.ts +0 -292
  78. package/dist/vc/statuslist.js +0 -61
  79. package/dist/verifier.d.ts +0 -202
  80. package/dist/verifier.js +0 -76
  81. package/dist/well-known/index.d.ts +0 -248
  82. package/dist/well-known/index.js +0 -104
@@ -1,1888 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const VC_CONTEXT: readonly ["https://www.w3.org/2018/credentials/v1"];
3
- export declare const STATUS_LIST_CONTEXT: "https://w3id.org/vc/status-list/2021/v1";
4
- export declare const ContextEntrySchema: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>;
5
- export declare const ContextSchema: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
6
- export declare const IssuerSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
7
- id: z.ZodString;
8
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9
- id: z.ZodString;
10
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
11
- id: z.ZodString;
12
- }, z.ZodTypeAny, "passthrough">>]>;
13
- export declare const CredentialSubjectSchema: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
14
- export declare const CredentialStatusSchema: z.ZodObject<{
15
- id: z.ZodString;
16
- type: z.ZodLiteral<"StatusList2021Entry">;
17
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
18
- statusListIndex: z.ZodString;
19
- statusListCredential: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- type: "StatusList2021Entry";
22
- id: string;
23
- statusPurpose: "revocation" | "suspension";
24
- statusListIndex: string;
25
- statusListCredential: string;
26
- }, {
27
- type: "StatusList2021Entry";
28
- id: string;
29
- statusPurpose: "revocation" | "suspension";
30
- statusListIndex: string;
31
- statusListCredential: string;
32
- }>;
33
- export declare const ProofSchema: z.ZodObject<{
34
- type: z.ZodString;
35
- created: z.ZodOptional<z.ZodString>;
36
- verificationMethod: z.ZodOptional<z.ZodString>;
37
- proofPurpose: z.ZodOptional<z.ZodString>;
38
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39
- type: z.ZodString;
40
- created: z.ZodOptional<z.ZodString>;
41
- verificationMethod: z.ZodOptional<z.ZodString>;
42
- proofPurpose: z.ZodOptional<z.ZodString>;
43
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
44
- type: z.ZodString;
45
- created: z.ZodOptional<z.ZodString>;
46
- verificationMethod: z.ZodOptional<z.ZodString>;
47
- proofPurpose: z.ZodOptional<z.ZodString>;
48
- }, z.ZodTypeAny, "passthrough">>;
49
- export declare const VerifiableCredentialSchema: z.ZodObject<{
50
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
51
- id: z.ZodOptional<z.ZodString>;
52
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
53
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
54
- id: z.ZodString;
55
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
56
- id: z.ZodString;
57
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
58
- id: z.ZodString;
59
- }, z.ZodTypeAny, "passthrough">>]>;
60
- issuanceDate: z.ZodString;
61
- expirationDate: z.ZodOptional<z.ZodString>;
62
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
63
- credentialStatus: z.ZodOptional<z.ZodObject<{
64
- id: z.ZodString;
65
- type: z.ZodLiteral<"StatusList2021Entry">;
66
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
67
- statusListIndex: z.ZodString;
68
- statusListCredential: z.ZodString;
69
- }, "strip", z.ZodTypeAny, {
70
- type: "StatusList2021Entry";
71
- id: string;
72
- statusPurpose: "revocation" | "suspension";
73
- statusListIndex: string;
74
- statusListCredential: string;
75
- }, {
76
- type: "StatusList2021Entry";
77
- id: string;
78
- statusPurpose: "revocation" | "suspension";
79
- statusListIndex: string;
80
- statusListCredential: string;
81
- }>>;
82
- proof: z.ZodOptional<z.ZodObject<{
83
- type: z.ZodString;
84
- created: z.ZodOptional<z.ZodString>;
85
- verificationMethod: z.ZodOptional<z.ZodString>;
86
- proofPurpose: z.ZodOptional<z.ZodString>;
87
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
88
- type: z.ZodString;
89
- created: z.ZodOptional<z.ZodString>;
90
- verificationMethod: z.ZodOptional<z.ZodString>;
91
- proofPurpose: z.ZodOptional<z.ZodString>;
92
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
93
- type: z.ZodString;
94
- created: z.ZodOptional<z.ZodString>;
95
- verificationMethod: z.ZodOptional<z.ZodString>;
96
- proofPurpose: z.ZodOptional<z.ZodString>;
97
- }, z.ZodTypeAny, "passthrough">>>;
98
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
99
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
100
- id: z.ZodOptional<z.ZodString>;
101
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
102
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
103
- id: z.ZodString;
104
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105
- id: z.ZodString;
106
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
107
- id: z.ZodString;
108
- }, z.ZodTypeAny, "passthrough">>]>;
109
- issuanceDate: z.ZodString;
110
- expirationDate: z.ZodOptional<z.ZodString>;
111
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
112
- credentialStatus: z.ZodOptional<z.ZodObject<{
113
- id: z.ZodString;
114
- type: z.ZodLiteral<"StatusList2021Entry">;
115
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
116
- statusListIndex: z.ZodString;
117
- statusListCredential: z.ZodString;
118
- }, "strip", z.ZodTypeAny, {
119
- type: "StatusList2021Entry";
120
- id: string;
121
- statusPurpose: "revocation" | "suspension";
122
- statusListIndex: string;
123
- statusListCredential: string;
124
- }, {
125
- type: "StatusList2021Entry";
126
- id: string;
127
- statusPurpose: "revocation" | "suspension";
128
- statusListIndex: string;
129
- statusListCredential: string;
130
- }>>;
131
- proof: z.ZodOptional<z.ZodObject<{
132
- type: z.ZodString;
133
- created: z.ZodOptional<z.ZodString>;
134
- verificationMethod: z.ZodOptional<z.ZodString>;
135
- proofPurpose: z.ZodOptional<z.ZodString>;
136
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
137
- type: z.ZodString;
138
- created: z.ZodOptional<z.ZodString>;
139
- verificationMethod: z.ZodOptional<z.ZodString>;
140
- proofPurpose: z.ZodOptional<z.ZodString>;
141
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
142
- type: z.ZodString;
143
- created: z.ZodOptional<z.ZodString>;
144
- verificationMethod: z.ZodOptional<z.ZodString>;
145
- proofPurpose: z.ZodOptional<z.ZodString>;
146
- }, z.ZodTypeAny, "passthrough">>>;
147
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
148
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
149
- id: z.ZodOptional<z.ZodString>;
150
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
151
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
152
- id: z.ZodString;
153
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
154
- id: z.ZodString;
155
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
156
- id: z.ZodString;
157
- }, z.ZodTypeAny, "passthrough">>]>;
158
- issuanceDate: z.ZodString;
159
- expirationDate: z.ZodOptional<z.ZodString>;
160
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
161
- credentialStatus: z.ZodOptional<z.ZodObject<{
162
- id: z.ZodString;
163
- type: z.ZodLiteral<"StatusList2021Entry">;
164
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
165
- statusListIndex: z.ZodString;
166
- statusListCredential: z.ZodString;
167
- }, "strip", z.ZodTypeAny, {
168
- type: "StatusList2021Entry";
169
- id: string;
170
- statusPurpose: "revocation" | "suspension";
171
- statusListIndex: string;
172
- statusListCredential: string;
173
- }, {
174
- type: "StatusList2021Entry";
175
- id: string;
176
- statusPurpose: "revocation" | "suspension";
177
- statusListIndex: string;
178
- statusListCredential: string;
179
- }>>;
180
- proof: z.ZodOptional<z.ZodObject<{
181
- type: z.ZodString;
182
- created: z.ZodOptional<z.ZodString>;
183
- verificationMethod: z.ZodOptional<z.ZodString>;
184
- proofPurpose: z.ZodOptional<z.ZodString>;
185
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
186
- type: z.ZodString;
187
- created: z.ZodOptional<z.ZodString>;
188
- verificationMethod: z.ZodOptional<z.ZodString>;
189
- proofPurpose: z.ZodOptional<z.ZodString>;
190
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
191
- type: z.ZodString;
192
- created: z.ZodOptional<z.ZodString>;
193
- verificationMethod: z.ZodOptional<z.ZodString>;
194
- proofPurpose: z.ZodOptional<z.ZodString>;
195
- }, z.ZodTypeAny, "passthrough">>>;
196
- }, z.ZodTypeAny, "passthrough">>;
197
- export type ContextEntry = z.infer<typeof ContextEntrySchema>;
198
- export type Context = z.infer<typeof ContextSchema>;
199
- export type Issuer = z.infer<typeof IssuerSchema>;
200
- export type CredentialSubject = z.infer<typeof CredentialSubjectSchema>;
201
- export type CredentialStatus = z.infer<typeof CredentialStatusSchema>;
202
- export type Proof = z.infer<typeof ProofSchema>;
203
- export type VerifiableCredential = z.infer<typeof VerifiableCredentialSchema>;
204
- export declare const VerifiablePresentationSchema: z.ZodObject<{
205
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
206
- id: z.ZodOptional<z.ZodString>;
207
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
208
- holder: z.ZodOptional<z.ZodString>;
209
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
210
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
211
- id: z.ZodOptional<z.ZodString>;
212
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
213
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
214
- id: z.ZodString;
215
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
216
- id: z.ZodString;
217
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
218
- id: z.ZodString;
219
- }, z.ZodTypeAny, "passthrough">>]>;
220
- issuanceDate: z.ZodString;
221
- expirationDate: z.ZodOptional<z.ZodString>;
222
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
223
- credentialStatus: z.ZodOptional<z.ZodObject<{
224
- id: z.ZodString;
225
- type: z.ZodLiteral<"StatusList2021Entry">;
226
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
227
- statusListIndex: z.ZodString;
228
- statusListCredential: z.ZodString;
229
- }, "strip", z.ZodTypeAny, {
230
- type: "StatusList2021Entry";
231
- id: string;
232
- statusPurpose: "revocation" | "suspension";
233
- statusListIndex: string;
234
- statusListCredential: string;
235
- }, {
236
- type: "StatusList2021Entry";
237
- id: string;
238
- statusPurpose: "revocation" | "suspension";
239
- statusListIndex: string;
240
- statusListCredential: string;
241
- }>>;
242
- proof: z.ZodOptional<z.ZodObject<{
243
- type: z.ZodString;
244
- created: z.ZodOptional<z.ZodString>;
245
- verificationMethod: z.ZodOptional<z.ZodString>;
246
- proofPurpose: z.ZodOptional<z.ZodString>;
247
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
248
- type: z.ZodString;
249
- created: z.ZodOptional<z.ZodString>;
250
- verificationMethod: z.ZodOptional<z.ZodString>;
251
- proofPurpose: z.ZodOptional<z.ZodString>;
252
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
253
- type: z.ZodString;
254
- created: z.ZodOptional<z.ZodString>;
255
- verificationMethod: z.ZodOptional<z.ZodString>;
256
- proofPurpose: z.ZodOptional<z.ZodString>;
257
- }, z.ZodTypeAny, "passthrough">>>;
258
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
259
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
260
- id: z.ZodOptional<z.ZodString>;
261
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
262
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
263
- id: z.ZodString;
264
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
265
- id: z.ZodString;
266
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
267
- id: z.ZodString;
268
- }, z.ZodTypeAny, "passthrough">>]>;
269
- issuanceDate: z.ZodString;
270
- expirationDate: z.ZodOptional<z.ZodString>;
271
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
272
- credentialStatus: z.ZodOptional<z.ZodObject<{
273
- id: z.ZodString;
274
- type: z.ZodLiteral<"StatusList2021Entry">;
275
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
276
- statusListIndex: z.ZodString;
277
- statusListCredential: z.ZodString;
278
- }, "strip", z.ZodTypeAny, {
279
- type: "StatusList2021Entry";
280
- id: string;
281
- statusPurpose: "revocation" | "suspension";
282
- statusListIndex: string;
283
- statusListCredential: string;
284
- }, {
285
- type: "StatusList2021Entry";
286
- id: string;
287
- statusPurpose: "revocation" | "suspension";
288
- statusListIndex: string;
289
- statusListCredential: string;
290
- }>>;
291
- proof: z.ZodOptional<z.ZodObject<{
292
- type: z.ZodString;
293
- created: z.ZodOptional<z.ZodString>;
294
- verificationMethod: z.ZodOptional<z.ZodString>;
295
- proofPurpose: z.ZodOptional<z.ZodString>;
296
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
297
- type: z.ZodString;
298
- created: z.ZodOptional<z.ZodString>;
299
- verificationMethod: z.ZodOptional<z.ZodString>;
300
- proofPurpose: z.ZodOptional<z.ZodString>;
301
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
302
- type: z.ZodString;
303
- created: z.ZodOptional<z.ZodString>;
304
- verificationMethod: z.ZodOptional<z.ZodString>;
305
- proofPurpose: z.ZodOptional<z.ZodString>;
306
- }, z.ZodTypeAny, "passthrough">>>;
307
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
308
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
309
- id: z.ZodOptional<z.ZodString>;
310
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
311
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
312
- id: z.ZodString;
313
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
314
- id: z.ZodString;
315
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
316
- id: z.ZodString;
317
- }, z.ZodTypeAny, "passthrough">>]>;
318
- issuanceDate: z.ZodString;
319
- expirationDate: z.ZodOptional<z.ZodString>;
320
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
321
- credentialStatus: z.ZodOptional<z.ZodObject<{
322
- id: z.ZodString;
323
- type: z.ZodLiteral<"StatusList2021Entry">;
324
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
325
- statusListIndex: z.ZodString;
326
- statusListCredential: z.ZodString;
327
- }, "strip", z.ZodTypeAny, {
328
- type: "StatusList2021Entry";
329
- id: string;
330
- statusPurpose: "revocation" | "suspension";
331
- statusListIndex: string;
332
- statusListCredential: string;
333
- }, {
334
- type: "StatusList2021Entry";
335
- id: string;
336
- statusPurpose: "revocation" | "suspension";
337
- statusListIndex: string;
338
- statusListCredential: string;
339
- }>>;
340
- proof: z.ZodOptional<z.ZodObject<{
341
- type: z.ZodString;
342
- created: z.ZodOptional<z.ZodString>;
343
- verificationMethod: z.ZodOptional<z.ZodString>;
344
- proofPurpose: z.ZodOptional<z.ZodString>;
345
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
346
- type: z.ZodString;
347
- created: z.ZodOptional<z.ZodString>;
348
- verificationMethod: z.ZodOptional<z.ZodString>;
349
- proofPurpose: z.ZodOptional<z.ZodString>;
350
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
351
- type: z.ZodString;
352
- created: z.ZodOptional<z.ZodString>;
353
- verificationMethod: z.ZodOptional<z.ZodString>;
354
- proofPurpose: z.ZodOptional<z.ZodString>;
355
- }, z.ZodTypeAny, "passthrough">>>;
356
- }, z.ZodTypeAny, "passthrough">>, z.ZodArray<z.ZodObject<{
357
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
358
- id: z.ZodOptional<z.ZodString>;
359
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
360
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
361
- id: z.ZodString;
362
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
363
- id: z.ZodString;
364
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
365
- id: z.ZodString;
366
- }, z.ZodTypeAny, "passthrough">>]>;
367
- issuanceDate: z.ZodString;
368
- expirationDate: z.ZodOptional<z.ZodString>;
369
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
370
- credentialStatus: z.ZodOptional<z.ZodObject<{
371
- id: z.ZodString;
372
- type: z.ZodLiteral<"StatusList2021Entry">;
373
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
374
- statusListIndex: z.ZodString;
375
- statusListCredential: z.ZodString;
376
- }, "strip", z.ZodTypeAny, {
377
- type: "StatusList2021Entry";
378
- id: string;
379
- statusPurpose: "revocation" | "suspension";
380
- statusListIndex: string;
381
- statusListCredential: string;
382
- }, {
383
- type: "StatusList2021Entry";
384
- id: string;
385
- statusPurpose: "revocation" | "suspension";
386
- statusListIndex: string;
387
- statusListCredential: string;
388
- }>>;
389
- proof: z.ZodOptional<z.ZodObject<{
390
- type: z.ZodString;
391
- created: z.ZodOptional<z.ZodString>;
392
- verificationMethod: z.ZodOptional<z.ZodString>;
393
- proofPurpose: z.ZodOptional<z.ZodString>;
394
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
395
- type: z.ZodString;
396
- created: z.ZodOptional<z.ZodString>;
397
- verificationMethod: z.ZodOptional<z.ZodString>;
398
- proofPurpose: z.ZodOptional<z.ZodString>;
399
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
400
- type: z.ZodString;
401
- created: z.ZodOptional<z.ZodString>;
402
- verificationMethod: z.ZodOptional<z.ZodString>;
403
- proofPurpose: z.ZodOptional<z.ZodString>;
404
- }, z.ZodTypeAny, "passthrough">>>;
405
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
406
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
407
- id: z.ZodOptional<z.ZodString>;
408
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
409
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
410
- id: z.ZodString;
411
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
412
- id: z.ZodString;
413
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
414
- id: z.ZodString;
415
- }, z.ZodTypeAny, "passthrough">>]>;
416
- issuanceDate: z.ZodString;
417
- expirationDate: z.ZodOptional<z.ZodString>;
418
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
419
- credentialStatus: z.ZodOptional<z.ZodObject<{
420
- id: z.ZodString;
421
- type: z.ZodLiteral<"StatusList2021Entry">;
422
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
423
- statusListIndex: z.ZodString;
424
- statusListCredential: z.ZodString;
425
- }, "strip", z.ZodTypeAny, {
426
- type: "StatusList2021Entry";
427
- id: string;
428
- statusPurpose: "revocation" | "suspension";
429
- statusListIndex: string;
430
- statusListCredential: string;
431
- }, {
432
- type: "StatusList2021Entry";
433
- id: string;
434
- statusPurpose: "revocation" | "suspension";
435
- statusListIndex: string;
436
- statusListCredential: string;
437
- }>>;
438
- proof: z.ZodOptional<z.ZodObject<{
439
- type: z.ZodString;
440
- created: z.ZodOptional<z.ZodString>;
441
- verificationMethod: z.ZodOptional<z.ZodString>;
442
- proofPurpose: z.ZodOptional<z.ZodString>;
443
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
444
- type: z.ZodString;
445
- created: z.ZodOptional<z.ZodString>;
446
- verificationMethod: z.ZodOptional<z.ZodString>;
447
- proofPurpose: z.ZodOptional<z.ZodString>;
448
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
449
- type: z.ZodString;
450
- created: z.ZodOptional<z.ZodString>;
451
- verificationMethod: z.ZodOptional<z.ZodString>;
452
- proofPurpose: z.ZodOptional<z.ZodString>;
453
- }, z.ZodTypeAny, "passthrough">>>;
454
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
455
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
456
- id: z.ZodOptional<z.ZodString>;
457
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
458
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
459
- id: z.ZodString;
460
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
461
- id: z.ZodString;
462
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
463
- id: z.ZodString;
464
- }, z.ZodTypeAny, "passthrough">>]>;
465
- issuanceDate: z.ZodString;
466
- expirationDate: z.ZodOptional<z.ZodString>;
467
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
468
- credentialStatus: z.ZodOptional<z.ZodObject<{
469
- id: z.ZodString;
470
- type: z.ZodLiteral<"StatusList2021Entry">;
471
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
472
- statusListIndex: z.ZodString;
473
- statusListCredential: z.ZodString;
474
- }, "strip", z.ZodTypeAny, {
475
- type: "StatusList2021Entry";
476
- id: string;
477
- statusPurpose: "revocation" | "suspension";
478
- statusListIndex: string;
479
- statusListCredential: string;
480
- }, {
481
- type: "StatusList2021Entry";
482
- id: string;
483
- statusPurpose: "revocation" | "suspension";
484
- statusListIndex: string;
485
- statusListCredential: string;
486
- }>>;
487
- proof: z.ZodOptional<z.ZodObject<{
488
- type: z.ZodString;
489
- created: z.ZodOptional<z.ZodString>;
490
- verificationMethod: z.ZodOptional<z.ZodString>;
491
- proofPurpose: z.ZodOptional<z.ZodString>;
492
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
493
- type: z.ZodString;
494
- created: z.ZodOptional<z.ZodString>;
495
- verificationMethod: z.ZodOptional<z.ZodString>;
496
- proofPurpose: z.ZodOptional<z.ZodString>;
497
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
498
- type: z.ZodString;
499
- created: z.ZodOptional<z.ZodString>;
500
- verificationMethod: z.ZodOptional<z.ZodString>;
501
- proofPurpose: z.ZodOptional<z.ZodString>;
502
- }, z.ZodTypeAny, "passthrough">>>;
503
- }, z.ZodTypeAny, "passthrough">>, "many">]>>;
504
- proof: z.ZodOptional<z.ZodObject<{
505
- type: z.ZodString;
506
- created: z.ZodOptional<z.ZodString>;
507
- verificationMethod: z.ZodOptional<z.ZodString>;
508
- proofPurpose: z.ZodOptional<z.ZodString>;
509
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
510
- type: z.ZodString;
511
- created: z.ZodOptional<z.ZodString>;
512
- verificationMethod: z.ZodOptional<z.ZodString>;
513
- proofPurpose: z.ZodOptional<z.ZodString>;
514
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
515
- type: z.ZodString;
516
- created: z.ZodOptional<z.ZodString>;
517
- verificationMethod: z.ZodOptional<z.ZodString>;
518
- proofPurpose: z.ZodOptional<z.ZodString>;
519
- }, z.ZodTypeAny, "passthrough">>>;
520
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
521
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
522
- id: z.ZodOptional<z.ZodString>;
523
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
524
- holder: z.ZodOptional<z.ZodString>;
525
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
526
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
527
- id: z.ZodOptional<z.ZodString>;
528
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
529
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
530
- id: z.ZodString;
531
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
532
- id: z.ZodString;
533
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
534
- id: z.ZodString;
535
- }, z.ZodTypeAny, "passthrough">>]>;
536
- issuanceDate: z.ZodString;
537
- expirationDate: z.ZodOptional<z.ZodString>;
538
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
539
- credentialStatus: z.ZodOptional<z.ZodObject<{
540
- id: z.ZodString;
541
- type: z.ZodLiteral<"StatusList2021Entry">;
542
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
543
- statusListIndex: z.ZodString;
544
- statusListCredential: z.ZodString;
545
- }, "strip", z.ZodTypeAny, {
546
- type: "StatusList2021Entry";
547
- id: string;
548
- statusPurpose: "revocation" | "suspension";
549
- statusListIndex: string;
550
- statusListCredential: string;
551
- }, {
552
- type: "StatusList2021Entry";
553
- id: string;
554
- statusPurpose: "revocation" | "suspension";
555
- statusListIndex: string;
556
- statusListCredential: string;
557
- }>>;
558
- proof: z.ZodOptional<z.ZodObject<{
559
- type: z.ZodString;
560
- created: z.ZodOptional<z.ZodString>;
561
- verificationMethod: z.ZodOptional<z.ZodString>;
562
- proofPurpose: z.ZodOptional<z.ZodString>;
563
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
564
- type: z.ZodString;
565
- created: z.ZodOptional<z.ZodString>;
566
- verificationMethod: z.ZodOptional<z.ZodString>;
567
- proofPurpose: z.ZodOptional<z.ZodString>;
568
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
569
- type: z.ZodString;
570
- created: z.ZodOptional<z.ZodString>;
571
- verificationMethod: z.ZodOptional<z.ZodString>;
572
- proofPurpose: z.ZodOptional<z.ZodString>;
573
- }, z.ZodTypeAny, "passthrough">>>;
574
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
575
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
576
- id: z.ZodOptional<z.ZodString>;
577
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
578
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
579
- id: z.ZodString;
580
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
581
- id: z.ZodString;
582
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
583
- id: z.ZodString;
584
- }, z.ZodTypeAny, "passthrough">>]>;
585
- issuanceDate: z.ZodString;
586
- expirationDate: z.ZodOptional<z.ZodString>;
587
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
588
- credentialStatus: z.ZodOptional<z.ZodObject<{
589
- id: z.ZodString;
590
- type: z.ZodLiteral<"StatusList2021Entry">;
591
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
592
- statusListIndex: z.ZodString;
593
- statusListCredential: z.ZodString;
594
- }, "strip", z.ZodTypeAny, {
595
- type: "StatusList2021Entry";
596
- id: string;
597
- statusPurpose: "revocation" | "suspension";
598
- statusListIndex: string;
599
- statusListCredential: string;
600
- }, {
601
- type: "StatusList2021Entry";
602
- id: string;
603
- statusPurpose: "revocation" | "suspension";
604
- statusListIndex: string;
605
- statusListCredential: string;
606
- }>>;
607
- proof: z.ZodOptional<z.ZodObject<{
608
- type: z.ZodString;
609
- created: z.ZodOptional<z.ZodString>;
610
- verificationMethod: z.ZodOptional<z.ZodString>;
611
- proofPurpose: z.ZodOptional<z.ZodString>;
612
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
613
- type: z.ZodString;
614
- created: z.ZodOptional<z.ZodString>;
615
- verificationMethod: z.ZodOptional<z.ZodString>;
616
- proofPurpose: z.ZodOptional<z.ZodString>;
617
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
618
- type: z.ZodString;
619
- created: z.ZodOptional<z.ZodString>;
620
- verificationMethod: z.ZodOptional<z.ZodString>;
621
- proofPurpose: z.ZodOptional<z.ZodString>;
622
- }, z.ZodTypeAny, "passthrough">>>;
623
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
624
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
625
- id: z.ZodOptional<z.ZodString>;
626
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
627
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
628
- id: z.ZodString;
629
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
630
- id: z.ZodString;
631
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
632
- id: z.ZodString;
633
- }, z.ZodTypeAny, "passthrough">>]>;
634
- issuanceDate: z.ZodString;
635
- expirationDate: z.ZodOptional<z.ZodString>;
636
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
637
- credentialStatus: z.ZodOptional<z.ZodObject<{
638
- id: z.ZodString;
639
- type: z.ZodLiteral<"StatusList2021Entry">;
640
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
641
- statusListIndex: z.ZodString;
642
- statusListCredential: z.ZodString;
643
- }, "strip", z.ZodTypeAny, {
644
- type: "StatusList2021Entry";
645
- id: string;
646
- statusPurpose: "revocation" | "suspension";
647
- statusListIndex: string;
648
- statusListCredential: string;
649
- }, {
650
- type: "StatusList2021Entry";
651
- id: string;
652
- statusPurpose: "revocation" | "suspension";
653
- statusListIndex: string;
654
- statusListCredential: string;
655
- }>>;
656
- proof: z.ZodOptional<z.ZodObject<{
657
- type: z.ZodString;
658
- created: z.ZodOptional<z.ZodString>;
659
- verificationMethod: z.ZodOptional<z.ZodString>;
660
- proofPurpose: z.ZodOptional<z.ZodString>;
661
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
662
- type: z.ZodString;
663
- created: z.ZodOptional<z.ZodString>;
664
- verificationMethod: z.ZodOptional<z.ZodString>;
665
- proofPurpose: z.ZodOptional<z.ZodString>;
666
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
667
- type: z.ZodString;
668
- created: z.ZodOptional<z.ZodString>;
669
- verificationMethod: z.ZodOptional<z.ZodString>;
670
- proofPurpose: z.ZodOptional<z.ZodString>;
671
- }, z.ZodTypeAny, "passthrough">>>;
672
- }, z.ZodTypeAny, "passthrough">>, z.ZodArray<z.ZodObject<{
673
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
674
- id: z.ZodOptional<z.ZodString>;
675
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
676
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
677
- id: z.ZodString;
678
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
679
- id: z.ZodString;
680
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
681
- id: z.ZodString;
682
- }, z.ZodTypeAny, "passthrough">>]>;
683
- issuanceDate: z.ZodString;
684
- expirationDate: z.ZodOptional<z.ZodString>;
685
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
686
- credentialStatus: z.ZodOptional<z.ZodObject<{
687
- id: z.ZodString;
688
- type: z.ZodLiteral<"StatusList2021Entry">;
689
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
690
- statusListIndex: z.ZodString;
691
- statusListCredential: z.ZodString;
692
- }, "strip", z.ZodTypeAny, {
693
- type: "StatusList2021Entry";
694
- id: string;
695
- statusPurpose: "revocation" | "suspension";
696
- statusListIndex: string;
697
- statusListCredential: string;
698
- }, {
699
- type: "StatusList2021Entry";
700
- id: string;
701
- statusPurpose: "revocation" | "suspension";
702
- statusListIndex: string;
703
- statusListCredential: string;
704
- }>>;
705
- proof: z.ZodOptional<z.ZodObject<{
706
- type: z.ZodString;
707
- created: z.ZodOptional<z.ZodString>;
708
- verificationMethod: z.ZodOptional<z.ZodString>;
709
- proofPurpose: z.ZodOptional<z.ZodString>;
710
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
711
- type: z.ZodString;
712
- created: z.ZodOptional<z.ZodString>;
713
- verificationMethod: z.ZodOptional<z.ZodString>;
714
- proofPurpose: z.ZodOptional<z.ZodString>;
715
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
716
- type: z.ZodString;
717
- created: z.ZodOptional<z.ZodString>;
718
- verificationMethod: z.ZodOptional<z.ZodString>;
719
- proofPurpose: z.ZodOptional<z.ZodString>;
720
- }, z.ZodTypeAny, "passthrough">>>;
721
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
722
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
723
- id: z.ZodOptional<z.ZodString>;
724
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
725
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
726
- id: z.ZodString;
727
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
728
- id: z.ZodString;
729
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
730
- id: z.ZodString;
731
- }, z.ZodTypeAny, "passthrough">>]>;
732
- issuanceDate: z.ZodString;
733
- expirationDate: z.ZodOptional<z.ZodString>;
734
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
735
- credentialStatus: z.ZodOptional<z.ZodObject<{
736
- id: z.ZodString;
737
- type: z.ZodLiteral<"StatusList2021Entry">;
738
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
739
- statusListIndex: z.ZodString;
740
- statusListCredential: z.ZodString;
741
- }, "strip", z.ZodTypeAny, {
742
- type: "StatusList2021Entry";
743
- id: string;
744
- statusPurpose: "revocation" | "suspension";
745
- statusListIndex: string;
746
- statusListCredential: string;
747
- }, {
748
- type: "StatusList2021Entry";
749
- id: string;
750
- statusPurpose: "revocation" | "suspension";
751
- statusListIndex: string;
752
- statusListCredential: string;
753
- }>>;
754
- proof: z.ZodOptional<z.ZodObject<{
755
- type: z.ZodString;
756
- created: z.ZodOptional<z.ZodString>;
757
- verificationMethod: z.ZodOptional<z.ZodString>;
758
- proofPurpose: z.ZodOptional<z.ZodString>;
759
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
760
- type: z.ZodString;
761
- created: z.ZodOptional<z.ZodString>;
762
- verificationMethod: z.ZodOptional<z.ZodString>;
763
- proofPurpose: z.ZodOptional<z.ZodString>;
764
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
765
- type: z.ZodString;
766
- created: z.ZodOptional<z.ZodString>;
767
- verificationMethod: z.ZodOptional<z.ZodString>;
768
- proofPurpose: z.ZodOptional<z.ZodString>;
769
- }, z.ZodTypeAny, "passthrough">>>;
770
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
771
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
772
- id: z.ZodOptional<z.ZodString>;
773
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
774
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
775
- id: z.ZodString;
776
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
777
- id: z.ZodString;
778
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
779
- id: z.ZodString;
780
- }, z.ZodTypeAny, "passthrough">>]>;
781
- issuanceDate: z.ZodString;
782
- expirationDate: z.ZodOptional<z.ZodString>;
783
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
784
- credentialStatus: z.ZodOptional<z.ZodObject<{
785
- id: z.ZodString;
786
- type: z.ZodLiteral<"StatusList2021Entry">;
787
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
788
- statusListIndex: z.ZodString;
789
- statusListCredential: z.ZodString;
790
- }, "strip", z.ZodTypeAny, {
791
- type: "StatusList2021Entry";
792
- id: string;
793
- statusPurpose: "revocation" | "suspension";
794
- statusListIndex: string;
795
- statusListCredential: string;
796
- }, {
797
- type: "StatusList2021Entry";
798
- id: string;
799
- statusPurpose: "revocation" | "suspension";
800
- statusListIndex: string;
801
- statusListCredential: string;
802
- }>>;
803
- proof: z.ZodOptional<z.ZodObject<{
804
- type: z.ZodString;
805
- created: z.ZodOptional<z.ZodString>;
806
- verificationMethod: z.ZodOptional<z.ZodString>;
807
- proofPurpose: z.ZodOptional<z.ZodString>;
808
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
809
- type: z.ZodString;
810
- created: z.ZodOptional<z.ZodString>;
811
- verificationMethod: z.ZodOptional<z.ZodString>;
812
- proofPurpose: z.ZodOptional<z.ZodString>;
813
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
814
- type: z.ZodString;
815
- created: z.ZodOptional<z.ZodString>;
816
- verificationMethod: z.ZodOptional<z.ZodString>;
817
- proofPurpose: z.ZodOptional<z.ZodString>;
818
- }, z.ZodTypeAny, "passthrough">>>;
819
- }, z.ZodTypeAny, "passthrough">>, "many">]>>;
820
- proof: z.ZodOptional<z.ZodObject<{
821
- type: z.ZodString;
822
- created: z.ZodOptional<z.ZodString>;
823
- verificationMethod: z.ZodOptional<z.ZodString>;
824
- proofPurpose: z.ZodOptional<z.ZodString>;
825
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
826
- type: z.ZodString;
827
- created: z.ZodOptional<z.ZodString>;
828
- verificationMethod: z.ZodOptional<z.ZodString>;
829
- proofPurpose: z.ZodOptional<z.ZodString>;
830
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
831
- type: z.ZodString;
832
- created: z.ZodOptional<z.ZodString>;
833
- verificationMethod: z.ZodOptional<z.ZodString>;
834
- proofPurpose: z.ZodOptional<z.ZodString>;
835
- }, z.ZodTypeAny, "passthrough">>>;
836
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
837
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
838
- id: z.ZodOptional<z.ZodString>;
839
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
840
- holder: z.ZodOptional<z.ZodString>;
841
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
842
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
843
- id: z.ZodOptional<z.ZodString>;
844
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
845
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
846
- id: z.ZodString;
847
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
848
- id: z.ZodString;
849
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
850
- id: z.ZodString;
851
- }, z.ZodTypeAny, "passthrough">>]>;
852
- issuanceDate: z.ZodString;
853
- expirationDate: z.ZodOptional<z.ZodString>;
854
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
855
- credentialStatus: z.ZodOptional<z.ZodObject<{
856
- id: z.ZodString;
857
- type: z.ZodLiteral<"StatusList2021Entry">;
858
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
859
- statusListIndex: z.ZodString;
860
- statusListCredential: z.ZodString;
861
- }, "strip", z.ZodTypeAny, {
862
- type: "StatusList2021Entry";
863
- id: string;
864
- statusPurpose: "revocation" | "suspension";
865
- statusListIndex: string;
866
- statusListCredential: string;
867
- }, {
868
- type: "StatusList2021Entry";
869
- id: string;
870
- statusPurpose: "revocation" | "suspension";
871
- statusListIndex: string;
872
- statusListCredential: string;
873
- }>>;
874
- proof: z.ZodOptional<z.ZodObject<{
875
- type: z.ZodString;
876
- created: z.ZodOptional<z.ZodString>;
877
- verificationMethod: z.ZodOptional<z.ZodString>;
878
- proofPurpose: z.ZodOptional<z.ZodString>;
879
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
880
- type: z.ZodString;
881
- created: z.ZodOptional<z.ZodString>;
882
- verificationMethod: z.ZodOptional<z.ZodString>;
883
- proofPurpose: z.ZodOptional<z.ZodString>;
884
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
885
- type: z.ZodString;
886
- created: z.ZodOptional<z.ZodString>;
887
- verificationMethod: z.ZodOptional<z.ZodString>;
888
- proofPurpose: z.ZodOptional<z.ZodString>;
889
- }, z.ZodTypeAny, "passthrough">>>;
890
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
891
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
892
- id: z.ZodOptional<z.ZodString>;
893
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
894
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
895
- id: z.ZodString;
896
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
897
- id: z.ZodString;
898
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
899
- id: z.ZodString;
900
- }, z.ZodTypeAny, "passthrough">>]>;
901
- issuanceDate: z.ZodString;
902
- expirationDate: z.ZodOptional<z.ZodString>;
903
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
904
- credentialStatus: z.ZodOptional<z.ZodObject<{
905
- id: z.ZodString;
906
- type: z.ZodLiteral<"StatusList2021Entry">;
907
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
908
- statusListIndex: z.ZodString;
909
- statusListCredential: z.ZodString;
910
- }, "strip", z.ZodTypeAny, {
911
- type: "StatusList2021Entry";
912
- id: string;
913
- statusPurpose: "revocation" | "suspension";
914
- statusListIndex: string;
915
- statusListCredential: string;
916
- }, {
917
- type: "StatusList2021Entry";
918
- id: string;
919
- statusPurpose: "revocation" | "suspension";
920
- statusListIndex: string;
921
- statusListCredential: string;
922
- }>>;
923
- proof: z.ZodOptional<z.ZodObject<{
924
- type: z.ZodString;
925
- created: z.ZodOptional<z.ZodString>;
926
- verificationMethod: z.ZodOptional<z.ZodString>;
927
- proofPurpose: z.ZodOptional<z.ZodString>;
928
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
929
- type: z.ZodString;
930
- created: z.ZodOptional<z.ZodString>;
931
- verificationMethod: z.ZodOptional<z.ZodString>;
932
- proofPurpose: z.ZodOptional<z.ZodString>;
933
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
934
- type: z.ZodString;
935
- created: z.ZodOptional<z.ZodString>;
936
- verificationMethod: z.ZodOptional<z.ZodString>;
937
- proofPurpose: z.ZodOptional<z.ZodString>;
938
- }, z.ZodTypeAny, "passthrough">>>;
939
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
940
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
941
- id: z.ZodOptional<z.ZodString>;
942
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
943
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
944
- id: z.ZodString;
945
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
946
- id: z.ZodString;
947
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
948
- id: z.ZodString;
949
- }, z.ZodTypeAny, "passthrough">>]>;
950
- issuanceDate: z.ZodString;
951
- expirationDate: z.ZodOptional<z.ZodString>;
952
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
953
- credentialStatus: z.ZodOptional<z.ZodObject<{
954
- id: z.ZodString;
955
- type: z.ZodLiteral<"StatusList2021Entry">;
956
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
957
- statusListIndex: z.ZodString;
958
- statusListCredential: z.ZodString;
959
- }, "strip", z.ZodTypeAny, {
960
- type: "StatusList2021Entry";
961
- id: string;
962
- statusPurpose: "revocation" | "suspension";
963
- statusListIndex: string;
964
- statusListCredential: string;
965
- }, {
966
- type: "StatusList2021Entry";
967
- id: string;
968
- statusPurpose: "revocation" | "suspension";
969
- statusListIndex: string;
970
- statusListCredential: string;
971
- }>>;
972
- proof: z.ZodOptional<z.ZodObject<{
973
- type: z.ZodString;
974
- created: z.ZodOptional<z.ZodString>;
975
- verificationMethod: z.ZodOptional<z.ZodString>;
976
- proofPurpose: z.ZodOptional<z.ZodString>;
977
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
978
- type: z.ZodString;
979
- created: z.ZodOptional<z.ZodString>;
980
- verificationMethod: z.ZodOptional<z.ZodString>;
981
- proofPurpose: z.ZodOptional<z.ZodString>;
982
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
983
- type: z.ZodString;
984
- created: z.ZodOptional<z.ZodString>;
985
- verificationMethod: z.ZodOptional<z.ZodString>;
986
- proofPurpose: z.ZodOptional<z.ZodString>;
987
- }, z.ZodTypeAny, "passthrough">>>;
988
- }, z.ZodTypeAny, "passthrough">>, z.ZodArray<z.ZodObject<{
989
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
990
- id: z.ZodOptional<z.ZodString>;
991
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
992
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
993
- id: z.ZodString;
994
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
995
- id: z.ZodString;
996
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
997
- id: z.ZodString;
998
- }, z.ZodTypeAny, "passthrough">>]>;
999
- issuanceDate: z.ZodString;
1000
- expirationDate: z.ZodOptional<z.ZodString>;
1001
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1002
- credentialStatus: z.ZodOptional<z.ZodObject<{
1003
- id: z.ZodString;
1004
- type: z.ZodLiteral<"StatusList2021Entry">;
1005
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1006
- statusListIndex: z.ZodString;
1007
- statusListCredential: z.ZodString;
1008
- }, "strip", z.ZodTypeAny, {
1009
- type: "StatusList2021Entry";
1010
- id: string;
1011
- statusPurpose: "revocation" | "suspension";
1012
- statusListIndex: string;
1013
- statusListCredential: string;
1014
- }, {
1015
- type: "StatusList2021Entry";
1016
- id: string;
1017
- statusPurpose: "revocation" | "suspension";
1018
- statusListIndex: string;
1019
- statusListCredential: string;
1020
- }>>;
1021
- proof: z.ZodOptional<z.ZodObject<{
1022
- type: z.ZodString;
1023
- created: z.ZodOptional<z.ZodString>;
1024
- verificationMethod: z.ZodOptional<z.ZodString>;
1025
- proofPurpose: z.ZodOptional<z.ZodString>;
1026
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1027
- type: z.ZodString;
1028
- created: z.ZodOptional<z.ZodString>;
1029
- verificationMethod: z.ZodOptional<z.ZodString>;
1030
- proofPurpose: z.ZodOptional<z.ZodString>;
1031
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1032
- type: z.ZodString;
1033
- created: z.ZodOptional<z.ZodString>;
1034
- verificationMethod: z.ZodOptional<z.ZodString>;
1035
- proofPurpose: z.ZodOptional<z.ZodString>;
1036
- }, z.ZodTypeAny, "passthrough">>>;
1037
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1038
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1039
- id: z.ZodOptional<z.ZodString>;
1040
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1041
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1042
- id: z.ZodString;
1043
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1044
- id: z.ZodString;
1045
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1046
- id: z.ZodString;
1047
- }, z.ZodTypeAny, "passthrough">>]>;
1048
- issuanceDate: z.ZodString;
1049
- expirationDate: z.ZodOptional<z.ZodString>;
1050
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1051
- credentialStatus: z.ZodOptional<z.ZodObject<{
1052
- id: z.ZodString;
1053
- type: z.ZodLiteral<"StatusList2021Entry">;
1054
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1055
- statusListIndex: z.ZodString;
1056
- statusListCredential: z.ZodString;
1057
- }, "strip", z.ZodTypeAny, {
1058
- type: "StatusList2021Entry";
1059
- id: string;
1060
- statusPurpose: "revocation" | "suspension";
1061
- statusListIndex: string;
1062
- statusListCredential: string;
1063
- }, {
1064
- type: "StatusList2021Entry";
1065
- id: string;
1066
- statusPurpose: "revocation" | "suspension";
1067
- statusListIndex: string;
1068
- statusListCredential: string;
1069
- }>>;
1070
- proof: z.ZodOptional<z.ZodObject<{
1071
- type: z.ZodString;
1072
- created: z.ZodOptional<z.ZodString>;
1073
- verificationMethod: z.ZodOptional<z.ZodString>;
1074
- proofPurpose: z.ZodOptional<z.ZodString>;
1075
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1076
- type: z.ZodString;
1077
- created: z.ZodOptional<z.ZodString>;
1078
- verificationMethod: z.ZodOptional<z.ZodString>;
1079
- proofPurpose: z.ZodOptional<z.ZodString>;
1080
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1081
- type: z.ZodString;
1082
- created: z.ZodOptional<z.ZodString>;
1083
- verificationMethod: z.ZodOptional<z.ZodString>;
1084
- proofPurpose: z.ZodOptional<z.ZodString>;
1085
- }, z.ZodTypeAny, "passthrough">>>;
1086
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1087
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1088
- id: z.ZodOptional<z.ZodString>;
1089
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1090
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1091
- id: z.ZodString;
1092
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1093
- id: z.ZodString;
1094
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1095
- id: z.ZodString;
1096
- }, z.ZodTypeAny, "passthrough">>]>;
1097
- issuanceDate: z.ZodString;
1098
- expirationDate: z.ZodOptional<z.ZodString>;
1099
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1100
- credentialStatus: z.ZodOptional<z.ZodObject<{
1101
- id: z.ZodString;
1102
- type: z.ZodLiteral<"StatusList2021Entry">;
1103
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1104
- statusListIndex: z.ZodString;
1105
- statusListCredential: z.ZodString;
1106
- }, "strip", z.ZodTypeAny, {
1107
- type: "StatusList2021Entry";
1108
- id: string;
1109
- statusPurpose: "revocation" | "suspension";
1110
- statusListIndex: string;
1111
- statusListCredential: string;
1112
- }, {
1113
- type: "StatusList2021Entry";
1114
- id: string;
1115
- statusPurpose: "revocation" | "suspension";
1116
- statusListIndex: string;
1117
- statusListCredential: string;
1118
- }>>;
1119
- proof: z.ZodOptional<z.ZodObject<{
1120
- type: z.ZodString;
1121
- created: z.ZodOptional<z.ZodString>;
1122
- verificationMethod: z.ZodOptional<z.ZodString>;
1123
- proofPurpose: z.ZodOptional<z.ZodString>;
1124
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1125
- type: z.ZodString;
1126
- created: z.ZodOptional<z.ZodString>;
1127
- verificationMethod: z.ZodOptional<z.ZodString>;
1128
- proofPurpose: z.ZodOptional<z.ZodString>;
1129
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1130
- type: z.ZodString;
1131
- created: z.ZodOptional<z.ZodString>;
1132
- verificationMethod: z.ZodOptional<z.ZodString>;
1133
- proofPurpose: z.ZodOptional<z.ZodString>;
1134
- }, z.ZodTypeAny, "passthrough">>>;
1135
- }, z.ZodTypeAny, "passthrough">>, "many">]>>;
1136
- proof: z.ZodOptional<z.ZodObject<{
1137
- type: z.ZodString;
1138
- created: z.ZodOptional<z.ZodString>;
1139
- verificationMethod: z.ZodOptional<z.ZodString>;
1140
- proofPurpose: z.ZodOptional<z.ZodString>;
1141
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1142
- type: z.ZodString;
1143
- created: z.ZodOptional<z.ZodString>;
1144
- verificationMethod: z.ZodOptional<z.ZodString>;
1145
- proofPurpose: z.ZodOptional<z.ZodString>;
1146
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1147
- type: z.ZodString;
1148
- created: z.ZodOptional<z.ZodString>;
1149
- verificationMethod: z.ZodOptional<z.ZodString>;
1150
- proofPurpose: z.ZodOptional<z.ZodString>;
1151
- }, z.ZodTypeAny, "passthrough">>>;
1152
- }, z.ZodTypeAny, "passthrough">>;
1153
- export type VerifiablePresentation = z.infer<typeof VerifiablePresentationSchema>;
1154
- export declare function validateVerifiableCredential(credential: unknown): z.SafeParseReturnType<z.objectInputType<{
1155
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1156
- id: z.ZodOptional<z.ZodString>;
1157
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1158
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1159
- id: z.ZodString;
1160
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1161
- id: z.ZodString;
1162
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1163
- id: z.ZodString;
1164
- }, z.ZodTypeAny, "passthrough">>]>;
1165
- issuanceDate: z.ZodString;
1166
- expirationDate: z.ZodOptional<z.ZodString>;
1167
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1168
- credentialStatus: z.ZodOptional<z.ZodObject<{
1169
- id: z.ZodString;
1170
- type: z.ZodLiteral<"StatusList2021Entry">;
1171
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1172
- statusListIndex: z.ZodString;
1173
- statusListCredential: z.ZodString;
1174
- }, "strip", z.ZodTypeAny, {
1175
- type: "StatusList2021Entry";
1176
- id: string;
1177
- statusPurpose: "revocation" | "suspension";
1178
- statusListIndex: string;
1179
- statusListCredential: string;
1180
- }, {
1181
- type: "StatusList2021Entry";
1182
- id: string;
1183
- statusPurpose: "revocation" | "suspension";
1184
- statusListIndex: string;
1185
- statusListCredential: string;
1186
- }>>;
1187
- proof: z.ZodOptional<z.ZodObject<{
1188
- type: z.ZodString;
1189
- created: z.ZodOptional<z.ZodString>;
1190
- verificationMethod: z.ZodOptional<z.ZodString>;
1191
- proofPurpose: z.ZodOptional<z.ZodString>;
1192
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1193
- type: z.ZodString;
1194
- created: z.ZodOptional<z.ZodString>;
1195
- verificationMethod: z.ZodOptional<z.ZodString>;
1196
- proofPurpose: z.ZodOptional<z.ZodString>;
1197
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1198
- type: z.ZodString;
1199
- created: z.ZodOptional<z.ZodString>;
1200
- verificationMethod: z.ZodOptional<z.ZodString>;
1201
- proofPurpose: z.ZodOptional<z.ZodString>;
1202
- }, z.ZodTypeAny, "passthrough">>>;
1203
- }, z.ZodTypeAny, "passthrough">, z.objectOutputType<{
1204
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1205
- id: z.ZodOptional<z.ZodString>;
1206
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1207
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1208
- id: z.ZodString;
1209
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1210
- id: z.ZodString;
1211
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1212
- id: z.ZodString;
1213
- }, z.ZodTypeAny, "passthrough">>]>;
1214
- issuanceDate: z.ZodString;
1215
- expirationDate: z.ZodOptional<z.ZodString>;
1216
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1217
- credentialStatus: z.ZodOptional<z.ZodObject<{
1218
- id: z.ZodString;
1219
- type: z.ZodLiteral<"StatusList2021Entry">;
1220
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1221
- statusListIndex: z.ZodString;
1222
- statusListCredential: z.ZodString;
1223
- }, "strip", z.ZodTypeAny, {
1224
- type: "StatusList2021Entry";
1225
- id: string;
1226
- statusPurpose: "revocation" | "suspension";
1227
- statusListIndex: string;
1228
- statusListCredential: string;
1229
- }, {
1230
- type: "StatusList2021Entry";
1231
- id: string;
1232
- statusPurpose: "revocation" | "suspension";
1233
- statusListIndex: string;
1234
- statusListCredential: string;
1235
- }>>;
1236
- proof: z.ZodOptional<z.ZodObject<{
1237
- type: z.ZodString;
1238
- created: z.ZodOptional<z.ZodString>;
1239
- verificationMethod: z.ZodOptional<z.ZodString>;
1240
- proofPurpose: z.ZodOptional<z.ZodString>;
1241
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1242
- type: z.ZodString;
1243
- created: z.ZodOptional<z.ZodString>;
1244
- verificationMethod: z.ZodOptional<z.ZodString>;
1245
- proofPurpose: z.ZodOptional<z.ZodString>;
1246
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1247
- type: z.ZodString;
1248
- created: z.ZodOptional<z.ZodString>;
1249
- verificationMethod: z.ZodOptional<z.ZodString>;
1250
- proofPurpose: z.ZodOptional<z.ZodString>;
1251
- }, z.ZodTypeAny, "passthrough">>>;
1252
- }, z.ZodTypeAny, "passthrough">>;
1253
- export declare function validateVerifiablePresentation(presentation: unknown): z.SafeParseReturnType<z.objectInputType<{
1254
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1255
- id: z.ZodOptional<z.ZodString>;
1256
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1257
- holder: z.ZodOptional<z.ZodString>;
1258
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1259
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1260
- id: z.ZodOptional<z.ZodString>;
1261
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1262
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1263
- id: z.ZodString;
1264
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1265
- id: z.ZodString;
1266
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1267
- id: z.ZodString;
1268
- }, z.ZodTypeAny, "passthrough">>]>;
1269
- issuanceDate: z.ZodString;
1270
- expirationDate: z.ZodOptional<z.ZodString>;
1271
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1272
- credentialStatus: z.ZodOptional<z.ZodObject<{
1273
- id: z.ZodString;
1274
- type: z.ZodLiteral<"StatusList2021Entry">;
1275
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1276
- statusListIndex: z.ZodString;
1277
- statusListCredential: z.ZodString;
1278
- }, "strip", z.ZodTypeAny, {
1279
- type: "StatusList2021Entry";
1280
- id: string;
1281
- statusPurpose: "revocation" | "suspension";
1282
- statusListIndex: string;
1283
- statusListCredential: string;
1284
- }, {
1285
- type: "StatusList2021Entry";
1286
- id: string;
1287
- statusPurpose: "revocation" | "suspension";
1288
- statusListIndex: string;
1289
- statusListCredential: string;
1290
- }>>;
1291
- proof: z.ZodOptional<z.ZodObject<{
1292
- type: z.ZodString;
1293
- created: z.ZodOptional<z.ZodString>;
1294
- verificationMethod: z.ZodOptional<z.ZodString>;
1295
- proofPurpose: z.ZodOptional<z.ZodString>;
1296
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1297
- type: z.ZodString;
1298
- created: z.ZodOptional<z.ZodString>;
1299
- verificationMethod: z.ZodOptional<z.ZodString>;
1300
- proofPurpose: z.ZodOptional<z.ZodString>;
1301
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1302
- type: z.ZodString;
1303
- created: z.ZodOptional<z.ZodString>;
1304
- verificationMethod: z.ZodOptional<z.ZodString>;
1305
- proofPurpose: z.ZodOptional<z.ZodString>;
1306
- }, z.ZodTypeAny, "passthrough">>>;
1307
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1308
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1309
- id: z.ZodOptional<z.ZodString>;
1310
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1311
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1312
- id: z.ZodString;
1313
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1314
- id: z.ZodString;
1315
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1316
- id: z.ZodString;
1317
- }, z.ZodTypeAny, "passthrough">>]>;
1318
- issuanceDate: z.ZodString;
1319
- expirationDate: z.ZodOptional<z.ZodString>;
1320
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1321
- credentialStatus: z.ZodOptional<z.ZodObject<{
1322
- id: z.ZodString;
1323
- type: z.ZodLiteral<"StatusList2021Entry">;
1324
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1325
- statusListIndex: z.ZodString;
1326
- statusListCredential: z.ZodString;
1327
- }, "strip", z.ZodTypeAny, {
1328
- type: "StatusList2021Entry";
1329
- id: string;
1330
- statusPurpose: "revocation" | "suspension";
1331
- statusListIndex: string;
1332
- statusListCredential: string;
1333
- }, {
1334
- type: "StatusList2021Entry";
1335
- id: string;
1336
- statusPurpose: "revocation" | "suspension";
1337
- statusListIndex: string;
1338
- statusListCredential: string;
1339
- }>>;
1340
- proof: z.ZodOptional<z.ZodObject<{
1341
- type: z.ZodString;
1342
- created: z.ZodOptional<z.ZodString>;
1343
- verificationMethod: z.ZodOptional<z.ZodString>;
1344
- proofPurpose: z.ZodOptional<z.ZodString>;
1345
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1346
- type: z.ZodString;
1347
- created: z.ZodOptional<z.ZodString>;
1348
- verificationMethod: z.ZodOptional<z.ZodString>;
1349
- proofPurpose: z.ZodOptional<z.ZodString>;
1350
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1351
- type: z.ZodString;
1352
- created: z.ZodOptional<z.ZodString>;
1353
- verificationMethod: z.ZodOptional<z.ZodString>;
1354
- proofPurpose: z.ZodOptional<z.ZodString>;
1355
- }, z.ZodTypeAny, "passthrough">>>;
1356
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1357
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1358
- id: z.ZodOptional<z.ZodString>;
1359
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1360
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1361
- id: z.ZodString;
1362
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1363
- id: z.ZodString;
1364
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1365
- id: z.ZodString;
1366
- }, z.ZodTypeAny, "passthrough">>]>;
1367
- issuanceDate: z.ZodString;
1368
- expirationDate: z.ZodOptional<z.ZodString>;
1369
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1370
- credentialStatus: z.ZodOptional<z.ZodObject<{
1371
- id: z.ZodString;
1372
- type: z.ZodLiteral<"StatusList2021Entry">;
1373
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1374
- statusListIndex: z.ZodString;
1375
- statusListCredential: z.ZodString;
1376
- }, "strip", z.ZodTypeAny, {
1377
- type: "StatusList2021Entry";
1378
- id: string;
1379
- statusPurpose: "revocation" | "suspension";
1380
- statusListIndex: string;
1381
- statusListCredential: string;
1382
- }, {
1383
- type: "StatusList2021Entry";
1384
- id: string;
1385
- statusPurpose: "revocation" | "suspension";
1386
- statusListIndex: string;
1387
- statusListCredential: string;
1388
- }>>;
1389
- proof: z.ZodOptional<z.ZodObject<{
1390
- type: z.ZodString;
1391
- created: z.ZodOptional<z.ZodString>;
1392
- verificationMethod: z.ZodOptional<z.ZodString>;
1393
- proofPurpose: z.ZodOptional<z.ZodString>;
1394
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1395
- type: z.ZodString;
1396
- created: z.ZodOptional<z.ZodString>;
1397
- verificationMethod: z.ZodOptional<z.ZodString>;
1398
- proofPurpose: z.ZodOptional<z.ZodString>;
1399
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1400
- type: z.ZodString;
1401
- created: z.ZodOptional<z.ZodString>;
1402
- verificationMethod: z.ZodOptional<z.ZodString>;
1403
- proofPurpose: z.ZodOptional<z.ZodString>;
1404
- }, z.ZodTypeAny, "passthrough">>>;
1405
- }, z.ZodTypeAny, "passthrough">>, z.ZodArray<z.ZodObject<{
1406
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1407
- id: z.ZodOptional<z.ZodString>;
1408
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1409
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1410
- id: z.ZodString;
1411
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1412
- id: z.ZodString;
1413
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1414
- id: z.ZodString;
1415
- }, z.ZodTypeAny, "passthrough">>]>;
1416
- issuanceDate: z.ZodString;
1417
- expirationDate: z.ZodOptional<z.ZodString>;
1418
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1419
- credentialStatus: z.ZodOptional<z.ZodObject<{
1420
- id: z.ZodString;
1421
- type: z.ZodLiteral<"StatusList2021Entry">;
1422
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1423
- statusListIndex: z.ZodString;
1424
- statusListCredential: z.ZodString;
1425
- }, "strip", z.ZodTypeAny, {
1426
- type: "StatusList2021Entry";
1427
- id: string;
1428
- statusPurpose: "revocation" | "suspension";
1429
- statusListIndex: string;
1430
- statusListCredential: string;
1431
- }, {
1432
- type: "StatusList2021Entry";
1433
- id: string;
1434
- statusPurpose: "revocation" | "suspension";
1435
- statusListIndex: string;
1436
- statusListCredential: string;
1437
- }>>;
1438
- proof: z.ZodOptional<z.ZodObject<{
1439
- type: z.ZodString;
1440
- created: z.ZodOptional<z.ZodString>;
1441
- verificationMethod: z.ZodOptional<z.ZodString>;
1442
- proofPurpose: z.ZodOptional<z.ZodString>;
1443
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1444
- type: z.ZodString;
1445
- created: z.ZodOptional<z.ZodString>;
1446
- verificationMethod: z.ZodOptional<z.ZodString>;
1447
- proofPurpose: z.ZodOptional<z.ZodString>;
1448
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1449
- type: z.ZodString;
1450
- created: z.ZodOptional<z.ZodString>;
1451
- verificationMethod: z.ZodOptional<z.ZodString>;
1452
- proofPurpose: z.ZodOptional<z.ZodString>;
1453
- }, z.ZodTypeAny, "passthrough">>>;
1454
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1455
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1456
- id: z.ZodOptional<z.ZodString>;
1457
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1458
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1459
- id: z.ZodString;
1460
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1461
- id: z.ZodString;
1462
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1463
- id: z.ZodString;
1464
- }, z.ZodTypeAny, "passthrough">>]>;
1465
- issuanceDate: z.ZodString;
1466
- expirationDate: z.ZodOptional<z.ZodString>;
1467
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1468
- credentialStatus: z.ZodOptional<z.ZodObject<{
1469
- id: z.ZodString;
1470
- type: z.ZodLiteral<"StatusList2021Entry">;
1471
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1472
- statusListIndex: z.ZodString;
1473
- statusListCredential: z.ZodString;
1474
- }, "strip", z.ZodTypeAny, {
1475
- type: "StatusList2021Entry";
1476
- id: string;
1477
- statusPurpose: "revocation" | "suspension";
1478
- statusListIndex: string;
1479
- statusListCredential: string;
1480
- }, {
1481
- type: "StatusList2021Entry";
1482
- id: string;
1483
- statusPurpose: "revocation" | "suspension";
1484
- statusListIndex: string;
1485
- statusListCredential: string;
1486
- }>>;
1487
- proof: z.ZodOptional<z.ZodObject<{
1488
- type: z.ZodString;
1489
- created: z.ZodOptional<z.ZodString>;
1490
- verificationMethod: z.ZodOptional<z.ZodString>;
1491
- proofPurpose: z.ZodOptional<z.ZodString>;
1492
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1493
- type: z.ZodString;
1494
- created: z.ZodOptional<z.ZodString>;
1495
- verificationMethod: z.ZodOptional<z.ZodString>;
1496
- proofPurpose: z.ZodOptional<z.ZodString>;
1497
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1498
- type: z.ZodString;
1499
- created: z.ZodOptional<z.ZodString>;
1500
- verificationMethod: z.ZodOptional<z.ZodString>;
1501
- proofPurpose: z.ZodOptional<z.ZodString>;
1502
- }, z.ZodTypeAny, "passthrough">>>;
1503
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1504
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1505
- id: z.ZodOptional<z.ZodString>;
1506
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1507
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1508
- id: z.ZodString;
1509
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1510
- id: z.ZodString;
1511
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1512
- id: z.ZodString;
1513
- }, z.ZodTypeAny, "passthrough">>]>;
1514
- issuanceDate: z.ZodString;
1515
- expirationDate: z.ZodOptional<z.ZodString>;
1516
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1517
- credentialStatus: z.ZodOptional<z.ZodObject<{
1518
- id: z.ZodString;
1519
- type: z.ZodLiteral<"StatusList2021Entry">;
1520
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1521
- statusListIndex: z.ZodString;
1522
- statusListCredential: z.ZodString;
1523
- }, "strip", z.ZodTypeAny, {
1524
- type: "StatusList2021Entry";
1525
- id: string;
1526
- statusPurpose: "revocation" | "suspension";
1527
- statusListIndex: string;
1528
- statusListCredential: string;
1529
- }, {
1530
- type: "StatusList2021Entry";
1531
- id: string;
1532
- statusPurpose: "revocation" | "suspension";
1533
- statusListIndex: string;
1534
- statusListCredential: string;
1535
- }>>;
1536
- proof: z.ZodOptional<z.ZodObject<{
1537
- type: z.ZodString;
1538
- created: z.ZodOptional<z.ZodString>;
1539
- verificationMethod: z.ZodOptional<z.ZodString>;
1540
- proofPurpose: z.ZodOptional<z.ZodString>;
1541
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1542
- type: z.ZodString;
1543
- created: z.ZodOptional<z.ZodString>;
1544
- verificationMethod: z.ZodOptional<z.ZodString>;
1545
- proofPurpose: z.ZodOptional<z.ZodString>;
1546
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1547
- type: z.ZodString;
1548
- created: z.ZodOptional<z.ZodString>;
1549
- verificationMethod: z.ZodOptional<z.ZodString>;
1550
- proofPurpose: z.ZodOptional<z.ZodString>;
1551
- }, z.ZodTypeAny, "passthrough">>>;
1552
- }, z.ZodTypeAny, "passthrough">>, "many">]>>;
1553
- proof: z.ZodOptional<z.ZodObject<{
1554
- type: z.ZodString;
1555
- created: z.ZodOptional<z.ZodString>;
1556
- verificationMethod: z.ZodOptional<z.ZodString>;
1557
- proofPurpose: z.ZodOptional<z.ZodString>;
1558
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1559
- type: z.ZodString;
1560
- created: z.ZodOptional<z.ZodString>;
1561
- verificationMethod: z.ZodOptional<z.ZodString>;
1562
- proofPurpose: z.ZodOptional<z.ZodString>;
1563
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1564
- type: z.ZodString;
1565
- created: z.ZodOptional<z.ZodString>;
1566
- verificationMethod: z.ZodOptional<z.ZodString>;
1567
- proofPurpose: z.ZodOptional<z.ZodString>;
1568
- }, z.ZodTypeAny, "passthrough">>>;
1569
- }, z.ZodTypeAny, "passthrough">, z.objectOutputType<{
1570
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1571
- id: z.ZodOptional<z.ZodString>;
1572
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1573
- holder: z.ZodOptional<z.ZodString>;
1574
- verifiableCredential: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1575
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1576
- id: z.ZodOptional<z.ZodString>;
1577
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1578
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1579
- id: z.ZodString;
1580
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1581
- id: z.ZodString;
1582
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1583
- id: z.ZodString;
1584
- }, z.ZodTypeAny, "passthrough">>]>;
1585
- issuanceDate: z.ZodString;
1586
- expirationDate: z.ZodOptional<z.ZodString>;
1587
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1588
- credentialStatus: z.ZodOptional<z.ZodObject<{
1589
- id: z.ZodString;
1590
- type: z.ZodLiteral<"StatusList2021Entry">;
1591
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1592
- statusListIndex: z.ZodString;
1593
- statusListCredential: z.ZodString;
1594
- }, "strip", z.ZodTypeAny, {
1595
- type: "StatusList2021Entry";
1596
- id: string;
1597
- statusPurpose: "revocation" | "suspension";
1598
- statusListIndex: string;
1599
- statusListCredential: string;
1600
- }, {
1601
- type: "StatusList2021Entry";
1602
- id: string;
1603
- statusPurpose: "revocation" | "suspension";
1604
- statusListIndex: string;
1605
- statusListCredential: string;
1606
- }>>;
1607
- proof: z.ZodOptional<z.ZodObject<{
1608
- type: z.ZodString;
1609
- created: z.ZodOptional<z.ZodString>;
1610
- verificationMethod: z.ZodOptional<z.ZodString>;
1611
- proofPurpose: z.ZodOptional<z.ZodString>;
1612
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1613
- type: z.ZodString;
1614
- created: z.ZodOptional<z.ZodString>;
1615
- verificationMethod: z.ZodOptional<z.ZodString>;
1616
- proofPurpose: z.ZodOptional<z.ZodString>;
1617
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1618
- type: z.ZodString;
1619
- created: z.ZodOptional<z.ZodString>;
1620
- verificationMethod: z.ZodOptional<z.ZodString>;
1621
- proofPurpose: z.ZodOptional<z.ZodString>;
1622
- }, z.ZodTypeAny, "passthrough">>>;
1623
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1624
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1625
- id: z.ZodOptional<z.ZodString>;
1626
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1627
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1628
- id: z.ZodString;
1629
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1630
- id: z.ZodString;
1631
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1632
- id: z.ZodString;
1633
- }, z.ZodTypeAny, "passthrough">>]>;
1634
- issuanceDate: z.ZodString;
1635
- expirationDate: z.ZodOptional<z.ZodString>;
1636
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1637
- credentialStatus: z.ZodOptional<z.ZodObject<{
1638
- id: z.ZodString;
1639
- type: z.ZodLiteral<"StatusList2021Entry">;
1640
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1641
- statusListIndex: z.ZodString;
1642
- statusListCredential: z.ZodString;
1643
- }, "strip", z.ZodTypeAny, {
1644
- type: "StatusList2021Entry";
1645
- id: string;
1646
- statusPurpose: "revocation" | "suspension";
1647
- statusListIndex: string;
1648
- statusListCredential: string;
1649
- }, {
1650
- type: "StatusList2021Entry";
1651
- id: string;
1652
- statusPurpose: "revocation" | "suspension";
1653
- statusListIndex: string;
1654
- statusListCredential: string;
1655
- }>>;
1656
- proof: z.ZodOptional<z.ZodObject<{
1657
- type: z.ZodString;
1658
- created: z.ZodOptional<z.ZodString>;
1659
- verificationMethod: z.ZodOptional<z.ZodString>;
1660
- proofPurpose: z.ZodOptional<z.ZodString>;
1661
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1662
- type: z.ZodString;
1663
- created: z.ZodOptional<z.ZodString>;
1664
- verificationMethod: z.ZodOptional<z.ZodString>;
1665
- proofPurpose: z.ZodOptional<z.ZodString>;
1666
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1667
- type: z.ZodString;
1668
- created: z.ZodOptional<z.ZodString>;
1669
- verificationMethod: z.ZodOptional<z.ZodString>;
1670
- proofPurpose: z.ZodOptional<z.ZodString>;
1671
- }, z.ZodTypeAny, "passthrough">>>;
1672
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1673
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1674
- id: z.ZodOptional<z.ZodString>;
1675
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1676
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1677
- id: z.ZodString;
1678
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1679
- id: z.ZodString;
1680
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1681
- id: z.ZodString;
1682
- }, z.ZodTypeAny, "passthrough">>]>;
1683
- issuanceDate: z.ZodString;
1684
- expirationDate: z.ZodOptional<z.ZodString>;
1685
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1686
- credentialStatus: z.ZodOptional<z.ZodObject<{
1687
- id: z.ZodString;
1688
- type: z.ZodLiteral<"StatusList2021Entry">;
1689
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1690
- statusListIndex: z.ZodString;
1691
- statusListCredential: z.ZodString;
1692
- }, "strip", z.ZodTypeAny, {
1693
- type: "StatusList2021Entry";
1694
- id: string;
1695
- statusPurpose: "revocation" | "suspension";
1696
- statusListIndex: string;
1697
- statusListCredential: string;
1698
- }, {
1699
- type: "StatusList2021Entry";
1700
- id: string;
1701
- statusPurpose: "revocation" | "suspension";
1702
- statusListIndex: string;
1703
- statusListCredential: string;
1704
- }>>;
1705
- proof: z.ZodOptional<z.ZodObject<{
1706
- type: z.ZodString;
1707
- created: z.ZodOptional<z.ZodString>;
1708
- verificationMethod: z.ZodOptional<z.ZodString>;
1709
- proofPurpose: z.ZodOptional<z.ZodString>;
1710
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1711
- type: z.ZodString;
1712
- created: z.ZodOptional<z.ZodString>;
1713
- verificationMethod: z.ZodOptional<z.ZodString>;
1714
- proofPurpose: z.ZodOptional<z.ZodString>;
1715
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1716
- type: z.ZodString;
1717
- created: z.ZodOptional<z.ZodString>;
1718
- verificationMethod: z.ZodOptional<z.ZodString>;
1719
- proofPurpose: z.ZodOptional<z.ZodString>;
1720
- }, z.ZodTypeAny, "passthrough">>>;
1721
- }, z.ZodTypeAny, "passthrough">>, z.ZodArray<z.ZodObject<{
1722
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1723
- id: z.ZodOptional<z.ZodString>;
1724
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1725
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1726
- id: z.ZodString;
1727
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1728
- id: z.ZodString;
1729
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1730
- id: z.ZodString;
1731
- }, z.ZodTypeAny, "passthrough">>]>;
1732
- issuanceDate: z.ZodString;
1733
- expirationDate: z.ZodOptional<z.ZodString>;
1734
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1735
- credentialStatus: z.ZodOptional<z.ZodObject<{
1736
- id: z.ZodString;
1737
- type: z.ZodLiteral<"StatusList2021Entry">;
1738
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1739
- statusListIndex: z.ZodString;
1740
- statusListCredential: z.ZodString;
1741
- }, "strip", z.ZodTypeAny, {
1742
- type: "StatusList2021Entry";
1743
- id: string;
1744
- statusPurpose: "revocation" | "suspension";
1745
- statusListIndex: string;
1746
- statusListCredential: string;
1747
- }, {
1748
- type: "StatusList2021Entry";
1749
- id: string;
1750
- statusPurpose: "revocation" | "suspension";
1751
- statusListIndex: string;
1752
- statusListCredential: string;
1753
- }>>;
1754
- proof: z.ZodOptional<z.ZodObject<{
1755
- type: z.ZodString;
1756
- created: z.ZodOptional<z.ZodString>;
1757
- verificationMethod: z.ZodOptional<z.ZodString>;
1758
- proofPurpose: z.ZodOptional<z.ZodString>;
1759
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1760
- type: z.ZodString;
1761
- created: z.ZodOptional<z.ZodString>;
1762
- verificationMethod: z.ZodOptional<z.ZodString>;
1763
- proofPurpose: z.ZodOptional<z.ZodString>;
1764
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1765
- type: z.ZodString;
1766
- created: z.ZodOptional<z.ZodString>;
1767
- verificationMethod: z.ZodOptional<z.ZodString>;
1768
- proofPurpose: z.ZodOptional<z.ZodString>;
1769
- }, z.ZodTypeAny, "passthrough">>>;
1770
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1771
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1772
- id: z.ZodOptional<z.ZodString>;
1773
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1774
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1775
- id: z.ZodString;
1776
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1777
- id: z.ZodString;
1778
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1779
- id: z.ZodString;
1780
- }, z.ZodTypeAny, "passthrough">>]>;
1781
- issuanceDate: z.ZodString;
1782
- expirationDate: z.ZodOptional<z.ZodString>;
1783
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1784
- credentialStatus: z.ZodOptional<z.ZodObject<{
1785
- id: z.ZodString;
1786
- type: z.ZodLiteral<"StatusList2021Entry">;
1787
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1788
- statusListIndex: z.ZodString;
1789
- statusListCredential: z.ZodString;
1790
- }, "strip", z.ZodTypeAny, {
1791
- type: "StatusList2021Entry";
1792
- id: string;
1793
- statusPurpose: "revocation" | "suspension";
1794
- statusListIndex: string;
1795
- statusListCredential: string;
1796
- }, {
1797
- type: "StatusList2021Entry";
1798
- id: string;
1799
- statusPurpose: "revocation" | "suspension";
1800
- statusListIndex: string;
1801
- statusListCredential: string;
1802
- }>>;
1803
- proof: z.ZodOptional<z.ZodObject<{
1804
- type: z.ZodString;
1805
- created: z.ZodOptional<z.ZodString>;
1806
- verificationMethod: z.ZodOptional<z.ZodString>;
1807
- proofPurpose: z.ZodOptional<z.ZodString>;
1808
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1809
- type: z.ZodString;
1810
- created: z.ZodOptional<z.ZodString>;
1811
- verificationMethod: z.ZodOptional<z.ZodString>;
1812
- proofPurpose: z.ZodOptional<z.ZodString>;
1813
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1814
- type: z.ZodString;
1815
- created: z.ZodOptional<z.ZodString>;
1816
- verificationMethod: z.ZodOptional<z.ZodString>;
1817
- proofPurpose: z.ZodOptional<z.ZodString>;
1818
- }, z.ZodTypeAny, "passthrough">>>;
1819
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1820
- '@context': z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "atleastone">, [string | Record<string, any>, ...(string | Record<string, any>)[]], [string | Record<string, any>, ...(string | Record<string, any>)[]]>;
1821
- id: z.ZodOptional<z.ZodString>;
1822
- type: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
1823
- issuer: z.ZodUnion<[z.ZodString, z.ZodObject<{
1824
- id: z.ZodString;
1825
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1826
- id: z.ZodString;
1827
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1828
- id: z.ZodString;
1829
- }, z.ZodTypeAny, "passthrough">>]>;
1830
- issuanceDate: z.ZodString;
1831
- expirationDate: z.ZodOptional<z.ZodString>;
1832
- credentialSubject: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1833
- credentialStatus: z.ZodOptional<z.ZodObject<{
1834
- id: z.ZodString;
1835
- type: z.ZodLiteral<"StatusList2021Entry">;
1836
- statusPurpose: z.ZodEnum<["revocation", "suspension"]>;
1837
- statusListIndex: z.ZodString;
1838
- statusListCredential: z.ZodString;
1839
- }, "strip", z.ZodTypeAny, {
1840
- type: "StatusList2021Entry";
1841
- id: string;
1842
- statusPurpose: "revocation" | "suspension";
1843
- statusListIndex: string;
1844
- statusListCredential: string;
1845
- }, {
1846
- type: "StatusList2021Entry";
1847
- id: string;
1848
- statusPurpose: "revocation" | "suspension";
1849
- statusListIndex: string;
1850
- statusListCredential: string;
1851
- }>>;
1852
- proof: z.ZodOptional<z.ZodObject<{
1853
- type: z.ZodString;
1854
- created: z.ZodOptional<z.ZodString>;
1855
- verificationMethod: z.ZodOptional<z.ZodString>;
1856
- proofPurpose: z.ZodOptional<z.ZodString>;
1857
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1858
- type: z.ZodString;
1859
- created: z.ZodOptional<z.ZodString>;
1860
- verificationMethod: z.ZodOptional<z.ZodString>;
1861
- proofPurpose: z.ZodOptional<z.ZodString>;
1862
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1863
- type: z.ZodString;
1864
- created: z.ZodOptional<z.ZodString>;
1865
- verificationMethod: z.ZodOptional<z.ZodString>;
1866
- proofPurpose: z.ZodOptional<z.ZodString>;
1867
- }, z.ZodTypeAny, "passthrough">>>;
1868
- }, z.ZodTypeAny, "passthrough">>, "many">]>>;
1869
- proof: z.ZodOptional<z.ZodObject<{
1870
- type: z.ZodString;
1871
- created: z.ZodOptional<z.ZodString>;
1872
- verificationMethod: z.ZodOptional<z.ZodString>;
1873
- proofPurpose: z.ZodOptional<z.ZodString>;
1874
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1875
- type: z.ZodString;
1876
- created: z.ZodOptional<z.ZodString>;
1877
- verificationMethod: z.ZodOptional<z.ZodString>;
1878
- proofPurpose: z.ZodOptional<z.ZodString>;
1879
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1880
- type: z.ZodString;
1881
- created: z.ZodOptional<z.ZodString>;
1882
- verificationMethod: z.ZodOptional<z.ZodString>;
1883
- proofPurpose: z.ZodOptional<z.ZodString>;
1884
- }, z.ZodTypeAny, "passthrough">>>;
1885
- }, z.ZodTypeAny, "passthrough">>;
1886
- export declare function isCredentialExpired(credential: VerifiableCredential): boolean;
1887
- export declare function getIssuerDid(credential: VerifiableCredential): string;
1888
- export declare function getSubjectDid(credential: VerifiableCredential): string | null;