@learncard/types 5.5.0 → 5.5.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/did.d.ts ADDED
@@ -0,0 +1,900 @@
1
+ import { z } from 'zod';
2
+ export declare const VerificationMethodValidator: z.ZodUnion<[z.ZodString, z.ZodObject<{
3
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
4
+ id: z.ZodString;
5
+ type: z.ZodString;
6
+ controller: z.ZodString;
7
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
8
+ kty: z.ZodString;
9
+ crv: z.ZodString;
10
+ x: z.ZodString;
11
+ y: z.ZodOptional<z.ZodString>;
12
+ n: z.ZodOptional<z.ZodString>;
13
+ d: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ y?: string | undefined;
16
+ n?: string | undefined;
17
+ kty: string;
18
+ crv: string;
19
+ x: string;
20
+ d: string;
21
+ }, {
22
+ y?: string | undefined;
23
+ n?: string | undefined;
24
+ kty: string;
25
+ crv: string;
26
+ x: string;
27
+ d: string;
28
+ }>>;
29
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
30
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
31
+ }, "strip", z.ZodAny, {
32
+ [x: string]: any;
33
+ '@context'?: (string | Record<string, any>)[] | undefined;
34
+ publicKeyJwk?: {
35
+ y?: string | undefined;
36
+ n?: string | undefined;
37
+ kty: string;
38
+ crv: string;
39
+ x: string;
40
+ d: string;
41
+ } | undefined;
42
+ publicKeyBase58?: string | undefined;
43
+ blockChainAccountId?: string | undefined;
44
+ type: string;
45
+ id: string;
46
+ controller: string;
47
+ }, {
48
+ [x: string]: any;
49
+ '@context'?: (string | Record<string, any>)[] | undefined;
50
+ publicKeyJwk?: {
51
+ y?: string | undefined;
52
+ n?: string | undefined;
53
+ kty: string;
54
+ crv: string;
55
+ x: string;
56
+ d: string;
57
+ } | undefined;
58
+ publicKeyBase58?: string | undefined;
59
+ blockChainAccountId?: string | undefined;
60
+ type: string;
61
+ id: string;
62
+ controller: string;
63
+ }>]>;
64
+ export type VerificationMethod = z.infer<typeof VerificationMethodValidator>;
65
+ export declare const ServiceValidator: z.ZodObject<{
66
+ id: z.ZodString;
67
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
68
+ serviceEndpoint: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "atleastone">]>;
69
+ }, "strip", z.ZodAny, {
70
+ [x: string]: any;
71
+ serviceEndpoint?: any;
72
+ type: string | [string, ...string[]];
73
+ id: string;
74
+ }, {
75
+ [x: string]: any;
76
+ serviceEndpoint?: any;
77
+ type: string | [string, ...string[]];
78
+ id: string;
79
+ }>;
80
+ export type Service = z.infer<typeof ServiceValidator>;
81
+ export declare const DidDocumentValidator: z.ZodObject<{
82
+ '@context': z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">;
83
+ id: z.ZodString;
84
+ alsoKnownAs: z.ZodOptional<z.ZodString>;
85
+ controller: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
86
+ verificationMethod: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
87
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
88
+ id: z.ZodString;
89
+ type: z.ZodString;
90
+ controller: z.ZodString;
91
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
92
+ kty: z.ZodString;
93
+ crv: z.ZodString;
94
+ x: z.ZodString;
95
+ y: z.ZodOptional<z.ZodString>;
96
+ n: z.ZodOptional<z.ZodString>;
97
+ d: z.ZodString;
98
+ }, "strip", z.ZodTypeAny, {
99
+ y?: string | undefined;
100
+ n?: string | undefined;
101
+ kty: string;
102
+ crv: string;
103
+ x: string;
104
+ d: string;
105
+ }, {
106
+ y?: string | undefined;
107
+ n?: string | undefined;
108
+ kty: string;
109
+ crv: string;
110
+ x: string;
111
+ d: string;
112
+ }>>;
113
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
114
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
115
+ }, "strip", z.ZodAny, {
116
+ [x: string]: any;
117
+ '@context'?: (string | Record<string, any>)[] | undefined;
118
+ publicKeyJwk?: {
119
+ y?: string | undefined;
120
+ n?: string | undefined;
121
+ kty: string;
122
+ crv: string;
123
+ x: string;
124
+ d: string;
125
+ } | undefined;
126
+ publicKeyBase58?: string | undefined;
127
+ blockChainAccountId?: string | undefined;
128
+ type: string;
129
+ id: string;
130
+ controller: string;
131
+ }, {
132
+ [x: string]: any;
133
+ '@context'?: (string | Record<string, any>)[] | undefined;
134
+ publicKeyJwk?: {
135
+ y?: string | undefined;
136
+ n?: string | undefined;
137
+ kty: string;
138
+ crv: string;
139
+ x: string;
140
+ d: string;
141
+ } | undefined;
142
+ publicKeyBase58?: string | undefined;
143
+ blockChainAccountId?: string | undefined;
144
+ type: string;
145
+ id: string;
146
+ controller: string;
147
+ }>]>, "many">>;
148
+ authentication: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
149
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
150
+ id: z.ZodString;
151
+ type: z.ZodString;
152
+ controller: z.ZodString;
153
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
154
+ kty: z.ZodString;
155
+ crv: z.ZodString;
156
+ x: z.ZodString;
157
+ y: z.ZodOptional<z.ZodString>;
158
+ n: z.ZodOptional<z.ZodString>;
159
+ d: z.ZodString;
160
+ }, "strip", z.ZodTypeAny, {
161
+ y?: string | undefined;
162
+ n?: string | undefined;
163
+ kty: string;
164
+ crv: string;
165
+ x: string;
166
+ d: string;
167
+ }, {
168
+ y?: string | undefined;
169
+ n?: string | undefined;
170
+ kty: string;
171
+ crv: string;
172
+ x: string;
173
+ d: string;
174
+ }>>;
175
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
176
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
177
+ }, "strip", z.ZodAny, {
178
+ [x: string]: any;
179
+ '@context'?: (string | Record<string, any>)[] | undefined;
180
+ publicKeyJwk?: {
181
+ y?: string | undefined;
182
+ n?: string | undefined;
183
+ kty: string;
184
+ crv: string;
185
+ x: string;
186
+ d: string;
187
+ } | undefined;
188
+ publicKeyBase58?: string | undefined;
189
+ blockChainAccountId?: string | undefined;
190
+ type: string;
191
+ id: string;
192
+ controller: string;
193
+ }, {
194
+ [x: string]: any;
195
+ '@context'?: (string | Record<string, any>)[] | undefined;
196
+ publicKeyJwk?: {
197
+ y?: string | undefined;
198
+ n?: string | undefined;
199
+ kty: string;
200
+ crv: string;
201
+ x: string;
202
+ d: string;
203
+ } | undefined;
204
+ publicKeyBase58?: string | undefined;
205
+ blockChainAccountId?: string | undefined;
206
+ type: string;
207
+ id: string;
208
+ controller: string;
209
+ }>]>, "many">>;
210
+ assertionMethod: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
211
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
212
+ id: z.ZodString;
213
+ type: z.ZodString;
214
+ controller: z.ZodString;
215
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
216
+ kty: z.ZodString;
217
+ crv: z.ZodString;
218
+ x: z.ZodString;
219
+ y: z.ZodOptional<z.ZodString>;
220
+ n: z.ZodOptional<z.ZodString>;
221
+ d: z.ZodString;
222
+ }, "strip", z.ZodTypeAny, {
223
+ y?: string | undefined;
224
+ n?: string | undefined;
225
+ kty: string;
226
+ crv: string;
227
+ x: string;
228
+ d: string;
229
+ }, {
230
+ y?: string | undefined;
231
+ n?: string | undefined;
232
+ kty: string;
233
+ crv: string;
234
+ x: string;
235
+ d: string;
236
+ }>>;
237
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
238
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodAny, {
240
+ [x: string]: any;
241
+ '@context'?: (string | Record<string, any>)[] | undefined;
242
+ publicKeyJwk?: {
243
+ y?: string | undefined;
244
+ n?: string | undefined;
245
+ kty: string;
246
+ crv: string;
247
+ x: string;
248
+ d: string;
249
+ } | undefined;
250
+ publicKeyBase58?: string | undefined;
251
+ blockChainAccountId?: string | undefined;
252
+ type: string;
253
+ id: string;
254
+ controller: string;
255
+ }, {
256
+ [x: string]: any;
257
+ '@context'?: (string | Record<string, any>)[] | undefined;
258
+ publicKeyJwk?: {
259
+ y?: string | undefined;
260
+ n?: string | undefined;
261
+ kty: string;
262
+ crv: string;
263
+ x: string;
264
+ d: string;
265
+ } | undefined;
266
+ publicKeyBase58?: string | undefined;
267
+ blockChainAccountId?: string | undefined;
268
+ type: string;
269
+ id: string;
270
+ controller: string;
271
+ }>]>, "many">>;
272
+ keyAgreement: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
273
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
274
+ id: z.ZodString;
275
+ type: z.ZodString;
276
+ controller: z.ZodString;
277
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
278
+ kty: z.ZodString;
279
+ crv: z.ZodString;
280
+ x: z.ZodString;
281
+ y: z.ZodOptional<z.ZodString>;
282
+ n: z.ZodOptional<z.ZodString>;
283
+ d: z.ZodString;
284
+ }, "strip", z.ZodTypeAny, {
285
+ y?: string | undefined;
286
+ n?: string | undefined;
287
+ kty: string;
288
+ crv: string;
289
+ x: string;
290
+ d: string;
291
+ }, {
292
+ y?: string | undefined;
293
+ n?: string | undefined;
294
+ kty: string;
295
+ crv: string;
296
+ x: string;
297
+ d: string;
298
+ }>>;
299
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
300
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
301
+ }, "strip", z.ZodAny, {
302
+ [x: string]: any;
303
+ '@context'?: (string | Record<string, any>)[] | undefined;
304
+ publicKeyJwk?: {
305
+ y?: string | undefined;
306
+ n?: string | undefined;
307
+ kty: string;
308
+ crv: string;
309
+ x: string;
310
+ d: string;
311
+ } | undefined;
312
+ publicKeyBase58?: string | undefined;
313
+ blockChainAccountId?: string | undefined;
314
+ type: string;
315
+ id: string;
316
+ controller: string;
317
+ }, {
318
+ [x: string]: any;
319
+ '@context'?: (string | Record<string, any>)[] | undefined;
320
+ publicKeyJwk?: {
321
+ y?: string | undefined;
322
+ n?: string | undefined;
323
+ kty: string;
324
+ crv: string;
325
+ x: string;
326
+ d: string;
327
+ } | undefined;
328
+ publicKeyBase58?: string | undefined;
329
+ blockChainAccountId?: string | undefined;
330
+ type: string;
331
+ id: string;
332
+ controller: string;
333
+ }>]>, "many">>;
334
+ capabilityInvocation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
335
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
336
+ id: z.ZodString;
337
+ type: z.ZodString;
338
+ controller: z.ZodString;
339
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
340
+ kty: z.ZodString;
341
+ crv: z.ZodString;
342
+ x: z.ZodString;
343
+ y: z.ZodOptional<z.ZodString>;
344
+ n: z.ZodOptional<z.ZodString>;
345
+ d: z.ZodString;
346
+ }, "strip", z.ZodTypeAny, {
347
+ y?: string | undefined;
348
+ n?: string | undefined;
349
+ kty: string;
350
+ crv: string;
351
+ x: string;
352
+ d: string;
353
+ }, {
354
+ y?: string | undefined;
355
+ n?: string | undefined;
356
+ kty: string;
357
+ crv: string;
358
+ x: string;
359
+ d: string;
360
+ }>>;
361
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
362
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
363
+ }, "strip", z.ZodAny, {
364
+ [x: string]: any;
365
+ '@context'?: (string | Record<string, any>)[] | undefined;
366
+ publicKeyJwk?: {
367
+ y?: string | undefined;
368
+ n?: string | undefined;
369
+ kty: string;
370
+ crv: string;
371
+ x: string;
372
+ d: string;
373
+ } | undefined;
374
+ publicKeyBase58?: string | undefined;
375
+ blockChainAccountId?: string | undefined;
376
+ type: string;
377
+ id: string;
378
+ controller: string;
379
+ }, {
380
+ [x: string]: any;
381
+ '@context'?: (string | Record<string, any>)[] | undefined;
382
+ publicKeyJwk?: {
383
+ y?: string | undefined;
384
+ n?: string | undefined;
385
+ kty: string;
386
+ crv: string;
387
+ x: string;
388
+ d: string;
389
+ } | undefined;
390
+ publicKeyBase58?: string | undefined;
391
+ blockChainAccountId?: string | undefined;
392
+ type: string;
393
+ id: string;
394
+ controller: string;
395
+ }>]>, "many">>;
396
+ capabilityDelegation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
397
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
398
+ id: z.ZodString;
399
+ type: z.ZodString;
400
+ controller: z.ZodString;
401
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
402
+ kty: z.ZodString;
403
+ crv: z.ZodString;
404
+ x: z.ZodString;
405
+ y: z.ZodOptional<z.ZodString>;
406
+ n: z.ZodOptional<z.ZodString>;
407
+ d: z.ZodString;
408
+ }, "strip", z.ZodTypeAny, {
409
+ y?: string | undefined;
410
+ n?: string | undefined;
411
+ kty: string;
412
+ crv: string;
413
+ x: string;
414
+ d: string;
415
+ }, {
416
+ y?: string | undefined;
417
+ n?: string | undefined;
418
+ kty: string;
419
+ crv: string;
420
+ x: string;
421
+ d: string;
422
+ }>>;
423
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
424
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
425
+ }, "strip", z.ZodAny, {
426
+ [x: string]: any;
427
+ '@context'?: (string | Record<string, any>)[] | undefined;
428
+ publicKeyJwk?: {
429
+ y?: string | undefined;
430
+ n?: string | undefined;
431
+ kty: string;
432
+ crv: string;
433
+ x: string;
434
+ d: string;
435
+ } | undefined;
436
+ publicKeyBase58?: string | undefined;
437
+ blockChainAccountId?: string | undefined;
438
+ type: string;
439
+ id: string;
440
+ controller: string;
441
+ }, {
442
+ [x: string]: any;
443
+ '@context'?: (string | Record<string, any>)[] | undefined;
444
+ publicKeyJwk?: {
445
+ y?: string | undefined;
446
+ n?: string | undefined;
447
+ kty: string;
448
+ crv: string;
449
+ x: string;
450
+ d: string;
451
+ } | undefined;
452
+ publicKeyBase58?: string | undefined;
453
+ blockChainAccountId?: string | undefined;
454
+ type: string;
455
+ id: string;
456
+ controller: string;
457
+ }>]>, "many">>;
458
+ publicKey: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
459
+ '@context': z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>, "many">>;
460
+ id: z.ZodString;
461
+ type: z.ZodString;
462
+ controller: z.ZodString;
463
+ publicKeyJwk: z.ZodOptional<z.ZodObject<{
464
+ kty: z.ZodString;
465
+ crv: z.ZodString;
466
+ x: z.ZodString;
467
+ y: z.ZodOptional<z.ZodString>;
468
+ n: z.ZodOptional<z.ZodString>;
469
+ d: z.ZodString;
470
+ }, "strip", z.ZodTypeAny, {
471
+ y?: string | undefined;
472
+ n?: string | undefined;
473
+ kty: string;
474
+ crv: string;
475
+ x: string;
476
+ d: string;
477
+ }, {
478
+ y?: string | undefined;
479
+ n?: string | undefined;
480
+ kty: string;
481
+ crv: string;
482
+ x: string;
483
+ d: string;
484
+ }>>;
485
+ publicKeyBase58: z.ZodOptional<z.ZodString>;
486
+ blockChainAccountId: z.ZodOptional<z.ZodString>;
487
+ }, "strip", z.ZodAny, {
488
+ [x: string]: any;
489
+ '@context'?: (string | Record<string, any>)[] | undefined;
490
+ publicKeyJwk?: {
491
+ y?: string | undefined;
492
+ n?: string | undefined;
493
+ kty: string;
494
+ crv: string;
495
+ x: string;
496
+ d: string;
497
+ } | undefined;
498
+ publicKeyBase58?: string | undefined;
499
+ blockChainAccountId?: string | undefined;
500
+ type: string;
501
+ id: string;
502
+ controller: string;
503
+ }, {
504
+ [x: string]: any;
505
+ '@context'?: (string | Record<string, any>)[] | undefined;
506
+ publicKeyJwk?: {
507
+ y?: string | undefined;
508
+ n?: string | undefined;
509
+ kty: string;
510
+ crv: string;
511
+ x: string;
512
+ d: string;
513
+ } | undefined;
514
+ publicKeyBase58?: string | undefined;
515
+ blockChainAccountId?: string | undefined;
516
+ type: string;
517
+ id: string;
518
+ controller: string;
519
+ }>]>, "many">>;
520
+ service: z.ZodOptional<z.ZodArray<z.ZodObject<{
521
+ id: z.ZodString;
522
+ type: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>;
523
+ serviceEndpoint: z.ZodUnion<[z.ZodAny, z.ZodArray<z.ZodAny, "atleastone">]>;
524
+ }, "strip", z.ZodAny, {
525
+ [x: string]: any;
526
+ serviceEndpoint?: any;
527
+ type: string | [string, ...string[]];
528
+ id: string;
529
+ }, {
530
+ [x: string]: any;
531
+ serviceEndpoint?: any;
532
+ type: string | [string, ...string[]];
533
+ id: string;
534
+ }>, "many">>;
535
+ proof: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
536
+ type: z.ZodString;
537
+ created: z.ZodString;
538
+ challenge: z.ZodOptional<z.ZodString>;
539
+ domain: z.ZodOptional<z.ZodString>;
540
+ nonce: z.ZodOptional<z.ZodString>;
541
+ proofPurpose: z.ZodString;
542
+ verificationMethod: z.ZodString;
543
+ jws: z.ZodOptional<z.ZodString>;
544
+ }, "strip", z.ZodAny, {
545
+ [x: string]: any;
546
+ challenge?: string | undefined;
547
+ domain?: string | undefined;
548
+ nonce?: string | undefined;
549
+ jws?: string | undefined;
550
+ type: string;
551
+ created: string;
552
+ proofPurpose: string;
553
+ verificationMethod: string;
554
+ }, {
555
+ [x: string]: any;
556
+ challenge?: string | undefined;
557
+ domain?: string | undefined;
558
+ nonce?: string | undefined;
559
+ jws?: string | undefined;
560
+ type: string;
561
+ created: string;
562
+ proofPurpose: string;
563
+ verificationMethod: string;
564
+ }>, z.ZodArray<z.ZodObject<{
565
+ type: z.ZodString;
566
+ created: z.ZodString;
567
+ challenge: z.ZodOptional<z.ZodString>;
568
+ domain: z.ZodOptional<z.ZodString>;
569
+ nonce: z.ZodOptional<z.ZodString>;
570
+ proofPurpose: z.ZodString;
571
+ verificationMethod: z.ZodString;
572
+ jws: z.ZodOptional<z.ZodString>;
573
+ }, "strip", z.ZodAny, {
574
+ [x: string]: any;
575
+ challenge?: string | undefined;
576
+ domain?: string | undefined;
577
+ nonce?: string | undefined;
578
+ jws?: string | undefined;
579
+ type: string;
580
+ created: string;
581
+ proofPurpose: string;
582
+ verificationMethod: string;
583
+ }, {
584
+ [x: string]: any;
585
+ challenge?: string | undefined;
586
+ domain?: string | undefined;
587
+ nonce?: string | undefined;
588
+ jws?: string | undefined;
589
+ type: string;
590
+ created: string;
591
+ proofPurpose: string;
592
+ verificationMethod: string;
593
+ }>, "many">]>>;
594
+ }, "strip", z.ZodAny, {
595
+ [x: string]: any;
596
+ verificationMethod?: (string | {
597
+ [x: string]: any;
598
+ '@context'?: (string | Record<string, any>)[] | undefined;
599
+ publicKeyJwk?: {
600
+ y?: string | undefined;
601
+ n?: string | undefined;
602
+ kty: string;
603
+ crv: string;
604
+ x: string;
605
+ d: string;
606
+ } | undefined;
607
+ publicKeyBase58?: string | undefined;
608
+ blockChainAccountId?: string | undefined;
609
+ type: string;
610
+ id: string;
611
+ controller: string;
612
+ })[] | undefined;
613
+ proof?: {
614
+ [x: string]: any;
615
+ challenge?: string | undefined;
616
+ domain?: string | undefined;
617
+ nonce?: string | undefined;
618
+ jws?: string | undefined;
619
+ type: string;
620
+ created: string;
621
+ proofPurpose: string;
622
+ verificationMethod: string;
623
+ } | {
624
+ [x: string]: any;
625
+ challenge?: string | undefined;
626
+ domain?: string | undefined;
627
+ nonce?: string | undefined;
628
+ jws?: string | undefined;
629
+ type: string;
630
+ created: string;
631
+ proofPurpose: string;
632
+ verificationMethod: string;
633
+ }[] | undefined;
634
+ controller?: string | [string, ...string[]] | undefined;
635
+ alsoKnownAs?: string | undefined;
636
+ authentication?: (string | {
637
+ [x: string]: any;
638
+ '@context'?: (string | Record<string, any>)[] | undefined;
639
+ publicKeyJwk?: {
640
+ y?: string | undefined;
641
+ n?: string | undefined;
642
+ kty: string;
643
+ crv: string;
644
+ x: string;
645
+ d: string;
646
+ } | undefined;
647
+ publicKeyBase58?: string | undefined;
648
+ blockChainAccountId?: string | undefined;
649
+ type: string;
650
+ id: string;
651
+ controller: string;
652
+ })[] | undefined;
653
+ assertionMethod?: (string | {
654
+ [x: string]: any;
655
+ '@context'?: (string | Record<string, any>)[] | undefined;
656
+ publicKeyJwk?: {
657
+ y?: string | undefined;
658
+ n?: string | undefined;
659
+ kty: string;
660
+ crv: string;
661
+ x: string;
662
+ d: string;
663
+ } | undefined;
664
+ publicKeyBase58?: string | undefined;
665
+ blockChainAccountId?: string | undefined;
666
+ type: string;
667
+ id: string;
668
+ controller: string;
669
+ })[] | undefined;
670
+ keyAgreement?: (string | {
671
+ [x: string]: any;
672
+ '@context'?: (string | Record<string, any>)[] | undefined;
673
+ publicKeyJwk?: {
674
+ y?: string | undefined;
675
+ n?: string | undefined;
676
+ kty: string;
677
+ crv: string;
678
+ x: string;
679
+ d: string;
680
+ } | undefined;
681
+ publicKeyBase58?: string | undefined;
682
+ blockChainAccountId?: string | undefined;
683
+ type: string;
684
+ id: string;
685
+ controller: string;
686
+ })[] | undefined;
687
+ capabilityInvocation?: (string | {
688
+ [x: string]: any;
689
+ '@context'?: (string | Record<string, any>)[] | undefined;
690
+ publicKeyJwk?: {
691
+ y?: string | undefined;
692
+ n?: string | undefined;
693
+ kty: string;
694
+ crv: string;
695
+ x: string;
696
+ d: string;
697
+ } | undefined;
698
+ publicKeyBase58?: string | undefined;
699
+ blockChainAccountId?: string | undefined;
700
+ type: string;
701
+ id: string;
702
+ controller: string;
703
+ })[] | undefined;
704
+ capabilityDelegation?: (string | {
705
+ [x: string]: any;
706
+ '@context'?: (string | Record<string, any>)[] | undefined;
707
+ publicKeyJwk?: {
708
+ y?: string | undefined;
709
+ n?: string | undefined;
710
+ kty: string;
711
+ crv: string;
712
+ x: string;
713
+ d: string;
714
+ } | undefined;
715
+ publicKeyBase58?: string | undefined;
716
+ blockChainAccountId?: string | undefined;
717
+ type: string;
718
+ id: string;
719
+ controller: string;
720
+ })[] | undefined;
721
+ publicKey?: (string | {
722
+ [x: string]: any;
723
+ '@context'?: (string | Record<string, any>)[] | undefined;
724
+ publicKeyJwk?: {
725
+ y?: string | undefined;
726
+ n?: string | undefined;
727
+ kty: string;
728
+ crv: string;
729
+ x: string;
730
+ d: string;
731
+ } | undefined;
732
+ publicKeyBase58?: string | undefined;
733
+ blockChainAccountId?: string | undefined;
734
+ type: string;
735
+ id: string;
736
+ controller: string;
737
+ })[] | undefined;
738
+ service?: {
739
+ [x: string]: any;
740
+ serviceEndpoint?: any;
741
+ type: string | [string, ...string[]];
742
+ id: string;
743
+ }[] | undefined;
744
+ id: string;
745
+ '@context': (string | Record<string, any>)[];
746
+ }, {
747
+ [x: string]: any;
748
+ verificationMethod?: (string | {
749
+ [x: string]: any;
750
+ '@context'?: (string | Record<string, any>)[] | undefined;
751
+ publicKeyJwk?: {
752
+ y?: string | undefined;
753
+ n?: string | undefined;
754
+ kty: string;
755
+ crv: string;
756
+ x: string;
757
+ d: string;
758
+ } | undefined;
759
+ publicKeyBase58?: string | undefined;
760
+ blockChainAccountId?: string | undefined;
761
+ type: string;
762
+ id: string;
763
+ controller: string;
764
+ })[] | undefined;
765
+ proof?: {
766
+ [x: string]: any;
767
+ challenge?: string | undefined;
768
+ domain?: string | undefined;
769
+ nonce?: string | undefined;
770
+ jws?: string | undefined;
771
+ type: string;
772
+ created: string;
773
+ proofPurpose: string;
774
+ verificationMethod: string;
775
+ } | {
776
+ [x: string]: any;
777
+ challenge?: string | undefined;
778
+ domain?: string | undefined;
779
+ nonce?: string | undefined;
780
+ jws?: string | undefined;
781
+ type: string;
782
+ created: string;
783
+ proofPurpose: string;
784
+ verificationMethod: string;
785
+ }[] | undefined;
786
+ controller?: string | [string, ...string[]] | undefined;
787
+ alsoKnownAs?: string | undefined;
788
+ authentication?: (string | {
789
+ [x: string]: any;
790
+ '@context'?: (string | Record<string, any>)[] | undefined;
791
+ publicKeyJwk?: {
792
+ y?: string | undefined;
793
+ n?: string | undefined;
794
+ kty: string;
795
+ crv: string;
796
+ x: string;
797
+ d: string;
798
+ } | undefined;
799
+ publicKeyBase58?: string | undefined;
800
+ blockChainAccountId?: string | undefined;
801
+ type: string;
802
+ id: string;
803
+ controller: string;
804
+ })[] | undefined;
805
+ assertionMethod?: (string | {
806
+ [x: string]: any;
807
+ '@context'?: (string | Record<string, any>)[] | undefined;
808
+ publicKeyJwk?: {
809
+ y?: string | undefined;
810
+ n?: string | undefined;
811
+ kty: string;
812
+ crv: string;
813
+ x: string;
814
+ d: string;
815
+ } | undefined;
816
+ publicKeyBase58?: string | undefined;
817
+ blockChainAccountId?: string | undefined;
818
+ type: string;
819
+ id: string;
820
+ controller: string;
821
+ })[] | undefined;
822
+ keyAgreement?: (string | {
823
+ [x: string]: any;
824
+ '@context'?: (string | Record<string, any>)[] | undefined;
825
+ publicKeyJwk?: {
826
+ y?: string | undefined;
827
+ n?: string | undefined;
828
+ kty: string;
829
+ crv: string;
830
+ x: string;
831
+ d: string;
832
+ } | undefined;
833
+ publicKeyBase58?: string | undefined;
834
+ blockChainAccountId?: string | undefined;
835
+ type: string;
836
+ id: string;
837
+ controller: string;
838
+ })[] | undefined;
839
+ capabilityInvocation?: (string | {
840
+ [x: string]: any;
841
+ '@context'?: (string | Record<string, any>)[] | undefined;
842
+ publicKeyJwk?: {
843
+ y?: string | undefined;
844
+ n?: string | undefined;
845
+ kty: string;
846
+ crv: string;
847
+ x: string;
848
+ d: string;
849
+ } | undefined;
850
+ publicKeyBase58?: string | undefined;
851
+ blockChainAccountId?: string | undefined;
852
+ type: string;
853
+ id: string;
854
+ controller: string;
855
+ })[] | undefined;
856
+ capabilityDelegation?: (string | {
857
+ [x: string]: any;
858
+ '@context'?: (string | Record<string, any>)[] | undefined;
859
+ publicKeyJwk?: {
860
+ y?: string | undefined;
861
+ n?: string | undefined;
862
+ kty: string;
863
+ crv: string;
864
+ x: string;
865
+ d: string;
866
+ } | undefined;
867
+ publicKeyBase58?: string | undefined;
868
+ blockChainAccountId?: string | undefined;
869
+ type: string;
870
+ id: string;
871
+ controller: string;
872
+ })[] | undefined;
873
+ publicKey?: (string | {
874
+ [x: string]: any;
875
+ '@context'?: (string | Record<string, any>)[] | undefined;
876
+ publicKeyJwk?: {
877
+ y?: string | undefined;
878
+ n?: string | undefined;
879
+ kty: string;
880
+ crv: string;
881
+ x: string;
882
+ d: string;
883
+ } | undefined;
884
+ publicKeyBase58?: string | undefined;
885
+ blockChainAccountId?: string | undefined;
886
+ type: string;
887
+ id: string;
888
+ controller: string;
889
+ })[] | undefined;
890
+ service?: {
891
+ [x: string]: any;
892
+ serviceEndpoint?: any;
893
+ type: string | [string, ...string[]];
894
+ id: string;
895
+ }[] | undefined;
896
+ id: string;
897
+ '@context': (string | Record<string, any>)[];
898
+ }>;
899
+ export type DidDocument = z.infer<typeof DidDocumentValidator>;
900
+ //# sourceMappingURL=did.d.ts.map